For example, I have a function
function addClaimers(ClaimItemImport[] claimItems) onlyOwner external
and the ClaimItemImport struct looks as follows:
struct ClaimItemImport {
uint128 balance;
uint256 claimAddress;
}
How to call it from tondev with parameters?
This does not work:
tondev contract run Contract.abi.json --address XYZ addClaimers -i claimItems:[[123, 0x123], [456, 0x456]]
Check readme in the end of this section https://github.com/tonlabs/tondev#run-contract-deployed-on-the-network