Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
1,000,000,000.00 AXT

Holders:
4
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Created At:
Fri, 30 Aug 2024 13:25:25 GMT
VToken.sol
VToken.sol
VToken.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      },
      {
        "internalType": "uint8",
        "name": "_decimals",
        "type": "uint8"
      },
      {
        "internalType": "uint256",
        "name": "_totalSupply",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "available",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "required",
        "type": "uint256"
      }
    ],
    "name": "InsufficientAllowance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "available",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "required",
        "type": "uint256"
      }
    ],
    "name": "InsufficientBalance",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "TransferAmountIsZero",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "ZeroAddressNotAllowed",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "ZeroSupplyNotAllowed",
    "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": [],
    "name": "VERSION",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "acceptOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "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": [
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "deadAddress",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "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": [],
    "name": "getTime",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "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": [
      {
        "internalType": "address",
        "name": "who",
        "type": "address"
      }
    ],
    "name": "isOwner",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "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": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "recipient",
        "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
60a06040526040516200107438038062001074833981016040819052620000269162000228565b60008054326001600160a01b03199182168117835560018054909216909155604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350806000036200009457604051632559dd7760e21b815260040160405180910390fd5b6004620000a2858262000342565b506005620000b1848262000342565b506006805460ff191660ff841617905560808190528060026000620000de6000546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020556200010b6000546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200015191815260200190565b60405180910390a3505050506200040e565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018b57600080fd5b81516001600160401b0380821115620001a857620001a862000163565b604051601f8301601f19908116603f01168101908282118183101715620001d357620001d362000163565b81604052838152602092508683858801011115620001f057600080fd5b600091505b83821015620002145785820183015181830184015290820190620001f5565b600093810190920192909252949350505050565b600080600080608085870312156200023f57600080fd5b84516001600160401b03808211156200025757600080fd5b620002658883890162000179565b955060208701519150808211156200027c57600080fd5b506200028b8782880162000179565b935050604085015160ff81168114620002a357600080fd5b6060959095015193969295505050565b600181811c90821680620002c857607f821691505b602082108103620002e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033d57600081815260208120601f850160051c81016020861015620003185750805b601f850160051c820191505b81811015620003395782815560010162000324565b5050505b505050565b81516001600160401b038111156200035e576200035e62000163565b62000376816200036f8454620002b3565b84620002ef565b602080601f831160018114620003ae5760008415620003955750858301515b600019600386901b1c1916600185901b17855562000339565b600085815260208120601f198616915b82811015620003df57888601518255948401946001909101908401620003be565b5085821015620003fe5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051610c4a6200042a60003960006101770152610c4a6000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c806370a08231116100ad578063a457c2d711610071578063a457c2d71461029c578063a9059cbb146102af578063dd62ed3e146102c2578063f2fde38b146102fb578063ffa1ad741461030e57600080fd5b806370a0823114610248578063715018a61461027157806379ba50971461027b5780638da5cb5b1461028357806395d89b411461029457600080fd5b80632f54bf6e116100f45780632f54bf6e146101db578063313ce567146101fd578063395093511461021c57806342966c681461022f578063557ed1ba1461024257600080fd5b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461017257806323b872dd146101a757806327c8f835146101ba575b600080fd5b610139610316565b6040516101469190610a60565b60405180910390f35b61016261015d366004610aca565b6103a4565b6040519015158152602001610146565b6101997f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610146565b6101626101b5366004610af4565b6103bb565b6101c361dead81565b6040516001600160a01b039091168152602001610146565b6101626101e9366004610b30565b6000546001600160a01b0390811691161490565b60065461020a9060ff1681565b60405160ff9091168152602001610146565b61016261022a366004610aca565b610484565b61016261023d366004610b52565b6104bb565b42610199565b610199610256366004610b30565b6001600160a01b031660009081526002602052604090205490565b6102796104d2565b005b610279610581565b6000546001600160a01b03166101c3565b61013961065b565b6101626102aa366004610aca565b610668565b6101626102bd366004610aca565b610711565b6101996102d0366004610b6b565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b610279610309366004610b30565b61071e565b610199600381565b6004805461032390610b9e565b80601f016020809104026020016040519081016040528092919081815260200182805461034f90610b9e565b801561039c5780601f106103715761010080835404028352916020019161039c565b820191906000526020600020905b81548152906001019060200180831161037f57829003601f168201915b505050505081565b60006103b1338484610868565b5060015b92915050565b6001600160a01b0383166000908152600360209081526040808320338452909152812054821115610434576001600160a01b03841660009081526003602090815260408083203384529091529081902054905163054365bb60e31b81526004810191909152602481018390526044015b60405180910390fd5b61043f848484610905565b6001600160a01b03841660009081526003602090815260408083203380855292529091205461047a918691610475908690610bee565b610868565b5060019392505050565b3360008181526003602090815260408083206001600160a01b038716845290915281205490916103b1918590610475908690610c01565b60006104ca3361dead84610905565b506001919050565b6104db336101e9565b6105275760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042b565b600180546001600160a01b0319169055600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546001600160a01b0316336001600160a01b0316146105f75760405162461bcd60e51b815260206004820152602a60248201527f4f776e61626c653a2063616e27742061737369676e20746f20746865206375726044820152693932b73a1037bbb732b960b11b606482015260840161042b565b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6005805461032390610b9e565b3360009081526003602090815260408083206001600160a01b038616845290915281205482116106db573360009081526003602090815260408083206001600160a01b03871684529091529081902054905163054365bb60e31b815260048101919091526024810183905260440161042b565b3360008181526003602090815260408083206001600160a01b03881684529091529020546103b191908590610475908690610bee565b60006103b1338484610905565b610727336101e9565b6107735760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161042b565b6001600160a01b0381166107d85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161042b565b6000546001600160a01b03908116908216036108465760405162461bcd60e51b815260206004820152602760248201527f4f776e61626c653a206e6577206f776e657220697320616c7265616479207468604482015266329037bbb732b960c91b606482015260840161042b565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316158061088557506001600160a01b038216155b156108a3576040516342bcdf7f60e11b815260040160405180910390fd5b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316158061092257506001600160a01b038216155b15610940576040516342bcdf7f60e11b815260040160405180910390fd5b6001600160a01b03831660009081526002602052604090205481111561099e576001600160a01b0383166000908152600260205260409081902054905163cf47918160e01b815260048101919091526024810182905260440161042b565b806000036109bf5760405163c4c8a67760e01b815260040160405180910390fd5b6001600160a01b038316600090815260026020526040812080548392906109e7908490610bee565b90915550506001600160a01b03821660009081526002602052604081208054839290610a14908490610c01565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516108f891815260200190565b600060208083528351808285015260005b81811015610a8d57858101830151858201604001528201610a71565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610ac557600080fd5b919050565b60008060408385031215610add57600080fd5b610ae683610aae565b946020939093013593505050565b600080600060608486031215610b0957600080fd5b610b1284610aae565b9250610b2060208501610aae565b9150604084013590509250925092565b600060208284031215610b4257600080fd5b610b4b82610aae565b9392505050565b600060208284031215610b6457600080fd5b5035919050565b60008060408385031215610b7e57600080fd5b610b8783610aae565b9150610b9560208401610aae565b90509250929050565b600181811c90821680610bb257607f821691505b602082108103610bd257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103b5576103b5610bd8565b808201808211156103b5576103b5610bd856fea2646970667358221220edbcc0ca7255bf12f0b89c9defcf5f382b63211c7d016f806fe766be37de42ff64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000000000000000000000000017417363656e6458204368616c6c656e676520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000034158540000000000000000000000000000000000000000000000000000000000