Hashgraph icon indicating copy to clipboard operation
Hashgraph copied to clipboard

Missing support for Smart Contract array parameter types other than Byte arrays

Open RodDaSilva opened this issue 2 years ago • 0 comments

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.

RodDaSilva avatar Apr 19 '22 21:04 RodDaSilva