I have this smart contract and was wondering how to convert to a ligo type
transfer parameter list($transfer_item) transfer_item pair from_ address txs list($txs_item) txs_item pair to_ address token_id nat amount nat
Right now it's set to
type transfer_destination is record [ to_ : address; token_id : nat; amount : nat; ] type transfer_param is record [ from_ : address; txs : list(transfer_destination); ] type transfer_params is list(transfer_param) type transferType is TransferType of transfer_params
and Im using transferType but It does not seem to be working. Im guessing it has something to do with txs_item is a pair and its listed as a record.