Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
1.00 ONE

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


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

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Created At:
Wed, 21 Feb 2024 20:30:40 GMT
ONE.sol
ONE.sol
ONE.sol


Contract ABI
[
  {
    "inputs": [],
    "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": 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": "",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "allowance",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "balances",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "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": "value",
        "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": "value",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
670de0b6b3a764000060025560c060405260036080819052624f4e4560e81b60a090815261002e91908161008c565b50604080518082019091526003808252624f4e4560e81b60209092019182526100599160049161008c565b506005805460ff1916601217905534801561007357600080fd5b5060025433600090815260208190526040902055610160565b82805461009890610125565b90600052602060002090601f0160209004810192826100ba5760008555610100565b82601f106100d357805160ff1916838001178555610100565b82800160010185558215610100579182015b828111156101005782518255916020019190600101906100e5565b5061010c929150610110565b5090565b5b8082111561010c5760008155600101610111565b600181811c9082168061013957607f821691505b6020821081141561015a57634e487b7160e01b600052602260045260246000fd5b50919050565b6107c68061016f6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063313ce56711610066578063313ce5671461012e57806370a082311461014d57806395d89b4114610176578063a9059cbb1461017e578063dd62ed3e1461019157600080fd5b806306fdde03146100a3578063095ea7b3146100c157806318160ddd146100e457806323b872dd146100fb57806327e235e31461010e575b600080fd5b6100ab6101bc565b6040516100b891906106bd565b60405180910390f35b6100d46100cf366004610694565b61024a565b60405190151581526020016100b8565b6100ed60025481565b6040519081526020016100b8565b6100d4610109366004610659565b6102b6565b6100ed61011c36600461060d565b60006020819052908152604090205481565b60055461013b9060ff1681565b60405160ff90911681526020016100b8565b6100ed61015b36600461060d565b6001600160a01b031660009081526020819052604090205490565b6100ab61042c565b6100d461018c366004610694565b610439565b6100ed61019f366004610627565b600160209081526000928352604080842090915290825290205481565b600380546101c99061073f565b80601f01602080910402602001604051908101604052809291908181526020018280546101f59061073f565b80156102425780601f1061021757610100808354040283529160200191610242565b820191906000526020600020905b81548152906001019060200180831161022557829003601f168201915b505050505081565b3360008181526001602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102a59086815260200190565b60405180910390a350600192915050565b6001600160a01b0383166000908152602081905260408120548211156103155760405162461bcd60e51b815260206004820152600f60248201526e62616c616e636520746f6f206c6f7760881b60448201526064015b60405180910390fd5b6001600160a01b038416600090815260016020908152604080832033845290915290205482111561037c5760405162461bcd60e51b8152602060048201526011602482015270616c6c6f77616e636520746f6f206c6f7760781b604482015260640161030c565b6001600160a01b03831660009081526020819052604090205461039f9083610525565b6001600160a01b0380851660009081526020819052604080822093909355908616815220546103ce908361058b565b6001600160a01b038581166000818152602081815260409182902094909455518581529186169290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35060019392505050565b600480546101c99061073f565b3360009081526020819052604081205482111561048a5760405162461bcd60e51b815260206004820152600f60248201526e62616c616e636520746f6f206c6f7760881b604482015260640161030c565b6001600160a01b0383166000908152602081905260409020546104ad9083610525565b6001600160a01b0384166000908152602081905260408082209290925533815220546104d9908361058b565b336000818152602081815260409182902093909355518481526001600160a01b038616927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016102a5565b6000806105328385610710565b9050838110156105845760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161030c565b9392505050565b6000828211156105dd5760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015260640161030c565b60006105e98385610728565b949350505050565b80356001600160a01b038116811461060857600080fd5b919050565b60006020828403121561061e578081fd5b610584826105f1565b60008060408385031215610639578081fd5b610642836105f1565b9150610650602084016105f1565b90509250929050565b60008060006060848603121561066d578081fd5b610676846105f1565b9250610684602085016105f1565b9150604084013590509250925092565b600080604083850312156106a6578182fd5b6106af836105f1565b946020939093013593505050565b6000602080835283518082850152825b818110156106e9578581018301518582016040015282016106cd565b818111156106fa5783604083870101525b50601f01601f1916929092016040019392505050565b600082198211156107235761072361077a565b500190565b60008282101561073a5761073a61077a565b500390565b600181811c9082168061075357607f821691505b6020821081141561077457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220f889880db261f6779ade2a700092741dd668d4baec79cf2d4ce4394a3f641b7264736f6c63430008040033