ETH Price: $2,395.57 (-3.33%)
 

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw152887212022-08-06 12:26:541016 days ago1659788814IN
0xHabitat: Rollup Bridge
0 ETH0.000119292.96419358
Get Current Epoc...152614622022-08-02 6:27:421020 days ago1659421662IN
0xHabitat: Rollup Bridge
0 ETH0.000232488.8139664
Transfer144448132022-03-23 20:47:281152 days ago1648068448IN
0xHabitat: Rollup Bridge
2.345 ETH0.0008325339.64446541
Transfer144447442022-03-23 20:33:081152 days ago1648067588IN
0xHabitat: Rollup Bridge
2.345 ETH0.0011721155.8148337
Transfer144447392022-03-23 20:31:231152 days ago1648067483IN
0xHabitat: Rollup Bridge
2.34 ETH0.0008536440.64971865
Transfer144447242022-03-23 20:27:411152 days ago1648067261IN
0xHabitat: Rollup Bridge
2.34 ETH0.0008102938.58546138
Transfer144447072022-03-23 20:24:351152 days ago1648067075IN
0xHabitat: Rollup Bridge
0.0007756 ETH0.0009818446.75445433
Finalize Solutio...140676022022-01-24 9:43:281210 days ago1643017408IN
0xHabitat: Rollup Bridge
0 ETH0.0191694494.33365578
Submit Solution140243852022-01-17 17:27:291217 days ago1642440449IN
0xHabitat: Rollup Bridge
0 ETH0.01067856136.51432808
Submit Block140243802022-01-17 17:26:381217 days ago1642440398IN
0xHabitat: Rollup Bridge
0 ETH0.01565107134.47790798
Withdraw139919602022-01-12 17:03:491222 days ago1642007029IN
0xHabitat: Rollup Bridge
0 ETH0.01404457297.05740169
Withdraw139596462022-01-07 17:29:391227 days ago1641576579IN
0xHabitat: Rollup Bridge
0 ETH0.00882972137.15218314
Withdraw139494202022-01-06 3:14:571228 days ago1641438897IN
0xHabitat: Rollup Bridge
0 ETH0.00840112130.4947404
Finalize Solutio...139122962021-12-31 9:18:511234 days ago1640942331IN
0xHabitat: Rollup Bridge
0 ETH0.00522568114.19273437
Finalize Solutio...138723132021-12-25 4:59:121240 days ago1640408352IN
0xHabitat: Rollup Bridge
0 ETH0.0044872498.0561062
Submit Solution138690942021-12-24 16:53:331241 days ago1640364813IN
0xHabitat: Rollup Bridge
0 ETH0.0071144590.95091694
Submit Block138690892021-12-24 16:52:391241 days ago1640364759IN
0xHabitat: Rollup Bridge
0 ETH0.0055033681.8940317
Withdraw138482202021-12-21 11:18:101244 days ago1640085490IN
0xHabitat: Rollup Bridge
0 ETH0.0038849460.34491296
Submit Solution138291092021-12-18 12:22:391247 days ago1639830159IN
0xHabitat: Rollup Bridge
0 ETH0.0045703158.42675111
Submit Block138291072021-12-18 12:22:111247 days ago1639830131IN
0xHabitat: Rollup Bridge
0 ETH0.0069535862.59919536
Finalize Solutio...138167922021-12-16 14:47:251249 days ago1639666045IN
0xHabitat: Rollup Bridge
0 ETH0.0041108581.57100588
Withdraw138161872021-12-16 12:26:441249 days ago1639657604IN
0xHabitat: Rollup Bridge
0 ETH0.0023639550
Withdraw138153922021-12-16 9:22:341249 days ago1639646554IN
0xHabitat: Rollup Bridge
0 ETH0.0026560156.15617948
Finalize Solutio...138153732021-12-16 9:18:371249 days ago1639646317IN
0xHabitat: Rollup Bridge
0 ETH0.0060612268.37403001
Finalize Solutio...138143422021-12-16 5:43:001249 days ago1639633380IN
0xHabitat: Rollup Bridge
0 ETH0.005843888.93734005
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RollupProxy

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
No with 256 runs

