Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
200.00 OT

Holders:
2
Profile Summary
Blockchain:
Sepolia (11155111)


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

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No

Created At:
Fri, 06 Sep 2024 04:12:00 GMT
OriginToken.sol
contracts
OriginToken.sol


Contract ABI
[
  {
    "inputs": [],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "allowance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientAllowance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "balance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientBalance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "approver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidApprover",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "receiver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidReceiver",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSender",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSpender",
    "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": "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": "value",
        "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": "recipient",
        "type": "address"
      }
    ],
    "name": "mint",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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
60806040523480156200001157600080fd5b506040518060400160405280600b81526020017f4f726967696e546f6b656e0000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4f5400000000000000000000000000000000000000000000000000000000000081525081600390816200008f9190620005fc565b508060049081620000a19190620005fc565b505050620000bf3368056bc75e2d63100000620000c560201b60201c565b6200081a565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200013a5760006040517fec442f0500000000000000000000000000000000000000000000000000000000815260040162000131919062000728565b60405180910390fd5b6200014e600083836200015260201b60201c565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620001a85780600260008282546200019b919062000774565b925050819055506200027e565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101562000237578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016200022e93929190620007c0565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620002c9578060026000828254039250508190555062000316565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003759190620007fd565b60405180910390a3505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200040457607f821691505b6020821081036200041a5762000419620003bc565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004847fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000445565b62000490868362000445565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004dd620004d7620004d184620004a8565b620004b2565b620004a8565b9050919050565b6000819050919050565b620004f983620004bc565b620005116200050882620004e4565b84845462000452565b825550505050565b600090565b6200052862000519565b62000535818484620004ee565b505050565b5b818110156200055d57620005516000826200051e565b6001810190506200053b565b5050565b601f821115620005ac57620005768162000420565b620005818462000435565b8101602085101562000591578190505b620005a9620005a08562000435565b8301826200053a565b50505b505050565b600082821c905092915050565b6000620005d160001984600802620005b1565b1980831691505092915050565b6000620005ec8383620005be565b9150826002028217905092915050565b620006078262000382565b67ffffffffffffffff8111156200062357620006226200038d565b5b6200062f8254620003eb565b6200063c82828562000561565b600060209050601f8311600181146200067457600084156200065f578287015190505b6200066b8582620005de565b865550620006db565b601f198416620006848662000420565b60005b82811015620006ae5784890151825560018201915060208501945060208101905062000687565b86831015620006ce5784890151620006ca601f891682620005be565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200071082620006e3565b9050919050565b620007228162000703565b82525050565b60006020820190506200073f600083018462000717565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200078182620004a8565b91506200078e83620004a8565b9250828201905080821115620007a957620007a862000745565b5b92915050565b620007ba81620004a8565b82525050565b6000606082019050620007d7600083018662000717565b620007e66020830185620007af565b620007f56040830184620007af565b949350505050565b6000602082019050620008146000830184620007af565b92915050565b610f14806200082a6000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80636a627842116100665780636a6278421461015d57806370a082311461017957806395d89b41146101a9578063a9059cbb146101c7578063dd62ed3e146101f75761009e565b806306fdde03146100a3578063095ea7b3146100c157806318160ddd146100f157806323b872dd1461010f578063313ce5671461013f575b600080fd5b6100ab610227565b6040516100b89190610b68565b60405180910390f35b6100db60048036038101906100d69190610c23565b6102b9565b6040516100e89190610c7e565b60405180910390f35b6100f96102dc565b6040516101069190610ca8565b60405180910390f35b61012960048036038101906101249190610cc3565b6102e6565b6040516101369190610c7e565b60405180910390f35b610147610315565b6040516101549190610d32565b60405180910390f35b61017760048036038101906101729190610d4d565b61031e565b005b610193600480360381019061018e9190610d4d565b610334565b6040516101a09190610ca8565b60405180910390f35b6101b161037c565b6040516101be9190610b68565b60405180910390f35b6101e160048036038101906101dc9190610c23565b61040e565b6040516101ee9190610c7e565b60405180910390f35b610211600480360381019061020c9190610d7a565b610431565b60405161021e9190610ca8565b60405180910390f35b60606003805461023690610de9565b80601f016020809104026020016040519081016040528092919081815260200182805461026290610de9565b80156102af5780601f10610284576101008083540402835291602001916102af565b820191906000526020600020905b81548152906001019060200180831161029257829003601f168201915b5050505050905090565b6000806102c46104b8565b90506102d18185856104c0565b600191505092915050565b6000600254905090565b6000806102f16104b8565b90506102fe8582856104d2565b610309858585610566565b60019150509392505050565b60006012905090565b6103318168056bc75e2d6310000061065a565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606004805461038b90610de9565b80601f01602080910402602001604051908101604052809291908181526020018280546103b790610de9565b80156104045780601f106103d957610100808354040283529160200191610404565b820191906000526020600020905b8154815290600101906020018083116103e757829003601f168201915b5050505050905090565b6000806104196104b8565b9050610426818585610566565b600191505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600033905090565b6104cd83838360016106dc565b505050565b60006104de8484610431565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146105605781811015610550578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161054793929190610e29565b60405180910390fd5b61055f848484840360006106dc565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036105d85760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016105cf9190610e60565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361064a5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106419190610e60565b60405180910390fd5b6106558383836108b3565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036106cc5760006040517fec442f050000000000000000000000000000000000000000000000000000000081526004016106c39190610e60565b60405180910390fd5b6106d8600083836108b3565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361074e5760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016107459190610e60565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036107c05760006040517f94280d620000000000000000000000000000000000000000000000000000000081526004016107b79190610e60565b60405180910390fd5b81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080156108ad578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108a49190610ca8565b60405180910390a35b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109055780600260008282546108f99190610eaa565b925050819055506109d8565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610991578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161098893929190610e29565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a215780600260008282540392505081905550610a6e565b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610acb9190610ca8565b60405180910390a3505050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610b12578082015181840152602081019050610af7565b60008484015250505050565b6000601f19601f8301169050919050565b6000610b3a82610ad8565b610b448185610ae3565b9350610b54818560208601610af4565b610b5d81610b1e565b840191505092915050565b60006020820190508181036000830152610b828184610b2f565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610bba82610b8f565b9050919050565b610bca81610baf565b8114610bd557600080fd5b50565b600081359050610be781610bc1565b92915050565b6000819050919050565b610c0081610bed565b8114610c0b57600080fd5b50565b600081359050610c1d81610bf7565b92915050565b60008060408385031215610c3a57610c39610b8a565b5b6000610c4885828601610bd8565b9250506020610c5985828601610c0e565b9150509250929050565b60008115159050919050565b610c7881610c63565b82525050565b6000602082019050610c936000830184610c6f565b92915050565b610ca281610bed565b82525050565b6000602082019050610cbd6000830184610c99565b92915050565b600080600060608486031215610cdc57610cdb610b8a565b5b6000610cea86828701610bd8565b9350506020610cfb86828701610bd8565b9250506040610d0c86828701610c0e565b9150509250925092565b600060ff82169050919050565b610d2c81610d16565b82525050565b6000602082019050610d476000830184610d23565b92915050565b600060208284031215610d6357610d62610b8a565b5b6000610d7184828501610bd8565b91505092915050565b60008060408385031215610d9157610d90610b8a565b5b6000610d9f85828601610bd8565b9250506020610db085828601610bd8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610e0157607f821691505b602082108103610e1457610e13610dba565b5b50919050565b610e2381610baf565b82525050565b6000606082019050610e3e6000830186610e1a565b610e4b6020830185610c99565b610e586040830184610c99565b949350505050565b6000602082019050610e756000830184610e1a565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610eb582610bed565b9150610ec083610bed565b9250828201905080821115610ed857610ed7610e7b565b5b9291505056fea2646970667358221220a4d7253bcdc8cdd550d16d6e54c1b30a648dd3969c0d3ae9a3579a26acba836564736f6c63430008180033