Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
4,399,239.878425897770790704 BLOOD
Holders
4,410
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3.839016203700479134 BLOODValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SVSGraveyard
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 pragma solidity ^0.8.4; /* ββββββββ ββββββ βββββ ββββββββ βββ ββ βββ βββ βββ ββ βββββ βββ βββ βββββ βββββββ βββ ββ βββββββ β βββ ββββββ β βββ ββ ββ ββββ ββ ββ ββββββββ ββ ββββββββ $BLOOD Token / 2021 / SVS Graveyard */ import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; contract SVSGraveyard is ERC20Burnable, Ownable { uint256 public constant MAX_WALLET_BURIED = 30; uint256 public constant SVS_EMISSIONS_RATE = 34722222222222; // 3 per day uint256 public constant SBS_EMISSIONS_RATE = 11574074074074; // 1 per day address public constant SVS_ADDRESS = 0x219B8aB790dECC32444a6600971c7C3718252539; address public constant SBS_ADDRESS = 0xeE0BA89699A3dd0f08CB516C069D81a762f65E56; bool public stakingLive = false; mapping(uint256 => uint256) internal SVSTokenIdTimeStaked; mapping(uint256 => address) internal SVSTokenIdToBurier; mapping(address => uint256[]) internal burierToSVSTokenIds; mapping(uint256 => uint256) internal SBSTokenIdTimeStaked; mapping(uint256 => address) internal SBSTokenIdToBurier; mapping(address => uint256[]) internal burierToSBSTokenIds; IERC721Enumerable private constant _svsIERC721Enumerable = IERC721Enumerable(SVS_ADDRESS); IERC721Enumerable private constant _sbsIERC721Enumerable = IERC721Enumerable(SBS_ADDRESS); constructor() ERC20("Blood", "BLOOD") { } modifier stakingEnabled { require(stakingLive, "STAKING_NOT_LIVE"); _; } function getVampsBuried(address burier) public view returns (uint256[] memory) { return burierToSVSTokenIds[burier]; } function getBatsBuried(address burier) public view returns (uint256[] memory) { return burierToSBSTokenIds[burier]; } function getBuriedCount(address burier) public view returns (uint256) { return burierToSVSTokenIds[burier].length + burierToSBSTokenIds[burier].length; } function removeTokenIdFromArray(uint256[] storage array, uint256 tokenId) internal { uint256 length = array.length; for (uint256 i = 0; i < length; i++) { if (array[i] == tokenId) { length--; if (i < length) { array[i] = array[length]; } array.pop(); break; } } } function buryVampsByIds(uint256[] memory tokenIds) public stakingEnabled { require(getBuriedCount(msg.sender) + tokenIds.length <= MAX_WALLET_BURIED, "MAX_TOKENS_BURRIED_PER_WALLET"); for (uint256 i = 0; i < tokenIds.length; i++) { uint256 id = tokenIds[i]; require(_svsIERC721Enumerable.ownerOf(id) == msg.sender && SVSTokenIdToBurier[id] == address(0), "TOKEN_IS_NOT_YOURS"); _svsIERC721Enumerable.transferFrom(msg.sender, address(this), id); burierToSVSTokenIds[msg.sender].push(id); SVSTokenIdTimeStaked[id] = block.timestamp; SVSTokenIdToBurier[id] = msg.sender; } } function buryBatsByIds(uint256[] memory tokenIds) public stakingEnabled { require(getBuriedCount(msg.sender) + tokenIds.length <= MAX_WALLET_BURIED, "MAX_TOKENS_BURIED_PER_WALLET"); for (uint256 i = 0; i < tokenIds.length; i++) { uint256 id = tokenIds[i]; require(_sbsIERC721Enumerable.ownerOf(id) == msg.sender && SBSTokenIdToBurier[id] == address(0), "TOKEN_IS_NOT_YOURS"); _sbsIERC721Enumerable.transferFrom(msg.sender, address(this), id); burierToSBSTokenIds[msg.sender].push(id); SBSTokenIdTimeStaked[id] = block.timestamp; SBSTokenIdToBurier[id] = msg.sender; } } function unstakeAll() public { require(getBuriedCount(msg.sender) > 0, "MUST_ATLEAST_BE_BURIED_ONCE"); uint256 totalRewards = 0; for (uint256 i = burierToSVSTokenIds[msg.sender].length; i > 0; i--) { uint256 tokenId = burierToSVSTokenIds[msg.sender][i - 1]; _svsIERC721Enumerable.transferFrom(address(this), msg.sender, tokenId); totalRewards += ((block.timestamp - SVSTokenIdTimeStaked[tokenId]) * SVS_EMISSIONS_RATE); burierToSVSTokenIds[msg.sender].pop(); SVSTokenIdToBurier[tokenId] = address(0); } for (uint256 i = burierToSBSTokenIds[msg.sender].length; i > 0; i--) { uint256 tokenId = burierToSBSTokenIds[msg.sender][i - 1]; _sbsIERC721Enumerable.transferFrom(address(this), msg.sender, tokenId); totalRewards += ((block.timestamp - SBSTokenIdTimeStaked[tokenId]) * SBS_EMISSIONS_RATE); burierToSBSTokenIds[msg.sender].pop(); SBSTokenIdToBurier[tokenId] = address(0); } _mint(msg.sender, totalRewards); } function unstakeVampsByIds(uint256[] memory tokenIds) public { uint256 totalRewards = 0; for (uint256 i = 0; i < tokenIds.length; i++) { uint256 id = tokenIds[i]; require(SVSTokenIdToBurier[id] == msg.sender, "NOT_ORIGINAL_BURIER"); _svsIERC721Enumerable.transferFrom(address(this), msg.sender, id); totalRewards += ((block.timestamp - SVSTokenIdTimeStaked[id]) * SVS_EMISSIONS_RATE); removeTokenIdFromArray(burierToSVSTokenIds[msg.sender], id); SVSTokenIdToBurier[id] = address(0); } _mint(msg.sender, totalRewards); } function unstakeBatsByIds(uint256[] memory tokenIds) public { uint256 totalRewards = 0; for (uint256 i = 0; i < tokenIds.length; i++) { uint256 id = tokenIds[i]; require(SBSTokenIdToBurier[id] == msg.sender, "NOT_ORIGINAL_BURIER"); _sbsIERC721Enumerable.transferFrom(address(this), msg.sender, id); totalRewards += ((block.timestamp - SBSTokenIdTimeStaked[id]) * SBS_EMISSIONS_RATE); removeTokenIdFromArray(burierToSBSTokenIds[msg.sender], id); SBSTokenIdToBurier[id] = address(0); } _mint(msg.sender, totalRewards); } function claimByVampTokenId(uint256 tokenId) public { require(SVSTokenIdToBurier[tokenId] == msg.sender, "NOT_BURIED_BY_YOU"); _mint(msg.sender, ((block.timestamp - SVSTokenIdTimeStaked[tokenId]) * SVS_EMISSIONS_RATE)); SVSTokenIdTimeStaked[tokenId] = block.timestamp; } function claimByBatTokenId(uint256 tokenId) public { require(SBSTokenIdToBurier[tokenId] == msg.sender, "NOT_BURIED_BY_YOU"); _mint(msg.sender, ((block.timestamp - SBSTokenIdTimeStaked[tokenId]) * SBS_EMISSIONS_RATE)); SBSTokenIdTimeStaked[tokenId] = block.timestamp; } function claimAll() public { uint256 totalRewards = 0; uint256[] memory vampTokenIds = burierToSVSTokenIds[msg.sender]; for (uint256 i = 0; i < vampTokenIds.length; i++) { uint256 id = vampTokenIds[i]; require(SVSTokenIdToBurier[id] == msg.sender, "NOT_BURIED_BY_YOU"); totalRewards += ((block.timestamp - SVSTokenIdTimeStaked[id]) * SVS_EMISSIONS_RATE); SVSTokenIdTimeStaked[id] = block.timestamp; } uint256[] memory batTokenIds = burierToSBSTokenIds[msg.sender]; for (uint256 i = 0; i < batTokenIds.length; i++) { uint256 id = batTokenIds[i]; require(SBSTokenIdToBurier[id] == msg.sender, "NOT_BURIED_BY_YOU"); totalRewards += ((block.timestamp - SBSTokenIdTimeStaked[id]) * SBS_EMISSIONS_RATE); SBSTokenIdTimeStaked[id] = block.timestamp; } _mint(msg.sender, totalRewards); } function getAllRewards(address burier) public view returns (uint256) { uint256 totalRewards = 0; uint256[] memory vampTokenIds = burierToSVSTokenIds[burier]; for (uint256 i = 0; i < vampTokenIds.length; i++) { totalRewards += ((block.timestamp - SVSTokenIdTimeStaked[vampTokenIds[i]]) * SVS_EMISSIONS_RATE); } uint256[] memory batTokenIds = burierToSBSTokenIds[burier]; for (uint256 i = 0; i < batTokenIds.length; i++) { totalRewards += ((block.timestamp - SBSTokenIdTimeStaked[batTokenIds[i]]) * SBS_EMISSIONS_RATE); } return totalRewards; } function getRewardsByVampTokenId(uint256 tokenId) public view returns (uint256) { require(SVSTokenIdToBurier[tokenId] != address(0), "TOKEN_NOT_BURIED"); uint256 secondsStaked = block.timestamp - SVSTokenIdTimeStaked[tokenId]; return secondsStaked * SVS_EMISSIONS_RATE; } function getRewardsByBatTokenId(uint256 tokenId) public view returns (uint256) { require(SBSTokenIdToBurier[tokenId] != address(0), "TOKEN_NOT_BURIED"); uint256 secondsStaked = block.timestamp - SBSTokenIdTimeStaked[tokenId]; return secondsStaked * SBS_EMISSIONS_RATE; } function getVampBurier(uint256 tokenId) public view returns (address) { return SVSTokenIdToBurier[tokenId]; } function getBatBurier(uint256 tokenId) public view returns (address) { return SBSTokenIdToBurier[tokenId]; } function toggle() external onlyOwner { stakingLive = !stakingLive; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// 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; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); unchecked { _approve(account, _msgSender(), currentAllowance - amount); } _burn(account, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// 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; } }
// 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; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// 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 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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"MAX_WALLET_BURIED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SBS_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SBS_EMISSIONS_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SVS_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SVS_EMISSIONS_RATE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"buryBatsByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"buryVampsByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimByBatTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimByVampTokenId","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":"address","name":"burier","type":"address"}],"name":"getAllRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getBatBurier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"burier","type":"address"}],"name":"getBatsBuried","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"burier","type":"address"}],"name":"getBuriedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRewardsByBatTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRewardsByVampTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getVampBurier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"burier","type":"address"}],"name":"getVampsBuried","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unstakeAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeBatsByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeVampsByIds","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526005805460ff60a01b191690553480156200001e57600080fd5b5060405180604001604052806005815260200164109b1bdbd960da1b81525060405180604001604052806005815260200164109313d3d160da1b81525081600390805190602001906200007392919062000102565b5080516200008990600490602084019062000102565b505050620000a6620000a0620000ac60201b60201c565b620000b0565b620001e5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011090620001a8565b90600052602060002090601f0160209004810192826200013457600085556200017f565b82601f106200014f57805160ff19168380011785556200017f565b828001600101855582156200017f579182015b828111156200017f57825182559160200191906001019062000162565b506200018d92915062000191565b5090565b5b808211156200018d576000815560010162000192565b600181811c90821680620001bd57607f821691505b60208210811415620001df57634e487b7160e01b600052602260045260246000fd5b50919050565b6126f480620001f56000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c8063715018a61161013b578063b9273579116100b8578063d824a43d1161007c578063d824a43d14610512578063d92656a71461051a578063dd62ed3e1461052e578063e1f5166f14610567578063f2fde38b1461057a57600080fd5b8063b927357914610493578063c342914d146104a6578063c7b72acc146104c1578063d1058e59146104e1578063d34b2357146104e957600080fd5b80638da5cb5b116100ff5780638da5cb5b1461044157806395d89b411461045257806399e856221461045a578063a457c2d71461046d578063a9059cbb1461048057600080fd5b8063715018a6146103f35780637974770b146103fb57806379cc6790146104085780637dd54ea71461041b5780638d12cba21461042e57600080fd5b806335322f37116101c957806342966c681161018d57806342966c681461037e5780634ea0e6fe14610391578063508241a4146103a45780635f4e0073146103b757806370a08231146103ca57600080fd5b806335322f371461031f578063362a3fad14610327578063395093511461033a5780633d9499551461034d57806340a3d2461461037657600080fd5b80631c4ce9d1116102105780631c4ce9d1146102aa57806322ebd20e146102bd57806323b872dd146102ca5780632a30d513146102dd578063313ce5671461031057600080fd5b806306fdde0314610242578063095ea7b31461026057806318160ddd14610283578063188bcac614610295575b600080fd5b61024a61058d565b604051610257919061250f565b60405180910390f35b61027361026e3660046123a4565b61061f565b6040519015158152602001610257565b6002545b604051908152602001610257565b6102a86102a33660046123cf565b610635565b005b6102a86102b83660046123cf565b6107d0565b610287651f9465b8ab8e81565b6102736102d8366004612364565b610a79565b6102f873219b8ab790decc32444a6600971c7c371825253981565b6040516001600160a01b039091168152602001610257565b60405160128152602001610257565b6102a8610b23565b6102876103353660046122f4565b610e78565b6102736103483660046123a4565b611055565b6102f861035b36600461248f565b6000908152600760205260409020546001600160a01b031690565b6102a8611091565b6102a861038c36600461248f565b6110dc565b6102a861039f36600461248f565b6110e6565b6102a86103b236600461248f565b611165565b6102a86103c53660046123cf565b6111d5565b6102876103d83660046122f4565b6001600160a01b031660009081526020819052604090205490565b6102a861147e565b610287650a86cc92e3da81565b6102a86104163660046123a4565b6114b4565b6102876104293660046122f4565b61153a565b61028761043c36600461248f565b61156e565b6005546001600160a01b03166102f8565b61024a6115f7565b61028761046836600461248f565b611606565b61027361047b3660046123a4565b611688565b61027361048e3660046123a4565b611721565b6102a86104a13660046123cf565b61172e565b6102f873ee0ba89699a3dd0f08cb516c069d81a762f65e5681565b6104d46104cf3660046122f4565b6118b5565b60405161025791906124cb565b6102a8611921565b6102f86104f736600461248f565b6000908152600a60205260409020546001600160a01b031690565b610287601e81565b60055461027390600160a01b900460ff1681565b61028761053c36600461232c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104d46105753660046122f4565b611b84565b6102a86105883660046122f4565b611bee565b60606003805461059c90612627565b80601f01602080910402602001604051908101604052809291908181526020018280546105c890612627565b80156106155780601f106105ea57610100808354040283529160200191610615565b820191906000526020600020905b8154815290600101906020018083116105f857829003601f168201915b5050505050905090565b600061062c338484611c86565b50600192915050565b6000805b82518110156107c157600083828151811061066457634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516000818152600a9092526040909120549091506001600160a01b031633146106d55760405162461bcd60e51b81526020600482015260136024820152722727aa2fa7a924a3a4a720a62fa12aa924a2a960691b60448201526064015b60405180910390fd5b6040516323b872dd60e01b815273ee0ba89699a3dd0f08cb516c069d81a762f65e56906323b872dd90610710903090339086906004016124a7565b600060405180830381600087803b15801561072a57600080fd5b505af115801561073e573d6000803e3d6000fd5b505050600082815260096020526040902054650a86cc92e3da915061076390426125f9565b61076d91906125da565b61077790846125c2565b336000908152600b602052604090209093506107939082611daa565b6000908152600a6020526040902080546001600160a01b0319169055806107b981612662565b915050610639565b506107cc3382611ea7565b5050565b600554600160a01b900460ff1661081c5760405162461bcd60e51b815260206004820152601060248201526f5354414b494e475f4e4f545f4c49564560801b60448201526064016106cc565b601e81516108293361153a565b61083391906125c2565b11156108815760405162461bcd60e51b815260206004820152601c60248201527f4d41585f544f4b454e535f4255524945445f5045525f57414c4c45540000000060448201526064016106cc565b60005b81518110156107cc5760008282815181106108af57634e487b7160e01b600052603260045260246000fd5b60209081029190910101516040516331a9108f60e11b815260048101829052909150339073ee0ba89699a3dd0f08cb516c069d81a762f65e5690636352211e9060240160206040518083038186803b15801561090a57600080fd5b505afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109429190612310565b6001600160a01b031614801561096d57506000818152600a60205260409020546001600160a01b0316155b6109ae5760405162461bcd60e51b8152602060048201526012602482015271544f4b454e5f49535f4e4f545f594f55525360701b60448201526064016106cc565b6040516323b872dd60e01b815273ee0ba89699a3dd0f08cb516c069d81a762f65e56906323b872dd906109e9903390309086906004016124a7565b600060405180830381600087803b158015610a0357600080fd5b505af1158015610a17573d6000803e3d6000fd5b5050336000818152600b6020908152604080832080546001810182559084528284200187905595825260098152858220429055600a90529390932080546001600160a01b03191690931790925550819050610a7181612662565b915050610884565b6000610a86848484611f86565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610b0b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016106cc565b610b188533858403611c86565b506001949350505050565b6000610b2e3361153a565b11610b7b5760405162461bcd60e51b815260206004820152601b60248201527f4d5553545f41544c454153545f42455f4255524945445f4f4e4345000000000060448201526064016106cc565b336000908152600860205260408120545b8015610cf257336000908152600860205260408120610bac6001846125f9565b81548110610bca57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516323b872dd60e01b815290915073219b8ab790decc32444a6600971c7c3718252539906323b872dd90610c14903090339086906004016124a7565b600060405180830381600087803b158015610c2e57600080fd5b505af1158015610c42573d6000803e3d6000fd5b505050600082815260066020526040902054651f9465b8ab8e9150610c6790426125f9565b610c7191906125da565b610c7b90846125c2565b33600090815260086020526040902080549194509080610cab57634e487b7160e01b600052603160045260246000fd5b60008281526020808220830160001990810183905590920190925591815260079091526040902080546001600160a01b031916905580610cea81612610565b915050610b8c565b50336000908152600b60205260409020545b8015610e6a57336000908152600b60205260408120610d246001846125f9565b81548110610d4257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516323b872dd60e01b815290915073ee0ba89699a3dd0f08cb516c069d81a762f65e56906323b872dd90610d8c903090339086906004016124a7565b600060405180830381600087803b158015610da657600080fd5b505af1158015610dba573d6000803e3d6000fd5b505050600082815260096020526040902054650a86cc92e3da9150610ddf90426125f9565b610de991906125da565b610df390846125c2565b336000908152600b6020526040902080549194509080610e2357634e487b7160e01b600052603160045260246000fd5b600082815260208082208301600019908101839055909201909255918152600a9091526040902080546001600160a01b031916905580610e6281612610565b915050610d04565b50610e753382611ea7565b50565b6001600160a01b0381166000908152600860209081526040808320805482518185028101850190935280835284938493929190830182828015610eda57602002820191906000526020600020905b815481526020019060010190808311610ec6575b5050505050905060005b8151811015610f6257651f9465b8ab8e60066000848481518110610f1857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000205442610f3a91906125f9565b610f4491906125da565b610f4e90846125c2565b925080610f5a81612662565b915050610ee4565b506001600160a01b0384166000908152600b6020908152604080832080548251818502810185019093528083529192909190830182828015610fc357602002820191906000526020600020905b815481526020019060010190808311610faf575b5050505050905060005b815181101561104b57650a86cc92e3da6009600084848151811061100157634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020544261102391906125f9565b61102d91906125da565b61103790856125c2565b93508061104381612662565b915050610fcd565b5091949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161062c91859061108c9086906125c2565b611c86565b6005546001600160a01b031633146110bb5760405162461bcd60e51b81526004016106cc9061258d565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610e753382612154565b6000818152600a60205260409020546001600160a01b0316331461111c5760405162461bcd60e51b81526004016106cc90612562565b600081815260096020526040902054611152903390650a86cc92e3da9061114390426125f9565b61114d91906125da565b611ea7565b6000908152600960205260409020429055565b6000818152600760205260409020546001600160a01b0316331461119b5760405162461bcd60e51b81526004016106cc90612562565b6000818152600660205260409020546111c2903390651f9465b8ab8e9061114390426125f9565b6000908152600660205260409020429055565b600554600160a01b900460ff166112215760405162461bcd60e51b815260206004820152601060248201526f5354414b494e475f4e4f545f4c49564560801b60448201526064016106cc565b601e815161122e3361153a565b61123891906125c2565b11156112865760405162461bcd60e51b815260206004820152601d60248201527f4d41585f544f4b454e535f425552524945445f5045525f57414c4c455400000060448201526064016106cc565b60005b81518110156107cc5760008282815181106112b457634e487b7160e01b600052603260045260246000fd5b60209081029190910101516040516331a9108f60e11b815260048101829052909150339073219b8ab790decc32444a6600971c7c371825253990636352211e9060240160206040518083038186803b15801561130f57600080fd5b505afa158015611323573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113479190612310565b6001600160a01b031614801561137257506000818152600760205260409020546001600160a01b0316155b6113b35760405162461bcd60e51b8152602060048201526012602482015271544f4b454e5f49535f4e4f545f594f55525360701b60448201526064016106cc565b6040516323b872dd60e01b815273219b8ab790decc32444a6600971c7c3718252539906323b872dd906113ee903390309086906004016124a7565b600060405180830381600087803b15801561140857600080fd5b505af115801561141c573d6000803e3d6000fd5b505033600081815260086020908152604080832080546001810182559084528284200187905595825260068152858220429055600790529390932080546001600160a01b0319169093179092555081905061147681612662565b915050611289565b6005546001600160a01b031633146114a85760405162461bcd60e51b81526004016106cc9061258d565b6114b260006122a2565b565b60006114c0833361053c565b90508181101561151e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016106cc565b61152b8333848403611c86565b6115358383612154565b505050565b6001600160a01b0381166000908152600b6020908152604080832054600890925282205461156891906125c2565b92915050565b6000818152600760205260408120546001600160a01b03166115c55760405162461bcd60e51b815260206004820152601060248201526f1513d2d15397d393d517d0955492515160821b60448201526064016106cc565b6000828152600660205260408120546115de90426125f9565b90506115f0651f9465b8ab8e826125da565b9392505050565b60606004805461059c90612627565b6000818152600a60205260408120546001600160a01b031661165d5760405162461bcd60e51b815260206004820152601060248201526f1513d2d15397d393d517d0955492515160821b60448201526064016106cc565b60008281526009602052604081205461167690426125f9565b90506115f0650a86cc92e3da826125da565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561170a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106cc565b6117173385858403611c86565b5060019392505050565b600061062c338484611f86565b6000805b82518110156107c157600083828151811061175d57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600081815260079092526040909120549091506001600160a01b031633146117c95760405162461bcd60e51b81526020600482015260136024820152722727aa2fa7a924a3a4a720a62fa12aa924a2a960691b60448201526064016106cc565b6040516323b872dd60e01b815273219b8ab790decc32444a6600971c7c3718252539906323b872dd90611804903090339086906004016124a7565b600060405180830381600087803b15801561181e57600080fd5b505af1158015611832573d6000803e3d6000fd5b505050600082815260066020526040902054651f9465b8ab8e915061185790426125f9565b61186191906125da565b61186b90846125c2565b3360009081526008602052604090209093506118879082611daa565b600090815260076020526040902080546001600160a01b0319169055806118ad81612662565b915050611732565b6001600160a01b0381166000908152600b602090815260409182902080548351818402810184019094528084526060939283018282801561191557602002820191906000526020600020905b815481526020019060010190808311611901575b50505050509050919050565b3360009081526008602090815260408083208054825181850281018501909352808352849383018282801561197557602002820191906000526020600020905b815481526020019060010190808311611961575b5050505050905060005b8151811015611a4b5760008282815181106119aa57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600081815260079092526040909120549091506001600160a01b031633146119f05760405162461bcd60e51b81526004016106cc90612562565b600081815260066020526040902054651f9465b8ab8e90611a1190426125f9565b611a1b91906125da565b611a2590856125c2565b600091825260066020526040909120429055925080611a4381612662565b91505061197f565b50336000908152600b6020908152604080832080548251818502810185019093528083529192909190830182828015611aa357602002820191906000526020600020905b815481526020019060010190808311611a8f575b5050505050905060005b8151811015611b79576000828281518110611ad857634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516000818152600a9092526040909120549091506001600160a01b03163314611b1e5760405162461bcd60e51b81526004016106cc90612562565b600081815260096020526040902054650a86cc92e3da90611b3f90426125f9565b611b4991906125da565b611b5390866125c2565b600091825260096020526040909120429055935080611b7181612662565b915050611aad565b506115353384611ea7565b6001600160a01b03811660009081526008602090815260409182902080548351818402810184019094528084526060939283018282801561191557602002820191906000526020600020908154815260200190600101908083116119015750505050509050919050565b6005546001600160a01b03163314611c185760405162461bcd60e51b81526004016106cc9061258d565b6001600160a01b038116611c7d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106cc565b610e75816122a2565b6001600160a01b038316611ce85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106cc565b6001600160a01b038216611d495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106cc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b815460005b81811015611ea15782848281548110611dd857634e487b7160e01b600052603260045260246000fd5b90600052602060002001541415611e8f5781611df381612610565b92505081811015611e5657838281548110611e1e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154848281548110611e4957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555b83805480611e7457634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055611ea1565b80611e9981612662565b915050611daf565b50505050565b6001600160a01b038216611efd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106cc565b8060026000828254611f0f91906125c2565b90915550506001600160a01b03821660009081526020819052604081208054839290611f3c9084906125c2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316611fea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106cc565b6001600160a01b03821661204c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106cc565b6001600160a01b038316600090815260208190526040902054818110156120c45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106cc565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906120fb9084906125c2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161214791815260200190565b60405180910390a3611ea1565b6001600160a01b0382166121b45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106cc565b6001600160a01b038216600090815260208190526040902054818110156122285760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106cc565b6001600160a01b03831660009081526020819052604081208383039055600280548492906122579084906125f9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215612305578081fd5b81356115f0816126a9565b600060208284031215612321578081fd5b81516115f0816126a9565b6000806040838503121561233e578081fd5b8235612349816126a9565b91506020830135612359816126a9565b809150509250929050565b600080600060608486031215612378578081fd5b8335612383816126a9565b92506020840135612393816126a9565b929592945050506040919091013590565b600080604083850312156123b6578182fd5b82356123c1816126a9565b946020939093013593505050565b600060208083850312156123e1578182fd5b823567ffffffffffffffff808211156123f8578384fd5b818501915085601f83011261240b578384fd5b81358181111561241d5761241d612693565b8060051b604051601f19603f8301168101818110858211171561244257612442612693565b604052828152858101935084860182860187018a1015612460578788fd5b8795505b83861015612482578035855260019590950194938601938601612464565b5098975050505050505050565b6000602082840312156124a0578081fd5b5035919050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6020808252825182820181905260009190848201906040850190845b81811015612503578351835292840192918401916001016124e7565b50909695505050505050565b6000602080835283518082850152825b8181101561253b5785810183015185820160400152820161251f565b8181111561254c5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601190820152704e4f545f4255524945445f42595f594f5560781b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156125d5576125d561267d565b500190565b60008160001904831182151516156125f4576125f461267d565b500290565b60008282101561260b5761260b61267d565b500390565b60008161261f5761261f61267d565b506000190190565b600181811c9082168061263b57607f821691505b6020821081141561265c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126765761267661267d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610e7557600080fdfea26469706673582212202fc92e3925ad3bc96186fe9d5b6239689904925b3fd98fa81d5422ae33a612af64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c8063715018a61161013b578063b9273579116100b8578063d824a43d1161007c578063d824a43d14610512578063d92656a71461051a578063dd62ed3e1461052e578063e1f5166f14610567578063f2fde38b1461057a57600080fd5b8063b927357914610493578063c342914d146104a6578063c7b72acc146104c1578063d1058e59146104e1578063d34b2357146104e957600080fd5b80638da5cb5b116100ff5780638da5cb5b1461044157806395d89b411461045257806399e856221461045a578063a457c2d71461046d578063a9059cbb1461048057600080fd5b8063715018a6146103f35780637974770b146103fb57806379cc6790146104085780637dd54ea71461041b5780638d12cba21461042e57600080fd5b806335322f37116101c957806342966c681161018d57806342966c681461037e5780634ea0e6fe14610391578063508241a4146103a45780635f4e0073146103b757806370a08231146103ca57600080fd5b806335322f371461031f578063362a3fad14610327578063395093511461033a5780633d9499551461034d57806340a3d2461461037657600080fd5b80631c4ce9d1116102105780631c4ce9d1146102aa57806322ebd20e146102bd57806323b872dd146102ca5780632a30d513146102dd578063313ce5671461031057600080fd5b806306fdde0314610242578063095ea7b31461026057806318160ddd14610283578063188bcac614610295575b600080fd5b61024a61058d565b604051610257919061250f565b60405180910390f35b61027361026e3660046123a4565b61061f565b6040519015158152602001610257565b6002545b604051908152602001610257565b6102a86102a33660046123cf565b610635565b005b6102a86102b83660046123cf565b6107d0565b610287651f9465b8ab8e81565b6102736102d8366004612364565b610a79565b6102f873219b8ab790decc32444a6600971c7c371825253981565b6040516001600160a01b039091168152602001610257565b60405160128152602001610257565b6102a8610b23565b6102876103353660046122f4565b610e78565b6102736103483660046123a4565b611055565b6102f861035b36600461248f565b6000908152600760205260409020546001600160a01b031690565b6102a8611091565b6102a861038c36600461248f565b6110dc565b6102a861039f36600461248f565b6110e6565b6102a86103b236600461248f565b611165565b6102a86103c53660046123cf565b6111d5565b6102876103d83660046122f4565b6001600160a01b031660009081526020819052604090205490565b6102a861147e565b610287650a86cc92e3da81565b6102a86104163660046123a4565b6114b4565b6102876104293660046122f4565b61153a565b61028761043c36600461248f565b61156e565b6005546001600160a01b03166102f8565b61024a6115f7565b61028761046836600461248f565b611606565b61027361047b3660046123a4565b611688565b61027361048e3660046123a4565b611721565b6102a86104a13660046123cf565b61172e565b6102f873ee0ba89699a3dd0f08cb516c069d81a762f65e5681565b6104d46104cf3660046122f4565b6118b5565b60405161025791906124cb565b6102a8611921565b6102f86104f736600461248f565b6000908152600a60205260409020546001600160a01b031690565b610287601e81565b60055461027390600160a01b900460ff1681565b61028761053c36600461232c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104d46105753660046122f4565b611b84565b6102a86105883660046122f4565b611bee565b60606003805461059c90612627565b80601f01602080910402602001604051908101604052809291908181526020018280546105c890612627565b80156106155780601f106105ea57610100808354040283529160200191610615565b820191906000526020600020905b8154815290600101906020018083116105f857829003601f168201915b5050505050905090565b600061062c338484611c86565b50600192915050565b6000805b82518110156107c157600083828151811061066457634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516000818152600a9092526040909120549091506001600160a01b031633146106d55760405162461bcd60e51b81526020600482015260136024820152722727aa2fa7a924a3a4a720a62fa12aa924a2a960691b60448201526064015b60405180910390fd5b6040516323b872dd60e01b815273ee0ba89699a3dd0f08cb516c069d81a762f65e56906323b872dd90610710903090339086906004016124a7565b600060405180830381600087803b15801561072a57600080fd5b505af115801561073e573d6000803e3d6000fd5b505050600082815260096020526040902054650a86cc92e3da915061076390426125f9565b61076d91906125da565b61077790846125c2565b336000908152600b602052604090209093506107939082611daa565b6000908152600a6020526040902080546001600160a01b0319169055806107b981612662565b915050610639565b506107cc3382611ea7565b5050565b600554600160a01b900460ff1661081c5760405162461bcd60e51b815260206004820152601060248201526f5354414b494e475f4e4f545f4c49564560801b60448201526064016106cc565b601e81516108293361153a565b61083391906125c2565b11156108815760405162461bcd60e51b815260206004820152601c60248201527f4d41585f544f4b454e535f4255524945445f5045525f57414c4c45540000000060448201526064016106cc565b60005b81518110156107cc5760008282815181106108af57634e487b7160e01b600052603260045260246000fd5b60209081029190910101516040516331a9108f60e11b815260048101829052909150339073ee0ba89699a3dd0f08cb516c069d81a762f65e5690636352211e9060240160206040518083038186803b15801561090a57600080fd5b505afa15801561091e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109429190612310565b6001600160a01b031614801561096d57506000818152600a60205260409020546001600160a01b0316155b6109ae5760405162461bcd60e51b8152602060048201526012602482015271544f4b454e5f49535f4e4f545f594f55525360701b60448201526064016106cc565b6040516323b872dd60e01b815273ee0ba89699a3dd0f08cb516c069d81a762f65e56906323b872dd906109e9903390309086906004016124a7565b600060405180830381600087803b158015610a0357600080fd5b505af1158015610a17573d6000803e3d6000fd5b5050336000818152600b6020908152604080832080546001810182559084528284200187905595825260098152858220429055600a90529390932080546001600160a01b03191690931790925550819050610a7181612662565b915050610884565b6000610a86848484611f86565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610b0b5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016106cc565b610b188533858403611c86565b506001949350505050565b6000610b2e3361153a565b11610b7b5760405162461bcd60e51b815260206004820152601b60248201527f4d5553545f41544c454153545f42455f4255524945445f4f4e4345000000000060448201526064016106cc565b336000908152600860205260408120545b8015610cf257336000908152600860205260408120610bac6001846125f9565b81548110610bca57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516323b872dd60e01b815290915073219b8ab790decc32444a6600971c7c3718252539906323b872dd90610c14903090339086906004016124a7565b600060405180830381600087803b158015610c2e57600080fd5b505af1158015610c42573d6000803e3d6000fd5b505050600082815260066020526040902054651f9465b8ab8e9150610c6790426125f9565b610c7191906125da565b610c7b90846125c2565b33600090815260086020526040902080549194509080610cab57634e487b7160e01b600052603160045260246000fd5b60008281526020808220830160001990810183905590920190925591815260079091526040902080546001600160a01b031916905580610cea81612610565b915050610b8c565b50336000908152600b60205260409020545b8015610e6a57336000908152600b60205260408120610d246001846125f9565b81548110610d4257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546040516323b872dd60e01b815290915073ee0ba89699a3dd0f08cb516c069d81a762f65e56906323b872dd90610d8c903090339086906004016124a7565b600060405180830381600087803b158015610da657600080fd5b505af1158015610dba573d6000803e3d6000fd5b505050600082815260096020526040902054650a86cc92e3da9150610ddf90426125f9565b610de991906125da565b610df390846125c2565b336000908152600b6020526040902080549194509080610e2357634e487b7160e01b600052603160045260246000fd5b600082815260208082208301600019908101839055909201909255918152600a9091526040902080546001600160a01b031916905580610e6281612610565b915050610d04565b50610e753382611ea7565b50565b6001600160a01b0381166000908152600860209081526040808320805482518185028101850190935280835284938493929190830182828015610eda57602002820191906000526020600020905b815481526020019060010190808311610ec6575b5050505050905060005b8151811015610f6257651f9465b8ab8e60066000848481518110610f1857634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000205442610f3a91906125f9565b610f4491906125da565b610f4e90846125c2565b925080610f5a81612662565b915050610ee4565b506001600160a01b0384166000908152600b6020908152604080832080548251818502810185019093528083529192909190830182828015610fc357602002820191906000526020600020905b815481526020019060010190808311610faf575b5050505050905060005b815181101561104b57650a86cc92e3da6009600084848151811061100157634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020544261102391906125f9565b61102d91906125da565b61103790856125c2565b93508061104381612662565b915050610fcd565b5091949350505050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161062c91859061108c9086906125c2565b611c86565b6005546001600160a01b031633146110bb5760405162461bcd60e51b81526004016106cc9061258d565b6005805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610e753382612154565b6000818152600a60205260409020546001600160a01b0316331461111c5760405162461bcd60e51b81526004016106cc90612562565b600081815260096020526040902054611152903390650a86cc92e3da9061114390426125f9565b61114d91906125da565b611ea7565b6000908152600960205260409020429055565b6000818152600760205260409020546001600160a01b0316331461119b5760405162461bcd60e51b81526004016106cc90612562565b6000818152600660205260409020546111c2903390651f9465b8ab8e9061114390426125f9565b6000908152600660205260409020429055565b600554600160a01b900460ff166112215760405162461bcd60e51b815260206004820152601060248201526f5354414b494e475f4e4f545f4c49564560801b60448201526064016106cc565b601e815161122e3361153a565b61123891906125c2565b11156112865760405162461bcd60e51b815260206004820152601d60248201527f4d41585f544f4b454e535f425552524945445f5045525f57414c4c455400000060448201526064016106cc565b60005b81518110156107cc5760008282815181106112b457634e487b7160e01b600052603260045260246000fd5b60209081029190910101516040516331a9108f60e11b815260048101829052909150339073219b8ab790decc32444a6600971c7c371825253990636352211e9060240160206040518083038186803b15801561130f57600080fd5b505afa158015611323573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113479190612310565b6001600160a01b031614801561137257506000818152600760205260409020546001600160a01b0316155b6113b35760405162461bcd60e51b8152602060048201526012602482015271544f4b454e5f49535f4e4f545f594f55525360701b60448201526064016106cc565b6040516323b872dd60e01b815273219b8ab790decc32444a6600971c7c3718252539906323b872dd906113ee903390309086906004016124a7565b600060405180830381600087803b15801561140857600080fd5b505af115801561141c573d6000803e3d6000fd5b505033600081815260086020908152604080832080546001810182559084528284200187905595825260068152858220429055600790529390932080546001600160a01b0319169093179092555081905061147681612662565b915050611289565b6005546001600160a01b031633146114a85760405162461bcd60e51b81526004016106cc9061258d565b6114b260006122a2565b565b60006114c0833361053c565b90508181101561151e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016106cc565b61152b8333848403611c86565b6115358383612154565b505050565b6001600160a01b0381166000908152600b6020908152604080832054600890925282205461156891906125c2565b92915050565b6000818152600760205260408120546001600160a01b03166115c55760405162461bcd60e51b815260206004820152601060248201526f1513d2d15397d393d517d0955492515160821b60448201526064016106cc565b6000828152600660205260408120546115de90426125f9565b90506115f0651f9465b8ab8e826125da565b9392505050565b60606004805461059c90612627565b6000818152600a60205260408120546001600160a01b031661165d5760405162461bcd60e51b815260206004820152601060248201526f1513d2d15397d393d517d0955492515160821b60448201526064016106cc565b60008281526009602052604081205461167690426125f9565b90506115f0650a86cc92e3da826125da565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561170a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106cc565b6117173385858403611c86565b5060019392505050565b600061062c338484611f86565b6000805b82518110156107c157600083828151811061175d57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600081815260079092526040909120549091506001600160a01b031633146117c95760405162461bcd60e51b81526020600482015260136024820152722727aa2fa7a924a3a4a720a62fa12aa924a2a960691b60448201526064016106cc565b6040516323b872dd60e01b815273219b8ab790decc32444a6600971c7c3718252539906323b872dd90611804903090339086906004016124a7565b600060405180830381600087803b15801561181e57600080fd5b505af1158015611832573d6000803e3d6000fd5b505050600082815260066020526040902054651f9465b8ab8e915061185790426125f9565b61186191906125da565b61186b90846125c2565b3360009081526008602052604090209093506118879082611daa565b600090815260076020526040902080546001600160a01b0319169055806118ad81612662565b915050611732565b6001600160a01b0381166000908152600b602090815260409182902080548351818402810184019094528084526060939283018282801561191557602002820191906000526020600020905b815481526020019060010190808311611901575b50505050509050919050565b3360009081526008602090815260408083208054825181850281018501909352808352849383018282801561197557602002820191906000526020600020905b815481526020019060010190808311611961575b5050505050905060005b8151811015611a4b5760008282815181106119aa57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151600081815260079092526040909120549091506001600160a01b031633146119f05760405162461bcd60e51b81526004016106cc90612562565b600081815260066020526040902054651f9465b8ab8e90611a1190426125f9565b611a1b91906125da565b611a2590856125c2565b600091825260066020526040909120429055925080611a4381612662565b91505061197f565b50336000908152600b6020908152604080832080548251818502810185019093528083529192909190830182828015611aa357602002820191906000526020600020905b815481526020019060010190808311611a8f575b5050505050905060005b8151811015611b79576000828281518110611ad857634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516000818152600a9092526040909120549091506001600160a01b03163314611b1e5760405162461bcd60e51b81526004016106cc90612562565b600081815260096020526040902054650a86cc92e3da90611b3f90426125f9565b611b4991906125da565b611b5390866125c2565b600091825260096020526040909120429055935080611b7181612662565b915050611aad565b506115353384611ea7565b6001600160a01b03811660009081526008602090815260409182902080548351818402810184019094528084526060939283018282801561191557602002820191906000526020600020908154815260200190600101908083116119015750505050509050919050565b6005546001600160a01b03163314611c185760405162461bcd60e51b81526004016106cc9061258d565b6001600160a01b038116611c7d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106cc565b610e75816122a2565b6001600160a01b038316611ce85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106cc565b6001600160a01b038216611d495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106cc565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b815460005b81811015611ea15782848281548110611dd857634e487b7160e01b600052603260045260246000fd5b90600052602060002001541415611e8f5781611df381612610565b92505081811015611e5657838281548110611e1e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154848281548110611e4957634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555b83805480611e7457634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055611ea1565b80611e9981612662565b915050611daf565b50505050565b6001600160a01b038216611efd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106cc565b8060026000828254611f0f91906125c2565b90915550506001600160a01b03821660009081526020819052604081208054839290611f3c9084906125c2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b038316611fea5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106cc565b6001600160a01b03821661204c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106cc565b6001600160a01b038316600090815260208190526040902054818110156120c45760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106cc565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906120fb9084906125c2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161214791815260200190565b60405180910390a3611ea1565b6001600160a01b0382166121b45760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106cc565b6001600160a01b038216600090815260208190526040902054818110156122285760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106cc565b6001600160a01b03831660009081526020819052604081208383039055600280548492906122579084906125f9565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600060208284031215612305578081fd5b81356115f0816126a9565b600060208284031215612321578081fd5b81516115f0816126a9565b6000806040838503121561233e578081fd5b8235612349816126a9565b91506020830135612359816126a9565b809150509250929050565b600080600060608486031215612378578081fd5b8335612383816126a9565b92506020840135612393816126a9565b929592945050506040919091013590565b600080604083850312156123b6578182fd5b82356123c1816126a9565b946020939093013593505050565b600060208083850312156123e1578182fd5b823567ffffffffffffffff808211156123f8578384fd5b818501915085601f83011261240b578384fd5b81358181111561241d5761241d612693565b8060051b604051601f19603f8301168101818110858211171561244257612442612693565b604052828152858101935084860182860187018a1015612460578788fd5b8795505b83861015612482578035855260019590950194938601938601612464565b5098975050505050505050565b6000602082840312156124a0578081fd5b5035919050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6020808252825182820181905260009190848201906040850190845b81811015612503578351835292840192918401916001016124e7565b50909695505050505050565b6000602080835283518082850152825b8181101561253b5785810183015185820160400152820161251f565b8181111561254c5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252601190820152704e4f545f4255524945445f42595f594f5560781b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156125d5576125d561267d565b500190565b60008160001904831182151516156125f4576125f461267d565b500290565b60008282101561260b5761260b61267d565b500390565b60008161261f5761261f61267d565b506000190190565b600181811c9082168061263b57607f821691505b6020821081141561265c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126765761267661267d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610e7557600080fdfea26469706673582212202fc92e3925ad3bc96186fe9d5b6239689904925b3fd98fa81d5422ae33a612af64736f6c63430008040033
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.