Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make encode with uint256[10] in php #50

Open
tuandat77 opened this issue Sep 1, 2020 · 0 comments
Open

How to make encode with uint256[10] in php #50

tuandat77 opened this issue Sep 1, 2020 · 0 comments

Comments

@tuandat77
Copy link

tuandat77 commented Sep 1, 2020

I have file json with method name addTransaction,please help me with encodeFunction
data abi.json :
[ {
"constant": false,
"inputs": [
{
"internalType": "string",
"name": "_uid",
"type": "string"
},
{
"internalType": "string",
"name": "_username",
"type": "string"
},
{
"internalType": "string",
"name": "_ref_by",
"type": "string"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "string",
"name": "_merchant",
"type": "string"
},
{
"internalType": "string",
"name": "_subid",
"type": "string"
},
{
"internalType": "uint256",
"name": "_release",
"type": "uint256"
},
{
"internalType": "uint256[10]",
"name": "_ref_rates",
"type": "uint256[10]"
}
],
"name": "addTransaction",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
} ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant