Hierarchy

Func

Constructors

constructor

new Func(abi: AbiItem): Func

Defined in spec/function.ts:21

Parameters:

Name Type
abi AbiItem

Returns: Func


Accessors

abi

getabi(): AbiItem

Defined in spec/function.ts:40

Returns: AbiItem


constant

getconstant(): boolean

Defined in spec/function.ts:44

Returns: boolean


id

getid(): string

Defined in spec/function.ts:48

Returns: string


inputs

getinputs(): Param[]

Defined in spec/function.ts:52

Returns: Param[]


name

getname(): undefined | string

Defined in spec/function.ts:56

Returns: undefined | string


outputs

getoutputs(): Param[]

Defined in spec/function.ts:60

Returns: Param[]


payable

getpayable(): boolean

Defined in spec/function.ts:64

Returns: boolean


signature

getsignature(): string

Defined in spec/function.ts:68

Returns: string


Methods

decodeInput

decodeInput(data?: undefined | string): Token[]

Defined in spec/function.ts:72

Parameters:

Name Type
Optional data undefined string

Returns: Token[]


decodeOutput

decodeOutput(data?: undefined | string): Token[]

Defined in spec/function.ts:76

Parameters:

Name Type
Optional data undefined string

Returns: Token[]


encodeCall

encodeCall(tokens: Token[]): string

Defined in spec/function.ts:80

Parameters:

Name Type
tokens Token[]

Returns: string


inputParamTypes

inputParamTypes(): ParamType[]

Defined in spec/function.ts:84

Returns: ParamType[]


outputParamTypes

outputParamTypes(): ParamType[]

Defined in spec/function.ts:88

Returns: ParamType[]


results matching ""

    No results matching ""