_ArbSys
| Method | Solidity interface | Go implementation | Description |
|---|---|---|---|
arbBlockNumber() | Interface | Implementation | ArbBlockNumber gets the current L2 block number |
arbBlockHash() | Interface | Implementation | ArbBlockHash gets the L2 block hash, if sufficiently recent |
arbChainID() | Interface | Implementation | ArbChainID gets the rollup's unique chain identifier |
arbOSVersion() | Interface | Implementation | ArbOSVersion gets the current ArbOS version |
getStorageGasAvailable() | Interface | Implementation | GetStorageGasAvailable returns 0 since Nitro has no concept of storage gas |
isTopLevelCall() | Interface | Implementation | IsTopLevelCall checks if the call is top-level (deprecated) |
mapL1SenderContractAddressToL2Alias() | Interface | Implementation | MapL1SenderContractAddressToL2Alias gets the contract's L2 alias |
wasMyCallersAddressAliased() | Interface | Implementation | WasMyCallersAddressAliased checks if the caller's caller was aliased |
myCallersAddressWithoutAliasing() | Interface | Implementation | MyCallersAddressWithoutAliasing gets the caller's caller without any potential aliasing |
withdrawEth() | Interface | Implementation | WithdrawEth send paid eth to the destination on L1 |
sendTxToL1() | Interface | Implementation | SendTxToL1 sends a transaction to L1, adding it to the outbox |
sendMerkleTreeState() | Interface | Implementation | SendMerkleTreeState gets the root, size, and partials of the outbox Merkle tree state (caller must be the 0 address) |
| Event | Solidity interface | Go implementation | Description |
|---|---|---|---|
L2ToL1Tx | Interface | Implementation | Logs a send transaction from L2 to L1, including data for outbox proving |
L2ToL1Transaction | Interface | Implementation | DEPRECATED in favour of the new |
SendMerkleUpdate | Interface | Implementation | Logs a new merkle branch needed for constructing outbox proofs |