ERC-20
Overview
Max Total Supply
1,593.920717592592592565 PXL
Holders
44
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1.886111111111111111 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); } contract PixelERC20 is ERC20, Ownable { uint256 constant public BASE_RATE = 10 ether; uint256 constant public UNIQUE_RATE= 12 ether; uint256 constant public LEGENDARY_RATE= 15 ether; uint256 constant public TICKET_PRICE = 10 ether; uint256 public amountLeftForReserve = 145000 ether; uint256 public amountTakenFromReserve; uint256 public numEntriesMain; uint256 public numEntriesSub; uint256 public START; bool public rewardPaused = false; bool public mainRaffleActive = false; bool public subRaffleActive = false; mapping(address => uint256) private minttime; mapping(address => uint256) private storeRewards; mapping(address => uint256) private lastUpdate; mapping(address => bool) public allowedAddresses; mapping(uint256 => bool) public tigerClaimedInitialReward; iPixelTigers public PixelTigers; event enteredMainRaffle(uint256 numTickets); event enteredSubRaffle(uint256 numTickets); constructor(address nftAddress) ERC20("PIXEL", "PXL") { PixelTigers = iPixelTigers(nftAddress); START = block.timestamp; } 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)); minttime[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 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 pendingReward(address user) internal view returns(uint256) { if (PixelTigers.numberOfLegendaries(user)>0){ return (PixelTigers.ownerGenesisCount(user)- PixelTigers.numberOfLegendaries(user))* BASE_RATE * (block.timestamp - (lastUpdate[user] >= START ? lastUpdate[user] : START)) /86400 + PixelTigers.numberOfLegendaries(user)* LEGENDARY_RATE * (block.timestamp - (lastUpdate[user] >= START ? lastUpdate[user] : START)) /86400; } else if (PixelTigers.numberOfUniques(user)>0){ return (PixelTigers.ownerGenesisCount(user)- PixelTigers.numberOfUniques(user))* BASE_RATE * (block.timestamp - (lastUpdate[user] >= START ? lastUpdate[user] : START)) /86400 + PixelTigers.numberOfUniques(user)* UNIQUE_RATE * (block.timestamp - (lastUpdate[user] >= START ? lastUpdate[user] : START)) /86400; } else{ return PixelTigers.ownerGenesisCount(user) * BASE_RATE * (block.timestamp - (lastUpdate[user] >= START ? lastUpdate[user] : START)) /86400; } } function setAllowedAddresses(address _address, bool _access) public onlyOwner { allowedAddresses[_address] = _access; } //if address of contract of genesis collection changes function setERC721(address ERC721Address) external onlyOwner { PixelTigers = iPixelTigers(ERC721Address); } function toggleReward() public onlyOwner { rewardPaused = !rewardPaused; } function clearMainRaffleList() external onlyOwner{ numEntriesMain = 0; } function clearSubRaffleList() external onlyOwner{ numEntriesSub = 0; } function toggleMainRaffle() public onlyOwner { mainRaffleActive = !mainRaffleActive; } function toggleSubRaffle() public onlyOwner { subRaffleActive = !subRaffleActive; } }
// 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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"numTickets","type":"uint256"}],"name":"enteredMainRaffle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"numTickets","type":"uint256"}],"name":"enteredSubRaffle","type":"event"},{"inputs":[],"name":"BASE_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LEGENDARY_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":[],"name":"UNIQUE_RATE","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":"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":"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":[{"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numEntriesMain","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numEntriesSub","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":"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":[],"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":"uint256","name":"","type":"uint256"}],"name":"tigerClaimedInitialReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"timeStamp","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"}]
Contract Creation Code
6080604052691eb4773b6d1318a00000600655600b805462ffffff191690553480156200002b57600080fd5b50604051620021d2380380620021d28339810160408190526200004e91620001f9565b60405180604001604052806005815260200164141256115360da1b8152506040518060400160405280600381526020016214161360ea1b8152508160039080519060200190620000a092919062000153565b508051620000b690600490602084019062000153565b505050620000d3620000cd620000fd60201b60201c565b62000101565b601180546001600160a01b0319166001600160a01b039290921691909117905542600a5562000266565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001619062000229565b90600052602060002090601f016020900481019282620001855760008555620001d0565b82601f10620001a057805160ff1916838001178555620001d0565b82800160010185558215620001d0579182015b82811115620001d0578251825591602001919060010190620001b3565b50620001de929150620001e2565b5090565b5b80821115620001de5760008155600101620001e3565b6000602082840312156200020b578081fd5b81516001600160a01b038116811462000222578182fd5b9392505050565b600181811c908216806200023e57607f821691505b602082108114156200026057634e487b7160e01b600052602260045260246000fd5b50919050565b611f5c80620002766000396000f3fe608060405234801561001057600080fd5b50600436106102745760003560e01c80638978191211610151578063b88a802f116100c3578063bf70f05911610087578063bf70f0591461051e578063c204642c14610527578063c4d44dcd1461053a578063c5fd507314610542578063dd62ed3e1461054b578063f2fde38b1461058457600080fd5b8063b88a802f146104e3578063b9fc99ec146104eb578063ba9a061a146104f3578063bcc44401146104fc578063bd05131e1461050f57600080fd5b8063a5b78ebb11610115578063a5b78ebb1461048e578063a7161515146104a0578063a9059cbb146104ad578063ac8724cf146104c0578063af36442f146104c8578063af61ee9c146104d057600080fd5b8063897819121461043c5780638da5cb5b1461044f57806395d89b41146104605780639dc29fac14610468578063a457c2d71461047b57600080fd5b80634120657a116101ea5780635a329595116101ae5780635a329595146103ab5780635b89e639146103be5780635bdfa668146103cd578063617ec304146103f857806370a082311461040b578063715018a61461043457600080fd5b80634120657a1461035457806341910f90146102e15780634aae99ec1461037757806352d162d31461038057806354747599146103a357600080fd5b806323b872dd1161023c57806323b872dd146102f0578063313ce56714610303578063351505041461031257806339509351146103255780633a81c9c3146103385780633b16c9d91461034157600080fd5b806306fdde0314610279578063094144a514610297578063095ea7b3146102ac57806318160ddd146102cf5780631a95f15f146102e1575b600080fd5b610281610597565b60405161028e9190611dc4565b60405180910390f35b6102aa6102a5366004611c2d565b610629565b005b6102bf6102ba366004611cf5565b61067e565b604051901515815260200161028e565b6002545b60405190815260200161028e565b6102d3678ac7230489e8000081565b6102bf6102fe366004611c80565b610694565b6040516012815260200161028e565b6102aa610320366004611c2d565b61073e565b6102bf610333366004611cf5565b610771565b6102d360075481565b600b546102bf9062010000900460ff1681565b6102bf610362366004611c2d565b600f6020526000908152604090205460ff1681565b6102d360065481565b6102bf61038e366004611d94565b60106020526000908152604090205460ff1681565b6102aa6107ad565b6102aa6103b9366004611c4e565b6107de565b6102d367d02ab486cedc000081565b6011546103e0906001600160a01b031681565b6040516001600160a01b03909116815260200161028e565b6102aa610406366004611d94565b6108bb565b6102d3610419366004611c2d565b6001600160a01b031660009081526020819052604090205490565b6102aa610a01565b6102aa61044a366004611cbb565b610a37565b6005546001600160a01b03166103e0565b610281610a8c565b6102aa610476366004611cf5565b610a9b565b6102bf610489366004611cf5565b610b2a565b600b546102bf90610100900460ff1681565b600b546102bf9060ff1681565b6102bf6104bb366004611cf5565b610bc3565b6102aa610bd0565b6102aa610c0e565b6102aa6104de366004611d94565b610c57565b6102aa610d90565b6102aa610e3c565b6102d3600a5481565b6102d361050a366004611c2d565b610e6d565b6102d367a688906bd8b0000081565b6102d360095481565b6102aa610535366004611d1e565b610e9f565b6102aa610fcc565b6102d360085481565b6102d3610559366004611c4e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102aa610592366004611c2d565b611013565b6060600380546105a690611eba565b80601f01602080910402602001604051908101604052809291908181526020018280546105d290611eba565b801561061f5780601f106105f45761010080835404028352916020019161061f565b820191906000526020600020905b81548152906001019060200180831161060257829003601f168201915b5050505050905090565b6005546001600160a01b0316331461065c5760405162461bcd60e51b815260040161065390611e17565b60405180910390fd5b601180546001600160a01b0319166001600160a01b0392909216919091179055565b600061068b3384846110ae565b50600192915050565b60006106a18484846111d3565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107265760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610653565b61073385338584036110ae565b506001949350505050565b6011546001600160a01b0316331461075557600080fd5b6001600160a01b03166000908152600c60205260409020429055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161068b9185906107a8908690611e4c565b6110ae565b6005546001600160a01b031633146107d75760405162461bcd60e51b815260040161065390611e17565b6000600855565b6011546001600160a01b031633146107f557600080fd5b6001600160a01b038216156108565761080d826113a2565b6001600160a01b0383166000908152600d602052604081208054909190610835908490611e4c565b90915550506001600160a01b0382166000908152600e602052604090204290555b6001600160a01b038116156108b75761086e816113a2565b6001600160a01b0382166000908152600d602052604081208054909190610896908490611e4c565b90915550506001600160a01b0381166000908152600e602052604090204290555b5050565b6011546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156108ff57600080fd5b505afa158015610913573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109379190611dac565b1161097c5760405162461bcd60e51b8152602060048201526015602482015274446f206e6f74206f776e20616e792054696765727360581b6044820152606401610653565b600b54610100900460ff166109cc5760405162461bcd60e51b81526020600482015260166024820152754d61696e20526166666c65206e6f742061637469766560501b6044820152606401610653565b6109e7336109e2678ac7230489e8000084611e84565b61199f565b80600860008282546109f99190611e4c565b909155505050565b6005546001600160a01b03163314610a2b5760405162461bcd60e51b815260040161065390611e17565b610a356000611ae5565b565b6005546001600160a01b03163314610a615760405162461bcd60e51b815260040161065390611e17565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6060600480546105a690611eba565b336000908152600f602052604090205460ff1680610ac357506011546001600160a01b031633145b610b205760405162461bcd60e51b815260206004820152602860248201527f4164647265737320646f6573206e6f742068617665207065726d697373696f6e604482015267103a3790313ab93760c11b6064820152608401610653565b6108b7828261199f565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610653565b610bb933858584036110ae565b5060019392505050565b600061068b3384846111d3565b6005546001600160a01b03163314610bfa5760405162461bcd60e51b815260040161065390611e17565b600b805460ff19811660ff90911615179055565b6005546001600160a01b03163314610c385760405162461bcd60e51b815260040161065390611e17565b600b805462ff0000198116620100009182900460ff1615909102179055565b6011546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610c9b57600080fd5b505afa158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd39190611dac565b11610d185760405162461bcd60e51b8152602060048201526015602482015274446f206e6f74206f776e20616e792054696765727360581b6044820152606401610653565b600b5462010000900460ff16610d685760405162461bcd60e51b815260206004820152601560248201527453756220526166666c65206e6f742061637469766560581b6044820152606401610653565b610d7e336109e2678ac7230489e8000084611e84565b80600960008282546109f99190611e4c565b600b5460ff1615610dee5760405162461bcd60e51b815260206004820152602260248201527f436c61696d696e67206f662024706978656c20686173206265656e2070617573604482015261195960f21b6064820152608401610653565b336000818152600d6020526040902054610e1b9190610e0c826113a2565b610e169190611e4c565b611b37565b336000908152600d60209081526040808320839055600e9091529020429055565b6005546001600160a01b03163314610e665760405162461bcd60e51b815260040161065390611e17565b6000600955565b6001600160a01b0381166000908152600d6020526040812054610e8f836113a2565b610e999190611e4c565b92915050565b6005546001600160a01b03163314610ec95760405162461bcd60e51b815260040161065390611e17565b6000610ed58284611e84565b610ee790670de0b6b3a7640000611e84565b9050600654811115610f2e5760405162461bcd60e51b815260206004820152601060248201526f139bc81b5bdc99481c995cd95c9d995960821b6044820152606401610653565b60005b83811015610f9557610f83858583818110610f5c57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610f719190611c2d565b610e1685670de0b6b3a7640000611e84565b80610f8d81611ef5565b915050610f31565b508060066000828254610fa89190611ea3565b925050819055508060076000828254610fc19190611e4c565b909155505050505050565b6005546001600160a01b03163314610ff65760405162461bcd60e51b815260040161065390611e17565b600b805461ff001981166101009182900460ff1615909102179055565b6005546001600160a01b0316331461103d5760405162461bcd60e51b815260040161065390611e17565b6001600160a01b0381166110a25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610653565b6110ab81611ae5565b50565b6001600160a01b0383166111105760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610653565b6001600160a01b0382166111715760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610653565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166112375760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610653565b6001600160a01b0382166112995760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610653565b6001600160a01b038316600090815260208190526040902054818110156113115760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610653565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611348908490611e4c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161139491815260200190565b60405180910390a350505050565b6011546040516329ca6ad760e01b81526001600160a01b03838116600483015260009283929116906329ca6ad79060240160206040518083038186803b1580156113eb57600080fd5b505afa1580156113ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114239190611dac565b111561169d57600a546001600160a01b0383166000908152600e60205260409020546201518091111561145857600a54611472565b6001600160a01b0383166000908152600e60205260409020545b61147c9042611ea3565b6011546040516329ca6ad760e01b81526001600160a01b03868116600483015267d02ab486cedc00009216906329ca6ad79060240160206040518083038186803b1580156114c957600080fd5b505afa1580156114dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115019190611dac565b61150b9190611e84565b6115159190611e84565b61151f9190611e64565b600a546001600160a01b0384166000908152600e60205260409020546201518091111561154e57600a54611568565b6001600160a01b0384166000908152600e60205260409020545b6115729042611ea3565b6011546040516329ca6ad760e01b81526001600160a01b038781166004830152678ac7230489e800009216906329ca6ad7906024015b60206040518083038186803b1580156115c057600080fd5b505afa1580156115d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f89190611dac565b601154604051630ed3258160e41b81526001600160a01b0389811660048301529091169063ed3258109060240160206040518083038186803b15801561163d57600080fd5b505afa158015611651573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116759190611dac565b61167f9190611ea3565b6116899190611e84565b6116939190611e84565b610e8f9190611e64565b601154604051633edf2dbd60e01b81526001600160a01b0384811660048301526000921690633edf2dbd9060240160206040518083038186803b1580156116e357600080fd5b505afa1580156116f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171b9190611dac565b11156118a457600a546001600160a01b0383166000908152600e60205260409020546201518091111561175057600a5461176a565b6001600160a01b0383166000908152600e60205260409020545b6117749042611ea3565b601154604051633edf2dbd60e01b81526001600160a01b03868116600483015267a688906bd8b00000921690633edf2dbd9060240160206040518083038186803b1580156117c157600080fd5b505afa1580156117d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f99190611dac565b6118039190611e84565b61180d9190611e84565b6118179190611e64565b600a546001600160a01b0384166000908152600e60205260409020546201518091111561184657600a54611860565b6001600160a01b0384166000908152600e60205260409020545b61186a9042611ea3565b601154604051633edf2dbd60e01b81526001600160a01b038781166004830152678ac7230489e80000921690633edf2dbd906024016115a8565b600a546001600160a01b0383166000908152600e6020526040902054620151809111156118d357600a546118ed565b6001600160a01b0383166000908152600e60205260409020545b6118f79042611ea3565b601154604051630ed3258160e41b81526001600160a01b038681166004830152678ac7230489e8000092169063ed3258109060240160206040518083038186803b15801561194457600080fd5b505afa158015611958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197c9190611dac565b6119869190611e84565b6119909190611e84565b610e999190611e64565b919050565b6001600160a01b0382166119ff5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610653565b6001600160a01b03821660009081526020819052604090205481811015611a735760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610653565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611aa2908490611ea3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016111c6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611b8d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610653565b8060026000828254611b9f9190611e4c565b90915550506001600160a01b03821660009081526020819052604081208054839290611bcc908490611e4c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461199a57600080fd5b600060208284031215611c3e578081fd5b611c4782611c16565b9392505050565b60008060408385031215611c60578081fd5b611c6983611c16565b9150611c7760208401611c16565b90509250929050565b600080600060608486031215611c94578081fd5b611c9d84611c16565b9250611cab60208501611c16565b9150604084013590509250925092565b60008060408385031215611ccd578182fd5b611cd683611c16565b915060208301358015158114611cea578182fd5b809150509250929050565b60008060408385031215611d07578182fd5b611d1083611c16565b946020939093013593505050565b600080600060408486031215611d32578283fd5b833567ffffffffffffffff80821115611d49578485fd5b818601915086601f830112611d5c578485fd5b813581811115611d6a578586fd5b8760208260051b8501011115611d7e578586fd5b6020928301989097509590910135949350505050565b600060208284031215611da5578081fd5b5035919050565b600060208284031215611dbd578081fd5b5051919050565b6000602080835283518082850152825b81811015611df057858101830151858201604001528201611dd4565b81811115611e015783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611e5f57611e5f611f10565b500190565b600082611e7f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611e9e57611e9e611f10565b500290565b600082821015611eb557611eb5611f10565b500390565b600181811c90821680611ece57607f821691505b60208210811415611eef57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f0957611f09611f10565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220621c5b32932a5e8c318f70d46267faa0683342469ad4ae692d891c364e0544c164736f6c63430008040033000000000000000000000000e1b05227824e45f5713ea8bf6e4ad59b3d4a98ef
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102745760003560e01c80638978191211610151578063b88a802f116100c3578063bf70f05911610087578063bf70f0591461051e578063c204642c14610527578063c4d44dcd1461053a578063c5fd507314610542578063dd62ed3e1461054b578063f2fde38b1461058457600080fd5b8063b88a802f146104e3578063b9fc99ec146104eb578063ba9a061a146104f3578063bcc44401146104fc578063bd05131e1461050f57600080fd5b8063a5b78ebb11610115578063a5b78ebb1461048e578063a7161515146104a0578063a9059cbb146104ad578063ac8724cf146104c0578063af36442f146104c8578063af61ee9c146104d057600080fd5b8063897819121461043c5780638da5cb5b1461044f57806395d89b41146104605780639dc29fac14610468578063a457c2d71461047b57600080fd5b80634120657a116101ea5780635a329595116101ae5780635a329595146103ab5780635b89e639146103be5780635bdfa668146103cd578063617ec304146103f857806370a082311461040b578063715018a61461043457600080fd5b80634120657a1461035457806341910f90146102e15780634aae99ec1461037757806352d162d31461038057806354747599146103a357600080fd5b806323b872dd1161023c57806323b872dd146102f0578063313ce56714610303578063351505041461031257806339509351146103255780633a81c9c3146103385780633b16c9d91461034157600080fd5b806306fdde0314610279578063094144a514610297578063095ea7b3146102ac57806318160ddd146102cf5780631a95f15f146102e1575b600080fd5b610281610597565b60405161028e9190611dc4565b60405180910390f35b6102aa6102a5366004611c2d565b610629565b005b6102bf6102ba366004611cf5565b61067e565b604051901515815260200161028e565b6002545b60405190815260200161028e565b6102d3678ac7230489e8000081565b6102bf6102fe366004611c80565b610694565b6040516012815260200161028e565b6102aa610320366004611c2d565b61073e565b6102bf610333366004611cf5565b610771565b6102d360075481565b600b546102bf9062010000900460ff1681565b6102bf610362366004611c2d565b600f6020526000908152604090205460ff1681565b6102d360065481565b6102bf61038e366004611d94565b60106020526000908152604090205460ff1681565b6102aa6107ad565b6102aa6103b9366004611c4e565b6107de565b6102d367d02ab486cedc000081565b6011546103e0906001600160a01b031681565b6040516001600160a01b03909116815260200161028e565b6102aa610406366004611d94565b6108bb565b6102d3610419366004611c2d565b6001600160a01b031660009081526020819052604090205490565b6102aa610a01565b6102aa61044a366004611cbb565b610a37565b6005546001600160a01b03166103e0565b610281610a8c565b6102aa610476366004611cf5565b610a9b565b6102bf610489366004611cf5565b610b2a565b600b546102bf90610100900460ff1681565b600b546102bf9060ff1681565b6102bf6104bb366004611cf5565b610bc3565b6102aa610bd0565b6102aa610c0e565b6102aa6104de366004611d94565b610c57565b6102aa610d90565b6102aa610e3c565b6102d3600a5481565b6102d361050a366004611c2d565b610e6d565b6102d367a688906bd8b0000081565b6102d360095481565b6102aa610535366004611d1e565b610e9f565b6102aa610fcc565b6102d360085481565b6102d3610559366004611c4e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102aa610592366004611c2d565b611013565b6060600380546105a690611eba565b80601f01602080910402602001604051908101604052809291908181526020018280546105d290611eba565b801561061f5780601f106105f45761010080835404028352916020019161061f565b820191906000526020600020905b81548152906001019060200180831161060257829003601f168201915b5050505050905090565b6005546001600160a01b0316331461065c5760405162461bcd60e51b815260040161065390611e17565b60405180910390fd5b601180546001600160a01b0319166001600160a01b0392909216919091179055565b600061068b3384846110ae565b50600192915050565b60006106a18484846111d3565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107265760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610653565b61073385338584036110ae565b506001949350505050565b6011546001600160a01b0316331461075557600080fd5b6001600160a01b03166000908152600c60205260409020429055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161068b9185906107a8908690611e4c565b6110ae565b6005546001600160a01b031633146107d75760405162461bcd60e51b815260040161065390611e17565b6000600855565b6011546001600160a01b031633146107f557600080fd5b6001600160a01b038216156108565761080d826113a2565b6001600160a01b0383166000908152600d602052604081208054909190610835908490611e4c565b90915550506001600160a01b0382166000908152600e602052604090204290555b6001600160a01b038116156108b75761086e816113a2565b6001600160a01b0382166000908152600d602052604081208054909190610896908490611e4c565b90915550506001600160a01b0381166000908152600e602052604090204290555b5050565b6011546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156108ff57600080fd5b505afa158015610913573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109379190611dac565b1161097c5760405162461bcd60e51b8152602060048201526015602482015274446f206e6f74206f776e20616e792054696765727360581b6044820152606401610653565b600b54610100900460ff166109cc5760405162461bcd60e51b81526020600482015260166024820152754d61696e20526166666c65206e6f742061637469766560501b6044820152606401610653565b6109e7336109e2678ac7230489e8000084611e84565b61199f565b80600860008282546109f99190611e4c565b909155505050565b6005546001600160a01b03163314610a2b5760405162461bcd60e51b815260040161065390611e17565b610a356000611ae5565b565b6005546001600160a01b03163314610a615760405162461bcd60e51b815260040161065390611e17565b6001600160a01b03919091166000908152600f60205260409020805460ff1916911515919091179055565b6060600480546105a690611eba565b336000908152600f602052604090205460ff1680610ac357506011546001600160a01b031633145b610b205760405162461bcd60e51b815260206004820152602860248201527f4164647265737320646f6573206e6f742068617665207065726d697373696f6e604482015267103a3790313ab93760c11b6064820152608401610653565b6108b7828261199f565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610bac5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610653565b610bb933858584036110ae565b5060019392505050565b600061068b3384846111d3565b6005546001600160a01b03163314610bfa5760405162461bcd60e51b815260040161065390611e17565b600b805460ff19811660ff90911615179055565b6005546001600160a01b03163314610c385760405162461bcd60e51b815260040161065390611e17565b600b805462ff0000198116620100009182900460ff1615909102179055565b6011546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b158015610c9b57600080fd5b505afa158015610caf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd39190611dac565b11610d185760405162461bcd60e51b8152602060048201526015602482015274446f206e6f74206f776e20616e792054696765727360581b6044820152606401610653565b600b5462010000900460ff16610d685760405162461bcd60e51b815260206004820152601560248201527453756220526166666c65206e6f742061637469766560581b6044820152606401610653565b610d7e336109e2678ac7230489e8000084611e84565b80600960008282546109f99190611e4c565b600b5460ff1615610dee5760405162461bcd60e51b815260206004820152602260248201527f436c61696d696e67206f662024706978656c20686173206265656e2070617573604482015261195960f21b6064820152608401610653565b336000818152600d6020526040902054610e1b9190610e0c826113a2565b610e169190611e4c565b611b37565b336000908152600d60209081526040808320839055600e9091529020429055565b6005546001600160a01b03163314610e665760405162461bcd60e51b815260040161065390611e17565b6000600955565b6001600160a01b0381166000908152600d6020526040812054610e8f836113a2565b610e999190611e4c565b92915050565b6005546001600160a01b03163314610ec95760405162461bcd60e51b815260040161065390611e17565b6000610ed58284611e84565b610ee790670de0b6b3a7640000611e84565b9050600654811115610f2e5760405162461bcd60e51b815260206004820152601060248201526f139bc81b5bdc99481c995cd95c9d995960821b6044820152606401610653565b60005b83811015610f9557610f83858583818110610f5c57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610f719190611c2d565b610e1685670de0b6b3a7640000611e84565b80610f8d81611ef5565b915050610f31565b508060066000828254610fa89190611ea3565b925050819055508060076000828254610fc19190611e4c565b909155505050505050565b6005546001600160a01b03163314610ff65760405162461bcd60e51b815260040161065390611e17565b600b805461ff001981166101009182900460ff1615909102179055565b6005546001600160a01b0316331461103d5760405162461bcd60e51b815260040161065390611e17565b6001600160a01b0381166110a25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610653565b6110ab81611ae5565b50565b6001600160a01b0383166111105760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610653565b6001600160a01b0382166111715760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610653565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166112375760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610653565b6001600160a01b0382166112995760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610653565b6001600160a01b038316600090815260208190526040902054818110156113115760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610653565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611348908490611e4c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161139491815260200190565b60405180910390a350505050565b6011546040516329ca6ad760e01b81526001600160a01b03838116600483015260009283929116906329ca6ad79060240160206040518083038186803b1580156113eb57600080fd5b505afa1580156113ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114239190611dac565b111561169d57600a546001600160a01b0383166000908152600e60205260409020546201518091111561145857600a54611472565b6001600160a01b0383166000908152600e60205260409020545b61147c9042611ea3565b6011546040516329ca6ad760e01b81526001600160a01b03868116600483015267d02ab486cedc00009216906329ca6ad79060240160206040518083038186803b1580156114c957600080fd5b505afa1580156114dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115019190611dac565b61150b9190611e84565b6115159190611e84565b61151f9190611e64565b600a546001600160a01b0384166000908152600e60205260409020546201518091111561154e57600a54611568565b6001600160a01b0384166000908152600e60205260409020545b6115729042611ea3565b6011546040516329ca6ad760e01b81526001600160a01b038781166004830152678ac7230489e800009216906329ca6ad7906024015b60206040518083038186803b1580156115c057600080fd5b505afa1580156115d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f89190611dac565b601154604051630ed3258160e41b81526001600160a01b0389811660048301529091169063ed3258109060240160206040518083038186803b15801561163d57600080fd5b505afa158015611651573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116759190611dac565b61167f9190611ea3565b6116899190611e84565b6116939190611e84565b610e8f9190611e64565b601154604051633edf2dbd60e01b81526001600160a01b0384811660048301526000921690633edf2dbd9060240160206040518083038186803b1580156116e357600080fd5b505afa1580156116f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171b9190611dac565b11156118a457600a546001600160a01b0383166000908152600e60205260409020546201518091111561175057600a5461176a565b6001600160a01b0383166000908152600e60205260409020545b6117749042611ea3565b601154604051633edf2dbd60e01b81526001600160a01b03868116600483015267a688906bd8b00000921690633edf2dbd9060240160206040518083038186803b1580156117c157600080fd5b505afa1580156117d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f99190611dac565b6118039190611e84565b61180d9190611e84565b6118179190611e64565b600a546001600160a01b0384166000908152600e60205260409020546201518091111561184657600a54611860565b6001600160a01b0384166000908152600e60205260409020545b61186a9042611ea3565b601154604051633edf2dbd60e01b81526001600160a01b038781166004830152678ac7230489e80000921690633edf2dbd906024016115a8565b600a546001600160a01b0383166000908152600e6020526040902054620151809111156118d357600a546118ed565b6001600160a01b0383166000908152600e60205260409020545b6118f79042611ea3565b601154604051630ed3258160e41b81526001600160a01b038681166004830152678ac7230489e8000092169063ed3258109060240160206040518083038186803b15801561194457600080fd5b505afa158015611958573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061197c9190611dac565b6119869190611e84565b6119909190611e84565b610e999190611e64565b919050565b6001600160a01b0382166119ff5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610653565b6001600160a01b03821660009081526020819052604090205481811015611a735760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610653565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611aa2908490611ea3565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016111c6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216611b8d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610653565b8060026000828254611b9f9190611e4c565b90915550506001600160a01b03821660009081526020819052604081208054839290611bcc908490611e4c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b80356001600160a01b038116811461199a57600080fd5b600060208284031215611c3e578081fd5b611c4782611c16565b9392505050565b60008060408385031215611c60578081fd5b611c6983611c16565b9150611c7760208401611c16565b90509250929050565b600080600060608486031215611c94578081fd5b611c9d84611c16565b9250611cab60208501611c16565b9150604084013590509250925092565b60008060408385031215611ccd578182fd5b611cd683611c16565b915060208301358015158114611cea578182fd5b809150509250929050565b60008060408385031215611d07578182fd5b611d1083611c16565b946020939093013593505050565b600080600060408486031215611d32578283fd5b833567ffffffffffffffff80821115611d49578485fd5b818601915086601f830112611d5c578485fd5b813581811115611d6a578586fd5b8760208260051b8501011115611d7e578586fd5b6020928301989097509590910135949350505050565b600060208284031215611da5578081fd5b5035919050565b600060208284031215611dbd578081fd5b5051919050565b6000602080835283518082850152825b81811015611df057858101830151858201604001528201611dd4565b81811115611e015783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611e5f57611e5f611f10565b500190565b600082611e7f57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611e9e57611e9e611f10565b500290565b600082821015611eb557611eb5611f10565b500390565b600181811c90821680611ece57607f821691505b60208210811415611eef57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f0957611f09611f10565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220621c5b32932a5e8c318f70d46267faa0683342469ad4ae692d891c364e0544c164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e1b05227824e45f5713ea8bf6e4ad59b3d4a98ef
-----Decoded View---------------
Arg [0] : nftAddress (address): 0xe1B05227824E45F5713ea8bF6e4Ad59b3d4A98ef
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e1b05227824e45f5713ea8bf6e4ad59b3d4a98ef
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.