Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
35,306,969 CGLD
Holders
692
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
382,738.608833591325449511 CGLDValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CorruptionGold
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-13 */ // SPDX-License-Identifier: UNLICENSED /* $$8$$$8$$$$$$$88$$$$$$$$8$8$$$$ 8...................8..8......$ $.8......88.......8.......8...$ $..88.......8CC8CC............$ $8.........C88OOO8CC......8..8$ $8.8.....88OOR8RRR8OCC8....8..$ $.......C.ORRRRRRRRRO.C....8..$ $....8.C.88RRUUUUURRRO.C.8....$ $8...8C.8RR.UP8PPPU.RRO.C.....$ $.8..8.OR8.88.T88.PU.RRO.88...$ $...8CO8R.UPTTI8I8TP8.RROC.8.8$ $...CO8R.UPT.IOOO8.TPU.RROC..8$ $.88CORRUP8.IO8N8OI.TPURR8C8..$ $..C8RR8P.TION.8.8OIT.P8RROC..$ $.8COR8UP8ION..8..NOIT8URROC..$ 8..CORRUPTION..8..NOI8PURRO8..$ $.88ORRUP8ION.....8OITPU8ROC..$ $..CORRUP.TION...NOIT.PURR8C..$ $...COR8UPT.I8N8NOI.TP8RROC..8$ $...COR8.U8T8IOO8I.TPU8RROC...$ $8...C88R.UPTTIII8888.RROC..8.$ $8.8.C.ORR.8P.TT88PU.RRO.C8...$ $.8...C.ORR.UPP8PP8.R8O.C...8.$ $......C.8R88UUUU8RRRO.C8....8$ 8.......C.OR8RRRRRRRO.C.......$ $....8.8.CCOORRRR888CC...88...$ $..........CCOO8OOCC..........$ $........88..CCC8C..8.........$ 88.8......8.............88....$ $.....................88..88..$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ gm fellow onchain vagina nft holders */ 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 Corruption Gold for Corruption holders! /// @author Will Papper <https://twitter.com/WillPapper> /// Modified by zefram.eth /// @notice This contract mints Corruption Gold for Corruption holders and provides /// administrative functions to the Corruption DAO. It allows: /// * Corruption holders to claim Corruption Gold /// * A DAO to set seasons for new opportunities to claim Corruption Gold /// * A DAO to mint Corruption Gold for use within the Corruption ecosystem /// @custom:unaudited This contract has not been audited. Use at your own risk. contract CorruptionGold is Context, Ownable, ERC20 { // Corruption contract is available at https://etherscan.io/address/0xff9c1b15b16263c61d017ee9f65c50e4ae0113d7 address public corruptionContractAddress = 0x5BDf397bB2912859Dbd8011F320a222f79A28d2E; IERC721Enumerable public corruptionContract; // Give out 10,000 Corruption Gold for every Corruption that a user holds uint256 public corruptionGoldPerTokenId = 10000 * (10**decimals()); // tokenIdStart of 1 uint256 public tokenIdStart = 1; // tokenIdEnd of 4196 uint256 public tokenIdEnd = 4196; // 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("Corruption Gold", "CGLD") { corruptionContract = IERC721Enumerable(corruptionContractAddress); // it's fair launch my dear apes _mint(0x5f350bF5feE8e254D6077f8661E9C7B83a30364e, 4206969 * (10**decimals())); } /// @notice Claim Corruption Gold for a given Corruption ID /// @param tokenId The tokenId of the Corruption 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() == corruptionContract.ownerOf(tokenId), "MUST_OWN_TOKEN_ID" ); // Further Checks, Effects, and Interactions are contained within the // _claim() function _claim(tokenId, _msgSender()); } /// @notice Claim Corruption 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 Corruption /// Gold in batches. function claimAllForOwner() external { uint256 tokenBalanceOwner = corruptionContract.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( corruptionContract.tokenOfOwnerByIndex(_msgSender(), i), _msgSender() ); } } /// @notice Claim Corruption Gold for all tokens owned by the sender within a /// given range /// @notice This function is useful if you own too much Corruption to claim all at /// once or if you want to leave some Corruption unclaimed. If you leave Corruption /// unclaimed, however, you cannot claim it once the next season starts. function claimRangeForOwner(uint256 ownerIndexStart, uint256 ownerIndexEnd) external { uint256 tokenBalanceOwner = corruptionContract.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( corruptionContract.tokenOfOwnerByIndex(_msgSender(), i), _msgSender() ); } } /// @dev Internal function to mint Corruption 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 Corruption Gold have not already been claimed this season // for a given tokenId require( !seasonClaimedByTokenId[season][tokenId], "GOLD_CLAIMED_FOR_TOKEN_ID" ); // Effects // Mark that Corruption Gold has been claimed for this season for the // given tokenId seasonClaimedByTokenId[season][tokenId] = true; // Interactions // Send Corruption Gold to the owner of the token ID _mint(tokenOwner, corruptionGoldPerTokenId); } /// @notice Allows the DAO to mint new tokens for use within the Corruption /// Ecosystem /// @param amountDisplayValue The amount of Corruption to mint. This should be /// input as the display value, not in raw decimals. If you want to mint /// 100 Corruption, 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 Corruption. This is /// relevant in the event that Corruption migrates to a new contract. /// @param corruptionContractAddress_ The new contract address for Corruption function daoSetCorruptionContractAddress(address corruptionContractAddress_) external onlyOwner { corruptionContractAddress = corruptionContractAddress_; corruptionContract = IERC721Enumerable(corruptionContractAddress); } /// @notice Allows the DAO to set the token IDs that are eligible to claim /// Corruption /// @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 Corruption contract has a different /// total supply of Corruption function daoSetTokenIdRange(uint256 tokenIdStart_, uint256 tokenIdEnd_) external onlyOwner { tokenIdStart = tokenIdStart_; tokenIdEnd = tokenIdEnd_; } /// @notice Allows the DAO to set a season for new Corruption Gold claims /// @param season_ The season to use for claiming Corruption function daoSetSeason(uint256 season_) public onlyOwner { season = season_; } /// @notice Allows the DAO to set the amount of Corruption Gold that is /// claimed per token ID /// @param corruptionGoldDisplayValue The amount of Corruption a user can claim. /// This should be input as the display value, not in raw decimals. If you /// want to mint 100 Corruption, you should enter "100" rather than the value of /// 100 * 10^18. function daoSetCorruptionGoldPerTokenId(uint256 corruptionGoldDisplayValue) public onlyOwner { corruptionGoldPerTokenId = corruptionGoldDisplayValue * (10**decimals()); } /// @notice Allows the DAO to set the season and Corruption Gold per token ID /// in one transaction. This ensures that there is not a gap where a user /// can claim more Corruption Gold than others /// @param season_ The season to use for claiming loot /// @param corruptionGoldDisplayValue The amount of Corruption a user can claim. /// This should be input as the display value, not in raw decimals. If you /// want to mint 100 Corruption, 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 /// corruptionGold 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 daoSetSeasonAndCorruptionGoldPerTokenID( uint256 season_, uint256 corruptionGoldDisplayValue ) external onlyOwner { daoSetSeason(season_); daoSetCorruptionGoldPerTokenId(corruptionGoldDisplayValue); } }
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":[{"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":[],"name":"corruptionContract","outputs":[{"internalType":"contract IERC721Enumerable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"corruptionContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"corruptionGoldPerTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountDisplayValue","type":"uint256"}],"name":"daoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"corruptionContractAddress_","type":"address"}],"name":"daoSetCorruptionContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"corruptionGoldDisplayValue","type":"uint256"}],"name":"daoSetCorruptionGoldPerTokenId","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":"corruptionGoldDisplayValue","type":"uint256"}],"name":"daoSetSeasonAndCorruptionGoldPerTokenID","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":"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
6080604052600680546001600160a01b031916735bdf397bb2912859dbd8011f320a222f79a28d2e17905562000033601290565b6200004090600a6200045f565b6200004e9061271062000477565b6008556001600955611064600a556000600b553480156200006e57600080fd5b506040518060400160405280600f81526020016e10dbdc9c9d5c1d1a5bdb8811dbdb19608a1b8152506040518060400160405280600481526020016310d1d31160e21b815250620000ce620000c86200016860201b60201c565b6200016c565b8151620000e3906004906020850190620002a4565b508051620000f9906005906020840190620002a4565b5050600654600780546001600160a01b0319166001600160a01b039092169190911790555062000162735f350bf5fee8e254d6077f8661e9c7b83a30364e62000140601290565b6200014d90600a6200045f565b6200015c906240317962000477565b620001bc565b620004f1565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620002175760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b80600360008282546200022b919062000499565b90915550506001600160a01b038216600090815260016020526040812080548392906200025a90849062000499565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620002b290620004b4565b90600052602060002090601f016020900481019282620002d6576000855562000321565b82601f10620002f157805160ff191683800117855562000321565b8280016001018555821562000321579182015b828111156200032157825182559160200191906001019062000304565b506200032f92915062000333565b5090565b5b808211156200032f576000815560010162000334565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620003a15781600019048211156200038557620003856200034a565b808516156200039357918102915b93841c939080029062000365565b509250929050565b600082620003ba5750600162000459565b81620003c95750600062000459565b8160018114620003e25760028114620003ed576200040d565b600191505062000459565b60ff8411156200040157620004016200034a565b50506001821b62000459565b5060208310610133831016604e8410600b841016171562000432575081810a62000459565b6200043e838362000360565b80600019048211156200045557620004556200034a565b0290505b92915050565b60006200047060ff841683620003a9565b9392505050565b60008160001904831182151516156200049457620004946200034a565b500290565b60008219821115620004af57620004af6200034a565b500190565b600181811c90821680620004c957607f821691505b60208210811415620004eb57634e487b7160e01b600052602260045260246000fd5b50919050565b61154480620005016000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063715018a611610104578063a9059cbb116100a2578063d99c047711610071578063d99c0477146103c8578063dd62ed3e146103db578063e5e808cb14610414578063f2fde38b1461044257600080fd5b8063a9059cbb14610391578063becf7741146103a4578063c50b0fb0146103b7578063cbf0b276146103c057600080fd5b8063943b03e6116100de578063943b03e61461035057806395a8a3fc1461036357806395d89b4114610376578063a457c2d71461037e57600080fd5b8063715018a614610324578063878e7ea51461032c5780638da5cb5b1461033f57600080fd5b80632b1843651161017c57806343f428021161014b57806343f42802146102cc5780634da7808a146102d557806362759f6c146102e857806370a08231146102fb57600080fd5b80632b1843651461026c578063313ce5671461029757806339509351146102a657806342e47315146102b957600080fd5b806318160ddd116101b857806318160ddd14610233578063216fe60d1461023b57806323b872dd146102505780632a3890621461026357600080fd5b80630210bcf0146101df57806306fdde03146101fb578063095ea7b314610210575b600080fd5b6101e860085481565b6040519081526020015b60405180910390f35b610203610455565b6040516101f2919061119e565b61022361021e366004611208565b6104e7565b60405190151581526020016101f2565b6003546101e8565b61024e610249366004611234565b6104fe565b005b61022361025e36600461124d565b61054d565b6101e860095481565b60075461027f906001600160a01b031681565b6040516001600160a01b0390911681526020016101f2565b604051601281526020016101f2565b6102236102b4366004611208565b6105f7565b61024e6102c7366004611234565b610633565b6101e8600a5481565b61024e6102e336600461128e565b610662565b61024e6102f6366004611234565b610697565b6101e86103093660046112b0565b6001600160a01b031660009081526001602052604090205490565b61024e6106f4565b61024e61033a36600461128e565b61072a565b6000546001600160a01b031661027f565b60065461027f906001600160a01b031681565b61024e6103713660046112b0565b6108dc565b610203610932565b61022361038c366004611208565b610941565b61022361039f366004611208565b6109da565b61024e6103b2366004611234565b6109e7565b6101e8600b5481565b61024e610ab2565b61024e6103d636600461128e565b610baf565b6101e86103e93660046112d4565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61022361042236600461128e565b600c60209081526000928352604080842090915290825290205460ff1681565b61024e6104503660046112b0565b610beb565b6060600480546104649061130d565b80601f01602080910402602001604051908101604052809291908181526020018280546104909061130d565b80156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b5050505050905090565b60006104f4338484610c83565b5060015b92915050565b6000546001600160a01b031633146105315760405162461bcd60e51b815260040161052890611348565b60405180910390fd5b61053d6012600a611477565b6105479082611486565b60085550565b600061055a848484610da7565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156105df5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610528565b6105ec8533858403610c83565b506001949350505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104f491859061062e9086906114a5565b610c83565b6000546001600160a01b0316331461065d5760405162461bcd60e51b815260040161052890611348565b600b55565b6000546001600160a01b0316331461068c5760405162461bcd60e51b815260040161052890611348565b600991909155600a55565b6000546001600160a01b031633146106c15760405162461bcd60e51b815260040161052890611348565b6106f16106d66000546001600160a01b031690565b6106e26012600a611477565b6106ec9084611486565b610f75565b50565b6000546001600160a01b0316331461071e5760405162461bcd60e51b815260040161052890611348565b6107286000611054565b565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610783573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a791906114bd565b9050600081116107eb5760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b80821061082f5760405162461bcd60e51b8152602060048201526012602482015271494e4445585f4f55545f4f465f52414e474560701b6044820152606401610528565b825b8281116108d6576007546108c4906001600160a01b0316632f745c59335b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381865afa15801561089a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108be91906114bd565b336110a4565b806108ce816114d6565b915050610831565b50505050565b6000546001600160a01b031633146109065760405162461bcd60e51b815260040161052890611348565b600680546001600160a01b039092166001600160a01b0319928316811790915560078054909216179055565b6060600580546104649061130d565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156109c35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610528565b6109d03385858403610c83565b5060019392505050565b60006104f4338484610da7565b6007546040516331a9108f60e11b8152600481018390526001600160a01b0390911690636352211e90602401602060405180830381865afa158015610a30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5491906114f1565b6001600160a01b0316336001600160a01b031614610aa85760405162461bcd60e51b8152602060048201526011602482015270135554d517d3d5d397d513d2d15397d251607a1b6044820152606401610528565b6106f181336110a4565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2f91906114bd565b905060008111610b735760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b60005b81811015610bab57600754610b99906001600160a01b0316632f745c593361084f565b80610ba3816114d6565b915050610b76565b5050565b6000546001600160a01b03163314610bd95760405162461bcd60e51b815260040161052890611348565b610be282610633565b610bab816104fe565b6000546001600160a01b03163314610c155760405162461bcd60e51b815260040161052890611348565b6001600160a01b038116610c7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610528565b6106f181611054565b6001600160a01b038316610ce55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610528565b6001600160a01b038216610d465760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610528565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e0b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610528565b6001600160a01b038216610e6d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b6001600160a01b03831660009081526001602052604090205481811015610ee55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610528565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610f1c9084906114a5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f6891815260200190565b60405180910390a36108d6565b6001600160a01b038216610fcb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610528565b8060036000828254610fdd91906114a5565b90915550506001600160a01b0382166000908152600160205260408120805483929061100a9084906114a5565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60095482101580156110b85750600a548211155b6110fc5760405162461bcd60e51b8152602060048201526015602482015274544f4b454e5f49445f4f55545f4f465f52414e474560581b6044820152606401610528565b600b546000908152600c6020908152604080832085845290915290205460ff16156111695760405162461bcd60e51b815260206004820152601960248201527f474f4c445f434c41494d45445f464f525f544f4b454e5f4944000000000000006044820152606401610528565b600b546000908152600c602090815260408083208584529091529020805460ff19166001179055600854610bab908290610f75565b600060208083528351808285015260005b818110156111cb578581018301518582016040015282016111af565b818111156111dd576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146106f157600080fd5b6000806040838503121561121b57600080fd5b8235611226816111f3565b946020939093013593505050565b60006020828403121561124657600080fd5b5035919050565b60008060006060848603121561126257600080fd5b833561126d816111f3565b9250602084013561127d816111f3565b929592945050506040919091013590565b600080604083850312156112a157600080fd5b50508035926020909101359150565b6000602082840312156112c257600080fd5b81356112cd816111f3565b9392505050565b600080604083850312156112e757600080fd5b82356112f2816111f3565b91506020830135611302816111f3565b809150509250929050565b600181811c9082168061132157607f821691505b6020821081141561134257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156113ce5781600019048211156113b4576113b461137d565b808516156113c157918102915b93841c9390800290611398565b509250929050565b6000826113e5575060016104f8565b816113f2575060006104f8565b816001811461140857600281146114125761142e565b60019150506104f8565b60ff8411156114235761142361137d565b50506001821b6104f8565b5060208310610133831016604e8410600b8410161715611451575081810a6104f8565b61145b8383611393565b806000190482111561146f5761146f61137d565b029392505050565b60006112cd60ff8416836113d6565b60008160001904831182151516156114a0576114a061137d565b500290565b600082198211156114b8576114b861137d565b500190565b6000602082840312156114cf57600080fd5b5051919050565b60006000198214156114ea576114ea61137d565b5060010190565b60006020828403121561150357600080fd5b81516112cd816111f356fea26469706673582212202ac0f094731fbed59f1d61f2dceccc8d60b48ab8bede0e2bee072563828d850964736f6c634300080a0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063715018a611610104578063a9059cbb116100a2578063d99c047711610071578063d99c0477146103c8578063dd62ed3e146103db578063e5e808cb14610414578063f2fde38b1461044257600080fd5b8063a9059cbb14610391578063becf7741146103a4578063c50b0fb0146103b7578063cbf0b276146103c057600080fd5b8063943b03e6116100de578063943b03e61461035057806395a8a3fc1461036357806395d89b4114610376578063a457c2d71461037e57600080fd5b8063715018a614610324578063878e7ea51461032c5780638da5cb5b1461033f57600080fd5b80632b1843651161017c57806343f428021161014b57806343f42802146102cc5780634da7808a146102d557806362759f6c146102e857806370a08231146102fb57600080fd5b80632b1843651461026c578063313ce5671461029757806339509351146102a657806342e47315146102b957600080fd5b806318160ddd116101b857806318160ddd14610233578063216fe60d1461023b57806323b872dd146102505780632a3890621461026357600080fd5b80630210bcf0146101df57806306fdde03146101fb578063095ea7b314610210575b600080fd5b6101e860085481565b6040519081526020015b60405180910390f35b610203610455565b6040516101f2919061119e565b61022361021e366004611208565b6104e7565b60405190151581526020016101f2565b6003546101e8565b61024e610249366004611234565b6104fe565b005b61022361025e36600461124d565b61054d565b6101e860095481565b60075461027f906001600160a01b031681565b6040516001600160a01b0390911681526020016101f2565b604051601281526020016101f2565b6102236102b4366004611208565b6105f7565b61024e6102c7366004611234565b610633565b6101e8600a5481565b61024e6102e336600461128e565b610662565b61024e6102f6366004611234565b610697565b6101e86103093660046112b0565b6001600160a01b031660009081526001602052604090205490565b61024e6106f4565b61024e61033a36600461128e565b61072a565b6000546001600160a01b031661027f565b60065461027f906001600160a01b031681565b61024e6103713660046112b0565b6108dc565b610203610932565b61022361038c366004611208565b610941565b61022361039f366004611208565b6109da565b61024e6103b2366004611234565b6109e7565b6101e8600b5481565b61024e610ab2565b61024e6103d636600461128e565b610baf565b6101e86103e93660046112d4565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b61022361042236600461128e565b600c60209081526000928352604080842090915290825290205460ff1681565b61024e6104503660046112b0565b610beb565b6060600480546104649061130d565b80601f01602080910402602001604051908101604052809291908181526020018280546104909061130d565b80156104dd5780601f106104b2576101008083540402835291602001916104dd565b820191906000526020600020905b8154815290600101906020018083116104c057829003601f168201915b5050505050905090565b60006104f4338484610c83565b5060015b92915050565b6000546001600160a01b031633146105315760405162461bcd60e51b815260040161052890611348565b60405180910390fd5b61053d6012600a611477565b6105479082611486565b60085550565b600061055a848484610da7565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156105df5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610528565b6105ec8533858403610c83565b506001949350505050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916104f491859061062e9086906114a5565b610c83565b6000546001600160a01b0316331461065d5760405162461bcd60e51b815260040161052890611348565b600b55565b6000546001600160a01b0316331461068c5760405162461bcd60e51b815260040161052890611348565b600991909155600a55565b6000546001600160a01b031633146106c15760405162461bcd60e51b815260040161052890611348565b6106f16106d66000546001600160a01b031690565b6106e26012600a611477565b6106ec9084611486565b610f75565b50565b6000546001600160a01b0316331461071e5760405162461bcd60e51b815260040161052890611348565b6107286000611054565b565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610783573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a791906114bd565b9050600081116107eb5760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b80821061082f5760405162461bcd60e51b8152602060048201526012602482015271494e4445585f4f55545f4f465f52414e474560701b6044820152606401610528565b825b8281116108d6576007546108c4906001600160a01b0316632f745c59335b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381865afa15801561089a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108be91906114bd565b336110a4565b806108ce816114d6565b915050610831565b50505050565b6000546001600160a01b031633146109065760405162461bcd60e51b815260040161052890611348565b600680546001600160a01b039092166001600160a01b0319928316811790915560078054909216179055565b6060600580546104649061130d565b3360009081526002602090815260408083206001600160a01b0386168452909152812054828110156109c35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610528565b6109d03385858403610c83565b5060019392505050565b60006104f4338484610da7565b6007546040516331a9108f60e11b8152600481018390526001600160a01b0390911690636352211e90602401602060405180830381865afa158015610a30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5491906114f1565b6001600160a01b0316336001600160a01b031614610aa85760405162461bcd60e51b8152602060048201526011602482015270135554d517d3d5d397d513d2d15397d251607a1b6044820152606401610528565b6106f181336110a4565b6007546000906001600160a01b03166370a08231336040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381865afa158015610b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2f91906114bd565b905060008111610b735760405162461bcd60e51b815260206004820152600f60248201526e1393d7d513d2d15394d7d3d5d39151608a1b6044820152606401610528565b60005b81811015610bab57600754610b99906001600160a01b0316632f745c593361084f565b80610ba3816114d6565b915050610b76565b5050565b6000546001600160a01b03163314610bd95760405162461bcd60e51b815260040161052890611348565b610be282610633565b610bab816104fe565b6000546001600160a01b03163314610c155760405162461bcd60e51b815260040161052890611348565b6001600160a01b038116610c7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610528565b6106f181611054565b6001600160a01b038316610ce55760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610528565b6001600160a01b038216610d465760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610528565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610e0b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610528565b6001600160a01b038216610e6d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610528565b6001600160a01b03831660009081526001602052604090205481811015610ee55760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610528565b6001600160a01b03808516600090815260016020526040808220858503905591851681529081208054849290610f1c9084906114a5565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610f6891815260200190565b60405180910390a36108d6565b6001600160a01b038216610fcb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610528565b8060036000828254610fdd91906114a5565b90915550506001600160a01b0382166000908152600160205260408120805483929061100a9084906114a5565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60095482101580156110b85750600a548211155b6110fc5760405162461bcd60e51b8152602060048201526015602482015274544f4b454e5f49445f4f55545f4f465f52414e474560581b6044820152606401610528565b600b546000908152600c6020908152604080832085845290915290205460ff16156111695760405162461bcd60e51b815260206004820152601960248201527f474f4c445f434c41494d45445f464f525f544f4b454e5f4944000000000000006044820152606401610528565b600b546000908152600c602090815260408083208584529091529020805460ff19166001179055600854610bab908290610f75565b600060208083528351808285015260005b818110156111cb578581018301518582016040015282016111af565b818111156111dd576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146106f157600080fd5b6000806040838503121561121b57600080fd5b8235611226816111f3565b946020939093013593505050565b60006020828403121561124657600080fd5b5035919050565b60008060006060848603121561126257600080fd5b833561126d816111f3565b9250602084013561127d816111f3565b929592945050506040919091013590565b600080604083850312156112a157600080fd5b50508035926020909101359150565b6000602082840312156112c257600080fd5b81356112cd816111f3565b9392505050565b600080604083850312156112e757600080fd5b82356112f2816111f3565b91506020830135611302816111f3565b809150509250929050565b600181811c9082168061132157607f821691505b6020821081141561134257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156113ce5781600019048211156113b4576113b461137d565b808516156113c157918102915b93841c9390800290611398565b509250929050565b6000826113e5575060016104f8565b816113f2575060006104f8565b816001811461140857600281146114125761142e565b60019150506104f8565b60ff8411156114235761142361137d565b50506001821b6104f8565b5060208310610133831016604e8410600b8410161715611451575081810a6104f8565b61145b8383611393565b806000190482111561146f5761146f61137d565b029392505050565b60006112cd60ff8416836113d6565b60008160001904831182151516156114a0576114a061137d565b500290565b600082198211156114b8576114b861137d565b500190565b6000602082840312156114cf57600080fd5b5051919050565b60006000198214156114ea576114ea61137d565b5060010190565b60006020828403121561150357600080fd5b81516112cd816111f356fea26469706673582212202ac0f094731fbed59f1d61f2dceccc8d60b48ab8bede0e2bee072563828d850964736f6c634300080a0033
Deployed Bytecode Sourcemap
27816:8714:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28222:66;;;;;;;;;160:25:1;;;148:2;133:18;28222:66:0;;;;;;;;9626:100;;;:::i;:::-;;;;;;;:::i;11934:210::-;;;;;;:::i;:::-;;:::i;:::-;;;1419:14:1;;1412:22;1394:41;;1382:2;1367:18;11934:210:0;1254:187:1;10746:108:0;10834:12;;10746:108;;35142:207;;;;;;:::i;:::-;;:::i;:::-;;12626:529;;;;;;:::i;:::-;;:::i;28323:31::-;;;;;;28091:43;;;;;-1:-1:-1;;;;;28091:43:0;;;;;;-1:-1:-1;;;;;2281:32:1;;;2263:51;;2251:2;2236:18;28091:43:0;2092:228:1;10588:93:0;;;10671:2;2467:36:1;;2455:2;2440:18;10588:93:0;2325:184:1;13564:297:0;;;;;;:::i;:::-;;:::i;34662:91::-;;;;;;:::i;:::-;;:::i;28390:32::-;;;;;;34313:196;;;;;;:::i;:::-;;:::i;33297:136::-;;;;;;:::i;:::-;;:::i;10917:177::-;;;;;;:::i;:::-;-1:-1:-1;;;;;11068:18:0;11036:7;11068:18;;;:9;:18;;;;;;;10917:177;3610:94;;;:::i;30984:965::-;;;;;;:::i;:::-;;:::i;2959:87::-;3005:7;3032:6;-1:-1:-1;;;;;3032:6:0;2959:87;;27990:94;;;;;-1:-1:-1;;;;;27990:94:0;;;33685:268;;;;;;:::i;:::-;;:::i;9845:104::-;;;:::i;14364:482::-;;;;;;:::i;:::-;;:::i;11307:216::-;;;;;;:::i;:::-;;:::i;29204:531::-;;;;;;:::i;:::-;;:::i;28538:25::-;;;;;;30007:610;;;:::i;36272:255::-;;;;;;:::i;:::-;;:::i;11586:201::-;;;;;;:::i;:::-;-1:-1:-1;;;;;11752:18:0;;;11720:7;11752:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11586:201;28717:74;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;3859:229;;;;;;:::i;:::-;;:::i;9626:100::-;9680:13;9713:5;9706:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9626:100;:::o;11934:210::-;12053:4;12075:39;1890:10;12098:7;12107:6;12075:8;:39::i;:::-;-1:-1:-1;12132:4:0;11934:210;;;;;:::o;35142:207::-;3005:7;3032:6;-1:-1:-1;;;;;3032:6:0;1890:10;3179:23;3171:68;;;;-1:-1:-1;;;3171:68:0;;;;;;;:::i;:::-;;;;;;;;;35326:14:::1;10671:2:::0;35326::::1;:14;:::i;:::-;35296:45;::::0;:26;:45:::1;:::i;:::-;35269:24;:72:::0;-1:-1:-1;35142:207:0:o;12626:529::-;12766:4;12783:36;12793:6;12801:9;12812:6;12783:9;:36::i;:::-;-1:-1:-1;;;;;12859:19:0;;12832:24;12859:19;;;:11;:19;;;;;;;;1890:10;12859:33;;;;;;;;12925:26;;;;12903:116;;;;-1:-1:-1;;;12903:116:0;;6256:2:1;12903:116:0;;;6238:21:1;6295:2;6275:18;;;6268:30;6334:34;6314:18;;;6307:62;-1:-1:-1;;;6385:18:1;;;6378:38;6433:19;;12903:116:0;6054:404:1;12903:116:0;13055:57;13064:6;1890:10;13105:6;13086:16;:25;13055:8;:57::i;:::-;-1:-1:-1;13143:4:0;;12626:529;-1:-1:-1;;;;12626:529:0:o;13564:297::-;1890:10;13679:4;13773:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;13773:34:0;;;;;;;;;;13679:4;;13701:130;;13751:7;;13773:47;;13810:10;;13773:47;:::i;:::-;13701:8;:130::i;34662:91::-;3005:7;3032:6;-1:-1:-1;;;;;3032:6:0;1890:10;3179:23;3171:68;;;;-1:-1:-1;;;3171:68:0;;;;;;;:::i;:::-;34729:6:::1;:16:::0;34662:91::o;34313:196::-;3005:7;3032:6;-1:-1:-1;;;;;3032:6:0;1890:10;3179:23;3171:68;;;;-1:-1:-1;;;3171:68:0;;;;;;;:::i;:::-;34438:12:::1;:28:::0;;;;34477:10:::1;:24:::0;34313:196::o;33297:136::-;3005:7;3032:6;-1:-1:-1;;;;;3032:6:0;1890:10;3179:23;3171:68;;;;-1:-1:-1;;;3171:68:0;;;;;;;:::i;:::-;33372:53:::1;33378:7;3005::::0;3032:6;-1:-1:-1;;;;;3032:6:0;;2959:87;33378:7:::1;33409:14;10671:2:::0;33409::::1;:14;:::i;:::-;33387:37;::::0;:18;:37:::1;:::i;:::-;33372:5;:53::i;:::-;33297:136:::0;:::o;3610:94::-;3005:7;3032:6;-1:-1:-1;;;;;3032:6:0;1890:10;3179:23;3171:68;;;;-1:-1:-1;;;3171:68:0;;;;;;;:::i;:::-;3675:21:::1;3693:1;3675:9;:21::i;:::-;3610:94::o:0;30984:965::-;31122:18;;31094:25;;-1:-1:-1;;;;;31122:18:0;:28;1890:10;31122:42;;-1:-1:-1;;;;;;31122:42:0;;;;;;;-1:-1:-1;;;;;2281:32:1;;;31122:42:0;;;2263:51:1;2236:18;;31122:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31094:70;;31224:1;31204:17;:21;31196:49;;;;-1:-1:-1;;;31196:49:0;;6987:2:1;31196:49:0;;;6969:21:1;7026:2;7006:18;;;6999:30;-1:-1:-1;;;7045:18:1;;;7038:45;7100:18;;31196:49:0;6785:339:1;31196:49:0;31471:17;31455:13;:33;31409:125;;;;-1:-1:-1;;;31409:125:0;;7331:2:1;31409:125:0;;;7313:21:1;7370:2;7350:18;;;7343:30;-1:-1:-1;;;7389:18:1;;;7382:48;7447:18;;31409:125:0;7129:342:1;31409:125:0;31630:15;31613:329;31652:13;31647:1;:18;31613:329;;31829:18;;31804:126;;-1:-1:-1;;;;;31829:18:0;:38;1890:10;31868:12;31829:55;;-1:-1:-1;;;;;;31829:55:0;;;;;;;-1:-1:-1;;;;;7668:32:1;;;31829:55:0;;;7650:51:1;7717:18;;;7710:34;;;7623:18;;31829:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1890:10;31804:6;:126::i;:::-;31667:3;;;;:::i;:::-;;;;31613:329;;;;31083:866;30984:965;;:::o;33685:268::-;3005:7;3032:6;-1:-1:-1;;;;;3032:6:0;1890:10;3179:23;3171:68;;;;-1:-1:-1;;;3171:68:0;;;;;;;:::i;:::-;33815:25:::1;:54:::0;;-1:-1:-1;;;;;33815:54:0;;::::1;-1:-1:-1::0;;;;;;33815:54:0;;::::1;::::0;::::1;::::0;;;33880:18:::1;:65:::0;;;;::::1;;::::0;;33685:268::o;9845:104::-;9901:13;9934:7;9927:14;;;;;:::i;14364:482::-;1890:10;14484:4;14533:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;14533:34:0;;;;;;;;;;14600:35;;;;14578:122;;;;-1:-1:-1;;;14578:122:0;;8097:2:1;14578:122:0;;;8079:21:1;8136:2;8116:18;;;8109:30;8175:34;8155:18;;;8148:62;-1:-1:-1;;;8226:18:1;;;8219:35;8271:19;;14578:122:0;7895:401:1;14578:122:0;14736:67;1890:10;14759:7;14787:15;14768:16;:34;14736:8;:67::i;:::-;-1:-1:-1;14834:4:0;;14364:482;-1:-1:-1;;;14364:482:0:o;11307:216::-;11429:4;11451:42;1890:10;11475:9;11486:6;11451:9;:42::i;29204:531::-;29496:18;;:35;;-1:-1:-1;;;29496:35:0;;;;;160:25:1;;;-1:-1:-1;;;;;29496:18:0;;;;:26;;133:18:1;;29496:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;29480:51:0;1890:10;-1:-1:-1;;;;;29480:51:0;;29458:118;;;;-1:-1:-1;;;29458:118:0;;8759:2:1;29458:118:0;;;8741:21:1;8798:2;8778:18;;;8771:30;-1:-1:-1;;;8817:18:1;;;8810:47;8874:18;;29458:118:0;8557:341:1;29458:118:0;29698:29;29705:7;1890:10;31804:6;:126::i;30007:610::-;30083:18;;30055:25;;-1:-1:-1;;;;;30083:18:0;:28;1890:10;30083:42;;-1:-1:-1;;;;;;30083:42:0;;;;;;;-1:-1:-1;;;;;2281:32:1;;;30083:42:0;;;2263:51:1;2236:18;;30083:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;30055:70;;30185:1;30165:17;:21;30157:49;;;;-1:-1:-1;;;30157:49:0;;6987:2:1;30157:49:0;;;6969:21:1;7026:2;7006:18;;;6999:30;-1:-1:-1;;;7045:18:1;;;7038:45;7100:18;;30157:49:0;6785:339:1;30157:49:0;30297:9;30292:318;30316:17;30312:1;:21;30292:318;;;30497:18;;30472:126;;-1:-1:-1;;;;;30497:18:0;:38;1890:10;30536:12;1810:98;30472:126;30335:3;;;;:::i;:::-;;;;30292:318;;;;30044:573;30007:610::o;36272:255::-;3005:7;3032:6;-1:-1:-1;;;;;3032:6:0;1890:10;3179:23;3171:68;;;;-1:-1:-1;;;3171:68:0;;;;;;;:::i;:::-;36429:21:::1;36442:7;36429:12;:21::i;:::-;36461:58;36492:26;36461:30;:58::i;3859:229::-:0;3005:7;3032:6;-1:-1:-1;;;;;3032:6:0;1890:10;3179:23;3171:68;;;;-1:-1:-1;;;3171:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3962:22:0;::::1;3940:110;;;::::0;-1:-1:-1;;;3940:110:0;;9105:2:1;3940:110:0::1;::::0;::::1;9087:21:1::0;9144:2;9124:18;;;9117:30;9183:34;9163:18;;;9156:62;-1:-1:-1;;;9234:18:1;;;9227:36;9280:19;;3940:110:0::1;8903:402:1::0;3940:110:0::1;4061:19;4071:8;4061:9;:19::i;18154:380::-:0;-1:-1:-1;;;;;18290:19:0;;18282:68;;;;-1:-1:-1;;;18282:68:0;;9512:2:1;18282:68:0;;;9494:21:1;9551:2;9531:18;;;9524:30;9590:34;9570:18;;;9563:62;-1:-1:-1;;;9641:18:1;;;9634:34;9685:19;;18282:68:0;9310:400:1;18282:68:0;-1:-1:-1;;;;;18369:21:0;;18361:68;;;;-1:-1:-1;;;18361:68:0;;9917:2:1;18361:68:0;;;9899:21:1;9956:2;9936:18;;;9929:30;9995:34;9975:18;;;9968:62;-1:-1:-1;;;10046:18:1;;;10039:32;10088:19;;18361:68:0;9715:398:1;18361:68:0;-1:-1:-1;;;;;18442:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;18494:32;;160:25:1;;;18494:32:0;;133:18:1;18494:32:0;;;;;;;18154:380;;;:::o;15336:770::-;-1:-1:-1;;;;;15476:20:0;;15468:70;;;;-1:-1:-1;;;15468:70:0;;10320:2:1;15468:70:0;;;10302:21:1;10359:2;10339:18;;;10332:30;10398:34;10378:18;;;10371:62;-1:-1:-1;;;10449:18:1;;;10442:35;10494:19;;15468:70:0;10118:401:1;15468:70:0;-1:-1:-1;;;;;15557:23:0;;15549:71;;;;-1:-1:-1;;;15549:71:0;;10726:2:1;15549:71:0;;;10708:21:1;10765:2;10745:18;;;10738:30;10804:34;10784:18;;;10777:62;-1:-1:-1;;;10855:18:1;;;10848:33;10898:19;;15549:71:0;10524:399:1;15549:71:0;-1:-1:-1;;;;;15717:17:0;;15693:21;15717:17;;;:9;:17;;;;;;15767:23;;;;15745:111;;;;-1:-1:-1;;;15745:111:0;;11130:2:1;15745:111:0;;;11112:21:1;11169:2;11149:18;;;11142:30;11208:34;11188:18;;;11181:62;-1:-1:-1;;;11259:18:1;;;11252:36;11305:19;;15745:111:0;10928:402:1;15745:111:0;-1:-1:-1;;;;;15892:17:0;;;;;;;:9;:17;;;;;;15912:22;;;15892:42;;15956:20;;;;;;;;:30;;15928:6;;15892:17;15956:30;;15928:6;;15956:30;:::i;:::-;;;;;;;;16021:9;-1:-1:-1;;;;;16004:35:0;16013:6;-1:-1:-1;;;;;16004:35:0;;16032:6;16004:35;;;;160:25:1;;148:2;133:18;;14:177;16004:35:0;;;;;;;;16052:46;19134:125;16393:399;-1:-1:-1;;;;;16477:21:0;;16469:65;;;;-1:-1:-1;;;16469:65:0;;11537:2:1;16469:65:0;;;11519:21:1;11576:2;11556:18;;;11549:30;11615:33;11595:18;;;11588:61;11666:18;;16469:65:0;11335:355:1;16469:65:0;16625:6;16609:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;16642:18:0;;;;;;:9;:18;;;;;:28;;16664:6;;16642:18;:28;;16664:6;;16642:28;:::i;:::-;;;;-1:-1:-1;;16686:37:0;;160:25:1;;;-1:-1:-1;;;;;16686:37:0;;;16703:1;;16686:37;;148:2:1;133:18;16686:37:0;;;;;;;30292:318;30044:573;30007:610::o;4096:173::-;4152:16;4171:6;;-1:-1:-1;;;;;4188:17:0;;;-1:-1:-1;;;;;;4188:17:0;;;;;;4221:40;;4171:6;;;;;;;4221:40;;4152:16;4221:40;4141:128;4096:173;:::o;32022:919::-;32275:12;;32264:7;:23;;:48;;;;;32302:10;;32291:7;:21;;32264:48;32242:119;;;;-1:-1:-1;;;32242:119:0;;11897:2:1;32242:119:0;;;11879:21:1;11936:2;11916:18;;;11909:30;-1:-1:-1;;;11955:18:1;;;11948:51;12016:18;;32242:119:0;11695:345:1;32242:119:0;32533:6;;32510:30;;;;:22;:30;;;;;;;;:39;;;;;;;;;;;32509:40;32487:115;;;;-1:-1:-1;;;32487:115:0;;12247:2:1;32487:115:0;;;12229:21:1;12286:2;12266:18;;;12259:30;12325:27;12305:18;;;12298:55;12370:18;;32487:115:0;12045:349:1;32487:115:0;32765:6;;32742:30;;;;:22;:30;;;;;;;;:39;;;;;;;;:46;;-1:-1:-1;;32742:46:0;32784:4;32742:46;;;32908:24;;32890:43;;32896:10;;32890:5;:43::i;196:597:1:-;308:4;337:2;366;355:9;348:21;398:6;392:13;441:6;436:2;425:9;421:18;414:34;466:1;476:140;490:6;487:1;484:13;476:140;;;585:14;;;581:23;;575:30;551:17;;;570:2;547:26;540:66;505:10;;476:140;;;634:6;631:1;628:13;625:91;;;704:1;699:2;690:6;679:9;675:22;671:31;664:42;625:91;-1:-1:-1;777:2:1;756:15;-1:-1:-1;;752:29:1;737:45;;;;784:2;733:54;;196:597;-1:-1:-1;;;196:597:1:o;798:131::-;-1:-1:-1;;;;;873:31:1;;863:42;;853:70;;919:1;916;909:12;934:315;1002:6;1010;1063:2;1051:9;1042:7;1038:23;1034:32;1031:52;;;1079:1;1076;1069:12;1031:52;1118:9;1105:23;1137:31;1162:5;1137:31;:::i;:::-;1187:5;1239:2;1224:18;;;;1211:32;;-1:-1:-1;;;934:315:1:o;1446:180::-;1505:6;1558:2;1546:9;1537:7;1533:23;1529:32;1526:52;;;1574:1;1571;1564:12;1526:52;-1:-1:-1;1597:23:1;;1446:180;-1:-1:-1;1446:180:1:o;1631:456::-;1708:6;1716;1724;1777:2;1765:9;1756:7;1752:23;1748:32;1745:52;;;1793:1;1790;1783:12;1745:52;1832:9;1819:23;1851:31;1876:5;1851:31;:::i;:::-;1901:5;-1:-1:-1;1958:2:1;1943:18;;1930:32;1971:33;1930:32;1971:33;:::i;:::-;1631:456;;2023:7;;-1:-1:-1;;;2077:2:1;2062:18;;;;2049:32;;1631:456::o;2514:248::-;2582:6;2590;2643:2;2631:9;2622:7;2618:23;2614:32;2611:52;;;2659:1;2656;2649:12;2611:52;-1:-1:-1;;2682:23:1;;;2752:2;2737:18;;;2724:32;;-1:-1:-1;2514:248:1:o;2767:247::-;2826:6;2879:2;2867:9;2858:7;2854:23;2850:32;2847:52;;;2895:1;2892;2885:12;2847:52;2934:9;2921:23;2953:31;2978:5;2953:31;:::i;:::-;3003:5;2767:247;-1:-1:-1;;;2767:247:1:o;3227:388::-;3295:6;3303;3356:2;3344:9;3335:7;3331:23;3327:32;3324:52;;;3372:1;3369;3362:12;3324:52;3411:9;3398:23;3430:31;3455:5;3430:31;:::i;:::-;3480:5;-1:-1:-1;3537:2:1;3522:18;;3509:32;3550:33;3509:32;3550:33;:::i;:::-;3602:7;3592:17;;;3227:388;;;;;:::o;3620:380::-;3699:1;3695:12;;;;3742;;;3763:61;;3817:4;3809:6;3805:17;3795:27;;3763:61;3870:2;3862:6;3859:14;3839:18;3836:38;3833:161;;;3916:10;3911:3;3907:20;3904:1;3897:31;3951:4;3948:1;3941:15;3979:4;3976:1;3969:15;3833:161;;3620:380;;;:::o;4005:356::-;4207:2;4189:21;;;4226:18;;;4219:30;4285:34;4280:2;4265:18;;4258:62;4352:2;4337:18;;4005:356::o;4366:127::-;4427:10;4422:3;4418:20;4415:1;4408:31;4458:4;4455:1;4448:15;4482:4;4479:1;4472:15;4498:422;4587:1;4630:5;4587:1;4644:270;4665:7;4655:8;4652:21;4644:270;;;4724:4;4720:1;4716:6;4712:17;4706:4;4703:27;4700:53;;;4733:18;;:::i;:::-;4783:7;4773:8;4769:22;4766:55;;;4803:16;;;;4766:55;4882:22;;;;4842:15;;;;4644:270;;;4648:3;4498:422;;;;;:::o;4925:806::-;4974:5;5004:8;4994:80;;-1:-1:-1;5045:1:1;5059:5;;4994:80;5093:4;5083:76;;-1:-1:-1;5130:1:1;5144:5;;5083:76;5175:4;5193:1;5188:59;;;;5261:1;5256:130;;;;5168:218;;5188:59;5218:1;5209:10;;5232:5;;;5256:130;5293:3;5283:8;5280:17;5277:43;;;5300:18;;:::i;:::-;-1:-1:-1;;5356:1:1;5342:16;;5371:5;;5168:218;;5470:2;5460:8;5457:16;5451:3;5445:4;5442:13;5438:36;5432:2;5422:8;5419:16;5414:2;5408:4;5405:12;5401:35;5398:77;5395:159;;;-1:-1:-1;5507:19:1;;;5539:5;;5395:159;5586:34;5611:8;5605:4;5586:34;:::i;:::-;5656:6;5652:1;5648:6;5644:19;5635:7;5632:32;5629:58;;;5667:18;;:::i;:::-;5705:20;;4925:806;-1:-1:-1;;;4925:806:1:o;5736:140::-;5794:5;5823:47;5864:4;5854:8;5850:19;5844:4;5823:47;:::i;5881:168::-;5921:7;5987:1;5983;5979:6;5975:14;5972:1;5969:21;5964:1;5957:9;5950:17;5946:45;5943:71;;;5994:18;;:::i;:::-;-1:-1:-1;6034:9:1;;5881:168::o;6463:128::-;6503:3;6534:1;6530:6;6527:1;6524:13;6521:39;;;6540:18;;:::i;:::-;-1:-1:-1;6576:9:1;;6463:128::o;6596:184::-;6666:6;6719:2;6707:9;6698:7;6694:23;6690:32;6687:52;;;6735:1;6732;6725:12;6687:52;-1:-1:-1;6758:16:1;;6596:184;-1:-1:-1;6596:184:1:o;7755:135::-;7794:3;-1:-1:-1;;7815:17:1;;7812:43;;;7835:18;;:::i;:::-;-1:-1:-1;7882:1:1;7871:13;;7755:135::o;8301:251::-;8371:6;8424:2;8412:9;8403:7;8399:23;8395:32;8392:52;;;8440:1;8437;8430:12;8392:52;8472:9;8466:16;8491:31;8516:5;8491:31;:::i
Swarm Source
ipfs://2ac0f094731fbed59f1d61f2dceccc8d60b48ab8bede0e2bee072563828d8509
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.