bridge

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DepositName = "depositV3"
	DepositHash = crypto.Keccak256([]byte("DepositEvent(address,address,uint256,byte32)"))
)

Functions

This section is empty.

Types

type Deposit

type Deposit struct {
	Caller    string          `json:"caller"`
	ToAddress string          `json:"to_address"`
	Amount    decimal.Decimal `json:"amount"`
	TxHash    common.Hash     `json:"tx_hash"`
}

func (*Deposit) Data

func (*Deposit) Data(log types.Log) (string, error)

func (*Deposit) EventHash

func (*Deposit) EventHash() common.Hash

func (*Deposit) Name

func (*Deposit) Name() string

func (*Deposit) ToObj

func (t *Deposit) ToObj(data string) error

Jump to

Keyboard shortcuts

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