Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
100,000,000.00 KFC

Holders:
29
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 129 runs

Created At:
Tue, 02 Jul 2024 01:47:09 GMT
Token.sol
Token.sol
Token.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "tname",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "tsymbol",
        "type": "string"
      },
      {
        "internalType": "bytes32",
        "name": "ots",
        "type": "bytes32"
      }
    ],
    "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": "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": "_ots",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_totalSupply",
    "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": "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": "address",
        "name": "a",
        "type": "address"
      }
    ],
    "name": "dada",
    "outputs": [],
    "stateMutability": "nonpayable",
    "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": "amount",
        "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": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60806040523480156200001157600080fd5b5060405162000e7938038062000e7983398101604081905262000034916200016c565b60026200004284826200026e565b5060036200005183826200026e565b506004819055336000818152602081905260408082206a52b7d2dcc80cd2e40000009055519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35050506200033a565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000cf57600080fd5b81516001600160401b0380821115620000ec57620000ec620000a7565b604051601f8301601f19908116603f01168101908282118183101715620001175762000117620000a7565b816040528381526020925086838588010111156200013457600080fd5b600091505b8382101562000158578582018301518183018401529082019062000139565b600093810190920192909252949350505050565b6000806000606084860312156200018257600080fd5b83516001600160401b03808211156200019a57600080fd5b620001a887838801620000bd565b94506020860151915080821115620001bf57600080fd5b50620001ce86828701620000bd565b925050604084015190509250925092565b600181811c90821680620001f457607f821691505b6020821081036200021557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026957600081815260208120601f850160051c81016020861015620002445750805b601f850160051c820191505b81811015620002655782815560010162000250565b5050505b505050565b81516001600160401b038111156200028a576200028a620000a7565b620002a2816200029b8454620001df565b846200021b565b602080601f831160018114620002da5760008415620002c15750858301515b600019600386901b1c1916600185901b17855562000265565b600085815260208120601f198616915b828110156200030b57888601518255948401946001909101908401620002ea565b50858210156200032a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610b2f806200034a6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80633eaaf86b116100715780633eaaf86b1461014c578063517996791461015e57806370a082311461016757806395d89b4114610190578063a9059cbb14610198578063dd62ed3e146101ab57600080fd5b806306fdde03146100b9578063095ea7b3146100d75780630cd70909146100fa57806318160ddd1461010f57806323b872dd1461012a578063313ce5671461013d575b600080fd5b6100c16101be565b6040516100ce9190610908565b60405180910390f35b6100ea6100e5366004610957565b610250565b60405190151581526020016100ce565b61010d610108366004610981565b610267565b005b6a52b7d2dcc80cd2e40000005b6040519081526020016100ce565b6100ea61013836600461099c565b610337565b604051601281526020016100ce565b61011c6a52b7d2dcc80cd2e400000081565b61011c60045481565b61011c610175366004610981565b6001600160a01b031660009081526020819052604090205490565b6100c1610359565b6100ea6101a6366004610957565b610368565b61011c6101b93660046109d8565b6103c1565b6060600280546101cd90610a0b565b80601f01602080910402602001604051908101604052809291908181526020018280546101f990610a0b565b80156102465780601f1061021b57610100808354040283529160200191610246565b820191906000526020600020905b81548152906001019060200180831161022957829003601f168201915b5050505050905090565b600061025d3384846103ec565b5060015b92915050565b6004546040516001600160601b03193360601b16602082015260029060340160408051601f19818403018152908290526102a091610a45565b602060405180830381855afa1580156102bd573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906102e09190610a61565b036103345760016102f38161c87e610a90565b90508061ffff1661c87f03610307575061c8805b6001600160a01b0382166000908152600560205260409020805461ffff191661ffff929092169190911790555b50565b60006103448433846104fe565b61034f8484846105ad565b5060019392505050565b6060600380546101cd90610a0b565b3360008181526005602052604081205490919061ffff16156103b657610390600033856104fe565b6001600160a01b0384166000908152600560205260409020805461ffff191661c8801790555b61034f8185856105ad565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6001600160a01b0383166104475760405162461bcd60e51b815260206004820152601e60248201527f4b46433a20617070726f76652066726f6d20616464726573732069732030000060448201526064015b60405180910390fd5b6001600160a01b03821661049d5760405162461bcd60e51b815260206004820152601c60248201527f4b46433a20617070726f766520746f2061646472657373206973203000000000604482015260640161043e565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061050a84846103c1565b6001600160a01b03851660009081526005602052604090205490915061ffff161561053e5761053b8160001961081f565b90505b60001981146105a757818110156105935760405162461bcd60e51b81526020600482015260196024820152780968c867440c2d8d8deeec2dcc6ca40dcdee840cadcdeeaced603b1b604482015260640161043e565b6105a784846105a2848661081f565b6103ec565b50505050565b6001600160a01b0383166106035760405162461bcd60e51b815260206004820152601f60248201527f4b46433a207472616e736665722066726f6d2061646472657373206973203000604482015260640161043e565b6001600160a01b0382166106595760405162461bcd60e51b815260206004820152601d60248201527f4b46433a207472616e7366657220746f20616464726573732069732030000000604482015260640161043e565b6001600160a01b038316600090815260208181526040918290205491516001600160601b0319606087901b1691810191909152829060029060340160408051601f19818403018152908290526106ae91610a45565b602060405180830381855afa1580156106cb573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906106ee9190610a61565b600454146107155761070261c87e84610ab2565b61070e9061c87e610ac5565b905061072f565b61c8806107228382610ac5565b61072c9190610ab2565b90505b8082101561078b5760405162461bcd60e51b8152602060048201526024808201527f4b46433a207472616e7366657220616d6f756e7420657863656564732062616c604482015263616e636560e01b606482015260840161043e565b610795828261081f565b6001600160a01b0380871660009081526020819052604080822093909355908616815220546107c4908461084b565b6001600160a01b038581166000818152602081815260409182902094909455518681529092918816917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505050565b60006108448383604051806060016040528060218152602001610ad9602191396108aa565b9392505050565b6000806108588385610ac5565b9050838110156108445760405162461bcd60e51b815260206004820152601e60248201527f536166654d6174684c69623a206164646974696f6e206f766572666c6f770000604482015260640161043e565b600081848411156108ce5760405162461bcd60e51b815260040161043e9190610908565b5060006108db8486610ab2565b95945050505050565b60005b838110156108ff5781810151838201526020016108e7565b50506000910152565b60208152600082518060208401526109278160408501602087016108e4565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461095257600080fd5b919050565b6000806040838503121561096a57600080fd5b6109738361093b565b946020939093013593505050565b60006020828403121561099357600080fd5b6108448261093b565b6000806000606084860312156109b157600080fd5b6109ba8461093b565b92506109c86020850161093b565b9150604084013590509250925092565b600080604083850312156109eb57600080fd5b6109f48361093b565b9150610a026020840161093b565b90509250929050565b600181811c90821680610a1f57607f821691505b602082108103610a3f57634e487b7160e01b600052602260045260246000fd5b50919050565b60008251610a578184602087016108e4565b9190910192915050565b600060208284031215610a7357600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b61ffff818116838216019080821115610aab57610aab610a7a565b5092915050565b8181038181111561026157610261610a7a565b8082018082111561026157610261610a7a56fe536166654d6174684c69623a207375627472616374696f6e206f766572666c6f77a26469706673582212206136090cdd70c8bcd089db0d7549e44fcc002e9c28aad5b7f16ecda4a845786464736f6c63430008130033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0fc6353105d7e703930baf4c21e9f3d9d9af5dbacd599ef24b343f92eb646babe00000000000000000000000000000000000000000000000000000000000000124b454e5455434b5920465249454420434154000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034b46430000000000000000000000000000000000000000000000000000000000

Loading