Overview ERC20
PRICE
$0.087014

ON-CHAIN MARKET CAP n/a

Total Supply:
420,000,000,000.00 MAGA

Holders:
9,431
Profile Summary
Blockchain:
Base (8453)


Decimals:
18
Contract Source Code Verified (Exact Match)
Contract Name:
TrumpsHat

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
No

Created At:
Mon, 15 Jul 2024 14:26:41 GMT
TRUMPS HAT.sol
TRUMPS HAT.sol
TRUMPS HAT.sol


Contract ABI
[
  {
    "inputs": [],
    "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"
      }
    ],
    "name": "OwnershipRenounced",
    "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": "Maga",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address[]",
        "name": "wl",
        "type": "address[]"
      }
    ],
    "name": "Trump",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "tokenOwner",
        "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": [],
    "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": "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": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "recipient",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
608060405260015f60146101000a81548160ff021916908315150217905550348015610029575f80fd5b50335f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601260ff16600a61007a919061030f565b6461c9f3680061008a9190610359565b60015f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055503373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef601260ff16600a61012b919061030f565b6461c9f3680061013b9190610359565b60405161014891906103a9565b60405180910390a3600160035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506103c2565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111561022c57808604811115610208576102076101aa565b5b60018516156102175780820291505b8081029050610225856101d7565b94506101ec565b94509492505050565b5f8261024457600190506102ff565b81610251575f90506102ff565b81600181146102675760028114610271576102a0565b60019150506102ff565b60ff841115610283576102826101aa565b5b8360020a91508482111561029a576102996101aa565b5b506102ff565b5060208310610133831016604e8410600b84101617156102d55782820a9050838111156102d0576102cf6101aa565b5b6102ff565b6102e284848460016101e3565b925090508184048111156102f9576102f86101aa565b5b81810290505b9392505050565b5f819050919050565b5f61031982610306565b915061032483610306565b92506103517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610235565b905092915050565b5f61036382610306565b915061036e83610306565b925082820261037c81610306565b91508282048414831517610393576103926101aa565b5b5092915050565b6103a381610306565b82525050565b5f6020820190506103bc5f83018461039a565b92915050565b6115b2806103cf5f395ff3fe608060405234801561000f575f80fd5b50600436106100cd575f3560e01c8063715018a61161008a57806395d89b411161006457806395d89b41146101ed578063a9059cbb1461020b578063d1b0e39f1461023b578063dd62ed3e14610257576100cd565b8063715018a6146101bb57806386e49c0b146101c55780638da5cb5b146101cf576100cd565b806306fdde03146100d1578063095ea7b3146100ef57806318160ddd1461011f57806323b872dd1461013d578063313ce5671461016d57806370a082311461018b575b5f80fd5b6100d9610287565b6040516100e69190610d1b565b60405180910390f35b61010960048036038101906101049190610dd0565b6102c0565b6040516101169190610e28565b60405180910390f35b6101276102d6565b6040516101349190610e50565b60405180910390f35b61015760048036038101906101529190610e69565b6102fa565b6040516101649190610e28565b60405180910390f35b61017561039f565b6040516101829190610ed4565b60405180910390f35b6101a560048036038101906101a09190610eed565b6103a4565b6040516101b29190610e50565b60405180910390f35b6101c36103ea565b005b6101cd61051a565b005b6101d76105c2565b6040516101e49190610f27565b60405180910390f35b6101f56105e5565b6040516102029190610d1b565b60405180910390f35b61022560048036038101906102209190610dd0565b61061e565b6040516102329190610e28565b60405180910390f35b61025560048036038101906102509190610fa1565b610634565b005b610271600480360381019061026c9190610fec565b61075c565b60405161027e9190610e50565b60405180910390f35b6040518060400160405280600a81526020017f5452554d5053204841540000000000000000000000000000000000000000000081525081565b5f6102cc3384846107de565b6001905092915050565b601260ff16600a6102e79190611186565b6461c9f368006102f791906111d0565b81565b5f6103068484846109a1565b61039484338460025f8973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205461038f9190611211565b6107de565b600190509392505050565b601281565b5f60015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161046e9061128e565b60405180910390fd5b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482060405160405180910390a25f805f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059e9061128e565b60405180910390fd5b5f8060146101000a81548160ff021916908315150217905550565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6040518060400160405280600481526020017f4d4147410000000000000000000000000000000000000000000000000000000081525081565b5f61062a3384846109a1565b6001905092915050565b5f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b89061128e565b60405180910390fd5b5f5b8282905081101561075757600160035f8585858181106106e6576106e56112ac565b5b90506020020160208101906106fb9190610eed565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555080806001019150506106c3565b505050565b5f60025f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361084c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084390611323565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036108ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b19061138b565b60405180910390fd5b8060025f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516109949190610e50565b60405180910390a3505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a06906113f3565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a749061145b565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20541015610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af4906114c3565b60405180910390fd5b5f60149054906101000a900460ff1615610b9b5760035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16610b9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b919061152b565b60405180910390fd5b5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610be79190611211565b925050819055508060015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254610c3a9190611549565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610c9e9190610e50565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f610ced82610cab565b610cf78185610cb5565b9350610d07818560208601610cc5565b610d1081610cd3565b840191505092915050565b5f6020820190508181035f830152610d338184610ce3565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610d6c82610d43565b9050919050565b610d7c81610d62565b8114610d86575f80fd5b50565b5f81359050610d9781610d73565b92915050565b5f819050919050565b610daf81610d9d565b8114610db9575f80fd5b50565b5f81359050610dca81610da6565b92915050565b5f8060408385031215610de657610de5610d3b565b5b5f610df385828601610d89565b9250506020610e0485828601610dbc565b9150509250929050565b5f8115159050919050565b610e2281610e0e565b82525050565b5f602082019050610e3b5f830184610e19565b92915050565b610e4a81610d9d565b82525050565b5f602082019050610e635f830184610e41565b92915050565b5f805f60608486031215610e8057610e7f610d3b565b5b5f610e8d86828701610d89565b9350506020610e9e86828701610d89565b9250506040610eaf86828701610dbc565b9150509250925092565b5f60ff82169050919050565b610ece81610eb9565b82525050565b5f602082019050610ee75f830184610ec5565b92915050565b5f60208284031215610f0257610f01610d3b565b5b5f610f0f84828501610d89565b91505092915050565b610f2181610d62565b82525050565b5f602082019050610f3a5f830184610f18565b92915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112610f6157610f60610f40565b5b8235905067ffffffffffffffff811115610f7e57610f7d610f44565b5b602083019150836020820283011115610f9a57610f99610f48565b5b9250929050565b5f8060208385031215610fb757610fb6610d3b565b5b5f83013567ffffffffffffffff811115610fd457610fd3610d3f565b5b610fe085828601610f4c565b92509250509250929050565b5f806040838503121561100257611001610d3b565b5b5f61100f85828601610d89565b925050602061102085828601610d89565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b60018511156110ac578086048111156110885761108761102a565b5b60018516156110975780820291505b80810290506110a585611057565b945061106c565b94509492505050565b5f826110c4576001905061117f565b816110d1575f905061117f565b81600181146110e757600281146110f157611120565b600191505061117f565b60ff8411156111035761110261102a565b5b8360020a91508482111561111a5761111961102a565b5b5061117f565b5060208310610133831016604e8410600b84101617156111555782820a9050838111156111505761114f61102a565b5b61117f565b6111628484846001611063565b925090508184048111156111795761117861102a565b5b81810290505b9392505050565b5f61119082610d9d565b915061119b83610d9d565b92506111c87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846110b5565b905092915050565b5f6111da82610d9d565b91506111e583610d9d565b92508282026111f381610d9d565b9150828204841483151761120a5761120961102a565b5b5092915050565b5f61121b82610d9d565b915061122683610d9d565b925082820390508181111561123e5761123d61102a565b5b92915050565b7f43616c6c6572206973206e6f7420746865206f776e65720000000000000000005f82015250565b5f611278601783610cb5565b915061128382611244565b602082019050919050565b5f6020820190508181035f8301526112a58161126c565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f417070726f76652066726f6d20746865207a65726f20616464726573730000005f82015250565b5f61130d601d83610cb5565b9150611318826112d9565b602082019050919050565b5f6020820190508181035f83015261133a81611301565b9050919050565b7f417070726f766520746f20746865207a65726f206164647265737300000000005f82015250565b5f611375601b83610cb5565b915061138082611341565b602082019050919050565b5f6020820190508181035f8301526113a281611369565b9050919050565b7f5472616e736665722066726f6d20746865207a65726f206164647265737300005f82015250565b5f6113dd601e83610cb5565b91506113e8826113a9565b602082019050919050565b5f6020820190508181035f83015261140a816113d1565b9050919050565b7f5472616e7366657220746f20746865207a65726f2061646472657373000000005f82015250565b5f611445601c83610cb5565b915061145082611411565b602082019050919050565b5f6020820190508181035f83015261147281611439565b9050919050565b7f5472616e7366657220616d6f756e7420657863656564732062616c616e6365005f82015250565b5f6114ad601f83610cb5565b91506114b882611479565b602082019050919050565b5f6020820190508181035f8301526114da816114a1565b9050919050565b7f6e000000000000000000000000000000000000000000000000000000000000005f82015250565b5f611515600183610cb5565b9150611520826114e1565b602082019050919050565b5f6020820190508181035f83015261154281611509565b9050919050565b5f61155382610d9d565b915061155e83610d9d565b92508282019050808211156115765761157561102a565b5b9291505056fea2646970667358221220f999ab989ae1e07b40033922cff7e9164b8f44df3707cd50bb7644b6dd0841e964736f6c634300081a0033