Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
100,000,000.00 MAGA

Holders:
51
Profile Summary
Blockchain:
Ethereum (1)


Decimals:
9
Contract Source Code Verified (Exact Match)
Contract Name:
MAGA

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Created At:
Sat, 01 Jun 2024 22:38:11 GMT
YAY.sol
contracts
YAY.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": false,
        "internalType": "uint256",
        "name": "_maxTxAmount",
        "type": "uint256"
      }
    ],
    "name": "MaxTxAmountUpdated",
    "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": "_maxTaxSwap",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_maxTxAmount",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_maxWalletSize",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_taxSwapThreshold",
    "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": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "manualSwap",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "openTrading",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "removeLimits",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "symbol",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "totalSupply",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "pure",
    "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": [],
    "name": "transferDelayEnabled",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "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"
  },
  {
    "stateMutability": "payable",
    "type": "receive"
  }
]


Contract Creation Code
60806040526006805460ff199081166001179091555f60078190556008805490921690915560146009818155600a918255600b839055600c839055601e600d819055600e819055600f556010929092556100599190610323565b61006690621e8480610338565b6011556100756009600a610323565b61008290621e8480610338565b6012556100916009600a610323565b61009b905f610338565b6013556100aa6009600a610323565b6100b790620aae60610338565b6014556016805461ffff60a81b191690553480156100d3575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b03191661010033021790556101376009600a610323565b610145906305f5e100610338565b335f90815260016020819052604082209290925560039061016d5f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff19968716179055308152600390935281832080548516600190811790915560065461010090049091168352912080549092161790556101cf3390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6102066009600a610323565b610214906305f5e100610338565b60405190815260200160405180910390a361034f565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102795780850481111561025d5761025d61022a565b600184161561026b57908102905b60019390931c928002610242565b935093915050565b5f8261028f5750600161031d565b8161029b57505f61031d565b81600181146102b157600281146102bb576102d7565b600191505061031d565b60ff8411156102cc576102cc61022a565b50506001821b61031d565b5060208310610133831016604e8410600b84101617156102fa575081810a61031d565b6103065f19848461023e565b805f19048211156103195761031961022a565b0290505b92915050565b5f61033160ff841683610281565b9392505050565b808202811582820484141761031d5761031d61022a565b611a2c8061035c5f395ff3fe608060405260043610610113575f3560e01c8063751039fc1161009d578063a9059cbb11610062578063a9059cbb14610303578063bf474bed14610322578063c876d0b914610337578063c9567bf914610350578063dd62ed3e14610364575f80fd5b8063751039fc146102735780637d1db4a5146102875780638da5cb5b1461029c5780638f9a55c0146102c257806395d89b41146102d7575f80fd5b806323b872dd116100e357806323b872dd146101db578063313ce567146101fa57806351bc3c851461021557806370a082311461022b578063715018a61461025f575f80fd5b806306fdde031461011e578063095ea7b3146101755780630faee56f146101a457806318160ddd146101c7575f80fd5b3661011a57005b5f80fd5b348015610129575f80fd5b5060408051808201909152601781527f4d79204173732047657474696e6720417272657374656400000000000000000060208201525b60405161016c9190611631565b60405180910390f35b348015610180575f80fd5b5061019461018f36600461167d565b6103a8565b604051901515815260200161016c565b3480156101af575f80fd5b506101b960145481565b60405190815260200161016c565b3480156101d2575f80fd5b506101b96103be565b3480156101e6575f80fd5b506101946101f53660046116a7565b6103de565b348015610205575f80fd5b506040516009815260200161016c565b348015610220575f80fd5b50610229610445565b005b348015610236575f80fd5b506101b96102453660046116e5565b6001600160a01b03165f9081526001602052604090205490565b34801561026a575f80fd5b5061022961049b565b34801561027e575f80fd5b50610229610515565b348015610292575f80fd5b506101b960115481565b3480156102a7575f80fd5b505f546040516001600160a01b03909116815260200161016c565b3480156102cd575f80fd5b506101b960125481565b3480156102e2575f80fd5b506040805180820190915260048152634d41474160e01b602082015261015f565b34801561030e575f80fd5b5061019461031d36600461167d565b6105d0565b34801561032d575f80fd5b506101b960135481565b348015610342575f80fd5b506006546101949060ff1681565b34801561035b575f80fd5b506102296105dc565b34801561036f575f80fd5b506101b961037e366004611700565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f6103b4338484610a9f565b5060015b92915050565b5f6103cb6009600a61182e565b6103d9906305f5e10061183c565b905090565b5f6103ea848484610bc2565b61043b8433610436856040518060600160405280602881526020016119cf602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190611290565b610a9f565b5060019392505050565b60065461010090046001600160a01b0316336001600160a01b031614610469575f80fd5b305f90815260016020526040902054801561048757610487816112c8565b4780156104975761049781611451565b5050565b5f546001600160a01b031633146104cd5760405162461bcd60e51b81526004016104c490611853565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b0316331461053e5760405162461bcd60e51b81526004016104c490611853565b61054a6009600a61182e565b610558906305f5e10061183c565b6011556105676009600a61182e565b610575906305f5e10061183c565b6012556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105af6009600a61182e565b6105bd906305f5e10061183c565b60405190815260200160405180910390a1565b5f6103b4338484610bc2565b5f546001600160a01b031633146106055760405162461bcd60e51b81526004016104c490611853565b601654600160a01b900460ff161561065f5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104c4565b601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106a890309061069a6009600a61182e565b610436906305f5e10061183c565b6015546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa1580156106ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107139190611888565b9050806001600160a01b031663e6a439053060155f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610775573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107999190611888565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156107e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108069190611888565b601680546001600160a01b0319166001600160a01b0392909216918217905561093c57806001600160a01b031663c9c653963060155f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610889573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ad9190611888565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156108f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091b9190611888565b601680546001600160a01b0319166001600160a01b03929092169190911790555b6015546001600160a01b031663f305d719473061096d816001600160a01b03165f9081526001602052604090205490565b5f806109805f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156109e6573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610a0b91906118a3565b505060165460155460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610a60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a8491906118ce565b50506016805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610b015760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104c4565b6001600160a01b038216610b625760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104c4565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c265760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104c4565b6001600160a01b038216610c885760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104c4565b5f8111610ce95760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104c4565b5f6001610cfd5f546001600160a01b031690565b6001600160a01b0316856001600160a01b031614158015610d2b57505f546001600160a01b03858116911614155b1561115257610d636064610d5d601660149054906101000a900460ff16610d5457600954610d56565b5f5b869061148c565b90611511565b60065490925060ff1615610e1d576015546001600160a01b03858116911614801590610d9d57506016546001600160a01b03858116911614155b15610e1d57325f908152600560205260409020544311610e0b5760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206f6e65207472616e736665722070657220626c6f636b20616c6c6f6044820152633bb2b21760e11b60648201526084016104c4565b325f9081526005602052604090204390555b6016546001600160a01b038681169116148015610e4857506015546001600160a01b03858116911614155b8015610e6c57506001600160a01b0384165f9081526003602052604090205460ff16155b15610fa957601154831115610ebf5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016104c4565b60125483610ee1866001600160a01b03165f9081526001602052604090205490565b610eeb91906118ed565b1115610f395760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104c4565b600f546010541015610f5057833b15610f50575f80fd5b60108054905f610f5f83611900565b90915550506001600160a01b0384165f908152600460205260409020429055600d54601054610fa691606491610d5d9110610f9c57600954610d56565b600b54869061148c565b91505b6016546001600160a01b038581169116148015610fcf57506001600160a01b0385163014155b156110a7576011548311156110225760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016104c4565b6110476064610d5d600e546010541161103d57600a54610d56565b600c54869061148c565b6001600160a01b0386165f9081526004602052604090205490925042148061108457506001600160a01b0385165f90815260046020526040902054155b1561108c57505f5b60085460ff16801561109f575043600754145b156110a757505f5b305f90815260016020526040902054601654600160a81b900460ff161580156110dd57506016546001600160a01b038681169116145b80156110f25750601654600160b01b900460ff165b80156110ff575060135481115b801561110e5750600f54601054115b80156111175750815b15611150576111396111348561112f84601454611552565b611552565b6112c8565b47801561114e5761114947611451565b436007555b505b505b81156111ca57305f908152600160205260409020546111719083611566565b305f81815260016020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111c19086815260200190565b60405180910390a35b6001600160a01b0385165f908152600160205260409020546111ec90846115c4565b6001600160a01b0386165f9081526001602052604090205561122f61121184846115c4565b6001600160a01b0386165f9081526001602052604090205490611566565b6001600160a01b038086165f8181526001602052604090209290925586167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61127886866115c4565b60405190815260200160405180910390a35050505050565b5f81848411156112b35760405162461bcd60e51b81526004016104c49190611631565b505f6112bf8486611918565b95945050505050565b6016805460ff60a81b1916600160a81b179055801561144157601654600160a01b900460ff1615611441576040805160028082526060820183525f9260208301908036833701905050905030815f815181106113265761132661192b565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561137d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113a19190611888565b816001815181106113b4576113b461192b565b6001600160a01b0392831660209182029290920101526015546113da9130911684610a9f565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac947906114129085905f9086903090429060040161193f565b5f604051808303815f87803b158015611429575f80fd5b505af115801561143b573d5f803e3d5ffd5b50505050505b506016805460ff60a81b19169055565b6006546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f19350505050158015610497573d5f803e3d5ffd5b5f825f0361149b57505f6103b8565b5f6114a6838561183c565b9050826114b385836119af565b1461150a5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104c4565b9392505050565b5f61150a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611605565b5f818311611560578261150a565b50919050565b5f8061157283856118ed565b90508381101561150a5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104c4565b5f61150a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611290565b5f81836116255760405162461bcd60e51b81526004016104c49190611631565b505f6112bf84866119af565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b038116811461167a575f80fd5b50565b5f806040838503121561168e575f80fd5b823561169981611666565b946020939093013593505050565b5f805f606084860312156116b9575f80fd5b83356116c481611666565b925060208401356116d481611666565b929592945050506040919091013590565b5f602082840312156116f5575f80fd5b813561150a81611666565b5f8060408385031215611711575f80fd5b823561171c81611666565b9150602083013561172c81611666565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156117865780850481111561176a5761176a611737565b600184161561177857908102905b60019390931c92800261174f565b935093915050565b5f8261179c575060016103b8565b816117a857505f6103b8565b81600181146117be57600281146117c8576117e4565b60019150506103b8565b60ff8411156117d9576117d9611737565b50506001821b6103b8565b5060208310610133831016604e8410600b8410161715611807575081810a6103b8565b6118135f19848461174b565b805f190482111561182657611826611737565b029392505050565b5f61150a60ff84168361178e565b80820281158282048414176103b8576103b8611737565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611898575f80fd5b815161150a81611666565b5f805f606084860312156118b5575f80fd5b5050815160208301516040909301519094929350919050565b5f602082840312156118de575f80fd5b8151801515811461150a575f80fd5b808201808211156103b8576103b8611737565b5f6001820161191157611911611737565b5060010190565b818103818111156103b8576103b8611737565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b8181101561198f5783516001600160a01b0316835260209384019390920191600101611968565b50506001600160a01b039590951660608401525050608001529392505050565b5f826119c957634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220e362f0c1b2a86f05640798634a9348a445805eb5431946a8c50e618fd928e01e64736f6c634300081a0033