Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
100,000,000.00 MDGA

Holders:
11
Profile Summary
Blockchain:
Ethereum (1)


Decimals:
9
Contract Source Code Verified (Partial Match)
Contract Name:
MDGA

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Created At:
Wed, 31 Jul 2024 15:26:23 GMT
MDGA.sol
MDGA.sol
MDGA.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"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "_tax",
        "type": "uint256"
      }
    ],
    "name": "TransferTaxUpdated",
    "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": [
      {
        "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": "createMDGA",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "pure",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "enableMDGA",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "manualSwap",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "manualsend",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "pure",
    "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": [
      {
        "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"
  },
  {
    "inputs": [],
    "name": "withdrawStuckEth",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "stateMutability": "payable",
    "type": "receive"
  }
]


Contract Creation Code
608060405260006004556000600555604e600655601a600755600960085560086009556000600a556009600a62000037919062000334565b6200004690621e84806200034c565b600b55620000576009600a62000334565b6200006690621e84806200034c565b600c55620000776009600a62000334565b6200008690620f42406200034c565b600d556010805461ffff60a81b1916905560016011819055601255348015620000ae57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600e80546001600160a01b0319167312d6afd67dc49b65b017083f0511a55de17cbcf0179055620001246009600a62000334565b62000134906305f5e1006200034c565b3360009081526001602081905260408220929092556003906200015f6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526003909352818320805485166001908117909155600e54909116835291208054909216179055620001be3390565b6001600160a01b031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620001f86009600a62000334565b62000208906305f5e1006200034c565b60405190815260200160405180910390a362000366565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002765781600019048211156200025a576200025a6200021f565b808516156200026857918102915b93841c93908002906200023a565b509250929050565b6000826200028f575060016200032e565b816200029e575060006200032e565b8160018114620002b75760028114620002c257620002e2565b60019150506200032e565b60ff841115620002d657620002d66200021f565b50506001821b6200032e565b5060208310610133831016604e8410600b841016171562000307575081810a6200032e565b62000313838362000235565b80600019048211156200032a576200032a6200021f565b0290505b92915050565b60006200034560ff8416836200027e565b9392505050565b80820281158282048414176200032e576200032e6200021f565b611aa180620003766000396000f3fe6080604052600436106101235760003560e01c8063715018a6116100a05780638f9a55c0116100645780638f9a55c01461031757806395d89b411461032d578063a9059cbb1461035a578063b4e547791461037a578063dd62ed3e1461038f57600080fd5b8063715018a61461029a578063751039fc146102af5780637d1db4a5146102c45780637fa787ba146102da5780638da5cb5b146102ef57600080fd5b8063313ce567116100e7578063313ce5671461020757806351bc3c85146102235780635f46e46d1461023a5780636fc3eaec1461024f57806370a082311461026457600080fd5b806306fdde031461012f578063095ea7b31461017e5780630faee56f146101ae57806318160ddd146101d257806323b872dd146101e757600080fd5b3661012a57005b600080fd5b34801561013b57600080fd5b5060408051808201909152601481527326b0b5b2902237b39023b932b0ba1020b3b0b4b760611b60208201525b6040516101759190611653565b60405180910390f35b34801561018a57600080fd5b5061019e6101993660046116b6565b6103d5565b6040519015158152602001610175565b3480156101ba57600080fd5b506101c4600d5481565b604051908152602001610175565b3480156101de57600080fd5b506101c46103ec565b3480156101f357600080fd5b5061019e6102023660046116e2565b61040d565b34801561021357600080fd5b5060405160098152602001610175565b34801561022f57600080fd5b50610238610476565b005b34801561024657600080fd5b506102386104c9565b34801561025b57600080fd5b50610238610877565b34801561027057600080fd5b506101c461027f366004611723565b6001600160a01b031660009081526001602052604090205490565b3480156102a657600080fd5b506102386108a1565b3480156102bb57600080fd5b50610238610915565b3480156102d057600080fd5b506101c4600b5481565b3480156102e657600080fd5b506102386109c7565b3480156102fb57600080fd5b506000546040516001600160a01b039091168152602001610175565b34801561032357600080fd5b506101c4600c5481565b34801561033957600080fd5b506040805180820190915260048152634d44474160e01b6020820152610168565b34801561036657600080fd5b5061019e6103753660046116b6565b610a53565b34801561038657600080fd5b50610238610a60565b34801561039b57600080fd5b506101c46103aa366004611740565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60006103e2338484610aa3565b5060015b92915050565b60006103fa6009600a611873565b610408906305f5e100611882565b905090565b600061041a848484610bc8565b61046c843361046785604051806060016040528060288152602001611a24602891396001600160a01b038a1660009081526002602090815260408083203384529091529020549190610faf565b610aa3565b5060019392505050565b600e546001600160a01b0316336001600160a01b03161461049657600080fd5b3060009081526001602052604090205480156104b5576104b581610fe9565b4780156104c5576104c581611163565b5050565b6000546001600160a01b031633146104fc5760405162461bcd60e51b81526004016104f390611899565b60405180910390fd5b601054600160a01b900460ff16156105565760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104f3565b600f80546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561059f9030906105916009600a611873565b610467906305f5e100611882565b600f60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061691906118ce565b6001600160a01b031663c9c6539630600f60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610678573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069c91906118ce565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156106e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070d91906118ce565b601080546001600160a01b039283166001600160a01b0319909116179055600f541663f305d7194730610755816001600160a01b031660009081526001602052604090205490565b60008061076a6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156107d2573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906107f791906118eb565b5050601054600f5460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b3906044016020604051808303816000875af1158015610850573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108749190611919565b50565b600e546001600160a01b0316336001600160a01b03161461089757600080fd5b4761087481611163565b6000546001600160a01b031633146108cb5760405162461bcd60e51b81526004016104f390611899565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b0316331461093f5760405162461bcd60e51b81526004016104f390611899565b61094b6009600a611873565b610959906305f5e100611882565b600b556109686009600a611873565b610976906305f5e100611882565b600c557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6109a66009600a611873565b6109b4906305f5e100611882565b60405190815260200160405180910390a1565b6000546001600160a01b031633146109de57600080fd5b60004711610a275760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71d1037379022aa24103a379031b632b0b960511b60448201526064016104f3565b60405133904780156108fc02916000818181858888f19350505050158015610874573d6000803e3d6000fd5b60006103e2338484610bc8565b6000546001600160a01b03163314610a8a5760405162461bcd60e51b81526004016104f390611899565b6010805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610b055760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104f3565b6001600160a01b038216610b665760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104f3565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610c2c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104f3565b6001600160a01b038216610c8e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104f3565b60008111610cf05760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104f3565b601054600160a01b900460ff16610d85576001600160a01b03831660009081526003602052604090205460ff1680610d4057506001600160a01b03821660009081526003602052604090205460ff165b610d855760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016104f3565b601054600160b01b900460ff161580610da75750601054600160a81b900460ff165b15610dbc57610db783838361119d565b505050565b6000546001600160a01b03848116911614801590610de857506000546001600160a01b03838116911614155b15610fa4576010546001600160a01b038481169116148015610e185750600f546001600160a01b03838116911614155b8015610e3d57506001600160a01b03821660009081526003602052604090205460ff16155b15610f2557600b54811115610e945760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e0000000000000060448201526064016104f3565b600c5481610eb7846001600160a01b031660009081526001602052604090205490565b610ec1919061193b565b1115610f0f5760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104f3565b600a8054906000610f1f8361194e565b91905055505b30600090815260016020526040902054601054600160a81b900460ff16158015610f5c57506010546001600160a01b038481169116145b8015610f715750601054600160b01b900460ff165b15610fa2578015610f9957610f99610f9483610f8f84600d54611231565b611231565b610fe9565b610fa247611163565b505b610db7838383611249565b60008184841115610fd35760405162461bcd60e51b81526004016104f39190611653565b506000610fe08486611967565b95945050505050565b6010805460ff60a81b1916600160a81b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106110315761103161197a565b6001600160a01b03928316602091820292909201810191909152600f54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561108a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ae91906118ce565b816001815181106110c1576110c161197a565b6001600160a01b039283166020918202929092010152600f546110e79130911684610aa3565b600f5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611120908590600090869030904290600401611990565b600060405180830381600087803b15801561113a57600080fd5b505af115801561114e573d6000803e3d6000fd5b50506010805460ff60a81b1916905550505050565b600e546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156104c5573d6000803e3d6000fd5b6001600160a01b0383166000908152600160205260409020546111c090826113af565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546111ef90826113f1565b6001600160a01b038084166000818152600160205260409081902093909355915190851690600080516020611a4c83398151915290610bbb9085815260200190565b60008183116112405782611242565b815b9392505050565b6001600160a01b03831660009081526003602052604081205460ff161561129157600e5461128a906001600160a01b03168561128585856113af565b611450565b905061129f565b61129c8484846114e4565b90505b80156112f85730600090815260016020526040812080548392906112c490849061193b565b909155505060405181815230906001600160a01b03861690600080516020611a4c8339815191529060200160405180910390a35b6001600160a01b03841660009081526001602052604090205461131b90836113af565b6001600160a01b03851660009081526001602052604090205561136061134183836113af565b6001600160a01b038516600090815260016020526040902054906113f1565b6001600160a01b038085166000818152600160205260409020929092558516600080516020611a4c83398151915261139885856113af565b60405190815260200160405180910390a350505050565b600061124283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610faf565b6000806113fe838561193b565b9050838110156112425760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104f3565b6010546000908190600160b01b900460ff16801561146c575060015b156114dc576001600160a01b0384166000908152600160205260408120805485929061149990849061193b565b92505081905550836001600160a01b0316856001600160a01b0316600080516020611a4c833981519152836040516114d391815260200190565b60405180910390a35b949350505050565b600080600090506115176064611511600854600a54116115065760065461150a565b6004545b8690611566565b906115e8565b6010549091506001600160a01b03858116911614801561154057506001600160a01b0385163014155b156114dc57610fe06064611511600954600a54116115605760075461150a565b60055486905b600082600003611578575060006103e6565b60006115848385611882565b9050826115918583611a01565b146112425760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104f3565b600061124283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250600081836116465760405162461bcd60e51b81526004016104f39190611653565b506000610fe08486611a01565b600060208083528351808285015260005b8181101561168057858101830151858201604001528201611664565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461087457600080fd5b600080604083850312156116c957600080fd5b82356116d4816116a1565b946020939093013593505050565b6000806000606084860312156116f757600080fd5b8335611702816116a1565b92506020840135611712816116a1565b929592945050506040919091013590565b60006020828403121561173557600080fd5b8135611242816116a1565b6000806040838503121561175357600080fd5b823561175e816116a1565b9150602083013561176e816116a1565b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156117ca5781600019048211156117b0576117b0611779565b808516156117bd57918102915b93841c9390800290611794565b509250929050565b6000826117e1575060016103e6565b816117ee575060006103e6565b8160018114611804576002811461180e5761182a565b60019150506103e6565b60ff84111561181f5761181f611779565b50506001821b6103e6565b5060208310610133831016604e8410600b841016171561184d575081810a6103e6565b611857838361178f565b806000190482111561186b5761186b611779565b029392505050565b600061124260ff8416836117d2565b80820281158282048414176103e6576103e6611779565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156118e057600080fd5b8151611242816116a1565b60008060006060848603121561190057600080fd5b8351925060208401519150604084015190509250925092565b60006020828403121561192b57600080fd5b8151801515811461124257600080fd5b808201808211156103e6576103e6611779565b60006001820161196057611960611779565b5060010190565b818103818111156103e6576103e6611779565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156119e05784516001600160a01b0316835293830193918301916001016119bb565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611a1e57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212207d77856a02a3b44cbe06d13bb9c2253e8cadfe482ee313a7d055c59ac660adec64736f6c63430008130033