Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
Multichain Info
N/A
Latest 25 from a total of 821,753 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
Amount
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Propose L2Output | 1225702 | 118 days ago | IN | 0 ETH | 0.00004178 | ||||
| Propose L2Output | 1225701 | 118 days ago | IN | 0 ETH | 0.00004432 | ||||
| Propose L2Output | 1225699 | 118 days ago | IN | 0 ETH | 0.00004403 | ||||
| Propose L2Output | 1225697 | 118 days ago | IN | 0 ETH | 0.00004323 | ||||
| Propose L2Output | 1225695 | 118 days ago | IN | 0 ETH | 0.00004237 | ||||
| Propose L2Output | 1225694 | 118 days ago | IN | 0 ETH | 0.00004857 | ||||
| Propose L2Output | 1225693 | 118 days ago | IN | 0 ETH | 0.00004633 | ||||
| Propose L2Output | 1225691 | 118 days ago | IN | 0 ETH | 0.00004766 | ||||
| Propose L2Output | 1225690 | 118 days ago | IN | 0 ETH | 0.00004398 | ||||
| Propose L2Output | 1225689 | 118 days ago | IN | 0 ETH | 0.00004669 | ||||
| Propose L2Output | 1225687 | 118 days ago | IN | 0 ETH | 0.00004309 | ||||
| Propose L2Output | 1225686 | 118 days ago | IN | 0 ETH | 0.00004639 | ||||
| Propose L2Output | 1225684 | 118 days ago | IN | 0 ETH | 0.00004651 | ||||
| Propose L2Output | 1225682 | 118 days ago | IN | 0 ETH | 0.0000465 | ||||
| Propose L2Output | 1225681 | 118 days ago | IN | 0 ETH | 0.00004282 | ||||
| Propose L2Output | 1225679 | 118 days ago | IN | 0 ETH | 0.00004232 | ||||
| Propose L2Output | 1225678 | 118 days ago | IN | 0 ETH | 0.00004488 | ||||
| Propose L2Output | 1225676 | 118 days ago | IN | 0 ETH | 0.000045 | ||||
| Propose L2Output | 1225674 | 118 days ago | IN | 0 ETH | 0.00004493 | ||||
| Propose L2Output | 1225672 | 118 days ago | IN | 0 ETH | 0.00005232 | ||||
| Propose L2Output | 1225672 | 118 days ago | IN | 0 ETH | 0.00005232 | ||||
| Propose L2Output | 1225670 | 118 days ago | IN | 0 ETH | 0.00004453 | ||||
| Propose L2Output | 1225668 | 118 days ago | IN | 0 ETH | 0.00004863 | ||||
| Propose L2Output | 1225668 | 118 days ago | IN | 0 ETH | 0.00004863 | ||||
| Propose L2Output | 1225666 | 118 days ago | IN | 0 ETH | 0.00004784 |
Loading...
Loading
Loading...
Loading
Contract Name:
L2OutputOracle
Compiler Version
v0.8.30+commit.73712a01
Optimization Enabled:
Yes with 10000 runs
Other Settings:
prague EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.30;
contract L2OutputOracle {
event OutputProposed(SuperBlock _block);
struct L2Block {
uint64 slot;
bytes chainId;
uint64 blockNumber;
bytes blockHash;
bytes parentBlockHash;
bytes[] included_xts;
bytes block;
}
struct SuperBlock {
uint64 blockNumber;
uint64 slot;
bytes parentBlockHash;
bytes merkleRoot;
uint256 timestamp;
L2Block[] l2Blocks;
bytes[] _includedXTs;
bytes _transactionHashes;
uint8 status;
}
// no checks, just emit (dummy for poc)
function proposeL2Output(
SuperBlock calldata _block
) external {
emit OutputProposed(_block);
}
}{
"remappings": [
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
"@ssv/lib/=lib/",
"@ssv/test/=test/",
"@ssv/script/=script/",
"@ssv/src/=src/",
"@ssv/src/interfaces/=src/interfaces/",
"@ssv/src/libraries/=src/libraries/",
"@ssv/src/modules/=src/modules/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/"
],
"optimizer": {
"enabled": true,
"runs": 10000
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "prague",
"viaIR": false
}Contract ABI
API[{"anonymous":false,"inputs":[{"components":[{"internalType":"uint64","name":"blockNumber","type":"uint64"},{"internalType":"uint64","name":"slot","type":"uint64"},{"internalType":"bytes","name":"parentBlockHash","type":"bytes"},{"internalType":"bytes","name":"merkleRoot","type":"bytes"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"components":[{"internalType":"uint64","name":"slot","type":"uint64"},{"internalType":"bytes","name":"chainId","type":"bytes"},{"internalType":"uint64","name":"blockNumber","type":"uint64"},{"internalType":"bytes","name":"blockHash","type":"bytes"},{"internalType":"bytes","name":"parentBlockHash","type":"bytes"},{"internalType":"bytes[]","name":"included_xts","type":"bytes[]"},{"internalType":"bytes","name":"block","type":"bytes"}],"internalType":"struct L2OutputOracle.L2Block[]","name":"l2Blocks","type":"tuple[]"},{"internalType":"bytes[]","name":"_includedXTs","type":"bytes[]"},{"internalType":"bytes","name":"_transactionHashes","type":"bytes"},{"internalType":"uint8","name":"status","type":"uint8"}],"indexed":false,"internalType":"struct L2OutputOracle.SuperBlock","name":"_block","type":"tuple"}],"name":"OutputProposed","type":"event"},{"inputs":[{"components":[{"internalType":"uint64","name":"blockNumber","type":"uint64"},{"internalType":"uint64","name":"slot","type":"uint64"},{"internalType":"bytes","name":"parentBlockHash","type":"bytes"},{"internalType":"bytes","name":"merkleRoot","type":"bytes"},{"internalType":"uint256","name":"timestamp","type":"uint256"},{"components":[{"internalType":"uint64","name":"slot","type":"uint64"},{"internalType":"bytes","name":"chainId","type":"bytes"},{"internalType":"uint64","name":"blockNumber","type":"uint64"},{"internalType":"bytes","name":"blockHash","type":"bytes"},{"internalType":"bytes","name":"parentBlockHash","type":"bytes"},{"internalType":"bytes[]","name":"included_xts","type":"bytes[]"},{"internalType":"bytes","name":"block","type":"bytes"}],"internalType":"struct L2OutputOracle.L2Block[]","name":"l2Blocks","type":"tuple[]"},{"internalType":"bytes[]","name":"_includedXTs","type":"bytes[]"},{"internalType":"bytes","name":"_transactionHashes","type":"bytes"},{"internalType":"uint8","name":"status","type":"uint8"}],"internalType":"struct L2OutputOracle.SuperBlock","name":"_block","type":"tuple"}],"name":"proposeL2Output","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052348015600e575f5ffd5b506104fe8061001c5f395ff3fe608060405234801561000f575f5ffd5b5060043610610029575f3560e01c8063820dca3e1461002d575b5f5ffd5b61004061003b36600461007c565b610042565b005b7fb8d8d8da44dce03be0c2948daa678b1c9a8d9fda1acfc7bee22ad73580272035816040516100719190610392565b60405180910390a150565b5f6020828403121561008c575f5ffd5b813567ffffffffffffffff8111156100a2575f5ffd5b820161012081850312156100b4575f5ffd5b9392505050565b803567ffffffffffffffff811681146100d2575f5ffd5b919050565b5f5f83357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261010a575f5ffd5b830160208101925035905067ffffffffffffffff811115610129575f5ffd5b803603821315610137575f5ffd5b9250929050565b81835281816020850137505f602082840101525f6020601f19601f840116840101905092915050565b5f5f83357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261019a575f5ffd5b830160208101925035905067ffffffffffffffff8111156101b9575f5ffd5b8060051b3603821315610137575f5ffd5b5f8383855260208501945060208460051b820101835f5b8681101561021f57601f198484030188526101fc82876100d7565b61020785828461013e565b60209a8b019a909550939093019250506001016101e1565b50909695505050505050565b5f8383855260208501945060208460051b820101835f5b8681101561021f57601f1984840301885281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff21873603018112610284575f5ffd5b860167ffffffffffffffff610298826100bb565b1684526102a860208201826100d7565b60e060208701526102bd60e08701828461013e565b9150506102cc604083016100bb565b67ffffffffffffffff1660408601526102e860608301836100d7565b86830360608801526102fb83828461013e565b9250505061030c60808301836100d7565b868303608088015261031f83828461013e565b9250505061033060a0830183610167565b86830360a08801526103438382846101ca565b9250505061035460c08301836100d7565b925085820360c087015261036982848361013e565b60209b8c019b9096509490940193505050600101610242565b803560ff811681146100d2575f5ffd5b602081526103b4602082016103a6846100bb565b67ffffffffffffffff169052565b5f6103c1602084016100bb565b67ffffffffffffffff81166040840152506103df60408401846100d7565b61012060608501526103f66101408501828461013e565b91505061040660608501856100d7565b601f1985840301608086015261041d83828461013e565b925050505f608085013590508060a08501525061043d60a0850185610167565b601f198584030160c086015261045483828461022b565b9250505061046560c0850185610167565b601f198584030160e086015261047c8382846101ca565b9250505061048d60e08501856100d7565b601f19858403016101008601526104a583828461013e565b925050506104b66101008501610382565b60ff811661012085015250939250505056fea2646970667358221220f6283fdf59633f23e95f23fef474ad09885fb62527e30bb90525149c347b1a4a64736f6c634300081e0033
Deployed Bytecode
0x608060405234801561000f575f5ffd5b5060043610610029575f3560e01c8063820dca3e1461002d575b5f5ffd5b61004061003b36600461007c565b610042565b005b7fb8d8d8da44dce03be0c2948daa678b1c9a8d9fda1acfc7bee22ad73580272035816040516100719190610392565b60405180910390a150565b5f6020828403121561008c575f5ffd5b813567ffffffffffffffff8111156100a2575f5ffd5b820161012081850312156100b4575f5ffd5b9392505050565b803567ffffffffffffffff811681146100d2575f5ffd5b919050565b5f5f83357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261010a575f5ffd5b830160208101925035905067ffffffffffffffff811115610129575f5ffd5b803603821315610137575f5ffd5b9250929050565b81835281816020850137505f602082840101525f6020601f19601f840116840101905092915050565b5f5f83357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261019a575f5ffd5b830160208101925035905067ffffffffffffffff8111156101b9575f5ffd5b8060051b3603821315610137575f5ffd5b5f8383855260208501945060208460051b820101835f5b8681101561021f57601f198484030188526101fc82876100d7565b61020785828461013e565b60209a8b019a909550939093019250506001016101e1565b50909695505050505050565b5f8383855260208501945060208460051b820101835f5b8681101561021f57601f1984840301885281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff21873603018112610284575f5ffd5b860167ffffffffffffffff610298826100bb565b1684526102a860208201826100d7565b60e060208701526102bd60e08701828461013e565b9150506102cc604083016100bb565b67ffffffffffffffff1660408601526102e860608301836100d7565b86830360608801526102fb83828461013e565b9250505061030c60808301836100d7565b868303608088015261031f83828461013e565b9250505061033060a0830183610167565b86830360a08801526103438382846101ca565b9250505061035460c08301836100d7565b925085820360c087015261036982848361013e565b60209b8c019b9096509490940193505050600101610242565b803560ff811681146100d2575f5ffd5b602081526103b4602082016103a6846100bb565b67ffffffffffffffff169052565b5f6103c1602084016100bb565b67ffffffffffffffff81166040840152506103df60408401846100d7565b61012060608501526103f66101408501828461013e565b91505061040660608501856100d7565b601f1985840301608086015261041d83828461013e565b925050505f608085013590508060a08501525061043d60a0850185610167565b601f198584030160c086015261045483828461022b565b9250505061046560c0850185610167565b601f198584030160e086015261047c8382846101ca565b9250505061048d60e08501856100d7565b601f19858403016101008601526104a583828461013e565b925050506104b66101008501610382565b60ff811661012085015250939250505056fea2646970667358221220f6283fdf59633f23e95f23fef474ad09885fb62527e30bb90525149c347b1a4a64736f6c634300081e0033
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.