Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
1,000,000,000.00 BANTER

Holders:
10
Profile Summary
Blockchain:
Base (8453)


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

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Created At:
Mon, 18 Nov 2024 19:00:25 GMT
Agent.sol
src
implementations
Agent.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "_name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "_symbol",
        "type": "string"
      },
      {
        "internalType": "contract ISystemContext",
        "name": "_systemContext",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "_mintTo",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "_totalSupply",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [],
    "name": "CollectionNotTransferable",
    "type": "error"
  },
  {
    "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": [],
    "name": "OnlyCreatorAccess",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "OnlyTransferControllerAccess",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [],
    "name": "AgentTransferable",
    "type": "event"
  },
  {
    "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": [],
    "name": "badge",
    "outputs": [
      {
        "internalType": "contract IBadge",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "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": [],
    "name": "isTransferable",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "makeTransferable",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "contract IBadge",
        "name": "_badge",
        "type": "address"
      }
    ],
    "name": "setBadge",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "systemContext",
    "outputs": [
      {
        "internalType": "contract ISystemContext",
        "name": "",
        "type": "address"
      }
    ],
    "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
6080604052346103f65761112e80380380610019816103fa565b92833981019060a0818303126103f65780516001600160401b0381116103f6578261004591830161041f565b602082015190926001600160401b0382116103f65761006591830161041f565b60408201519092906001600160a01b038116908190036103f65760608301516001600160a01b03811693908490036103f65760800151825190926001600160401b0382116102f95760035490600182811c921680156103ec575b60208310146102db5781601f84931161037e575b50602090601f8311600114610318575f9261030d575b50508160011b915f199060031b1c1916176003555b83516001600160401b0381116102f957600454600181811c911680156102ef575b60208210146102db57601f8111610278575b50602094601f8211600114610215579481929394955f9261020a575b50508160011b915f199060031b1c1916176004555b60ff19600554166005558160075560018060a01b0319600654161760065581156101f757600254908082018092116101e35760207fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef915f9360025584845283825260408420818154019055604051908152a3604051610cbd90816104718239f35b634e487b7160e01b5f52601160045260245ffd5b63ec442f0560e01b5f525f60045260245ffd5b015190505f8061014d565b601f1982169560045f52805f20915f5b88811061026057508360019596979810610248575b505050811b01600455610162565b01515f1960f88460031b161c191690555f808061023a565b91926020600181928685015181550194019201610225565b60045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c810191602084106102d1575b601f0160051c01905b8181106102c65750610131565b5f81556001016102b9565b90915081906102b0565b634e487b7160e01b5f52602260045260245ffd5b90607f169061011f565b634e487b7160e01b5f52604160045260245ffd5b015190505f806100e9565b60035f9081528281209350601f198516905b818110610366575090846001959493921061034e575b505050811b016003556100fe565b01515f1960f88460031b161c191690555f8080610340565b9293602060018192878601518155019501930161032a565b60035f529091507fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f840160051c810191602085106103e2575b90601f859493920160051c01905b8181106103d457506100d3565b5f81558493506001016103c7565b90915081906103b9565b91607f16916100bf565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176102f957604052565b81601f820112156103f6578051906001600160401b0382116102f95761044e601f8301601f19166020016103fa565b92828452602083830101116103f657815f9260208093018386015e830101529056fe6080806040526004361015610012575f80fd5b5f3560e01c90816306fdde0314610a2f57508063095ea7b3146109ad57806318160ddd146109905780632121dc751461096e57806323b872dd146106f8578063313ce567146106dd578063660f394d146106b5578063696fd68c146105a257806370a082311461056b57806391d768de1461053f57806395d89b411461043b578063a9059cbb14610263578063dd62ed3e146102135763ff967e2e146100b6575f80fd5b3461020f57602036600319011261020f576004356001600160a01b038116810361020f5760065460405163de28735960e01b815290602090829060049082906001600160a01b03165afa9081156101d7576044916020915f916101e2575b50604051632474521560e21b81527f828634d95e775031b9ff576b159a8509d3053581a8c9c4d7d86899e0afcd882f600482015233602482015292839182906001600160a01b03165afa9081156101d7575f916101a8575b50156101995760058054610100600160a81b03191660089290921b610100600160a81b0316919091179055005b630129f7d160e31b5f5260045ffd5b6101ca915060203d6020116101d0575b6101c28183610b3d565b810190610b92565b5f61016c565b503d6101b8565b6040513d5f823e3d90fd5b6102029150823d8411610208575b6101fa8183610b3d565b810190610b73565b5f610114565b503d6101f0565b5f80fd5b3461020f57604036600319011261020f5761022c610b11565b610234610b27565b6001600160a01b039182165f908152600160209081526040808320949093168252928352819020549051908152f35b3461020f57604036600319011261020f5761027c610b11565b60ff6005541615806102b5575b6102a65761029b906024359033610baa565b602060405160018152f35b63214e80b560e21b5f5260045ffd5b5060065460405163de28735960e01b8152906001600160a01b0316602082600481845afa9182156101d7576044926020915f9161041e575b50604051632474521560e21b81525f516020610c685f395f51905f52600482015233602482015293849182906001600160a01b03165afa9182156101d7575f926103fd575b508115610341575b5015610289565b60405163de28735960e01b81529150602090829060049082905afa9081156101d7576044916020915f916103e0575b50604051632474521560e21b81525f516020610c685f395f51905f5260048201526001600160a01b0385811660248301529093849290918391165afa9081156101d7575f916103c1575b508261033a565b6103da915060203d6020116101d0576101c28183610b3d565b826103ba565b6103f79150823d8411610208576101fa8183610b3d565b84610370565b61041791925060203d6020116101d0576101c28183610b3d565b9083610332565b6104359150823d8411610208576101fa8183610b3d565b856102ed565b3461020f575f36600319011261020f576040515f6004548060011c90600181168015610535575b602083108114610521578285529081156104fd575060011461049f575b61049b8361048f81850382610b3d565b60405191829182610ae7565b0390f35b91905060045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b915f905b8082106104e35750909150810160200161048f61047f565b9192600181602092548385880101520191019092916104cb565b60ff191660208086019190915291151560051b8401909101915061048f905061047f565b634e487b7160e01b5f52602260045260245ffd5b91607f1691610462565b3461020f575f36600319011261020f5760055460405160089190911c6001600160a01b03168152602090f35b3461020f57602036600319011261020f576001600160a01b0361058c610b11565b165f525f602052602060405f2054604051908152f35b3461020f575f36600319011261020f5760065460405163de28735960e01b815290602090829060049082906001600160a01b03165afa9081156101d7576044916020915f91610698575b50604051632474521560e21b81525f516020610c685f395f51905f52600482015233602482015292839182906001600160a01b03165afa9081156101d7575f91610679575b501561066a57600160ff1960055416176005557f6f2ab757f01a9d63bf0977da0e3b40fe8bb69518acaf7e4c96ce61a8e9b589f55f80a1005b637219e92d60e01b5f5260045ffd5b610692915060203d6020116101d0576101c28183610b3d565b81610631565b6106af9150823d8411610208576101fa8183610b3d565b836105ec565b3461020f575f36600319011261020f576006546040516001600160a01b039091168152602090f35b3461020f575f36600319011261020f57602060405160128152f35b3461020f57606036600319011261020f57610711610b11565b610719610b27565b6044359060ff6005541615806107e8575b6102a6576001600160a01b0383165f81815260016020818152604080842033855290915290912054919491908101610768575b5061029b9350610baa565b8381106107cd5784156107ba5733156107a75761029b945f52600160205260405f2060018060a01b0333165f526020528360405f20910390558461075d565b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b8390637dc7a0d960e11b5f523360045260245260445260645ffd5b5060065460405163de28735960e01b8152906001600160a01b0316602082600481845afa9182156101d7576044926020915f91610951575b50604051632474521560e21b81525f516020610c685f395f51905f52600482015233602482015293849182906001600160a01b03165afa9182156101d7575f92610930575b508115610874575b501561072a565b60405163de28735960e01b81529150602090829060049082905afa9081156101d7576044916020915f91610913575b50604051632474521560e21b81525f516020610c685f395f51905f5260048201526001600160a01b0385811660248301529093849290918391165afa9081156101d7575f916108f4575b508461086d565b61090d915060203d6020116101d0576101c28183610b3d565b846108ed565b61092a9150823d8411610208576101fa8183610b3d565b866108a3565b61094a91925060203d6020116101d0576101c28183610b3d565b9085610865565b6109689150823d8411610208576101fa8183610b3d565b87610820565b3461020f575f36600319011261020f57602060ff600554166040519015158152f35b3461020f575f36600319011261020f576020600754604051908152f35b3461020f57604036600319011261020f576109c6610b11565b6024359033156107ba576001600160a01b03169081156107a757335f52600160205260405f20825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b3461020f575f36600319011261020f575f6003548060011c90600181168015610add575b602083108114610521578285529081156104fd5750600114610a7f5761049b8361048f81850382610b3d565b91905060035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b915f905b808210610ac35750909150810160200161048f61047f565b919260018160209254838588010152019101909291610aab565b91607f1691610a53565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361020f57565b602435906001600160a01b038216820361020f57565b90601f8019910116810190811067ffffffffffffffff821117610b5f57604052565b634e487b7160e01b5f52604160045260245ffd5b9081602091031261020f57516001600160a01b038116810361020f5790565b9081602091031261020f5751801515810361020f5790565b6001600160a01b0316908115610c54576001600160a01b0316918215610c4157815f525f60205260405f2054818110610c2857817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92602092855f525f84520360405f2055845f525f825260405f20818154019055604051908152a3565b8263391434e360e21b5f5260045260245260445260645ffd5b63ec442f0560e01b5f525f60045260245ffd5b634b637e8f60e11b5f525f60045260245ffdfee28507373278a16e91a3c50928460a3461e7d7b9bca969110a305de57aa5916aa2646970667358221220e8670f9e87f49e379743b6018e1cbd1b50f88e5497c551be5996f71561d3037064736f6c634300081c003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000003ba411b8f76b945938cd05284a7c29a740cfcd470000000000000000000000003e5667ed5cf9f8cb2deceb95e1cec3eda89716ad0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000000000000000000000000000000000000000000d43727970746f2042616e74657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000642414e5445520000000000000000000000000000000000000000000000000000