Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
1,002.00 S5TA

Holders:
4
Profile Summary
Blockchain:
Sepolia (11155111)


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

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Created At:
Mon, 04 Mar 2024 04:26:36 GMT
S5Token.sol
src
challenges
S5Token.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "letter",
        "type": "string"
      }
    ],
    "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"
  },
  {
    "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": [],
    "name": "INITIAL_SUPPLY",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "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": "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": "to",
        "type": "address"
      }
    ],
    "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": "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"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b5060405162000ee738038062000ee78339810160408190526200003491620002fd565b3381604051602001620000489190620003b5565b604051602081830303815290604052826040516020016200006a9190620003e6565b60408051601f198184030181529190526003620000888382620004a2565b506004620000978282620004a2565b5050506001600160a01b038116620000ca57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000d581620000fe565b50620000f733620000f1670de0b6b3a76400006103e862000584565b62000150565b50620005ba565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200017c5760405163ec442f0560e01b815260006004820152602401620000c1565b6200018a600083836200018e565b5050565b6001600160a01b038316620001bd578060026000828254620001b19190620005a4565b90915550620002319050565b6001600160a01b03831660009081526020819052604090205481811015620002125760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000c1565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200024f576002805482900390556200026e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620002b491815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620002f4578181015183820152602001620002da565b50506000910152565b6000602082840312156200031057600080fd5b81516001600160401b03808211156200032857600080fd5b818401915084601f8301126200033d57600080fd5b815181811115620003525762000352620002c1565b604051601f8201601f19908116603f011681019083821181831017156200037d576200037d620002c1565b816040528281528760208487010111156200039757600080fd5b620003aa836020830160208801620002d7565b979650505050505050565b66299aaa37b5b2b760c91b815260008251620003d9816007850160208701620002d7565b9190910160070192915050565b6214cd5560ea1b81526000825162000406816003850160208701620002d7565b9190910160030192915050565b600181811c908216806200042857607f821691505b6020821081036200044957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200049d57600081815260208120601f850160051c81016020861015620004785750805b601f850160051c820191505b81811015620004995782815560010162000484565b5050505b505050565b81516001600160401b03811115620004be57620004be620002c1565b620004d681620004cf845462000413565b846200044f565b602080601f8311600181146200050e5760008415620004f55750858301515b600019600386901b1c1916600185901b17855562000499565b600085815260208120601f198616915b828110156200053f578886015182559484019460019091019084016200051e565b50858210156200055e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176200059e576200059e6200056e565b92915050565b808201808211156200059e576200059e6200056e565b61091d80620005ca6000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c57806395d89b411161006657806395d89b41146101cd578063a9059cbb146101d5578063dd62ed3e146101e8578063f2fde38b1461022157600080fd5b806370a0823114610181578063715018a6146101aa5780638da5cb5b146101b257600080fd5b806323b872dd116100c857806323b872dd146101425780632ff2e9dc14610155578063313ce5671461015d5780636a6278421461016c57600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f7610234565b6040516101049190610748565b60405180910390f35b61012061011b3660046107b2565b6102c6565b6040519015158152602001610104565b6002545b604051908152602001610104565b6101206101503660046107dc565b6102e0565b610134610304565b60405160128152602001610104565b61017f61017a366004610818565b61031b565b005b61013461018f366004610818565b6001600160a01b031660009081526020819052604090205490565b61017f610330565b6005546040516001600160a01b039091168152602001610104565b6100f7610344565b6101206101e33660046107b2565b610353565b6101346101f636600461083a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61017f61022f366004610818565b610361565b6060600380546102439061086d565b80601f016020809104026020016040519081016040528092919081815260200182805461026f9061086d565b80156102bc5780601f10610291576101008083540402835291602001916102bc565b820191906000526020600020905b81548152906001019060200180831161029f57829003601f168201915b5050505050905090565b6000336102d48185856103a1565b60019150505b92915050565b6000336102ee8582856103b3565b6102f9858585610431565b506001949350505050565b610318670de0b6b3a76400006103e86108bd565b81565b61032d81670de0b6b3a7640000610490565b50565b6103386104ca565b61034260006104f7565b565b6060600480546102439061086d565b6000336102d4818585610431565b6103696104ca565b6001600160a01b03811661039857604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61032d816104f7565b6103ae8383836001610549565b505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461042b578181101561041c57604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161038f565b61042b84848484036000610549565b50505050565b6001600160a01b03831661045b57604051634b637e8f60e11b81526000600482015260240161038f565b6001600160a01b0382166104855760405163ec442f0560e01b81526000600482015260240161038f565b6103ae83838361061e565b6001600160a01b0382166104ba5760405163ec442f0560e01b81526000600482015260240161038f565b6104c66000838361061e565b5050565b6005546001600160a01b031633146103425760405163118cdaa760e01b815233600482015260240161038f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166105735760405163e602df0560e01b81526000600482015260240161038f565b6001600160a01b03831661059d57604051634a1406b160e11b81526000600482015260240161038f565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561042b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161061091815260200190565b60405180910390a350505050565b6001600160a01b03831661064957806002600082825461063e91906108d4565b909155506106bb9050565b6001600160a01b0383166000908152602081905260409020548181101561069c5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161038f565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166106d7576002805482900390556106f6565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161073b91815260200190565b60405180910390a3505050565b600060208083528351808285015260005b8181101561077557858101830151858201604001528201610759565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146107ad57600080fd5b919050565b600080604083850312156107c557600080fd5b6107ce83610796565b946020939093013593505050565b6000806000606084860312156107f157600080fd5b6107fa84610796565b925061080860208501610796565b9150604084013590509250925092565b60006020828403121561082a57600080fd5b61083382610796565b9392505050565b6000806040838503121561084d57600080fd5b61085683610796565b915061086460208401610796565b90509250929050565b600181811c9082168061088157607f821691505b6020821081036108a157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176102da576102da6108a7565b808201808211156102da576102da6108a756fea2646970667358221220796e9422edff4e1674fdba4ebfb63e9a53f4f8ccccf44594f14fe9d4d3bcf85f64736f6c63430008140033000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000014100000000000000000000000000000000000000000000000000000000000000