We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The ParamType currently does not support Function types.
ParamType
a function type
function map(uint[] memory self, function (uint) pure returns (uint) f)
get's type
"abi": [ { "inputs": [ { "internalType": "uint256[]", "name": "self", "type": "uint256[]" }, { "internalType": "function (uint256) pure external returns (uint256)", "name": "f", "type": "function" } ], "name": "map", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
the methodIdentifier would be
"map(uint256[],function)": "8bd968ff"
"type": "function" is currently only supported on Contract level and not for, this could be achieved by adding a ParamType::Function variant
"type": "function"
Contract
ParamType::Function
The text was updated successfully, but these errors were encountered:
cast sig
abigen!
No branches or pull requests
The
ParamType
currently does not support Function types.a function type
get's type
the methodIdentifier would be
"type": "function"
is currently only supported onContract
level and not for, this could be achieved by adding aParamType::Function
variantThe text was updated successfully, but these errors were encountered: