Name | Type | Description | Notes |
---|---|---|---|
name | String | The name of the contract function as it appears in the ABI | [optional] |
stateMutability | StateMutabilityEnum | The state mutability of the contract function as it appears in the ABI | [optional] |
type | TypeEnum | The type of the function | |
inputs | List<Parameter> | The parameters that this function/constructor posses | [optional] |
outputs | List<Parameter> | The parameters that this 'read' function returns | [optional] |
description | String | The documentation of this function (if has any) | [optional] |
Name | Value |
---|---|
PURE | "pure" |
VIEW | "view" |
NONPAYABLE | "nonpayable" |
PAYABLE | "payable" |
Name | Value |
---|---|
CONSTRUCTOR | "constructor" |
FUNCTION | "function" |
ERROR | "error" |
EVENT | "event" |
RECEIVE | "receive" |
FALLBACK | "fallback" |