Skip to content
Verified contractPartialGPL-3.0-only

RocketMinipool

Address0xe82a6dffe7a416de417df6d025e8d3c19eece56c
Balance

0.690387 ETH

 

Transactions

7

 

Compiler

solc 0.7.6

 

Same code

14,061 more contracts

 

Details

Compiler
solc 0.7.6+commit.7338295f
Language
solidity
Optimization
Yes, 15,000 runs
EVM version
istanbul
License
GPL-3.0-only
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
13,761,017
Creation transaction
0xebe4a40c3b…8447934d6a
Main copy (most transactions)
0x6c4968e0…8647dab2

Read4

  • getDelegate() → (address)
  • getEffectiveDelegate() → (address)
  • getPreviousDelegate() → (address)
  • getUseLatestDelegate() → (bool)

Write3

  • delegateRollback()
  • delegateUpgrade()
  • setUseLatestDelegate(bool)

Events3

  • DelegateRolledBack(address,address,uint256)
  • DelegateUpgraded(address,address,uint256)
  • EtherReceived(address,uint256,uint256)

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_rocketStorageAddress",
        "type": "address",
        "internalType": "contract RocketStorageInterface"
      },
      {
        "name": "_nodeAddress",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_depositType",
        "type": "uint8",
        "internalType": "enum MinipoolDeposit"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "DelegateRolledBack",
    "type": "event",
    "inputs": [
      {
        "name": "oldDelegate",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "newDelegate",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "time",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "DelegateUpgraded",
    "type": "event",
    "inputs": [
      {
        "name": "oldDelegate",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "newDelegate",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "time",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "EtherReceived",
    "type": "event",
    "inputs": [
      {
        "name": "from",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      },
      {
        "name": "time",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "fallback",
    "stateMutability": "payable"
  },
  {
    "name": "delegateRollback",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "delegateUpgrade",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "getDelegate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getEffectiveDelegate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getPreviousDelegate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "getUseLatestDelegate",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "setUseLatestDelegate",
    "type": "function",
    "inputs": [
      {
        "name": "_setting",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "receive",
    "stateMutability": "payable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.