Skip to content
Verified contractPartialMIT

GovVaultRewardAutoCompound

Address0x8d012729ec8affc08043d97ca2c02fdfdcb90c92
Balance

0 ETH

 

Transactions

893

 

Compiler

solc 0.6.12

 

Same code

Only this contract

 

Details

Compiler
solc 0.6.12+commit.27d51765
Language
solidity
Optimization
Yes, 999,999 runs
EVM version
istanbul
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
11,299,313
Creation transaction
0xb75fcb1d01…57f097ea9e

Read13

  • chi() → (address)
  • exploitCompensationFund() → (address)
  • exploitCompensationFundValuePerBlock() → (uint256)
  • govVault() → (address)
  • govVaultValuePerBlock() → (uint256)
  • governance() → (address)
  • insuranceFund() → (address)
  • insuranceFundValuePerBlock() → (uint256)
  • lastRewardBlock() → (uint256)
  • minterPaused() → (bool)
  • otherReserve() → (address)
  • otherReserveValuePerBlock() → (uint256)
  • valueToken() → (address)

Write12

  • governanceRecoverUnsupported(address,uint256,address)
  • mintAndSendFund(uint8)
  • setExploitCompensationFund(address)
  • setExploitCompensationFundValuePerBlock(uint256)
  • setGovVault(address)
  • setGovVaultValuePerBlock(uint256)
  • setGovernance(address)
  • setInsuranceFund(address)
  • setInsuranceFundValuePerBlock(uint256)
  • setMinterPaused(bool)
  • setOtherReserve(address)
  • setOtherReserveValuePerBlock(uint256)

Events1

  • TransferToFund(address,uint256)

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_valueToken",
        "type": "address",
        "internalType": "contract ITokenInterface"
      },
      {
        "name": "_govVaultValuePerBlock",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_startBlock",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "TransferToFund",
    "type": "event",
    "inputs": [
      {
        "name": "fund",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "amount",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "name": "chi",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IFreeFromUpTo"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "exploitCompensationFund",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "exploitCompensationFundValuePerBlock",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "govVault",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "govVaultValuePerBlock",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "governance",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "governanceRecoverUnsupported",
    "type": "function",
    "inputs": [
      {
        "name": "_token",
        "type": "address",
        "internalType": "contract ITokenInterface"
      },
      {
        "name": "_amount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "_to",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "insuranceFund",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "insuranceFundValuePerBlock",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "lastRewardBlock",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "mintAndSendFund",
    "type": "function",
    "inputs": [
      {
        "name": "_flag",
        "type": "uint8",
        "internalType": "uint8"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "minterPaused",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "otherReserve",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "otherReserveValuePerBlock",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "setExploitCompensationFund",
    "type": "function",
    "inputs": [
      {
        "name": "_exploitCompensationFund",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setExploitCompensationFundValuePerBlock",
    "type": "function",
    "inputs": [
      {
        "name": "_exploitCompensationFundValuePerBlock",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setGovVault",
    "type": "function",
    "inputs": [
      {
        "name": "_govVault",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setGovVaultValuePerBlock",
    "type": "function",
    "inputs": [
      {
        "name": "_govVaultValuePerBlock",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setGovernance",
    "type": "function",
    "inputs": [
      {
        "name": "_governance",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setInsuranceFund",
    "type": "function",
    "inputs": [
      {
        "name": "_insuranceFund",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setInsuranceFundValuePerBlock",
    "type": "function",
    "inputs": [
      {
        "name": "_insuranceFundValuePerBlock",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setMinterPaused",
    "type": "function",
    "inputs": [
      {
        "name": "_minterPaused",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setOtherReserve",
    "type": "function",
    "inputs": [
      {
        "name": "_otherReserve",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setOtherReserveValuePerBlock",
    "type": "function",
    "inputs": [
      {
        "name": "_otherReserveValuePerBlock",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "valueToken",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract ITokenInterface"
      }
    ],
    "stateMutability": "view"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.