Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
77,310,001 AGLD
Holders
14,301 ( 0.042%)
Total Transfers
-
Market
Price
$1.52 @ 0.000479 ETH (+3.86%)
Onchain Market Cap
$117,178,288.97
Circulating Supply Market Cap
$117,178,288.97
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AdventureGold
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-09-01 */ // SPDX-License-Identifier: UNLICENSED 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; } } /** * @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); } } /** * @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 ); } /** * @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); } /** * @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 {} } 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); } /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } /** * @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; } /** * @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); } /// @title Adventure Gold for Loot holders! /// @author Will Papper <https://twitter.com/WillPapper> /// @notice This contract mints Adventure Gold for Loot holders and provides /// administrative functions to the Loot DAO. It allows: /// * Loot holders to claim Adventure Gold /// * A DAO to set seasons for new opportunities to claim Adventure Gold /// * A DAO to mint Adventure Gold for use within the Loot ecosystem /// @custom:unaudited This contract has not been audited. Use at your own risk. contract AdventureGold is Context, Ownable, ERC20 { // Loot contract is available at https://etherscan.io/address/0xff9c1b15b16263c61d017ee9f65c50e4ae0113d7 address public lootContractAddress = 0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7; IERC721Enumerable public lootContract; // Give out 10,000 Adventure Gold for every Loot Bag that a user holds uint256 public adventureGoldPerTokenId = 10000 * (10**decimals()); // tokenIdStart of 1 is based on the following lines in the Loot contract: /** function claim(uint256 tokenId) public nonReentrant { require(tokenId > 0 && tokenId < 7778, "Token ID invalid"); _safeMint(_msgSender(), tokenId); } */ uint256 public tokenIdStart = 1; // tokenIdEnd of 8000 is based on the following lines in the Loot contract: /** function ownerClaim(uint256 tokenId) public nonReentrant onlyOwner { require(tokenId > 7777 && tokenId < 8001, "Token ID invalid"); _safeMint(owner(), tokenId); } */ uint256 public tokenIdEnd = 8000; // Seasons are used to allow users to claim tokens regularly. Seasons are // decided by the DAO. uint256 public season = 0; // Track claimed tokens within a season // IMPORTANT: The format of the mapping is: // claimedForSeason[season][tokenId][claimed] mapping(uint256 => mapping(uint256 => bool)) public seasonClaimedByTokenId; constructor() Ownable() ERC20("Adventure Gold", "AGLD") { // Transfer ownership to the Loot DAO // Ownable by OpenZeppelin automatically sets owner to msg.sender, but // we're going to be using a separate wallet for deployment transferOwnership(0xcD814C83198C15A542F9A13FAf84D518d1744ED1); lootContract = IERC721Enumerable(lootContractAddress); } /// @notice Claim Adventure Gold for a given Loot ID /// @param tokenId The tokenId of the Loot NFT function claimById(uint256 tokenId) external { // Follow the Checks-Effects-Interactions pattern to prevent reentrancy // attacks // Checks // Check that the msgSender owns the token that is being claimed require( _msgSender() == lootContract.ownerOf(tokenId), "MUST_OWN_TOKEN_ID" ); // Further Checks, Effects, and Interactions are contained within the // _claim() function _claim(tokenId, _msgSender()); } /// @notice Claim Adventure Gold for all tokens owned by the sender /// @notice This function will run out of gas if you have too much loot! If /// this is a concern, you should use claimRangeForOwner and claim Adventure /// Gold in batches. function claimAllForOwner() external { uint256 tokenBalanceOwner = lootContract.balanceOf(_msgSender()); // Checks require(tokenBalanceOwner > 0, "NO_TOKENS_OWNED"); // i < tokenBalanceOwner because tokenBalanceOwner is 1-indexed for (uint256 i = 0; i < tokenBalanceOwner; i++) { // Further Checks, Effects, and Interactions are contained within // the _claim() function _claim( lootContract.tokenOfOwnerByIndex(_msgSender(), i), _msgSender() ); } } /// @notice Claim Adventure Gold for all tokens owned by the sender within a /// given range /// @notice This function is useful if you own too much Loot to claim all at /// once or if you want to leave some Loot unclaimed. If you leave Loot /// unclaimed, however, you cannot claim it once the next season starts. function claimRangeForOwner(uint256 ownerIndexStart, uint256 ownerIndexEnd) external { uint256 tokenBalanceOwner = lootContract.balanceOf(_msgSender()); // Checks require(tokenBalanceOwner > 0, "NO_TOKENS_OWNED"); // We use < for ownerIndexEnd and tokenBalanceOwner because // tokenOfOwnerByIndex is 0-indexed while the token balance is 1-indexed require( ownerIndexStart >= 0 && ownerIndexEnd < tokenBalanceOwner, "INDEX_OUT_OF_RANGE" ); // i <= ownerIndexEnd because ownerIndexEnd is 0-indexed for (uint256 i = ownerIndexStart; i <= ownerIndexEnd; i++) { // Further Checks, Effects, and Interactions are contained within // the _claim() function _claim( lootContract.tokenOfOwnerByIndex(_msgSender(), i), _msgSender() ); } } /// @dev Internal function to mint Loot upon claiming function _claim(uint256 tokenId, address tokenOwner) internal { // Checks // Check that the token ID is in range // We use >= and <= to here because all of the token IDs are 0-indexed require( tokenId >= tokenIdStart && tokenId <= tokenIdEnd, "TOKEN_ID_OUT_OF_RANGE" ); // Check that Adventure Gold have not already been claimed this season // for a given tokenId require( !seasonClaimedByTokenId[season][tokenId], "GOLD_CLAIMED_FOR_TOKEN_ID" ); // Effects // Mark that Adventure Gold has been claimed for this season for the // given tokenId seasonClaimedByTokenId[season][tokenId] = true; // Interactions // Send Adventure Gold to the owner of the token ID _mint(tokenOwner, adventureGoldPerTokenId); } /// @notice Allows the DAO to mint new tokens for use within the Loot /// Ecosystem /// @param amountDisplayValue The amount of Loot to mint. This should be /// input as the display value, not in raw decimals. If you want to mint /// 100 Loot, you should enter "100" rather than the value of 100 * 10^18. function daoMint(uint256 amountDisplayValue) external onlyOwner { _mint(owner(), amountDisplayValue * (10**decimals())); } /// @notice Allows the DAO to set a new contract address for Loot. This is /// relevant in the event that Loot migrates to a new contract. /// @param lootContractAddress_ The new contract address for Loot function daoSetLootContractAddress(address lootContractAddress_) external onlyOwner { lootContractAddress = lootContractAddress_; lootContract = IERC721Enumerable(lootContractAddress); } /// @notice Allows the DAO to set the token IDs that are eligible to claim /// Loot /// @param tokenIdStart_ The start of the eligible token range /// @param tokenIdEnd_ The end of the eligible token range /// @dev This is relevant in case a future Loot contract has a different /// total supply of Loot function daoSetTokenIdRange(uint256 tokenIdStart_, uint256 tokenIdEnd_) external onlyOwner { tokenIdStart = tokenIdStart_; tokenIdEnd = tokenIdEnd_; } /// @notice Allows the DAO to set a season for new Adventure Gold claims /// @param season_ The season to use for claiming Loot function daoSetSeason(uint256 season_) public onlyOwner { season = season_; } /// @notice Allows the DAO to set the amount of Adventure Gold that is /// claimed per token ID /// @param adventureGoldDisplayValue The amount of Loot a user can claim. /// This should be input as the display value, not in raw decimals. If you /// want to mint 100 Loot, you should enter "100" rather than the value of /// 100 * 10^18. function daoSetAdventureGoldPerTokenId(uint256 adventureGoldDisplayValue) public onlyOwner { adventureGoldPerTokenId = adventureGoldDisplayValue * (10**decimals()); } /// @notice Allows the DAO to set the season and Adventure Gold per token ID /// in one transaction. This ensures that there is not a gap where a user /// can claim more Adventure Gold than others /// @param season_ The season to use for claiming loot /// @param adventureGoldDisplayValue The amount of Loot a user can claim. /// This should be input as the display value, not in raw decimals. If you /// want to mint 100 Loot, you should enter "100" rather than the value of /// 100 * 10^18. /// @dev We would save a tiny amount of gas by modifying the season and /// adventureGold variables directly. It is better practice for security, /// however, to avoid repeating code. This function is so rarely used that /// it's not worth moving these values into their own internal function to /// skip the gas used on the modifier check. function daoSetSeasonAndAdventureGoldPerTokenID( uint256 season_, uint256 adventureGoldDisplayValue ) external onlyOwner { daoSetSeason(season_); daoSetAdventureGoldPerTokenId(adventureGoldDisplayValue); } }
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":"adventureGoldPerTokenId","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":[],"name":"claimAllForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimById","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ownerIndexStart","type":"uint256"},{"internalType":"uint256","name":"ownerIndexEnd","type":"uint256"}],"name":"claimRangeForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountDisplayValue","type":"uint256"}],"name":"daoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"adventureGoldDisplayValue","type":"uint256"}],"name":"daoSetAdventureGoldPerTokenId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lootContractAddress_","type":"address"}],"name":"daoSetLootContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"season_","type":"uint256"}],"name":"daoSetSeason","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"season_","type":"uint256"},{"internalType":"uint256","name":"adventureGoldDisplayValue","type":"uint256"}],"name":"daoSetSeasonAndAdventureGoldPerTokenID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenIdStart_","type":"uint256"},{"internalType":"uint256","name":"tokenIdEnd_","type":"uint256"}],"name":"daoSetTokenIdRange","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lootContract","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lootContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"season","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"seasonClaimedByTokenId","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":"tokenIdEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"}]
Contract Creation Code
6080604052600680546001600160a01b03191673ff9c1b15b16263c61d017ee9f65c50e4ae0113d717905562000033601290565b6200004090600a62000360565b6200004e906127106200042e565b6008556001600955611f40600a556000600b553480156200006e57600080fd5b506040518060400160405280600e81526020016d10591d995b9d1d5c994811dbdb1960921b815250604051806040016040528060048152602001631051d31160e21b815250620000cd620000c76200014860201b60201c565b6200014c565b8151620000e290600490602085019062000271565b508051620000f890600590602084019062000271565b5050506200012073cd814c83198c15a542f9a13faf84d518d1744ed16200019c60201b60201c565b600654600780546001600160a01b0319166001600160a01b03909216919091179055620004a3565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620001fc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620002635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401620001f3565b6200026e816200014c565b50565b8280546200027f9062000450565b90600052602060002090601f016020900481019282620002a35760008555620002ee565b82601f10620002be57805160ff1916838001178555620002ee565b82800160010185558215620002ee579182015b82811115620002ee578251825591602001919060010190620002d1565b50620002fc92915062000300565b5090565b5b80821115620002fc576000815560010162000301565b600181815b80851115620003585781600019048211156200033c576200033c6200048d565b808516156200034a57918102915b93841c93908002906200031c565b509250929050565b60006200037160ff84168362000378565b9392505050565b600082620003895750600162000428565b81620003985750600062000428565b8160018114620003b15760028114620003bc57620003dc565b600191505062000428565b60ff841115620003d057620003d06200048d565b50506001821b62000428565b5060208310610133831016604e8410600b841016171562000401575081810a62000428565b6200040d838362000317565b80600019048211156200042457620004246200048d565b0290505b92915050565b60008160001904831182151516156200044b576200044b6200048d565b500290565b600181811c908216806200046557607f821691505b602082108114156200048757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b61157b80620004b36000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a8af32e9116100a2578063cbf0b27611610071578063cbf0b276146103d3578063dd62ed3e146103db578063e5e808cb14610414578063f2fde38b1461044257600080fd5b8063a8af32e914610391578063a9059cbb146103a4578063becf7741146103b7578063c50b0fb0146103ca57600080fd5b8063878e7ea5116100de578063878e7ea5146103525780638da5cb5b1461036557806395d89b4114610376578063a457c2d71461037e57600080fd5b806370a0823114610318578063715018a614610341578063845f290d1461034957600080fd5b806332565c491161017c57806342e473151161014b57806342e47315146102d657806343f42802146102e95780634da7808a146102f257806362759f6c1461030557600080fd5b806332565c491461027257806332c882041461028557806335b48afd1461029857806339509351146102c357600080fd5b806318f510eb116101b857806318f510eb1461023257806323b872dd146102475780632a3890621461025a578063313ce5671461026357600080fd5b806306fdde03146101df578063095ea7b3146101fd57806318160ddd14610220575b600080fd5b6101e7610455565b6040516101f49190611315565b60405180910390f35b61021061020b366004611295565b6104e7565b60405190151581526020016101f4565b6003545b6040519081526020016101f4565b6102456102403660046112f3565b6104fe565b005b610210610255366004611254565b610547565b61022460095481565b604051601281526020016101f4565b6102456102803660046112c1565b6105f1565b6102456102933660046111da565b610637565b6007546102ab906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b6102106102d1366004611295565b61068d565b6102456102e43660046112c1565b6106c9565b610224600a5481565b6102456103003660046112f3565b6106f8565b6102456103133660046112c1565b61072d565b6102246103263660046111da565b6001600160a01b031660009081526001602052604090205490565b61024561078a565b61022460085481565b6102456103603660046112f3565b6107c0565b6000546001600160a01b03166102ab565b6101e7610990565b61021061038c366004611295565b61099f565b6006546102ab906001600160a01b031681565b6102106103b2366004611295565b610a38565b6102456103c53660046112c1565b610a45565b610224600b5481565b610245610b1f565b6102246103e936600461121b565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6102106104223660046112f3565b600c60209081526000928352604080842090915290825290205460ff1681565b6102456104503660046111da565b610c27565b606060048054610464906114c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610490906114c4565b80156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b5050505050905090565b60006104f4338484610cbf565b5060015b92915050565b6000546001600160a01b031633146105315760405162461bcd60e51b81526004016105289061136a565b60405180910390fd5b61053a826106c9565b610543816105f1565b5050565b6000610554848484610de3565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156105d95760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610528565b6105e68533858403610cbf565b506001949350505050565b6000546001600160a01b0316331461061b5760405162461bcd60e51b81526004016105289061136a565b6106276012600a6113fa565b61063190826114a5565b60085550565b6000546001600160a01b031633146106615760405162461bcd60e51b81526004016105289061136a565b600680546001600160a01b039092166001600160a01b0319928316811790915560078054909216179055565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104f49185906106c490869061139f565b610cbf565b6000546001600160a01b031633146106f35760405162461bcd60e51b81526004016105289061136a565b600b55565b6000546001600160a01b031633146107225760405162461bcd60e51b81526004016105289061136a565b600991909155600a55565b6000546001600160a01b031633146107575760405162461bcd60e51b81526004016105289061136a565b61078761076c6000546001600160a01b031690565b6107786012600a6113fa565b61078290846114a5565b610fb1565b50565b6000546001600160a01b031633146107b45760405162461bcd60e51b81526004016105289061136a565b6107be6000611090565b565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b15801561081457600080fd5b505afa158015610828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084c91906112da565b9050600081116108905760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b8082106108d45760405162461bcd60e51b8152602060048201526012602482015271494e4445585f4f55545f4f465f52414e474560701b6044820152606401610528565b825b82811161098a57600754610978906001600160a01b0316632f745c59335b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024810185905260440160206040518083038186803b15801561093a57600080fd5b505afa15801561094e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097291906112da565b336110e0565b80610982816114ff565b9150506108d6565b50505050565b606060058054610464906114c4565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610a215760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610528565b610a2e3385858403610cbf565b5060019392505050565b60006104f4338484610de3565b6007546040516331a9108f60e11b8152600481018390526001600160a01b0390911690636352211e9060240160206040518083038186803b158015610a8957600080fd5b505afa158015610a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac191906111fe565b6001600160a01b0316336001600160a01b031614610b155760405162461bcd60e51b8152602060048201526011602482015270135554d517d3d5d397d513d2d15397d251607a1b6044820152606401610528565b61078781336110e0565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b158015610b7357600080fd5b505afa158015610b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bab91906112da565b905060008111610bef5760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b60005b8181101561054357600754610c15906001600160a01b0316632f745c59336108f4565b80610c1f816114ff565b915050610bf2565b6000546001600160a01b03163314610c515760405162461bcd60e51b81526004016105289061136a565b6001600160a01b038116610cb65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610528565b61078781611090565b6001600160a01b038316610d215760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610528565b6001600160a01b038216610d825760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610528565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610528565b6001600160a01b038216610ea95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b6001600160a01b03831660009081526001602052604090205481811015610f215760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610528565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610f5890849061139f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610fa491815260200190565b60405180910390a361098a565b6001600160a01b0382166110075760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610528565b8060036000828254611019919061139f565b90915550506001600160a01b0382166000908152600160205260408120805483929061104690849061139f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60095482101580156110f45750600a548211155b6111385760405162461bcd60e51b8152602060048201526015602482015274544f4b454e5f49445f4f55545f4f465f52414e474560581b6044820152606401610528565b600b546000908152600c6020908152604080832085845290915290205460ff16156111a55760405162461bcd60e51b815260206004820152601960248201527f474f4c445f434c41494d45445f464f525f544f4b454e5f4944000000000000006044820152606401610528565b600b546000908152600c602090815260408083208584529091529020805460ff19166001179055600854610543908290610fb1565b6000602082840312156111ec57600080fd5b81356111f781611530565b9392505050565b60006020828403121561121057600080fd5b81516111f781611530565b6000806040838503121561122e57600080fd5b823561123981611530565b9150602083013561124981611530565b809150509250929050565b60008060006060848603121561126957600080fd5b833561127481611530565b9250602084013561128481611530565b929592945050506040919091013590565b600080604083850312156112a857600080fd5b82356112b381611530565b946020939093013593505050565b6000602082840312156112d357600080fd5b5035919050565b6000602082840312156112ec57600080fd5b5051919050565b6000806040838503121561130657600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561134257858101830151858201604001528201611326565b81811115611354576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113b2576113b261151a565b500190565b600181815b808511156113f25781600019048211156113d8576113d861151a565b808516156113e557918102915b93841c93908002906113bc565b509250929050565b60006111f760ff841683600082611413575060016104f8565b81611420575060006104f8565b816001811461143657600281146114405761145c565b60019150506104f8565b60ff8411156114515761145161151a565b50506001821b6104f8565b5060208310610133831016604e8410600b841016171561147f575081810a6104f8565b61148983836113b7565b806000190482111561149d5761149d61151a565b029392505050565b60008160001904831182151516156114bf576114bf61151a565b500290565b600181811c908216806114d857607f821691505b602082108114156114f957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156115135761151361151a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461078757600080fdfea264697066735822122018d345deda60bb8be6ec0c2ba2226db04e33cb88103206e8363649e23673249b64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370a0823111610104578063a8af32e9116100a2578063cbf0b27611610071578063cbf0b276146103d3578063dd62ed3e146103db578063e5e808cb14610414578063f2fde38b1461044257600080fd5b8063a8af32e914610391578063a9059cbb146103a4578063becf7741146103b7578063c50b0fb0146103ca57600080fd5b8063878e7ea5116100de578063878e7ea5146103525780638da5cb5b1461036557806395d89b4114610376578063a457c2d71461037e57600080fd5b806370a0823114610318578063715018a614610341578063845f290d1461034957600080fd5b806332565c491161017c57806342e473151161014b57806342e47315146102d657806343f42802146102e95780634da7808a146102f257806362759f6c1461030557600080fd5b806332565c491461027257806332c882041461028557806335b48afd1461029857806339509351146102c357600080fd5b806318f510eb116101b857806318f510eb1461023257806323b872dd146102475780632a3890621461025a578063313ce5671461026357600080fd5b806306fdde03146101df578063095ea7b3146101fd57806318160ddd14610220575b600080fd5b6101e7610455565b6040516101f49190611315565b60405180910390f35b61021061020b366004611295565b6104e7565b60405190151581526020016101f4565b6003545b6040519081526020016101f4565b6102456102403660046112f3565b6104fe565b005b610210610255366004611254565b610547565b61022460095481565b604051601281526020016101f4565b6102456102803660046112c1565b6105f1565b6102456102933660046111da565b610637565b6007546102ab906001600160a01b031681565b6040516001600160a01b0390911681526020016101f4565b6102106102d1366004611295565b61068d565b6102456102e43660046112c1565b6106c9565b610224600a5481565b6102456103003660046112f3565b6106f8565b6102456103133660046112c1565b61072d565b6102246103263660046111da565b6001600160a01b031660009081526001602052604090205490565b61024561078a565b61022460085481565b6102456103603660046112f3565b6107c0565b6000546001600160a01b03166102ab565b6101e7610990565b61021061038c366004611295565b61099f565b6006546102ab906001600160a01b031681565b6102106103b2366004611295565b610a38565b6102456103c53660046112c1565b610a45565b610224600b5481565b610245610b1f565b6102246103e936600461121b565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6102106104223660046112f3565b600c60209081526000928352604080842090915290825290205460ff1681565b6102456104503660046111da565b610c27565b606060048054610464906114c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610490906114c4565b80156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b5050505050905090565b60006104f4338484610cbf565b5060015b92915050565b6000546001600160a01b031633146105315760405162461bcd60e51b81526004016105289061136a565b60405180910390fd5b61053a826106c9565b610543816105f1565b5050565b6000610554848484610de3565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156105d95760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610528565b6105e68533858403610cbf565b506001949350505050565b6000546001600160a01b0316331461061b5760405162461bcd60e51b81526004016105289061136a565b6106276012600a6113fa565b61063190826114a5565b60085550565b6000546001600160a01b031633146106615760405162461bcd60e51b81526004016105289061136a565b600680546001600160a01b039092166001600160a01b0319928316811790915560078054909216179055565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104f49185906106c490869061139f565b610cbf565b6000546001600160a01b031633146106f35760405162461bcd60e51b81526004016105289061136a565b600b55565b6000546001600160a01b031633146107225760405162461bcd60e51b81526004016105289061136a565b600991909155600a55565b6000546001600160a01b031633146107575760405162461bcd60e51b81526004016105289061136a565b61078761076c6000546001600160a01b031690565b6107786012600a6113fa565b61078290846114a5565b610fb1565b50565b6000546001600160a01b031633146107b45760405162461bcd60e51b81526004016105289061136a565b6107be6000611090565b565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b15801561081457600080fd5b505afa158015610828573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084c91906112da565b9050600081116108905760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b8082106108d45760405162461bcd60e51b8152602060048201526012602482015271494e4445585f4f55545f4f465f52414e474560701b6044820152606401610528565b825b82811161098a57600754610978906001600160a01b0316632f745c59335b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024810185905260440160206040518083038186803b15801561093a57600080fd5b505afa15801561094e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097291906112da565b336110e0565b80610982816114ff565b9150506108d6565b50505050565b606060058054610464906114c4565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610a215760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610528565b610a2e3385858403610cbf565b5060019392505050565b60006104f4338484610de3565b6007546040516331a9108f60e11b8152600481018390526001600160a01b0390911690636352211e9060240160206040518083038186803b158015610a8957600080fd5b505afa158015610a9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac191906111fe565b6001600160a01b0316336001600160a01b031614610b155760405162461bcd60e51b8152602060048201526011602482015270135554d517d3d5d397d513d2d15397d251607a1b6044820152606401610528565b61078781336110e0565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160206040518083038186803b158015610b7357600080fd5b505afa158015610b87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bab91906112da565b905060008111610bef5760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b60005b8181101561054357600754610c15906001600160a01b0316632f745c59336108f4565b80610c1f816114ff565b915050610bf2565b6000546001600160a01b03163314610c515760405162461bcd60e51b81526004016105289061136a565b6001600160a01b038116610cb65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610528565b61078781611090565b6001600160a01b038316610d215760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610528565b6001600160a01b038216610d825760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610528565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610528565b6001600160a01b038216610ea95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b6001600160a01b03831660009081526001602052604090205481811015610f215760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610528565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610f5890849061139f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610fa491815260200190565b60405180910390a361098a565b6001600160a01b0382166110075760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610528565b8060036000828254611019919061139f565b90915550506001600160a01b0382166000908152600160205260408120805483929061104690849061139f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60095482101580156110f45750600a548211155b6111385760405162461bcd60e51b8152602060048201526015602482015274544f4b454e5f49445f4f55545f4f465f52414e474560581b6044820152606401610528565b600b546000908152600c6020908152604080832085845290915290205460ff16156111a55760405162461bcd60e51b815260206004820152601960248201527f474f4c445f434c41494d45445f464f525f544f4b454e5f4944000000000000006044820152606401610528565b600b546000908152600c602090815260408083208584529091529020805460ff19166001179055600854610543908290610fb1565b6000602082840312156111ec57600080fd5b81356111f781611530565b9392505050565b60006020828403121561121057600080fd5b81516111f781611530565b6000806040838503121561122e57600080fd5b823561123981611530565b9150602083013561124981611530565b809150509250929050565b60008060006060848603121561126957600080fd5b833561127481611530565b9250602084013561128481611530565b929592945050506040919091013590565b600080604083850312156112a857600080fd5b82356112b381611530565b946020939093013593505050565b6000602082840312156112d357600080fd5b5035919050565b6000602082840312156112ec57600080fd5b5051919050565b6000806040838503121561130657600080fd5b50508035926020909101359150565b600060208083528351808285015260005b8181101561134257858101830151858201604001528201611326565b81811115611354576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156113b2576113b261151a565b500190565b600181815b808511156113f25781600019048211156113d8576113d861151a565b808516156113e557918102915b93841c93908002906113bc565b509250929050565b60006111f760ff841683600082611413575060016104f8565b81611420575060006104f8565b816001811461143657600281146114405761145c565b60019150506104f8565b60ff8411156114515761145161151a565b50506001821b6104f8565b5060208310610133831016604e8410600b841016171561147f575081810a6104f8565b61148983836113b7565b806000190482111561149d5761149d61151a565b029392505050565b60008160001904831182151516156114bf576114bf61151a565b500290565b600181811c908216806114d857607f821691505b602082108114156114f957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156115135761151361151a565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461078757600080fdfea264697066735822122018d345deda60bb8be6ec0c2ba2226db04e33cb88103206e8363649e23673249b64736f6c63430008070033
Deployed Bytecode Sourcemap
26552:9115:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8425:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10733:210;;;;;;:::i;:::-;;:::i;:::-;;;2975:14:1;;2968:22;2950:41;;2938:2;2923:18;10733:210:0;2810:187:1;9545:108:0;9633:12;;9545:108;;;9692:25:1;;;9680:2;9665:18;9545:108:0;9546:177:1;35413:251:0;;;;;;:::i;:::-;;:::i;:::-;;11425:529;;;;;;:::i;:::-;;:::i;27286:31::-;;;;;;9387:93;;;9470:2;9870:36:1;;9858:2;9843:18;9387:93:0;9728:184:1;34303:203:0;;;;;;:::i;:::-;;:::i;32921:232::-;;;;;;:::i;:::-;;:::i;26814:37::-;;;;;-1:-1:-1;;;;;26814:37:0;;;;;;-1:-1:-1;;;;;2487:32:1;;;2469:51;;2457:2;2442:18;26814:37:0;2323:203:1;12363:297:0;;;;;;:::i;:::-;;:::i;33837:91::-;;;;;;:::i;:::-;;:::i;27619:32::-;;;;;;33495:196;;;;;;:::i;:::-;;:::i;32557:136::-;;;;;;:::i;:::-;;:::i;9716:177::-;;;;;;:::i;:::-;-1:-1:-1;;;;;9867:18:0;9835:7;9867:18;;;:9;:18;;;;;;;9716:177;2409:94;;;:::i;26936:65::-;;;;;;30284:953;;;;;;:::i;:::-;;:::i;1758:87::-;1804:7;1831:6;-1:-1:-1;;;;;1831:6:0;1758:87;;8644:104;;;:::i;13163:482::-;;;;;;:::i;:::-;;:::i;26719:88::-;;;;;-1:-1:-1;;;;;26719:88:0;;;10106:216;;;;;;:::i;:::-;;:::i;28543:525::-;;;;;;:::i;:::-;;:::i;27767:25::-;;;;;;29338:598;;;:::i;10385:201::-;;;;;;:::i;:::-;-1:-1:-1;;;;;10551:18:0;;;10519:7;10551:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;10385:201;27946:74;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;2658:229;;;;;;:::i;:::-;;:::i;8425:100::-;8479:13;8512:5;8505:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8425:100;:::o;10733:210::-;10852:4;10874:39;689:10;10897:7;10906:6;10874:8;:39::i;:::-;-1:-1:-1;10931:4:0;10733:210;;;;;:::o;35413:251::-;1804:7;1831:6;-1:-1:-1;;;;;1831:6:0;689:10;1978:23;1970:68;;;;-1:-1:-1;;;1970:68:0;;;;;;;:::i;:::-;;;;;;;;;35568:21:::1;35581:7;35568:12;:21::i;:::-;35600:56;35630:25;35600:29;:56::i;:::-;35413:251:::0;;:::o;11425:529::-;11565:4;11582:36;11592:6;11600:9;11611:6;11582:9;:36::i;:::-;-1:-1:-1;;;;;11658:19:0;;11631:24;11658:19;;;:11;:19;;;;;;;;689:10;11658:33;;;;;;;;11724:26;;;;11702:116;;;;-1:-1:-1;;;11702:116:0;;6353:2:1;11702:116:0;;;6335:21:1;6392:2;6372:18;;;6365:30;6431:34;6411:18;;;6404:62;-1:-1:-1;;;6482:18:1;;;6475:38;6530:19;;11702:116:0;6151:404:1;11702:116:0;11854:57;11863:6;689:10;11904:6;11885:16;:25;11854:8;:57::i;:::-;-1:-1:-1;11942:4:0;;11425:529;-1:-1:-1;;;;11425:529:0:o;34303:203::-;1804:7;1831:6;-1:-1:-1;;;;;1831:6:0;689:10;1978:23;1970:68;;;;-1:-1:-1;;;1970:68:0;;;;;;;:::i;:::-;34483:14:::1;9470:2:::0;34483::::1;:14;:::i;:::-;34454:44;::::0;:25;:44:::1;:::i;:::-;34428:23;:70:::0;-1:-1:-1;34303:203:0:o;32921:232::-;1804:7;1831:6;-1:-1:-1;;;;;1831:6:0;689:10;1978:23;1970:68;;;;-1:-1:-1;;;1970:68:0;;;;;;;:::i;:::-;33039:19:::1;:42:::0;;-1:-1:-1;;;;;33039:42:0;;::::1;-1:-1:-1::0;;;;;;33039:42:0;;::::1;::::0;::::1;::::0;;;33092:12:::1;:53:::0;;;;::::1;;::::0;;32921:232::o;12363:297::-;689:10;12478:4;12572:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12572:34:0;;;;;;;;;;12478:4;;12500:130;;12550:7;;12572:47;;12609:10;;12572:47;:::i;:::-;12500:8;:130::i;33837:91::-;1804:7;1831:6;-1:-1:-1;;;;;1831:6:0;689:10;1978:23;1970:68;;;;-1:-1:-1;;;1970:68:0;;;;;;;:::i;:::-;33904:6:::1;:16:::0;33837:91::o;33495:196::-;1804:7;1831:6;-1:-1:-1;;;;;1831:6:0;689:10;1978:23;1970:68;;;;-1:-1:-1;;;1970:68:0;;;;;;;:::i;:::-;33620:12:::1;:28:::0;;;;33659:10:::1;:24:::0;33495:196::o;32557:136::-;1804:7;1831:6;-1:-1:-1;;;;;1831:6:0;689:10;1978:23;1970:68;;;;-1:-1:-1;;;1970:68:0;;;;;;;:::i;:::-;32632:53:::1;32638:7;1804::::0;1831:6;-1:-1:-1;;;;;1831:6:0;;1758:87;32638:7:::1;32669:14;9470:2:::0;32669::::1;:14;:::i;:::-;32647:37;::::0;:18;:37:::1;:::i;:::-;32632:5;:53::i;:::-;32557:136:::0;:::o;2409:94::-;1804:7;1831:6;-1:-1:-1;;;;;1831:6:0;689:10;1978:23;1970:68;;;;-1:-1:-1;;;1970:68:0;;;;;;;:::i;:::-;2474:21:::1;2492:1;2474:9;:21::i;:::-;2409:94::o:0;30284:953::-;30422:12;;30394:25;;-1:-1:-1;;;;;30422:12:0;:22;689:10;30422:36;;-1:-1:-1;;;;;;30422:36:0;;;;;;;-1:-1:-1;;;;;2487:32:1;;;30422:36:0;;;2469:51:1;2442:18;;30422:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30394:64;;30518:1;30498:17;:21;30490:49;;;;-1:-1:-1;;;30490:49:0;;8638:2:1;30490:49:0;;;8620:21:1;8677:2;8657:18;;;8650:30;-1:-1:-1;;;8696:18:1;;;8689:45;8751:18;;30490:49:0;8436:339:1;30490:49:0;30765:17;30749:13;:33;30703:125;;;;-1:-1:-1;;;30703:125:0;;4443:2:1;30703:125:0;;;4425:21:1;4482:2;4462:18;;;4455:30;-1:-1:-1;;;4501:18:1;;;4494:48;4559:18;;30703:125:0;4241:342:1;30703:125:0;30924:15;30907:323;30946:13;30941:1;:18;30907:323;;31123:12;;31098:120;;-1:-1:-1;;;;;31123:12:0;:32;689:10;31156:12;31123:49;;-1:-1:-1;;;;;;31123:49:0;;;;;;;-1:-1:-1;;;;;2723:32:1;;;31123:49:0;;;2705:51:1;2772:18;;;2765:34;;;2678:18;;31123:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;689:10;31098:6;:120::i;:::-;30961:3;;;;:::i;:::-;;;;30907:323;;;;30383:854;30284:953;;:::o;8644:104::-;8700:13;8733:7;8726:14;;;;;:::i;13163:482::-;689:10;13283:4;13332:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;13332:34:0;;;;;;;;;;13399:35;;;;13377:122;;;;-1:-1:-1;;;13377:122:0;;8982:2:1;13377:122:0;;;8964:21:1;9021:2;9001:18;;;8994:30;9060:34;9040:18;;;9033:62;-1:-1:-1;;;9111:18:1;;;9104:35;9156:19;;13377:122:0;8780:401:1;13377:122:0;13535:67;689:10;13558:7;13586:15;13567:16;:34;13535:8;:67::i;:::-;-1:-1:-1;13633:4:0;;13163:482;-1:-1:-1;;;13163:482:0:o;10106:216::-;10228:4;10250:42;689:10;10274:9;10285:6;10250:9;:42::i;28543:525::-;28835:12;;:29;;-1:-1:-1;;;28835:29:0;;;;;9692:25:1;;;-1:-1:-1;;;;;28835:12:0;;;;:20;;9665:18:1;;28835:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;28819:45:0;689:10;-1:-1:-1;;;;;28819:45:0;;28797:112;;;;-1:-1:-1;;;28797:112:0;;6007:2:1;28797:112:0;;;5989:21:1;6046:2;6026:18;;;6019:30;-1:-1:-1;;;6065:18:1;;;6058:47;6122:18;;28797:112:0;5805:341:1;28797:112:0;29031:29;29038:7;689:10;31098:6;:120::i;29338:598::-;29414:12;;29386:25;;-1:-1:-1;;;;;29414:12:0;:22;689:10;29414:36;;-1:-1:-1;;;;;;29414:36:0;;;;;;;-1:-1:-1;;;;;2487:32:1;;;29414:36:0;;;2469:51:1;2442:18;;29414:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;29386:64;;29510:1;29490:17;:21;29482:49;;;;-1:-1:-1;;;29482:49:0;;8638:2:1;29482:49:0;;;8620:21:1;8677:2;8657:18;;;8650:30;-1:-1:-1;;;8696:18:1;;;8689:45;8751:18;;29482:49:0;8436:339:1;29482:49:0;29622:9;29617:312;29641:17;29637:1;:21;29617:312;;;29822:12;;29797:120;;-1:-1:-1;;;;;29822:12:0;:32;689:10;29855:12;609:98;29797:120;29660:3;;;;:::i;:::-;;;;29617:312;;2658:229;1804:7;1831:6;-1:-1:-1;;;;;1831:6:0;689:10;1978:23;1970:68;;;;-1:-1:-1;;;1970:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2761:22:0;::::1;2739:110;;;::::0;-1:-1:-1;;;2739:110:0;;4790:2:1;2739:110:0::1;::::0;::::1;4772:21:1::0;4829:2;4809:18;;;4802:30;4868:34;4848:18;;;4841:62;-1:-1:-1;;;4919:18:1;;;4912:36;4965:19;;2739:110:0::1;4588:402:1::0;2739:110:0::1;2860:19;2870:8;2860:9;:19::i;16953:380::-:0;-1:-1:-1;;;;;17089:19:0;;17081:68;;;;-1:-1:-1;;;17081:68:0;;7883:2:1;17081:68:0;;;7865:21:1;7922:2;7902:18;;;7895:30;7961:34;7941:18;;;7934:62;-1:-1:-1;;;8012:18:1;;;8005:34;8056:19;;17081:68:0;7681:400:1;17081:68:0;-1:-1:-1;;;;;17168:21:0;;17160:68;;;;-1:-1:-1;;;17160:68:0;;5197:2:1;17160:68:0;;;5179:21:1;5236:2;5216:18;;;5209:30;5275:34;5255:18;;;5248:62;-1:-1:-1;;;5326:18:1;;;5319:32;5368:19;;17160:68:0;4995:398:1;17160:68:0;-1:-1:-1;;;;;17241:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;17293:32;;9692:25:1;;;17293:32:0;;9665:18:1;17293:32:0;;;;;;;16953:380;;;:::o;14135:770::-;-1:-1:-1;;;;;14275:20:0;;14267:70;;;;-1:-1:-1;;;14267:70:0;;7123:2:1;14267:70:0;;;7105:21:1;7162:2;7142:18;;;7135:30;7201:34;7181:18;;;7174:62;-1:-1:-1;;;7252:18:1;;;7245:35;7297:19;;14267:70:0;6921:401:1;14267:70:0;-1:-1:-1;;;;;14356:23:0;;14348:71;;;;-1:-1:-1;;;14348:71:0;;4039:2:1;14348:71:0;;;4021:21:1;4078:2;4058:18;;;4051:30;4117:34;4097:18;;;4090:62;-1:-1:-1;;;4168:18:1;;;4161:33;4211:19;;14348:71:0;3837:399:1;14348:71:0;-1:-1:-1;;;;;14516:17:0;;14492:21;14516:17;;;:9;:17;;;;;;14566:23;;;;14544:111;;;;-1:-1:-1;;;14544:111:0;;5600:2:1;14544:111:0;;;5582:21:1;5639:2;5619:18;;;5612:30;5678:34;5658:18;;;5651:62;-1:-1:-1;;;5729:18:1;;;5722:36;5775:19;;14544:111:0;5398:402:1;14544:111:0;-1:-1:-1;;;;;14691:17:0;;;;;;;:9;:17;;;;;;14711:22;;;14691:42;;14755:20;;;;;;;;:30;;14727:6;;14691:17;14755:30;;14727:6;;14755:30;:::i;:::-;;;;;;;;14820:9;-1:-1:-1;;;;;14803:35:0;14812:6;-1:-1:-1;;;;;14803:35:0;;14831:6;14803:35;;;;9692:25:1;;9680:2;9665:18;;9546:177;14803:35:0;;;;;;;;14851:46;17933:125;15192:399;-1:-1:-1;;;;;15276:21:0;;15268:65;;;;-1:-1:-1;;;15268:65:0;;9388:2:1;15268:65:0;;;9370:21:1;9427:2;9407:18;;;9400:30;9466:33;9446:18;;;9439:61;9517:18;;15268:65:0;9186:355:1;15268:65:0;15424:6;15408:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;15441:18:0;;;;;;:9;:18;;;;;:28;;15463:6;;15441:18;:28;;15463:6;;15441:28;:::i;:::-;;;;-1:-1:-1;;15485:37:0;;9692:25:1;;;-1:-1:-1;;;;;15485:37:0;;;15502:1;;15485:37;;9680:2:1;9665:18;15485:37:0;;;;;;;35413:251;;:::o;2895:173::-;2951:16;2970:6;;-1:-1:-1;;;;;2987:17:0;;;-1:-1:-1;;;;;;2987:17:0;;;;;;3020:40;;2970:6;;;;;;;3020:40;;2951:16;3020:40;2940:128;2895:173;:::o;31304:915::-;31557:12;;31546:7;:23;;:48;;;;;31584:10;;31573:7;:21;;31546:48;31524:119;;;;-1:-1:-1;;;31524:119:0;;8288:2:1;31524:119:0;;;8270:21:1;8327:2;8307:18;;;8300:30;-1:-1:-1;;;8346:18:1;;;8339:51;8407:18;;31524:119:0;8086:345:1;31524:119:0;31814:6;;31791:30;;;;:22;:30;;;;;;;;:39;;;;;;;;;;;31790:40;31768:115;;;;-1:-1:-1;;;31768:115:0;;7529:2:1;31768:115:0;;;7511:21:1;7568:2;7548:18;;;7541:30;7607:27;7587:18;;;7580:55;7652:18;;31768:115:0;7327:349:1;31768:115:0;32045:6;;32022:30;;;;:22;:30;;;;;;;;:39;;;;;;;;:46;;-1:-1:-1;;32022:46:0;32064:4;32022:46;;;32187:23;;32169:42;;32175:10;;32169:5;:42::i;14:247:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;181:9;168:23;200:31;225:5;200:31;:::i;:::-;250:5;14:247;-1:-1:-1;;;14:247:1:o;266:251::-;336:6;389:2;377:9;368:7;364:23;360:32;357:52;;;405:1;402;395:12;357:52;437:9;431:16;456:31;481:5;456:31;:::i;522:388::-;590:6;598;651:2;639:9;630:7;626:23;622:32;619:52;;;667:1;664;657:12;619:52;706:9;693:23;725:31;750:5;725:31;:::i;:::-;775:5;-1:-1:-1;832:2:1;817:18;;804:32;845:33;804:32;845:33;:::i;:::-;897:7;887:17;;;522:388;;;;;:::o;915:456::-;992:6;1000;1008;1061:2;1049:9;1040:7;1036:23;1032:32;1029:52;;;1077:1;1074;1067:12;1029:52;1116:9;1103:23;1135:31;1160:5;1135:31;:::i;:::-;1185:5;-1:-1:-1;1242:2:1;1227:18;;1214:32;1255:33;1214:32;1255:33;:::i;:::-;915:456;;1307:7;;-1:-1:-1;;;1361:2:1;1346:18;;;;1333:32;;915:456::o;1376:315::-;1444:6;1452;1505:2;1493:9;1484:7;1480:23;1476:32;1473:52;;;1521:1;1518;1511:12;1473:52;1560:9;1547:23;1579:31;1604:5;1579:31;:::i;:::-;1629:5;1681:2;1666:18;;;;1653:32;;-1:-1:-1;;;1376:315:1:o;1696:180::-;1755:6;1808:2;1796:9;1787:7;1783:23;1779:32;1776:52;;;1824:1;1821;1814:12;1776:52;-1:-1:-1;1847:23:1;;1696:180;-1:-1:-1;1696:180:1:o;1881:184::-;1951:6;2004:2;1992:9;1983:7;1979:23;1975:32;1972:52;;;2020:1;2017;2010:12;1972:52;-1:-1:-1;2043:16:1;;1881:184;-1:-1:-1;1881:184:1:o;2070:248::-;2138:6;2146;2199:2;2187:9;2178:7;2174:23;2170:32;2167:52;;;2215:1;2212;2205:12;2167:52;-1:-1:-1;;2238:23:1;;;2308:2;2293:18;;;2280:32;;-1:-1:-1;2070:248:1:o;3235:597::-;3347:4;3376:2;3405;3394:9;3387:21;3437:6;3431:13;3480:6;3475:2;3464:9;3460:18;3453:34;3505:1;3515:140;3529:6;3526:1;3523:13;3515:140;;;3624:14;;;3620:23;;3614:30;3590:17;;;3609:2;3586:26;3579:66;3544:10;;3515:140;;;3673:6;3670:1;3667:13;3664:91;;;3743:1;3738:2;3729:6;3718:9;3714:22;3710:31;3703:42;3664:91;-1:-1:-1;3816:2:1;3795:15;-1:-1:-1;;3791:29:1;3776:45;;;;3823:2;3772:54;;3235:597;-1:-1:-1;;;3235:597:1:o;6560:356::-;6762:2;6744:21;;;6781:18;;;6774:30;6840:34;6835:2;6820:18;;6813:62;6907:2;6892:18;;6560:356::o;9917:128::-;9957:3;9988:1;9984:6;9981:1;9978:13;9975:39;;;9994:18;;:::i;:::-;-1:-1:-1;10030:9:1;;9917:128::o;10050:422::-;10139:1;10182:5;10139:1;10196:270;10217:7;10207:8;10204:21;10196:270;;;10276:4;10272:1;10268:6;10264:17;10258:4;10255:27;10252:53;;;10285:18;;:::i;:::-;10335:7;10325:8;10321:22;10318:55;;;10355:16;;;;10318:55;10434:22;;;;10394:15;;;;10196:270;;;10200:3;10050:422;;;;;:::o;10477:140::-;10535:5;10564:47;10605:4;10595:8;10591:19;10585:4;10671:5;10701:8;10691:80;;-1:-1:-1;10742:1:1;10756:5;;10691:80;10790:4;10780:76;;-1:-1:-1;10827:1:1;10841:5;;10780:76;10872:4;10890:1;10885:59;;;;10958:1;10953:130;;;;10865:218;;10885:59;10915:1;10906:10;;10929:5;;;10953:130;10990:3;10980:8;10977:17;10974:43;;;10997:18;;:::i;:::-;-1:-1:-1;;11053:1:1;11039:16;;11068:5;;10865:218;;11167:2;11157:8;11154:16;11148:3;11142:4;11139:13;11135:36;11129:2;11119:8;11116:16;11111:2;11105:4;11102:12;11098:35;11095:77;11092:159;;;-1:-1:-1;11204:19:1;;;11236:5;;11092:159;11283:34;11308:8;11302:4;11283:34;:::i;:::-;11353:6;11349:1;11345:6;11341:19;11332:7;11329:32;11326:58;;;11364:18;;:::i;:::-;11402:20;;10622:806;-1:-1:-1;;;10622:806:1:o;11433:168::-;11473:7;11539:1;11535;11531:6;11527:14;11524:1;11521:21;11516:1;11509:9;11502:17;11498:45;11495:71;;;11546:18;;:::i;:::-;-1:-1:-1;11586:9:1;;11433:168::o;11606:380::-;11685:1;11681:12;;;;11728;;;11749:61;;11803:4;11795:6;11791:17;11781:27;;11749:61;11856:2;11848:6;11845:14;11825:18;11822:38;11819:161;;;11902:10;11897:3;11893:20;11890:1;11883:31;11937:4;11934:1;11927:15;11965:4;11962:1;11955:15;11819:161;;11606:380;;;:::o;11991:135::-;12030:3;-1:-1:-1;;12051:17:1;;12048:43;;;12071:18;;:::i;:::-;-1:-1:-1;12118:1:1;12107:13;;11991:135::o;12131:127::-;12192:10;12187:3;12183:20;12180:1;12173:31;12223:4;12220:1;12213:15;12247:4;12244:1;12237:15;12263:131;-1:-1:-1;;;;;12338:31:1;;12328:42;;12318:70;;12384:1;12381;12374:12
Swarm Source
ipfs://18d345deda60bb8be6ec0c2ba2226db04e33cb88103206e8363649e23673249b
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.