Skip to content
Verified contractExact

BunnyRouter

Address0x042f7616f2fa13d4da8cfafd4ed71c8a5670ab23
Balance

0 ETH

 

Transactions

242

 

Compiler

solc 0.8.0

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.0+commit.c7dfd78e
Language
solidity
Optimization
No
EVM version
istanbul
License
Not stated
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
13,912,002
Creation transaction
0x94c51738e3…da38464a96

Read8

  • canBuy() → (bool)
  • gen0CreatedCount() → (uint256)
  • gen0Price() → (uint256)
  • geneScience() → (address)
  • mangaNFT() → (address)
  • owner() → (address)
  • whitelist(address) → (uint8)
  • whitelistPrice(address) → (uint256)

Write13

  • batchBuyGen0(uint8)
  • batchBuyGen0WithVipPrice(uint8)
  • buyGen0() → (uint256)
  • buyGen0WithVipPrice() → (uint256)
  • renounceOwnership()
  • setBatchWhiteList(address[],uint8[],uint256[])
  • setCanBuy(bool)
  • setGen0Price(uint256)
  • setGeneScienceAddress(address)
  • setNFT(address)
  • setWhiteList(address,uint8,uint256)
  • transferOwnership(address)
  • withdrawBalance()

Events3

  • CanBuy()
  • CantBuy()
  • OwnershipTransferred(address,address)

ABI as JSON

[
  {
    "name": "CanBuy",
    "type": "event",
    "inputs": [],
    "anonymous": false
  },
  {
    "name": "CantBuy",
    "type": "event",
    "inputs": [],
    "anonymous": false
  },
  {
    "name": "OwnershipTransferred",
    "type": "event",
    "inputs": [
      {
        "name": "previousOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "batchBuyGen0",
    "type": "function",
    "inputs": [
      {
        "name": "_number",
        "type": "uint8",
        "internalType": "uint8"
      }
    ],
    "outputs": [],
    "stateMutability": "payable"
  },
  {
    "name": "batchBuyGen0WithVipPrice",
    "type": "function",
    "inputs": [
      {
        "name": "_number",
        "type": "uint8",
        "internalType": "uint8"
      }
    ],
    "outputs": [],
    "stateMutability": "payable"
  },
  {
    "name": "buyGen0",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "payable"
  },
  {
    "name": "buyGen0WithVipPrice",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "payable"
  },
  {
    "name": "canBuy",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "gen0CreatedCount",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "gen0Price",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "geneScience",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract GeneScienceInterface"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "mangaNFT",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract MangaNFT"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "owner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "renounceOwnership",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setBatchWhiteList",
    "type": "function",
    "inputs": [
      {
        "name": "_users",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "_numbers",
        "type": "uint8[]",
        "internalType": "uint8[]"
      },
      {
        "name": "_prices",
        "type": "uint256[]",
        "internalType": "uint256[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setCanBuy",
    "type": "function",
    "inputs": [
      {
        "name": "_canBuy",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setGen0Price",
    "type": "function",
    "inputs": [
      {
        "name": "_price",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setGeneScienceAddress",
    "type": "function",
    "inputs": [
      {
        "name": "_address",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setNFT",
    "type": "function",
    "inputs": [
      {
        "name": "_address",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setWhiteList",
    "type": "function",
    "inputs": [
      {
        "name": "_user",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_number",
        "type": "uint8",
        "internalType": "uint8"
      },
      {
        "name": "_price",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "transferOwnership",
    "type": "function",
    "inputs": [
      {
        "name": "newOwner",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "whitelist",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint8",
        "internalType": "uint8"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "whitelistPrice",
    "type": "function",
    "inputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "withdrawBalance",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.