Documentation ¶
Index ¶
- func ComputeMessageHash(sender common.Address, target common.Address, value *big.Int, ...) common.Hash
- func ConvertBigIntArrayToString(array []*big.Int) string
- func GetBatchRangeFromCalldataV2(calldata []byte) (uint64, uint64, uint64, error)
- func GetSafeBlockNumber(ctx context.Context, client *ethclient.Client, confirmations uint64) (uint64, error)
- func Keccak2(a common.Hash, b common.Hash) common.Hash
- func UnpackLog(c *abi.ABI, out interface{}, event string, log types.Log) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeMessageHash ¶
func ComputeMessageHash( sender common.Address, target common.Address, value *big.Int, messageNonce *big.Int, message []byte, ) common.Hash
ComputeMessageHash compute the message hash
func GetBatchRangeFromCalldataV2 ¶
GetBatchRangeFromCalldataV2 find the block range from calldata, both inclusive.
func GetSafeBlockNumber ¶
func GetSafeBlockNumber(ctx context.Context, client *ethclient.Client, confirmations uint64) (uint64, error)
GetSafeBlockNumber get the safe block number, which is the current block number minus the confirmations
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.