More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 9 from a total of 9 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 14635807 | 1439 days ago | IN | 0 ETH | 0.00300136 | ||||
| Mint | 14592519 | 1446 days ago | IN | 0.5 ETH | 0.00346983 | ||||
| Mint | 14579072 | 1448 days ago | IN | 0.5 ETH | 0.00392169 | ||||
| Mint | 14578988 | 1448 days ago | IN | 0.5 ETH | 0.00494874 | ||||
| Mint | 14578959 | 1448 days ago | IN | 0.5 ETH | 0.00439243 | ||||
| Mint | 14578953 | 1448 days ago | IN | 1.5 ETH | 0.00657353 | ||||
| Mint | 14578948 | 1448 days ago | IN | 1 ETH | 0.00546989 | ||||
| Mint | 14578882 | 1448 days ago | IN | 1 ETH | 0.00628562 | ||||
| Mint | 14578480 | 1448 days ago | IN | 0.5 ETH | 0.00488753 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| - | 14635807 | 1439 days ago | 6 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
GenesisGuild
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "./GamearoundNFT.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GenesisGuild is GamearoundNFT {
using Counters for Counters.Counter;
uint256 public maxSupply = 4500; // Maximum supply of NFTs
uint256 public dropsSupply = 150; // Reserved supply for drops
uint256 public maxPurchase = 3; // Max number of NFT that can be sold in one purchase.
// Mint Funds
uint256 mintFundShare = 10; // Share hold on the mint fund
uint256 _tempMintFundValue = 0; // Value hold on the mint fund while an edition is selling
uint256 mintFundValue = 0; // Value hold on the mint fund
uint256 mintFundsPaid = 0; // All paid mint fund so far
// Genesis Funds
uint256 genesisFundValue = 0; // Value hold on the genesis fund
uint256 genesisFundsPaid = 0; // All paid genesis fund so far
// Royalty Funds
uint256 royaltyFundShare = 10; // Share hold on the mint fund
Counters.Counter private _editionCounter; // Current edition in sales
Counters.Counter private _dropCounter; // Count the NFT drops
uint256[5] editions = [100, 250, 500, 1500, 2000]; // NFT Editions sizes
uint256[5] sellout = [100, 350, 800, 2350, 4350]; // NFT Editions sizes
uint256[5] prices = [0.5 ether, 1.0 ether, 1.5 ether, 1.75 ether, 2.0 ether]; // NFT Editions prices in Ether
uint256[5] shares = [15, 35, 50, 0, 0]; // NFT Editions shares percentage
bool need_wl = false; // Enable whitelist
bytes32 public constant WL_MINT_ROLE = keccak256("WL_MINT_ROLE");
// Mapping Mint Fund withdraws
mapping(uint256 => uint256) private _mintFundTotal;
// Mapping Genesis Fund withdraws
mapping(uint256 => uint256) private _genesisFundTotal;
bool allowTransfers;
/************************/
/* Deploy */
/************************/
constructor() GamearoundNFT("Gamearound Genesis Guild", "GEN") {
}
/************************/
/* Modifiers */
/************************/
modifier canDrop() {
require(_dropCounter.current() < dropsSupply, "Sold out");
_;
}
modifier notSoldOut() {
require(_tokenIdCounter.current() < sellout[_editionCounter.current()], "Sold out");
_;
}
modifier isSoldOut() {
require(_tokenIdCounter.current() >= sellout[_editionCounter.current()], "Not sold out");
_;
}
/************************/
/* Public functions */
/************************/
function currentEdition() public view returns (uint256) {
return _editionCounter.current() + 1;
}
function currentPrice() public view returns (uint256) {
return prices[_editionCounter.current()];
}
function currentSold() public view returns (uint256) {
return _tokenIdCounter.current();
}
function currentDrops() public view returns (uint256) {
return _dropCounter.current();
}
function tokenEdition(uint256 tokenId) public view returns (uint256) {
uint256 ed = 5;
for(uint256 i = 0; i < sellout.length; i++) {
if (tokenId <= sellout[i]) {
return (i + 1);
}
}
return ed;
}
function mintFundPaid(uint256 tokenId) public view returns (uint256) {
return _mintFundTotal[tokenId];
}
function genesisFundPaid(uint256 tokenId) public view returns (uint256) {
return _genesisFundTotal[tokenId];
}
// Distribute the value of the mint fund to all holders acording to the shares table
function remainMintFund(uint256 tokenId) public view returns (uint256) {
require(_msgSender() == ownerOf(tokenId), "Not token onwer");
if (mintFundValue > 0) {
uint256 edition = tokenEdition(tokenId);
uint256 share = shares[edition - 1];
if (share > 0) {
// Return the remaning value
return (((mintFundValue * share) / 100) / editions[edition - 1]) - mintFundPaid(tokenId);
}
}
return 0;
}
// Distribute the value of the mint fund to all holders acording to the shares table
function remainGenesisFund(uint256 tokenId) public view returns (uint256) {
require(_msgSender() == ownerOf(tokenId), "Not token onwer");
if (genesisFundValue > 0) {
uint256 minted = _tokenIdCounter.current();
if (minted > 0) {
// Return the remaning value
return (genesisFundValue / minted) - genesisFundPaid(tokenId);
}
}
return 0;
}
// Distribute the value of the mint fund to all holders acording to the shares table
function claimMintFund(uint256 tokenId) public payable {
uint256 funds = remainMintFund(tokenId);
require(funds > 0, "No funds");
payable(_msgSender()).transfer(funds);
_mintFundTotal[tokenId] += funds;
mintFundsPaid += funds;
}
function claimGenesisFund(uint256 tokenId) public payable {
uint256 funds = remainGenesisFund(tokenId);
require(funds > 0, "No funds");
payable(_msgSender()).transfer(funds);
_genesisFundTotal[tokenId] += funds;
genesisFundsPaid += funds;
}
/************************/
/* Owner only */
/************************/
function setWhitelists(address[] calldata recipients) public onlyRole(MINTER_ROLE) {
for(uint256 i = 0; i < recipients.length; i++) {
_grantRole(WL_MINT_ROLE, recipients[i]);
}
}
function withdraw() public payable onlyRole(FUNDS_ROLE) {
uint balance = address(this).balance;
payable(_msgSender()).transfer(balance - (mintFundValue - mintFundsPaid) - genesisFundValue);
}
// Withdraw everything in case of emergency
function emergency() public payable onlyRole(FUNDS_ROLE) {
uint balance = address(this).balance;
payable(_msgSender()).transfer(balance);
}
// Modify the base price for an edition
function setPrice(uint256 _edition, uint256 _newCost) public onlyRole(MINTER_ROLE) {
require((_edition - 1) < prices.length, "No edition");
prices[_editionCounter.current()] = _newCost;
}
// Modify the whitelist need for an edition
function enableWhitelist(bool _need) public onlyRole(MINTER_ROLE) {
need_wl = _need;
}
// Modify the base edition values
function setEditon(uint256[] calldata _newMax, uint256[] calldata _newShares) public onlyRole(MINTER_ROLE) {
uint256 total = 0;
for(uint256 i = 0; i < _newMax.length; i++) {
if (i < editions.length) {
editions[i] = _newMax[i];
sellout[i] = _newMax[i] + total;
total += _newMax[i];
if (i < _newShares.length) {
shares[i] = _newShares[i];
}
}
}
}
// Force transfer to start. This by pass the sould out transfer lock
function unlockTransfers(bool _status) public onlyRole(MINTER_ROLE) {
allowTransfers = _status;
}
// Next edition
function newEditionSales() public isSoldOut onlyRole(MINTER_ROLE) {
require(_editionCounter.current() < (editions.length - 1), "No editions");
_editionCounter.increment();
}
// Modify the edition counter
function setEditionIndex(uint256 _index) public onlyRole(MINTER_ROLE) {
require((_index - 1) < editions.length, "No editions");
_editionCounter.reset();
if (_index > 1) {
for(uint256 i = 1; i < _index; i++) {
_editionCounter.increment();
}
}
}
// Add funds to Genesis Fund
function addFunds() public payable onlyRole(FUNDS_ROLE) {
require(msg.value > 0, "No ether");
genesisFundValue += msg.value;
}
/************************/
/* NFT Mint */
/************************/
// Mint many NFTs
function mint(uint numberOfTokens) public notSoldOut payable {
require(numberOfTokens <= maxPurchase, "Exceed max nfts at a time");
require(_canSell(numberOfTokens), "Exceed max of nfts");
require(msg.value >= (currentPrice() * numberOfTokens), "Value too low");
_checkWhitelist();
for(uint i = 0; i < numberOfTokens; i++) {
_tokenIdCounter.increment();
uint256 tokenId = _tokenIdCounter.current(); // NFT index starts at 1
_safeMint(_msgSender(), tokenId); }
}
// Drop NFTs
function drop(address to) public canDrop onlyRole(MINTER_ROLE) {
uint256 tokenId = _dropCounter.current() + maxSupply - dropsSupply + 1; // Index starts at 1
_dropCounter.increment();
_safeMint(to, tokenId);
}
// Mint one NFT
function mintDrop(address to) public notSoldOut onlyRole(MINTER_ROLE) {
_tokenIdCounter.increment();
uint256 tokenId = _tokenIdCounter.current(); // NFT index starts at 1
_safeMint(to, tokenId);
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId )
internal
override
{
super._beforeTokenTransfer(from, to, tokenId);
// If it is an NFT TRANSFER
if ((from != address(0)) && (to != address(0))) {
require(_canTransfer(), "Not sold out");
}
}
// Overrrides
function _afterTokenTransfer(address from, address to, uint256 tokenId)
internal
override
{
super._afterTokenTransfer(from, to, tokenId);
// If it is a MINT
if (from == address(0)) {
// If it is not a drop, hold a share of each mint
if (_needAddToMintFund(tokenId)) {
_addToMintFund(currentPrice());
}
if (_isSoldOut(tokenId)) {
_setMintFunds();
}
}
}
/************************/
/* Private utilities */
/************************/
function _addToMintFund(uint256 value) private {
_tempMintFundValue += (value * mintFundShare) / 100;
}
function _needAddToMintFund(uint256 tokenId) private view returns (bool) {
// If it is not a drop, and it is not the first edition
return ((tokenId < (maxSupply - dropsSupply + 1)) && (tokenId > sellout[0]));
}
function _isSoldOut(uint256 tokenId) private view returns (bool) {
return (tokenId >= sellout[_editionCounter.current()]);
}
// Transfer from temporary to mint funds
function _setMintFunds() private {
mintFundValue += _tempMintFundValue; // Add the collected mint fund
_tempMintFundValue = 0; // Reset the temporary storage
}
function _canTransfer() private view returns (bool) {
return (allowTransfers || (_tokenIdCounter.current() >= sellout[sellout.length - 1]));
}
function _checkWhitelist() private view {
if (need_wl) {
require(hasRole(WL_MINT_ROLE, _msgSender()), "Not whitelisted");
}
}
function _canSell(uint256 numberOfTokens) private view returns (bool) {
return (_tokenIdCounter.current() + numberOfTokens <= sellout[_editionCounter.current()]);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
// Gamearound Ecosystem Genesis Token
/// @custom:security-contact claudio@gamearound.com
contract GamearoundNFT is ERC721, Pausable, AccessControl {
using Counters for Counters.Counter;
bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
bytes32 public constant FUNDS_ROLE = keccak256("FUNDS_ROLE");
Counters.Counter internal _tokenIdCounter;
string baseURI = "ipfs://QmWKVwauSTVdAsA4sLMA3cBp274yp4eM6rcerE1XYn5Uzj/";
constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) {
_grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
_grantRole(PAUSER_ROLE, msg.sender);
_grantRole(MINTER_ROLE, msg.sender);
_grantRole(FUNDS_ROLE, msg.sender);
}
function _baseURI() internal view override returns (string memory) {
return baseURI;
}
function setBaseURI(string memory _newBaseURI) public onlyRole(DEFAULT_ADMIN_ROLE) {
baseURI = _newBaseURI;
}
function pause(bool _state) public onlyRole(PAUSER_ROLE) {
if (_state) {
_pause();
} else {
_unpause();
}
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId)
internal
whenNotPaused
virtual
override
{
super._beforeTokenTransfer(from, to, tokenId);
}
// The following functions are overrides required by Solidity.
function supportsInterface(bytes4 interfaceId)
public
view
override(ERC721, AccessControl)
returns (bool)
{
return super.supportsInterface(interfaceId);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)
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 virtual 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 virtual {
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 virtual 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 revoked `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}.
* ====
*
* NOTE: This function is deprecated in favor of {_grantRole}.
*/
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);
}
/**
* @dev Grants `role` to `account`.
*
* Internal function without access restriction.
*/
function _grantRole(bytes32 role, address account) internal virtual {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
/**
* @dev Revokes `role` from `account`.
*
* Internal function without access restriction.
*/
function _revokeRole(bytes32 role, address account) internal virtual {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)
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
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension, but not including the Enumerable extension, which is available separately as
* {ERC721Enumerable}.
*/
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
using Address for address;
using Strings for uint256;
// Token name
string private _name;
// Token symbol
string private _symbol;
// Mapping from token ID to owner address
mapping(uint256 => address) private _owners;
// Mapping owner address to token count
mapping(address => uint256) private _balances;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
/**
* @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
*/
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view virtual override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address");
return _balances[owner];
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view virtual override returns (address) {
address owner = _owners[tokenId];
require(owner != address(0), "ERC721: owner query for nonexistent token");
return owner;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public virtual override {
address owner = ERC721.ownerOf(tokenId);
require(to != owner, "ERC721: approval to current owner");
require(
_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
"ERC721: approve caller is not owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
require(_exists(tokenId), "ERC721: approved query for nonexistent token");
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
_setApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
//solhint-disable-next-line max-line-length
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, "");
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
_safeTransfer(from, to, tokenId, _data);
}
/**
* @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.
*
* `_data` is additional data, it has no specified format and it is sent in call to `to`.
*
* This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mechanisms to perform token transfer, such as signature-based.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeTransfer(
address from,
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_transfer(from, to, tokenId);
require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`).
*/
function _exists(uint256 tokenId) internal view virtual returns (bool) {
return _owners[tokenId] != address(0);
}
/**
* @dev Returns whether `spender` is allowed to manage `tokenId`.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
require(_exists(tokenId), "ERC721: operator query for nonexistent token");
address owner = ERC721.ownerOf(tokenId);
return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
}
/**
* @dev Safely mints `tokenId` and transfers it to `to`.
*
* Requirements:
*
* - `tokenId` must not exist.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function _safeMint(address to, uint256 tokenId) internal virtual {
_safeMint(to, tokenId, "");
}
/**
* @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
* forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/
function _safeMint(
address to,
uint256 tokenId,
bytes memory _data
) internal virtual {
_mint(to, tokenId);
require(
_checkOnERC721Received(address(0), to, tokenId, _data),
"ERC721: transfer to non ERC721Receiver implementer"
);
}
/**
* @dev Mints `tokenId` and transfers it to `to`.
*
* WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
*
* Requirements:
*
* - `tokenId` must not exist.
* - `to` cannot be the zero address.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 tokenId) internal virtual {
require(to != address(0), "ERC721: mint to the zero address");
require(!_exists(tokenId), "ERC721: token already minted");
_beforeTokenTransfer(address(0), to, tokenId);
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(address(0), to, tokenId);
_afterTokenTransfer(address(0), to, tokenId);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId) internal virtual {
address owner = ERC721.ownerOf(tokenId);
_beforeTokenTransfer(owner, address(0), tokenId);
// Clear approvals
_approve(address(0), tokenId);
_balances[owner] -= 1;
delete _owners[tokenId];
emit Transfer(owner, address(0), tokenId);
_afterTokenTransfer(owner, address(0), tokenId);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
* As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) internal virtual {
require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
require(to != address(0), "ERC721: transfer to the zero address");
_beforeTokenTransfer(from, to, tokenId);
// Clear approvals from the previous owner
_approve(address(0), tokenId);
_balances[from] -= 1;
_balances[to] += 1;
_owners[tokenId] = to;
emit Transfer(from, to, tokenId);
_afterTokenTransfer(from, to, tokenId);
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(address to, uint256 tokenId) internal virtual {
_tokenApprovals[tokenId] = to;
emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
}
/**
* @dev Approve `operator` to operate on all of `owner` tokens
*
* Emits a {ApprovalForAll} event.
*/
function _setApprovalForAll(
address owner,
address operator,
bool approved
) internal virtual {
require(owner != operator, "ERC721: approve to caller");
_operatorApprovals[owner][operator] = approved;
emit ApprovalForAll(owner, operator, approved);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
* The call is not executed if the target address is not a contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
if (to.isContract()) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver.onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert("ERC721: transfer to non ERC721Receiver implementer");
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
} else {
return true;
}
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
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
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
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
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
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
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 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
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)
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
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)
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
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
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);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","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":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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FUNDS_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MINT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addFunds","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimGenesisFund","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimMintFund","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"currentDrops","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentEdition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"drop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dropsSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergency","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"_need","type":"bool"}],"name":"enableWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"genesisFundPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mintFundPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newEditionSales","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"remainGenesisFund","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"remainMintFund","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"setEditionIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_newMax","type":"uint256[]"},{"internalType":"uint256[]","name":"_newShares","type":"uint256[]"}],"name":"setEditon","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_edition","type":"uint256"},{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"setWhitelists","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenEdition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"unlockTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
608060405260405180606001604052806036815260200162005f9e603691396009908051906020019062000035929190620004f6565b50611194600a556096600b556003600c55600a600d556000600e556000600f55600060105560006011556000601255600a6013556040518060a00160405280606461ffff16815260200160fa61ffff1681526020016101f461ffff1681526020016105dc61ffff1681526020016107d061ffff168152506016906005620000be92919062000587565b506040518060a00160405280606461ffff16815260200161015e61ffff16815260200161032061ffff16815260200161092e61ffff1681526020016110fe61ffff16815250601b9060056200011592919062000587565b506040518060a001604052806706f05b59d3b2000067ffffffffffffffff168152602001670de0b6b3a764000067ffffffffffffffff1681526020016714d1120d7b16000067ffffffffffffffff1681526020016718493fba64ef000067ffffffffffffffff168152602001671bc16d674ec8000067ffffffffffffffff168152506020906005620001a9929190620005d2565b506040518060a00160405280600f60ff168152602001602360ff168152602001603260ff168152602001600060ff168152602001600060ff168152506025906005620001f792919062000623565b506000602a60006101000a81548160ff0219169083151502179055503480156200022057600080fd5b506040518060400160405280601881526020017f47616d6561726f756e642047656e65736973204775696c6400000000000000008152506040518060400160405280600381526020017f47454e000000000000000000000000000000000000000000000000000000000081525081818160009080519060200190620002a7929190620004f6565b508060019080519060200190620002c0929190620004f6565b5050506000600660006101000a81548160ff021916908315150217905550620002f36000801b336200039160201b60201c565b620003257f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200039160201b60201c565b620003577f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200039160201b60201c565b620003897f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c2336200039160201b60201c565b5050620006f1565b620003a382826200048360201b60201c565b6200047f5760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000424620004ee60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b82805462000504906200068c565b90600052602060002090601f01602090048101928262000528576000855562000574565b82601f106200054357805160ff191683800117855562000574565b8280016001018555821562000574579182015b828111156200057357825182559160200191906001019062000556565b5b5090506200058391906200066d565b5090565b8260058101928215620005bf579160200282015b82811115620005be578251829061ffff169055916020019190600101906200059b565b5b509050620005ce91906200066d565b5090565b826005810192821562000610579160200282015b828111156200060f578251829067ffffffffffffffff16905591602001919060010190620005e6565b5b5090506200061f91906200066d565b5090565b82600581019282156200065a579160200282015b8281111562000659578251829060ff1690559160200191906001019062000637565b5b5090506200066991906200066d565b5090565b5b80821115620006885760008160009055506001016200066e565b5090565b60006002820490506001821680620006a557607f821691505b60208210811415620006bc57620006bb620006c2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61589d80620007016000396000f3fe60806040526004361061031a5760003560e01c806391f2700a116101ab578063b88d4fde116100f7578063d539139311610095578063e63ab1e91161006f578063e63ab1e914610b80578063e985e9c514610bab578063f7d9757714610be8578063fae0789014610c115761031a565b8063d539139314610b01578063d547741f14610b2c578063d5abeb0114610b555761031a565b8063bfef5f3a116100d1578063bfef5f3a14610a73578063c87b56dd14610a8f578063caa6fea414610acc578063ce6f03bb14610ad65761031a565b8063b88d4fde146109f4578063b8e7185514610a1d578063bc85018514610a485761031a565b8063a0712d6811610164578063a22cb4651161013e578063a22cb4651461096d578063a26759cb14610996578063ab851727146109a0578063b2750771146109c95761031a565b8063a0712d68146108e9578063a217fddf14610905578063a224fb75146109305761031a565b806391f2700a146107eb57806395bed0b71461081457806395d89b411461083d578063977b055b146108685780639b87ab6d146108935780639d1b464a146108be5761031a565b806336568abe1161026a578063611d9ffe1161022357806370a08231116101fd57806370a0823114610718578063755ca5bc146107555780637db438bb1461079257806391d14854146107ae5761031a565b8063611d9ffe146106735780636352211e146106b05780636eaa5c22146106ed5761031a565b806336568abe1461059a5780633ccfd60b146105c357806342842e0e146105cd578063507961bc146105f657806355f804b31461061f5780635c975abb146106485761031a565b80630c76aa1d116102d7578063254dcc0d116102b1578063254dcc0d146104ce5780632945da661461050b5780632f2ff15d1461054857806335b3f609146105715761031a565b80630c76aa1d1461043f57806323b872dd14610468578063248a9ca3146104915761031a565b806301ffc9a71461031f57806302329a291461035c578063040b65831461038557806306fdde03146103ae578063081812fc146103d9578063095ea7b314610416575b600080fd5b34801561032b57600080fd5b5061034660048036038101906103419190614171565b610c28565b6040516103539190614862565b60405180910390f35b34801561036857600080fd5b50610383600480360381019061037e91906140d7565b610c3a565b005b34801561039157600080fd5b506103ac60048036038101906103a791906140d7565b610c8c565b005b3480156103ba57600080fd5b506103c3610cdc565b6040516103d09190614898565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb9190614214565b610d6e565b60405161040d91906147fb565b60405180910390f35b34801561042257600080fd5b5061043d60048036038101906104389190613fc9565b610df3565b005b34801561044b57600080fd5b5061046660048036038101906104619190614214565b610f0b565b005b34801561047457600080fd5b5061048f600480360381019061048a9190613eb3565b610fd1565b005b34801561049d57600080fd5b506104b860048036038101906104b39190614104565b611031565b6040516104c5919061487d565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f09190614214565b611051565b6040516105029190614c5a565b60405180910390f35b34801561051757600080fd5b50610532600480360381019061052d9190614214565b611186565b60405161053f9190614c5a565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a9190614131565b61125c565b005b34801561057d57600080fd5b5061059860048036038101906105939190614009565b611285565b005b3480156105a657600080fd5b506105c160048036038101906105bc9190614131565b61132f565b005b6105cb6113b2565b005b3480156105d957600080fd5b506105f460048036038101906105ef9190613eb3565b611462565b005b34801561060257600080fd5b5061061d600480360381019061061891906140d7565b611482565b005b34801561062b57600080fd5b50610646600480360381019061064191906141cb565b6114d2565b005b34801561065457600080fd5b5061065d611502565b60405161066a9190614862565b60405180910390f35b34801561067f57600080fd5b5061069a60048036038101906106959190614214565b611519565b6040516106a79190614c5a565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d29190614214565b611536565b6040516106e491906147fb565b60405180910390f35b3480156106f957600080fd5b506107026115e8565b60405161070f9190614c5a565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190613e46565b6115ee565b60405161074c9190614c5a565b60405180910390f35b34801561076157600080fd5b5061077c60048036038101906107779190614214565b6116a6565b6040516107899190614c5a565b60405180910390f35b6107ac60048036038101906107a79190614214565b611709565b005b3480156107ba57600080fd5b506107d560048036038101906107d09190614131565b6117ee565b6040516107e29190614862565b60405180910390f35b3480156107f757600080fd5b50610812600480360381019061080d9190613e46565b611859565b005b34801561082057600080fd5b5061083b60048036038101906108369190613e46565b611925565b005b34801561084957600080fd5b506108526119e7565b60405161085f9190614898565b60405180910390f35b34801561087457600080fd5b5061087d611a79565b60405161088a9190614c5a565b60405180910390f35b34801561089f57600080fd5b506108a8611a7f565b6040516108b5919061487d565b60405180910390f35b3480156108ca57600080fd5b506108d3611aa3565b6040516108e09190614c5a565b60405180910390f35b61090360048036038101906108fe9190614214565b611ac9565b005b34801561091157600080fd5b5061091a611c68565b604051610927919061487d565b60405180910390f35b34801561093c57600080fd5b5061095760048036038101906109529190614214565b611c6f565b6040516109649190614c5a565b60405180910390f35b34801561097957600080fd5b50610994600480360381019061098f9190613f89565b611c8c565b005b61099e611ca2565b005b3480156109ac57600080fd5b506109c760048036038101906109c29190614056565b611d33565b005b3480156109d557600080fd5b506109de611e71565b6040516109eb9190614c5a565b60405180910390f35b348015610a0057600080fd5b50610a1b6004803603810190610a169190613f06565b611e8e565b005b348015610a2957600080fd5b50610a32611ef0565b604051610a3f9190614c5a565b60405180910390f35b348015610a5457600080fd5b50610a5d611f01565b604051610a6a9190614c5a565b60405180910390f35b610a8d6004803603810190610a889190614214565b611f12565b005b348015610a9b57600080fd5b50610ab66004803603810190610ab19190614214565b611ff7565b604051610ac39190614898565b60405180910390f35b610ad461209e565b005b348015610ae257600080fd5b50610aeb612127565b604051610af8919061487d565b60405180910390f35b348015610b0d57600080fd5b50610b1661214b565b604051610b23919061487d565b60405180910390f35b348015610b3857600080fd5b50610b536004803603810190610b4e9190614131565b61216f565b005b348015610b6157600080fd5b50610b6a612198565b604051610b779190614c5a565b60405180910390f35b348015610b8c57600080fd5b50610b9561219e565b604051610ba2919061487d565b60405180910390f35b348015610bb757600080fd5b50610bd26004803603810190610bcd9190613e73565b6121c2565b604051610bdf9190614862565b60405180910390f35b348015610bf457600080fd5b50610c0f6004803603810190610c0a9190614241565b612256565b005b348015610c1d57600080fd5b50610c266122ff565b005b6000610c3382612400565b9050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610c6c81610c6761247a565b612482565b8115610c7f57610c7a61251f565b610c88565b610c876125c2565b5b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610cbe81610cb961247a565b612482565b81602a60006101000a81548160ff0219169083151502179055505050565b606060008054610ceb90614f3e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1790614f3e565b8015610d645780601f10610d3957610100808354040283529160200191610d64565b820191906000526020600020905b815481529060010190602001808311610d4757829003601f168201915b5050505050905090565b6000610d7982612664565b610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf90614b5a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dfe82611536565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6690614bba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e8e61247a565b73ffffffffffffffffffffffffffffffffffffffff161480610ebd5750610ebc81610eb761247a565b6121c2565b5b610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef390614a9a565b60405180910390fd5b610f0683836126d0565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610f3d81610f3861247a565b612482565b6005600183610f4c9190614e20565b10610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906148ba565b60405180910390fd5b610f966014612789565b6001821115610fcd576000600190505b82811015610fcb57610fb86014612796565b8080610fc390614fa1565b915050610fa6565b505b5050565b610fe2610fdc61247a565b826127ac565b611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890614bda565b60405180910390fd5b61102c83838361288a565b505050565b600060076000838152602001908152602001600020600101549050919050565b600061105c82611536565b73ffffffffffffffffffffffffffffffffffffffff1661107a61247a565b73ffffffffffffffffffffffffffffffffffffffff16146110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c7906149da565b60405180910390fd5b6000600f54111561117c5760006110e6836116a6565b9050600060256001836110f99190614e20565b6005811061110a576111096150a8565b5b0154905060008111156111795761112084611519565b601660018461112f9190614e20565b600581106111405761113f6150a8565b5b0154606483600f546111529190614dc6565b61115c9190614d95565b6111669190614d95565b6111709190614e20565b92505050611181565b50505b600090505b919050565b600061119182611536565b73ffffffffffffffffffffffffffffffffffffffff166111af61247a565b73ffffffffffffffffffffffffffffffffffffffff1614611205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fc906149da565b60405180910390fd5b6000601154111561125257600061121c6008612af1565b905060008111156112505761123083611c6f565b8160115461123e9190614d95565b6112489190614e20565b915050611257565b505b600090505b919050565b61126582611031565b6112768161127161247a565b612482565b6112808383612aff565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66112b7816112b261247a565b612482565b60005b83839050811015611329576113167f9a38f1d3aefae4c3ee9806a21b672e6297cfba8d2e6df0d0a180db5c116d19838585848181106112fc576112fb6150a8565b5b90506020020160208101906113119190613e46565b612aff565b808061132190614fa1565b9150506112ba565b50505050565b61133761247a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139b90614c3a565b60405180910390fd5b6113ae8282612be0565b5050565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c26113e4816113df61247a565b612482565b60004790506113f161247a565b73ffffffffffffffffffffffffffffffffffffffff166108fc601154601054600f5461141d9190614e20565b846114289190614e20565b6114329190614e20565b9081150290604051600060405180830381858888f1935050505015801561145d573d6000803e3d6000fd5b505050565b61147d83838360405180602001604052806000815250611e8e565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66114b4816114af61247a565b612482565b81602d60006101000a81548160ff0219169083151502179055505050565b6000801b6114e7816114e261247a565b612482565b81600990805190602001906114fd929190613b99565b505050565b6000600660009054906101000a900460ff16905090565b6000602b6000838152602001908152602001600020549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d690614afa565b60405180910390fd5b80915050919050565b600b5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690614ada565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000806005905060005b60058110156116fe57601b81600581106116cd576116cc6150a8565b5b015484116116eb576001816116e29190614d3f565b92505050611704565b80806116f690614fa1565b9150506116b0565b50809150505b919050565b600061171482611186565b905060008111611759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175090614c1a565b60405180910390fd5b61176161247a565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156117a6573d6000803e3d6000fd5b5080602c600084815260200190815260200160002060008282546117ca9190614d3f565b9250508190555080601260008282546117e39190614d3f565b925050819055505050565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b546118666015612af1565b106118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90614bfa565b60405180910390fd5b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66118d8816118d361247a565b612482565b60006001600b54600a546118ec6015612af1565b6118f69190614d3f565b6119009190614e20565b61190a9190614d3f565b90506119166015612796565b6119208382612cc2565b505050565b601b6119316014612af1565b60058110611942576119416150a8565b5b015461194e6008612af1565b1061198e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198590614bfa565b60405180910390fd5b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66119c0816119bb61247a565b612482565b6119ca6008612796565b60006119d66008612af1565b90506119e28382612cc2565b505050565b6060600180546119f690614f3e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2290614f3e565b8015611a6f5780601f10611a4457610100808354040283529160200191611a6f565b820191906000526020600020905b815481529060010190602001808311611a5257829003601f168201915b5050505050905090565b600c5481565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c281565b60006020611ab16014612af1565b60058110611ac257611ac16150a8565b5b0154905090565b601b611ad56014612af1565b60058110611ae657611ae56150a8565b5b0154611af26008612af1565b10611b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2990614bfa565b60405180910390fd5b600c54811115611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e9061495a565b60405180910390fd5b611b8081612ce0565b611bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb690614b7a565b60405180910390fd5b80611bc8611aa3565b611bd29190614dc6565b341015611c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0b90614b1a565b60405180910390fd5b611c1c612d1f565b60005b81811015611c6457611c316008612796565b6000611c3d6008612af1565b9050611c50611c4a61247a565b82612cc2565b508080611c5c90614fa1565b915050611c1f565b5050565b6000801b81565b6000602c6000838152602001908152602001600020549050919050565b611c9e611c9761247a565b8383612da7565b5050565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c2611cd481611ccf61247a565b612482565b60003411611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e9061493a565b60405180910390fd5b3460116000828254611d299190614d3f565b9250508190555050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611d6581611d6061247a565b612482565b6000805b86869050811015611e68576005811015611e5557868682818110611d9057611d8f6150a8565b5b9050602002013560168260058110611dab57611daa6150a8565b5b018190555081878783818110611dc457611dc36150a8565b5b90506020020135611dd59190614d3f565b601b8260058110611de957611de86150a8565b5b0181905550868682818110611e0157611e006150a8565b5b9050602002013582611e139190614d3f565b915084849050811015611e5457848482818110611e3357611e326150a8565b5b9050602002013560258260058110611e4e57611e4d6150a8565b5b01819055505b5b8080611e6090614fa1565b915050611d69565b50505050505050565b60006001611e7f6014612af1565b611e899190614d3f565b905090565b611e9f611e9961247a565b836127ac565b611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed590614bda565b60405180910390fd5b611eea84848484612f14565b50505050565b6000611efc6008612af1565b905090565b6000611f0d6015612af1565b905090565b6000611f1d82611051565b905060008111611f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5990614c1a565b60405180910390fd5b611f6a61247a565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611faf573d6000803e3d6000fd5b5080602b60008481526020019081526020016000206000828254611fd39190614d3f565b925050819055508060106000828254611fec9190614d3f565b925050819055505050565b606061200282612664565b612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203890614b9a565b60405180910390fd5b600061204b612f70565b9050600081511161206b5760405180602001604052806000815250612096565b8061207584613002565b60405160200161208692919061479d565b6040516020818303038152906040525b915050919050565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c26120d0816120cb61247a565b612482565b60004790506120dd61247a565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612122573d6000803e3d6000fd5b505050565b7f9a38f1d3aefae4c3ee9806a21b672e6297cfba8d2e6df0d0a180db5c116d198381565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61217882611031565b6121898161218461247a565b612482565b6121938383612be0565b505050565b600a5481565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66122888161228361247a565b612482565b60056001846122979190614e20565b106122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ce90614a3a565b60405180910390fd5b8160206122e46014612af1565b600581106122f5576122f46150a8565b5b0181905550505050565b601b61230b6014612af1565b6005811061231c5761231b6150a8565b5b01546123286008612af1565b1015612369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612360906148fa565b60405180910390fd5b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661239b8161239661247a565b612482565b600160056123a99190614e20565b6123b36014612af1565b106123f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ea906148ba565b60405180910390fd5b6123fd6014612796565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612473575061247282613163565b5b9050919050565b600033905090565b61248c82826117ee565b61251b576124b18173ffffffffffffffffffffffffffffffffffffffff166014613245565b6124bf8360001c6020613245565b6040516020016124d09291906147c1565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125129190614898565b60405180910390fd5b5050565b612527611502565b15612567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255e90614a7a565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125ab61247a565b6040516125b891906147fb565b60405180910390a1565b6125ca611502565b612609576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126009061491a565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61264d61247a565b60405161265a91906147fb565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661274383611536565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000816000018190555050565b6001816000016000828254019250508190555050565b60006127b782612664565b6127f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ed90614a5a565b60405180910390fd5b600061280183611536565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061287057508373ffffffffffffffffffffffffffffffffffffffff1661285884610d6e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612881575061288081856121c2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128aa82611536565b73ffffffffffffffffffffffffffffffffffffffff1614612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f79061499a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612970576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612967906149fa565b60405180910390fd5b61297b838383613481565b6129866000826126d0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129d69190614e20565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a2d9190614d3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aec838383613548565b505050565b600081600001549050919050565b612b0982826117ee565b612bdc5760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612b8161247a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612bea82826117ee565b15612cbe5760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612c6361247a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612cdc8282604051806020016040528060008152506135c4565b5050565b6000601b612cee6014612af1565b60058110612cff57612cfe6150a8565b5b015482612d0c6008612af1565b612d169190614d3f565b11159050919050565b602a60009054906101000a900460ff1615612da557612d657f9a38f1d3aefae4c3ee9806a21b672e6297cfba8d2e6df0d0a180db5c116d1983612d6061247a565b6117ee565b612da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9b90614aba565b60405180910390fd5b5b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0d90614a1a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f079190614862565b60405180910390a3505050565b612f1f84848461288a565b612f2b8484848461361f565b612f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f619061497a565b60405180910390fd5b50505050565b606060098054612f7f90614f3e565b80601f0160208091040260200160405190810160405280929190818152602001828054612fab90614f3e565b8015612ff85780601f10612fcd57610100808354040283529160200191612ff8565b820191906000526020600020905b815481529060010190602001808311612fdb57829003601f168201915b5050505050905090565b6060600082141561304a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061315e565b600082905060005b6000821461307c57808061306590614fa1565b915050600a826130759190614d95565b9150613052565b60008167ffffffffffffffff811115613098576130976150d7565b5b6040519080825280601f01601f1916602001820160405280156130ca5781602001600182028036833780820191505090505b5090505b60008514613157576001826130e39190614e20565b9150600a856130f29190614fea565b60306130fe9190614d3f565b60f81b818381518110613114576131136150a8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131509190614d95565b94506130ce565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061322e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061323e575061323d826137b6565b5b9050919050565b6060600060028360026132589190614dc6565b6132629190614d3f565b67ffffffffffffffff81111561327b5761327a6150d7565b5b6040519080825280601f01601f1916602001820160405280156132ad5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132e5576132e46150a8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613349576133486150a8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026133899190614dc6565b6133939190614d3f565b90505b6001811115613433577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106133d5576133d46150a8565b5b1a60f81b8282815181106133ec576133eb6150a8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061342c90614f14565b9050613396565b5060008414613477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346e906148da565b60405180910390fd5b8091505092915050565b61348c838383613820565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156134f65750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561354357613503613878565b613542576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613539906148fa565b60405180910390fd5b5b505050565b6135538383836138c5565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135bf57613591816138ca565b156135a7576135a66135a1611aa3565b613912565b5b6135b081613947565b156135be576135bd613972565b5b5b505050565b6135ce8383613997565b6135db600084848461361f565b61361a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136119061497a565b60405180910390fd5b505050565b60006136408473ffffffffffffffffffffffffffffffffffffffff16613b71565b156137a9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366961247a565b8786866040518563ffffffff1660e01b815260040161368b9493929190614816565b602060405180830381600087803b1580156136a557600080fd5b505af19250505080156136d657506040513d601f19601f820116820180604052508101906136d3919061419e565b60015b613759573d8060008114613706576040519150601f19603f3d011682016040523d82523d6000602084013e61370b565b606091505b50600081511415613751576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137489061497a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137ae565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613828611502565b15613868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385f90614a7a565b60405180910390fd5b613873838383613b94565b505050565b6000602d60009054906101000a900460ff16806138c05750601b600160056138a09190614e20565b600581106138b1576138b06150a8565b5b01546138bd6008612af1565b10155b905090565b505050565b60006001600b54600a546138de9190614e20565b6138e89190614d3f565b8210801561390b5750601b600060058110613906576139056150a8565b5b015482115b9050919050565b6064600d54826139229190614dc6565b61392c9190614d95565b600e600082825461393d9190614d3f565b9250508190555050565b6000601b6139556014612af1565b60058110613966576139656150a8565b5b01548210159050919050565b600e54600f60008282546139869190614d3f565b925050819055506000600e81905550565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139fe90614b3a565b60405180910390fd5b613a1081612664565b15613a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a47906149ba565b60405180910390fd5b613a5c60008383613481565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613aac9190614d3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613b6d60008383613548565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b828054613ba590614f3e565b90600052602060002090601f016020900481019282613bc75760008555613c0e565b82601f10613be057805160ff1916838001178555613c0e565b82800160010185558215613c0e579182015b82811115613c0d578251825591602001919060010190613bf2565b5b509050613c1b9190613c1f565b5090565b5b80821115613c38576000816000905550600101613c20565b5090565b6000613c4f613c4a84614c9a565b614c75565b905082815260208101848484011115613c6b57613c6a615115565b5b613c76848285614ed2565b509392505050565b6000613c91613c8c84614ccb565b614c75565b905082815260208101848484011115613cad57613cac615115565b5b613cb8848285614ed2565b509392505050565b600081359050613ccf816157f4565b92915050565b60008083601f840112613ceb57613cea61510b565b5b8235905067ffffffffffffffff811115613d0857613d07615106565b5b602083019150836020820283011115613d2457613d23615110565b5b9250929050565b60008083601f840112613d4157613d4061510b565b5b8235905067ffffffffffffffff811115613d5e57613d5d615106565b5b602083019150836020820283011115613d7a57613d79615110565b5b9250929050565b600081359050613d908161580b565b92915050565b600081359050613da581615822565b92915050565b600081359050613dba81615839565b92915050565b600081519050613dcf81615839565b92915050565b600082601f830112613dea57613de961510b565b5b8135613dfa848260208601613c3c565b91505092915050565b600082601f830112613e1857613e1761510b565b5b8135613e28848260208601613c7e565b91505092915050565b600081359050613e4081615850565b92915050565b600060208284031215613e5c57613e5b61511f565b5b6000613e6a84828501613cc0565b91505092915050565b60008060408385031215613e8a57613e8961511f565b5b6000613e9885828601613cc0565b9250506020613ea985828601613cc0565b9150509250929050565b600080600060608486031215613ecc57613ecb61511f565b5b6000613eda86828701613cc0565b9350506020613eeb86828701613cc0565b9250506040613efc86828701613e31565b9150509250925092565b60008060008060808587031215613f2057613f1f61511f565b5b6000613f2e87828801613cc0565b9450506020613f3f87828801613cc0565b9350506040613f5087828801613e31565b925050606085013567ffffffffffffffff811115613f7157613f7061511a565b5b613f7d87828801613dd5565b91505092959194509250565b60008060408385031215613fa057613f9f61511f565b5b6000613fae85828601613cc0565b9250506020613fbf85828601613d81565b9150509250929050565b60008060408385031215613fe057613fdf61511f565b5b6000613fee85828601613cc0565b9250506020613fff85828601613e31565b9150509250929050565b600080602083850312156140205761401f61511f565b5b600083013567ffffffffffffffff81111561403e5761403d61511a565b5b61404a85828601613cd5565b92509250509250929050565b600080600080604085870312156140705761406f61511f565b5b600085013567ffffffffffffffff81111561408e5761408d61511a565b5b61409a87828801613d2b565b9450945050602085013567ffffffffffffffff8111156140bd576140bc61511a565b5b6140c987828801613d2b565b925092505092959194509250565b6000602082840312156140ed576140ec61511f565b5b60006140fb84828501613d81565b91505092915050565b60006020828403121561411a5761411961511f565b5b600061412884828501613d96565b91505092915050565b600080604083850312156141485761414761511f565b5b600061415685828601613d96565b925050602061416785828601613cc0565b9150509250929050565b6000602082840312156141875761418661511f565b5b600061419584828501613dab565b91505092915050565b6000602082840312156141b4576141b361511f565b5b60006141c284828501613dc0565b91505092915050565b6000602082840312156141e1576141e061511f565b5b600082013567ffffffffffffffff8111156141ff576141fe61511a565b5b61420b84828501613e03565b91505092915050565b60006020828403121561422a5761422961511f565b5b600061423884828501613e31565b91505092915050565b600080604083850312156142585761425761511f565b5b600061426685828601613e31565b925050602061427785828601613e31565b9150509250929050565b61428a81614e54565b82525050565b61429981614e66565b82525050565b6142a881614e72565b82525050565b60006142b982614cfc565b6142c38185614d12565b93506142d3818560208601614ee1565b6142dc81615124565b840191505092915050565b60006142f282614d07565b6142fc8185614d23565b935061430c818560208601614ee1565b61431581615124565b840191505092915050565b600061432b82614d07565b6143358185614d34565b9350614345818560208601614ee1565b80840191505092915050565b600061435e600b83614d23565b915061436982615135565b602082019050919050565b6000614381602083614d23565b915061438c8261515e565b602082019050919050565b60006143a4600c83614d23565b91506143af82615187565b602082019050919050565b60006143c7601483614d23565b91506143d2826151b0565b602082019050919050565b60006143ea600883614d23565b91506143f5826151d9565b602082019050919050565b600061440d601983614d23565b915061441882615202565b602082019050919050565b6000614430603283614d23565b915061443b8261522b565b604082019050919050565b6000614453602583614d23565b915061445e8261527a565b604082019050919050565b6000614476601c83614d23565b9150614481826152c9565b602082019050919050565b6000614499600f83614d23565b91506144a4826152f2565b602082019050919050565b60006144bc602483614d23565b91506144c78261531b565b604082019050919050565b60006144df601983614d23565b91506144ea8261536a565b602082019050919050565b6000614502600a83614d23565b915061450d82615393565b602082019050919050565b6000614525602c83614d23565b9150614530826153bc565b604082019050919050565b6000614548601083614d23565b91506145538261540b565b602082019050919050565b600061456b603883614d23565b915061457682615434565b604082019050919050565b600061458e600f83614d23565b915061459982615483565b602082019050919050565b60006145b1602a83614d23565b91506145bc826154ac565b604082019050919050565b60006145d4602983614d23565b91506145df826154fb565b604082019050919050565b60006145f7600d83614d23565b91506146028261554a565b602082019050919050565b600061461a602083614d23565b915061462582615573565b602082019050919050565b600061463d602c83614d23565b91506146488261559c565b604082019050919050565b6000614660601283614d23565b915061466b826155eb565b602082019050919050565b6000614683602f83614d23565b915061468e82615614565b604082019050919050565b60006146a6602183614d23565b91506146b182615663565b604082019050919050565b60006146c9603183614d23565b91506146d4826156b2565b604082019050919050565b60006146ec600883614d23565b91506146f782615701565b602082019050919050565b600061470f601783614d34565b915061471a8261572a565b601782019050919050565b6000614732600883614d23565b915061473d82615753565b602082019050919050565b6000614755601183614d34565b91506147608261577c565b601182019050919050565b6000614778602f83614d23565b9150614783826157a5565b604082019050919050565b61479781614ec8565b82525050565b60006147a98285614320565b91506147b58284614320565b91508190509392505050565b60006147cc82614702565b91506147d88285614320565b91506147e382614748565b91506147ef8284614320565b91508190509392505050565b60006020820190506148106000830184614281565b92915050565b600060808201905061482b6000830187614281565b6148386020830186614281565b614845604083018561478e565b818103606083015261485781846142ae565b905095945050505050565b60006020820190506148776000830184614290565b92915050565b6000602082019050614892600083018461429f565b92915050565b600060208201905081810360008301526148b281846142e7565b905092915050565b600060208201905081810360008301526148d381614351565b9050919050565b600060208201905081810360008301526148f381614374565b9050919050565b6000602082019050818103600083015261491381614397565b9050919050565b60006020820190508181036000830152614933816143ba565b9050919050565b60006020820190508181036000830152614953816143dd565b9050919050565b6000602082019050818103600083015261497381614400565b9050919050565b6000602082019050818103600083015261499381614423565b9050919050565b600060208201905081810360008301526149b381614446565b9050919050565b600060208201905081810360008301526149d381614469565b9050919050565b600060208201905081810360008301526149f38161448c565b9050919050565b60006020820190508181036000830152614a13816144af565b9050919050565b60006020820190508181036000830152614a33816144d2565b9050919050565b60006020820190508181036000830152614a53816144f5565b9050919050565b60006020820190508181036000830152614a7381614518565b9050919050565b60006020820190508181036000830152614a938161453b565b9050919050565b60006020820190508181036000830152614ab38161455e565b9050919050565b60006020820190508181036000830152614ad381614581565b9050919050565b60006020820190508181036000830152614af3816145a4565b9050919050565b60006020820190508181036000830152614b13816145c7565b9050919050565b60006020820190508181036000830152614b33816145ea565b9050919050565b60006020820190508181036000830152614b538161460d565b9050919050565b60006020820190508181036000830152614b7381614630565b9050919050565b60006020820190508181036000830152614b9381614653565b9050919050565b60006020820190508181036000830152614bb381614676565b9050919050565b60006020820190508181036000830152614bd381614699565b9050919050565b60006020820190508181036000830152614bf3816146bc565b9050919050565b60006020820190508181036000830152614c13816146df565b9050919050565b60006020820190508181036000830152614c3381614725565b9050919050565b60006020820190508181036000830152614c538161476b565b9050919050565b6000602082019050614c6f600083018461478e565b92915050565b6000614c7f614c90565b9050614c8b8282614f70565b919050565b6000604051905090565b600067ffffffffffffffff821115614cb557614cb46150d7565b5b614cbe82615124565b9050602081019050919050565b600067ffffffffffffffff821115614ce657614ce56150d7565b5b614cef82615124565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d4a82614ec8565b9150614d5583614ec8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d8a57614d8961501b565b5b828201905092915050565b6000614da082614ec8565b9150614dab83614ec8565b925082614dbb57614dba61504a565b5b828204905092915050565b6000614dd182614ec8565b9150614ddc83614ec8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e1557614e1461501b565b5b828202905092915050565b6000614e2b82614ec8565b9150614e3683614ec8565b925082821015614e4957614e4861501b565b5b828203905092915050565b6000614e5f82614ea8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614eff578082015181840152602081019050614ee4565b83811115614f0e576000848401525b50505050565b6000614f1f82614ec8565b91506000821415614f3357614f3261501b565b5b600182039050919050565b60006002820490506001821680614f5657607f821691505b60208210811415614f6a57614f69615079565b5b50919050565b614f7982615124565b810181811067ffffffffffffffff82111715614f9857614f976150d7565b5b80604052505050565b6000614fac82614ec8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fdf57614fde61501b565b5b600182019050919050565b6000614ff582614ec8565b915061500083614ec8565b9250826150105761500f61504a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e6f2065646974696f6e73000000000000000000000000000000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4e6f7420736f6c64206f75740000000000000000000000000000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4e6f206574686572000000000000000000000000000000000000000000000000600082015250565b7f457863656564206d6178206e66747320617420612074696d6500000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f7420746f6b656e206f6e7765720000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f2065646974696f6e00000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f56616c756520746f6f206c6f7700000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f457863656564206d6178206f66206e6674730000000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f4e6f2066756e6473000000000000000000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6157fd81614e54565b811461580857600080fd5b50565b61581481614e66565b811461581f57600080fd5b50565b61582b81614e72565b811461583657600080fd5b50565b61584281614e7c565b811461584d57600080fd5b50565b61585981614ec8565b811461586457600080fd5b5056fea2646970667358221220b86e5f7c5ee91201e7aa97d5b5ff96f185ab7038a488e050d213c418670ea43464736f6c63430008070033697066733a2f2f516d574b567761755354566441734134734c4d4133634270323734797034654d3672636572453158596e35557a6a2f
Deployed Bytecode
0x60806040526004361061031a5760003560e01c806391f2700a116101ab578063b88d4fde116100f7578063d539139311610095578063e63ab1e91161006f578063e63ab1e914610b80578063e985e9c514610bab578063f7d9757714610be8578063fae0789014610c115761031a565b8063d539139314610b01578063d547741f14610b2c578063d5abeb0114610b555761031a565b8063bfef5f3a116100d1578063bfef5f3a14610a73578063c87b56dd14610a8f578063caa6fea414610acc578063ce6f03bb14610ad65761031a565b8063b88d4fde146109f4578063b8e7185514610a1d578063bc85018514610a485761031a565b8063a0712d6811610164578063a22cb4651161013e578063a22cb4651461096d578063a26759cb14610996578063ab851727146109a0578063b2750771146109c95761031a565b8063a0712d68146108e9578063a217fddf14610905578063a224fb75146109305761031a565b806391f2700a146107eb57806395bed0b71461081457806395d89b411461083d578063977b055b146108685780639b87ab6d146108935780639d1b464a146108be5761031a565b806336568abe1161026a578063611d9ffe1161022357806370a08231116101fd57806370a0823114610718578063755ca5bc146107555780637db438bb1461079257806391d14854146107ae5761031a565b8063611d9ffe146106735780636352211e146106b05780636eaa5c22146106ed5761031a565b806336568abe1461059a5780633ccfd60b146105c357806342842e0e146105cd578063507961bc146105f657806355f804b31461061f5780635c975abb146106485761031a565b80630c76aa1d116102d7578063254dcc0d116102b1578063254dcc0d146104ce5780632945da661461050b5780632f2ff15d1461054857806335b3f609146105715761031a565b80630c76aa1d1461043f57806323b872dd14610468578063248a9ca3146104915761031a565b806301ffc9a71461031f57806302329a291461035c578063040b65831461038557806306fdde03146103ae578063081812fc146103d9578063095ea7b314610416575b600080fd5b34801561032b57600080fd5b5061034660048036038101906103419190614171565b610c28565b6040516103539190614862565b60405180910390f35b34801561036857600080fd5b50610383600480360381019061037e91906140d7565b610c3a565b005b34801561039157600080fd5b506103ac60048036038101906103a791906140d7565b610c8c565b005b3480156103ba57600080fd5b506103c3610cdc565b6040516103d09190614898565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb9190614214565b610d6e565b60405161040d91906147fb565b60405180910390f35b34801561042257600080fd5b5061043d60048036038101906104389190613fc9565b610df3565b005b34801561044b57600080fd5b5061046660048036038101906104619190614214565b610f0b565b005b34801561047457600080fd5b5061048f600480360381019061048a9190613eb3565b610fd1565b005b34801561049d57600080fd5b506104b860048036038101906104b39190614104565b611031565b6040516104c5919061487d565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f09190614214565b611051565b6040516105029190614c5a565b60405180910390f35b34801561051757600080fd5b50610532600480360381019061052d9190614214565b611186565b60405161053f9190614c5a565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a9190614131565b61125c565b005b34801561057d57600080fd5b5061059860048036038101906105939190614009565b611285565b005b3480156105a657600080fd5b506105c160048036038101906105bc9190614131565b61132f565b005b6105cb6113b2565b005b3480156105d957600080fd5b506105f460048036038101906105ef9190613eb3565b611462565b005b34801561060257600080fd5b5061061d600480360381019061061891906140d7565b611482565b005b34801561062b57600080fd5b50610646600480360381019061064191906141cb565b6114d2565b005b34801561065457600080fd5b5061065d611502565b60405161066a9190614862565b60405180910390f35b34801561067f57600080fd5b5061069a60048036038101906106959190614214565b611519565b6040516106a79190614c5a565b60405180910390f35b3480156106bc57600080fd5b506106d760048036038101906106d29190614214565b611536565b6040516106e491906147fb565b60405180910390f35b3480156106f957600080fd5b506107026115e8565b60405161070f9190614c5a565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190613e46565b6115ee565b60405161074c9190614c5a565b60405180910390f35b34801561076157600080fd5b5061077c60048036038101906107779190614214565b6116a6565b6040516107899190614c5a565b60405180910390f35b6107ac60048036038101906107a79190614214565b611709565b005b3480156107ba57600080fd5b506107d560048036038101906107d09190614131565b6117ee565b6040516107e29190614862565b60405180910390f35b3480156107f757600080fd5b50610812600480360381019061080d9190613e46565b611859565b005b34801561082057600080fd5b5061083b60048036038101906108369190613e46565b611925565b005b34801561084957600080fd5b506108526119e7565b60405161085f9190614898565b60405180910390f35b34801561087457600080fd5b5061087d611a79565b60405161088a9190614c5a565b60405180910390f35b34801561089f57600080fd5b506108a8611a7f565b6040516108b5919061487d565b60405180910390f35b3480156108ca57600080fd5b506108d3611aa3565b6040516108e09190614c5a565b60405180910390f35b61090360048036038101906108fe9190614214565b611ac9565b005b34801561091157600080fd5b5061091a611c68565b604051610927919061487d565b60405180910390f35b34801561093c57600080fd5b5061095760048036038101906109529190614214565b611c6f565b6040516109649190614c5a565b60405180910390f35b34801561097957600080fd5b50610994600480360381019061098f9190613f89565b611c8c565b005b61099e611ca2565b005b3480156109ac57600080fd5b506109c760048036038101906109c29190614056565b611d33565b005b3480156109d557600080fd5b506109de611e71565b6040516109eb9190614c5a565b60405180910390f35b348015610a0057600080fd5b50610a1b6004803603810190610a169190613f06565b611e8e565b005b348015610a2957600080fd5b50610a32611ef0565b604051610a3f9190614c5a565b60405180910390f35b348015610a5457600080fd5b50610a5d611f01565b604051610a6a9190614c5a565b60405180910390f35b610a8d6004803603810190610a889190614214565b611f12565b005b348015610a9b57600080fd5b50610ab66004803603810190610ab19190614214565b611ff7565b604051610ac39190614898565b60405180910390f35b610ad461209e565b005b348015610ae257600080fd5b50610aeb612127565b604051610af8919061487d565b60405180910390f35b348015610b0d57600080fd5b50610b1661214b565b604051610b23919061487d565b60405180910390f35b348015610b3857600080fd5b50610b536004803603810190610b4e9190614131565b61216f565b005b348015610b6157600080fd5b50610b6a612198565b604051610b779190614c5a565b60405180910390f35b348015610b8c57600080fd5b50610b9561219e565b604051610ba2919061487d565b60405180910390f35b348015610bb757600080fd5b50610bd26004803603810190610bcd9190613e73565b6121c2565b604051610bdf9190614862565b60405180910390f35b348015610bf457600080fd5b50610c0f6004803603810190610c0a9190614241565b612256565b005b348015610c1d57600080fd5b50610c266122ff565b005b6000610c3382612400565b9050919050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610c6c81610c6761247a565b612482565b8115610c7f57610c7a61251f565b610c88565b610c876125c2565b5b5050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610cbe81610cb961247a565b612482565b81602a60006101000a81548160ff0219169083151502179055505050565b606060008054610ceb90614f3e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1790614f3e565b8015610d645780601f10610d3957610100808354040283529160200191610d64565b820191906000526020600020905b815481529060010190602001808311610d4757829003601f168201915b5050505050905090565b6000610d7982612664565b610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf90614b5a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610dfe82611536565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6690614bba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e8e61247a565b73ffffffffffffffffffffffffffffffffffffffff161480610ebd5750610ebc81610eb761247a565b6121c2565b5b610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef390614a9a565b60405180910390fd5b610f0683836126d0565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610f3d81610f3861247a565b612482565b6005600183610f4c9190614e20565b10610f8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f83906148ba565b60405180910390fd5b610f966014612789565b6001821115610fcd576000600190505b82811015610fcb57610fb86014612796565b8080610fc390614fa1565b915050610fa6565b505b5050565b610fe2610fdc61247a565b826127ac565b611021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101890614bda565b60405180910390fd5b61102c83838361288a565b505050565b600060076000838152602001908152602001600020600101549050919050565b600061105c82611536565b73ffffffffffffffffffffffffffffffffffffffff1661107a61247a565b73ffffffffffffffffffffffffffffffffffffffff16146110d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c7906149da565b60405180910390fd5b6000600f54111561117c5760006110e6836116a6565b9050600060256001836110f99190614e20565b6005811061110a576111096150a8565b5b0154905060008111156111795761112084611519565b601660018461112f9190614e20565b600581106111405761113f6150a8565b5b0154606483600f546111529190614dc6565b61115c9190614d95565b6111669190614d95565b6111709190614e20565b92505050611181565b50505b600090505b919050565b600061119182611536565b73ffffffffffffffffffffffffffffffffffffffff166111af61247a565b73ffffffffffffffffffffffffffffffffffffffff1614611205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fc906149da565b60405180910390fd5b6000601154111561125257600061121c6008612af1565b905060008111156112505761123083611c6f565b8160115461123e9190614d95565b6112489190614e20565b915050611257565b505b600090505b919050565b61126582611031565b6112768161127161247a565b612482565b6112808383612aff565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66112b7816112b261247a565b612482565b60005b83839050811015611329576113167f9a38f1d3aefae4c3ee9806a21b672e6297cfba8d2e6df0d0a180db5c116d19838585848181106112fc576112fb6150a8565b5b90506020020160208101906113119190613e46565b612aff565b808061132190614fa1565b9150506112ba565b50505050565b61133761247a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139b90614c3a565b60405180910390fd5b6113ae8282612be0565b5050565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c26113e4816113df61247a565b612482565b60004790506113f161247a565b73ffffffffffffffffffffffffffffffffffffffff166108fc601154601054600f5461141d9190614e20565b846114289190614e20565b6114329190614e20565b9081150290604051600060405180830381858888f1935050505015801561145d573d6000803e3d6000fd5b505050565b61147d83838360405180602001604052806000815250611e8e565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66114b4816114af61247a565b612482565b81602d60006101000a81548160ff0219169083151502179055505050565b6000801b6114e7816114e261247a565b612482565b81600990805190602001906114fd929190613b99565b505050565b6000600660009054906101000a900460ff16905090565b6000602b6000838152602001908152602001600020549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d690614afa565b60405180910390fd5b80915050919050565b600b5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690614ada565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000806005905060005b60058110156116fe57601b81600581106116cd576116cc6150a8565b5b015484116116eb576001816116e29190614d3f565b92505050611704565b80806116f690614fa1565b9150506116b0565b50809150505b919050565b600061171482611186565b905060008111611759576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175090614c1a565b60405180910390fd5b61176161247a565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156117a6573d6000803e3d6000fd5b5080602c600084815260200190815260200160002060008282546117ca9190614d3f565b9250508190555080601260008282546117e39190614d3f565b925050819055505050565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b546118666015612af1565b106118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90614bfa565b60405180910390fd5b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66118d8816118d361247a565b612482565b60006001600b54600a546118ec6015612af1565b6118f69190614d3f565b6119009190614e20565b61190a9190614d3f565b90506119166015612796565b6119208382612cc2565b505050565b601b6119316014612af1565b60058110611942576119416150a8565b5b015461194e6008612af1565b1061198e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198590614bfa565b60405180910390fd5b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66119c0816119bb61247a565b612482565b6119ca6008612796565b60006119d66008612af1565b90506119e28382612cc2565b505050565b6060600180546119f690614f3e565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2290614f3e565b8015611a6f5780601f10611a4457610100808354040283529160200191611a6f565b820191906000526020600020905b815481529060010190602001808311611a5257829003601f168201915b5050505050905090565b600c5481565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c281565b60006020611ab16014612af1565b60058110611ac257611ac16150a8565b5b0154905090565b601b611ad56014612af1565b60058110611ae657611ae56150a8565b5b0154611af26008612af1565b10611b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2990614bfa565b60405180910390fd5b600c54811115611b77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6e9061495a565b60405180910390fd5b611b8081612ce0565b611bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb690614b7a565b60405180910390fd5b80611bc8611aa3565b611bd29190614dc6565b341015611c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0b90614b1a565b60405180910390fd5b611c1c612d1f565b60005b81811015611c6457611c316008612796565b6000611c3d6008612af1565b9050611c50611c4a61247a565b82612cc2565b508080611c5c90614fa1565b915050611c1f565b5050565b6000801b81565b6000602c6000838152602001908152602001600020549050919050565b611c9e611c9761247a565b8383612da7565b5050565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c2611cd481611ccf61247a565b612482565b60003411611d17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0e9061493a565b60405180910390fd5b3460116000828254611d299190614d3f565b9250508190555050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611d6581611d6061247a565b612482565b6000805b86869050811015611e68576005811015611e5557868682818110611d9057611d8f6150a8565b5b9050602002013560168260058110611dab57611daa6150a8565b5b018190555081878783818110611dc457611dc36150a8565b5b90506020020135611dd59190614d3f565b601b8260058110611de957611de86150a8565b5b0181905550868682818110611e0157611e006150a8565b5b9050602002013582611e139190614d3f565b915084849050811015611e5457848482818110611e3357611e326150a8565b5b9050602002013560258260058110611e4e57611e4d6150a8565b5b01819055505b5b8080611e6090614fa1565b915050611d69565b50505050505050565b60006001611e7f6014612af1565b611e899190614d3f565b905090565b611e9f611e9961247a565b836127ac565b611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed590614bda565b60405180910390fd5b611eea84848484612f14565b50505050565b6000611efc6008612af1565b905090565b6000611f0d6015612af1565b905090565b6000611f1d82611051565b905060008111611f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5990614c1a565b60405180910390fd5b611f6a61247a565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611faf573d6000803e3d6000fd5b5080602b60008481526020019081526020016000206000828254611fd39190614d3f565b925050819055508060106000828254611fec9190614d3f565b925050819055505050565b606061200282612664565b612041576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203890614b9a565b60405180910390fd5b600061204b612f70565b9050600081511161206b5760405180602001604052806000815250612096565b8061207584613002565b60405160200161208692919061479d565b6040516020818303038152906040525b915050919050565b7f7840a44bf6bbc1b45786ad46ece0694a9179b33e609d4ac4a51e6466e1f664c26120d0816120cb61247a565b612482565b60004790506120dd61247a565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612122573d6000803e3d6000fd5b505050565b7f9a38f1d3aefae4c3ee9806a21b672e6297cfba8d2e6df0d0a180db5c116d198381565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61217882611031565b6121898161218461247a565b612482565b6121938383612be0565b505050565b600a5481565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66122888161228361247a565b612482565b60056001846122979190614e20565b106122d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ce90614a3a565b60405180910390fd5b8160206122e46014612af1565b600581106122f5576122f46150a8565b5b0181905550505050565b601b61230b6014612af1565b6005811061231c5761231b6150a8565b5b01546123286008612af1565b1015612369576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612360906148fa565b60405180910390fd5b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661239b8161239661247a565b612482565b600160056123a99190614e20565b6123b36014612af1565b106123f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ea906148ba565b60405180910390fd5b6123fd6014612796565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612473575061247282613163565b5b9050919050565b600033905090565b61248c82826117ee565b61251b576124b18173ffffffffffffffffffffffffffffffffffffffff166014613245565b6124bf8360001c6020613245565b6040516020016124d09291906147c1565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125129190614898565b60405180910390fd5b5050565b612527611502565b15612567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255e90614a7a565b60405180910390fd5b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125ab61247a565b6040516125b891906147fb565b60405180910390a1565b6125ca611502565b612609576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126009061491a565b60405180910390fd5b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61264d61247a565b60405161265a91906147fb565b60405180910390a1565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661274383611536565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000816000018190555050565b6001816000016000828254019250508190555050565b60006127b782612664565b6127f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ed90614a5a565b60405180910390fd5b600061280183611536565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061287057508373ffffffffffffffffffffffffffffffffffffffff1661285884610d6e565b73ffffffffffffffffffffffffffffffffffffffff16145b80612881575061288081856121c2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128aa82611536565b73ffffffffffffffffffffffffffffffffffffffff1614612900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f79061499a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612970576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612967906149fa565b60405180910390fd5b61297b838383613481565b6129866000826126d0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129d69190614e20565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a2d9190614d3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aec838383613548565b505050565b600081600001549050919050565b612b0982826117ee565b612bdc5760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612b8161247a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b612bea82826117ee565b15612cbe5760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612c6361247a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b612cdc8282604051806020016040528060008152506135c4565b5050565b6000601b612cee6014612af1565b60058110612cff57612cfe6150a8565b5b015482612d0c6008612af1565b612d169190614d3f565b11159050919050565b602a60009054906101000a900460ff1615612da557612d657f9a38f1d3aefae4c3ee9806a21b672e6297cfba8d2e6df0d0a180db5c116d1983612d6061247a565b6117ee565b612da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9b90614aba565b60405180910390fd5b5b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e0d90614a1a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612f079190614862565b60405180910390a3505050565b612f1f84848461288a565b612f2b8484848461361f565b612f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f619061497a565b60405180910390fd5b50505050565b606060098054612f7f90614f3e565b80601f0160208091040260200160405190810160405280929190818152602001828054612fab90614f3e565b8015612ff85780601f10612fcd57610100808354040283529160200191612ff8565b820191906000526020600020905b815481529060010190602001808311612fdb57829003601f168201915b5050505050905090565b6060600082141561304a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061315e565b600082905060005b6000821461307c57808061306590614fa1565b915050600a826130759190614d95565b9150613052565b60008167ffffffffffffffff811115613098576130976150d7565b5b6040519080825280601f01601f1916602001820160405280156130ca5781602001600182028036833780820191505090505b5090505b60008514613157576001826130e39190614e20565b9150600a856130f29190614fea565b60306130fe9190614d3f565b60f81b818381518110613114576131136150a8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131509190614d95565b94506130ce565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061322e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061323e575061323d826137b6565b5b9050919050565b6060600060028360026132589190614dc6565b6132629190614d3f565b67ffffffffffffffff81111561327b5761327a6150d7565b5b6040519080825280601f01601f1916602001820160405280156132ad5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106132e5576132e46150a8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110613349576133486150a8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026133899190614dc6565b6133939190614d3f565b90505b6001811115613433577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106133d5576133d46150a8565b5b1a60f81b8282815181106133ec576133eb6150a8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061342c90614f14565b9050613396565b5060008414613477576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346e906148da565b60405180910390fd5b8091505092915050565b61348c838383613820565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141580156134f65750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b1561354357613503613878565b613542576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613539906148fa565b60405180910390fd5b5b505050565b6135538383836138c5565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156135bf57613591816138ca565b156135a7576135a66135a1611aa3565b613912565b5b6135b081613947565b156135be576135bd613972565b5b5b505050565b6135ce8383613997565b6135db600084848461361f565b61361a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136119061497a565b60405180910390fd5b505050565b60006136408473ffffffffffffffffffffffffffffffffffffffff16613b71565b156137a9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261366961247a565b8786866040518563ffffffff1660e01b815260040161368b9493929190614816565b602060405180830381600087803b1580156136a557600080fd5b505af19250505080156136d657506040513d601f19601f820116820180604052508101906136d3919061419e565b60015b613759573d8060008114613706576040519150601f19603f3d011682016040523d82523d6000602084013e61370b565b606091505b50600081511415613751576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137489061497a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506137ae565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b613828611502565b15613868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161385f90614a7a565b60405180910390fd5b613873838383613b94565b505050565b6000602d60009054906101000a900460ff16806138c05750601b600160056138a09190614e20565b600581106138b1576138b06150a8565b5b01546138bd6008612af1565b10155b905090565b505050565b60006001600b54600a546138de9190614e20565b6138e89190614d3f565b8210801561390b5750601b600060058110613906576139056150a8565b5b015482115b9050919050565b6064600d54826139229190614dc6565b61392c9190614d95565b600e600082825461393d9190614d3f565b9250508190555050565b6000601b6139556014612af1565b60058110613966576139656150a8565b5b01548210159050919050565b600e54600f60008282546139869190614d3f565b925050819055506000600e81905550565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139fe90614b3a565b60405180910390fd5b613a1081612664565b15613a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a47906149ba565b60405180910390fd5b613a5c60008383613481565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613aac9190614d3f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613b6d60008383613548565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b828054613ba590614f3e565b90600052602060002090601f016020900481019282613bc75760008555613c0e565b82601f10613be057805160ff1916838001178555613c0e565b82800160010185558215613c0e579182015b82811115613c0d578251825591602001919060010190613bf2565b5b509050613c1b9190613c1f565b5090565b5b80821115613c38576000816000905550600101613c20565b5090565b6000613c4f613c4a84614c9a565b614c75565b905082815260208101848484011115613c6b57613c6a615115565b5b613c76848285614ed2565b509392505050565b6000613c91613c8c84614ccb565b614c75565b905082815260208101848484011115613cad57613cac615115565b5b613cb8848285614ed2565b509392505050565b600081359050613ccf816157f4565b92915050565b60008083601f840112613ceb57613cea61510b565b5b8235905067ffffffffffffffff811115613d0857613d07615106565b5b602083019150836020820283011115613d2457613d23615110565b5b9250929050565b60008083601f840112613d4157613d4061510b565b5b8235905067ffffffffffffffff811115613d5e57613d5d615106565b5b602083019150836020820283011115613d7a57613d79615110565b5b9250929050565b600081359050613d908161580b565b92915050565b600081359050613da581615822565b92915050565b600081359050613dba81615839565b92915050565b600081519050613dcf81615839565b92915050565b600082601f830112613dea57613de961510b565b5b8135613dfa848260208601613c3c565b91505092915050565b600082601f830112613e1857613e1761510b565b5b8135613e28848260208601613c7e565b91505092915050565b600081359050613e4081615850565b92915050565b600060208284031215613e5c57613e5b61511f565b5b6000613e6a84828501613cc0565b91505092915050565b60008060408385031215613e8a57613e8961511f565b5b6000613e9885828601613cc0565b9250506020613ea985828601613cc0565b9150509250929050565b600080600060608486031215613ecc57613ecb61511f565b5b6000613eda86828701613cc0565b9350506020613eeb86828701613cc0565b9250506040613efc86828701613e31565b9150509250925092565b60008060008060808587031215613f2057613f1f61511f565b5b6000613f2e87828801613cc0565b9450506020613f3f87828801613cc0565b9350506040613f5087828801613e31565b925050606085013567ffffffffffffffff811115613f7157613f7061511a565b5b613f7d87828801613dd5565b91505092959194509250565b60008060408385031215613fa057613f9f61511f565b5b6000613fae85828601613cc0565b9250506020613fbf85828601613d81565b9150509250929050565b60008060408385031215613fe057613fdf61511f565b5b6000613fee85828601613cc0565b9250506020613fff85828601613e31565b9150509250929050565b600080602083850312156140205761401f61511f565b5b600083013567ffffffffffffffff81111561403e5761403d61511a565b5b61404a85828601613cd5565b92509250509250929050565b600080600080604085870312156140705761406f61511f565b5b600085013567ffffffffffffffff81111561408e5761408d61511a565b5b61409a87828801613d2b565b9450945050602085013567ffffffffffffffff8111156140bd576140bc61511a565b5b6140c987828801613d2b565b925092505092959194509250565b6000602082840312156140ed576140ec61511f565b5b60006140fb84828501613d81565b91505092915050565b60006020828403121561411a5761411961511f565b5b600061412884828501613d96565b91505092915050565b600080604083850312156141485761414761511f565b5b600061415685828601613d96565b925050602061416785828601613cc0565b9150509250929050565b6000602082840312156141875761418661511f565b5b600061419584828501613dab565b91505092915050565b6000602082840312156141b4576141b361511f565b5b60006141c284828501613dc0565b91505092915050565b6000602082840312156141e1576141e061511f565b5b600082013567ffffffffffffffff8111156141ff576141fe61511a565b5b61420b84828501613e03565b91505092915050565b60006020828403121561422a5761422961511f565b5b600061423884828501613e31565b91505092915050565b600080604083850312156142585761425761511f565b5b600061426685828601613e31565b925050602061427785828601613e31565b9150509250929050565b61428a81614e54565b82525050565b61429981614e66565b82525050565b6142a881614e72565b82525050565b60006142b982614cfc565b6142c38185614d12565b93506142d3818560208601614ee1565b6142dc81615124565b840191505092915050565b60006142f282614d07565b6142fc8185614d23565b935061430c818560208601614ee1565b61431581615124565b840191505092915050565b600061432b82614d07565b6143358185614d34565b9350614345818560208601614ee1565b80840191505092915050565b600061435e600b83614d23565b915061436982615135565b602082019050919050565b6000614381602083614d23565b915061438c8261515e565b602082019050919050565b60006143a4600c83614d23565b91506143af82615187565b602082019050919050565b60006143c7601483614d23565b91506143d2826151b0565b602082019050919050565b60006143ea600883614d23565b91506143f5826151d9565b602082019050919050565b600061440d601983614d23565b915061441882615202565b602082019050919050565b6000614430603283614d23565b915061443b8261522b565b604082019050919050565b6000614453602583614d23565b915061445e8261527a565b604082019050919050565b6000614476601c83614d23565b9150614481826152c9565b602082019050919050565b6000614499600f83614d23565b91506144a4826152f2565b602082019050919050565b60006144bc602483614d23565b91506144c78261531b565b604082019050919050565b60006144df601983614d23565b91506144ea8261536a565b602082019050919050565b6000614502600a83614d23565b915061450d82615393565b602082019050919050565b6000614525602c83614d23565b9150614530826153bc565b604082019050919050565b6000614548601083614d23565b91506145538261540b565b602082019050919050565b600061456b603883614d23565b915061457682615434565b604082019050919050565b600061458e600f83614d23565b915061459982615483565b602082019050919050565b60006145b1602a83614d23565b91506145bc826154ac565b604082019050919050565b60006145d4602983614d23565b91506145df826154fb565b604082019050919050565b60006145f7600d83614d23565b91506146028261554a565b602082019050919050565b600061461a602083614d23565b915061462582615573565b602082019050919050565b600061463d602c83614d23565b91506146488261559c565b604082019050919050565b6000614660601283614d23565b915061466b826155eb565b602082019050919050565b6000614683602f83614d23565b915061468e82615614565b604082019050919050565b60006146a6602183614d23565b91506146b182615663565b604082019050919050565b60006146c9603183614d23565b91506146d4826156b2565b604082019050919050565b60006146ec600883614d23565b91506146f782615701565b602082019050919050565b600061470f601783614d34565b915061471a8261572a565b601782019050919050565b6000614732600883614d23565b915061473d82615753565b602082019050919050565b6000614755601183614d34565b91506147608261577c565b601182019050919050565b6000614778602f83614d23565b9150614783826157a5565b604082019050919050565b61479781614ec8565b82525050565b60006147a98285614320565b91506147b58284614320565b91508190509392505050565b60006147cc82614702565b91506147d88285614320565b91506147e382614748565b91506147ef8284614320565b91508190509392505050565b60006020820190506148106000830184614281565b92915050565b600060808201905061482b6000830187614281565b6148386020830186614281565b614845604083018561478e565b818103606083015261485781846142ae565b905095945050505050565b60006020820190506148776000830184614290565b92915050565b6000602082019050614892600083018461429f565b92915050565b600060208201905081810360008301526148b281846142e7565b905092915050565b600060208201905081810360008301526148d381614351565b9050919050565b600060208201905081810360008301526148f381614374565b9050919050565b6000602082019050818103600083015261491381614397565b9050919050565b60006020820190508181036000830152614933816143ba565b9050919050565b60006020820190508181036000830152614953816143dd565b9050919050565b6000602082019050818103600083015261497381614400565b9050919050565b6000602082019050818103600083015261499381614423565b9050919050565b600060208201905081810360008301526149b381614446565b9050919050565b600060208201905081810360008301526149d381614469565b9050919050565b600060208201905081810360008301526149f38161448c565b9050919050565b60006020820190508181036000830152614a13816144af565b9050919050565b60006020820190508181036000830152614a33816144d2565b9050919050565b60006020820190508181036000830152614a53816144f5565b9050919050565b60006020820190508181036000830152614a7381614518565b9050919050565b60006020820190508181036000830152614a938161453b565b9050919050565b60006020820190508181036000830152614ab38161455e565b9050919050565b60006020820190508181036000830152614ad381614581565b9050919050565b60006020820190508181036000830152614af3816145a4565b9050919050565b60006020820190508181036000830152614b13816145c7565b9050919050565b60006020820190508181036000830152614b33816145ea565b9050919050565b60006020820190508181036000830152614b538161460d565b9050919050565b60006020820190508181036000830152614b7381614630565b9050919050565b60006020820190508181036000830152614b9381614653565b9050919050565b60006020820190508181036000830152614bb381614676565b9050919050565b60006020820190508181036000830152614bd381614699565b9050919050565b60006020820190508181036000830152614bf3816146bc565b9050919050565b60006020820190508181036000830152614c13816146df565b9050919050565b60006020820190508181036000830152614c3381614725565b9050919050565b60006020820190508181036000830152614c538161476b565b9050919050565b6000602082019050614c6f600083018461478e565b92915050565b6000614c7f614c90565b9050614c8b8282614f70565b919050565b6000604051905090565b600067ffffffffffffffff821115614cb557614cb46150d7565b5b614cbe82615124565b9050602081019050919050565b600067ffffffffffffffff821115614ce657614ce56150d7565b5b614cef82615124565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d4a82614ec8565b9150614d5583614ec8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d8a57614d8961501b565b5b828201905092915050565b6000614da082614ec8565b9150614dab83614ec8565b925082614dbb57614dba61504a565b5b828204905092915050565b6000614dd182614ec8565b9150614ddc83614ec8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e1557614e1461501b565b5b828202905092915050565b6000614e2b82614ec8565b9150614e3683614ec8565b925082821015614e4957614e4861501b565b5b828203905092915050565b6000614e5f82614ea8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614eff578082015181840152602081019050614ee4565b83811115614f0e576000848401525b50505050565b6000614f1f82614ec8565b91506000821415614f3357614f3261501b565b5b600182039050919050565b60006002820490506001821680614f5657607f821691505b60208210811415614f6a57614f69615079565b5b50919050565b614f7982615124565b810181811067ffffffffffffffff82111715614f9857614f976150d7565b5b80604052505050565b6000614fac82614ec8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fdf57614fde61501b565b5b600182019050919050565b6000614ff582614ec8565b915061500083614ec8565b9250826150105761500f61504a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e6f2065646974696f6e73000000000000000000000000000000000000000000600082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4e6f7420736f6c64206f75740000000000000000000000000000000000000000600082015250565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f4e6f206574686572000000000000000000000000000000000000000000000000600082015250565b7f457863656564206d6178206e66747320617420612074696d6500000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4e6f7420746f6b656e206f6e7765720000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f2065646974696f6e00000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f56616c756520746f6f206c6f7700000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f457863656564206d6178206f66206e6674730000000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f4e6f2066756e6473000000000000000000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6157fd81614e54565b811461580857600080fd5b50565b61581481614e66565b811461581f57600080fd5b50565b61582b81614e72565b811461583657600080fd5b50565b61584281614e7c565b811461584d57600080fd5b50565b61585981614ec8565b811461586457600080fd5b5056fea2646970667358221220b86e5f7c5ee91201e7aa97d5b5ff96f185ab7038a488e050d213c418670ea43464736f6c63430008070033
Loading...
Loading
Loading...
Loading
OVERVIEW
The Genesis Guild NFT is a collection of virtual membership cards that give access to an exclusive club with special privileges in the Gamearound Blockchain. The Gamearound Blockchain is a decentralized gaming ecosystem, focused on competitive game experiences.Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.