Token migration announcement. XPower CPU token contract has migrated to a new address.
Overview ERC20
PRICE
$0.046748275862068964

ON-CHAIN MARKET CAP n/a

Total Supply:
17,966 XPOW.CPU

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


Decimals:
0
Contract Source Code Verified (Partial Match)
Contract Name:
XPowerCpu

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Created At:
Mon, 15 Nov 2021 18:50:51 GMT
XPowerCpu.sol
contracts
XPowerCpu.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_base",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "_deadlineIn",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "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": false,
        "internalType": "bytes32",
        "name": "blockHash",
        "type": "bytes32"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "timestamp",
        "type": "uint256"
      }
    ],
    "name": "Init",
    "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": [
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "burnFrom",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "pure",
    "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": "init",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "migrate",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "migrated",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "nonce",
        "type": "uint256"
      },
      {
        "internalType": "bytes32",
        "name": "blockHash",
        "type": "bytes32"
      }
    ],
    "name": "mint",
    "outputs": [],
    "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": "seal",
    "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
60806040526008805460ff1916600117905560006009819055600a819055600b819055600f553480156200003257600080fd5b5060405162001c7838038062001c7883398101604081905262000055916200021d565b6040518060400160405280600881526020016758504f572e43505560c01b81525082828181604051806040016040528060068152602001652c2837bbb2b960d11b815250858160039080519060200190620000b292919062000177565b508051620000c890600490602084019062000177565b505050620000e5620000df6200012160201b60201c565b62000125565b620000f1814262000259565b60075550600680546001600160a01b0319166001600160a01b039290921691909117905550620002bd9350505050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001859062000280565b90600052602060002090601f016020900481019282620001a95760008555620001f4565b82601f10620001c457805160ff1916838001178555620001f4565b82800160010185558215620001f4579182015b82811115620001f4578251825591602001919060010190620001d7565b506200020292915062000206565b5090565b5b8082111562000202576000815560010162000207565b600080604083850312156200023157600080fd5b82516001600160a01b03811681146200024957600080fd5b6020939093015192949293505050565b600082198211156200027b57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200029557607f821691505b60208210811415620002b757634e487b7160e01b600052602260045260246000fd5b50919050565b6119ab80620002cd6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c8063454b0608116100b857806395d89b411161007c57806395d89b411461026e578063a457c2d714610276578063a9059cbb14610289578063dd62ed3e1461029c578063e1c7392a146102d5578063f2fde38b146102dd57600080fd5b8063454b0608146101fc57806370a082311461020f578063715018a61461023857806379cc6790146102405780638da5cb5b1461025357600080fd5b80632c678c64116100ff5780632c678c64146101b7578063313ce567146101bf57806339509351146101ce5780633fb27b85146101e157806342966c68146101e957600080fd5b806306fdde031461013c578063095ea7b31461015a5780631801fbe51461017d57806318160ddd1461019257806323b872dd146101a4575b600080fd5b6101446102f0565b6040516101519190611695565b60405180910390f35b61016d610168366004611701565b610382565b6040519015158152602001610151565b61019061018b36600461172b565b610399565b005b6002545b604051908152602001610151565b61016d6101b236600461174d565b610503565b600954610196565b60405160008152602001610151565b61016d6101dc366004611701565b6105ad565b6101906105e9565b6101906101f7366004611789565b61061f565b61019061020a366004611789565b61062c565b61019661021d3660046117a2565b6001600160a01b031660009081526020819052604090205490565b6101906109d0565b61019061024e366004611701565b610a06565b6005546040516001600160a01b039091168152602001610151565b610144610a8c565b61016d610284366004611701565b610a9b565b61016d610297366004611701565b610b34565b6101966102aa3660046117bd565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610190610b41565b6101906102eb3660046117a2565b610c24565b6060600380546102ff906117f0565b80601f016020809104026020016040519081016040528092919081815260200182805461032b906117f0565b80156103785780601f1061034d57610100808354040283529160200191610378565b820191906000526020600020905b81548152906001019060200180831161035b57829003601f168201915b5050505050905090565b600061038f338484610cbc565b5060015b92915050565b60006103a3610de0565b90506103af8282610e39565b6040805160a06020808301829052600860c08401526758504f572e43505560c01b60e08085019190915283850188905233606085015260808401869052918301869052835180840390920182526101009092019092528151910120610415600c82610f1c565b1561045e5760405162461bcd60e51b81526020600482015260146024820152730c8eae0d8d2c6c2e8ca40dcdedcc6ca5ad0c2e6d60631b60448201526064015b60405180910390fd5b600061046982610f37565b9050600081116104ae5760405162461bcd60e51b815260206004820152601060248201526f0cadae0e8f240dcdedcc6ca5ad0c2e6d60831b6044820152606401610455565b6104b9600c83610f4b565b506104c43382610f57565b60006104d1600283611841565b11156104fc576104fc6104ec6005546001600160a01b031690565b6104f7600284611841565b610f57565b5050505050565b6000610510848484611036565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156105955760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610455565b6105a28533858403610cbc565b506001949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161038f9185906105e4908690611863565b610cbc565b6005546001600160a01b031633146106135760405162461bcd60e51b81526004016104559061187b565b6008805460ff19169055565b6106293382611205565b50565b600081116106725760405162461bcd60e51b81526020600482015260136024820152721b9bdb8b5c1bdcda5d1a5d9948185b5bdd5b9d606a1b6044820152606401610455565b60085460ff166106b75760405162461bcd60e51b815260206004820152601060248201526f1b5a59dc985d1a5bdb881cd9585b195960821b6044820152606401610455565b600654604051636eb1769f60e11b81523360048201523060248201526000916001600160a01b03169063dd62ed3e9060440160206040518083038186803b15801561070157600080fd5b505afa158015610715573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073991906118b0565b9050808211156107845760405162461bcd60e51b8152602060048201526016602482015275696e73756666696369656e7420616c6c6f77616e636560501b6044820152606401610455565b6006546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156107c857600080fd5b505afa1580156107dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080091906118b0565b9050808311156108495760405162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b6044820152606401610455565b600754429081111561088f5760405162461bcd60e51b815260206004820152600f60248201526e191958591b1a5b99481c185cdcd959608a1b6044820152606401610455565b60065460405163079cc67960e41b8152336004820152602481018690526001600160a01b03909116906379cc679090604401600060405180830381600087803b1580156108db57600080fd5b505af11580156108ef573d6000803e3d6000fd5b50506006546040516370a0823160e01b8152336004820152600093506001600160a01b0390911691506370a082319060240160206040518083038186803b15801561093957600080fd5b505afa15801561094d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097191906118b0565b90508261097e8683611863565b146109bd5760405162461bcd60e51b815260206004820152600f60248201526e696e76616c69642062616c616e636560881b6044820152606401610455565b6109c73386610f57565b6104fc85611353565b6005546001600160a01b031633146109fa5760405162461bcd60e51b81526004016104559061187b565b610a04600061140c565b565b6000610a1283336102aa565b905081811015610a705760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b6064820152608401610455565b610a7d8333848403610cbc565b610a878383611205565b505050565b6060600480546102ff906117f0565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610b1d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610455565b610b2a3385858403610cbc565b5060019392505050565b600061038f338484611036565b6000610b4e6001436118c9565b40905080610b935760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b6044820152606401610455565b4280610bd55760405162461bcd60e51b81526020600482015260116024820152700696e76616c69642074696d657374616d7607c1b6044820152606401610455565b6000828152600e602090815260409182902083905581518481529081018390527f2c6c5a9e4f0ddd70b42bd7fcac74128409018755c234dc0d2d29c66eb6335c9a910160405180910390a15050565b6005546001600160a01b03163314610c4e5760405162461bcd60e51b81526004016104559061187b565b6001600160a01b038116610cb35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610455565b6106298161140c565b6001600160a01b038316610d1e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610455565b6001600160a01b038216610d7f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610455565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600080610def610e1042611841565b905060008111610e345760405162461bcd60e51b815260206004820152601060248201526f1a5b9d985b1a59081a5b9d195c9d985b60821b6044820152606401610455565b919050565b81610e7b5760405162461bcd60e51b81526020600482015260126024820152710d2dcecc2d8d2c840c4d8dec6d65ad0c2e6d60731b6044820152606401610455565b6000828152600e602052604090205481610e97610e1083611841565b14610a875760015b6101008111610ede57804310158015610ec1575083610ebe82436118c9565b40145b15610ecc5750505050565b80610ed6816118e0565b915050610e9f565b5060405162461bcd60e51b81526020600482015260126024820152710caf0e0d2e4cac840c4d8dec6d65ad0c2e6d60731b6044820152606401610455565b600081815260018301602052604081205415155b9392505050565b6000610f428261145e565b60ff1692915050565b6000610f308383611646565b6001600160a01b038216610fad5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610455565b8060026000828254610fbf9190611863565b90915550506001600160a01b03821660009081526020819052604081208054839290610fec908490611863565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b03831661109a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610455565b6001600160a01b0382166110fc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610455565b6001600160a01b038316600090815260208190526040902054818110156111745760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610455565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906111ab908490611863565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516111f791815260200190565b60405180910390a350505050565b6001600160a01b0382166112655760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610455565b6001600160a01b038216600090815260208190526040902054818110156112d95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610455565b6001600160a01b03831660009081526020819052604081208383039055600280548492906113089084906118c9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6005546001600160a01b03163314156113835780600b60008282546113789190611863565b9091555061139b9050565b80600a60008282546113959190611863565b90915550505b600a54600b546113ac9060026118fb565b11156113f25760405162461bcd60e51b815260206004820152601560248201527466756e642773207368617265203e2033332e33332560581b6044820152606401610455565b80600960008282546114049190611863565b909155505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080805b60208160ff16101561163f576000848260ff16602081106114865761148661191a565b1a60f81b90506001600160f81b031981166114ae576114a6600284611930565b92505061162d565b600160f81b6001600160f81b0319821614806114d75750600160f91b6001600160f81b03198216145b806114ef5750600360f81b6001600160f81b03198216145b806115075750600160fa1b6001600160f81b03198216145b8061151f5750600560f81b6001600160f81b03198216145b806115375750600360f91b6001600160f81b03198216145b8061154f5750600760f81b6001600160f81b03198216145b806115675750600160fb1b6001600160f81b03198216145b8061157f5750600960f81b6001600160f81b03198216145b806115975750600560f91b6001600160f81b03198216145b806115af5750600b60f81b6001600160f81b03198216145b806115c75750600360fa1b6001600160f81b03198216145b806115df5750600d60f81b6001600160f81b03198216145b806115f75750600760f91b6001600160f81b03198216145b8061160f5750600f60f81b6001600160f81b03198216145b156116275761161f600184611930565b92505061163f565b5061163f565b8061163781611955565b915050611463565b5092915050565b600081815260018301602052604081205461168d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610393565b506000610393565b600060208083528351808285015260005b818110156116c2578581018301518582016040015282016116a6565b818111156116d4576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114610e3457600080fd5b6000806040838503121561171457600080fd5b61171d836116ea565b946020939093013593505050565b6000806040838503121561173e57600080fd5b50508035926020909101359150565b60008060006060848603121561176257600080fd5b61176b846116ea565b9250611779602085016116ea565b9150604084013590509250925092565b60006020828403121561179b57600080fd5b5035919050565b6000602082840312156117b457600080fd5b610f30826116ea565b600080604083850312156117d057600080fd5b6117d9836116ea565b91506117e7602084016116ea565b90509250929050565b600181811c9082168061180457607f821691505b6020821081141561182557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008261185e57634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156118765761187661182b565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156118c257600080fd5b5051919050565b6000828210156118db576118db61182b565b500390565b60006000198214156118f4576118f461182b565b5060010190565b60008160001904831182151516156119155761191561182b565b500290565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff84168060ff0382111561194d5761194d61182b565b019392505050565b600060ff821660ff81141561196c5761196c61182b565b6001019291505056fea26469706673582212209320b07b4ef3bb8676bbc8b897b57e4cb534fcce9f3266f7ebc7d9b60482b7be64736f6c6343000809003300000000000000000000000074a68215aedf59f317a23e87c13b848a292f27a400000000000000000000000000000000000000000000000000000000001baf80