utils

package
v0.0.0-...-1a342eb Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WithdrawalInitiatedHash       = "0x3073a74ecb728d10be779fe19a74a1428e20468f5b4d167bf9c73d9067847d73"
	L2ToL1TxHash                  = "0x3e7aafa77dbf186b7fd488006beff893744caa3c4f6f299e8a709fa2087374fc"
	OutBoxTransactionExecutedHash = "0x20af7f3bbfe38132b8900ae295cd9c8d1914be7052d061a511f3f728dab18964"
	MessageDeliveredHash          = "0x5e3c1311ea442664e8b1611bfabef659120ea7a0a2cfc0667700bebc69cbffe1"
	IBridge                       = new(bridgegen.IBridge)
)

Functions

func CalculateDepositTxId

func CalculateDepositTxId(fromAddress, toAddress string, l2ChainId, messageNumber, value *big.Int)

func ParseEthDepositData

func ParseEthDepositData(messageData string) (common.Address, *big.Int, error)

Types

type ArbitrumDepositTx

type ArbitrumDepositTx struct {
	ChainId     *big.Int
	L1RequestId common.Hash
	From        common.Address
	To          common.Address
	Value       *big.Int
}

Jump to

Keyboard shortcuts

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