TypeScript SDK
AbiFunction
ABI "function" type
type AbiFunction = { constant?: boolean; gas?: number; inputs: readonly Array<AbiParameter>; name: string; outputs: readonly Array<AbiParameter>; payable?: boolean; stateMutability: AbiStateMutability; type: "function" }Deprecated
use pure or view from AbiStateMutability instead
https://github.com/ethereum/solidity/issues/992
type constant = boolean;Deprecated
Vyper used to provide gas estimates
https://github.com/vyperlang/vyper/issues/2151
type gas = number;type inputs = readonly Array<AbiParameter>type name = string;type outputs = readonly Array<AbiParameter>Deprecated
use payable or nonpayable from AbiStateMutability instead
https://github.com/ethereum/solidity/issues/992
type payable = boolean;type stateMutability = AbiStateMutability;type type = "function";