# Functions
NewDatabase returns the database for the given connection string.
NewGUID returns a new guid.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
ETHL1Token is a placeholder token for differentiating ETH transactions from ERC20 transactions on L1.
ETHL2Token is a placeholder token for differentiating ETH transactions from ERC20 transactions on L2.
# Structs
No description provided by the author
BlockLocator contains the block number and hash.
Database contains the database instance and the connection string.
Deposit contains transaction data for deposits made via the L1 to L2 bridge.
DepositJSON contains Deposit data suitable for JSON serialization.
No description provided by the author
IndexedL1Block contains the L1 block including the deposits in it.
IndexedL2Block contains the L2 block including the withdrawals in it.
No description provided by the author
No description provided by the author
PaginationParam holds the pagination fields passed through by the REST middleware and queried by the database to page through deposits and withdrawals.
No description provided by the author
StateBatch is the state batch containing merkle root of the withdrawals periodically written to L1.
StateBatchJSON contains StateBatch data suitable for JSON serialization.
Token contains the token details of the ERC20 contract at the given address.
Withdrawal contains transaction data for withdrawals made via the L2 to L1 bridge.
WithdrawalJSON contains Withdrawal data suitable for JSON serialization.
# Type aliases
No description provided by the author