Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
100,000,000.00 ANANSI

Holders:
242
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.27+commit.40a35a09

Optimization Enabled:
Yes with 200 runs

Created At:
Fri, 17 Jan 2025 19:45:45 GMT
Food.sol
src
Food.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      },
      {
        "internalType": "uint256",
        "name": "_totalSupply",
        "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": "amount",
        "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": "amount",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "event"
  },
  {
    "inputs": [],
    "name": "DOMAIN_SEPARATOR",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "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": "amount",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "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": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "nonces",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "deadline",
        "type": "uint256"
      },
      {
        "internalType": "uint8",
        "name": "v",
        "type": "uint8"
      },
      {
        "internalType": "bytes32",
        "name": "r",
        "type": "bytes32"
      },
      {
        "internalType": "bytes32",
        "name": "s",
        "type": "bytes32"
      }
    ],
    "name": "permit",
    "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": "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
60e060405234801561000f575f5ffd5b50604051610eda380380610eda83398101604081905261002e9161022b565b828260125f61003d848261031c565b50600161004a838261031c565b5060ff81166080524660a05261005e610078565b60c05250610070915033905082610110565b50505061046c565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f6040516100a891906103d6565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b8060025f8282546101219190610447565b90915550506001600160a01b0382165f818152600360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261019c575f5ffd5b81516001600160401b038111156101b5576101b5610179565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101e3576101e3610179565b6040528181528382016020018510156101fa575f5ffd5b5f5b82811015610218576020818601810151838301820152016101fc565b505f918101602001919091529392505050565b5f5f5f6060848603121561023d575f5ffd5b83516001600160401b03811115610252575f5ffd5b61025e8682870161018d565b602086015190945090506001600160401b0381111561027b575f5ffd5b6102878682870161018d565b925050604084015190509250925092565b600181811c908216806102ac57607f821691505b6020821081036102ca57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561031757805f5260205f20601f840160051c810160208510156102f55750805b601f840160051c820191505b81811015610314575f8155600101610301565b50505b505050565b81516001600160401b0381111561033557610335610179565b610349816103438454610298565b846102d0565b6020601f82116001811461037b575f83156103645750848201515b5f19600385901b1c1916600184901b178455610314565b5f84815260208120601f198516915b828110156103aa578785015182556020948501946001909201910161038a565b50848210156103c757868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f5f83546103e381610298565b6001821680156103fa576001811461040f5761043c565b60ff198316865281151582028601935061043c565b865f5260205f205f5b8381101561043457815488820152600190910190602001610418565b505081860193505b509195945050505050565b8082018082111561046657634e487b7160e01b5f52601160045260245ffd5b92915050565b60805160a05160c051610a446104965f395f61041501525f6103e001525f6101250152610a445ff3fe608060405234801561000f575f5ffd5b50600436106100b1575f3560e01c806370a082311161006e57806370a08231146101615780637ecebe001461018057806395d89b411461019f578063a9059cbb146101a7578063d505accf146101ba578063dd62ed3e146101cf575f5ffd5b806306fdde03146100b5578063095ea7b3146100d357806318160ddd146100f657806323b872dd1461010d578063313ce567146101205780633644e51514610159575b5f5ffd5b6100bd6101f9565b6040516100ca9190610795565b60405180910390f35b6100e66100e13660046107fb565b610284565b60405190151581526020016100ca565b6100ff60025481565b6040519081526020016100ca565b6100e661011b366004610823565b6102f0565b6101477f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016100ca565b6100ff6103dd565b6100ff61016f36600461085d565b60036020525f908152604090205481565b6100ff61018e36600461085d565b60056020525f908152604090205481565b6100bd610437565b6100e66101b53660046107fb565b610444565b6101cd6101c836600461087d565b6104ba565b005b6100ff6101dd3660046108ea565b600460209081525f928352604080842090915290825290205481565b5f80546102059061091b565b80601f01602080910402602001604051908101604052809291908181526020018280546102319061091b565b801561027c5780601f106102535761010080835404028352916020019161027c565b820191905f5260205f20905b81548152906001019060200180831161025f57829003601f168201915b505050505081565b335f8181526004602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906102de9086815260200190565b60405180910390a35060015b92915050565b6001600160a01b0383165f9081526004602090815260408083203384529091528120545f198114610349576103258382610953565b6001600160a01b0386165f9081526004602090815260408083203384529091529020555b6001600160a01b0385165f9081526003602052604081208054859290610370908490610953565b90915550506001600160a01b038085165f81815260036020526040908190208054870190555190918716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906103ca9087815260200190565b60405180910390a3506001949350505050565b5f7f000000000000000000000000000000000000000000000000000000000000000046146104125761040d6106fd565b905090565b507f000000000000000000000000000000000000000000000000000000000000000090565b600180546102059061091b565b335f90815260036020526040812080548391908390610464908490610953565b90915550506001600160a01b0383165f81815260036020526040908190208054850190555133907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906102de9086815260200190565b4284101561050f5760405162461bcd60e51b815260206004820152601760248201527f5045524d49545f444541444c494e455f4558504952454400000000000000000060448201526064015b60405180910390fd5b5f600161051a6103dd565b6001600160a01b038a81165f8181526005602090815260409182902080546001810190915582517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98184015280840194909452938d166060840152608083018c905260a083019390935260c08083018b90528151808403909101815260e08301909152805192019190912061190160f01b6101008301526101028201929092526101228101919091526101420160408051601f1981840301815282825280516020918201205f84529083018083525260ff871690820152606081018590526080810184905260a0016020604051602081039080840390855afa158015610622573d5f5f3e3d5ffd5b5050604051601f1901519150506001600160a01b038116158015906106585750876001600160a01b0316816001600160a01b0316145b6106955760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa9a4a3a722a960911b6044820152606401610506565b6001600160a01b039081165f9081526004602090815260408083208a8516808552908352928190208990555188815291928a16917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a350505050505050565b5f7f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f5f60405161072d9190610972565b6040805191829003822060208301939093528101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b602081525f82518060208401525f5b818110156107c157602081860181015160408684010152016107a4565b505f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146107f6575f5ffd5b919050565b5f5f6040838503121561080c575f5ffd5b610815836107e0565b946020939093013593505050565b5f5f5f60608486031215610835575f5ffd5b61083e846107e0565b925061084c602085016107e0565b929592945050506040919091013590565b5f6020828403121561086d575f5ffd5b610876826107e0565b9392505050565b5f5f5f5f5f5f5f60e0888a031215610893575f5ffd5b61089c886107e0565b96506108aa602089016107e0565b95506040880135945060608801359350608088013560ff811681146108cd575f5ffd5b9699959850939692959460a0840135945060c09093013592915050565b5f5f604083850312156108fb575f5ffd5b610904836107e0565b9150610912602084016107e0565b90509250929050565b600181811c9082168061092f57607f821691505b60208210810361094d57634e487b7160e01b5f52602260045260245ffd5b50919050565b818103818111156102ea57634e487b7160e01b5f52601160045260245ffd5b5f5f83545f8160011c9050600182168061098d57607f821691505b6020821081036109ab57634e487b7160e01b5f52602260045260245ffd5b8080156109bf57600181146109d457610a02565b60ff1984168752821515830287019450610a02565b5f888152602090205f5b848110156109fa578154898201526001909101906020016109de565b505082870194505b5092969550505050505056fea264697066735822122071d12b1f16666d36cc13a1370e4ab4b4504417ad4d83417260b42442baea348764736f6c634300081b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000052b7d2dcc80cd2e40000000000000000000000000000000000000000000000000000000000000000000016416e616e7369207468652057656220437261776c6572000000000000000000000000000000000000000000000000000000000000000000000000000000000006414e414e53490000000000000000000000000000000000000000000000000000