Hashgraph
Hashgraph copied to clipboard
Missing support for Smart Contract array parameter types other than Byte arrays
The HederaTokenService.sol Solidity smart contract (https://github.com/hashgraph/hedera-smart-contracts/blob/main/hts-precompile/HederaTokenService.sol) has function signatures that require array parameter types, such as:
function transferTokens(address token, address[] memory accountIds, int64[] memory amounts) internal returns (int responseCode)
The Hashgraph SDK does not appear to support passing smart contract array types such as address[] and int64[] as parameters to smart contracts, which means the SDK is not currently capable of consuming functions like transferTokens from above.