how i need place arg in code for funtion send?

43 views Asked by At

i have there function:

function send(address to, Pair721[] memory tokens) public nonReentrant whenNotPaused {
    for (uint256 i = 0; i < tokens.length; i++) {
        Pair721 memory p = tokens[i];
        p.token.safeTransferFrom(msg.sender, to, p.tokenId);
    }
}

and i have code on Golang and i need to create function but i receive this error:

field arg0 for tuple not found in the given struct

how do I need to pass arguments?

i trying every but i dont can....

0

There are 0 answers