package
0.0.0-20230803065340-eb934a0893fc
Repository: https://github.com/sliceledger-blockchain/slice-ledger.git
Documentation: pkg.go.dev

# Functions

ApplyL1ToL2Alias will apply the alias applied to L1 to L2 messages when it originates from a contract address.
DecodeVersionedNonce will decode the version that is encoded in the nonce.
EncodeCrossDomainMessageV0 will encode the calldata for "relayMessage(address,address,bytes,uint256)",.
EncodeCrossDomainMessageV1 will encode the calldata for "relayMessage(uint256,address,address,uint256,uint256,bytes)",.
EncodeVersionedNonce will encode the version into the nonce.
HashCrossDomainMessageV0 computes the pre bedrock cross domain messaging hashing scheme.
HashCrossDomainMessageV1 computes the first post bedrock cross domain messaging hashing scheme.
MigrateWithdrawal will turn a LegacyWithdrawal into a bedrock style Withdrawal.
MigrateWithdrawalGasLimit computes the gas limit for the migrated withdrawal.
NewCrossDomainMessage creates a CrossDomainMessage.
NewLegacyWithdrawal will construct a LegacyWithdrawal.
NewWithdrawal will create a Withdrawal.
No description provided by the author
UndoL1ToL2Alias will remove the alias applied to L1 to L2 messages when it originates from a contract address.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Constants used by `CrossDomainMessenger.baseGas`.
Constants used by `CrossDomainMessenger.baseGas`.
NonceMask represents a mask used to extract version bytes from the nonce.
Constants used by `CrossDomainMessenger.baseGas`.
Constants used by `CrossDomainMessenger.baseGas`.
Constants used by `CrossDomainMessenger.baseGas`.
Constants used by `CrossDomainMessenger.baseGas`.
Constants used by `CrossDomainMessenger.baseGas`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Standard ABI types.

# Structs

CrossDomainMessage represents a cross domain message used by the CrossDomainMessenger.
No description provided by the author
LegacyWithdrawal represents a pre bedrock upgrade withdrawal.
Withdrawal represents a withdrawal transaction on L2.

# Interfaces

WithdrawalMessage represents a Withdrawal.