Overview ERC20
PRICE
$0.041524

ON-CHAIN MARKET CAP n/a

Total Supply:
150,000,000.00 DONKE

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


Decimals:
8
Contract Source Code Verified (Partial Match)
Contract Name:
DonkeBase

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Created At:
Fri, 07 Jun 2024 01:17:01 GMT
DonkeBase.sol
DonkeBase.sol
DonkeBase.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
60806040526006805460ff199081169091555f600781905560088054909216825560126009556010600a8181556001600b819055600c819055600d556032600e55601e600f559190556100529190610319565b61005f9062337f9861032e565b60115561006e6008600a610319565b61007b906244aa2061032e565b60125561008a6008600a610319565b610094905f61032e565b6013556100a36008600a610319565b6100b090620b71b061032e565b6014556016805461ffff60a81b191690553480156100cc575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060068054610100600160a81b03191661010033021790556101306008600a610319565b61013e906308f0d18061032e565b335f9081526001602081905260408220929092556003906101665f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff19968716179055308152600390935281832080548516600190811790915560065461010090049091168352912080549092161790556101c83390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101ff6008600a610319565b61020d906308f0d18061032e565b60405190815260200160405180910390a3610345565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561027157815f190482111561025757610257610223565b8085161561026457918102915b93841c939080029061023c565b509250929050565b5f8261028757506001610313565b8161029357505f610313565b81600181146102a957600281146102b3576102cf565b6001915050610313565b60ff8411156102c4576102c4610223565b50506001821b610313565b5060208310610133831016604e8410600b84101617156102f2575081810a610313565b6102fc8383610237565b805f190482111561030f5761030f610223565b0290505b92915050565b5f61032760ff841683610279565b9392505050565b808202811582820484141761031357610313610223565b611a13806103525f395ff3fe608060405260043610610113575f3560e01c8063751039fc1161009d578063a9059cbb11610062578063a9059cbb146102ec578063bf474bed1461030b578063c876d0b914610320578063c9567bf914610339578063dd62ed3e1461034d575f80fd5b8063751039fc1461025b5780637d1db4a51461026f5780638da5cb5b146102845780638f9a55c0146102aa57806395d89b41146102bf575f80fd5b806323b872dd116100e357806323b872dd146101c3578063313ce567146101e257806351bc3c85146101fd57806370a0823114610213578063715018a614610247575f80fd5b806306fdde031461011e578063095ea7b31461015d5780630faee56f1461018c57806318160ddd146101af575f80fd5b3661011a57005b5f80fd5b348015610129575f80fd5b50604080518082019091526005815264446f6e6b6560d81b60208201525b604051610154919061161a565b60405180910390f35b348015610168575f80fd5b5061017c610177366004611666565b610391565b6040519015158152602001610154565b348015610197575f80fd5b506101a160145481565b604051908152602001610154565b3480156101ba575f80fd5b506101a16103a7565b3480156101ce575f80fd5b5061017c6101dd366004611690565b6103c7565b3480156101ed575f80fd5b5060405160088152602001610154565b348015610208575f80fd5b5061021161042e565b005b34801561021e575f80fd5b506101a161022d3660046116ce565b6001600160a01b03165f9081526001602052604090205490565b348015610252575f80fd5b50610211610484565b348015610266575f80fd5b506102116104fe565b34801561027a575f80fd5b506101a160115481565b34801561028f575f80fd5b505f546040516001600160a01b039091168152602001610154565b3480156102b5575f80fd5b506101a160125481565b3480156102ca575f80fd5b50604080518082019091526005815264444f4e4b4560d81b6020820152610147565b3480156102f7575f80fd5b5061017c610306366004611666565b6105b9565b348015610316575f80fd5b506101a160135481565b34801561032b575f80fd5b5060065461017c9060ff1681565b348015610344575f80fd5b506102116105c5565b348015610358575f80fd5b506101a16103673660046116e9565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f61039d338484610a88565b5060015b92915050565b5f6103b46008600a611814565b6103c2906308f0d180611822565b905090565b5f6103d3848484610bab565b610424843361041f856040518060600160405280602881526020016119b6602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190611279565b610a88565b5060019392505050565b60065461010090046001600160a01b0316336001600160a01b031614610452575f80fd5b305f90815260016020526040902054801561047057610470816112b1565b478015610480576104808161143a565b5050565b5f546001600160a01b031633146104b65760405162461bcd60e51b81526004016104ad90611839565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b031633146105275760405162461bcd60e51b81526004016104ad90611839565b6105336008600a611814565b610541906308f0d180611822565b6011556105506008600a611814565b61055e906308f0d180611822565b6012556006805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105986008600a611814565b6105a6906308f0d180611822565b60405190815260200160405180910390a1565b5f61039d338484610bab565b5f546001600160a01b031633146105ee5760405162461bcd60e51b81526004016104ad90611839565b601654600160a01b900460ff16156106485760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016104ad565b601580546001600160a01b031916734752ba5dbc23f44d87826276bf6fd6b1c372ad249081179091556106919030906106836008600a611814565b61041f906308f0d180611822565b6015546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa1580156106d8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106fc919061186e565b9050806001600160a01b031663e6a439053060155f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561075e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610782919061186e565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa1580156107cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107ef919061186e565b601680546001600160a01b0319166001600160a01b0392909216918217905561092557806001600160a01b031663c9c653963060155f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610872573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610896919061186e565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156108e0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610904919061186e565b601680546001600160a01b0319166001600160a01b03929092169190911790555b6015546001600160a01b031663f305d7194730610956816001600160a01b03165f9081526001602052604090205490565b5f806109695f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156109cf573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906109f49190611889565b505060165460155460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610a49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6d91906118b4565b50506016805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b038316610aea5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104ad565b6001600160a01b038216610b4b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104ad565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c0f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104ad565b6001600160a01b038216610c715760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104ad565b5f8111610cd25760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016104ad565b5f6001610ce65f546001600160a01b031690565b6001600160a01b0316856001600160a01b031614158015610d1457505f546001600160a01b03858116911614155b1561113b57610d4c6064610d46601660149054906101000a900460ff16610d3d57600954610d3f565b5f5b8690611475565b906114fa565b60065490925060ff1615610e06576015546001600160a01b03858116911614801590610d8657506016546001600160a01b03858116911614155b15610e0657325f908152600560205260409020544311610df45760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206f6e65207472616e736665722070657220626c6f636b20616c6c6f6044820152633bb2b21760e11b60648201526084016104ad565b325f9081526005602052604090204390555b6016546001600160a01b038681169116148015610e3157506015546001600160a01b03858116911614155b8015610e5557506001600160a01b0384165f9081526003602052604090205460ff16155b15610f9257601154831115610ea85760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016104ad565b60125483610eca866001600160a01b03165f9081526001602052604090205490565b610ed491906118d3565b1115610f225760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e00000000000060448201526064016104ad565b600f546010541015610f3957833b15610f39575f80fd5b60108054905f610f48836118e6565b90915550506001600160a01b0384165f908152600460205260409020429055600d54601054610f8f91606491610d469110610f8557600954610d3f565b600b548690611475565b91505b6016546001600160a01b038581169116148015610fb857506001600160a01b0385163014155b156110905760115483111561100b5760405162461bcd60e51b815260206004820152601960248201527822bc31b2b2b239903a3432902fb6b0bc2a3c20b6b7bab73a1760391b60448201526064016104ad565b6110306064610d46600e546010541161102657600a54610d3f565b600c548690611475565b6001600160a01b0386165f9081526004602052604090205490925042148061106d57506001600160a01b0385165f90815260046020526040902054155b1561107557505f5b60085460ff168015611088575043600754145b1561109057505f5b305f90815260016020526040902054601654600160a81b900460ff161580156110c657506016546001600160a01b038681169116145b80156110db5750601654600160b01b900460ff165b80156110e8575060135481115b80156110f75750600f54601054115b80156111005750815b156111395761112261111d856111188460145461153b565b61153b565b6112b1565b478015611137576111324761143a565b436007555b505b505b81156111b357305f9081526001602052604090205461115a908361154f565b305f81815260016020526040908190209290925590516001600160a01b038716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906111aa9086815260200190565b60405180910390a35b6001600160a01b0385165f908152600160205260409020546111d590846115ad565b6001600160a01b0386165f908152600160205260409020556112186111fa84846115ad565b6001600160a01b0386165f908152600160205260409020549061154f565b6001600160a01b038086165f8181526001602052604090209290925586167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61126186866115ad565b60405190815260200160405180910390a35050505050565b5f818484111561129c5760405162461bcd60e51b81526004016104ad919061161a565b505f6112a884866118fe565b95945050505050565b6016805460ff60a81b1916600160a81b179055801561142a57601654600160a01b900460ff161561142a576040805160028082526060820183525f9260208301908036833701905050905030815f8151811061130f5761130f611911565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611366573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061138a919061186e565b8160018151811061139d5761139d611911565b6001600160a01b0392831660209182029290920101526015546113c39130911684610a88565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac947906113fb9085905f90869030904290600401611925565b5f604051808303815f87803b158015611412575f80fd5b505af1158015611424573d5f803e3d5ffd5b50505050505b506016805460ff60a81b19169055565b6006546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f19350505050158015610480573d5f803e3d5ffd5b5f825f0361148457505f6103a1565b5f61148f8385611822565b90508261149c8583611996565b146114f35760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016104ad565b9392505050565b5f6114f383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115ee565b5f81831161154957826114f3565b50919050565b5f8061155b83856118d3565b9050838110156114f35760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016104ad565b5f6114f383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611279565b5f818361160e5760405162461bcd60e51b81526004016104ad919061161a565b505f6112a88486611996565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114611663575f80fd5b50565b5f8060408385031215611677575f80fd5b82356116828161164f565b946020939093013593505050565b5f805f606084860312156116a2575f80fd5b83356116ad8161164f565b925060208401356116bd8161164f565b929592945050506040919091013590565b5f602082840312156116de575f80fd5b81356114f38161164f565b5f80604083850312156116fa575f80fd5b82356117058161164f565b915060208301356117158161164f565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561176e57815f190482111561175457611754611720565b8085161561176157918102915b93841c9390800290611739565b509250929050565b5f82611784575060016103a1565b8161179057505f6103a1565b81600181146117a657600281146117b0576117cc565b60019150506103a1565b60ff8411156117c1576117c1611720565b50506001821b6103a1565b5060208310610133831016604e8410600b84101617156117ef575081810a6103a1565b6117f98383611734565b805f190482111561180c5761180c611720565b029392505050565b5f6114f360ff841683611776565b80820281158282048414176103a1576103a1611720565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f6020828403121561187e575f80fd5b81516114f38161164f565b5f805f6060848603121561189b575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156118c4575f80fd5b815180151581146114f3575f80fd5b808201808211156103a1576103a1611720565b5f600182016118f7576118f7611720565b5060010190565b818103818111156103a1576103a1611720565b634e487b7160e01b5f52603260045260245ffd5b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156119755784516001600160a01b031683529383019391830191600101611950565b50506001600160a01b03969096166060850152505050608001529392505050565b5f826119b057634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122002df7fcc78420d29c5d89a58343e385e4a4b002f10e191ee43fd7c7f077a426f64736f6c63430008190033