Last active
July 17, 2019 03:58
-
-
Save iwasaki-kenta/67b3509aec0be6fbca35956194d11053 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await contract.call(...[ | |
{type: "uint32", value: 32}, // Pass in an unsigned little-endian 32-bit integer. | |
{type: "int64", value: JSBI.BigInt(-100000000)}, // Pass in a signed little-endian 64-bit integer. | |
{type: "string", value: "Another string"}, // Pass in a string. | |
{type: "raw", value: "hexadecimal_string_here_to_be_decoded_into_raw_bytes"}] // Pass in raw bytes hex-encoded. | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment