Skip to content
Verified contractExactMIT

SafariMint

Address0xf42ffdc2d9983c6174aa2a02ea61ba23e0b505ce
Balance

0.04 ETH

 

Transactions

96

 

Compiler

solc 0.8.10

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.10+commit.fc410830
Language
solidity
Optimization
Yes, 200 runs
EVM version
london
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
14,359,439
Creation transaction
0x2c9747bde2…673925ad4a

Read16

  • GEN1_MINT_PRICE() → (uint256)
  • MAX_GEN0_TOKENS() → (uint256)
  • MAX_GEN1_TOKENS() → (uint256)
  • MAX_MINTS_PER_TX() → (uint256)
  • MINT_PRICE() → (uint256)
  • WHITELIST_MINT_PRICE() → (uint256)
  • gen1MintEnabled() → (bool)
  • owner() → (address)
  • paused() → (bool)
  • poacherMeta() → (address)
  • publicMint() → (bool)
  • reserve() → (address)
  • rhinoMeta() → (address)
  • ruby() → (address)
  • safari_erc721() → (address)
  • whiteList(address) → (uint8,uint8,uint240)

Write16

  • addSpecial(bytes32[])
  • addToWhitelist(address[],uint8[],uint240[])
  • mintGen0(uint256,uint256,bool)
  • mintGen1(uint256,uint256,bool)
  • mintOGWhitelist(uint256,uint256,uint256,bool)
  • mintWhitelist(uint8,uint256,bool)
  • renounceOwnership()
  • setErc721(address)
  • setGen0Max(uint256)
  • setGen1Mint(bool)
  • setPoacherMeta(address)
  • setPublicMint(bool)
  • setReserve(address)
  • setRhinoMeta(address)
  • transferOwnership(address)
  • withdraw()

Events3

  • OwnershipTransferred(address,address)
  • Paused(address)
  • Unpaused(address)

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_ruby",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "_ogWhitelist",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "name": "OwnershipTransferred",
    "type": "event",
    "inputs": [
      {
        "name": "previousOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newOwner",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Paused",
    "type": "event",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "Unpaused",
    "type": "event",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      }
    ],
    "anonymous": false
  },
  {
    "name": "GEN1_MINT_PRICE",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "MAX_GEN0_TOKENS",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "MAX_GEN1_TOKENS",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "MAX_MINTS_PER_TX",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "MINT_PRICE",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "WHITELIST_MINT_PRICE",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "addSpecial",
    "type": "function",
    "inputs": [
      {
        "name": "value",
        "type": "bytes32[]",
        "internalType": "bytes32[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "addToWhitelist",
    "type": "function",
    "inputs": [
      {
        "name": "toWhitelist",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "amount",
        "type": "uint8[]",
        "internalType": "uint8[]"
      },
      {
        "name": "cost",
        "type": "uint240[]",
        "internalType": "uint240[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "gen1MintEnabled",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "mintGen0",
    "type": "function",
    "inputs": [
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "boostPercent",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "stake",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "payable"
  },
  {
    "name": "mintGen1",
    "type": "function",
    "inputs": [
      {
        "name": "amount",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "boostPercent",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "stake",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "payable"
  },
  {
    "name": "mintOGWhitelist",
    "type": "function",
    "inputs": [
      {
        "name": "amountPaid",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "amountFree",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "boostPercent",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "stake",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "payable"
  },
  {
    "name": "mintWhitelist",
    "type": "function",
    "inputs": [
      {
        "name": "amount",
        "type": "uint8",
        "internalType": "uint8"
      },
      {
        "name": "boostPercent",
        "type": "uint256",
        "internalType": "uint256"
      },
      {
        "name": "stake",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "payable"
  },
  {
    "name": "owner",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "paused",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "poacherMeta",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract SafariTokenMeta"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "publicMint",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "renounceOwnership",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "reserve",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IReserve"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "rhinoMeta",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract SafariTokenMeta"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "ruby",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract SafariErc20"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "safari_erc721",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract ISafariErc721"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "setErc721",
    "type": "function",
    "inputs": [
      {
        "name": "_safariErc721",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setGen0Max",
    "type": "function",
    "inputs": [
      {
        "name": "_gen0Tokens",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setGen1Mint",
    "type": "function",
    "inputs": [
      {
        "name": "allowGen1Mint",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setPoacherMeta",
    "type": "function",
    "inputs": [
      {
        "name": "_poacher",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setPublicMint",
    "type": "function",
    "inputs": [
      {
        "name": "allowPublicMint",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setReserve",
    "type": "function",
    "inputs": [
      {
        "name": "_reserve",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "name": "setRhinoMeta",
    "type": "function",
    "inputs": [
      {
        "name": "_rhino",
        "type": "address",
        "internalType": "address"
      }
    ],
    "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": "origAmount",
        "type": "uint8",
        "internalType": "uint8"
      },
      {
        "name": "amountRemaining",
        "type": "uint8",
        "internalType": "uint8"
      },
      {
        "name": "cost",
        "type": "uint240",
        "internalType": "uint240"
      }
    ],
    "stateMutability": "view"
  },
  {
    "name": "withdraw",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.