ERC-20
Overview
Max Total Supply
90,713,852 $SNOOZE
Holders
339
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Balance
20,545 $SNOOZEValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SnoozeToken
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 1337 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.18; 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"; /* ,-,--. .-._ _,.---._ _,.---._ ,----. ,-.'- _\/==/ \ .-._ ,-.' , - `. ,-.' , - `. ,--,----. ,-.--` , \ /==/_ ,_.'|==|, \/ /, /==/_, , - \ /==/_, , - \ /==/` - ./|==|- _.-` \==\ \ |==|- \| |==| .=. |==| .=. |`--`=/. / |==| `.-. \==\ -\ |==| , | -|==|_ : ;=: - |==|_ : ;=: - | /==/- / /==/_ , / _\==\ ,\ |==| - _ |==| , '=' |==| , '=' |/==/- /-.|==| .-' /==/\/ _ ||==| /\ , |\==\ - ,_ / \==\ - ,_ //==/, `--`\==|_ ,`-._ \==\ - , //==/, | |- | '.='. - .' '.='. - .' \==\- -, /==/ , / `--`---' `--`./ `--` `--`--'' `--`--'' `--`.-.--`--`-----`` */ interface ILegacyToken { function balanceOf(address account) external view returns (uint256); function spend(uint256 amount) external; } interface IBoosterToken { function balanceOf(address account) external view returns (uint256); } contract SnoozeToken is ERC20, Ownable, Pausable, ReentrancyGuard { address public alwaysTired; ILegacyToken public legacyToken; IBoosterToken public boosterToken; uint256 public mintReward = 1000; uint256 public interval = 864; uint256 public intervalReward = 1; uint256 public boosterBalance = 1; uint256 public boosterMultiplier = 3000; uint256 public boosterDenominator = 2000; mapping(address => uint256) public transfers; mapping(address => uint256) public counts; mapping(address => uint256) public stashs; mapping(address => bool) public exchanges; address[] public exchangers; modifier onlyAlwaysTired() { require( msg.sender != address(0) && msg.sender == alwaysTired, "Must be AlwaysTired" ); _; } constructor( address _alwaysTired, address _legacyToken, address _boosterToken ) ERC20("SnoozeToken", "$SNOOZE") { alwaysTired = _alwaysTired; legacyToken = ILegacyToken(_legacyToken); boosterToken = IBoosterToken(_boosterToken); _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 { alwaysTired = _alwaysTired; } function setLegacyToken(address _legacyToken) external onlyOwner { legacyToken = ILegacyToken(_legacyToken); } function setBoosterToken(address _boosterToken) external onlyOwner { boosterToken = IBoosterToken(_boosterToken); } function setMintReward(uint256 _mintReward) external onlyOwner { mintReward = _mintReward; } function setInterval(uint256 _interval) external onlyOwner { interval = _interval; } function setIntervalReward(uint256 _intervalReward) external onlyOwner { intervalReward = _intervalReward; } function setBoosterBalance(uint256 _boosterBalance) external onlyOwner { boosterBalance = _boosterBalance; } function setBoosterMultiplier( uint256 _boosterMultiplier ) external onlyOwner { boosterMultiplier = _boosterMultiplier; } function setBoosterDenominator( uint256 _boosterDenominator ) external onlyOwner { boosterDenominator = _boosterDenominator; } function setTransfers( address[] calldata _addresses, uint256[] calldata _timestamps ) external onlyOwner { require(_addresses.length == _timestamps.length, "Invalid length"); unchecked { for (uint256 i = 0; i < _addresses.length; i++) { transfers[_addresses[i]] = _timestamps[i]; } } } function setCounts( address[] calldata _addresses, uint256[] calldata _counts ) external onlyOwner { require(_addresses.length == _counts.length, "Invalid length"); unchecked { for (uint256 i = 0; i < _addresses.length; i++) { counts[_addresses[i]] = _counts[i]; } } } function setStashs( address[] calldata _addresses, uint256[] calldata _stashs ) external onlyOwner { require(_addresses.length == _stashs.length, "Invalid length"); unchecked { for (uint256 i = 0; i < _addresses.length; i++) { stashs[_addresses[i]] = _stashs[i]; } } } function getExchangers() public view returns (address[] memory) { return exchangers; } function deleteExchanges() external onlyOwner { unchecked { for (uint256 i = 0; i < exchangers.length; i++) { delete exchanges[exchangers[i]]; } delete exchangers; } } function exchangeable() external view returns (uint256) { uint256 count_ = counts[msg.sender]; if (count_ < 1) { // Must be Holder return 0; } bool exchanged = exchanges[msg.sender]; if (exchanged) { // Already exchanged return 0; } uint256 balance = legacyToken.balanceOf(msg.sender); return balance; } function exchange() external whenNotPaused nonReentrant { uint256 count_ = counts[msg.sender]; require(count_ > 0, "Must be Holder"); bool exchanged = exchanges[msg.sender]; require(!exchanged, "Already exchanged"); uint256 balance = legacyToken.balanceOf(msg.sender); require(balance > 0, "Insufficient balance"); _mint(msg.sender, balance); exchanges[msg.sender] = true; exchangers.push(msg.sender); } function updateRewards( address _from, address _to, uint256 _quantity ) external onlyAlwaysTired nonReentrant { unchecked { uint256 timestamp = block.timestamp; bool isMint = _from == address(0); // transfer from if (_from != address(0)) { uint256 countFrom = counts[_from]; _updateStash(_from, countFrom, timestamp, isMint, _quantity); counts[_from] = countFrom - _quantity; transfers[_from] = timestamp; } // mint to / transfer to uint256 countTo = counts[_to]; _updateStash(_to, countTo, timestamp, isMint, _quantity); counts[_to] = countTo + _quantity; transfers[_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 = transfers[_address]; if (_count > 0 && transfer > 0) { uint256 factor = (_timestamp - transfer) / interval; stash += _count * intervalReward * factor; } stashs[_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 returns (uint256) { uint256 count_ = counts[msg.sender]; if (count_ < 1) { // Must be Holder return 0; } uint256 timestamp = block.timestamp; uint256 transfer = transfers[msg.sender]; uint256 amount = 0; unchecked { uint256 factor = (timestamp - transfer) / interval; amount = count_ * intervalReward * factor; if ( address(boosterToken) != address(0) && boosterToken.balanceOf(msg.sender) >= boosterBalance ) { amount = (amount * boosterMultiplier) / boosterDenominator; } amount = amount + stashs[msg.sender]; } return amount; } function claim() external whenNotPaused nonReentrant { uint256 count_ = counts[msg.sender]; require(count_ > 0, "Must be Holder"); uint256 timestamp = block.timestamp; uint256 transfer = transfers[msg.sender]; uint256 amount = 0; unchecked { uint256 factor = (timestamp - transfer) / interval; amount = count_ * intervalReward * factor; if ( address(boosterToken) != address(0) && boosterToken.balanceOf(msg.sender) >= boosterBalance ) { amount = (amount * boosterMultiplier) / boosterDenominator; } amount = amount + stashs[msg.sender]; } require(amount > 0, "No Snooze to claim"); _mint(msg.sender, amount); transfers[msg.sender] = timestamp; delete stashs[msg.sender]; } function spend(uint256 _amount) external whenNotPaused nonReentrant { uint256 count_ = counts[msg.sender]; require(count_ > 0, "Must be Holder"); _burn(msg.sender, _amount); } }
// 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 (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.8.0) (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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // 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.8.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.openzeppelin.com/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; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _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; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _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; // Overflow not possible: amount <= accountBalance <= totalSupply. _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 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 (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 (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": 1337 }, "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"},{"internalType":"address","name":"_legacyToken","type":"address"},{"internalType":"address","name":"_boosterToken","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":"boosterBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boosterDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boosterMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"boosterToken","outputs":[{"internalType":"contract IBoosterToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"counts","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":[],"name":"deleteExchanges","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exchange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exchangeable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"exchangers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"exchanges","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExchangers","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"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":[],"name":"legacyToken","outputs":[{"internalType":"contract ILegacyToken","name":"","type":"address"}],"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":"_boosterBalance","type":"uint256"}],"name":"setBoosterBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_boosterDenominator","type":"uint256"}],"name":"setBoosterDenominator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_boosterMultiplier","type":"uint256"}],"name":"setBoosterMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_boosterToken","type":"address"}],"name":"setBoosterToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_counts","type":"uint256[]"}],"name":"setCounts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_interval","type":"uint256"}],"name":"setInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_intervalReward","type":"uint256"}],"name":"setIntervalReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_legacyToken","type":"address"}],"name":"setLegacyToken","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":"uint256[]","name":"_stashs","type":"uint256[]"}],"name":"setStashs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_timestamps","type":"uint256[]"}],"name":"setTransfers","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":"stashs","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":"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":[{"internalType":"address","name":"","type":"address"}],"name":"transfers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"}]
Contract Creation Code
60806040526103e8600a55610360600b556001600c556001600d55610bb8600e556107d0600f553480156200003357600080fd5b506040516200275a3803806200275a83398101604081905262000056916200026a565b6040518060400160405280600b81526020016a29b737b7bd32aa37b5b2b760a91b8152506040518060400160405280600781526020016624534e4f4f5a4560c81b8152508160039081620000ab919062000359565b506004620000ba828262000359565b505050620000d7620000d16200013960201b60201c565b6200013d565b6005805460ff60a01b191690556001600655600780546001600160a01b038086166001600160a01b031992831617909255600880548584169083161790556009805492841692909116919091179055620001306200018f565b50505062000425565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000199620001f2565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620001d53390565b6040516001600160a01b03909116815260200160405180910390a1565b62000206600554600160a01b900460ff1690565b156200024b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b565b80516001600160a01b03811681146200026557600080fd5b919050565b6000806000606084860312156200028057600080fd5b6200028b846200024d565b92506200029b602085016200024d565b9150620002ab604085016200024d565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620002df57607f821691505b6020821081036200030057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200035457600081815260208120601f850160051c810160208610156200032f5750805b601f850160051c820191505b8181101562000350578281556001016200033b565b5050505b505050565b81516001600160401b03811115620003755762000375620002b4565b6200038d81620003868454620002ca565b8462000306565b602080601f831160018114620003c55760008415620003ac5750858301515b600019600386901b1c1916600185901b17855562000350565b600085815260208120601f198616915b82811015620003f657888601518255948401946001909101908401620003d5565b5085821015620004155787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61232580620004356000396000f3fe608060405234801561001057600080fd5b506004361061034b5760003560e01c806371a1818a116101bd578063aa85d860116100f9578063d2f7265a116100a2578063e94fb5561161007c578063e94fb556146106ee578063f2fde38b14610701578063fc06bb7a14610714578063fd4368311461071c57600080fd5b8063d2f7265a1461069a578063dd62ed3e146106a2578063e5821f86146106db57600080fd5b8063be453033116100d3578063be45303314610661578063c204642c14610674578063d2afabf71461068757600080fd5b8063aa85d86014610625578063aaf2cf4c14610638578063bdff43ee1461064157600080fd5b8063902828401161016657806395d89b411161014057806395d89b41146105e257806396a70b26146105ea578063a457c2d7146105ff578063a9059cbb1461061257600080fd5b806390282840146105a65780639465d4a1146105c6578063947a36fb146105d957600080fd5b806380e801ba1161019757806380e801ba1461057a5780638456cb591461058d5780638da5cb5b1461059557600080fd5b806371a1818a146105465780637412dbb31461054f578063745d8dd41461057257600080fd5b8063313ce5671161028c578063576c23ab116102355780636d9e91391161020f5780636d9e9139146105035780636f52daaf1461050c57806370a0823114610515578063715018a61461053e57600080fd5b8063576c23ab146104cb5780635c975abb146104de578063691dccd4146104f057600080fd5b806345ed83521161026657806345ed8352146104a857806348a0d754146104bb5780634e71d92d146104c357600080fd5b8063313ce5671461047e578063395093511461048d5780633f4ba83a146104a057600080fd5b806318160ddd116102f9578063236fa0f4116102d3578063236fa0f41461043257806323b872dd146104455780632c8e418a1461045857806330256cf11461046b57600080fd5b806318160ddd146104045780631dbf3bc71461040c57806322a900821461041f57600080fd5b8063095ea7b31161032a578063095ea7b3146103ad57806313155455146103d0578063174f57af146103fb57600080fd5b8062ffa59c146103505780630568e65e1461036557806306fdde0314610398575b600080fd5b61036361035e36600461200c565b61072f565b005b610385610373366004612094565b60116020526000908152604090205481565b6040519081526020015b60405180910390f35b6103a06107f4565b60405161038f91906120b6565b6103c06103bb366004612104565b610886565b604051901515815260200161038f565b6008546103e3906001600160a01b031681565b6040516001600160a01b03909116815260200161038f565b610385600a5481565b600254610385565b61036361041a36600461212e565b6108a0565b61036361042d36600461212e565b610916565b610363610440366004612094565b610923565b6103c0610453366004612147565b61095a565b61036361046636600461212e565b61097e565b61036361047936600461212e565b61098b565b6040516000815260200161038f565b6103c061049b366004612104565b610998565b6103636109d7565b6103636104b636600461200c565b6109f1565b610385610aaa565b610363610bc2565b6009546103e3906001600160a01b031681565b600554600160a01b900460ff166103c0565b6103636104fe36600461212e565b610d91565b610385600c5481565b610385600e5481565b610385610523366004612094565b6001600160a01b031660009081526020819052604090205490565b610363610d9e565b610385600f5481565b6103c061055d366004612094565b60136020526000908152604090205460ff1681565b610385610db0565b61036361058836600461212e565b610e68565b610363610e75565b6005546001600160a01b03166103e3565b6103856105b4366004612094565b60126020526000908152604090205481565b6103636105d4366004612094565b610e8d565b610385600b5481565b6103a0610ec4565b6105f2610ed3565b60405161038f9190612183565b6103c061060d366004612104565b610f34565b6103c0610620366004612104565b610fde565b6007546103e3906001600160a01b031681565b610385600d5481565b61038561064f366004612094565b60106020526000908152604090205481565b61036361066f366004612094565b610fec565b6103636106823660046121d0565b611023565b61036361069536600461212e565b611161565b61036361116e565b6103856106b036600461221c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103e36106e936600461212e565b61136c565b6103636106fc36600461200c565b611396565b61036361070f366004612094565b61144f565b6103636114dc565b61036361072a366004612147565b611549565b610737611673565b82811461077c5760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b60448201526064015b60405180910390fd5b60005b838110156107ed578282828181106107995761079961224f565b90506020020135601260008787858181106107b6576107b661224f565b90506020020160208101906107cb9190612094565b6001600160a01b0316815260208101919091526040016000205560010161077f565b5050505050565b60606003805461080390612265565b80601f016020809104026020016040519081016040528092919081815260200182805461082f90612265565b801561087c5780601f106108515761010080835404028352916020019161087c565b820191906000526020600020905b81548152906001019060200180831161085f57829003601f168201915b5050505050905090565b6000336108948185856116cd565b60019150505b92915050565b6108a8611825565b6108b061187f565b33600090815260116020526040902054806108fe5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b6044820152606401610773565b61090833836118d8565b506109136001600655565b50565b61091e611673565b600b55565b61092b611673565b6008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600033610968858285611a41565b610973858585611ad3565b506001949350505050565b610986611673565b600e55565b610993611673565b600f55565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061089490829086906109d290879061229f565b6116cd565b6109df611673565b6109e7611cc0565b6109ef611d19565b565b6109f9611673565b828114610a395760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b6044820152606401610773565b60005b838110156107ed57828282818110610a5657610a5661224f565b9050602002013560106000878785818110610a7357610a7361224f565b9050602002016020810190610a889190612094565b6001600160a01b03168152602081019190915260400160002055600101610a3c565b336000908152601160205260408120546001811015610acb57600091505090565b33600090815260106020526040812054600b54429290819083850381610af357610af36122c0565b600c54600954929091049087028102935091506001600160a01b031615801590610b8a5750600d546009546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610b63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8791906122d6565b10155b15610ba857600f54600e54830281610ba457610ba46122c0565b0491505b503360009081526012602052604090205401949350505050565b610bca611825565b610bd261187f565b3360009081526011602052604090205480610c205760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b6044820152606401610773565b33600090815260106020526040812054600b54429290819083850381610c4857610c486122c0565b600c54600954929091049087028102935091506001600160a01b031615801590610cdf5750600d546009546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc91906122d6565b10155b15610cfd57600f54600e54830281610cf957610cf96122c0565b0491505b50336000908152601260205260409020540180610d5c5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d00000000000000000000000000006044820152606401610773565b610d663382611d89565b5050336000908152601060209081526040808320939093556012905290812055506109ef6001600655565b610d99611673565b600d55565b610da6611673565b6109ef6000611e48565b336000908152601160205260408120546001811015610dd157600091505090565b3360009081526013602052604090205460ff168015610df35760009250505090565b6008546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6091906122d6565b949350505050565b610e70611673565b600a55565b610e7d611673565b610e85611825565b6109ef611ea7565b610e95611673565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60606004805461080390612265565b6060601480548060200260200160405190810160405280929190818152602001828054801561087c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610f0d575050505050905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610fd15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610773565b61097382868684036116cd565b600033610894818585611ad3565b610ff4611673565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b61102b611673565b61103361187f565b600081116110835760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610773565b60005b61ffff8116831115611151576000848461ffff84168181106110aa576110aa61224f565b90506020020160208101906110bf9190612094565b6001600160a01b0316036111155760405162461bcd60e51b815260206004820152600f60248201527f496e76616c6964206164647265737300000000000000000000000000000000006044820152606401610773565b61114984848361ffff1681811061112e5761112e61224f565b90506020020160208101906111439190612094565b83611d89565b600101611086565b5061115c6001600655565b505050565b611169611673565b600c55565b611176611825565b61117e61187f565b33600090815260116020526040902054806111cc5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b6044820152606401610773565b3360009081526013602052604090205460ff16801561122d5760405162461bcd60e51b815260206004820152601160248201527f416c72656164792065786368616e6765640000000000000000000000000000006044820152606401610773565b6008546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611276573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129a91906122d6565b9050600081116112ec5760405162461bcd60e51b815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152606401610773565b6112f63382611d89565b5050336000818152601360205260408120805460ff191660019081179091556014805491820181559091527fce6d7b5282bd9a3661ae061feed1dbda4e52ab073b1f9285be6e155d9c38d4ec01805473ffffffffffffffffffffffffffffffffffffffff19169091179055506109ef6001600655565b6014818154811061137c57600080fd5b6000918252602090912001546001600160a01b0316905081565b61139e611673565b8281146113de5760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b6044820152606401610773565b60005b838110156107ed578282828181106113fb576113fb61224f565b90506020020135601160008787858181106114185761141861224f565b905060200201602081019061142d9190612094565b6001600160a01b031681526020810191909152604001600020556001016113e1565b611457611673565b6001600160a01b0381166114d35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610773565b61091381611e48565b6114e4611673565b60005b60145481101561153c5760136000601483815481106115085761150861224f565b60009182526020808320909101546001600160a01b031683528201929092526040019020805460ff191690556001016114e7565b506109ef60146000611f8e565b331580159061156257506007546001600160a01b031633145b6115ae5760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520416c776179735469726564000000000000000000000000006044820152606401610773565b6115b661187f565b426001600160a01b0384161580611618576001600160a01b0385166000908152601160205260409020546115ed8682858588611f05565b6001600160a01b03861660009081526011602090815260408083209387900390935560109052208290555b6001600160a01b03841660009081526011602052604090205461163e8582858588611f05565b6001600160a01b03851660009081526011602090815260408083209387019093556010905220919091555061115c6001600655565b6005546001600160a01b031633146109ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610773565b6001600160a01b0383166117485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b0382166117c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600554600160a01b900460ff16156109ef5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610773565b6002600654036118d15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610773565b6002600655565b6001600160a01b0382166119545760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b038216600090815260208190526040902054818110156119e35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611acd5781811015611ac05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610773565b611acd84848484036116cd565b50505050565b6001600160a01b038316611b4f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b038216611bcb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b03831660009081526020819052604090205481811015611c5a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611acd565b600554600160a01b900460ff166109ef5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610773565b611d21611cc0565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611ddf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610773565b8060026000828254611df1919061229f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611eaf611825565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d6c3390565b60008215611f1457600a548202015b6001600160a01b0386166000908152601060205260409020548515801590611f3c5750600081115b15611f66576000600b5482870381611f5657611f566122c0565b04905080600c5488020283019250505b506001600160a01b039095166000908152601260205260409020805490950190945550505050565b508054600082559060005260206000209081019061091391905b80821115611fbc5760008155600101611fa8565b5090565b60008083601f840112611fd257600080fd5b50813567ffffffffffffffff811115611fea57600080fd5b6020830191508360208260051b850101111561200557600080fd5b9250929050565b6000806000806040858703121561202257600080fd5b843567ffffffffffffffff8082111561203a57600080fd5b61204688838901611fc0565b9096509450602087013591508082111561205f57600080fd5b5061206c87828801611fc0565b95989497509550505050565b80356001600160a01b038116811461208f57600080fd5b919050565b6000602082840312156120a657600080fd5b6120af82612078565b9392505050565b600060208083528351808285015260005b818110156120e3578581018301518582016040015282016120c7565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561211757600080fd5b61212083612078565b946020939093013593505050565b60006020828403121561214057600080fd5b5035919050565b60008060006060848603121561215c57600080fd5b61216584612078565b925061217360208501612078565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156121c45783516001600160a01b03168352928401929184019160010161219f565b50909695505050505050565b6000806000604084860312156121e557600080fd5b833567ffffffffffffffff8111156121fc57600080fd5b61220886828701611fc0565b909790965060209590950135949350505050565b6000806040838503121561222f57600080fd5b61223883612078565b915061224660208401612078565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168061227957607f821691505b60208210810361229957634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561089a57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000602082840312156122e857600080fd5b505191905056fea2646970667358221220385549f0fc029c5e0a83c8919789666800d6ea795dd1a2e531078a359bd693a964736f6c634300081200330000000000000000000000003ccbd9c381742c04d81332b5db461951672f6a99000000000000000000000000e2efbb43fe5df9249987d6700b3a323398170b410000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061034b5760003560e01c806371a1818a116101bd578063aa85d860116100f9578063d2f7265a116100a2578063e94fb5561161007c578063e94fb556146106ee578063f2fde38b14610701578063fc06bb7a14610714578063fd4368311461071c57600080fd5b8063d2f7265a1461069a578063dd62ed3e146106a2578063e5821f86146106db57600080fd5b8063be453033116100d3578063be45303314610661578063c204642c14610674578063d2afabf71461068757600080fd5b8063aa85d86014610625578063aaf2cf4c14610638578063bdff43ee1461064157600080fd5b8063902828401161016657806395d89b411161014057806395d89b41146105e257806396a70b26146105ea578063a457c2d7146105ff578063a9059cbb1461061257600080fd5b806390282840146105a65780639465d4a1146105c6578063947a36fb146105d957600080fd5b806380e801ba1161019757806380e801ba1461057a5780638456cb591461058d5780638da5cb5b1461059557600080fd5b806371a1818a146105465780637412dbb31461054f578063745d8dd41461057257600080fd5b8063313ce5671161028c578063576c23ab116102355780636d9e91391161020f5780636d9e9139146105035780636f52daaf1461050c57806370a0823114610515578063715018a61461053e57600080fd5b8063576c23ab146104cb5780635c975abb146104de578063691dccd4146104f057600080fd5b806345ed83521161026657806345ed8352146104a857806348a0d754146104bb5780634e71d92d146104c357600080fd5b8063313ce5671461047e578063395093511461048d5780633f4ba83a146104a057600080fd5b806318160ddd116102f9578063236fa0f4116102d3578063236fa0f41461043257806323b872dd146104455780632c8e418a1461045857806330256cf11461046b57600080fd5b806318160ddd146104045780631dbf3bc71461040c57806322a900821461041f57600080fd5b8063095ea7b31161032a578063095ea7b3146103ad57806313155455146103d0578063174f57af146103fb57600080fd5b8062ffa59c146103505780630568e65e1461036557806306fdde0314610398575b600080fd5b61036361035e36600461200c565b61072f565b005b610385610373366004612094565b60116020526000908152604090205481565b6040519081526020015b60405180910390f35b6103a06107f4565b60405161038f91906120b6565b6103c06103bb366004612104565b610886565b604051901515815260200161038f565b6008546103e3906001600160a01b031681565b6040516001600160a01b03909116815260200161038f565b610385600a5481565b600254610385565b61036361041a36600461212e565b6108a0565b61036361042d36600461212e565b610916565b610363610440366004612094565b610923565b6103c0610453366004612147565b61095a565b61036361046636600461212e565b61097e565b61036361047936600461212e565b61098b565b6040516000815260200161038f565b6103c061049b366004612104565b610998565b6103636109d7565b6103636104b636600461200c565b6109f1565b610385610aaa565b610363610bc2565b6009546103e3906001600160a01b031681565b600554600160a01b900460ff166103c0565b6103636104fe36600461212e565b610d91565b610385600c5481565b610385600e5481565b610385610523366004612094565b6001600160a01b031660009081526020819052604090205490565b610363610d9e565b610385600f5481565b6103c061055d366004612094565b60136020526000908152604090205460ff1681565b610385610db0565b61036361058836600461212e565b610e68565b610363610e75565b6005546001600160a01b03166103e3565b6103856105b4366004612094565b60126020526000908152604090205481565b6103636105d4366004612094565b610e8d565b610385600b5481565b6103a0610ec4565b6105f2610ed3565b60405161038f9190612183565b6103c061060d366004612104565b610f34565b6103c0610620366004612104565b610fde565b6007546103e3906001600160a01b031681565b610385600d5481565b61038561064f366004612094565b60106020526000908152604090205481565b61036361066f366004612094565b610fec565b6103636106823660046121d0565b611023565b61036361069536600461212e565b611161565b61036361116e565b6103856106b036600461221c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103e36106e936600461212e565b61136c565b6103636106fc36600461200c565b611396565b61036361070f366004612094565b61144f565b6103636114dc565b61036361072a366004612147565b611549565b610737611673565b82811461077c5760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b60448201526064015b60405180910390fd5b60005b838110156107ed578282828181106107995761079961224f565b90506020020135601260008787858181106107b6576107b661224f565b90506020020160208101906107cb9190612094565b6001600160a01b0316815260208101919091526040016000205560010161077f565b5050505050565b60606003805461080390612265565b80601f016020809104026020016040519081016040528092919081815260200182805461082f90612265565b801561087c5780601f106108515761010080835404028352916020019161087c565b820191906000526020600020905b81548152906001019060200180831161085f57829003601f168201915b5050505050905090565b6000336108948185856116cd565b60019150505b92915050565b6108a8611825565b6108b061187f565b33600090815260116020526040902054806108fe5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b6044820152606401610773565b61090833836118d8565b506109136001600655565b50565b61091e611673565b600b55565b61092b611673565b6008805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b600033610968858285611a41565b610973858585611ad3565b506001949350505050565b610986611673565b600e55565b610993611673565b600f55565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061089490829086906109d290879061229f565b6116cd565b6109df611673565b6109e7611cc0565b6109ef611d19565b565b6109f9611673565b828114610a395760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b6044820152606401610773565b60005b838110156107ed57828282818110610a5657610a5661224f565b9050602002013560106000878785818110610a7357610a7361224f565b9050602002016020810190610a889190612094565b6001600160a01b03168152602081019190915260400160002055600101610a3c565b336000908152601160205260408120546001811015610acb57600091505090565b33600090815260106020526040812054600b54429290819083850381610af357610af36122c0565b600c54600954929091049087028102935091506001600160a01b031615801590610b8a5750600d546009546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610b63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8791906122d6565b10155b15610ba857600f54600e54830281610ba457610ba46122c0565b0491505b503360009081526012602052604090205401949350505050565b610bca611825565b610bd261187f565b3360009081526011602052604090205480610c205760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b6044820152606401610773565b33600090815260106020526040812054600b54429290819083850381610c4857610c486122c0565b600c54600954929091049087028102935091506001600160a01b031615801590610cdf5750600d546009546040516370a0823160e01b81523360048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610cb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cdc91906122d6565b10155b15610cfd57600f54600e54830281610cf957610cf96122c0565b0491505b50336000908152601260205260409020540180610d5c5760405162461bcd60e51b815260206004820152601260248201527f4e6f20536e6f6f7a6520746f20636c61696d00000000000000000000000000006044820152606401610773565b610d663382611d89565b5050336000908152601060209081526040808320939093556012905290812055506109ef6001600655565b610d99611673565b600d55565b610da6611673565b6109ef6000611e48565b336000908152601160205260408120546001811015610dd157600091505090565b3360009081526013602052604090205460ff168015610df35760009250505090565b6008546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015610e3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6091906122d6565b949350505050565b610e70611673565b600a55565b610e7d611673565b610e85611825565b6109ef611ea7565b610e95611673565b6009805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b60606004805461080390612265565b6060601480548060200260200160405190810160405280929190818152602001828054801561087c57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610f0d575050505050905090565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919083811015610fd15760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610773565b61097382868684036116cd565b600033610894818585611ad3565b610ff4611673565b6007805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b61102b611673565b61103361187f565b600081116110835760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420616d6f756e740000000000000000000000000000000000006044820152606401610773565b60005b61ffff8116831115611151576000848461ffff84168181106110aa576110aa61224f565b90506020020160208101906110bf9190612094565b6001600160a01b0316036111155760405162461bcd60e51b815260206004820152600f60248201527f496e76616c6964206164647265737300000000000000000000000000000000006044820152606401610773565b61114984848361ffff1681811061112e5761112e61224f565b90506020020160208101906111439190612094565b83611d89565b600101611086565b5061115c6001600655565b505050565b611169611673565b600c55565b611176611825565b61117e61187f565b33600090815260116020526040902054806111cc5760405162461bcd60e51b815260206004820152600e60248201526d26bab9ba103132902437b63232b960911b6044820152606401610773565b3360009081526013602052604090205460ff16801561122d5760405162461bcd60e51b815260206004820152601160248201527f416c72656164792065786368616e6765640000000000000000000000000000006044820152606401610773565b6008546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611276573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129a91906122d6565b9050600081116112ec5760405162461bcd60e51b815260206004820152601460248201527f496e73756666696369656e742062616c616e63650000000000000000000000006044820152606401610773565b6112f63382611d89565b5050336000818152601360205260408120805460ff191660019081179091556014805491820181559091527fce6d7b5282bd9a3661ae061feed1dbda4e52ab073b1f9285be6e155d9c38d4ec01805473ffffffffffffffffffffffffffffffffffffffff19169091179055506109ef6001600655565b6014818154811061137c57600080fd5b6000918252602090912001546001600160a01b0316905081565b61139e611673565b8281146113de5760405162461bcd60e51b815260206004820152600e60248201526d092dcecc2d8d2c840d8cadccee8d60931b6044820152606401610773565b60005b838110156107ed578282828181106113fb576113fb61224f565b90506020020135601160008787858181106114185761141861224f565b905060200201602081019061142d9190612094565b6001600160a01b031681526020810191909152604001600020556001016113e1565b611457611673565b6001600160a01b0381166114d35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610773565b61091381611e48565b6114e4611673565b60005b60145481101561153c5760136000601483815481106115085761150861224f565b60009182526020808320909101546001600160a01b031683528201929092526040019020805460ff191690556001016114e7565b506109ef60146000611f8e565b331580159061156257506007546001600160a01b031633145b6115ae5760405162461bcd60e51b815260206004820152601360248201527f4d75737420626520416c776179735469726564000000000000000000000000006044820152606401610773565b6115b661187f565b426001600160a01b0384161580611618576001600160a01b0385166000908152601160205260409020546115ed8682858588611f05565b6001600160a01b03861660009081526011602090815260408083209387900390935560109052208290555b6001600160a01b03841660009081526011602052604090205461163e8582858588611f05565b6001600160a01b03851660009081526011602090815260408083209387019093556010905220919091555061115c6001600655565b6005546001600160a01b031633146109ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610773565b6001600160a01b0383166117485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b0382166117c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600554600160a01b900460ff16156109ef5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610773565b6002600654036118d15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610773565b6002600655565b6001600160a01b0382166119545760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b038216600090815260208190526040902054818110156119e35760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60448201527f63650000000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114611acd5781811015611ac05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610773565b611acd84848484036116cd565b50505050565b6001600160a01b038316611b4f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b038216611bcb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b03831660009081526020819052604090205481811015611c5a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610773565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611acd565b600554600160a01b900460ff166109ef5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610773565b611d21611cc0565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b038216611ddf5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610773565b8060026000828254611df1919061229f565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611eaf611825565b600580547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d6c3390565b60008215611f1457600a548202015b6001600160a01b0386166000908152601060205260409020548515801590611f3c5750600081115b15611f66576000600b5482870381611f5657611f566122c0565b04905080600c5488020283019250505b506001600160a01b039095166000908152601260205260409020805490950190945550505050565b508054600082559060005260206000209081019061091391905b80821115611fbc5760008155600101611fa8565b5090565b60008083601f840112611fd257600080fd5b50813567ffffffffffffffff811115611fea57600080fd5b6020830191508360208260051b850101111561200557600080fd5b9250929050565b6000806000806040858703121561202257600080fd5b843567ffffffffffffffff8082111561203a57600080fd5b61204688838901611fc0565b9096509450602087013591508082111561205f57600080fd5b5061206c87828801611fc0565b95989497509550505050565b80356001600160a01b038116811461208f57600080fd5b919050565b6000602082840312156120a657600080fd5b6120af82612078565b9392505050565b600060208083528351808285015260005b818110156120e3578581018301518582016040015282016120c7565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806040838503121561211757600080fd5b61212083612078565b946020939093013593505050565b60006020828403121561214057600080fd5b5035919050565b60008060006060848603121561215c57600080fd5b61216584612078565b925061217360208501612078565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156121c45783516001600160a01b03168352928401929184019160010161219f565b50909695505050505050565b6000806000604084860312156121e557600080fd5b833567ffffffffffffffff8111156121fc57600080fd5b61220886828701611fc0565b909790965060209590950135949350505050565b6000806040838503121561222f57600080fd5b61223883612078565b915061224660208401612078565b90509250929050565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168061227957607f821691505b60208210810361229957634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561089a57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000602082840312156122e857600080fd5b505191905056fea2646970667358221220385549f0fc029c5e0a83c8919789666800d6ea795dd1a2e531078a359bd693a964736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003ccbd9c381742c04d81332b5db461951672f6a99000000000000000000000000e2efbb43fe5df9249987d6700b3a323398170b410000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _alwaysTired (address): 0x3CCBd9C381742c04D81332b5db461951672F6A99
Arg [1] : _legacyToken (address): 0xe2efbb43fe5DF9249987d6700b3a323398170B41
Arg [2] : _boosterToken (address): 0x0000000000000000000000000000000000000000
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ccbd9c381742c04d81332b5db461951672f6a99
Arg [1] : 000000000000000000000000e2efbb43fe5df9249987d6700b3a323398170b41
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
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.