ethabi

package
v1.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildReadStateRequest

func BuildReadStateRequest(data []byte) (protocol.StateContext, error)

BuildReadStateRequest decode eth_call data to StateContext

Types

type AvailableBalanceStateContext

type AvailableBalanceStateContext struct {
	*protocol.BaseStateContext
}

AvailableBalanceStateContext context for AvailableBalance

func (*AvailableBalanceStateContext) EncodeToEth

EncodeToEth encode proto to eth

type TotalBalanceStateContext

type TotalBalanceStateContext struct {
	*protocol.BaseStateContext
}

TotalBalanceStateContext context for TotalBalance

func (*TotalBalanceStateContext) EncodeToEth

EncodeToEth encode proto to eth

type UnclaimedBalanceStateContext

type UnclaimedBalanceStateContext struct {
	*protocol.BaseStateContext
}

UnclaimedBalanceStateContext context for UnclaimedBalance

func (*UnclaimedBalanceStateContext) EncodeToEth

EncodeToEth encode proto to eth

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL