ERC-20
Overview
Max Total Supply
842,210.083032407407405521 PXL
Holders
334
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
10,649.723518518518518491 PXLValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PixelERC20
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // ____ ___ ______ ///\ _`\ __ /\_ \ /\__ _\ __ //\ \ \L\ \/\_\ __ _ __ \//\ \ \/_/\ \/ /\_\ __ __ _ __ ____ // \ \ ,__/\/\ \ /\ \/'\ /'__`\ \ \ \ \ \ \ \/\ \ /'_ `\ /'__`\ /\`'__\ /',__\ // \ \ \/ \ \ \ \/> </ /\ __/ \_\ \_ \ \ \ \ \ \ /\ \L\ \ /\ __/ \ \ \/ /\__, `\ // \ \_\ \ \_\ /\_/\_\\ \____\ /\____\ \ \_\ \ \_\\ \____ \ \ \____\ \ \_\ \/\____/ // \/_/ \/_/ \//\/_/ \/____/ \/____/ \/_/ \/_/ \/___L\ \ \/____/ \/_/ \/___/ // /\____/ // \_/__/ pragma solidity ^0.8.0; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; interface iPixelTigers { function ownerGenesisCount(address owner) external view returns(uint256); function numberOfLegendaries(address owner) external view returns(uint256); function numberOfUniques(address owner) external view returns(uint256); function balanceOf(address owner) external view returns(uint256); function tokenGenesisOfOwner(address owner) external view returns(uint256[] memory); function ownerOf(uint256 tokenId) external view returns (address); } contract PixelERC20 is ERC20, Ownable { uint256 constant public BASE_RATE = 7 ether; uint256 constant public OG_RATE = 10 ether; uint256 constant public LEGENDARY_UNIQUE_RATE = 15 ether; uint256 constant public BONUS_RATE = 1 ether; uint256 constant public TICKET_PRICE = 10 ether; uint256 public amountLeftForReserve = 145000 ether; uint256 public amountTakenFromReserve; uint256 public numEntriesMain; uint256 public numEntriesSub; uint256 public numEntriesEvent; uint256 public numEntriesSpend; uint256 public START = 1643130000; uint256 public priceEvents; uint256 public maxEventEntries; uint256 public priceSpend; bool public rewardPaused = false; bool public mainRaffleActive = false; bool public subRaffleActive = false; bool public eventsActive = false; mapping(address => uint256) public minttime; mapping(address => uint256) private storeRewards; mapping(address => uint256) private lastUpdate; mapping(address => bool) public allowedAddresses; iPixelTigers public PixelTigers; constructor(address nftAddress) ERC20("PIXEL", "PXL") { PixelTigers = iPixelTigers(nftAddress); } function airdrop(address[] calldata to, uint256 amount) external onlyOwner { uint256 totalamount = to.length * amount * 1000000000000000000; require(totalamount <= amountLeftForReserve, "No more reserved"); for(uint256 i; i < to.length; i++){ _mint(to[i], amount * 1000000000000000000); } amountLeftForReserve -= totalamount; amountTakenFromReserve += totalamount; } function timeStamp(address user) external { require(msg.sender == address(PixelTigers)); storeRewards[user] += pendingReward(user); minttime[user] = block.timestamp; lastUpdate[user] = block.timestamp; } function enterMainRaffle(uint256 numTickets) external { require(PixelTigers.balanceOf(msg.sender) > 0, "Do not own any Tigers"); require(mainRaffleActive, "Main Raffle not active"); _burn(msg.sender, (numTickets*TICKET_PRICE)); numEntriesMain += numTickets; } function enterSubRaffle(uint256 numTickets) external { require(PixelTigers.balanceOf(msg.sender) > 0, "Do not own any Tigers"); require(subRaffleActive, "Sub Raffle not active"); _burn(msg.sender, (numTickets*TICKET_PRICE)); numEntriesSub += numTickets; } function enterEvents(uint256 count) external { require(PixelTigers.balanceOf(msg.sender) > 0, "Do not own any Tigers"); require(eventsActive, "Sub Raffle not active"); require(numEntriesEvent + count <= maxEventEntries, "No more slots"); _burn(msg.sender, (count*priceEvents)); numEntriesEvent += count; } function spend(uint256 count) external { require(PixelTigers.balanceOf(msg.sender) > 0, "Do not own any Tigers"); _burn(msg.sender, (count*priceSpend)); numEntriesSpend += count; } function burn(address user, uint256 amount) external { require(allowedAddresses[msg.sender] || msg.sender == address(PixelTigers), "Address does not have permission to burn"); _burn(user, amount); } function claimReward() external { require(!rewardPaused, "Claiming of $pixel has been paused"); _mint(msg.sender, pendingReward(msg.sender) + storeRewards[msg.sender]); storeRewards[msg.sender] = 0; lastUpdate[msg.sender] = block.timestamp; } //called when transfers happened, to ensure new users will generate tokens too function rewardSystemUpdate(address from, address to) external { require(msg.sender == address(PixelTigers)); if(from != address(0)){ storeRewards[from] += pendingReward(from); lastUpdate[from] = block.timestamp; } if(to != address(0)){ storeRewards[to] += pendingReward(to); lastUpdate[to] = block.timestamp; } } function totalTokensClaimable(address user) external view returns(uint256) { return pendingReward(user) + storeRewards[user]; } function numberOG(address user) external view returns(uint256){ return PixelTigers.numberOfUniques(user) - PixelTigers.numberOfLegendaries(user); } function numLegendaryAndUniques(address user) external view returns(uint256){ return PixelTigers.numberOfLegendaries(user); } function numNormalTigers(address user) external view returns(uint256){ return PixelTigers.ownerGenesisCount(user) - PixelTigers.numberOfUniques(user); } function userRate(address user) external view returns(uint256){ uint256 numberNormal = PixelTigers.ownerGenesisCount(user) - PixelTigers.numberOfUniques(user); uint256 numOG = PixelTigers.numberOfUniques(user) - PixelTigers.numberOfLegendaries(user); return PixelTigers.numberOfLegendaries(user) * LEGENDARY_UNIQUE_RATE + numOG * OG_RATE + (PixelTigers.ownerGenesisCount(user) - PixelTigers.numberOfUniques(user)) * BASE_RATE + (2 <= numberNormal ? 2 : numberNormal) * BONUS_RATE * numOG; } function pendingReward(address user) internal view returns(uint256) { uint256 numOG = PixelTigers.numberOfUniques(user) - PixelTigers.numberOfLegendaries(user); uint256 numberNormal = PixelTigers.ownerGenesisCount(user) - PixelTigers.numberOfUniques(user); if (minttime[user] == 0) { return PixelTigers.numberOfLegendaries(user) * LEGENDARY_UNIQUE_RATE * (block.timestamp - (lastUpdate[user] >= START ? lastUpdate[user] : START)) /86400 + numOG * OG_RATE * (block.timestamp - (lastUpdate[user] >= START ? lastUpdate[user] : START)) /86400 + numberNormal * BASE_RATE * (block.timestamp - (lastUpdate[user] >= START ? lastUpdate[user] : START)) /86400 + (2 <= numberNormal ? 2 : numberNormal) * BONUS_RATE * numOG * (block.timestamp - (lastUpdate[user] >= START ? lastUpdate[user] : START)) /86400; } else{ return PixelTigers.numberOfLegendaries(user) * LEGENDARY_UNIQUE_RATE * (block.timestamp - (lastUpdate[user] >= minttime[user] ? lastUpdate[user] : minttime[user])) /86400 + numOG * OG_RATE * (block.timestamp - (lastUpdate[user] >= minttime[user] ? lastUpdate[user] : minttime[user])) /86400 + numberNormal * BASE_RATE * (block.timestamp - (lastUpdate[user] >= minttime[user] ? lastUpdate[user] : minttime[user])) /86400 + (2 <= numberNormal ? 2 : numberNormal) * BONUS_RATE * numOG * (block.timestamp - (lastUpdate[user] >= minttime[user] ? lastUpdate[user] : minttime[user])) /86400; } } function setAllowedAddresses(address _address, bool _access) public onlyOwner { allowedAddresses[_address] = _access; } function setERC721(address ERC721Address) external onlyOwner { PixelTigers = iPixelTigers(ERC721Address); } function setEvent(uint256 price, uint256 maxentries) external onlyOwner { priceEvents = price * 1000000000000000000; maxEventEntries = maxentries; } function setSpend(uint256 price) external onlyOwner { priceSpend = price * 1000000000000000000; } function toggleReward() public onlyOwner { rewardPaused = !rewardPaused; } function clearMainRaffleList() external onlyOwner{ numEntriesMain = 0; } function clearSubRaffleList() external onlyOwner{ numEntriesSub = 0; } function clearEvents() external onlyOwner{ numEntriesEvent = 0; } function toggleMainRaffle() public onlyOwner { mainRaffleActive = !mainRaffleActive; } function toggleSubRaffle() public onlyOwner { subRaffleActive = !subRaffleActive; } function toggleEvents() public onlyOwner { eventsActive = !eventsActive; } }
// SPDX-License-Identifier: MIT 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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, 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 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 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { 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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount ) external returns (bool); /** * @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); }
// SPDX-License-Identifier: MIT 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 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": 200 }, "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":"nftAddress","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BONUS_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LEGENDARY_UNIQUE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OG_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PixelTigers","outputs":[{"internalType":"contract iPixelTigers","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TICKET_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","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":[{"internalType":"address","name":"","type":"address"}],"name":"allowedAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountLeftForReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountTakenFromReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearEvents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearMainRaffleList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"clearSubRaffleList","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"count","type":"uint256"}],"name":"enterEvents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTickets","type":"uint256"}],"name":"enterMainRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTickets","type":"uint256"}],"name":"enterSubRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eventsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"mainRaffleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxEventEntries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minttime","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":"numEntriesEvent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numEntriesMain","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numEntriesSpend","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numEntriesSub","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"numLegendaryAndUniques","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"numNormalTigers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"numberOG","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceEvents","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceSpend","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"rewardSystemUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_access","type":"bool"}],"name":"setAllowedAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ERC721Address","type":"address"}],"name":"setERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxentries","type":"uint256"}],"name":"setEvent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setSpend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"spend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"subRaffleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"timeStamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleEvents","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMainRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSubRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"totalTokensClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"userRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052691eb4773b6d1318a000006006556361f02c90600c556010805463ffffffff191690553480156200003457600080fd5b5060405162002eaa38038062002eaa8339810160408190526200005791620001fe565b60405180604001604052806005815260200164141256115360da1b8152506040518060400160405280600381526020016214161360ea1b8152508160039080519060200190620000a992919062000158565b508051620000bf90600490602084019062000158565b505050620000dc620000d66200010260201b60201c565b62000106565b601580546001600160a01b0319166001600160a01b03929092169190911790556200026b565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000166906200022e565b90600052602060002090601f0160209004810192826200018a5760008555620001d5565b82601f10620001a557805160ff1916838001178555620001d5565b82800160010185558215620001d5579182015b82811115620001d5578251825591602001919060010190620001b8565b50620001e3929150620001e7565b5090565b5b80821115620001e35760008155600101620001e8565b60006020828403121562000210578081fd5b81516001600160a01b038116811462000227578182fd5b9392505050565b600181811c908216806200024357607f821691505b602082108114156200026557634e487b7160e01b600052602260045260246000fd5b50919050565b612c2f806200027b6000396000f3fe608060405234801561001057600080fd5b50600436106103af5760003560e01c806370a08231116101f4578063af36442f1161011a578063c204642c116100ad578063c5fd50731161007c578063c5fd507314610772578063dd62ed3e1461077b578063e9b7e3481461041c578063f2fde38b146107b457600080fd5b8063c204642c1461073a578063c3736e841461074d578063c4d44dcd14610761578063c4d82b6f1461076957600080fd5b8063ba9a061a116100e9578063ba9a061a14610702578063bcc444011461070b578063bef54c6b1461071e578063bf70f0591461073157600080fd5b8063af36442f146106d7578063af61ee9c146106df578063b88a802f146106f2578063b9fc99ec146106fa57600080fd5b806395d89b4111610192578063a716151511610161578063a7161515146106a7578063a73dbb64146106b4578063a9059cbb146106bc578063ac8724cf146106cf57600080fd5b806395d89b41146106675780639dc29fac1461066f578063a457c2d714610682578063a5b78ebb1461069557600080fd5b806389781912116101ce578063897819121461061d5780638c602391146106305780638da5cb5b146106435780638e3bb18a1461065457600080fd5b806370a08231146105e3578063715018a61461060c57806380f03f121461061457600080fd5b806339509351116102d95780634e277cd6116102775780635bdfa668116102465780635bdfa66814610589578063617ec304146105b457806366eababe146105c7578063678d1ae4146105da57600080fd5b80634e277cd61461053f578063547475991461054e57806356e3bf77146105565780635a3295951461057657600080fd5b80634120657a116102b35780634120657a146104fb57806341910f901461051e5780634aae99ec1461052d5780634c38d52d1461053657600080fd5b806339509351146104cc5780633a81c9c3146104df5780633b16c9d9146104e857600080fd5b806328eabe0d1161035157806335866eca1161032057806335866eca1461048f57806335db93bd146104a257806337fa6e85146104aa5780633909201e146104bd57600080fd5b806328eabe0d146104515780632fb88e191461045a578063313ce5671461046d578063351505041461047c57600080fd5b806318160ddd1161038d57806318160ddd1461040a5780631a95f15f1461041c5780631dbf3bc71461042b57806323b872dd1461043e57600080fd5b806306fdde03146103b4578063094144a5146103d2578063095ea7b3146103e7575b600080fd5b6103bc6107c7565b6040516103c99190612a68565b60405180910390f35b6103e56103e03660046128b0565b610859565b005b6103fa6103f5366004612978565b6108ae565b60405190151581526020016103c9565b6002545b6040519081526020016103c9565b61040e678ac7230489e8000081565b6103e5610439366004612a17565b6108c4565b6103fa61044c366004612903565b61098e565b61040e600b5481565b61040e6104683660046128b0565b610a38565b604051601281526020016103c9565b6103e561048a3660046128b0565b610b44565b6103e561049d366004612a17565b610bbb565b6103e5610d18565b61040e6104b83660046128b0565b610d63565b61040e670de0b6b3a764000081565b6103fa6104da366004612978565b610e13565b61040e60075481565b6010546103fa9062010000900460ff1681565b6103fa6105093660046128b0565b60146020526000908152604090205460ff1681565b61040e676124fee993bc000081565b61040e60065481565b61040e600e5481565b61040e67d02ab486cedc000081565b6103e5610e4f565b61040e6105643660046128b0565b60116020526000908152604090205481565b6103e56105843660046128d1565b610e80565b60155461059c906001600160a01b031681565b6040516001600160a01b0390911681526020016103c9565b6103e56105c2366004612a17565b610f5d565b61040e6105d53660046128b0565b61106e565b61040e600f5481565b61040e6105f13660046128b0565b6001600160a01b031660009081526020819052604090205490565b6103e56110ec565b61040e600a5481565b6103e561062b36600461293e565b611122565b61040e61063e3660046128b0565b611177565b6005546001600160a01b031661059c565b6103e5610662366004612a47565b611598565b6103bc6115dd565b6103e561067d366004612978565b6115ec565b6103fa610690366004612978565b61167b565b6010546103fa90610100900460ff1681565b6010546103fa9060ff1681565b6103e5611714565b6103fa6106ca366004612978565b611745565b6103e5611752565b6103e5611790565b6103e56106ed366004612a17565b6117d9565b6103e56118ea565b6103e5611996565b61040e600c5481565b61040e6107193660046128b0565b6119c7565b6103e561072c366004612a17565b6119f3565b61040e60095481565b6103e56107483660046129a1565b611a35565b6010546103fa906301000000900460ff1681565b6103e5611b62565b61040e600d5481565b61040e60085481565b61040e6107893660046128d1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103e56107c23660046128b0565b611ba9565b6060600380546107d690612b8d565b80601f016020809104026020016040519081016040528092919081815260200182805461080290612b8d565b801561084f5780601f106108245761010080835404028352916020019161084f565b820191906000526020600020905b81548152906001019060200180831161083257829003601f168201915b5050505050905090565b6005546001600160a01b0316331461088c5760405162461bcd60e51b815260040161088390612aea565b60405180910390fd5b601580546001600160a01b0319166001600160a01b0392909216919091179055565b60006108bb338484611c44565b50600192915050565b6015546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561090857600080fd5b505afa15801561091c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109409190612a2f565b1161095d5760405162461bcd60e51b815260040161088390612abb565b61097433600f548361096f9190612b57565b611d69565b80600b60008282546109869190612b1f565b909155505050565b600061099b848484611eaf565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610a205760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610883565b610a2d8533858403611c44565b506001949350505050565b6015546040516329ca6ad760e01b81526001600160a01b03838116600483015260009216906329ca6ad79060240160206040518083038186803b158015610a7e57600080fd5b505afa158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab69190612a2f565b601554604051633edf2dbd60e01b81526001600160a01b03858116600483015290911690633edf2dbd906024015b60206040518083038186803b158015610afc57600080fd5b505afa158015610b10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b349190612a2f565b610b3e9190612b76565b92915050565b6015546001600160a01b03163314610b5b57600080fd5b610b648161207e565b6001600160a01b03821660009081526012602052604081208054909190610b8c908490612b1f565b90915550506001600160a01b031660009081526011602090815260408083204290819055601390925290912055565b6015546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610bff57600080fd5b505afa158015610c13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c379190612a2f565b11610c545760405162461bcd60e51b815260040161088390612abb565b6010546301000000900460ff16610ca55760405162461bcd60e51b815260206004820152601560248201527453756220526166666c65206e6f742061637469766560581b6044820152606401610883565b600e5481600a54610cb69190612b1f565b1115610cf45760405162461bcd60e51b815260206004820152600d60248201526c4e6f206d6f726520736c6f747360981b6044820152606401610883565b610d0633600d548361096f9190612b57565b80600a60008282546109869190612b1f565b6005546001600160a01b03163314610d425760405162461bcd60e51b815260040161088390612aea565b6010805463ff00000019811663010000009182900460ff1615909102179055565b601554604051633edf2dbd60e01b81526001600160a01b0383811660048301526000921690633edf2dbd9060240160206040518083038186803b158015610da957600080fd5b505afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de19190612a2f565b601554604051630ed3258160e41b81526001600160a01b0385811660048301529091169063ed32581090602401610ae4565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108bb918590610e4a908690612b1f565b611c44565b6005546001600160a01b03163314610e795760405162461bcd60e51b815260040161088390612aea565b6000600855565b6015546001600160a01b03163314610e9757600080fd5b6001600160a01b03821615610ef857610eaf8261207e565b6001600160a01b03831660009081526012602052604081208054909190610ed7908490612b1f565b90915550506001600160a01b03821660009081526013602052604090204290555b6001600160a01b03811615610f5957610f108161207e565b6001600160a01b03821660009081526012602052604081208054909190610f38908490612b1f565b90915550506001600160a01b03811660009081526013602052604090204290555b5050565b6015546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610fa157600080fd5b505afa158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd99190612a2f565b11610ff65760405162461bcd60e51b815260040161088390612abb565b601054610100900460ff166110465760405162461bcd60e51b81526020600482015260166024820152754d61696e20526166666c65206e6f742061637469766560501b6044820152606401610883565b61105c3361096f678ac7230489e8000084612b57565b80600860008282546109869190612b1f565b6015546040516329ca6ad760e01b81526001600160a01b03838116600483015260009216906329ca6ad79060240160206040518083038186803b1580156110b457600080fd5b505afa1580156110c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3e9190612a2f565b6005546001600160a01b031633146111165760405162461bcd60e51b815260040161088390612aea565b6111206000612763565b565b6005546001600160a01b0316331461114c5760405162461bcd60e51b815260040161088390612aea565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b601554604051633edf2dbd60e01b81526001600160a01b0383811660048301526000928392911690633edf2dbd9060240160206040518083038186803b1580156111c057600080fd5b505afa1580156111d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f89190612a2f565b601554604051630ed3258160e41b81526001600160a01b0386811660048301529091169063ed3258109060240160206040518083038186803b15801561123d57600080fd5b505afa158015611251573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112759190612a2f565b61127f9190612b76565b6015546040516329ca6ad760e01b81526001600160a01b038681166004830152929350600092909116906329ca6ad79060240160206040518083038186803b1580156112ca57600080fd5b505afa1580156112de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113029190612a2f565b601554604051633edf2dbd60e01b81526001600160a01b03878116600483015290911690633edf2dbd9060240160206040518083038186803b15801561134757600080fd5b505afa15801561135b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137f9190612a2f565b6113899190612b76565b905080670de0b6b3a764000083600211156113a457836113a7565b60025b6113b19190612b57565b6113bb9190612b57565b601554604051633edf2dbd60e01b81526001600160a01b038781166004830152676124fee993bc0000921690633edf2dbd9060240160206040518083038186803b15801561140857600080fd5b505afa15801561141c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114409190612a2f565b601554604051630ed3258160e41b81526001600160a01b0389811660048301529091169063ed3258109060240160206040518083038186803b15801561148557600080fd5b505afa158015611499573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114bd9190612a2f565b6114c79190612b76565b6114d19190612b57565b6114e3678ac7230489e8000084612b57565b6015546040516329ca6ad760e01b81526001600160a01b03898116600483015267d02ab486cedc00009216906329ca6ad79060240160206040518083038186803b15801561153057600080fd5b505afa158015611544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115689190612a2f565b6115729190612b57565b61157c9190612b1f565b6115869190612b1f565b6115909190612b1f565b949350505050565b6005546001600160a01b031633146115c25760405162461bcd60e51b815260040161088390612aea565b6115d482670de0b6b3a7640000612b57565b600d55600e5550565b6060600480546107d690612b8d565b3360009081526014602052604090205460ff168061161457506015546001600160a01b031633145b6116715760405162461bcd60e51b815260206004820152602860248201527f4164647265737320646f6573206e6f742068617665207065726d697373696f6e604482015267103a3790313ab93760c11b6064820152608401610883565b610f598282611d69565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156116fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610883565b61170a3385858403611c44565b5060019392505050565b6005546001600160a01b0316331461173e5760405162461bcd60e51b815260040161088390612aea565b6000600a55565b60006108bb338484611eaf565b6005546001600160a01b0316331461177c5760405162461bcd60e51b815260040161088390612aea565b6010805460ff19811660ff90911615179055565b6005546001600160a01b031633146117ba5760405162461bcd60e51b815260040161088390612aea565b6010805462ff0000198116620100009182900460ff1615909102179055565b6015546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561181d57600080fd5b505afa158015611831573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118559190612a2f565b116118725760405162461bcd60e51b815260040161088390612abb565b60105462010000900460ff166118c25760405162461bcd60e51b815260206004820152601560248201527453756220526166666c65206e6f742061637469766560581b6044820152606401610883565b6118d83361096f678ac7230489e8000084612b57565b80600960008282546109869190612b1f565b60105460ff16156119485760405162461bcd60e51b815260206004820152602260248201527f436c61696d696e67206f662024706978656c20686173206265656e2070617573604482015261195960f21b6064820152608401610883565b3360008181526012602052604090205461197591906119668261207e565b6119709190612b1f565b6127b5565b33600090815260126020908152604080832083905560139091529020429055565b6005546001600160a01b031633146119c05760405162461bcd60e51b815260040161088390612aea565b6000600955565b6001600160a01b0381166000908152601260205260408120546119e98361207e565b610b3e9190612b1f565b6005546001600160a01b03163314611a1d5760405162461bcd60e51b815260040161088390612aea565b611a2f81670de0b6b3a7640000612b57565b600f5550565b6005546001600160a01b03163314611a5f5760405162461bcd60e51b815260040161088390612aea565b6000611a6b8284612b57565b611a7d90670de0b6b3a7640000612b57565b9050600654811115611ac45760405162461bcd60e51b815260206004820152601060248201526f139bc81b5bdc99481c995cd95c9d995960821b6044820152606401610883565b60005b83811015611b2b57611b19858583818110611af257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611b0791906128b0565b61197085670de0b6b3a7640000612b57565b80611b2381612bc8565b915050611ac7565b508060066000828254611b3e9190612b76565b925050819055508060076000828254611b579190612b1f565b909155505050505050565b6005546001600160a01b03163314611b8c5760405162461bcd60e51b815260040161088390612aea565b6010805461ff001981166101009182900460ff1615909102179055565b6005546001600160a01b03163314611bd35760405162461bcd60e51b815260040161088390612aea565b6001600160a01b038116611c385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610883565b611c4181612763565b50565b6001600160a01b038316611ca65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610883565b6001600160a01b038216611d075760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610883565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216611dc95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610883565b6001600160a01b03821660009081526020819052604090205481811015611e3d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610883565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611e6c908490612b76565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611d5c565b6001600160a01b038316611f135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610883565b6001600160a01b038216611f755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610883565b6001600160a01b03831660009081526020819052604090205481811015611fed5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610883565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612024908490612b1f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161207091815260200190565b60405180910390a350505050565b6015546040516329ca6ad760e01b81526001600160a01b03838116600483015260009283929116906329ca6ad79060240160206040518083038186803b1580156120c757600080fd5b505afa1580156120db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ff9190612a2f565b601554604051633edf2dbd60e01b81526001600160a01b03868116600483015290911690633edf2dbd9060240160206040518083038186803b15801561214457600080fd5b505afa158015612158573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217c9190612a2f565b6121869190612b76565b601554604051633edf2dbd60e01b81526001600160a01b03868116600483015292935060009290911690633edf2dbd9060240160206040518083038186803b1580156121d157600080fd5b505afa1580156121e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122099190612a2f565b601554604051630ed3258160e41b81526001600160a01b0387811660048301529091169063ed3258109060240160206040518083038186803b15801561224e57600080fd5b505afa158015612262573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122869190612a2f565b6122909190612b76565b6001600160a01b03851660009081526011602052604090205490915061252f57600c546001600160a01b038516600090815260136020526040902054620151809111156122df57600c546122f9565b6001600160a01b0385166000908152601360205260409020545b6123039042612b76565b83670de0b6b3a7640000846002111561231c578461231f565b60025b6123299190612b57565b6123339190612b57565b61233d9190612b57565b6123479190612b37565b600c546001600160a01b0386166000908152601360205260409020546201518091111561237657600c54612390565b6001600160a01b0386166000908152601360205260409020545b61239a9042612b76565b6123ac676124fee993bc000085612b57565b6123b69190612b57565b6123c09190612b37565b600c546001600160a01b038716600090815260136020526040902054620151809111156123ef57600c54612409565b6001600160a01b0387166000908152601360205260409020545b6124139042612b76565b612425678ac7230489e8000087612b57565b61242f9190612b57565b6124399190612b37565b600c546001600160a01b0388166000908152601360205260409020546201518091111561246857600c54612482565b6001600160a01b0388166000908152601360205260409020545b61248c9042612b76565b6015546040516329ca6ad760e01b81526001600160a01b038b8116600483015267d02ab486cedc00009216906329ca6ad79060240160206040518083038186803b1580156124d957600080fd5b505afa1580156124ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125119190612a2f565b61251b9190612b57565b6125259190612b57565b6115729190612b37565b6001600160a01b0384166000908152601160209081526040808320546013909252909120546201518091111561257d576001600160a01b038516600090815260116020526040902054612597565b6001600160a01b0385166000908152601360205260409020545b6125a19042612b76565b83670de0b6b3a764000084600211156125ba57846125bd565b60025b6125c79190612b57565b6125d19190612b57565b6125db9190612b57565b6125e59190612b37565b6001600160a01b03851660009081526011602090815260408083205460139092529091205462015180911115612633576001600160a01b03861660009081526011602052604090205461264d565b6001600160a01b0386166000908152601360205260409020545b6126579042612b76565b612669676124fee993bc000085612b57565b6126739190612b57565b61267d9190612b37565b6001600160a01b038616600090815260116020908152604080832054601390925290912054620151809111156126cb576001600160a01b0387166000908152601160205260409020546126e5565b6001600160a01b0387166000908152601360205260409020545b6126ef9042612b76565b612701678ac7230489e8000087612b57565b61270b9190612b57565b6127159190612b37565b6001600160a01b03871660009081526011602090815260408083205460139092529091205462015180911115612468576001600160a01b038816600090815260116020526040902054612482565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661280b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610883565b806002600082825461281d9190612b1f565b90915550506001600160a01b0382166000908152602081905260408120805483929061284a908490612b1f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b03811681146128ab57600080fd5b919050565b6000602082840312156128c1578081fd5b6128ca82612894565b9392505050565b600080604083850312156128e3578081fd5b6128ec83612894565b91506128fa60208401612894565b90509250929050565b600080600060608486031215612917578081fd5b61292084612894565b925061292e60208501612894565b9150604084013590509250925092565b60008060408385031215612950578182fd5b61295983612894565b91506020830135801515811461296d578182fd5b809150509250929050565b6000806040838503121561298a578182fd5b61299383612894565b946020939093013593505050565b6000806000604084860312156129b5578283fd5b833567ffffffffffffffff808211156129cc578485fd5b818601915086601f8301126129df578485fd5b8135818111156129ed578586fd5b8760208260051b8501011115612a01578586fd5b6020928301989097509590910135949350505050565b600060208284031215612a28578081fd5b5035919050565b600060208284031215612a40578081fd5b5051919050565b60008060408385031215612a59578182fd5b50508035926020909101359150565b6000602080835283518082850152825b81811015612a9457858101830151858201604001528201612a78565b81811115612aa55783604083870101525b50601f01601f1916929092016040019392505050565b602080825260159082015274446f206e6f74206f776e20616e792054696765727360581b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612b3257612b32612be3565b500190565b600082612b5257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612b7157612b71612be3565b500290565b600082821015612b8857612b88612be3565b500390565b600181811c90821680612ba157607f821691505b60208210811415612bc257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612bdc57612bdc612be3565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212208e8ff1f427f74b221ba32ad24654ec90c192208dd9fdfd146c83350b6b22c18b64736f6c63430008040033000000000000000000000000ec7d2a4401cab39ca2184be6c841d6831c4601c3
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106103af5760003560e01c806370a08231116101f4578063af36442f1161011a578063c204642c116100ad578063c5fd50731161007c578063c5fd507314610772578063dd62ed3e1461077b578063e9b7e3481461041c578063f2fde38b146107b457600080fd5b8063c204642c1461073a578063c3736e841461074d578063c4d44dcd14610761578063c4d82b6f1461076957600080fd5b8063ba9a061a116100e9578063ba9a061a14610702578063bcc444011461070b578063bef54c6b1461071e578063bf70f0591461073157600080fd5b8063af36442f146106d7578063af61ee9c146106df578063b88a802f146106f2578063b9fc99ec146106fa57600080fd5b806395d89b4111610192578063a716151511610161578063a7161515146106a7578063a73dbb64146106b4578063a9059cbb146106bc578063ac8724cf146106cf57600080fd5b806395d89b41146106675780639dc29fac1461066f578063a457c2d714610682578063a5b78ebb1461069557600080fd5b806389781912116101ce578063897819121461061d5780638c602391146106305780638da5cb5b146106435780638e3bb18a1461065457600080fd5b806370a08231146105e3578063715018a61461060c57806380f03f121461061457600080fd5b806339509351116102d95780634e277cd6116102775780635bdfa668116102465780635bdfa66814610589578063617ec304146105b457806366eababe146105c7578063678d1ae4146105da57600080fd5b80634e277cd61461053f578063547475991461054e57806356e3bf77146105565780635a3295951461057657600080fd5b80634120657a116102b35780634120657a146104fb57806341910f901461051e5780634aae99ec1461052d5780634c38d52d1461053657600080fd5b806339509351146104cc5780633a81c9c3146104df5780633b16c9d9146104e857600080fd5b806328eabe0d1161035157806335866eca1161032057806335866eca1461048f57806335db93bd146104a257806337fa6e85146104aa5780633909201e146104bd57600080fd5b806328eabe0d146104515780632fb88e191461045a578063313ce5671461046d578063351505041461047c57600080fd5b806318160ddd1161038d57806318160ddd1461040a5780631a95f15f1461041c5780631dbf3bc71461042b57806323b872dd1461043e57600080fd5b806306fdde03146103b4578063094144a5146103d2578063095ea7b3146103e7575b600080fd5b6103bc6107c7565b6040516103c99190612a68565b60405180910390f35b6103e56103e03660046128b0565b610859565b005b6103fa6103f5366004612978565b6108ae565b60405190151581526020016103c9565b6002545b6040519081526020016103c9565b61040e678ac7230489e8000081565b6103e5610439366004612a17565b6108c4565b6103fa61044c366004612903565b61098e565b61040e600b5481565b61040e6104683660046128b0565b610a38565b604051601281526020016103c9565b6103e561048a3660046128b0565b610b44565b6103e561049d366004612a17565b610bbb565b6103e5610d18565b61040e6104b83660046128b0565b610d63565b61040e670de0b6b3a764000081565b6103fa6104da366004612978565b610e13565b61040e60075481565b6010546103fa9062010000900460ff1681565b6103fa6105093660046128b0565b60146020526000908152604090205460ff1681565b61040e676124fee993bc000081565b61040e60065481565b61040e600e5481565b61040e67d02ab486cedc000081565b6103e5610e4f565b61040e6105643660046128b0565b60116020526000908152604090205481565b6103e56105843660046128d1565b610e80565b60155461059c906001600160a01b031681565b6040516001600160a01b0390911681526020016103c9565b6103e56105c2366004612a17565b610f5d565b61040e6105d53660046128b0565b61106e565b61040e600f5481565b61040e6105f13660046128b0565b6001600160a01b031660009081526020819052604090205490565b6103e56110ec565b61040e600a5481565b6103e561062b36600461293e565b611122565b61040e61063e3660046128b0565b611177565b6005546001600160a01b031661059c565b6103e5610662366004612a47565b611598565b6103bc6115dd565b6103e561067d366004612978565b6115ec565b6103fa610690366004612978565b61167b565b6010546103fa90610100900460ff1681565b6010546103fa9060ff1681565b6103e5611714565b6103fa6106ca366004612978565b611745565b6103e5611752565b6103e5611790565b6103e56106ed366004612a17565b6117d9565b6103e56118ea565b6103e5611996565b61040e600c5481565b61040e6107193660046128b0565b6119c7565b6103e561072c366004612a17565b6119f3565b61040e60095481565b6103e56107483660046129a1565b611a35565b6010546103fa906301000000900460ff1681565b6103e5611b62565b61040e600d5481565b61040e60085481565b61040e6107893660046128d1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103e56107c23660046128b0565b611ba9565b6060600380546107d690612b8d565b80601f016020809104026020016040519081016040528092919081815260200182805461080290612b8d565b801561084f5780601f106108245761010080835404028352916020019161084f565b820191906000526020600020905b81548152906001019060200180831161083257829003601f168201915b5050505050905090565b6005546001600160a01b0316331461088c5760405162461bcd60e51b815260040161088390612aea565b60405180910390fd5b601580546001600160a01b0319166001600160a01b0392909216919091179055565b60006108bb338484611c44565b50600192915050565b6015546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561090857600080fd5b505afa15801561091c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109409190612a2f565b1161095d5760405162461bcd60e51b815260040161088390612abb565b61097433600f548361096f9190612b57565b611d69565b80600b60008282546109869190612b1f565b909155505050565b600061099b848484611eaf565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610a205760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610883565b610a2d8533858403611c44565b506001949350505050565b6015546040516329ca6ad760e01b81526001600160a01b03838116600483015260009216906329ca6ad79060240160206040518083038186803b158015610a7e57600080fd5b505afa158015610a92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab69190612a2f565b601554604051633edf2dbd60e01b81526001600160a01b03858116600483015290911690633edf2dbd906024015b60206040518083038186803b158015610afc57600080fd5b505afa158015610b10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b349190612a2f565b610b3e9190612b76565b92915050565b6015546001600160a01b03163314610b5b57600080fd5b610b648161207e565b6001600160a01b03821660009081526012602052604081208054909190610b8c908490612b1f565b90915550506001600160a01b031660009081526011602090815260408083204290819055601390925290912055565b6015546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610bff57600080fd5b505afa158015610c13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c379190612a2f565b11610c545760405162461bcd60e51b815260040161088390612abb565b6010546301000000900460ff16610ca55760405162461bcd60e51b815260206004820152601560248201527453756220526166666c65206e6f742061637469766560581b6044820152606401610883565b600e5481600a54610cb69190612b1f565b1115610cf45760405162461bcd60e51b815260206004820152600d60248201526c4e6f206d6f726520736c6f747360981b6044820152606401610883565b610d0633600d548361096f9190612b57565b80600a60008282546109869190612b1f565b6005546001600160a01b03163314610d425760405162461bcd60e51b815260040161088390612aea565b6010805463ff00000019811663010000009182900460ff1615909102179055565b601554604051633edf2dbd60e01b81526001600160a01b0383811660048301526000921690633edf2dbd9060240160206040518083038186803b158015610da957600080fd5b505afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de19190612a2f565b601554604051630ed3258160e41b81526001600160a01b0385811660048301529091169063ed32581090602401610ae4565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916108bb918590610e4a908690612b1f565b611c44565b6005546001600160a01b03163314610e795760405162461bcd60e51b815260040161088390612aea565b6000600855565b6015546001600160a01b03163314610e9757600080fd5b6001600160a01b03821615610ef857610eaf8261207e565b6001600160a01b03831660009081526012602052604081208054909190610ed7908490612b1f565b90915550506001600160a01b03821660009081526013602052604090204290555b6001600160a01b03811615610f5957610f108161207e565b6001600160a01b03821660009081526012602052604081208054909190610f38908490612b1f565b90915550506001600160a01b03811660009081526013602052604090204290555b5050565b6015546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610fa157600080fd5b505afa158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd99190612a2f565b11610ff65760405162461bcd60e51b815260040161088390612abb565b601054610100900460ff166110465760405162461bcd60e51b81526020600482015260166024820152754d61696e20526166666c65206e6f742061637469766560501b6044820152606401610883565b61105c3361096f678ac7230489e8000084612b57565b80600860008282546109869190612b1f565b6015546040516329ca6ad760e01b81526001600160a01b03838116600483015260009216906329ca6ad79060240160206040518083038186803b1580156110b457600080fd5b505afa1580156110c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3e9190612a2f565b6005546001600160a01b031633146111165760405162461bcd60e51b815260040161088390612aea565b6111206000612763565b565b6005546001600160a01b0316331461114c5760405162461bcd60e51b815260040161088390612aea565b6001600160a01b03919091166000908152601460205260409020805460ff1916911515919091179055565b601554604051633edf2dbd60e01b81526001600160a01b0383811660048301526000928392911690633edf2dbd9060240160206040518083038186803b1580156111c057600080fd5b505afa1580156111d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f89190612a2f565b601554604051630ed3258160e41b81526001600160a01b0386811660048301529091169063ed3258109060240160206040518083038186803b15801561123d57600080fd5b505afa158015611251573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112759190612a2f565b61127f9190612b76565b6015546040516329ca6ad760e01b81526001600160a01b038681166004830152929350600092909116906329ca6ad79060240160206040518083038186803b1580156112ca57600080fd5b505afa1580156112de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113029190612a2f565b601554604051633edf2dbd60e01b81526001600160a01b03878116600483015290911690633edf2dbd9060240160206040518083038186803b15801561134757600080fd5b505afa15801561135b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061137f9190612a2f565b6113899190612b76565b905080670de0b6b3a764000083600211156113a457836113a7565b60025b6113b19190612b57565b6113bb9190612b57565b601554604051633edf2dbd60e01b81526001600160a01b038781166004830152676124fee993bc0000921690633edf2dbd9060240160206040518083038186803b15801561140857600080fd5b505afa15801561141c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114409190612a2f565b601554604051630ed3258160e41b81526001600160a01b0389811660048301529091169063ed3258109060240160206040518083038186803b15801561148557600080fd5b505afa158015611499573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114bd9190612a2f565b6114c79190612b76565b6114d19190612b57565b6114e3678ac7230489e8000084612b57565b6015546040516329ca6ad760e01b81526001600160a01b03898116600483015267d02ab486cedc00009216906329ca6ad79060240160206040518083038186803b15801561153057600080fd5b505afa158015611544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115689190612a2f565b6115729190612b57565b61157c9190612b1f565b6115869190612b1f565b6115909190612b1f565b949350505050565b6005546001600160a01b031633146115c25760405162461bcd60e51b815260040161088390612aea565b6115d482670de0b6b3a7640000612b57565b600d55600e5550565b6060600480546107d690612b8d565b3360009081526014602052604090205460ff168061161457506015546001600160a01b031633145b6116715760405162461bcd60e51b815260206004820152602860248201527f4164647265737320646f6573206e6f742068617665207065726d697373696f6e604482015267103a3790313ab93760c11b6064820152608401610883565b610f598282611d69565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156116fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610883565b61170a3385858403611c44565b5060019392505050565b6005546001600160a01b0316331461173e5760405162461bcd60e51b815260040161088390612aea565b6000600a55565b60006108bb338484611eaf565b6005546001600160a01b0316331461177c5760405162461bcd60e51b815260040161088390612aea565b6010805460ff19811660ff90911615179055565b6005546001600160a01b031633146117ba5760405162461bcd60e51b815260040161088390612aea565b6010805462ff0000198116620100009182900460ff1615909102179055565b6015546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561181d57600080fd5b505afa158015611831573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118559190612a2f565b116118725760405162461bcd60e51b815260040161088390612abb565b60105462010000900460ff166118c25760405162461bcd60e51b815260206004820152601560248201527453756220526166666c65206e6f742061637469766560581b6044820152606401610883565b6118d83361096f678ac7230489e8000084612b57565b80600960008282546109869190612b1f565b60105460ff16156119485760405162461bcd60e51b815260206004820152602260248201527f436c61696d696e67206f662024706978656c20686173206265656e2070617573604482015261195960f21b6064820152608401610883565b3360008181526012602052604090205461197591906119668261207e565b6119709190612b1f565b6127b5565b33600090815260126020908152604080832083905560139091529020429055565b6005546001600160a01b031633146119c05760405162461bcd60e51b815260040161088390612aea565b6000600955565b6001600160a01b0381166000908152601260205260408120546119e98361207e565b610b3e9190612b1f565b6005546001600160a01b03163314611a1d5760405162461bcd60e51b815260040161088390612aea565b611a2f81670de0b6b3a7640000612b57565b600f5550565b6005546001600160a01b03163314611a5f5760405162461bcd60e51b815260040161088390612aea565b6000611a6b8284612b57565b611a7d90670de0b6b3a7640000612b57565b9050600654811115611ac45760405162461bcd60e51b815260206004820152601060248201526f139bc81b5bdc99481c995cd95c9d995960821b6044820152606401610883565b60005b83811015611b2b57611b19858583818110611af257634e487b7160e01b600052603260045260246000fd5b9050602002016020810190611b0791906128b0565b61197085670de0b6b3a7640000612b57565b80611b2381612bc8565b915050611ac7565b508060066000828254611b3e9190612b76565b925050819055508060076000828254611b579190612b1f565b909155505050505050565b6005546001600160a01b03163314611b8c5760405162461bcd60e51b815260040161088390612aea565b6010805461ff001981166101009182900460ff1615909102179055565b6005546001600160a01b03163314611bd35760405162461bcd60e51b815260040161088390612aea565b6001600160a01b038116611c385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610883565b611c4181612763565b50565b6001600160a01b038316611ca65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610883565b6001600160a01b038216611d075760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610883565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216611dc95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610883565b6001600160a01b03821660009081526020819052604090205481811015611e3d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610883565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611e6c908490612b76565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611d5c565b6001600160a01b038316611f135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610883565b6001600160a01b038216611f755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610883565b6001600160a01b03831660009081526020819052604090205481811015611fed5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610883565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612024908490612b1f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161207091815260200190565b60405180910390a350505050565b6015546040516329ca6ad760e01b81526001600160a01b03838116600483015260009283929116906329ca6ad79060240160206040518083038186803b1580156120c757600080fd5b505afa1580156120db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ff9190612a2f565b601554604051633edf2dbd60e01b81526001600160a01b03868116600483015290911690633edf2dbd9060240160206040518083038186803b15801561214457600080fd5b505afa158015612158573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217c9190612a2f565b6121869190612b76565b601554604051633edf2dbd60e01b81526001600160a01b03868116600483015292935060009290911690633edf2dbd9060240160206040518083038186803b1580156121d157600080fd5b505afa1580156121e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122099190612a2f565b601554604051630ed3258160e41b81526001600160a01b0387811660048301529091169063ed3258109060240160206040518083038186803b15801561224e57600080fd5b505afa158015612262573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122869190612a2f565b6122909190612b76565b6001600160a01b03851660009081526011602052604090205490915061252f57600c546001600160a01b038516600090815260136020526040902054620151809111156122df57600c546122f9565b6001600160a01b0385166000908152601360205260409020545b6123039042612b76565b83670de0b6b3a7640000846002111561231c578461231f565b60025b6123299190612b57565b6123339190612b57565b61233d9190612b57565b6123479190612b37565b600c546001600160a01b0386166000908152601360205260409020546201518091111561237657600c54612390565b6001600160a01b0386166000908152601360205260409020545b61239a9042612b76565b6123ac676124fee993bc000085612b57565b6123b69190612b57565b6123c09190612b37565b600c546001600160a01b038716600090815260136020526040902054620151809111156123ef57600c54612409565b6001600160a01b0387166000908152601360205260409020545b6124139042612b76565b612425678ac7230489e8000087612b57565b61242f9190612b57565b6124399190612b37565b600c546001600160a01b0388166000908152601360205260409020546201518091111561246857600c54612482565b6001600160a01b0388166000908152601360205260409020545b61248c9042612b76565b6015546040516329ca6ad760e01b81526001600160a01b038b8116600483015267d02ab486cedc00009216906329ca6ad79060240160206040518083038186803b1580156124d957600080fd5b505afa1580156124ed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125119190612a2f565b61251b9190612b57565b6125259190612b57565b6115729190612b37565b6001600160a01b0384166000908152601160209081526040808320546013909252909120546201518091111561257d576001600160a01b038516600090815260116020526040902054612597565b6001600160a01b0385166000908152601360205260409020545b6125a19042612b76565b83670de0b6b3a764000084600211156125ba57846125bd565b60025b6125c79190612b57565b6125d19190612b57565b6125db9190612b57565b6125e59190612b37565b6001600160a01b03851660009081526011602090815260408083205460139092529091205462015180911115612633576001600160a01b03861660009081526011602052604090205461264d565b6001600160a01b0386166000908152601360205260409020545b6126579042612b76565b612669676124fee993bc000085612b57565b6126739190612b57565b61267d9190612b37565b6001600160a01b038616600090815260116020908152604080832054601390925290912054620151809111156126cb576001600160a01b0387166000908152601160205260409020546126e5565b6001600160a01b0387166000908152601360205260409020545b6126ef9042612b76565b612701678ac7230489e8000087612b57565b61270b9190612b57565b6127159190612b37565b6001600160a01b03871660009081526011602090815260408083205460139092529091205462015180911115612468576001600160a01b038816600090815260116020526040902054612482565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661280b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610883565b806002600082825461281d9190612b1f565b90915550506001600160a01b0382166000908152602081905260408120805483929061284a908490612b1f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b03811681146128ab57600080fd5b919050565b6000602082840312156128c1578081fd5b6128ca82612894565b9392505050565b600080604083850312156128e3578081fd5b6128ec83612894565b91506128fa60208401612894565b90509250929050565b600080600060608486031215612917578081fd5b61292084612894565b925061292e60208501612894565b9150604084013590509250925092565b60008060408385031215612950578182fd5b61295983612894565b91506020830135801515811461296d578182fd5b809150509250929050565b6000806040838503121561298a578182fd5b61299383612894565b946020939093013593505050565b6000806000604084860312156129b5578283fd5b833567ffffffffffffffff808211156129cc578485fd5b818601915086601f8301126129df578485fd5b8135818111156129ed578586fd5b8760208260051b8501011115612a01578586fd5b6020928301989097509590910135949350505050565b600060208284031215612a28578081fd5b5035919050565b600060208284031215612a40578081fd5b5051919050565b60008060408385031215612a59578182fd5b50508035926020909101359150565b6000602080835283518082850152825b81811015612a9457858101830151858201604001528201612a78565b81811115612aa55783604083870101525b50601f01601f1916929092016040019392505050565b602080825260159082015274446f206e6f74206f776e20616e792054696765727360581b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612b3257612b32612be3565b500190565b600082612b5257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612b7157612b71612be3565b500290565b600082821015612b8857612b88612be3565b500390565b600181811c90821680612ba157607f821691505b60208210811415612bc257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612bdc57612bdc612be3565b5060010190565b634e487b7160e01b600052601160045260246000fdfea26469706673582212208e8ff1f427f74b221ba32ad24654ec90c192208dd9fdfd146c83350b6b22c18b64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ec7d2a4401cab39ca2184be6c841d6831c4601c3
-----Decoded View---------------
Arg [0] : nftAddress (address): 0xec7D2a4401cAB39ca2184be6C841d6831c4601C3
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ec7d2a4401cab39ca2184be6c841d6831c4601c3
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.