Overview ERC20
PRICE
$0.00

ON-CHAIN MARKET CAP n/a

Total Supply:
40,000,000,000.00 Cervus

Holders:
170
Profile Summary
Blockchain:
C-Chain (43114)


Decimals:
18
Contract Source Code Verified (Partial Match)
Contract Name:
Cervus

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Created At:
Wed, 27 Dec 2023 02:53:10 GMT
Cervus.sol
contracts
Cervus.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "totalSupply_",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      }
    ],
    "name": "OwnableInvalidOwner",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "OwnableUnauthorizedAccount",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "Approval",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferred",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "from",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      }
    ],
    "name": "allowance",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "subtractedValue",
        "type": "uint256"
      }
    ],
    "name": "decreaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "addedValue",
        "type": "uint256"
      }
    ],
    "name": "increaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "totalSupply",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "from",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040526806ae31658fd7f8a9b26007553480156200001e57600080fd5b5060405162000e3c38038062000e3c83398101604081905262000041916200021a565b60408051808201825260068082526543657276757360d01b602080840182905284518086019095529184529083015233916004620000808382620002d9565b5060056200008f8282620002d9565b5050506001600160a01b038116620000c257604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000cd81620000f6565b50600081600754620000e09190620003a5565b9050620000ee818362000148565b5050620003cd565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001a05760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000b9565b506b813f3978f894098440000000600381905533600090815260016020526040812082905580546001600160a01b0319166001600160a01b03841617905560405181815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000602082840312156200022d57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200025f57607f821691505b6020821081036200028057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002d457600081815260208120601f850160051c81016020861015620002af5750805b601f850160051c820191505b81811015620002d057828155600101620002bb565b5050505b505050565b81516001600160401b03811115620002f557620002f562000234565b6200030d816200030684546200024a565b8462000286565b602080601f8311600181146200034557600084156200032c5750858301515b600019600386901b1c1916600185901b178555620002d0565b600085815260208120601f198616915b82811015620003765788860151825594840194600190910190840162000355565b5085821015620003955787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003c757634e487b7160e01b600052601160045260246000fd5b92915050565b610a5f80620003dd6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c578063a457c2d711610066578063a457c2d7146101cd578063a9059cbb146101e0578063dd62ed3e146101f3578063f2fde38b1461020657600080fd5b8063715018a6146101a05780638da5cb5b146101aa57806395d89b41146101c557600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce56714610155578063395093511461016457806370a082311461017757600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610219565b6040516101049190610875565b60405180910390f35b61012061011b3660046108df565b6102ab565b6040519015158152602001610104565b6003545b604051908152602001610104565b610120610150366004610909565b6102c5565b60405160128152602001610104565b6101206101723660046108df565b6102e9565b610134610185366004610945565b6001600160a01b031660009081526001602052604090205490565b6101a861030b565b005b6006546040516001600160a01b039091168152602001610104565b6100f761031f565b6101206101db3660046108df565b61032e565b6101206101ee3660046108df565b6103ae565b610134610201366004610967565b6103bc565b6101a8610214366004610945565b6103e7565b6060600480546102289061099a565b80601f01602080910402602001604051908101604052809291908181526020018280546102549061099a565b80156102a15780601f10610276576101008083540402835291602001916102a1565b820191906000526020600020905b81548152906001019060200180831161028457829003601f168201915b5050505050905090565b6000336102b9818585610425565b60019150505b92915050565b6000336102d3858285610549565b6102de8585856105c3565b506001949350505050565b6000336102b98185856102fc83836103bc565b61030691906109ea565b610425565b6103136107f6565b61031d6000610823565b565b6060600580546102289061099a565b6000338161033c82866103bc565b9050838110156103a15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102de8286868403610425565b6000336102b98185856105c3565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6103ef6107f6565b6001600160a01b03811661041957604051631e4fbdf760e01b815260006004820152602401610398565b61042281610823565b50565b6001600160a01b0383166104875760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610398565b6001600160a01b0382166104e85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610398565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061055584846103bc565b905060001981146105bd57818110156105b05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610398565b6105bd8484848403610425565b50505050565b6001600160a01b0383166106195760405162461bcd60e51b815260206004820152601f60248201527f45524332303a2066726f6d20746f20746865207a65726f2061646472657373006044820152606401610398565b6001600160a01b03821661066f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20746f20746f20746865207a65726f20616464726573730000006044820152606401610398565b600080546001600160a01b038581168084526001602052604080852054905163e88ed4f960e01b81523060048201526024810191909152604481019190915291169063e88ed4f990606401602060405180830381865afa1580156106d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fb91906109fd565b90508181101561075c5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610398565b6107668282610a16565b6001600160a01b03808616600090815260016020526040808220939093559085168152908120805484929061079c9084906109ea565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516107e891815260200190565b60405180910390a350505050565b6006546001600160a01b0316331461031d5760405163118cdaa760e01b8152336004820152602401610398565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208083528351808285015260005b818110156108a257858101830151858201604001528201610886565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146108da57600080fd5b919050565b600080604083850312156108f257600080fd5b6108fb836108c3565b946020939093013593505050565b60008060006060848603121561091e57600080fd5b610927846108c3565b9250610935602085016108c3565b9150604084013590509250925092565b60006020828403121561095757600080fd5b610960826108c3565b9392505050565b6000806040838503121561097a57600080fd5b610983836108c3565b9150610991602084016108c3565b90509250929050565b600181811c908216806109ae57607f821691505b6020821081036109ce57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156102bf576102bf6109d4565b600060208284031215610a0f57600080fd5b5051919050565b818103818111156102bf576102bf6109d456fea2646970667358221220fe9fbdeae9e1e84d9b1d3c0532a5363b1ca50ecf3e9f46ec160ba89c62f6de8d64736f6c634300081400330000000000000000000000006fc13ae83ccd66d7c661ebf90a8f78c634669112