Hierarchy
Interface
↳ Abi
Constructors
constructor
⊕ new Interface(abi: AbiObject): Interface
Defined in spec/interface.ts:14
Parameters:
Name | Type |
---|---|
abi | AbiObject |
Returns: Interface
Accessors
constructors
get constructors(): (Constructor | Event | Func)[]
Defined in spec/interface.ts:62
Returns: (Constructor | Event | Func)[]
events
get events(): (Constructor | Event | Func)[]
Defined in spec/interface.ts:66
Returns: (Constructor | Event | Func)[]
functions
get functions(): (Constructor | Event | Func)[]
Defined in spec/interface.ts:70
Returns: (Constructor | Event | Func)[]
interface
get interface(): (Constructor | Event | Func)[]
Defined in spec/interface.ts:58
Returns: (Constructor | Event | Func)[]
Methods
encodeTokens
▸ encodeTokens(paramTypes: ParamType[], values: TokenValue[]): Token[]
Defined in spec/interface.ts:74
Parameters:
Name | Type |
---|---|
paramTypes | ParamType[] |
values | TokenValue[] |
Returns: Token[]
<Static>
encodeTokens
▸ encodeTokens(paramTypes: ParamType[], values: TokenValue[]): Token[]
Defined in spec/interface.ts:20
Parameters:
Name | Type |
---|---|
paramTypes | ParamType[] |
values | TokenValue[] |
Returns: Token[]
<Static>
parseABI
▸ parseABI(abi: AbiObject): (Constructor | Event | Func)[]
Defined in spec/interface.ts:39
Parameters:
Name | Type |
---|---|
abi | AbiObject |
Returns: (Constructor | Event | Func)[]