Hierarchy

Func

Constructors

constructor

new Func(abi: AbiItem): Func

Defined in spec/function.ts:21

Parameters:

Name Type
abi AbiItem

Returns: Func


Accessors

abi

get abi(): AbiItem

Defined in spec/function.ts:40

Returns: AbiItem


constant

get constant(): boolean

Defined in spec/function.ts:44

Returns: boolean


id

get id(): string

Defined in spec/function.ts:48

Returns: string


inputs

get inputs(): Param[]

Defined in spec/function.ts:52

Returns: Param[]


name

get name(): undefined | string

Defined in spec/function.ts:56

Returns: undefined | string


outputs

get outputs(): Param[]

Defined in spec/function.ts:60

Returns: Param[]


payable

get payable(): boolean

Defined in spec/function.ts:64

Returns: boolean


signature

get signature(): 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 ""