Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
62,890 $SNOOZE
Holders
153
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SnoozeToken
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.16; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; /* ,-,--. .-._ _,.---._ _,.---._ ,----. ,-.'- _\/==/ \ .-._ ,-.' , - `. ,-.' , - `. ,--,----. ,-.--` , \ /==/_ ,_.'|==|, \/ /, /==/_, , - \ /==/_, , - \ /==/` - ./|==|- _.-` \==\ \ |==|- \| |==| .=. |==| .=. |`--`=/. / |==| `.-. \==\ -\ |==| , | -|==|_ : ;=: - |==|_ : ;=: - | /==/- / /==/_ , / _\==\ ,\ |==| - _ |==| , '=' |==| , '=' |/==/- /-.|==| .-' /==/\/ _ ||==| /\ , |\==\ - ,_ / \==\ - ,_ //==/, `--`\==|_ ,`-._ \==\ - , //==/, | |- | '.='. - .' '.='. - .' \==\- -, /==/ , / `--`---' `--`./ `--` `--`--'' `--`--'' `--`.-.--`--`-----`` */ contract SnoozeToken is ERC20, Ownable, Pausable, ReentrancyGuard { address public alwaysTired = address(0); uint256 public booster = 1; uint256 public mintReward = 100; uint256 public interval = 86400; uint256 public intervalReward = 10; uint256 public listPrice = 0; uint256 public whitelistReward = 0; address[] public list; bytes32 public whitelistRoot; mapping(address => uint256) public discord; mapping(address => uint256) public transfer; mapping(address => uint256) public count; mapping(address => uint256) public stash; mapping(address => bool) public whitelist; modifier onlyAlwaysTired() { require( msg.sender != address(0) && msg.sender == alwaysTired, "Must be AlwaysTired" ); _; } constructor(address _alwaysTired) ERC20("SnoozeToken", "$SNOOZE") { alwaysTired = _alwaysTired; _pause(); } function decimals() public view virtual override returns (uint8) { return 0; } function pause() external onlyOwner whenNotPaused { _pause(); } function unpause() external onlyOwner whenPaused { _unpause(); } function setAlwaysTired(address _alwaysTired) external onlyOwner { require(_alwaysTired != address(0), "Invalid address"); alwaysTired = _alwaysTired; } function setMintReward(uint256 _mintReward) external onlyOwner { mintReward = _mintReward; } function setIntervalReward(uint256 _intervalReward) external onlyOwner { intervalReward = _intervalReward; } function setBooster(uint256 _booster) external onlyOwner { booster = _booster; } function setDiscord( address[] calldata _addresses, uint256[] calldata _amounts ) external onlyOwner { require(_addresses.length == _amounts.length, "Invalid length"); unchecked { for (uint256 i = 0; i < _addresses.length; i++) { discord[_addresses[i]] = _amounts[i]; } } } function setListPrice(uint256 _listPrice) external onlyOwner { listPrice = _listPrice; } function getListLength() public view returns (uint256) { return list.length; } function setWhitelistRoot(bytes32 _whitelistRoot) external onlyOwner { whitelistRoot = _whitelistRoot; } function setWhitelistReward(uint256 _whitelistReward) external onlyOwner { whitelistReward = _whitelistReward; } // TODO: test function setWhitelist(address[] calldata _addresses, bool _claimed) external onlyOwner { unchecked { for (uint256 i = 0; i < _addresses.length; i++) { whitelist[_addresses[i]] = _claimed; } } } function clearList() external onlyOwner { delete list; } function updateRewards( address _from, address _to, uint256 _quantity ) external onlyAlwaysTired { unchecked { uint256 timestamp = block.timestamp; bool isMint = _from == address(0); // transfer from if (_from != address(0)) { uint256 countFrom = count[_from]; _updateStash(_from, countFrom, timestamp, isMint, _quantity); count[_from] = countFrom - _quantity; transfer[_from] = timestamp; } // mint to / transfer to uint256 countTo = count[_to]; _updateStash(_to, countTo, timestamp, isMint, _quantity); count[_to] = countTo + _quantity; transfer[_to] = timestamp; } } function _updateStash( address _address, uint256 _count, uint256 _timestamp, bool _isMint, uint256 _quantity ) internal { unchecked { uint256 stash_ = 0; if (_isMint) { stash_ += mintReward * _quantity; } uint256 transfer_ = transfer[_address]; if (_count > 0 && transfer_ > 0) { uint256 factor = (_timestamp - transfer_) / interval; stash_ += _count * intervalReward * booster * factor; } stash[_address] += stash_; } } function airdrop(address[] calldata _addresses, uint256 _amount) external onlyOwner nonReentrant { require(_amount > 0, "Invalid amount"); for (uint16 i = 0; i < _addresses.length; ) { require(_addresses[i] != address(0), "Invalid address"); _mint(_addresses[i], _amount); unchecked { i++; } } } function available() external view whenNotPaused returns (uint256) { uint256 count_ = count[msg.sender]; require(count_ > 0, "Must be Holder"); uint256 timestamp = block.timestamp; uint256 transfer_ = transfer[msg.sender]; uint256 amount = 0; unchecked { uint256 factor = (timestamp - transfer_) / interval; amount = count_ * intervalReward * booster * factor + stash[msg.sender]; } return amount; } function claim() external whenNotPaused nonReentrant { uint256 count_ = count[msg.sender]; require(count_ > 0, "Must be Holder"); uint256 timestamp = block.timestamp; uint256 transfer_ = transfer[msg.sender]; uint256 amount = 0; unchecked { uint256 factor = (timestamp - transfer_) / interval; amount = count_ * intervalReward * booster * factor + stash[msg.sender]; } require(amount > 0, "No Snooze to claim"); _mint(msg.sender, amount); transfer[msg.sender] = timestamp; delete stash[msg.sender]; } function exchange() external whenNotPaused nonReentrant { uint256 count_ = count[msg.sender]; require(count_ > 0, "Must be Holder"); uint256 amount = discord[msg.sender]; require(amount > 0, "No Snooze to exchange"); _mint(msg.sender, amount); delete discord[msg.sender]; } function spend(uint256 _amount) external whenNotPaused nonReentrant { uint256 count_ = count[msg.sender]; require(count_ > 0, "Must be Holder"); _burn(msg.sender, _amount); } function joinList(uint256 _amount) external whenNotPaused nonReentrant { uint256 count_ = count[msg.sender]; require(count_ > 0, "Must be Holder"); require(_amount >= listPrice, "Insufficient amount to join list"); _burn(msg.sender, _amount); list.push(msg.sender); } function claimWhitelist(bytes32[] calldata _whitelistProof) external whenNotPaused nonReentrant { uint256 count_ = count[msg.sender]; require(count_ > 0, "Must be Holder"); require( MerkleProof.verify( _whitelistProof, whitelistRoot, keccak256(abi.encodePacked(msg.sender)) ), "Not on whitelist" ); require(!whitelist[msg.sender], "No Snooze to claim"); _mint(msg.sender, whitelistReward); whitelist[msg.sender] = true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ 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); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // 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; } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_alwaysTired","type":"address"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":[],"name":"alwaysTired","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"available","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"booster","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_whitelistProof","type":"bytes32[]"}],"name":"claimWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"count","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"discord","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getListLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"interval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"intervalReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"joinList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"list","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"listPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_alwaysTired","type":"address"}],"name":"setAlwaysTired","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_booster","type":"uint256"}],"name":"setBooster","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"setDiscord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_intervalReward","type":"uint256"}],"name":"setIntervalReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_listPrice","type":"uint256"}],"name":"setListPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintReward","type":"uint256"}],"name":"setMintReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"bool","name":"_claimed","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelistReward","type":"uint256"}],"name":"setWhitelistReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"spend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"","type":"address"}],"name":"transfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"updateRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600780546001600160a01b03191690556001600855606460095562015180600a908155600b556000600c819055600d553480156200004157600080fd5b506040516200277838038062002778833981016040819052620000649162000237565b6040518060400160405280600b81526020016a29b737b7bd32aa37b5b2b760a91b8152506040518060400160405280600781526020016624534e4f4f5a4560c81b8152508160039081620000b991906200030e565b506004620000c882826200030e565b505050620000e5620000df6200012360201b60201c565b62000127565b6005805460ff60a01b191690556001600655600780546001600160a01b0319166001600160a01b0383161790556200011c62000179565b50620003da565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000183620001dc565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620001bf3390565b6040516001600160a01b03909116815260200160405180910390a1565b620001f0600554600160a01b900460ff1690565b15620002355760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b565b6000602082840312156200024a57600080fd5b81516001600160a01b03811681146200026257600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200029457607f821691505b602082108103620002b557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200030957600081815260208120601f850160051c81016020861015620002e45750805b601f850160051c820191505b818110156200030557828155600101620002f0565b5050505b505050565b81516001600160401b038111156200032a576200032a62000269565b62000342816200033b84546200027f565b84620002bb565b602080601f8311600181146200037a5760008415620003615750858301515b600019600386901b1c1916600185901b17855562000305565b600085815260208120601f198616915b82811015620003ab578886015182559484019460019091019084016200038a565b5085821015620003ca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61238e80620003ea6000396000f3fe608060405234801561001057600080fd5b50600436106103365760003560e01c8063715018a6116101b2578063b65c531b116100f9578063d4ddc588116100a2578063f2fde38b1161007c578063f2fde38b146106a9578063f5aa406d146106bc578063fd436831146106cf578063fe7d5bbb146106e257600080fd5b8063d4ddc58814610655578063dd62ed3e1461065d578063f2e560991461069657600080fd5b8063c6def076116100d3578063c6def07614610631578063d2afabf71461063a578063d2f7265a1461064d57600080fd5b8063b65c531b14610603578063be4530331461060b578063c204642c1461061e57600080fd5b806395d89b411161015b578063a457c2d711610135578063a457c2d7146105ca578063a9059cbb146105dd578063aa85d860146105f057600080fd5b806395d89b411461057f5780639b19251a14610587578063a42d6bae146105aa57600080fd5b80638456cb591161018c5780638456cb591461055d5780638da5cb5b14610565578063947a36fb1461057657600080fd5b8063715018a61461051757806380c9419e1461051f57806380e801ba1461054a57600080fd5b8063386bfc981161028157806358019e631161022a57806366db59251161020457806366db5925146104c95780636d9e9139146104dc5780636eb588d9146104e557806370a08231146104ee57600080fd5b806358019e631461049b5780635c975abb146104a457806361ee09aa146104b657600080fd5b80633f4ba83a1161025b5780633f4ba83a1461048357806348a0d7541461048b5780634e71d92d1461049357600080fd5b8063386bfc9814610454578063395093511461045d5780633c271a051461047057600080fd5b806318160ddd116102e35780631dbf3bc7116102bd5780631dbf3bc71461041f57806323b872dd14610432578063313ce5671461044557600080fd5b806318160ddd146103d75780631a695230146103df5780631d0504a8146103ff57600080fd5b80630f0b4199116103145780630f0b4199146103a6578063138195c3146103bb578063174f57af146103ce57600080fd5b806305d85eda1461033b57806306fdde031461036e578063095ea7b314610383575b600080fd5b61035b610349366004611fe0565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b6103766106f5565b6040516103659190611ffb565b610396610391366004612049565b610787565b6040519015158152602001610365565b6103b96103b4366004612073565b6107a1565b005b6103b96103c93660046120d8565b610906565b61035b60095481565b60025461035b565b61035b6103ed366004611fe0565b60116020526000908152604090205481565b61035b61040d366004611fe0565b60136020526000908152604090205481565b6103b961042d366004612073565b6109d5565b610396610440366004612144565b610a95565b60405160008152602001610365565b61035b600f5481565b61039661046b366004612049565b610ab9565b6103b961047e366004612180565b610af8565b6103b9610b6d565b61035b610b87565b6103b9610c34565b61035b600d5481565b600554600160a01b900460ff16610396565b6103b96104c43660046121dc565b610dad565b6103b96104d7366004612073565b610fac565b61035b600b5481565b61035b600c5481565b61035b6104fc366004611fe0565b6001600160a01b031660009081526020819052604090205490565b6103b9610fb9565b61053261052d366004612073565b610fcb565b6040516001600160a01b039091168152602001610365565b6103b9610558366004612073565b610ff5565b6103b9611002565b6005546001600160a01b0316610532565b61035b600a5481565b61037661101a565b610396610595366004611fe0565b60146020526000908152604090205460ff1681565b61035b6105b8366004611fe0565b60106020526000908152604090205481565b6103966105d8366004612049565b611029565b6103966105eb366004612049565b6110d3565b600754610532906001600160a01b031681565b600e5461035b565b6103b9610619366004611fe0565b6110e1565b6103b961062c36600461221e565b61116e565b61035b60085481565b6103b9610648366004612073565b6112f3565b6103b9611300565b6103b961142d565b61035b61066b36600461226a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103b96106a4366004612073565b611441565b6103b96106b7366004611fe0565b61144e565b6103b96106ca366004612073565b6114de565b6103b96106dd366004612144565b6114eb565b6103b96106f0366004612073565b611607565b6060600380546107049061229d565b80601f01602080910402602001604051908101604052809291908181526020018280546107309061229d565b801561077d5780601f106107525761010080835404028352916020019161077d565b820191906000526020600020905b81548152906001019060200180831161076057829003601f168201915b5050505050905090565b600033610795818585611614565b60019150505b92915050565b6107a961176d565b6002600654036108005760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260065533600090815260126020526040902054806108535760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b600c548210156108a55760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e7420616d6f756e7420746f206a6f696e206c69737460448201526064016107f7565b6108af33836117c7565b5050600e8054600181810183556000929092527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd01805473ffffffffffffffffffffffffffffffffffffffff191633179055600655565b61090e611944565b82811461095d5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c6964206c656e67746800000000000000000000000000000000000060448201526064016107f7565b60005b838110156109ce5782828281811061097a5761097a6122d7565b9050602002013560106000878785818110610997576109976122d7565b90506020020160208101906109ac9190611fe0565b6001600160a01b03168152602081019190915260400160002055600101610960565b5050505050565b6109dd61176d565b600260065403610a2f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b60026006553360009081526012602052604090205480610a825760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b610a8c33836117c7565b50506001600655565b600033610aa385828561199e565b610aae858585611a2a565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906107959082908690610af3908790612303565b611614565b610b00611944565b60005b82811015610b67578160146000868685818110610b2257610b226122d7565b9050602002016020810190610b379190611fe0565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610b03565b50505050565b610b75611944565b610b7d611c41565b610b85611c9a565b565b6000610b9161176d565b3360009081526012602052604090205480610bdf5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b33600090815260116020526040812054600a54429290819083850381610c0757610c07612316565b33600090815260136020526040902054600854600b54989098029097029190040290940194505050505090565b610c3c61176d565b600260065403610c8e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b60026006553360009081526012602052604090205480610ce15760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b33600090815260116020526040812054600a54429290819083850381610d0957610d09612316565b33600090815260136020526040902054600854600b5489020292909104919091020191505080610d7b5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d000000000000000000000000000060448201526064016107f7565b610d853382611cef565b5050336000908152601160209081526040808320939093556013905290812055506001600655565b610db561176d565b600260065403610e075760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b60026006553360009081526012602052604090205480610e5a5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b610ecf83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611dce565b610f1b5760405162461bcd60e51b815260206004820152601060248201527f4e6f74206f6e2077686974656c6973740000000000000000000000000000000060448201526064016107f7565b3360009081526014602052604090205460ff1615610f7b5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d000000000000000000000000000060448201526064016107f7565b610f8733600d54611cef565b5050336000908152601460205260409020805460ff1916600190811790915560065550565b610fb4611944565b600d55565b610fc1611944565b610b856000611de4565b600e8181548110610fdb57600080fd5b6000918252602090912001546001600160a01b0316905081565b610ffd611944565b600955565b61100a611944565b61101261176d565b610b85611e43565b6060600480546107049061229d565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156110c65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016107f7565b610aae8286868403611614565b600033610795818585611a2a565b6110e9611944565b6001600160a01b03811661113f5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c69642061646472657373000000000000000000000000000000000060448201526064016107f7565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b611176611944565b6002600654036111c85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b60026006558061121a5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e7400000000000000000000000000000000000060448201526064016107f7565b60005b61ffff81168311156112e8576000848461ffff8416818110611241576112416122d7565b90506020020160208101906112569190611fe0565b6001600160a01b0316036112ac5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c69642061646472657373000000000000000000000000000000000060448201526064016107f7565b6112e084848361ffff168181106112c5576112c56122d7565b90506020020160208101906112da9190611fe0565b83611cef565b60010161121d565b505060016006555050565b6112fb611944565b600b55565b61130861176d565b60026006540361135a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b600260065533600090815260126020526040902054806113ad5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b336000908152601060205260409020548061140a5760405162461bcd60e51b815260206004820152601560248201527f4e6f20536e6f6f7a6520746f2065786368616e6765000000000000000000000060448201526064016107f7565b6114143382611cef565b5050336000908152601060205260408120556001600655565b611435611944565b610b85600e6000611f92565b611449611944565b600855565b611456611944565b6001600160a01b0381166114d25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107f7565b6114db81611de4565b50565b6114e6611944565b600f55565b331580159061150457506007546001600160a01b031633145b6115505760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520416c7761797354697265640000000000000000000000000060448201526064016107f7565b426001600160a01b03841615806115b2576001600160a01b0385166000908152601260205260409020546115878682858588611e86565b6001600160a01b03861660009081526012602090815260408083209387900390935560119052208290555b6001600160a01b0384166000908152601260205260409020546115d88582858588611e86565b6001600160a01b0390941660009081526012602090815260408083209690950190955560119094525091205550565b61160f611944565b600c55565b6001600160a01b03831661168f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b03821661170b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600554600160a01b900460ff1615610b855760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107f7565b6001600160a01b0382166118435760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b038216600090815260208190526040902054818110156118d25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b038316600090815260208190526040812083830390556002805484929061190190849061232c565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611760565b6005546001600160a01b03163314610b855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f7565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610b675781811015611a1d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107f7565b610b678484848403611614565b6001600160a01b038316611aa65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b038216611b225760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b03831660009081526020819052604090205481811015611bb15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611be8908490612303565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c3491815260200190565b60405180910390a3610b67565b600554600160a01b900460ff16610b855760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016107f7565b611ca2611c41565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611d455760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107f7565b8060026000828254611d579190612303565b90915550506001600160a01b03821660009081526020819052604081208054839290611d84908490612303565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600082611ddb8584611f13565b14949350505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e4b61176d565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611cd23390565b60008215611e95576009548202015b6001600160a01b0386166000908152601160205260409020548515801590611ebd5750600081115b15611eeb576000600a5482870381611ed757611ed7612316565b04905080600854600b548902020283019250505b506001600160a01b039095166000908152601360205260409020805490950190945550505050565b600081815b8451811015611f5857611f4482868381518110611f3757611f376122d7565b6020026020010151611f60565b915080611f508161233f565b915050611f18565b509392505050565b6000818310611f7c576000828152602084905260409020611f8b565b60008381526020839052604090205b9392505050565b50805460008255906000526020600020908101906114db91905b80821115611fc05760008155600101611fac565b5090565b80356001600160a01b0381168114611fdb57600080fd5b919050565b600060208284031215611ff257600080fd5b611f8b82611fc4565b600060208083528351808285015260005b818110156120285785810183015185820160400152820161200c565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561205c57600080fd5b61206583611fc4565b946020939093013593505050565b60006020828403121561208557600080fd5b5035919050565b60008083601f84011261209e57600080fd5b50813567ffffffffffffffff8111156120b657600080fd5b6020830191508360208260051b85010111156120d157600080fd5b9250929050565b600080600080604085870312156120ee57600080fd5b843567ffffffffffffffff8082111561210657600080fd5b6121128883890161208c565b9096509450602087013591508082111561212b57600080fd5b506121388782880161208c565b95989497509550505050565b60008060006060848603121561215957600080fd5b61216284611fc4565b925061217060208501611fc4565b9150604084013590509250925092565b60008060006040848603121561219557600080fd5b833567ffffffffffffffff8111156121ac57600080fd5b6121b88682870161208c565b909450925050602084013580151581146121d157600080fd5b809150509250925092565b600080602083850312156121ef57600080fd5b823567ffffffffffffffff81111561220657600080fd5b6122128582860161208c565b90969095509350505050565b60008060006040848603121561223357600080fd5b833567ffffffffffffffff81111561224a57600080fd5b6122568682870161208c565b909790965060209590950135949350505050565b6000806040838503121561227d57600080fd5b61228683611fc4565b915061229460208401611fc4565b90509250929050565b600181811c908216806122b157607f821691505b6020821081036122d157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561079b5761079b6122ed565b634e487b7160e01b600052601260045260246000fd5b8181038181111561079b5761079b6122ed565b600060018201612351576123516122ed565b506001019056fea2646970667358221220dff19d6e002d0dbb3bcf61fd4c6cdcad69017194288e3523a96e55e5b333720b64736f6c634300081000330000000000000000000000003ccbd9c381742c04d81332b5db461951672f6a99
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103365760003560e01c8063715018a6116101b2578063b65c531b116100f9578063d4ddc588116100a2578063f2fde38b1161007c578063f2fde38b146106a9578063f5aa406d146106bc578063fd436831146106cf578063fe7d5bbb146106e257600080fd5b8063d4ddc58814610655578063dd62ed3e1461065d578063f2e560991461069657600080fd5b8063c6def076116100d3578063c6def07614610631578063d2afabf71461063a578063d2f7265a1461064d57600080fd5b8063b65c531b14610603578063be4530331461060b578063c204642c1461061e57600080fd5b806395d89b411161015b578063a457c2d711610135578063a457c2d7146105ca578063a9059cbb146105dd578063aa85d860146105f057600080fd5b806395d89b411461057f5780639b19251a14610587578063a42d6bae146105aa57600080fd5b80638456cb591161018c5780638456cb591461055d5780638da5cb5b14610565578063947a36fb1461057657600080fd5b8063715018a61461051757806380c9419e1461051f57806380e801ba1461054a57600080fd5b8063386bfc981161028157806358019e631161022a57806366db59251161020457806366db5925146104c95780636d9e9139146104dc5780636eb588d9146104e557806370a08231146104ee57600080fd5b806358019e631461049b5780635c975abb146104a457806361ee09aa146104b657600080fd5b80633f4ba83a1161025b5780633f4ba83a1461048357806348a0d7541461048b5780634e71d92d1461049357600080fd5b8063386bfc9814610454578063395093511461045d5780633c271a051461047057600080fd5b806318160ddd116102e35780631dbf3bc7116102bd5780631dbf3bc71461041f57806323b872dd14610432578063313ce5671461044557600080fd5b806318160ddd146103d75780631a695230146103df5780631d0504a8146103ff57600080fd5b80630f0b4199116103145780630f0b4199146103a6578063138195c3146103bb578063174f57af146103ce57600080fd5b806305d85eda1461033b57806306fdde031461036e578063095ea7b314610383575b600080fd5b61035b610349366004611fe0565b60126020526000908152604090205481565b6040519081526020015b60405180910390f35b6103766106f5565b6040516103659190611ffb565b610396610391366004612049565b610787565b6040519015158152602001610365565b6103b96103b4366004612073565b6107a1565b005b6103b96103c93660046120d8565b610906565b61035b60095481565b60025461035b565b61035b6103ed366004611fe0565b60116020526000908152604090205481565b61035b61040d366004611fe0565b60136020526000908152604090205481565b6103b961042d366004612073565b6109d5565b610396610440366004612144565b610a95565b60405160008152602001610365565b61035b600f5481565b61039661046b366004612049565b610ab9565b6103b961047e366004612180565b610af8565b6103b9610b6d565b61035b610b87565b6103b9610c34565b61035b600d5481565b600554600160a01b900460ff16610396565b6103b96104c43660046121dc565b610dad565b6103b96104d7366004612073565b610fac565b61035b600b5481565b61035b600c5481565b61035b6104fc366004611fe0565b6001600160a01b031660009081526020819052604090205490565b6103b9610fb9565b61053261052d366004612073565b610fcb565b6040516001600160a01b039091168152602001610365565b6103b9610558366004612073565b610ff5565b6103b9611002565b6005546001600160a01b0316610532565b61035b600a5481565b61037661101a565b610396610595366004611fe0565b60146020526000908152604090205460ff1681565b61035b6105b8366004611fe0565b60106020526000908152604090205481565b6103966105d8366004612049565b611029565b6103966105eb366004612049565b6110d3565b600754610532906001600160a01b031681565b600e5461035b565b6103b9610619366004611fe0565b6110e1565b6103b961062c36600461221e565b61116e565b61035b60085481565b6103b9610648366004612073565b6112f3565b6103b9611300565b6103b961142d565b61035b61066b36600461226a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103b96106a4366004612073565b611441565b6103b96106b7366004611fe0565b61144e565b6103b96106ca366004612073565b6114de565b6103b96106dd366004612144565b6114eb565b6103b96106f0366004612073565b611607565b6060600380546107049061229d565b80601f01602080910402602001604051908101604052809291908181526020018280546107309061229d565b801561077d5780601f106107525761010080835404028352916020019161077d565b820191906000526020600020905b81548152906001019060200180831161076057829003601f168201915b5050505050905090565b600033610795818585611614565b60019150505b92915050565b6107a961176d565b6002600654036108005760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260065533600090815260126020526040902054806108535760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b600c548210156108a55760405162461bcd60e51b815260206004820181905260248201527f496e73756666696369656e7420616d6f756e7420746f206a6f696e206c69737460448201526064016107f7565b6108af33836117c7565b5050600e8054600181810183556000929092527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd01805473ffffffffffffffffffffffffffffffffffffffff191633179055600655565b61090e611944565b82811461095d5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c6964206c656e67746800000000000000000000000000000000000060448201526064016107f7565b60005b838110156109ce5782828281811061097a5761097a6122d7565b9050602002013560106000878785818110610997576109976122d7565b90506020020160208101906109ac9190611fe0565b6001600160a01b03168152602081019190915260400160002055600101610960565b5050505050565b6109dd61176d565b600260065403610a2f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b60026006553360009081526012602052604090205480610a825760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b610a8c33836117c7565b50506001600655565b600033610aa385828561199e565b610aae858585611a2a565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906107959082908690610af3908790612303565b611614565b610b00611944565b60005b82811015610b67578160146000868685818110610b2257610b226122d7565b9050602002016020810190610b379190611fe0565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101610b03565b50505050565b610b75611944565b610b7d611c41565b610b85611c9a565b565b6000610b9161176d565b3360009081526012602052604090205480610bdf5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b33600090815260116020526040812054600a54429290819083850381610c0757610c07612316565b33600090815260136020526040902054600854600b54989098029097029190040290940194505050505090565b610c3c61176d565b600260065403610c8e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b60026006553360009081526012602052604090205480610ce15760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b33600090815260116020526040812054600a54429290819083850381610d0957610d09612316565b33600090815260136020526040902054600854600b5489020292909104919091020191505080610d7b5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d000000000000000000000000000060448201526064016107f7565b610d853382611cef565b5050336000908152601160209081526040808320939093556013905290812055506001600655565b610db561176d565b600260065403610e075760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b60026006553360009081526012602052604090205480610e5a5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b610ecf83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600f546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611dce565b610f1b5760405162461bcd60e51b815260206004820152601060248201527f4e6f74206f6e2077686974656c6973740000000000000000000000000000000060448201526064016107f7565b3360009081526014602052604090205460ff1615610f7b5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d000000000000000000000000000060448201526064016107f7565b610f8733600d54611cef565b5050336000908152601460205260409020805460ff1916600190811790915560065550565b610fb4611944565b600d55565b610fc1611944565b610b856000611de4565b600e8181548110610fdb57600080fd5b6000918252602090912001546001600160a01b0316905081565b610ffd611944565b600955565b61100a611944565b61101261176d565b610b85611e43565b6060600480546107049061229d565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156110c65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016107f7565b610aae8286868403611614565b600033610795818585611a2a565b6110e9611944565b6001600160a01b03811661113f5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c69642061646472657373000000000000000000000000000000000060448201526064016107f7565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b611176611944565b6002600654036111c85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b60026006558061121a5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e7400000000000000000000000000000000000060448201526064016107f7565b60005b61ffff81168311156112e8576000848461ffff8416818110611241576112416122d7565b90506020020160208101906112569190611fe0565b6001600160a01b0316036112ac5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c69642061646472657373000000000000000000000000000000000060448201526064016107f7565b6112e084848361ffff168181106112c5576112c56122d7565b90506020020160208101906112da9190611fe0565b83611cef565b60010161121d565b505060016006555050565b6112fb611944565b600b55565b61130861176d565b60026006540361135a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107f7565b600260065533600090815260126020526040902054806113ad5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b60448201526064016107f7565b336000908152601060205260409020548061140a5760405162461bcd60e51b815260206004820152601560248201527f4e6f20536e6f6f7a6520746f2065786368616e6765000000000000000000000060448201526064016107f7565b6114143382611cef565b5050336000908152601060205260408120556001600655565b611435611944565b610b85600e6000611f92565b611449611944565b600855565b611456611944565b6001600160a01b0381166114d25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107f7565b6114db81611de4565b50565b6114e6611944565b600f55565b331580159061150457506007546001600160a01b031633145b6115505760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520416c7761797354697265640000000000000000000000000060448201526064016107f7565b426001600160a01b03841615806115b2576001600160a01b0385166000908152601260205260409020546115878682858588611e86565b6001600160a01b03861660009081526012602090815260408083209387900390935560119052208290555b6001600160a01b0384166000908152601260205260409020546115d88582858588611e86565b6001600160a01b0390941660009081526012602090815260408083209690950190955560119094525091205550565b61160f611944565b600c55565b6001600160a01b03831661168f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b03821661170b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600554600160a01b900460ff1615610b855760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107f7565b6001600160a01b0382166118435760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b038216600090815260208190526040902054818110156118d25760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f636500000000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b038316600090815260208190526040812083830390556002805484929061190190849061232c565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611760565b6005546001600160a01b03163314610b855760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f7565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610b675781811015611a1d5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107f7565b610b678484848403611614565b6001600160a01b038316611aa65760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b038216611b225760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b03831660009081526020819052604090205481811015611bb15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016107f7565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611be8908490612303565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611c3491815260200190565b60405180910390a3610b67565b600554600160a01b900460ff16610b855760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016107f7565b611ca2611c41565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611d455760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107f7565b8060026000828254611d579190612303565b90915550506001600160a01b03821660009081526020819052604081208054839290611d84908490612303565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600082611ddb8584611f13565b14949350505050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e4b61176d565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611cd23390565b60008215611e95576009548202015b6001600160a01b0386166000908152601160205260409020548515801590611ebd5750600081115b15611eeb576000600a5482870381611ed757611ed7612316565b04905080600854600b548902020283019250505b506001600160a01b039095166000908152601360205260409020805490950190945550505050565b600081815b8451811015611f5857611f4482868381518110611f3757611f376122d7565b6020026020010151611f60565b915080611f508161233f565b915050611f18565b509392505050565b6000818310611f7c576000828152602084905260409020611f8b565b60008381526020839052604090205b9392505050565b50805460008255906000526020600020908101906114db91905b80821115611fc05760008155600101611fac565b5090565b80356001600160a01b0381168114611fdb57600080fd5b919050565b600060208284031215611ff257600080fd5b611f8b82611fc4565b600060208083528351808285015260005b818110156120285785810183015185820160400152820161200c565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561205c57600080fd5b61206583611fc4565b946020939093013593505050565b60006020828403121561208557600080fd5b5035919050565b60008083601f84011261209e57600080fd5b50813567ffffffffffffffff8111156120b657600080fd5b6020830191508360208260051b85010111156120d157600080fd5b9250929050565b600080600080604085870312156120ee57600080fd5b843567ffffffffffffffff8082111561210657600080fd5b6121128883890161208c565b9096509450602087013591508082111561212b57600080fd5b506121388782880161208c565b95989497509550505050565b60008060006060848603121561215957600080fd5b61216284611fc4565b925061217060208501611fc4565b9150604084013590509250925092565b60008060006040848603121561219557600080fd5b833567ffffffffffffffff8111156121ac57600080fd5b6121b88682870161208c565b909450925050602084013580151581146121d157600080fd5b809150509250925092565b600080602083850312156121ef57600080fd5b823567ffffffffffffffff81111561220657600080fd5b6122128582860161208c565b90969095509350505050565b60008060006040848603121561223357600080fd5b833567ffffffffffffffff81111561224a57600080fd5b6122568682870161208c565b909790965060209590950135949350505050565b6000806040838503121561227d57600080fd5b61228683611fc4565b915061229460208401611fc4565b90509250929050565b600181811c908216806122b157607f821691505b6020821081036122d157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561079b5761079b6122ed565b634e487b7160e01b600052601260045260246000fd5b8181038181111561079b5761079b6122ed565b600060018201612351576123516122ed565b506001019056fea2646970667358221220dff19d6e002d0dbb3bcf61fd4c6cdcad69017194288e3523a96e55e5b333720b64736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003ccbd9c381742c04d81332b5db461951672f6a99
-----Decoded View---------------
Arg [0] : _alwaysTired (address): 0x3CCBd9C381742c04D81332b5db461951672F6A99
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ccbd9c381742c04d81332b5db461951672f6a99
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.