Overview ERC20
PRICE
$0.0102475

ON-CHAIN MARKET CAP n/a

Total Supply:
4,200,000,000.00 GOAT

Holders:
435
Profile Summary
Blockchain:
C-Chain (43114)


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

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 500 runs

Created At:
Sun, 28 Jan 2024 11:25:52 GMT
GOAT.sol
contracts
GOAT.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "totalSupply",
        "type": "uint256"
      }
    ],
    "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": [
      {
        "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": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "subtractedValue",
        "type": "uint256"
      }
    ],
    "name": "decreaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "getDecimals",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "addedValue",
        "type": "uint256"
      }
    ],
    "name": "increaseAllowance",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "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
60806040526005805460ff60a01b1916600960a11b1790553480156200002457600080fd5b5060405162000ee038038062000ee08339810160408190526200004791620001fe565b336040518060400160405280601481526020017ff09f9090204176616c616e63686520476f6174730000000000000000000000008152506040518060400160405280600481526020016311d3d05560e21b8152508160039081620000ac9190620002bd565b506004620000bb8282620002bd565b5050506001600160a01b038116620000ed57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b620000f8816200010b565b5062000104816200015d565b50620003b1565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6b0d92289838d21a9968000000600281905533600090815260208190526040902055620001a46200019b826b01412446ec3931acd0eac80e62000389565b600254620001a7565b50565b600580546001600160a01b0319166001600160a01b03841617905560405181815233906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000602082840312156200021157600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200024357607f821691505b6020821081036200026457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002b857600081815260208120601f850160051c81016020861015620002935750805b601f850160051c820191505b81811015620002b4578281556001016200029f565b5050505b505050565b81516001600160401b03811115620002d957620002d962000218565b620002f181620002ea84546200022e565b846200026a565b602080601f831160018114620003295760008415620003105750858301515b600019600386901b1c1916600185901b178555620002b4565b600085815260208120601f198616915b828110156200035a5788860151825594840194600190910190840162000339565b5085821015620003795787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003ab57634e487b7160e01b600052601160045260246000fd5b92915050565b610b1f80620003c16000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063715018a611610097578063a9059cbb11610066578063a9059cbb146101fb578063dd62ed3e1461020e578063f0141d8414610247578063f2fde38b1461025957600080fd5b8063715018a6146101bb5780638da5cb5b146101c557806395d89b41146101e0578063a457c2d7146101e857600080fd5b806323b872dd116100d357806323b872dd1461014d578063313ce56714610160578063395093511461017f57806370a082311461019257600080fd5b806306fdde03146100fa578063095ea7b31461011857806318160ddd1461013b575b600080fd5b61010261026c565b60405161010f9190610950565b60405180910390f35b61012b6101263660046109ba565b6102fe565b604051901515815260200161010f565b6002545b60405190815260200161010f565b61012b61015b3660046109e4565b610318565b600554600160a01b900460ff1660405160ff909116815260200161010f565b61012b61018d3660046109ba565b6103dd565b61013f6101a0366004610a20565b6001600160a01b031660009081526020819052604090205490565b6101c361041c565b005b6006546040516001600160a01b03909116815260200161010f565b610102610430565b61012b6101f63660046109ba565b61043f565b61012b6102093660046109ba565b6104d6565b61013f61021c366004610a42565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600554600160a01b900460ff1661013f565b6101c3610267366004610a20565b6104e4565b60606003805461027b90610a75565b80601f01602080910402602001604051908101604052809291908181526020018280546102a790610a75565b80156102f45780601f106102c9576101008083540402835291602001916102f4565b820191906000526020600020905b8154815290600101906020018083116102d757829003601f168201915b5050505050905090565b60003361030c818585610522565b60019150505b92915050565b6000336103268582856105d8565b6005546001600160a01b0386811660008181526020819052604090819020549051631a4eb99360e21b81526004810191909152602481019190915291169063693ae64c90604401602060405180830381865afa15801561038a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103ae9190610aaf565b6001600160a01b0386166000908152602081905260409020556103d2858585610654565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061030c9082908690610417908790610ac8565b610522565b6104246106b8565b61042e60006106e5565b565b60606004805461027b90610a75565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156104c95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103d28286868403610522565b60003361030c818585610654565b6104ec6106b8565b6001600160a01b03811661051657604051631e4fbdf760e01b8152600060048201526024016104c0565b61051f816106e5565b50565b6001600160a01b03831661054c5760405163e602df0560e01b8152600060048201526024016104c0565b6001600160a01b03821661057657604051634a1406b160e11b8152600060048201526024016104c0565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461064e578181101561064157604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016104c0565b61064e8484848403610522565b50505050565b6001600160a01b03831661067e57604051634b637e8f60e11b8152600060048201526024016104c0565b6001600160a01b0382166106a85760405163ec442f0560e01b8152600060048201526024016104c0565b6106b3838383610744565b505050565b6006546001600160a01b0316331461042e5760405163118cdaa760e01b81523360048201526024016104c0565b600680546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03831661076f5780600260008282546107649190610ac8565b909155506108d09050565b6001600160a01b038316600090815260208190526040902054818110156107c25760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016104c0565b6005546001600160a01b0385811660008181526020819052604090819020549051635757719560e01b81523060048201526024810191909152604481019190915284929190911690635757719590606401602060405180830381865afa158015610830573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108549190610aaf565b10156108b15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104c0565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166108ec5760028054829003905561090b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516105cb91815260200190565b600060208083528351808285015260005b8181101561097d57858101830151858201604001528201610961565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146109b557600080fd5b919050565b600080604083850312156109cd57600080fd5b6109d68361099e565b946020939093013593505050565b6000806000606084860312156109f957600080fd5b610a028461099e565b9250610a106020850161099e565b9150604084013590509250925092565b600060208284031215610a3257600080fd5b610a3b8261099e565b9392505050565b60008060408385031215610a5557600080fd5b610a5e8361099e565b9150610a6c6020840161099e565b90509250929050565b600181811c90821680610a8957607f821691505b602082108103610aa957634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215610ac157600080fd5b5051919050565b8082018082111561031257634e487b7160e01b600052601160045260246000fdfea26469706673582212200ff4e8ac2d09ea21a8c280a89b61373998acc95a9e441216307f3711a3b6d89a64736f6c634300081400330000000000000000000000009f2d8d98894d686041d55ecbc5e76f037228f8c8