Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
552
Holders
236
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
OriginalsGlassApes
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 200 runs
Other Settings:
petersburg EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; // ========== Imports ========== import "./access/AdminControl.sol"; import "./token/IRemixOriginal.sol"; import "./token/extensions/ERC1155RandomMint.sol"; import "./interfaces/IMintClubIncinerator.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract OriginalsGlassApes is ERC1155, ERC1155Burnable, ERC1155RandomMint, Pausable, ReentrancyGuard, AdminControl, Ownable, IRemixOriginal { using Strings for uint256; // ========== Mint Window Maximum Supply ========== uint16 internal GOLD_WINDOW_MAX_SUPPLY = 100; uint16 internal ANY_WINDOW_MAX_SUPPLY = 250; uint16 internal REMIX_WINDOW_MAX_SUPPLY = 149; uint8 constant GOLD_TOKEN_ID = 1; uint8 constant BASIC_TOKEN_ID = 2; uint256 internal MAX_TOKEN_COUNT = 85; uint256 internal SUPPLY_PER_ADDITIONAL_TOKEN = 10; // ========== Immutable Variables ========== /// @notice Mint Token Address address payable public immutable INCINERATOR_CONTRACT_ADDRESS; /// @notice Remix Contract Address address payable public immutable REMIX_CONTRACT_ADDRESS; /// @notice An address to withdraw balance to address payable public immutable PAYABLE_ADDRESS_1; /// @notice An address to withdraw balance to address payable public immutable PAYABLE_ADDRESS_2; // ========== Mutable Variables ========== string public baseURI; mapping(address => mapping(TokenRequirementType => uint256)) numMintsPerAddress; enum TokenRequirementType { NONE, GOLD, BASIC, ANY } struct MintWindow { TokenRequirementType tokenRequirement; bool remixHolderRequired; uint mintCostToken; uint256 mintCostETH; uint256 maximumSupply; uint16 walletLimit; } mapping(address => mapping(MintWindowType => uint256)) numberOfTokensMintedPerWindowByAddress; enum MintWindowType { GOLD, ANY, REMIX, PUBLIC } mapping(MintWindowType => MintWindow) public mintWindows; MintWindowType public currentMintWindow; mapping(MintWindowType => uint256) public numMintsByWindow; // ========== Constructor ========== constructor( address payable _INCINERATOR_CONTRACT_ADDRESS, address payable _REMIX_CONTRACT_ADDRESS, address _payableAddress1, address _payableAddress2, uint256[] memory tokenSupply ) ERC1155(baseURI) ERC1155RandomMint(tokenSupply) { // TODO: Check that the base URI is correct baseURI = "https://storageapi.fleek.co/apedao-bucket/glass-apes/"; REMIX_CONTRACT_ADDRESS = _REMIX_CONTRACT_ADDRESS; INCINERATOR_CONTRACT_ADDRESS = _INCINERATOR_CONTRACT_ADDRESS; PAYABLE_ADDRESS_1 = payable(_payableAddress1); PAYABLE_ADDRESS_2 = payable(_payableAddress2); // Define Planned Mint Windows mintWindows[MintWindowType.GOLD] = MintWindow( TokenRequirementType.GOLD, true, 2, 0, // Free GOLD_WINDOW_MAX_SUPPLY, 5 ); mintWindows[MintWindowType.ANY] = MintWindow( TokenRequirementType.ANY, true, 1, 0.05 ether, // 0.05 ETH ANY_WINDOW_MAX_SUPPLY, 5 ); mintWindows[MintWindowType.REMIX] = MintWindow( TokenRequirementType.NONE, true, 0, 0.07 ether, // 0.07 ETH REMIX_WINDOW_MAX_SUPPLY, 5 ); mintWindows[MintWindowType.PUBLIC] = MintWindow( TokenRequirementType.NONE, false, 0, 0.09 ether, // 0.09 ETH totalTokenSupply, // No Maximum 0 ); // Start with the current mint window as gold and pause sale currentMintWindow = MintWindowType.GOLD; _pause(); } // ========== Minting ========== function mint(uint256 _quantity) public payable whenNotPaused nonReentrant { require(mintWindows[currentMintWindow].tokenRequirement == TokenRequirementType.NONE, "Mint tokens are required to mint."); canMint(_quantity); _mint(msg.sender, _quantity); numMintsByWindow[currentMintWindow] += _quantity; numberOfTokensMintedPerWindowByAddress[msg.sender][currentMintWindow] += _quantity; } function mintWithTokens(uint256 _numGoldTokens, uint256 _basicGoldTokens) public payable whenNotPaused nonReentrant { require(mintWindows[currentMintWindow].tokenRequirement != TokenRequirementType.NONE, "Mint tokens are required to mint."); uint256 _tokens; if(mintWindows[currentMintWindow].tokenRequirement == TokenRequirementType.GOLD) { require(_numGoldTokens > 0, "Gold token must be greater than 0"); require(_basicGoldTokens == 0, "only gold tokens are required to mint"); _tokens = _numGoldTokens; } if(mintWindows[currentMintWindow].tokenRequirement == TokenRequirementType.BASIC) { require(_basicGoldTokens > 0, "Basic token must be greater than 0"); require(_numGoldTokens == 0, "only basic tokens are required to mint"); _tokens = _basicGoldTokens; } if(mintWindows[currentMintWindow].tokenRequirement == TokenRequirementType.ANY) { require(_numGoldTokens > 0 || _basicGoldTokens > 0, "Gold or Basic token must be greater than 0"); _tokens = _basicGoldTokens + _numGoldTokens; } // Calculate quantity require(_tokens % mintWindows[currentMintWindow].mintCostToken == 0, "Quantity must be a multiple of mint cost token"); uint256 _quantity = _tokens / mintWindows[currentMintWindow].mintCostToken; canMint(_quantity); // Burn Mint Tokens IMintClubIncinerator incineratorContract = IMintClubIncinerator(INCINERATOR_CONTRACT_ADDRESS); // If Gold token is required if((getMintTokenRequirement() == TokenRequirementType.GOLD || getMintTokenRequirement() == TokenRequirementType.ANY) && _numGoldTokens > 0) { incineratorContract.burnGoldTokens(msg.sender, _numGoldTokens); } // If Basic token is required if((getMintTokenRequirement() == TokenRequirementType.BASIC || getMintTokenRequirement() == TokenRequirementType.ANY) && _basicGoldTokens > 0) { incineratorContract.burnBasicTokens(msg.sender, _basicGoldTokens); } _mint(msg.sender, _quantity); numMintsByWindow[currentMintWindow] += _quantity; numberOfTokensMintedPerWindowByAddress[msg.sender][currentMintWindow] += _quantity; } function canMint(uint256 _quantity) internal view { require(_quantity > 0, "Quantity must be greater than 0"); require(numMintsByWindow[currentMintWindow] + _quantity <= mintWindows[currentMintWindow].maximumSupply, "Quantity must be less than remaining supply for this window"); // Check mint cost uint256 mintPrice = mintWindows[currentMintWindow].mintCostETH; require(msg.value >= mintPrice * _quantity, "Insufficient ETH for minting"); // Check Wallet Limit uint256 walletLimit = mintWindows[currentMintWindow].walletLimit; require(walletLimit == 0 || (numberOfTokensMintedPerWindowByAddress[msg.sender][currentMintWindow] + _quantity <= walletLimit), "You have reached your wallet limit for this window"); // Check if Remix Holder is required if(mintWindows[currentMintWindow].remixHolderRequired) { IERC721 remixContract = IERC721(REMIX_CONTRACT_ADDRESS); require(remixContract.balanceOf(msg.sender) > 0, "You must be a Remix holder to mint"); } } function ownerMint(address _to, uint256 _tokenId, uint256 _quantity) public onlyAdmin { require(_tokenId > 0 && _tokenId <= MAX_TOKEN_COUNT, "Not a valid token"); if (_tokenId <= 50) { require(mintableTokenCount[_tokenId] >= _quantity, "Not enough left"); mintableTokenCount[_tokenId] -= _quantity; numTokensMinted += _quantity; } else { // additional token require(totalSupply(_tokenId) + _quantity <= SUPPLY_PER_ADDITIONAL_TOKEN, "Not enough left"); } _mint(_to, _tokenId, _quantity, ""); } // ========== Public Methods ========== function getMintTokenRequirement() public view returns (TokenRequirementType) { return mintWindows[currentMintWindow].tokenRequirement; } function isRemixHolderRequired() public view returns (bool) { return mintWindows[currentMintWindow].remixHolderRequired; } function getMintCostETH() public view returns (uint256) { return mintWindows[currentMintWindow].mintCostETH; } function getMintCostToken() public view returns (uint256) { return mintWindows[currentMintWindow].mintCostToken; } function getMaximumSupply() public view returns (uint256) { return mintWindows[currentMintWindow].maximumSupply; } function getRemainingSupply() public view returns (uint256) { return mintWindows[currentMintWindow].maximumSupply - numMintsByWindow[currentMintWindow]; } function getWalletLimit() public view returns (uint16) { return mintWindows[currentMintWindow].walletLimit; } function getNumMintedInCurrentWindow(address _address) public view returns (uint256) { return numberOfTokensMintedPerWindowByAddress[_address][currentMintWindow]; } // ========== Admin ========== function setMintTokenRequirement(TokenRequirementType _tokenRequirement) public onlyAdmin { mintWindows[currentMintWindow].tokenRequirement = _tokenRequirement; } function setRemixHolderRequired(bool _value) public onlyAdmin { mintWindows[currentMintWindow].remixHolderRequired = _value; } function setMintCostETH(uint256 _mintCost) public onlyAdmin { mintWindows[currentMintWindow].mintCostETH = _mintCost; } function setMintCostToken(uint256 _mintCost) public onlyAdmin { mintWindows[currentMintWindow].mintCostToken = _mintCost; } function setMaximumSupply(uint16 _maximumSupply) public onlyAdmin { mintWindows[currentMintWindow].maximumSupply = _maximumSupply; } function setWalletLimit(uint16 _walletLimit) public onlyAdmin { mintWindows[currentMintWindow].walletLimit = _walletLimit; } function setBaseURI(string memory _baseURI) public onlyAdmin { baseURI = _baseURI; } function setCurrentMintWindow(MintWindowType _mintWindow) public onlyAdmin { currentMintWindow = _mintWindow; } function withdraw() public onlyAdmin { Address.sendValue(payable(PAYABLE_ADDRESS_1), address(this).balance * 60 / 100); Address.sendValue(payable(PAYABLE_ADDRESS_2), address(this).balance); } function pause() public onlyAdmin { _pause(); } function unpause() public onlyAdmin { _unpause(); } // ============ Overrides ======== function supportsInterface(bytes4 interfaceId) public view override(ERC1155, AdminControl) returns (bool) { return super.supportsInterface(interfaceId); } function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal override(ERC1155) { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal override(ERC1155, ERC1155Supply) { super._mint(account, id, amount, data); } function _mintBatch(address account, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal override(ERC1155, ERC1155Supply) { super._mintBatch(account, ids, amounts, data); } function _burn(address account, uint256 id, uint256 amount) internal override(ERC1155, ERC1155Supply) { super._burn(account, id, amount); } function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal override(ERC1155, ERC1155Supply) { super._burnBatch(account, ids, amounts); } function uri(uint256 _tokenId) public view override returns (string memory) { require(_tokenId > 0 && _tokenId <= MAX_TOKEN_COUNT, "URI requested for invalid token"); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _tokenId.toString())) : baseURI; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } emit TransferSingle(operator, account, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates weither any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_mint}. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual override { super._mint(account, id, amount, data); _totalSupply[id] += amount; } /** * @dev See {ERC1155-_mintBatch}. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._mintBatch(to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } /** * @dev See {ERC1155-_burn}. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual override { super._burn(account, id, amount); _totalSupply[id] -= amount; } /** * @dev See {ERC1155-_burnBatch}. */ function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual override { super._burnBatch(account, ids, amounts); for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./IAdminControl.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/utils/Context.sol"; abstract contract AdminControl is AccessControl { bytes32 public constant ADMIN_ROLE = keccak256("ADMIN_ROLE"); constructor() { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(ADMIN_ROLE, _msgSender()); } // ========== Modifiers ========== modifier onlyAdmin() { require(hasRole(ADMIN_ROLE, _msgSender()), "Caller is not an admin"); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAdminControl).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev External interface of AdminControl declared to support ERC165 detection. */ interface IAdminControl { }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; interface IMintClubIncinerator { function burnGoldTokens(address _tokenOwner, uint256 _qty) external; function burnBasicTokens(address _tokenOwner, uint256 _qty) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; interface IRemixOriginal { function mint(uint256 _quantity) external payable; function mintWithTokens(uint256 _numGoldTokens, uint256 _basicGoldTokens) external payable; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; abstract contract ERC1155RandomMint is ERC1155Supply { /** @dev This is a static array */ uint256[51] public mintableTokenCount; mapping(address => uint256) public numberOfTokensMintedByAddress; uint256 public totalTokenSupply; uint256 public numTokensMinted; /** * @dev Configure the mintable token ids and their corresponding supply. */ constructor(uint256[] memory _mintableTokenMaximumSupply) { for(uint256 i = 0; i < _mintableTokenMaximumSupply.length; i++ ) { mintableTokenCount[i] = _mintableTokenMaximumSupply[i]; totalTokenSupply += _mintableTokenMaximumSupply[i]; } } function _mint(address _to, uint256 _amount) internal { require(mintableSupply() > 0, "Not enough supply to mint all amount required"); for(uint256 i=0; i < _amount; i++ ) { uint256 seed = uint256(keccak256(abi.encodePacked(block.difficulty, block.timestamp, _msgSender(), i))); uint256 tokenIndex = seed % mintableSupply(); uint256 tokenId = tokenIdAtIndex(tokenIndex); _internalMintTokenId(_to, tokenId, 1); } } function _mintBatchOfTokenIds(address _to, uint8[] memory _tokenIds, uint8[] memory _amounts) internal { require(_tokenIds.length == _amounts.length, "Length of tokenId and amounts must be equal"); for(uint8 i=0; i<_tokenIds.length; i++ ) { _internalMintTokenId(_to, _tokenIds[i], _amounts[i]); } } function _internalMintTokenId(address _to, uint256 tokenId, uint256 _amount) internal { require(mintableTokenCount[tokenId] >= _amount, "TokenId not mintable"); mintableTokenCount[tokenId] -= _amount; numTokensMinted += _amount; numberOfTokensMintedByAddress[_to] += _amount; super._mint(_to, tokenId, _amount, "0x"); } function mintableSupply() public view returns (uint256) { return totalTokenSupply - numTokensMinted; } function tokenIdAtIndex(uint256 index) public view returns (uint256) { for(uint256 i = 0; i < mintableTokenCount.length; i++ ) { if (index < mintableTokenCount[i]) { return i; } index -= mintableTokenCount[i]; } } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "petersburg", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"_INCINERATOR_CONTRACT_ADDRESS","type":"address"},{"internalType":"address payable","name":"_REMIX_CONTRACT_ADDRESS","type":"address"},{"internalType":"address","name":"_payableAddress1","type":"address"},{"internalType":"address","name":"_payableAddress2","type":"address"},{"internalType":"uint256[]","name":"tokenSupply","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INCINERATOR_CONTRACT_ADDRESS","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAYABLE_ADDRESS_1","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAYABLE_ADDRESS_2","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REMIX_CONTRACT_ADDRESS","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentMintWindow","outputs":[{"internalType":"enum OriginalsGlassApes.MintWindowType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaximumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintCostETH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintCostToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintTokenRequirement","outputs":[{"internalType":"enum OriginalsGlassApes.TokenRequirementType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getNumMintedInCurrentWindow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWalletLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRemixHolderRequired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"enum OriginalsGlassApes.MintWindowType","name":"","type":"uint8"}],"name":"mintWindows","outputs":[{"internalType":"enum OriginalsGlassApes.TokenRequirementType","name":"tokenRequirement","type":"uint8"},{"internalType":"bool","name":"remixHolderRequired","type":"bool"},{"internalType":"uint256","name":"mintCostToken","type":"uint256"},{"internalType":"uint256","name":"mintCostETH","type":"uint256"},{"internalType":"uint256","name":"maximumSupply","type":"uint256"},{"internalType":"uint16","name":"walletLimit","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numGoldTokens","type":"uint256"},{"internalType":"uint256","name":"_basicGoldTokens","type":"uint256"}],"name":"mintWithTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintableSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum OriginalsGlassApes.MintWindowType","name":"","type":"uint8"}],"name":"numMintsByWindow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberOfTokensMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum OriginalsGlassApes.MintWindowType","name":"_mintWindow","type":"uint8"}],"name":"setCurrentMintWindow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_maximumSupply","type":"uint16"}],"name":"setMaximumSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintCost","type":"uint256"}],"name":"setMintCostETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintCost","type":"uint256"}],"name":"setMintCostToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum OriginalsGlassApes.TokenRequirementType","name":"_tokenRequirement","type":"uint8"}],"name":"setMintTokenRequirement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_value","type":"bool"}],"name":"setRemixHolderRequired","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_walletLimit","type":"uint16"}],"name":"setWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenIdAtIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610100604052603d805465ffffffffffff60a01b1916789500fa006400000000000000000000000000000000000000001790556055603e55600a603f553480156200004957600080fd5b5060405162005785380380620057858339810160408190526200006c91620008fa565b80604080546200007c9062000a1d565b80601f0160208091040260200160405190810160405280929190818152602001828054620000aa9062000a1d565b8015620000fb5780601f10620000cf57610100808354040283529160200191620000fb565b820191906000526020600020905b815481529060010190602001808311620000dd57829003601f168201915b505050505062000111816200062c60201b60201c565b5060005b8151811015620001a15781818151811062000134576200013462000a73565b60200260200101516004826033811062000152576200015262000a73565b015581518290829081106200016b576200016b62000a73565b60200260200101516038600082825462000186919062000ad1565b90915550819050620001988162000aec565b91505062000115565b5050603a805460ff191690556001603b55620001bf60003362000645565b620001eb7fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c217753362000645565b620001f63362000651565b6040518060600160405280603581526020016200575060359139805162000226916040916020909101906200080c565b506001600160a01b0380851660a05285811660805283811660c090815290831660e05260408051918201905280600181526001602082015260026040820152600060608201819052603d5474010000000000000000000000000000000000000000900461ffff166080830152600560a090920191909152604390806003811115620002b557620002b562000b0a565b8152602081019190915260400160002081518154829060ff19166001836003811115620002e657620002e662000b0a565b0217905550602082810151825461ff00191661010091151591909102178255604080840151600180850191909155606080860151600286015560808087015160038088019190915560a0978801516004909701805461ffff191661ffff988916179055845160c08101865290815294850183905292840182905266b1a2bc2ec5000090840152603d547601000000000000000000000000000000000000000000009004909316908201526005928101929092526043906000908152602081019190915260400160002081518154829060ff19166001836003811115620003d057620003d062000b0a565b02179055506020820151815461ff001916610100911515919091021781556040808301516001830155606083015160028301556080830151600383015560a0909201516004909101805461ffff191661ffff909216919091179055805160c0810190915280600081526001602082015260006040820181905266f8b0a10e4700006060830152603d547801000000000000000000000000000000000000000000000000900461ffff166080830152600560a09092019190915260439060026003811115620004a257620004a262000b0a565b8152602081019190915260400160002081518154829060ff19166001836003811115620004d357620004d362000b0a565b02179055506020820151815461ff001916610100911515919091021781556040808301516001830155606083015160028301556080830151600383015560a0909201516004909101805461ffff191661ffff909216919091179055805160c0810190915280600081526000602082018190526040820181905267013fbe85edc900006060830152603854608083015260a090910181905260439060038081111562000582576200058262000b0a565b8152602081019190915260400160002081518154829060ff19166001836003811115620005b357620005b362000b0a565b02179055506020820151815461ff0019166101009115159190910217815560408201516001820155606082015160028201556080820151600382015560a0909101516004909101805461ffff191661ffff9092169190911790556044805460ff1916905562000621620006a3565b505050505062000b39565b8051620006419060029060208401906200080c565b5050565b62000641828262000768565b603d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b603a5460ff161562000715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640160405180910390fd5b603a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200074b3390565b6040516001600160a01b03909116815260200160405180910390a1565b6000828152603c602090815260408083206001600160a01b038516845290915290205460ff1662000641576000828152603c602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620007c83390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b8280546200081a9062000a1d565b90600052602060002090601f0160209004810192826200083e576000855562000889565b82601f106200085957805160ff191683800117855562000889565b8280016001018555821562000889579182015b82811115620008895782518255916020019190600101906200086c565b50620008979291506200089b565b5090565b5b808211156200089757600081556001016200089c565b6001600160a01b0381168114620008c857600080fd5b50565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080600080600060a086880312156200091357600080fd5b85516200092081620008b2565b809550506020808701516200093581620008b2565b60408801519095506200094881620008b2565b60608801519094506200095b81620008b2565b60808801519093506001600160401b03808211156200097957600080fd5b818901915089601f8301126200098e57600080fd5b815181811115620009a357620009a3620008cb565b8060051b604051601f19603f83011681018181108582111715620009cb57620009cb620008cb565b60405291825284820192508381018501918c831115620009ea57600080fd5b938501935b8285101562000a0a57845184529385019392850192620009ef565b8096505050505050509295509295909350565b600181811c9082168062000a3257607f821691505b6020821081141562000a6d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000821982111562000ae75762000ae762000aa2565b500190565b600060001982141562000b035762000b0362000aa2565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60805160a05160c05160e051614bc162000b8f600039600081816109ac015261121d01526000818161093801526111dc015260008181610701015261303101526000818161052f01526121280152614bc16000f3fe60806040526004361061038b5760003560e01c8063754b85d4116101dc578063b6079f3611610102578063d7126fef116100a0578063f242432a1161006f578063f242432a14610b18578063f26b82aa14610b38578063f2fde38b14610b58578063f5298aca14610b7857600080fd5b8063d7126fef14610a8b578063e4b7fb7314610aa0578063e89dfd9414610ab5578063e985e9c514610acf57600080fd5b8063c46c1f22116100dc578063c46c1f22146109ce578063c88daa3814610a36578063cc5c095c14610a56578063d547741f14610a6b57600080fd5b8063b6079f361461095a578063bd85b0391461096d578063bf9aa9d01461099a57600080fd5b806391d148541161017a578063a37e347311610149578063a37e3473146108b9578063a38ba4b2146108d9578063b38c7c09146108f9578063b5f26dcf1461092657600080fd5b806391d1485414610851578063a0712d6814610871578063a217fddf14610884578063a22cb4651461089957600080fd5b8063841d9552116101b6578063841d9552146107d15780638456cb59146107f15780638cda8bcf146108065780638da5cb5b1461083357600080fd5b8063754b85d41461076d57806375b238fc1461078f578063784eadcf146107b157600080fd5b80633f4ba83a116102c15780634f558e791161025f5780636113494c1161022e5780636113494c146106ef5780636b20c454146107235780636c0360eb14610743578063715018a61461075857600080fd5b80634f558e7914610660578063517e511a1461068f57806355f804b3146106b75780635c975abb146106d757600080fd5b80634329595a1161029b5780634329595a146105de5780634a26c99d146105fe5780634bedc5481461061e5780634e1273f41461063357600080fd5b80633f4ba83a1461059e5780634230baee146105b357806342d80362146105c957600080fd5b80632eb2c2d61161032e57806337736ce81161030857806337736ce8146105085780633881352b1461051d578063388b9fe0146105695780633ccfd60b1461058957600080fd5b80632eb2c2d6146104a85780632f2ff15d146104c857806336568abe146104e857600080fd5b80631ca8b6cb1161036a5780631ca8b6cb14610420578063248a9ca31461043657806327c521fc146104665780632bfcbbca1461048857600080fd5b8062fdd58e1461039057806301ffc9a7146103c35780630e89341c146103f3575b600080fd5b34801561039c57600080fd5b506103b06103ab366004613de0565b610b98565b6040519081526020015b60405180910390f35b3480156103cf57600080fd5b506103e36103de366004613e20565b610c2f565b60405190151581526020016103ba565b3480156103ff57600080fd5b5061041361040e366004613e3d565b610c40565b6040516103ba9190613eae565b34801561042c57600080fd5b506103b060385481565b34801561044257600080fd5b506103b0610451366004613e3d565b6000908152603c602052604090206001015490565b34801561047257600080fd5b50610486610481366004613e3d565b610d77565b005b34801561049457600080fd5b506104866104a3366004613ec1565b610df2565b3480156104b457600080fd5b506104866104c336600461403b565b610e71565b3480156104d457600080fd5b506104866104e33660046140e5565b610f08565b3480156104f457600080fd5b506104866105033660046140e5565b610f33565b34801561051457600080fd5b506103e3610fb1565b34801561052957600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016103ba565b34801561057557600080fd5b50610486610584366004614111565b610fff565b34801561059557600080fd5b506104866111a3565b3480156105aa57600080fd5b50610486611245565b3480156105bf57600080fd5b506103b060395481565b3480156105d557600080fd5b506103b0611281565b3480156105ea57600080fd5b506103b06105f9366004614144565b6112c8565b34801561060a57600080fd5b50610486610619366004613e3d565b611320565b34801561062a57600080fd5b506103b061139b565b34801561063f57600080fd5b5061065361064e36600461415f565b6113e2565b6040516103ba9190614265565b34801561066c57600080fd5b506103e361067b366004613e3d565b600090815260036020526040902054151590565b34801561069b57600080fd5b506106a461150c565b60405161ffff90911681526020016103ba565b3480156106c357600080fd5b506104866106d2366004614278565b611559565b3480156106e357600080fd5b50603a5460ff166103e3565b3480156106fb57600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b34801561072f57600080fd5b5061048661073e3660046142c1565b6115a0565b34801561074f57600080fd5b506104136115e3565b34801561076457600080fd5b50610486611671565b34801561077957600080fd5b506107826116d5565b6040516103ba9190614369565b34801561079b57600080fd5b506103b0600080516020614b6c83398151915281565b3480156107bd57600080fd5b506104866107cc36600461438c565b61171e565b3480156107dd57600080fd5b506104866107ec3660046143b4565b6117ab565b3480156107fd57600080fd5b50610486611841565b34801561081257600080fd5b506103b0610821366004614144565b60376020526000908152604090205481565b34801561083f57600080fd5b50603d546001600160a01b0316610551565b34801561085d57600080fd5b506103e361086c3660046140e5565b61187d565b61048661087f366004613e3d565b6118a8565b34801561089057600080fd5b506103b0600081565b3480156108a557600080fd5b506104866108b43660046143d1565b611a5e565b3480156108c557600080fd5b506103b06108d4366004613e3d565b611b35565b3480156108e557600080fd5b506104866108f4366004613ec1565b611b9d565b34801561090557600080fd5b506103b06109143660046143b4565b60456020526000908152604090205481565b34801561093257600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b6104866109683660046143fb565b611c2f565b34801561097957600080fd5b506103b0610988366004613e3d565b60009081526003602052604090205490565b3480156109a657600080fd5b506105517f000000000000000000000000000000000000000000000000000000000000000081565b3480156109da57600080fd5b50610a246109e93660046143b4565b6043602052600090815260409020805460018201546002830154600384015460049094015460ff8085169561010090950416939061ffff1686565b6040516103ba9695949392919061441d565b348015610a4257600080fd5b506103b0610a51366004613e3d565b61236d565b348015610a6257600080fd5b506103b0612384565b348015610a7757600080fd5b50610486610a863660046140e5565b61239b565b348015610a9757600080fd5b506103b06123c1565b348015610aac57600080fd5b506103b0612408565b348015610ac157600080fd5b506044546107829060ff1681565b348015610adb57600080fd5b506103e3610aea366004614457565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b348015610b2457600080fd5b50610486610b33366004614481565b612494565b348015610b4457600080fd5b50610486610b533660046143b4565b6124d9565b348015610b6457600080fd5b50610486610b73366004614144565b61252c565b348015610b8457600080fd5b50610486610b93366004614111565b6125f7565b60006001600160a01b038316610c095760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b6000610c3a8261263a565b92915050565b6060600082118015610c545750603e548211155b610ca05760405162461bcd60e51b815260206004820152601f60248201527f5552492072657175657374656420666f7220696e76616c696420746f6b656e006044820152606401610c00565b600060408054610caf906144e6565b905011610d465760408054610cc3906144e6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cef906144e6565b8015610d3c5780601f10610d1157610100808354040283529160200191610d3c565b820191906000526020600020905b815481529060010190602001808311610d1f57829003601f168201915b5050505050610c3a565b6040610d5183612657565b604051602001610d62929190614537565b60405160208183030381529060405292915050565b610d8f600080516020614b6c8339815191523361187d565b610dab5760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff166003811115610dca57610dca614335565b6003811115610ddb57610ddb614335565b815260208101919091526040016000206001015550565b610e0a600080516020614b6c8339815191523361187d565b610e265760405162461bcd60e51b8152600401610c00906145de565b60445461ffff82169060439060009060ff166003811115610e4957610e49614335565b6003811115610e5a57610e5a614335565b815260208101919091526040016000206003015550565b6001600160a01b038516331480610e8d5750610e8d8533610aea565b610ef45760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610c00565b610f01858585858561275d565b5050505050565b6000828152603c6020526040902060010154610f248133612907565b610f2e838361296b565b505050565b6001600160a01b0381163314610fa35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c00565b610fad82826129f1565b5050565b604454600090604390829060ff166003811115610fd057610fd0614335565b6003811115610fe157610fe1614335565b8152602081019190915260400160002054610100900460ff16919050565b611017600080516020614b6c8339815191523361187d565b6110335760405162461bcd60e51b8152600401610c00906145de565b6000821180156110455750603e548211155b6110855760405162461bcd60e51b81526020600482015260116024820152702737ba1030903b30b634b2103a37b5b2b760791b6044820152606401610c00565b6032821161112b5780600483603381106110a1576110a161460e565b015410156110e35760405162461bcd60e51b815260206004820152600f60248201526e139bdd08195b9bdd59da081b19599d608a1b6044820152606401610c00565b80600483603381106110f7576110f761460e565b016000828254611107919061463a565b9250508190555080603960008282546111209190614651565b909155506111889050565b603f54600083815260036020526040902054611148908390614651565b11156111885760405162461bcd60e51b815260206004820152600f60248201526e139bdd08195b9bdd59da081b19599d608a1b6044820152606401610c00565b610f2e83838360405180602001604052806000815250612a58565b6111bb600080516020614b6c8339815191523361187d565b6111d75760405162461bcd60e51b8152600401610c00906145de565b6112187f000000000000000000000000000000000000000000000000000000000000000060646112093031603c614669565b611213919061469e565b612a6a565b6112437f00000000000000000000000000000000000000000000000000000000000000003031612a6a565b565b61125d600080516020614b6c8339815191523361187d565b6112795760405162461bcd60e51b8152600401610c00906145de565b611243612b84565b604454600090604390829060ff1660038111156112a0576112a0614335565b60038111156112b1576112b1614335565b815260200190815260200160002060020154905090565b6001600160a01b0381166000908152604260205260408120604454829060ff1660038111156112f9576112f9614335565b600381111561130a5761130a614335565b8152602001908152602001600020549050919050565b611338600080516020614b6c8339815191523361187d565b6113545760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff16600381111561137357611373614335565b600381111561138457611384614335565b815260208101919091526040016000206002015550565b604454600090604390829060ff1660038111156113ba576113ba614335565b60038111156113cb576113cb614335565b815260200190815260200160002060030154905090565b606081518351146114475760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610c00565b6000835167ffffffffffffffff81111561146357611463613ee5565b60405190808252806020026020018201604052801561148c578160200160208202803683370190505b50905060005b8451811015611504576114d78582815181106114b0576114b061460e565b60200260200101518583815181106114ca576114ca61460e565b6020026020010151610b98565b8282815181106114e9576114e961460e565b60209081029190910101526114fd816146b2565b9050611492565b509392505050565b604454600090604390829060ff16600381111561152b5761152b614335565b600381111561153c5761153c614335565b815260208101919091526040016000206004015461ffff16919050565b611571600080516020614b6c8339815191523361187d565b61158d5760405162461bcd60e51b8152600401610c00906145de565b8051610fad906040906020840190613d2b565b6001600160a01b0383163314806115bc57506115bc8333610aea565b6115d85760405162461bcd60e51b8152600401610c00906146cd565b610f2e838383612c17565b604080546115f0906144e6565b80601f016020809104026020016040519081016040528092919081815260200182805461161c906144e6565b80156116695780601f1061163e57610100808354040283529160200191611669565b820191906000526020600020905b81548152906001019060200180831161164c57829003601f168201915b505050505081565b603d546001600160a01b031633146116cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c00565b6112436000612c22565b604454600090604390829060ff1660038111156116f4576116f4614335565b600381111561170557611705614335565b815260208101919091526040016000205460ff16919050565b611736600080516020614b6c8339815191523361187d565b6117525760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff16600381111561177157611771614335565b600381111561178257611782614335565b8152602081019190915260400160002080549115156101000261ff001990921691909117905550565b6117c3600080516020614b6c8339815191523361187d565b6117df5760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff1660038111156117fe576117fe614335565b600381111561180f5761180f614335565b81526020810191909152604001600020805460ff1916600183600381111561183957611839614335565b021790555050565b611859600080516020614b6c8339815191523361187d565b6118755760405162461bcd60e51b8152600401610c00906145de565b611243612c74565b6000918252603c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b603a5460ff16156118cb5760405162461bcd60e51b8152600401610c0090614716565b6002603b54141561191e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c00565b6002603b55600060445460439060009060ff16600381111561194257611942614335565b600381111561195357611953614335565b815260208101919091526040016000205460ff16600381111561197857611978614335565b146119955760405162461bcd60e51b8152600401610c0090614740565b61199e81612ccc565b6119a83382613101565b604454819060459060009060ff1660038111156119c7576119c7614335565b60038111156119d8576119d8614335565b815260200190815260200160002060008282546119f59190614651565b909155505033600090815260426020526040812060445483929060ff166003811115611a2357611a23614335565b6003811115611a3457611a34614335565b81526020019081526020016000206000828254611a519190614651565b90915550506001603b5550565b336001600160a01b0383161415611ac95760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610c00565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000805b6033811015611b975760048160338110611b5557611b5561460e565b0154831015611b645792915050565b60048160338110611b7757611b7761460e565b0154611b83908461463a565b925080611b8f816146b2565b915050611b39565b50919050565b611bb5600080516020614b6c8339815191523361187d565b611bd15760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff166003811115611bf057611bf0614335565b6003811115611c0157611c01614335565b815260200190815260200160002060040160006101000a81548161ffff021916908361ffff16021790555050565b603a5460ff1615611c525760405162461bcd60e51b8152600401610c0090614716565b6002603b541415611ca55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c00565b6002603b55600060445460439060009060ff166003811115611cc957611cc9614335565b6003811115611cda57611cda614335565b815260208101919091526040016000205460ff166003811115611cff57611cff614335565b1415611d1d5760405162461bcd60e51b8152600401610c0090614740565b6000600160445460439060009060ff166003811115611d3e57611d3e614335565b6003811115611d4f57611d4f614335565b815260208101919091526040016000205460ff166003811115611d7457611d74614335565b1415611e335760008311611dd45760405162461bcd60e51b815260206004820152602160248201527f476f6c6420746f6b656e206d7573742062652067726561746572207468616e206044820152600360fc1b6064820152608401610c00565b8115611e305760405162461bcd60e51b815260206004820152602560248201527f6f6e6c7920676f6c6420746f6b656e732061726520726571756972656420746f604482015264081b5a5b9d60da1b6064820152608401610c00565b50815b600260445460439060009060ff166003811115611e5257611e52614335565b6003811115611e6357611e63614335565b815260208101919091526040016000205460ff166003811115611e8857611e88614335565b1415611f495760008211611ee95760405162461bcd60e51b815260206004820152602260248201527f426173696320746f6b656e206d7573742062652067726561746572207468616e604482015261020360f41b6064820152608401610c00565b8215611f465760405162461bcd60e51b815260206004820152602660248201527f6f6e6c7920626173696320746f6b656e732061726520726571756972656420746044820152651bc81b5a5b9d60d21b6064820152608401610c00565b50805b600360445460439060009060ff166003811115611f6857611f68614335565b6003811115611f7957611f79614335565b815260208101919091526040016000205460ff166003811115611f9e57611f9e614335565b141561201f576000831180611fb35750600082115b6120125760405162461bcd60e51b815260206004820152602a60248201527f476f6c64206f7220426173696320746f6b656e206d75737420626520677265616044820152690746572207468616e20360b41b6064820152608401610c00565b61201c8383614651565b90505b60445460439060009060ff16600381111561203c5761203c614335565b600381111561204d5761204d614335565b8152602001908152602001600020600101548161206a9190614781565b156120ce5760405162461bcd60e51b815260206004820152602e60248201527f5175616e74697479206d7573742062652061206d756c7469706c65206f66206d60448201526d34b73a1031b7b9ba103a37b5b2b760911b6064820152608401610c00565b604454600090604390829060ff1660038111156120ed576120ed614335565b60038111156120fe576120fe614335565b8152602001908152602001600020600101548261211b919061469e565b905061212681612ccc565b7f000000000000000000000000000000000000000000000000000000000000000060016121516116d5565b600381111561216257612162614335565b1480612186575060036121736116d5565b600381111561218457612184614335565b145b80156121925750600085115b156121f85760405163390fe10960e21b8152336004820152602481018690526001600160a01b0382169063e43f842490604401600060405180830381600087803b1580156121df57600080fd5b505af11580156121f3573d6000803e3d6000fd5b505050505b60026122026116d5565b600381111561221357612213614335565b1480612237575060036122246116d5565b600381111561223557612235614335565b145b80156122435750600084115b156122a957604051633cb8f14360e01b8152336004820152602481018590526001600160a01b03821690633cb8f14390604401600060405180830381600087803b15801561229057600080fd5b505af11580156122a4573d6000803e3d6000fd5b505050505b6122b33383613101565b604454829060459060009060ff1660038111156122d2576122d2614335565b60038111156122e3576122e3614335565b815260200190815260200160002060008282546123009190614651565b909155505033600090815260426020526040812060445484929060ff16600381111561232e5761232e614335565b600381111561233f5761233f614335565b8152602001908152602001600020600082825461235c9190614651565b90915550506001603b555050505050565b6004816033811061237d57600080fd5b0154905081565b6000603954603854612396919061463a565b905090565b6000828152603c60205260409020600101546123b78133612907565b610f2e83836129f1565b604454600090604390829060ff1660038111156123e0576123e0614335565b60038111156123f1576123f1614335565b815260200190815260200160002060010154905090565b604454600090604590829060ff16600381111561242757612427614335565b600381111561243857612438614335565b81526020810191909152604001600090812054604454909160439160ff16600381111561246757612467614335565b600381111561247857612478614335565b815260200190815260200160002060030154612396919061463a565b6001600160a01b0385163314806124b057506124b08533610aea565b6124cc5760405162461bcd60e51b8152600401610c00906146cd565b610f018585858585613209565b6124f1600080516020614b6c8339815191523361187d565b61250d5760405162461bcd60e51b8152600401610c00906145de565b6044805482919060ff1916600183600381111561183957611839614335565b603d546001600160a01b031633146125865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c00565b6001600160a01b0381166125eb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c00565b6125f481612c22565b50565b6001600160a01b03831633148061261357506126138333610aea565b61262f5760405162461bcd60e51b8152600401610c00906146cd565b610f2e838383613335565b60006001600160e01b031982161580610c3a5750610c3a82613340565b60608161267b5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126a5578061268f816146b2565b915061269e9050600a8361469e565b915061267f565b60008167ffffffffffffffff8111156126c0576126c0613ee5565b6040519080825280601f01601f1916602001820160405280156126ea576020820181803683370190505b5090505b8415612755576126ff60018361463a565b915061270c600a86614781565b612717906030614651565b60f81b81838151811061272c5761272c61460e565b60200101906001600160f81b031916908160001a90535061274e600a8661469e565b94506126ee565b949350505050565b815183511461277e5760405162461bcd60e51b8152600401610c0090614795565b6001600160a01b0384166127a45760405162461bcd60e51b8152600401610c00906147dd565b336127b3818787878787613365565b60005b84518110156128995760008582815181106127d3576127d361460e565b6020026020010151905060008583815181106127f1576127f161460e565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156128415760405162461bcd60e51b8152600401610c0090614822565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061287e908490614651565b9250508190555050505080612892906146b2565b90506127b6565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516128e992919061486c565b60405180910390a46128ff81878787878761336a565b505050505050565b612911828261187d565b610fad57612929816001600160a01b031660146134c6565b6129348360206134c6565b604051602001612945929190614891565b60408051601f198184030181529082905262461bcd60e51b8252610c0091600401613eae565b612975828261187d565b610fad576000828152603c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556129ad3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6129fb828261187d565b15610fad576000828152603c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b612a6484848484613669565b50505050565b3031811115612abb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c00565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612b08576040519150601f19603f3d011682016040523d82523d6000602084013e612b0d565b606091505b5050905080610f2e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c00565b603a5460ff16612bcd5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c00565b603a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610f2e83838361369e565b603d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b603a5460ff1615612c975760405162461bcd60e51b8152600401610c0090614716565b603a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612bfa3390565b60008111612d1c5760405162461bcd60e51b815260206004820152601f60248201527f5175616e74697479206d7573742062652067726561746572207468616e2030006044820152606401610c00565b60445460439060009060ff166003811115612d3957612d39614335565b6003811115612d4a57612d4a614335565b8152602001908152602001600020600301548160456000604460009054906101000a900460ff166003811115612d8257612d82614335565b6003811115612d9357612d93614335565b815260200190815260200160002054612dac9190614651565b1115612e205760405162461bcd60e51b815260206004820152603b60248201527f5175616e74697479206d757374206265206c657373207468616e2072656d616960448201527f6e696e6720737570706c7920666f7220746869732077696e646f7700000000006064820152608401610c00565b604454600090604390829060ff166003811115612e3f57612e3f614335565b6003811115612e5057612e50614335565b81526020019081526020016000206002015490508181612e709190614669565b341015612ebf5760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e742045544820666f72206d696e74696e67000000006044820152606401610c00565b604454600090604390829060ff166003811115612ede57612ede614335565b6003811115612eef57612eef614335565b815260208101919091526040016000206004015461ffff169050801580612f695750336000908152604260205260408120604454839286929160ff166003811115612f3c57612f3c614335565b6003811115612f4d57612f4d614335565b815260200190815260200160002054612f669190614651565b11155b612fd05760405162461bcd60e51b815260206004820152603260248201527f596f752068617665207265616368656420796f75722077616c6c6574206c696d604482015271697420666f7220746869732077696e646f7760701b6064820152608401610c00565b60445460439060009060ff166003811115612fed57612fed614335565b6003811115612ffe57612ffe614335565b8152602081019190915260400160002054610100900460ff1615610f2e576040516370a0823160e01b81523360048201527f0000000000000000000000000000000000000000000000000000000000000000906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015613085573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130a99190614906565b11612a645760405162461bcd60e51b815260206004820152602260248201527f596f75206d75737420626520612052656d697820686f6c64657220746f206d696044820152611b9d60f21b6064820152608401610c00565b600061310b612384565b1161316e5760405162461bcd60e51b815260206004820152602d60248201527f4e6f7420656e6f75676820737570706c7920746f206d696e7420616c6c20616d60448201526c1bdd5b9d081c995c5d5a5c9959609a1b6064820152608401610c00565b60005b81811015610f2e576040805144602080830191909152428284015233606090811b6bffffffffffffffffffffffff1916908301526074808301859052835180840390910181526094909201909252805191012060006131ce612384565b6131d89083614781565b905060006131e582611b35565b90506131f386826001613720565b5050508080613201906146b2565b915050613171565b6001600160a01b03841661322f5760405162461bcd60e51b8152600401610c00906147dd565b3361324e81878761323f88613812565b61324888613812565b87613365565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561328f5760405162461bcd60e51b8152600401610c0090614822565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906132cc908490614651565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461332c82888888888861385d565b50505050505050565b610f2e838383613918565b60006001600160e01b03198216637965db0b60e01b1480610c3a5750610c3a8261394b565b6128ff565b6001600160a01b0384163b156128ff5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906133ae908990899088908890889060040161491f565b6020604051808303816000875af19250505080156133e9575060408051601f3d908101601f191682019092526133e69181019061497d565b60015b613496576133f561499a565b806308c379a0141561342f575061340a6149b6565b806134155750613431565b8060405162461bcd60e51b8152600401610c009190613eae565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610c00565b6001600160e01b0319811663bc197c8160e01b1461332c5760405162461bcd60e51b8152600401610c0090614a40565b606060006134d5836002614669565b6134e0906002614651565b67ffffffffffffffff8111156134f8576134f8613ee5565b6040519080825280601f01601f191660200182016040528015613522576020820181803683370190505b509050600360fc1b8160008151811061353d5761353d61460e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061356c5761356c61460e565b60200101906001600160f81b031916908160001a9053506000613590846002614669565b61359b906001614651565b90505b6001811115613613576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106135cf576135cf61460e565b1a60f81b8282815181106135e5576135e561460e565b60200101906001600160f81b031916908160001a90535060049490941c9361360c81614a88565b905061359e565b5083156136625760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c00565b9392505050565b6136758484848461399b565b60008381526003602052604081208054849290613693908490614651565b909155505050505050565b6136a9838383613a9c565b60005b8251811015612a64578181815181106136c7576136c761460e565b6020026020010151600360008584815181106136e5576136e561460e565b60200260200101518152602001908152602001600020600082825461370a919061463a565b909155506137199050816146b2565b90506136ac565b80600483603381106137345761373461460e565b0154101561377b5760405162461bcd60e51b8152602060048201526014602482015273546f6b656e4964206e6f74206d696e7461626c6560601b6044820152606401610c00565b806004836033811061378f5761378f61460e565b01600082825461379f919061463a565b9250508190555080603960008282546137b89190614651565b90915550506001600160a01b038316600090815260376020526040812080548392906137e5908490614651565b92505081905550610f2e83838360405180604001604052806002815260200161060f60f31b815250613669565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061384c5761384c61460e565b602090810291909101015292915050565b6001600160a01b0384163b156128ff5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906138a19089908990889088908890600401614a9f565b6020604051808303816000875af19250505080156138dc575060408051601f3d908101601f191682019092526138d99181019061497d565b60015b6138e8576133f561499a565b6001600160e01b0319811663f23a6e6160e01b1461332c5760405162461bcd60e51b8152600401610c0090614a40565b613923838383613c2a565b6000828152600360205260408120805483929061394190849061463a565b9091555050505050565b60006001600160e01b03198216636cdb3d1360e11b148061397c57506001600160e01b031982166303a24d0760e21b145b80610c3a57506301ffc9a760e01b6001600160e01b0319831614610c3a565b6001600160a01b0384166139fb5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610c00565b33613a0c8160008761323f88613812565b6000848152602081815260408083206001600160a01b038916845290915281208054859290613a3c908490614651565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610f018160008787878761385d565b6001600160a01b038316613ac25760405162461bcd60e51b8152600401610c0090614ae4565b8051825114613ae35760405162461bcd60e51b8152600401610c0090614795565b6000339050613b0681856000868660405180602001604052806000815250613365565b60005b8351811015613bcb576000848281518110613b2657613b2661460e565b602002602001015190506000848381518110613b4457613b4461460e565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015613b945760405162461bcd60e51b8152600401610c0090614b27565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580613bc3816146b2565b915050613b09565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051613c1c92919061486c565b60405180910390a450505050565b6001600160a01b038316613c505760405162461bcd60e51b8152600401610c0090614ae4565b33613c7f81856000613c6187613812565b613c6a87613812565b60405180602001604052806000815250613365565b6000838152602081815260408083206001600160a01b038816845290915290205482811015613cc05760405162461bcd60e51b8152600401610c0090614b27565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b828054613d37906144e6565b90600052602060002090601f016020900481019282613d595760008555613d9f565b82601f10613d7257805160ff1916838001178555613d9f565b82800160010185558215613d9f579182015b82811115613d9f578251825591602001919060010190613d84565b50613dab929150613daf565b5090565b5b80821115613dab5760008155600101613db0565b80356001600160a01b0381168114613ddb57600080fd5b919050565b60008060408385031215613df357600080fd5b613dfc83613dc4565b946020939093013593505050565b6001600160e01b0319811681146125f457600080fd5b600060208284031215613e3257600080fd5b813561366281613e0a565b600060208284031215613e4f57600080fd5b5035919050565b60005b83811015613e71578181015183820152602001613e59565b83811115612a645750506000910152565b60008151808452613e9a816020860160208601613e56565b601f01601f19169290920160200192915050565b6020815260006136626020830184613e82565b600060208284031215613ed357600080fd5b813561ffff8116811461366257600080fd5b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715613f2157613f21613ee5565b6040525050565b600067ffffffffffffffff821115613f4257613f42613ee5565b5060051b60200190565b600082601f830112613f5d57600080fd5b81356020613f6a82613f28565b604051613f778282613efb565b83815260059390931b8501820192828101915086841115613f9757600080fd5b8286015b84811015613fb25780358352918301918301613f9b565b509695505050505050565b600067ffffffffffffffff831115613fd757613fd7613ee5565b604051613fee601f8501601f191660200182613efb565b80915083815284848401111561400357600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261402c57600080fd5b61366283833560208501613fbd565b600080600080600060a0868803121561405357600080fd5b61405c86613dc4565b945061406a60208701613dc4565b9350604086013567ffffffffffffffff8082111561408757600080fd5b61409389838a01613f4c565b945060608801359150808211156140a957600080fd5b6140b589838a01613f4c565b935060808801359150808211156140cb57600080fd5b506140d88882890161401b565b9150509295509295909350565b600080604083850312156140f857600080fd5b8235915061410860208401613dc4565b90509250929050565b60008060006060848603121561412657600080fd5b61412f84613dc4565b95602085013595506040909401359392505050565b60006020828403121561415657600080fd5b61366282613dc4565b6000806040838503121561417257600080fd5b823567ffffffffffffffff8082111561418a57600080fd5b818501915085601f83011261419e57600080fd5b813560206141ab82613f28565b6040516141b88282613efb565b83815260059390931b85018201928281019150898411156141d857600080fd5b948201945b838610156141fd576141ee86613dc4565b825294820194908201906141dd565b9650508601359250508082111561421357600080fd5b5061422085828601613f4c565b9150509250929050565b600081518084526020808501945080840160005b8381101561425a5781518752958201959082019060010161423e565b509495945050505050565b602081526000613662602083018461422a565b60006020828403121561428a57600080fd5b813567ffffffffffffffff8111156142a157600080fd5b8201601f810184136142b257600080fd5b61275584823560208401613fbd565b6000806000606084860312156142d657600080fd5b6142df84613dc4565b9250602084013567ffffffffffffffff808211156142fc57600080fd5b61430887838801613f4c565b9350604086013591508082111561431e57600080fd5b5061432b86828701613f4c565b9150509250925092565b634e487b7160e01b600052602160045260246000fd5b600481106125f457634e487b7160e01b600052602160045260246000fd5b602081016143768361434b565b91905290565b80358015158114613ddb57600080fd5b60006020828403121561439e57600080fd5b6136628261437c565b600481106125f457600080fd5b6000602082840312156143c657600080fd5b8135613662816143a7565b600080604083850312156143e457600080fd5b6143ed83613dc4565b91506141086020840161437c565b6000806040838503121561440e57600080fd5b50508035926020909101359150565b60c0810161442a8861434b565b968152941515602086015260408501939093526060840191909152608083015261ffff1660a09091015290565b6000806040838503121561446a57600080fd5b61447383613dc4565b915061410860208401613dc4565b600080600080600060a0868803121561449957600080fd5b6144a286613dc4565b94506144b060208701613dc4565b93506040860135925060608601359150608086013567ffffffffffffffff8111156144da57600080fd5b6140d88882890161401b565b600181811c908216806144fa57607f821691505b60208210811415611b9757634e487b7160e01b600052602260045260246000fd5b6000815161452d818560208601613e56565b9290920192915050565b600080845481600182811c91508083168061455357607f831692505b602080841082141561457357634e487b7160e01b86526022600452602486fd5b8180156145875760018114614598576145c5565b60ff198616895284890196506145c5565b60008b81526020902060005b868110156145bd5781548b8201529085019083016145a4565b505084890196505b5050505050506145d5818561451b565b95945050505050565b60208082526016908201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561464c5761464c614624565b500390565b6000821982111561466457614664614624565b500190565b600081600019048311821515161561468357614683614624565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826146ad576146ad614688565b500490565b60006000198214156146c6576146c6614624565b5060010190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526021908201527f4d696e7420746f6b656e732061726520726571756972656420746f206d696e746040820152601760f91b606082015260800190565b60008261479057614790614688565b500690565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60408152600061487f604083018561422a565b82810360208401526145d5818561422a565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516148c9816017850160208801613e56565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516148fa816028840160208801613e56565b01602801949350505050565b60006020828403121561491857600080fd5b5051919050565b6001600160a01b0386811682528516602082015260a06040820181905260009061494b9083018661422a565b828103606084015261495d818661422a565b905082810360808401526149718185613e82565b98975050505050505050565b60006020828403121561498f57600080fd5b815161366281613e0a565b600060033d11156149b35760046000803e5060005160e01c5b90565b600060443d10156149c45790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156149f457505050505090565b8285019150815181811115614a0c5750505050505090565b843d8701016020828501011115614a265750505050505090565b614a3560208286010187613efb565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b600081614a9757614a97614624565b506000190190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090614ad990830184613e82565b979650505050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b60608201526080019056fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a2646970667358221220b70cf0efaa24fdf1b2685ea27f558479374e2be9968f62156ac41b4ab96ca7a964736f6c634300080a003368747470733a2f2f73746f726167656170692e666c65656b2e636f2f61706564616f2d6275636b65742f676c6173732d617065732f00000000000000000000000077ad1a4031e180a599cb8a930c9da621901aebc2000000000000000000000000fb61bd914d4cd5509ecbd4b16a0f96349e52db3d000000000000000000000000c199d54be70c9837449b8ded44b6c960dde9dfe3000000000000000000000000bda1e2757f9a8973926120f6977756b2468b79bb00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a
Deployed Bytecode
0x60806040526004361061038b5760003560e01c8063754b85d4116101dc578063b6079f3611610102578063d7126fef116100a0578063f242432a1161006f578063f242432a14610b18578063f26b82aa14610b38578063f2fde38b14610b58578063f5298aca14610b7857600080fd5b8063d7126fef14610a8b578063e4b7fb7314610aa0578063e89dfd9414610ab5578063e985e9c514610acf57600080fd5b8063c46c1f22116100dc578063c46c1f22146109ce578063c88daa3814610a36578063cc5c095c14610a56578063d547741f14610a6b57600080fd5b8063b6079f361461095a578063bd85b0391461096d578063bf9aa9d01461099a57600080fd5b806391d148541161017a578063a37e347311610149578063a37e3473146108b9578063a38ba4b2146108d9578063b38c7c09146108f9578063b5f26dcf1461092657600080fd5b806391d1485414610851578063a0712d6814610871578063a217fddf14610884578063a22cb4651461089957600080fd5b8063841d9552116101b6578063841d9552146107d15780638456cb59146107f15780638cda8bcf146108065780638da5cb5b1461083357600080fd5b8063754b85d41461076d57806375b238fc1461078f578063784eadcf146107b157600080fd5b80633f4ba83a116102c15780634f558e791161025f5780636113494c1161022e5780636113494c146106ef5780636b20c454146107235780636c0360eb14610743578063715018a61461075857600080fd5b80634f558e7914610660578063517e511a1461068f57806355f804b3146106b75780635c975abb146106d757600080fd5b80634329595a1161029b5780634329595a146105de5780634a26c99d146105fe5780634bedc5481461061e5780634e1273f41461063357600080fd5b80633f4ba83a1461059e5780634230baee146105b357806342d80362146105c957600080fd5b80632eb2c2d61161032e57806337736ce81161030857806337736ce8146105085780633881352b1461051d578063388b9fe0146105695780633ccfd60b1461058957600080fd5b80632eb2c2d6146104a85780632f2ff15d146104c857806336568abe146104e857600080fd5b80631ca8b6cb1161036a5780631ca8b6cb14610420578063248a9ca31461043657806327c521fc146104665780632bfcbbca1461048857600080fd5b8062fdd58e1461039057806301ffc9a7146103c35780630e89341c146103f3575b600080fd5b34801561039c57600080fd5b506103b06103ab366004613de0565b610b98565b6040519081526020015b60405180910390f35b3480156103cf57600080fd5b506103e36103de366004613e20565b610c2f565b60405190151581526020016103ba565b3480156103ff57600080fd5b5061041361040e366004613e3d565b610c40565b6040516103ba9190613eae565b34801561042c57600080fd5b506103b060385481565b34801561044257600080fd5b506103b0610451366004613e3d565b6000908152603c602052604090206001015490565b34801561047257600080fd5b50610486610481366004613e3d565b610d77565b005b34801561049457600080fd5b506104866104a3366004613ec1565b610df2565b3480156104b457600080fd5b506104866104c336600461403b565b610e71565b3480156104d457600080fd5b506104866104e33660046140e5565b610f08565b3480156104f457600080fd5b506104866105033660046140e5565b610f33565b34801561051457600080fd5b506103e3610fb1565b34801561052957600080fd5b506105517f00000000000000000000000077ad1a4031e180a599cb8a930c9da621901aebc281565b6040516001600160a01b0390911681526020016103ba565b34801561057557600080fd5b50610486610584366004614111565b610fff565b34801561059557600080fd5b506104866111a3565b3480156105aa57600080fd5b50610486611245565b3480156105bf57600080fd5b506103b060395481565b3480156105d557600080fd5b506103b0611281565b3480156105ea57600080fd5b506103b06105f9366004614144565b6112c8565b34801561060a57600080fd5b50610486610619366004613e3d565b611320565b34801561062a57600080fd5b506103b061139b565b34801561063f57600080fd5b5061065361064e36600461415f565b6113e2565b6040516103ba9190614265565b34801561066c57600080fd5b506103e361067b366004613e3d565b600090815260036020526040902054151590565b34801561069b57600080fd5b506106a461150c565b60405161ffff90911681526020016103ba565b3480156106c357600080fd5b506104866106d2366004614278565b611559565b3480156106e357600080fd5b50603a5460ff166103e3565b3480156106fb57600080fd5b506105517f000000000000000000000000fb61bd914d4cd5509ecbd4b16a0f96349e52db3d81565b34801561072f57600080fd5b5061048661073e3660046142c1565b6115a0565b34801561074f57600080fd5b506104136115e3565b34801561076457600080fd5b50610486611671565b34801561077957600080fd5b506107826116d5565b6040516103ba9190614369565b34801561079b57600080fd5b506103b0600080516020614b6c83398151915281565b3480156107bd57600080fd5b506104866107cc36600461438c565b61171e565b3480156107dd57600080fd5b506104866107ec3660046143b4565b6117ab565b3480156107fd57600080fd5b50610486611841565b34801561081257600080fd5b506103b0610821366004614144565b60376020526000908152604090205481565b34801561083f57600080fd5b50603d546001600160a01b0316610551565b34801561085d57600080fd5b506103e361086c3660046140e5565b61187d565b61048661087f366004613e3d565b6118a8565b34801561089057600080fd5b506103b0600081565b3480156108a557600080fd5b506104866108b43660046143d1565b611a5e565b3480156108c557600080fd5b506103b06108d4366004613e3d565b611b35565b3480156108e557600080fd5b506104866108f4366004613ec1565b611b9d565b34801561090557600080fd5b506103b06109143660046143b4565b60456020526000908152604090205481565b34801561093257600080fd5b506105517f000000000000000000000000c199d54be70c9837449b8ded44b6c960dde9dfe381565b6104866109683660046143fb565b611c2f565b34801561097957600080fd5b506103b0610988366004613e3d565b60009081526003602052604090205490565b3480156109a657600080fd5b506105517f000000000000000000000000bda1e2757f9a8973926120f6977756b2468b79bb81565b3480156109da57600080fd5b50610a246109e93660046143b4565b6043602052600090815260409020805460018201546002830154600384015460049094015460ff8085169561010090950416939061ffff1686565b6040516103ba9695949392919061441d565b348015610a4257600080fd5b506103b0610a51366004613e3d565b61236d565b348015610a6257600080fd5b506103b0612384565b348015610a7757600080fd5b50610486610a863660046140e5565b61239b565b348015610a9757600080fd5b506103b06123c1565b348015610aac57600080fd5b506103b0612408565b348015610ac157600080fd5b506044546107829060ff1681565b348015610adb57600080fd5b506103e3610aea366004614457565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b348015610b2457600080fd5b50610486610b33366004614481565b612494565b348015610b4457600080fd5b50610486610b533660046143b4565b6124d9565b348015610b6457600080fd5b50610486610b73366004614144565b61252c565b348015610b8457600080fd5b50610486610b93366004614111565b6125f7565b60006001600160a01b038316610c095760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b6000610c3a8261263a565b92915050565b6060600082118015610c545750603e548211155b610ca05760405162461bcd60e51b815260206004820152601f60248201527f5552492072657175657374656420666f7220696e76616c696420746f6b656e006044820152606401610c00565b600060408054610caf906144e6565b905011610d465760408054610cc3906144e6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cef906144e6565b8015610d3c5780601f10610d1157610100808354040283529160200191610d3c565b820191906000526020600020905b815481529060010190602001808311610d1f57829003601f168201915b5050505050610c3a565b6040610d5183612657565b604051602001610d62929190614537565b60405160208183030381529060405292915050565b610d8f600080516020614b6c8339815191523361187d565b610dab5760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff166003811115610dca57610dca614335565b6003811115610ddb57610ddb614335565b815260208101919091526040016000206001015550565b610e0a600080516020614b6c8339815191523361187d565b610e265760405162461bcd60e51b8152600401610c00906145de565b60445461ffff82169060439060009060ff166003811115610e4957610e49614335565b6003811115610e5a57610e5a614335565b815260208101919091526040016000206003015550565b6001600160a01b038516331480610e8d5750610e8d8533610aea565b610ef45760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610c00565b610f01858585858561275d565b5050505050565b6000828152603c6020526040902060010154610f248133612907565b610f2e838361296b565b505050565b6001600160a01b0381163314610fa35760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c00565b610fad82826129f1565b5050565b604454600090604390829060ff166003811115610fd057610fd0614335565b6003811115610fe157610fe1614335565b8152602081019190915260400160002054610100900460ff16919050565b611017600080516020614b6c8339815191523361187d565b6110335760405162461bcd60e51b8152600401610c00906145de565b6000821180156110455750603e548211155b6110855760405162461bcd60e51b81526020600482015260116024820152702737ba1030903b30b634b2103a37b5b2b760791b6044820152606401610c00565b6032821161112b5780600483603381106110a1576110a161460e565b015410156110e35760405162461bcd60e51b815260206004820152600f60248201526e139bdd08195b9bdd59da081b19599d608a1b6044820152606401610c00565b80600483603381106110f7576110f761460e565b016000828254611107919061463a565b9250508190555080603960008282546111209190614651565b909155506111889050565b603f54600083815260036020526040902054611148908390614651565b11156111885760405162461bcd60e51b815260206004820152600f60248201526e139bdd08195b9bdd59da081b19599d608a1b6044820152606401610c00565b610f2e83838360405180602001604052806000815250612a58565b6111bb600080516020614b6c8339815191523361187d565b6111d75760405162461bcd60e51b8152600401610c00906145de565b6112187f000000000000000000000000c199d54be70c9837449b8ded44b6c960dde9dfe360646112093031603c614669565b611213919061469e565b612a6a565b6112437f000000000000000000000000bda1e2757f9a8973926120f6977756b2468b79bb3031612a6a565b565b61125d600080516020614b6c8339815191523361187d565b6112795760405162461bcd60e51b8152600401610c00906145de565b611243612b84565b604454600090604390829060ff1660038111156112a0576112a0614335565b60038111156112b1576112b1614335565b815260200190815260200160002060020154905090565b6001600160a01b0381166000908152604260205260408120604454829060ff1660038111156112f9576112f9614335565b600381111561130a5761130a614335565b8152602001908152602001600020549050919050565b611338600080516020614b6c8339815191523361187d565b6113545760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff16600381111561137357611373614335565b600381111561138457611384614335565b815260208101919091526040016000206002015550565b604454600090604390829060ff1660038111156113ba576113ba614335565b60038111156113cb576113cb614335565b815260200190815260200160002060030154905090565b606081518351146114475760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608401610c00565b6000835167ffffffffffffffff81111561146357611463613ee5565b60405190808252806020026020018201604052801561148c578160200160208202803683370190505b50905060005b8451811015611504576114d78582815181106114b0576114b061460e565b60200260200101518583815181106114ca576114ca61460e565b6020026020010151610b98565b8282815181106114e9576114e961460e565b60209081029190910101526114fd816146b2565b9050611492565b509392505050565b604454600090604390829060ff16600381111561152b5761152b614335565b600381111561153c5761153c614335565b815260208101919091526040016000206004015461ffff16919050565b611571600080516020614b6c8339815191523361187d565b61158d5760405162461bcd60e51b8152600401610c00906145de565b8051610fad906040906020840190613d2b565b6001600160a01b0383163314806115bc57506115bc8333610aea565b6115d85760405162461bcd60e51b8152600401610c00906146cd565b610f2e838383612c17565b604080546115f0906144e6565b80601f016020809104026020016040519081016040528092919081815260200182805461161c906144e6565b80156116695780601f1061163e57610100808354040283529160200191611669565b820191906000526020600020905b81548152906001019060200180831161164c57829003601f168201915b505050505081565b603d546001600160a01b031633146116cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c00565b6112436000612c22565b604454600090604390829060ff1660038111156116f4576116f4614335565b600381111561170557611705614335565b815260208101919091526040016000205460ff16919050565b611736600080516020614b6c8339815191523361187d565b6117525760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff16600381111561177157611771614335565b600381111561178257611782614335565b8152602081019190915260400160002080549115156101000261ff001990921691909117905550565b6117c3600080516020614b6c8339815191523361187d565b6117df5760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff1660038111156117fe576117fe614335565b600381111561180f5761180f614335565b81526020810191909152604001600020805460ff1916600183600381111561183957611839614335565b021790555050565b611859600080516020614b6c8339815191523361187d565b6118755760405162461bcd60e51b8152600401610c00906145de565b611243612c74565b6000918252603c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b603a5460ff16156118cb5760405162461bcd60e51b8152600401610c0090614716565b6002603b54141561191e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c00565b6002603b55600060445460439060009060ff16600381111561194257611942614335565b600381111561195357611953614335565b815260208101919091526040016000205460ff16600381111561197857611978614335565b146119955760405162461bcd60e51b8152600401610c0090614740565b61199e81612ccc565b6119a83382613101565b604454819060459060009060ff1660038111156119c7576119c7614335565b60038111156119d8576119d8614335565b815260200190815260200160002060008282546119f59190614651565b909155505033600090815260426020526040812060445483929060ff166003811115611a2357611a23614335565b6003811115611a3457611a34614335565b81526020019081526020016000206000828254611a519190614651565b90915550506001603b5550565b336001600160a01b0383161415611ac95760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608401610c00565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000805b6033811015611b975760048160338110611b5557611b5561460e565b0154831015611b645792915050565b60048160338110611b7757611b7761460e565b0154611b83908461463a565b925080611b8f816146b2565b915050611b39565b50919050565b611bb5600080516020614b6c8339815191523361187d565b611bd15760405162461bcd60e51b8152600401610c00906145de565b604454819060439060009060ff166003811115611bf057611bf0614335565b6003811115611c0157611c01614335565b815260200190815260200160002060040160006101000a81548161ffff021916908361ffff16021790555050565b603a5460ff1615611c525760405162461bcd60e51b8152600401610c0090614716565b6002603b541415611ca55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c00565b6002603b55600060445460439060009060ff166003811115611cc957611cc9614335565b6003811115611cda57611cda614335565b815260208101919091526040016000205460ff166003811115611cff57611cff614335565b1415611d1d5760405162461bcd60e51b8152600401610c0090614740565b6000600160445460439060009060ff166003811115611d3e57611d3e614335565b6003811115611d4f57611d4f614335565b815260208101919091526040016000205460ff166003811115611d7457611d74614335565b1415611e335760008311611dd45760405162461bcd60e51b815260206004820152602160248201527f476f6c6420746f6b656e206d7573742062652067726561746572207468616e206044820152600360fc1b6064820152608401610c00565b8115611e305760405162461bcd60e51b815260206004820152602560248201527f6f6e6c7920676f6c6420746f6b656e732061726520726571756972656420746f604482015264081b5a5b9d60da1b6064820152608401610c00565b50815b600260445460439060009060ff166003811115611e5257611e52614335565b6003811115611e6357611e63614335565b815260208101919091526040016000205460ff166003811115611e8857611e88614335565b1415611f495760008211611ee95760405162461bcd60e51b815260206004820152602260248201527f426173696320746f6b656e206d7573742062652067726561746572207468616e604482015261020360f41b6064820152608401610c00565b8215611f465760405162461bcd60e51b815260206004820152602660248201527f6f6e6c7920626173696320746f6b656e732061726520726571756972656420746044820152651bc81b5a5b9d60d21b6064820152608401610c00565b50805b600360445460439060009060ff166003811115611f6857611f68614335565b6003811115611f7957611f79614335565b815260208101919091526040016000205460ff166003811115611f9e57611f9e614335565b141561201f576000831180611fb35750600082115b6120125760405162461bcd60e51b815260206004820152602a60248201527f476f6c64206f7220426173696320746f6b656e206d75737420626520677265616044820152690746572207468616e20360b41b6064820152608401610c00565b61201c8383614651565b90505b60445460439060009060ff16600381111561203c5761203c614335565b600381111561204d5761204d614335565b8152602001908152602001600020600101548161206a9190614781565b156120ce5760405162461bcd60e51b815260206004820152602e60248201527f5175616e74697479206d7573742062652061206d756c7469706c65206f66206d60448201526d34b73a1031b7b9ba103a37b5b2b760911b6064820152608401610c00565b604454600090604390829060ff1660038111156120ed576120ed614335565b60038111156120fe576120fe614335565b8152602001908152602001600020600101548261211b919061469e565b905061212681612ccc565b7f00000000000000000000000077ad1a4031e180a599cb8a930c9da621901aebc260016121516116d5565b600381111561216257612162614335565b1480612186575060036121736116d5565b600381111561218457612184614335565b145b80156121925750600085115b156121f85760405163390fe10960e21b8152336004820152602481018690526001600160a01b0382169063e43f842490604401600060405180830381600087803b1580156121df57600080fd5b505af11580156121f3573d6000803e3d6000fd5b505050505b60026122026116d5565b600381111561221357612213614335565b1480612237575060036122246116d5565b600381111561223557612235614335565b145b80156122435750600084115b156122a957604051633cb8f14360e01b8152336004820152602481018590526001600160a01b03821690633cb8f14390604401600060405180830381600087803b15801561229057600080fd5b505af11580156122a4573d6000803e3d6000fd5b505050505b6122b33383613101565b604454829060459060009060ff1660038111156122d2576122d2614335565b60038111156122e3576122e3614335565b815260200190815260200160002060008282546123009190614651565b909155505033600090815260426020526040812060445484929060ff16600381111561232e5761232e614335565b600381111561233f5761233f614335565b8152602001908152602001600020600082825461235c9190614651565b90915550506001603b555050505050565b6004816033811061237d57600080fd5b0154905081565b6000603954603854612396919061463a565b905090565b6000828152603c60205260409020600101546123b78133612907565b610f2e83836129f1565b604454600090604390829060ff1660038111156123e0576123e0614335565b60038111156123f1576123f1614335565b815260200190815260200160002060010154905090565b604454600090604590829060ff16600381111561242757612427614335565b600381111561243857612438614335565b81526020810191909152604001600090812054604454909160439160ff16600381111561246757612467614335565b600381111561247857612478614335565b815260200190815260200160002060030154612396919061463a565b6001600160a01b0385163314806124b057506124b08533610aea565b6124cc5760405162461bcd60e51b8152600401610c00906146cd565b610f018585858585613209565b6124f1600080516020614b6c8339815191523361187d565b61250d5760405162461bcd60e51b8152600401610c00906145de565b6044805482919060ff1916600183600381111561183957611839614335565b603d546001600160a01b031633146125865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c00565b6001600160a01b0381166125eb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c00565b6125f481612c22565b50565b6001600160a01b03831633148061261357506126138333610aea565b61262f5760405162461bcd60e51b8152600401610c00906146cd565b610f2e838383613335565b60006001600160e01b031982161580610c3a5750610c3a82613340565b60608161267b5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156126a5578061268f816146b2565b915061269e9050600a8361469e565b915061267f565b60008167ffffffffffffffff8111156126c0576126c0613ee5565b6040519080825280601f01601f1916602001820160405280156126ea576020820181803683370190505b5090505b8415612755576126ff60018361463a565b915061270c600a86614781565b612717906030614651565b60f81b81838151811061272c5761272c61460e565b60200101906001600160f81b031916908160001a90535061274e600a8661469e565b94506126ee565b949350505050565b815183511461277e5760405162461bcd60e51b8152600401610c0090614795565b6001600160a01b0384166127a45760405162461bcd60e51b8152600401610c00906147dd565b336127b3818787878787613365565b60005b84518110156128995760008582815181106127d3576127d361460e565b6020026020010151905060008583815181106127f1576127f161460e565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156128415760405162461bcd60e51b8152600401610c0090614822565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061287e908490614651565b9250508190555050505080612892906146b2565b90506127b6565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516128e992919061486c565b60405180910390a46128ff81878787878761336a565b505050505050565b612911828261187d565b610fad57612929816001600160a01b031660146134c6565b6129348360206134c6565b604051602001612945929190614891565b60408051601f198184030181529082905262461bcd60e51b8252610c0091600401613eae565b612975828261187d565b610fad576000828152603c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556129ad3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6129fb828261187d565b15610fad576000828152603c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b612a6484848484613669565b50505050565b3031811115612abb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c00565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612b08576040519150601f19603f3d011682016040523d82523d6000602084013e612b0d565b606091505b5050905080610f2e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c00565b603a5460ff16612bcd5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c00565b603a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610f2e83838361369e565b603d80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b603a5460ff1615612c975760405162461bcd60e51b8152600401610c0090614716565b603a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612bfa3390565b60008111612d1c5760405162461bcd60e51b815260206004820152601f60248201527f5175616e74697479206d7573742062652067726561746572207468616e2030006044820152606401610c00565b60445460439060009060ff166003811115612d3957612d39614335565b6003811115612d4a57612d4a614335565b8152602001908152602001600020600301548160456000604460009054906101000a900460ff166003811115612d8257612d82614335565b6003811115612d9357612d93614335565b815260200190815260200160002054612dac9190614651565b1115612e205760405162461bcd60e51b815260206004820152603b60248201527f5175616e74697479206d757374206265206c657373207468616e2072656d616960448201527f6e696e6720737570706c7920666f7220746869732077696e646f7700000000006064820152608401610c00565b604454600090604390829060ff166003811115612e3f57612e3f614335565b6003811115612e5057612e50614335565b81526020019081526020016000206002015490508181612e709190614669565b341015612ebf5760405162461bcd60e51b815260206004820152601c60248201527f496e73756666696369656e742045544820666f72206d696e74696e67000000006044820152606401610c00565b604454600090604390829060ff166003811115612ede57612ede614335565b6003811115612eef57612eef614335565b815260208101919091526040016000206004015461ffff169050801580612f695750336000908152604260205260408120604454839286929160ff166003811115612f3c57612f3c614335565b6003811115612f4d57612f4d614335565b815260200190815260200160002054612f669190614651565b11155b612fd05760405162461bcd60e51b815260206004820152603260248201527f596f752068617665207265616368656420796f75722077616c6c6574206c696d604482015271697420666f7220746869732077696e646f7760701b6064820152608401610c00565b60445460439060009060ff166003811115612fed57612fed614335565b6003811115612ffe57612ffe614335565b8152602081019190915260400160002054610100900460ff1615610f2e576040516370a0823160e01b81523360048201527f000000000000000000000000fb61bd914d4cd5509ecbd4b16a0f96349e52db3d906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015613085573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130a99190614906565b11612a645760405162461bcd60e51b815260206004820152602260248201527f596f75206d75737420626520612052656d697820686f6c64657220746f206d696044820152611b9d60f21b6064820152608401610c00565b600061310b612384565b1161316e5760405162461bcd60e51b815260206004820152602d60248201527f4e6f7420656e6f75676820737570706c7920746f206d696e7420616c6c20616d60448201526c1bdd5b9d081c995c5d5a5c9959609a1b6064820152608401610c00565b60005b81811015610f2e576040805144602080830191909152428284015233606090811b6bffffffffffffffffffffffff1916908301526074808301859052835180840390910181526094909201909252805191012060006131ce612384565b6131d89083614781565b905060006131e582611b35565b90506131f386826001613720565b5050508080613201906146b2565b915050613171565b6001600160a01b03841661322f5760405162461bcd60e51b8152600401610c00906147dd565b3361324e81878761323f88613812565b61324888613812565b87613365565b6000848152602081815260408083206001600160a01b038a1684529091529020548381101561328f5760405162461bcd60e51b8152600401610c0090614822565b6000858152602081815260408083206001600160a01b038b81168552925280832087850390559088168252812080548692906132cc908490614651565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461332c82888888888861385d565b50505050505050565b610f2e838383613918565b60006001600160e01b03198216637965db0b60e01b1480610c3a5750610c3a8261394b565b6128ff565b6001600160a01b0384163b156128ff5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906133ae908990899088908890889060040161491f565b6020604051808303816000875af19250505080156133e9575060408051601f3d908101601f191682019092526133e69181019061497d565b60015b613496576133f561499a565b806308c379a0141561342f575061340a6149b6565b806134155750613431565b8060405162461bcd60e51b8152600401610c009190613eae565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b6064820152608401610c00565b6001600160e01b0319811663bc197c8160e01b1461332c5760405162461bcd60e51b8152600401610c0090614a40565b606060006134d5836002614669565b6134e0906002614651565b67ffffffffffffffff8111156134f8576134f8613ee5565b6040519080825280601f01601f191660200182016040528015613522576020820181803683370190505b509050600360fc1b8160008151811061353d5761353d61460e565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061356c5761356c61460e565b60200101906001600160f81b031916908160001a9053506000613590846002614669565b61359b906001614651565b90505b6001811115613613576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106135cf576135cf61460e565b1a60f81b8282815181106135e5576135e561460e565b60200101906001600160f81b031916908160001a90535060049490941c9361360c81614a88565b905061359e565b5083156136625760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c00565b9392505050565b6136758484848461399b565b60008381526003602052604081208054849290613693908490614651565b909155505050505050565b6136a9838383613a9c565b60005b8251811015612a64578181815181106136c7576136c761460e565b6020026020010151600360008584815181106136e5576136e561460e565b60200260200101518152602001908152602001600020600082825461370a919061463a565b909155506137199050816146b2565b90506136ac565b80600483603381106137345761373461460e565b0154101561377b5760405162461bcd60e51b8152602060048201526014602482015273546f6b656e4964206e6f74206d696e7461626c6560601b6044820152606401610c00565b806004836033811061378f5761378f61460e565b01600082825461379f919061463a565b9250508190555080603960008282546137b89190614651565b90915550506001600160a01b038316600090815260376020526040812080548392906137e5908490614651565b92505081905550610f2e83838360405180604001604052806002815260200161060f60f31b815250613669565b6040805160018082528183019092526060916000919060208083019080368337019050509050828160008151811061384c5761384c61460e565b602090810291909101015292915050565b6001600160a01b0384163b156128ff5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906138a19089908990889088908890600401614a9f565b6020604051808303816000875af19250505080156138dc575060408051601f3d908101601f191682019092526138d99181019061497d565b60015b6138e8576133f561499a565b6001600160e01b0319811663f23a6e6160e01b1461332c5760405162461bcd60e51b8152600401610c0090614a40565b613923838383613c2a565b6000828152600360205260408120805483929061394190849061463a565b9091555050505050565b60006001600160e01b03198216636cdb3d1360e11b148061397c57506001600160e01b031982166303a24d0760e21b145b80610c3a57506301ffc9a760e01b6001600160e01b0319831614610c3a565b6001600160a01b0384166139fb5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610c00565b33613a0c8160008761323f88613812565b6000848152602081815260408083206001600160a01b038916845290915281208054859290613a3c908490614651565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4610f018160008787878761385d565b6001600160a01b038316613ac25760405162461bcd60e51b8152600401610c0090614ae4565b8051825114613ae35760405162461bcd60e51b8152600401610c0090614795565b6000339050613b0681856000868660405180602001604052806000815250613365565b60005b8351811015613bcb576000848281518110613b2657613b2661460e565b602002602001015190506000848381518110613b4457613b4461460e565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015613b945760405162461bcd60e51b8152600401610c0090614b27565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580613bc3816146b2565b915050613b09565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051613c1c92919061486c565b60405180910390a450505050565b6001600160a01b038316613c505760405162461bcd60e51b8152600401610c0090614ae4565b33613c7f81856000613c6187613812565b613c6a87613812565b60405180602001604052806000815250613365565b6000838152602081815260408083206001600160a01b038816845290915290205482811015613cc05760405162461bcd60e51b8152600401610c0090614b27565b6000848152602081815260408083206001600160a01b03898116808652918452828520888703905582518981529384018890529092908616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050505050565b828054613d37906144e6565b90600052602060002090601f016020900481019282613d595760008555613d9f565b82601f10613d7257805160ff1916838001178555613d9f565b82800160010185558215613d9f579182015b82811115613d9f578251825591602001919060010190613d84565b50613dab929150613daf565b5090565b5b80821115613dab5760008155600101613db0565b80356001600160a01b0381168114613ddb57600080fd5b919050565b60008060408385031215613df357600080fd5b613dfc83613dc4565b946020939093013593505050565b6001600160e01b0319811681146125f457600080fd5b600060208284031215613e3257600080fd5b813561366281613e0a565b600060208284031215613e4f57600080fd5b5035919050565b60005b83811015613e71578181015183820152602001613e59565b83811115612a645750506000910152565b60008151808452613e9a816020860160208601613e56565b601f01601f19169290920160200192915050565b6020815260006136626020830184613e82565b600060208284031215613ed357600080fd5b813561ffff8116811461366257600080fd5b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715613f2157613f21613ee5565b6040525050565b600067ffffffffffffffff821115613f4257613f42613ee5565b5060051b60200190565b600082601f830112613f5d57600080fd5b81356020613f6a82613f28565b604051613f778282613efb565b83815260059390931b8501820192828101915086841115613f9757600080fd5b8286015b84811015613fb25780358352918301918301613f9b565b509695505050505050565b600067ffffffffffffffff831115613fd757613fd7613ee5565b604051613fee601f8501601f191660200182613efb565b80915083815284848401111561400357600080fd5b83836020830137600060208583010152509392505050565b600082601f83011261402c57600080fd5b61366283833560208501613fbd565b600080600080600060a0868803121561405357600080fd5b61405c86613dc4565b945061406a60208701613dc4565b9350604086013567ffffffffffffffff8082111561408757600080fd5b61409389838a01613f4c565b945060608801359150808211156140a957600080fd5b6140b589838a01613f4c565b935060808801359150808211156140cb57600080fd5b506140d88882890161401b565b9150509295509295909350565b600080604083850312156140f857600080fd5b8235915061410860208401613dc4565b90509250929050565b60008060006060848603121561412657600080fd5b61412f84613dc4565b95602085013595506040909401359392505050565b60006020828403121561415657600080fd5b61366282613dc4565b6000806040838503121561417257600080fd5b823567ffffffffffffffff8082111561418a57600080fd5b818501915085601f83011261419e57600080fd5b813560206141ab82613f28565b6040516141b88282613efb565b83815260059390931b85018201928281019150898411156141d857600080fd5b948201945b838610156141fd576141ee86613dc4565b825294820194908201906141dd565b9650508601359250508082111561421357600080fd5b5061422085828601613f4c565b9150509250929050565b600081518084526020808501945080840160005b8381101561425a5781518752958201959082019060010161423e565b509495945050505050565b602081526000613662602083018461422a565b60006020828403121561428a57600080fd5b813567ffffffffffffffff8111156142a157600080fd5b8201601f810184136142b257600080fd5b61275584823560208401613fbd565b6000806000606084860312156142d657600080fd5b6142df84613dc4565b9250602084013567ffffffffffffffff808211156142fc57600080fd5b61430887838801613f4c565b9350604086013591508082111561431e57600080fd5b5061432b86828701613f4c565b9150509250925092565b634e487b7160e01b600052602160045260246000fd5b600481106125f457634e487b7160e01b600052602160045260246000fd5b602081016143768361434b565b91905290565b80358015158114613ddb57600080fd5b60006020828403121561439e57600080fd5b6136628261437c565b600481106125f457600080fd5b6000602082840312156143c657600080fd5b8135613662816143a7565b600080604083850312156143e457600080fd5b6143ed83613dc4565b91506141086020840161437c565b6000806040838503121561440e57600080fd5b50508035926020909101359150565b60c0810161442a8861434b565b968152941515602086015260408501939093526060840191909152608083015261ffff1660a09091015290565b6000806040838503121561446a57600080fd5b61447383613dc4565b915061410860208401613dc4565b600080600080600060a0868803121561449957600080fd5b6144a286613dc4565b94506144b060208701613dc4565b93506040860135925060608601359150608086013567ffffffffffffffff8111156144da57600080fd5b6140d88882890161401b565b600181811c908216806144fa57607f821691505b60208210811415611b9757634e487b7160e01b600052602260045260246000fd5b6000815161452d818560208601613e56565b9290920192915050565b600080845481600182811c91508083168061455357607f831692505b602080841082141561457357634e487b7160e01b86526022600452602486fd5b8180156145875760018114614598576145c5565b60ff198616895284890196506145c5565b60008b81526020902060005b868110156145bd5781548b8201529085019083016145a4565b505084890196505b5050505050506145d5818561451b565b95945050505050565b60208082526016908201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561464c5761464c614624565b500390565b6000821982111561466457614664614624565b500190565b600081600019048311821515161561468357614683614624565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826146ad576146ad614688565b500490565b60006000198214156146c6576146c6614624565b5060010190565b60208082526029908201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260408201526808185c1c1c9bdd995960ba1b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526021908201527f4d696e7420746f6b656e732061726520726571756972656420746f206d696e746040820152601760f91b606082015260800190565b60008261479057614790614688565b500690565b60208082526028908201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206040820152670dad2e6dac2e8c6d60c31b606082015260800190565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b60408152600061487f604083018561422a565b82810360208401526145d5818561422a565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516148c9816017850160208801613e56565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516148fa816028840160208801613e56565b01602801949350505050565b60006020828403121561491857600080fd5b5051919050565b6001600160a01b0386811682528516602082015260a06040820181905260009061494b9083018661422a565b828103606084015261495d818661422a565b905082810360808401526149718185613e82565b98975050505050505050565b60006020828403121561498f57600080fd5b815161366281613e0a565b600060033d11156149b35760046000803e5060005160e01c5b90565b600060443d10156149c45790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156149f457505050505090565b8285019150815181811115614a0c5750505050505090565b843d8701016020828501011115614a265750505050505090565b614a3560208286010187613efb565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b600081614a9757614a97614624565b506000190190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a060808201819052600090614ad990830184613e82565b979650505050505050565b60208082526023908201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526024908201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604082015263616e636560e01b60608201526080019056fea49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775a2646970667358221220b70cf0efaa24fdf1b2685ea27f558479374e2be9968f62156ac41b4ab96ca7a964736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000077ad1a4031e180a599cb8a930c9da621901aebc2000000000000000000000000fb61bd914d4cd5509ecbd4b16a0f96349e52db3d000000000000000000000000c199d54be70c9837449b8ded44b6c960dde9dfe3000000000000000000000000bda1e2757f9a8973926120f6977756b2468b79bb00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a
-----Decoded View---------------
Arg [0] : _INCINERATOR_CONTRACT_ADDRESS (address): 0x77AD1a4031e180a599Cb8a930C9da621901AEBC2
Arg [1] : _REMIX_CONTRACT_ADDRESS (address): 0xfb61bD914d4Cd5509ECbd4B16A0F96349e52DB3d
Arg [2] : _payableAddress1 (address): 0xc199d54bE70c9837449b8DeD44B6C960dde9dFe3
Arg [3] : _payableAddress2 (address): 0xbda1E2757f9A8973926120F6977756B2468B79bb
Arg [4] : tokenSupply (uint256[]): 0,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10
-----Encoded View---------------
57 Constructor Arguments found :
Arg [0] : 00000000000000000000000077ad1a4031e180a599cb8a930c9da621901aebc2
Arg [1] : 000000000000000000000000fb61bd914d4cd5509ecbd4b16a0f96349e52db3d
Arg [2] : 000000000000000000000000c199d54be70c9837449b8ded44b6c960dde9dfe3
Arg [3] : 000000000000000000000000bda1e2757f9a8973926120f6977756b2468b79bb
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000033
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [12] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [13] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [14] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [15] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [16] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [17] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [18] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [19] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [20] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [21] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [22] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [23] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [24] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [25] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [26] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [27] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [28] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [29] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [30] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [31] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [32] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [33] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [34] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [35] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [36] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [37] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [38] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [39] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [40] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [41] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [42] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [43] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [44] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [45] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [46] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [47] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [48] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [49] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [50] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [51] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [52] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [53] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [54] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [55] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [56] : 000000000000000000000000000000000000000000000000000000000000000a
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.