Other Settings:
default evmVersion, Unlicense license
File 1 of 2 : RollupProxy.sol
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.7.6;

import '@NutBerry/NutBerry/src/tsm/contracts/NutBerryEvents.sol';

/// @notice Callforwarding proxy
// Audit-1: ok
contract RollupProxy is NutBerryEvents {
  constructor (address initialImplementation) {
    assembly {
      // stores the initial contract address to forward calls
      sstore(not(returndatasize()), initialImplementation)
      // created at block - a hint for clients to know from which block to start syncing events
      sstore(0x319a610c8254af7ecb1f669fb64fa36285b80cad26faf7087184ce1dceb114df, number())
    }
    // emit upgrade event
    emit NutBerryEvents.RollupUpgrade(initialImplementation);
  }

  fallback () external payable {
    assembly {
      // copy all calldata into memory - returndatasize() is a substitute for `0`
      calldatacopy(returndatasize(), returndatasize(), calldatasize())
      // keep a copy to be used after the call
      let zero := returndatasize()
      // call contract address loaded from storage slot with key `uint256(-1)`
      let success := delegatecall(
        gas(),
        sload(not(returndatasize())),
        returndatasize(),
        calldatasize(),
        returndatasize(),
        returndatasize()
      )

      // copy all return data into memory
      returndatacopy(zero, zero, returndatasize())

      // if the delegatecall succeeded, then return
      if success {
        return(zero, returndatasize())
      }
      // else revert
      revert(zero, returndatasize())
    }
  }
}

File 2 of 2 : NutBerryEvents.sol
// SPDX-License-Identifier: Unlicense
pragma solidity >=0.7.6;

/// @notice Contains event declarations related to NutBerry.
// Audit-1: ok
interface NutBerryEvents {
  event BlockBeacon();
  event CustomBlockBeacon();
  event NewSolution();
  event RollupUpgrade(address target);
}

Settings
{
  "evmVersion": "berlin",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "none"
  },
  "optimizer": {
    "details": {
      "constantOptimizer": true,
      "cse": true,
      "deduplicate": true,
      "jumpdestRemover": true,
      "orderLiterals": false,
      "peephole": true,
      "yul": false
    },
    "runs": 256
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"initialImplementation","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"BlockBeacon","type":"event"},{"anonymous":false,"inputs":[],"name":"CustomBlockBeacon","type":"event"},{"anonymous":false,"inputs":[],"name":"NewSolution","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"target","type":"address"}],"name":"RollupUpgrade","type":"event"},{"stateMutability":"payable","type":"fallback"}]

608060405234801561001057600080fd5b506040516100d83803806100d88339818101604052602081101561003357600080fd5b50513d19819055437f319a610c8254af7ecb1f669fb64fa36285b80cad26faf7087184ce1dceb114df55604080516001600160a01b038316815290517f1af6bceb4b9de70d3a0d322db3ebde262ab3f6375cc4c59f04a39834d8c03f0d9181900360200190a1506030806100a86000396000f3fe6080604052363d3d373d3d3d363d3d19545af43d82833e8015601f573d82f35b3d82fdfea164736f6c6343000706000a0000000000000000000000001f2878d778f7619aa786ebbae6cf66c56632399c

Deployed Bytecode

0x6080604052363d3d373d3d3d363d3d19545af43d82833e8015601f573d82f35b3d82fdfea164736f6c6343000706000a

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000001f2878d778f7619aa786ebbae6cf66c56632399c

-----Decoded View---------------
Arg [0] : initialImplementation (address): 0x1F2878d778F7619Aa786EbbaE6cf66C56632399c

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001f2878d778f7619aa786ebbae6cf66c56632399c


Deployed Bytecode Sourcemap

179:1352:1:-:0;;;875:14;857:16;839;826:64;956:16;1224;1198;1174:14;1148:16;1120;1116:21;1110:28;1095:5;1073:175;1325:16;1319:4;1313;1298:44;1405:7;1402:2;;;1436:16;1430:4;1423:30;1402:2;1502:16;1496:4;1489:30

Swarm Source

none

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Rollup-proxy contract for the Habitat application layer and Rollup Bridge.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.