ERC-721
Overview
Max Total Supply
105 BSYM
Holders
96
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BSYMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BubblerSymbiotic
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./common/meta-transactions/ContentMixin.sol"; import "./common/meta-transactions/NativeMetaTransaction.sol"; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract BubblerSymbiotic is ContextMixin, NativeMetaTransaction, ERC721Enumerable, Ownable, ReentrancyGuard { uint256 public constant MAX_SYMBIOTIC = 555; uint256 public constant SYMBIOTIC_LIMIT = 10; uint256 public mintPrice = 0.111 ether; uint256 public reserve = 75; uint256 public reserveMinted = 0; address payable public treasury; string public baseURI; bytes32 public DOMAIN_SEPARATOR; bytes32 public constant MINT_TYPEHASH = keccak256("SignedMint(address minter,uint256 num)"); mapping(address => uint256) public signedMints; address proxyRegistryAddress; constructor(address payable _treasury, address _proxyRegistryAddress) ERC721("Bubbler Symbiotic", "BSYM") { setBaseURI("https://bubblerclub.web.app/"); treasury = _treasury; uint256 chainId; assembly { chainId := chainid() } DOMAIN_SEPARATOR = keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes("Bubbler Symbiotic")), keccak256(bytes("1")), chainId, address(this) ) ); proxyRegistryAddress = _proxyRegistryAddress; _initializeEIP712("Bubbler Symbiotic"); } event TreasuryChanged(address newTreasury); function setTreasury(address payable _treasury) external onlyOwner { treasury = _treasury; emit TreasuryChanged(_treasury); } function setReserve(uint256 _reserve) external onlyOwner { require(_reserve - reserveMinted + totalSupply() <= MAX_SYMBIOTIC, 'Exceeds MAX_SYMBIOTIC'); reserve = _reserve; } function setMintPrice(uint256 _price) external onlyOwner { require(_price > 0, 'invalid price'); mintPrice = _price; } function mint(uint256 num) external payable nonReentrant { uint256 supply = totalSupply(); require(num <= SYMBIOTIC_LIMIT, 'Exceeds SYMBIOTIC_LIMIT'); require(supply + num <= MAX_SYMBIOTIC - reserve, 'Exceeds MAX_SYMBIOTIC'); require(treasury != address(0), "Treasury is not set"); uint256 costToMint = mintPrice * num; require(costToMint <= msg.value, 'ETH amount is not sufficient'); // Start index at 1 for (uint256 i; i < num; i++) { _safeMint(msg.sender, supply + i + 1); } treasury.transfer(costToMint); if (msg.value > costToMint) { Address.sendValue(payable(msg.sender), msg.value - costToMint); } } function signedMint(uint256 num, uint8 v, bytes32 r, bytes32 s) external nonReentrant { uint256 supply = totalSupply(); require(reserveMinted + num <= reserve, 'Exceeds reserve'); // Verify EIP-712 signature bytes32 digest = keccak256( abi.encodePacked("\x19\x01", DOMAIN_SEPARATOR, keccak256(abi.encode(MINT_TYPEHASH, msg.sender, num))) ); address signer = ecrecover(digest, v, r, s); require(signer == this.owner(), "signedMint: invalid signature"); require(signedMints[msg.sender] != num, "signedMint: signature is already used"); signedMints[msg.sender] = num; for (uint256 i; i < num; i++) { _safeMint(msg.sender, supply + i + 1); } reserveMinted += num; } // https://docs.opensea.io/docs/contract-level-metadata function contractURI() public pure returns (string memory) { return string(abi.encodePacked(baseTokenURI(), "symbiotic.json")); } function baseTokenURI() public pure returns (string memory) { return "https://bubblerclub.web.app/"; } function tokenURI(uint256 _tokenId) public pure override returns (string memory) { return string(abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId), ".json")); } function _baseURI() internal view override returns (string memory) { return baseURI; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } /** * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea. */ function _msgSender() internal view override returns (address sender) { return ContextMixin.msgSender(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @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 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 {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address payable sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and(mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff) } } else { sender = payable(msg.sender); } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {Initializable} from "./Initializable.sol"; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string public constant ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(bytes("EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)")); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712(string memory name) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol"; import {EIP712Base} from "./EIP712Base.sol"; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(bytes("MetaTransaction(uint256 nonce,address from,bytes functionSignature)")); event MetaTransactionExecuted(address userAddress, address payable relayerAddress, bytes functionSignature); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require(verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match"); // increase nonce for user (to avoid re-use) nonces[userAddress] = nonces[userAddress].add(1); emit MetaTransactionExecuted(userAddress, payable(msg.sender), functionSignature); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call(abi.encodePacked(functionSignature, userAddress)); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode(META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature)) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover(toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS); } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"_treasury","type":"address"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"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":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryChanged","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SYMBIOTIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SYMBIOTIC_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"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":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reserve","type":"uint256"}],"name":"setReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"signedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"signedMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","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":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260008060006101000a81548160ff02191690831515021790555067018a59e972118000600f55604b60105560006011553480156200004157600080fd5b506040516200649d3803806200649d83398181016040528101906200006791906200079d565b6040518060400160405280601181526020017f427562626c65722053796d62696f7469630000000000000000000000000000008152506040518060400160405280600481526020017f4253594d000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000eb929190620006bf565b50806004908051906020019062000104929190620006bf565b505050620001276200011b6200031a60201b60201c565b6200033660201b60201c565b6001600e81905550620001756040518060400160405280601c81526020017f68747470733a2f2f627562626c6572636c75622e7765622e6170702f00000000815250620003fc60201b60201c565b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060004690507f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6040518060400160405280601181526020017f427562626c65722053796d62696f746963000000000000000000000000000000815250805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012083306040516020016200026e959493929190620008bc565b6040516020818303038152906040528051906020012060148190555081601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003116040518060400160405280601181526020017f427562626c65722053796d62696f746963000000000000000000000000000000815250620004a760201b60201c565b50505062000ab5565b6000620003316200052660201b6200232d1760201c565b905090565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200040c6200031a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000432620005d960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200048b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004829062000919565b60405180910390fd5b8060139080519060200190620004a3929190620006bf565b5050565b60008054906101000a900460ff1615620004f8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ef906200093b565b60405180910390fd5b62000509816200060360201b60201c565b60016000806101000a81548160ff02191690831515021790555050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415620005d257600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050620005d6565b3390505b90565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060800160405280604f81526020016200644e604f91398051906020012081805190602001206040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525080519060200120306200067a620006b260201b60201c565b60001b604051602001620006939594939291906200085f565b6040516020818303038152906040528051906020012060018190555050565b6000804690508091505090565b828054620006cd90620009ca565b90600052602060002090601f016020900481019282620006f157600085556200073d565b82601f106200070c57805160ff19168380011785556200073d565b828001600101855582156200073d579182015b828111156200073c5782518255916020019190600101906200071f565b5b5090506200074c919062000750565b5090565b5b808211156200076b57600081600090555060010162000751565b5090565b600081519050620007808162000a81565b92915050565b600081519050620007978162000a9b565b92915050565b60008060408385031215620007b157600080fd5b6000620007c18582860162000786565b9250506020620007d4858286016200076f565b9150509250929050565b620007e9816200096e565b82525050565b620007fa8162000996565b82525050565b60006200080f6020836200095d565b91506200081c8262000a2f565b602082019050919050565b600062000836600e836200095d565b9150620008438262000a58565b602082019050919050565b6200085981620009c0565b82525050565b600060a082019050620008766000830188620007ef565b620008856020830187620007ef565b620008946040830186620007ef565b620008a36060830185620007de565b620008b26080830184620007ef565b9695505050505050565b600060a082019050620008d36000830188620007ef565b620008e26020830187620007ef565b620008f16040830186620007ef565b6200090060608301856200084e565b6200090f6080830184620007de565b9695505050505050565b60006020820190508181036000830152620009348162000800565b9050919050565b60006020820190508181036000830152620009568162000827565b9050919050565b600082825260208201905092915050565b60006200097b82620009a0565b9050919050565b60006200098f82620009a0565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006002820490506001821680620009e357607f821691505b60208210811415620009fa57620009f962000a00565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f616c726561647920696e69746564000000000000000000000000000000000000600082015250565b62000a8c816200096e565b811462000a9857600080fd5b50565b62000aa68162000982565b811462000ab257600080fd5b50565b6159898062000ac56000396000f3fe6080604052600436106102515760003560e01c80636352211e11610139578063c23015af116100b6578063e985e9c51161007a578063e985e9c5146108d6578063f0f4426014610913578063f2fde38b1461093c578063f2fea66b14610965578063f4a0a52814610990578063f76fc35e146109b957610251565b8063c23015af146107ed578063c87b56dd14610818578063cd3293de14610855578063d547cfb714610880578063e8a3d485146108ab57610251565b80638da5cb5b116100fd5780638da5cb5b1461072957806395d89b4114610754578063a0712d681461077f578063a22cb4651461079b578063b88d4fde146107c457610251565b80636352211e146106425780636817c76c1461067f5780636c0360eb146106aa57806370a08231146106d5578063715018a61461071257610251565b80632f745c59116101d25780634725cbde116101965780634725cbde146105205780634c81433f1461055d5780634f6ccce71461058857806355f804b3146105c55780635b848244146105ee57806361d027b31461061757610251565b80632f745c591461043b5780633408e470146104785780633644e515146104a35780634256dbe3146104ce57806342842e0e146104f757610251565b80630f7e5970116102195780630f7e59701461035457806318160ddd1461037f57806320379ee5146103aa57806323b872dd146103d55780632d0335ab146103fe57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630c53c51c14610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613cfe565b6109e4565b60405161028a9190614631565b60405180910390f35b34801561029f57600080fd5b506102a8610a5e565b6040516102b5919061474a565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613dba565b610af0565b6040516102f29190614556565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613cc2565b610b75565b005b61033e60048036038101906103399190613c33565b610c8d565b60405161034b9190614728565b60405180910390f35b34801561036057600080fd5b50610369610eff565b604051610376919061474a565b60405180910390f35b34801561038b57600080fd5b50610394610f38565b6040516103a19190614b4c565b60405180910390f35b3480156103b657600080fd5b506103bf610f45565b6040516103cc919061464c565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190613b2d565b610f4f565b005b34801561040a57600080fd5b5061042560048036038101906104209190613a76565b610faf565b6040516104329190614b4c565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190613cc2565b610ff8565b60405161046f9190614b4c565b60405180910390f35b34801561048457600080fd5b5061048d61109d565b60405161049a9190614b4c565b60405180910390f35b3480156104af57600080fd5b506104b86110aa565b6040516104c5919061464c565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f09190613dba565b6110b0565b005b34801561050357600080fd5b5061051e60048036038101906105199190613b2d565b61119a565b005b34801561052c57600080fd5b5061054760048036038101906105429190613a76565b6111ba565b6040516105549190614b4c565b60405180910390f35b34801561056957600080fd5b506105726111d2565b60405161057f9190614b4c565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190613dba565b6111d8565b6040516105bc9190614b4c565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e79190613d79565b61126f565b005b3480156105fa57600080fd5b5061061560048036038101906106109190613de3565b611305565b005b34801561062357600080fd5b5061062c611698565b604051610639919061458c565b60405180910390f35b34801561064e57600080fd5b5061066960048036038101906106649190613dba565b6116be565b6040516106769190614556565b60405180910390f35b34801561068b57600080fd5b50610694611770565b6040516106a19190614b4c565b60405180910390f35b3480156106b657600080fd5b506106bf611776565b6040516106cc919061474a565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190613a76565b611804565b6040516107099190614b4c565b60405180910390f35b34801561071e57600080fd5b506107276118bc565b005b34801561073557600080fd5b5061073e611944565b60405161074b9190614556565b60405180910390f35b34801561076057600080fd5b5061076961196e565b604051610776919061474a565b60405180910390f35b61079960048036038101906107949190613dba565b611a00565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613bf7565b611cb6565b005b3480156107d057600080fd5b506107eb60048036038101906107e69190613b7c565b611e37565b005b3480156107f957600080fd5b50610802611e99565b60405161080f9190614b4c565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a9190613dba565b611e9f565b60405161084c919061474a565b60405180910390f35b34801561086157600080fd5b5061086a611ed9565b6040516108779190614b4c565b60405180910390f35b34801561088c57600080fd5b50610895611edf565b6040516108a2919061474a565b60405180910390f35b3480156108b757600080fd5b506108c0611f1c565b6040516108cd919061474a565b60405180910390f35b3480156108e257600080fd5b506108fd60048036038101906108f89190613af1565b611f4a565b60405161090a9190614631565b60405180910390f35b34801561091f57600080fd5b5061093a60048036038101906109359190613ac8565b61204c565b005b34801561094857600080fd5b50610963600480360381019061095e9190613a76565b612143565b005b34801561097157600080fd5b5061097a61223b565b6040516109879190614b4c565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b29190613dba565b612240565b005b3480156109c557600080fd5b506109ce612309565b6040516109db919061464c565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a575750610a56826123de565b5b9050919050565b606060038054610a6d90614e78565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9990614e78565b8015610ae65780601f10610abb57610100808354040283529160200191610ae6565b820191906000526020600020905b815481529060010190602001808311610ac957829003601f168201915b5050505050905090565b6000610afb826124c0565b610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b31906149cc565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b80826116be565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be890614a6c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c1061252c565b73ffffffffffffffffffffffffffffffffffffffff161480610c3f5750610c3e81610c3961252c565b611f4a565b5b610c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c759061494c565b60405180910390fd5b610c88838361253b565b505050565b606060006040518060600160405280600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d1087828787876125f4565b610d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4690614a2c565b60405180910390fd5b610da26001600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126fd90919063ffffffff16565b600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e18939291906145a7565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610e4d929190614491565b604051602081830303815290604052604051610e69919061447a565b6000604051808303816000865af19150503d8060008114610ea6576040519150601f19603f3d011682016040523d82523d6000602084013e610eab565b606091505b509150915081610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee7906147cc565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600b80549050905090565b6000600154905090565b610f60610f5a61252c565b82612713565b610f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9690614a8c565b60405180910390fd5b610faa8383836127f1565b505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061100383611804565b8210611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b9061476c565b60405180910390fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b60145481565b6110b861252c565b73ffffffffffffffffffffffffffffffffffffffff166110d6611944565b73ffffffffffffffffffffffffffffffffffffffff161461112c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611123906149ec565b60405180910390fd5b61022b611137610f38565b601154836111459190614d1d565b61114f9190614c3c565b1115611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790614aac565b60405180910390fd5b8060108190555050565b6111b583838360405180602001604052806000815250611e37565b505050565b60156020528060005260406000206000915090505481565b60115481565b60006111e2610f38565b8210611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90614acc565b60405180910390fd5b600b828154811061125d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61127761252c565b73ffffffffffffffffffffffffffffffffffffffff16611295611944565b73ffffffffffffffffffffffffffffffffffffffff16146112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e2906149ec565b60405180910390fd5b8060139080519060200190611301929190613831565b5050565b6002600e54141561134b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134290614b0c565b60405180910390fd5b6002600e81905550600061135d610f38565b9050601054856011546113709190614c3c565b11156113b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a89061486c565b60405180910390fd5b60006014547f5747bafbd4c5707b1990e0aec4ba0ea3855c7d292251b20f8f0ee31eb8b732a533886040516020016113eb93929190614667565b6040516020818303038152906040528051906020012060405160200161141292919061450a565b60405160208183030381529060405280519060200120905060006001828787876040516000815260200160405260405161144f94939291906146e3565b6020604051602081039080840390855afa158015611471573d6000803e3d6000fd5b5050506020604051035190503073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114c357600080fd5b505afa1580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb9190613a9f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f90614a4c565b60405180910390fd5b86601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e19061482c565b60405180910390fd5b86601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8781101561166d5761165a336001838761164b9190614c3c565b6116559190614c3c565b612a4d565b808061166590614edb565b915050611631565b5086601160008282546116809190614c3c565b925050819055505050506001600e8190555050505050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e9061498c565b60405180910390fd5b80915050919050565b600f5481565b6013805461178390614e78565b80601f01602080910402602001604051908101604052809291908181526020018280546117af90614e78565b80156117fc5780601f106117d1576101008083540402835291602001916117fc565b820191906000526020600020905b8154815290600101906020018083116117df57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186c9061496c565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118c461252c565b73ffffffffffffffffffffffffffffffffffffffff166118e2611944565b73ffffffffffffffffffffffffffffffffffffffff1614611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f906149ec565b60405180910390fd5b6119426000612a6b565b565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461197d90614e78565b80601f01602080910402602001604051908101604052809291908181526020018280546119a990614e78565b80156119f65780601f106119cb576101008083540402835291602001916119f6565b820191906000526020600020905b8154815290600101906020018083116119d957829003601f168201915b5050505050905090565b6002600e541415611a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3d90614b0c565b60405180910390fd5b6002600e819055506000611a58610f38565b9050600a821115611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9590614aec565b60405180910390fd5b60105461022b611aae9190614d1d565b8282611aba9190614c3c565b1115611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290614aac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8490614b2c565b60405180910390fd5b600082600f54611b9d9190614cc3565b905034811115611be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd9906148cc565b60405180910390fd5b60005b83811015611c2157611c0e3360018386611bff9190614c3c565b611c099190614c3c565b612a4d565b8080611c1990614edb565b915050611be5565b50601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c8a573d6000803e3d6000fd5b5080341115611ca957611ca8338234611ca39190614d1d565b612b31565b5b50506001600e8190555050565b611cbe61252c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d239061484c565b60405180910390fd5b8060086000611d3961252c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611de661252c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e2b9190614631565b60405180910390a35050565b611e48611e4261252c565b83612713565b611e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7e90614a8c565b60405180910390fd5b611e9384848484612c25565b50505050565b61022b81565b6060611ea9611edf565b611eb283612c81565b604051602001611ec39291906144b9565b6040516020818303038152906040529050919050565b60105481565b60606040518060400160405280601c81526020017f68747470733a2f2f627562626c6572636c75622e7765622e6170702f00000000815250905090565b6060611f26611edf565b604051602001611f3691906144e8565b604051602081830303815290604052905090565b600080601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611fc29190614556565b60206040518083038186803b158015611fda57600080fd5b505afa158015611fee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120129190613d50565b73ffffffffffffffffffffffffffffffffffffffff161415612038576001915050612046565b6120428484612e2e565b9150505b92915050565b61205461252c565b73ffffffffffffffffffffffffffffffffffffffff16612072611944565b73ffffffffffffffffffffffffffffffffffffffff16146120c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bf906149ec565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc714d22a2f08b695f81e7c707058db484aa5b4d6b4c9fd64beb10fe85832f608816040516121389190614571565b60405180910390a150565b61214b61252c565b73ffffffffffffffffffffffffffffffffffffffff16612169611944565b73ffffffffffffffffffffffffffffffffffffffff16146121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b6906149ec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561222f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612226906147ac565b60405180910390fd5b61223881612a6b565b50565b600a81565b61224861252c565b73ffffffffffffffffffffffffffffffffffffffff16612266611944565b73ffffffffffffffffffffffffffffffffffffffff16146122bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b3906149ec565b60405180910390fd5b600081116122ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f69061492c565b60405180910390fd5b80600f8190555050565b7f5747bafbd4c5707b1990e0aec4ba0ea3855c7d292251b20f8f0ee31eb8b732a581565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156123d757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506123db565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124a957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124b957506124b882612ec2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061253661232d565b905090565b816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125ae836116be565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265c9061490c565b60405180910390fd5b600161267861267387612f2c565b612f94565b8386866040516000815260200160405260405161269894939291906146e3565b6020604051602081039080840390855afa1580156126ba573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b6000818361270b9190614c3c565b905092915050565b600061271e826124c0565b61275d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612754906148ec565b60405180910390fd5b6000612768836116be565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127d757508373ffffffffffffffffffffffffffffffffffffffff166127bf84610af0565b73ffffffffffffffffffffffffffffffffffffffff16145b806127e857506127e78185611f4a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612811826116be565b73ffffffffffffffffffffffffffffffffffffffff1614612867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285e90614a0c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ce9061480c565b60405180910390fd5b6128e2838383612fcd565b6128ed60008261253b565b6001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461293d9190614d1d565b925050819055506001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129949190614c3c565b92505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612a678282604051806020016040528060008152506130e1565b5050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80471015612b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6b906148ac565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612b9a90614541565b60006040518083038185875af1925050503d8060008114612bd7576040519150601f19603f3d011682016040523d82523d6000602084013e612bdc565b606091505b5050905080612c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c179061488c565b60405180910390fd5b505050565b612c308484846127f1565b612c3c8484848461313c565b612c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c729061478c565b60405180910390fd5b50505050565b60606000821415612cc9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e29565b600082905060005b60008214612cfb578080612ce490614edb565b915050600a82612cf49190614c92565b9150612cd1565b60008167ffffffffffffffff811115612d3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d6f5781602001600182028036833780820191505090505b5090505b60008514612e2257600182612d889190614d1d565b9150600a85612d979190614f52565b6030612da39190614c3c565b60f81b818381518110612ddf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e1b9190614c92565b9450612d73565b8093505050505b919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051806080016040528060438152602001615911604391398051906020012082600001518360200151846040015180519060200120604051602001612f77949392919061469e565b604051602081830303815290604052805190602001209050919050565b6000612f9e610f45565b82604051602001612fb092919061450a565b604051602081830303815290604052805190602001209050919050565b612fd88383836132d3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561301b57613016816132d8565b61305a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613059576130588382613321565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561309d576130988161348e565b6130dc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130db576130da82826135d1565b5b5b505050565b6130eb8383613650565b6130f8600084848461313c565b613137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312e9061478c565b60405180910390fd5b505050565b600061315d8473ffffffffffffffffffffffffffffffffffffffff1661381e565b156132c6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261318661252c565b8786866040518563ffffffff1660e01b81526004016131a894939291906145e5565b602060405180830381600087803b1580156131c257600080fd5b505af19250505080156131f357506040513d601f19601f820116820180604052508101906131f09190613d27565b60015b613276573d8060008114613223576040519150601f19603f3d011682016040523d82523d6000602084013e613228565b606091505b5060008151141561326e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132659061478c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132cb565b600190505b949350505050565b505050565b600b80549050600c600083815260200190815260200160002081905550600b81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161332e84611804565b6133389190614d1d565b90506000600a600084815260200190815260200160002054905081811461341d576000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081600a600083815260200190815260200160002081905550505b600a600084815260200190815260200160002060009055600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600b805490506134a29190614d1d565b90506000600c60008481526020019081526020016000205490506000600b83815481106134f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600b8381548110613540577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600c600083815260200190815260200160002081905550600c600085815260200190815260200160002060009055600b8054806135b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006135dc83611804565b905081600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080600a600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b7906149ac565b60405180910390fd5b6136c9816124c0565b15613709576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613700906147ec565b60405180910390fd5b61371560008383612fcd565b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137659190614c3c565b92505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461383d90614e78565b90600052602060002090601f01602090048101928261385f57600085556138a6565b82601f1061387857805160ff19168380011785556138a6565b828001600101855582156138a6579182015b828111156138a557825182559160200191906001019061388a565b5b5090506138b391906138b7565b5090565b5b808211156138d05760008160009055506001016138b8565b5090565b60006138e76138e284614b8c565b614b67565b9050828152602081018484840111156138ff57600080fd5b61390a848285614e36565b509392505050565b600061392561392084614bbd565b614b67565b90508281526020810184848401111561393d57600080fd5b613948848285614e36565b509392505050565b60008135905061395f81615858565b92915050565b60008151905061397481615858565b92915050565b6000813590506139898161586f565b92915050565b60008135905061399e81615886565b92915050565b6000813590506139b38161589d565b92915050565b6000813590506139c8816158b4565b92915050565b6000815190506139dd816158b4565b92915050565b600082601f8301126139f457600080fd5b8135613a048482602086016138d4565b91505092915050565b600081519050613a1c816158cb565b92915050565b600082601f830112613a3357600080fd5b8135613a43848260208601613912565b91505092915050565b600081359050613a5b816158e2565b92915050565b600081359050613a70816158f9565b92915050565b600060208284031215613a8857600080fd5b6000613a9684828501613950565b91505092915050565b600060208284031215613ab157600080fd5b6000613abf84828501613965565b91505092915050565b600060208284031215613ada57600080fd5b6000613ae88482850161397a565b91505092915050565b60008060408385031215613b0457600080fd5b6000613b1285828601613950565b9250506020613b2385828601613950565b9150509250929050565b600080600060608486031215613b4257600080fd5b6000613b5086828701613950565b9350506020613b6186828701613950565b9250506040613b7286828701613a4c565b9150509250925092565b60008060008060808587031215613b9257600080fd5b6000613ba087828801613950565b9450506020613bb187828801613950565b9350506040613bc287828801613a4c565b925050606085013567ffffffffffffffff811115613bdf57600080fd5b613beb878288016139e3565b91505092959194509250565b60008060408385031215613c0a57600080fd5b6000613c1885828601613950565b9250506020613c298582860161398f565b9150509250929050565b600080600080600060a08688031215613c4b57600080fd5b6000613c5988828901613950565b955050602086013567ffffffffffffffff811115613c7657600080fd5b613c82888289016139e3565b9450506040613c93888289016139a4565b9350506060613ca4888289016139a4565b9250506080613cb588828901613a61565b9150509295509295909350565b60008060408385031215613cd557600080fd5b6000613ce385828601613950565b9250506020613cf485828601613a4c565b9150509250929050565b600060208284031215613d1057600080fd5b6000613d1e848285016139b9565b91505092915050565b600060208284031215613d3957600080fd5b6000613d47848285016139ce565b91505092915050565b600060208284031215613d6257600080fd5b6000613d7084828501613a0d565b91505092915050565b600060208284031215613d8b57600080fd5b600082013567ffffffffffffffff811115613da557600080fd5b613db184828501613a22565b91505092915050565b600060208284031215613dcc57600080fd5b6000613dda84828501613a4c565b91505092915050565b60008060008060808587031215613df957600080fd5b6000613e0787828801613a4c565b9450506020613e1887828801613a61565b9350506040613e29878288016139a4565b9250506060613e3a878288016139a4565b91505092959194509250565b613e4f81614e00565b82525050565b613e5e81614d63565b82525050565b613e6d81614d51565b82525050565b613e84613e7f82614d51565b614f24565b82525050565b613e9381614d75565b82525050565b613ea281614d81565b82525050565b613eb9613eb482614d81565b614f36565b82525050565b6000613eca82614bee565b613ed48185614c04565b9350613ee4818560208601614e45565b613eed8161503f565b840191505092915050565b6000613f0382614bee565b613f0d8185614c15565b9350613f1d818560208601614e45565b80840191505092915050565b6000613f3482614bf9565b613f3e8185614c20565b9350613f4e818560208601614e45565b613f578161503f565b840191505092915050565b6000613f6d82614bf9565b613f778185614c31565b9350613f87818560208601614e45565b80840191505092915050565b6000613fa0602b83614c20565b9150613fab8261505d565b604082019050919050565b6000613fc3603283614c20565b9150613fce826150ac565b604082019050919050565b6000613fe6602683614c20565b9150613ff1826150fb565b604082019050919050565b6000614009601c83614c20565b91506140148261514a565b602082019050919050565b600061402c601c83614c20565b915061403782615173565b602082019050919050565b600061404f600283614c31565b915061405a8261519c565b600282019050919050565b6000614072602483614c20565b915061407d826151c5565b604082019050919050565b6000614095602583614c20565b91506140a082615214565b604082019050919050565b60006140b8601983614c20565b91506140c382615263565b602082019050919050565b60006140db600f83614c20565b91506140e68261528c565b602082019050919050565b60006140fe600e83614c31565b9150614109826152b5565b600e82019050919050565b6000614121603a83614c20565b915061412c826152de565b604082019050919050565b6000614144601d83614c20565b915061414f8261532d565b602082019050919050565b6000614167601c83614c20565b915061417282615356565b602082019050919050565b600061418a602c83614c20565b91506141958261537f565b604082019050919050565b60006141ad602583614c20565b91506141b8826153ce565b604082019050919050565b60006141d0600d83614c20565b91506141db8261541d565b602082019050919050565b60006141f3603883614c20565b91506141fe82615446565b604082019050919050565b6000614216602a83614c20565b915061422182615495565b604082019050919050565b6000614239602983614c20565b9150614244826154e4565b604082019050919050565b600061425c602083614c20565b915061426782615533565b602082019050919050565b600061427f602c83614c20565b915061428a8261555c565b604082019050919050565b60006142a2600583614c31565b91506142ad826155ab565b600582019050919050565b60006142c5602083614c20565b91506142d0826155d4565b602082019050919050565b60006142e8602983614c20565b91506142f3826155fd565b604082019050919050565b600061430b602183614c20565b91506143168261564c565b604082019050919050565b600061432e601d83614c20565b91506143398261569b565b602082019050919050565b6000614351602183614c20565b915061435c826156c4565b604082019050919050565b6000614374600083614c15565b915061437f82615713565b600082019050919050565b6000614397603183614c20565b91506143a282615716565b604082019050919050565b60006143ba601583614c20565b91506143c582615765565b602082019050919050565b60006143dd602c83614c20565b91506143e88261578e565b604082019050919050565b6000614400601783614c20565b915061440b826157dd565b602082019050919050565b6000614423601f83614c20565b915061442e82615806565b602082019050919050565b6000614446601383614c20565b91506144518261582f565b602082019050919050565b61446581614de9565b82525050565b61447481614df3565b82525050565b60006144868284613ef8565b915081905092915050565b600061449d8285613ef8565b91506144a98284613e73565b6014820191508190509392505050565b60006144c58285613f62565b91506144d18284613f62565b91506144dc82614295565b91508190509392505050565b60006144f48284613f62565b91506144ff826140f1565b915081905092915050565b600061451582614042565b91506145218285613ea8565b6020820191506145318284613ea8565b6020820191508190509392505050565b600061454c82614367565b9150819050919050565b600060208201905061456b6000830184613e64565b92915050565b60006020820190506145866000830184613e46565b92915050565b60006020820190506145a16000830184613e55565b92915050565b60006060820190506145bc6000830186613e64565b6145c96020830185613e55565b81810360408301526145db8184613ebf565b9050949350505050565b60006080820190506145fa6000830187613e64565b6146076020830186613e64565b614614604083018561445c565b81810360608301526146268184613ebf565b905095945050505050565b60006020820190506146466000830184613e8a565b92915050565b60006020820190506146616000830184613e99565b92915050565b600060608201905061467c6000830186613e99565b6146896020830185613e64565b614696604083018461445c565b949350505050565b60006080820190506146b36000830187613e99565b6146c0602083018661445c565b6146cd6040830185613e64565b6146da6060830184613e99565b95945050505050565b60006080820190506146f86000830187613e99565b614705602083018661446b565b6147126040830185613e99565b61471f6060830184613e99565b95945050505050565b600060208201905081810360008301526147428184613ebf565b905092915050565b600060208201905081810360008301526147648184613f29565b905092915050565b6000602082019050818103600083015261478581613f93565b9050919050565b600060208201905081810360008301526147a581613fb6565b9050919050565b600060208201905081810360008301526147c581613fd9565b9050919050565b600060208201905081810360008301526147e581613ffc565b9050919050565b600060208201905081810360008301526148058161401f565b9050919050565b6000602082019050818103600083015261482581614065565b9050919050565b6000602082019050818103600083015261484581614088565b9050919050565b60006020820190508181036000830152614865816140ab565b9050919050565b60006020820190508181036000830152614885816140ce565b9050919050565b600060208201905081810360008301526148a581614114565b9050919050565b600060208201905081810360008301526148c581614137565b9050919050565b600060208201905081810360008301526148e58161415a565b9050919050565b600060208201905081810360008301526149058161417d565b9050919050565b60006020820190508181036000830152614925816141a0565b9050919050565b60006020820190508181036000830152614945816141c3565b9050919050565b60006020820190508181036000830152614965816141e6565b9050919050565b6000602082019050818103600083015261498581614209565b9050919050565b600060208201905081810360008301526149a58161422c565b9050919050565b600060208201905081810360008301526149c58161424f565b9050919050565b600060208201905081810360008301526149e581614272565b9050919050565b60006020820190508181036000830152614a05816142b8565b9050919050565b60006020820190508181036000830152614a25816142db565b9050919050565b60006020820190508181036000830152614a45816142fe565b9050919050565b60006020820190508181036000830152614a6581614321565b9050919050565b60006020820190508181036000830152614a8581614344565b9050919050565b60006020820190508181036000830152614aa58161438a565b9050919050565b60006020820190508181036000830152614ac5816143ad565b9050919050565b60006020820190508181036000830152614ae5816143d0565b9050919050565b60006020820190508181036000830152614b05816143f3565b9050919050565b60006020820190508181036000830152614b2581614416565b9050919050565b60006020820190508181036000830152614b4581614439565b9050919050565b6000602082019050614b61600083018461445c565b92915050565b6000614b71614b82565b9050614b7d8282614eaa565b919050565b6000604051905090565b600067ffffffffffffffff821115614ba757614ba6615010565b5b614bb08261503f565b9050602081019050919050565b600067ffffffffffffffff821115614bd857614bd7615010565b5b614be18261503f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c4782614de9565b9150614c5283614de9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c8757614c86614f83565b5b828201905092915050565b6000614c9d82614de9565b9150614ca883614de9565b925082614cb857614cb7614fb2565b5b828204905092915050565b6000614cce82614de9565b9150614cd983614de9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d1257614d11614f83565b5b828202905092915050565b6000614d2882614de9565b9150614d3383614de9565b925082821015614d4657614d45614f83565b5b828203905092915050565b6000614d5c82614dc9565b9050919050565b6000614d6e82614dc9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614dc282614d51565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614e0b82614e12565b9050919050565b6000614e1d82614e24565b9050919050565b6000614e2f82614dc9565b9050919050565b82818337600083830152505050565b60005b83811015614e63578082015181840152602081019050614e48565b83811115614e72576000848401525b50505050565b60006002820490506001821680614e9057607f821691505b60208210811415614ea457614ea3614fe1565b5b50919050565b614eb38261503f565b810181811067ffffffffffffffff82111715614ed257614ed1615010565b5b80604052505050565b6000614ee682614de9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f1957614f18614f83565b5b600182019050919050565b6000614f2f82614f40565b9050919050565b6000819050919050565b6000614f4b82615050565b9050919050565b6000614f5d82614de9565b9150614f6883614de9565b925082614f7857614f77614fb2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f7369676e65644d696e743a207369676e617475726520697320616c726561647960008201527f2075736564000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4578636565647320726573657276650000000000000000000000000000000000600082015250565b7f73796d62696f7469632e6a736f6e000000000000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f45544820616d6f756e74206973206e6f742073756666696369656e7400000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c696420707269636500000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f7369676e65644d696e743a20696e76616c6964207369676e6174757265000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f45786365656473204d41585f53594d42494f5449430000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f457863656564732053594d42494f5449435f4c494d4954000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5472656173757279206973206e6f742073657400000000000000000000000000600082015250565b61586181614d51565b811461586c57600080fd5b50565b61587881614d63565b811461588357600080fd5b50565b61588f81614d75565b811461589a57600080fd5b50565b6158a681614d81565b81146158b157600080fd5b50565b6158bd81614d8b565b81146158c857600080fd5b50565b6158d481614db7565b81146158df57600080fd5b50565b6158eb81614de9565b81146158f657600080fd5b50565b61590281614df3565b811461590d57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212205e6b78d2131b7ece525bccb54a48b390f2d493084b772a9b8594c9bd72e63aba64736f6c63430008040033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000128eb878b70404fab0607367f9d879f04809fb0b000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Deployed Bytecode
0x6080604052600436106102515760003560e01c80636352211e11610139578063c23015af116100b6578063e985e9c51161007a578063e985e9c5146108d6578063f0f4426014610913578063f2fde38b1461093c578063f2fea66b14610965578063f4a0a52814610990578063f76fc35e146109b957610251565b8063c23015af146107ed578063c87b56dd14610818578063cd3293de14610855578063d547cfb714610880578063e8a3d485146108ab57610251565b80638da5cb5b116100fd5780638da5cb5b1461072957806395d89b4114610754578063a0712d681461077f578063a22cb4651461079b578063b88d4fde146107c457610251565b80636352211e146106425780636817c76c1461067f5780636c0360eb146106aa57806370a08231146106d5578063715018a61461071257610251565b80632f745c59116101d25780634725cbde116101965780634725cbde146105205780634c81433f1461055d5780634f6ccce71461058857806355f804b3146105c55780635b848244146105ee57806361d027b31461061757610251565b80632f745c591461043b5780633408e470146104785780633644e515146104a35780634256dbe3146104ce57806342842e0e146104f757610251565b80630f7e5970116102195780630f7e59701461035457806318160ddd1461037f57806320379ee5146103aa57806323b872dd146103d55780632d0335ab146103fe57610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb5780630c53c51c14610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613cfe565b6109e4565b60405161028a9190614631565b60405180910390f35b34801561029f57600080fd5b506102a8610a5e565b6040516102b5919061474a565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e09190613dba565b610af0565b6040516102f29190614556565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613cc2565b610b75565b005b61033e60048036038101906103399190613c33565b610c8d565b60405161034b9190614728565b60405180910390f35b34801561036057600080fd5b50610369610eff565b604051610376919061474a565b60405180910390f35b34801561038b57600080fd5b50610394610f38565b6040516103a19190614b4c565b60405180910390f35b3480156103b657600080fd5b506103bf610f45565b6040516103cc919061464c565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190613b2d565b610f4f565b005b34801561040a57600080fd5b5061042560048036038101906104209190613a76565b610faf565b6040516104329190614b4c565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190613cc2565b610ff8565b60405161046f9190614b4c565b60405180910390f35b34801561048457600080fd5b5061048d61109d565b60405161049a9190614b4c565b60405180910390f35b3480156104af57600080fd5b506104b86110aa565b6040516104c5919061464c565b60405180910390f35b3480156104da57600080fd5b506104f560048036038101906104f09190613dba565b6110b0565b005b34801561050357600080fd5b5061051e60048036038101906105199190613b2d565b61119a565b005b34801561052c57600080fd5b5061054760048036038101906105429190613a76565b6111ba565b6040516105549190614b4c565b60405180910390f35b34801561056957600080fd5b506105726111d2565b60405161057f9190614b4c565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa9190613dba565b6111d8565b6040516105bc9190614b4c565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e79190613d79565b61126f565b005b3480156105fa57600080fd5b5061061560048036038101906106109190613de3565b611305565b005b34801561062357600080fd5b5061062c611698565b604051610639919061458c565b60405180910390f35b34801561064e57600080fd5b5061066960048036038101906106649190613dba565b6116be565b6040516106769190614556565b60405180910390f35b34801561068b57600080fd5b50610694611770565b6040516106a19190614b4c565b60405180910390f35b3480156106b657600080fd5b506106bf611776565b6040516106cc919061474a565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190613a76565b611804565b6040516107099190614b4c565b60405180910390f35b34801561071e57600080fd5b506107276118bc565b005b34801561073557600080fd5b5061073e611944565b60405161074b9190614556565b60405180910390f35b34801561076057600080fd5b5061076961196e565b604051610776919061474a565b60405180910390f35b61079960048036038101906107949190613dba565b611a00565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613bf7565b611cb6565b005b3480156107d057600080fd5b506107eb60048036038101906107e69190613b7c565b611e37565b005b3480156107f957600080fd5b50610802611e99565b60405161080f9190614b4c565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a9190613dba565b611e9f565b60405161084c919061474a565b60405180910390f35b34801561086157600080fd5b5061086a611ed9565b6040516108779190614b4c565b60405180910390f35b34801561088c57600080fd5b50610895611edf565b6040516108a2919061474a565b60405180910390f35b3480156108b757600080fd5b506108c0611f1c565b6040516108cd919061474a565b60405180910390f35b3480156108e257600080fd5b506108fd60048036038101906108f89190613af1565b611f4a565b60405161090a9190614631565b60405180910390f35b34801561091f57600080fd5b5061093a60048036038101906109359190613ac8565b61204c565b005b34801561094857600080fd5b50610963600480360381019061095e9190613a76565b612143565b005b34801561097157600080fd5b5061097a61223b565b6040516109879190614b4c565b60405180910390f35b34801561099c57600080fd5b506109b760048036038101906109b29190613dba565b612240565b005b3480156109c557600080fd5b506109ce612309565b6040516109db919061464c565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a575750610a56826123de565b5b9050919050565b606060038054610a6d90614e78565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9990614e78565b8015610ae65780601f10610abb57610100808354040283529160200191610ae6565b820191906000526020600020905b815481529060010190602001808311610ac957829003601f168201915b5050505050905090565b6000610afb826124c0565b610b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b31906149cc565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b80826116be565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be890614a6c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c1061252c565b73ffffffffffffffffffffffffffffffffffffffff161480610c3f5750610c3e81610c3961252c565b611f4a565b5b610c7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c759061494c565b60405180910390fd5b610c88838361253b565b505050565b606060006040518060600160405280600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020018873ffffffffffffffffffffffffffffffffffffffff168152602001878152509050610d1087828787876125f4565b610d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4690614a2c565b60405180910390fd5b610da26001600260008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546126fd90919063ffffffff16565b600260008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b873388604051610e18939291906145a7565b60405180910390a16000803073ffffffffffffffffffffffffffffffffffffffff16888a604051602001610e4d929190614491565b604051602081830303815290604052604051610e69919061447a565b6000604051808303816000865af19150503d8060008114610ea6576040519150601f19603f3d011682016040523d82523d6000602084013e610eab565b606091505b509150915081610ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee7906147cc565b60405180910390fd5b80935050505095945050505050565b6040518060400160405280600181526020017f310000000000000000000000000000000000000000000000000000000000000081525081565b6000600b80549050905090565b6000600154905090565b610f60610f5a61252c565b82612713565b610f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9690614a8c565b60405180910390fd5b610faa8383836127f1565b505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061100383611804565b8210611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b9061476c565b60405180910390fd5b600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000804690508091505090565b60145481565b6110b861252c565b73ffffffffffffffffffffffffffffffffffffffff166110d6611944565b73ffffffffffffffffffffffffffffffffffffffff161461112c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611123906149ec565b60405180910390fd5b61022b611137610f38565b601154836111459190614d1d565b61114f9190614c3c565b1115611190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118790614aac565b60405180910390fd5b8060108190555050565b6111b583838360405180602001604052806000815250611e37565b505050565b60156020528060005260406000206000915090505481565b60115481565b60006111e2610f38565b8210611223576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121a90614acc565b60405180910390fd5b600b828154811061125d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61127761252c565b73ffffffffffffffffffffffffffffffffffffffff16611295611944565b73ffffffffffffffffffffffffffffffffffffffff16146112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e2906149ec565b60405180910390fd5b8060139080519060200190611301929190613831565b5050565b6002600e54141561134b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134290614b0c565b60405180910390fd5b6002600e81905550600061135d610f38565b9050601054856011546113709190614c3c565b11156113b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a89061486c565b60405180910390fd5b60006014547f5747bafbd4c5707b1990e0aec4ba0ea3855c7d292251b20f8f0ee31eb8b732a533886040516020016113eb93929190614667565b6040516020818303038152906040528051906020012060405160200161141292919061450a565b60405160208183030381529060405280519060200120905060006001828787876040516000815260200160405260405161144f94939291906146e3565b6020604051602081039080840390855afa158015611471573d6000803e3d6000fd5b5050506020604051035190503073ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156114c357600080fd5b505afa1580156114d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114fb9190613a9f565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f90614a4c565b60405180910390fd5b86601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e19061482c565b60405180910390fd5b86601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8781101561166d5761165a336001838761164b9190614c3c565b6116559190614c3c565b612a4d565b808061166590614edb565b915050611631565b5086601160008282546116809190614c3c565b925050819055505050506001600e8190555050505050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e9061498c565b60405180910390fd5b80915050919050565b600f5481565b6013805461178390614e78565b80601f01602080910402602001604051908101604052809291908181526020018280546117af90614e78565b80156117fc5780601f106117d1576101008083540402835291602001916117fc565b820191906000526020600020905b8154815290600101906020018083116117df57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186c9061496c565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118c461252c565b73ffffffffffffffffffffffffffffffffffffffff166118e2611944565b73ffffffffffffffffffffffffffffffffffffffff1614611938576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192f906149ec565b60405180910390fd5b6119426000612a6b565b565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461197d90614e78565b80601f01602080910402602001604051908101604052809291908181526020018280546119a990614e78565b80156119f65780601f106119cb576101008083540402835291602001916119f6565b820191906000526020600020905b8154815290600101906020018083116119d957829003601f168201915b5050505050905090565b6002600e541415611a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3d90614b0c565b60405180910390fd5b6002600e819055506000611a58610f38565b9050600a821115611a9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9590614aec565b60405180910390fd5b60105461022b611aae9190614d1d565b8282611aba9190614c3c565b1115611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af290614aac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611b8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8490614b2c565b60405180910390fd5b600082600f54611b9d9190614cc3565b905034811115611be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd9906148cc565b60405180910390fd5b60005b83811015611c2157611c0e3360018386611bff9190614c3c565b611c099190614c3c565b612a4d565b8080611c1990614edb565b915050611be5565b50601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611c8a573d6000803e3d6000fd5b5080341115611ca957611ca8338234611ca39190614d1d565b612b31565b5b50506001600e8190555050565b611cbe61252c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d239061484c565b60405180910390fd5b8060086000611d3961252c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611de661252c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e2b9190614631565b60405180910390a35050565b611e48611e4261252c565b83612713565b611e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7e90614a8c565b60405180910390fd5b611e9384848484612c25565b50505050565b61022b81565b6060611ea9611edf565b611eb283612c81565b604051602001611ec39291906144b9565b6040516020818303038152906040529050919050565b60105481565b60606040518060400160405280601c81526020017f68747470733a2f2f627562626c6572636c75622e7765622e6170702f00000000815250905090565b6060611f26611edf565b604051602001611f3691906144e8565b604051602081830303815290604052905090565b600080601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611fc29190614556565b60206040518083038186803b158015611fda57600080fd5b505afa158015611fee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120129190613d50565b73ffffffffffffffffffffffffffffffffffffffff161415612038576001915050612046565b6120428484612e2e565b9150505b92915050565b61205461252c565b73ffffffffffffffffffffffffffffffffffffffff16612072611944565b73ffffffffffffffffffffffffffffffffffffffff16146120c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bf906149ec565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507fc714d22a2f08b695f81e7c707058db484aa5b4d6b4c9fd64beb10fe85832f608816040516121389190614571565b60405180910390a150565b61214b61252c565b73ffffffffffffffffffffffffffffffffffffffff16612169611944565b73ffffffffffffffffffffffffffffffffffffffff16146121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b6906149ec565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561222f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612226906147ac565b60405180910390fd5b61223881612a6b565b50565b600a81565b61224861252c565b73ffffffffffffffffffffffffffffffffffffffff16612266611944565b73ffffffffffffffffffffffffffffffffffffffff16146122bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b3906149ec565b60405180910390fd5b600081116122ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f69061492c565b60405180910390fd5b80600f8190555050565b7f5747bafbd4c5707b1990e0aec4ba0ea3855c7d292251b20f8f0ee31eb8b732a581565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156123d757600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff8183015116925050506123db565b3390505b90565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124a957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806124b957506124b882612ec2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600061253661232d565b905090565b816007600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166125ae836116be565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415612665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265c9061490c565b60405180910390fd5b600161267861267387612f2c565b612f94565b8386866040516000815260200160405260405161269894939291906146e3565b6020604051602081039080840390855afa1580156126ba573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b6000818361270b9190614c3c565b905092915050565b600061271e826124c0565b61275d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612754906148ec565b60405180910390fd5b6000612768836116be565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806127d757508373ffffffffffffffffffffffffffffffffffffffff166127bf84610af0565b73ffffffffffffffffffffffffffffffffffffffff16145b806127e857506127e78185611f4a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612811826116be565b73ffffffffffffffffffffffffffffffffffffffff1614612867576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285e90614a0c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156128d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ce9061480c565b60405180910390fd5b6128e2838383612fcd565b6128ed60008261253b565b6001600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461293d9190614d1d565b925050819055506001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129949190614c3c565b92505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612a678282604051806020016040528060008152506130e1565b5050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80471015612b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6b906148ac565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612b9a90614541565b60006040518083038185875af1925050503d8060008114612bd7576040519150601f19603f3d011682016040523d82523d6000602084013e612bdc565b606091505b5050905080612c20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c179061488c565b60405180910390fd5b505050565b612c308484846127f1565b612c3c8484848461313c565b612c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c729061478c565b60405180910390fd5b50505050565b60606000821415612cc9576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e29565b600082905060005b60008214612cfb578080612ce490614edb565b915050600a82612cf49190614c92565b9150612cd1565b60008167ffffffffffffffff811115612d3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d6f5781602001600182028036833780820191505090505b5090505b60008514612e2257600182612d889190614d1d565b9150600a85612d979190614f52565b6030612da39190614c3c565b60f81b818381518110612ddf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e1b9190614c92565b9450612d73565b8093505050505b919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000604051806080016040528060438152602001615911604391398051906020012082600001518360200151846040015180519060200120604051602001612f77949392919061469e565b604051602081830303815290604052805190602001209050919050565b6000612f9e610f45565b82604051602001612fb092919061450a565b604051602081830303815290604052805190602001209050919050565b612fd88383836132d3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561301b57613016816132d8565b61305a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613059576130588382613321565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561309d576130988161348e565b6130dc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146130db576130da82826135d1565b5b5b505050565b6130eb8383613650565b6130f8600084848461313c565b613137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312e9061478c565b60405180910390fd5b505050565b600061315d8473ffffffffffffffffffffffffffffffffffffffff1661381e565b156132c6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261318661252c565b8786866040518563ffffffff1660e01b81526004016131a894939291906145e5565b602060405180830381600087803b1580156131c257600080fd5b505af19250505080156131f357506040513d601f19601f820116820180604052508101906131f09190613d27565b60015b613276573d8060008114613223576040519150601f19603f3d011682016040523d82523d6000602084013e613228565b606091505b5060008151141561326e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132659061478c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132cb565b600190505b949350505050565b505050565b600b80549050600c600083815260200190815260200160002081905550600b81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161332e84611804565b6133389190614d1d565b90506000600a600084815260200190815260200160002054905081811461341d576000600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081600a600083815260200190815260200160002081905550505b600a600084815260200190815260200160002060009055600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600b805490506134a29190614d1d565b90506000600c60008481526020019081526020016000205490506000600b83815481106134f8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600b8381548110613540577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600c600083815260200190815260200160002081905550600c600085815260200190815260200160002060009055600b8054806135b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006135dc83611804565b905081600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080600a600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136b7906149ac565b60405180910390fd5b6136c9816124c0565b15613709576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613700906147ec565b60405180910390fd5b61371560008383612fcd565b6001600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137659190614c3c565b92505081905550816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461383d90614e78565b90600052602060002090601f01602090048101928261385f57600085556138a6565b82601f1061387857805160ff19168380011785556138a6565b828001600101855582156138a6579182015b828111156138a557825182559160200191906001019061388a565b5b5090506138b391906138b7565b5090565b5b808211156138d05760008160009055506001016138b8565b5090565b60006138e76138e284614b8c565b614b67565b9050828152602081018484840111156138ff57600080fd5b61390a848285614e36565b509392505050565b600061392561392084614bbd565b614b67565b90508281526020810184848401111561393d57600080fd5b613948848285614e36565b509392505050565b60008135905061395f81615858565b92915050565b60008151905061397481615858565b92915050565b6000813590506139898161586f565b92915050565b60008135905061399e81615886565b92915050565b6000813590506139b38161589d565b92915050565b6000813590506139c8816158b4565b92915050565b6000815190506139dd816158b4565b92915050565b600082601f8301126139f457600080fd5b8135613a048482602086016138d4565b91505092915050565b600081519050613a1c816158cb565b92915050565b600082601f830112613a3357600080fd5b8135613a43848260208601613912565b91505092915050565b600081359050613a5b816158e2565b92915050565b600081359050613a70816158f9565b92915050565b600060208284031215613a8857600080fd5b6000613a9684828501613950565b91505092915050565b600060208284031215613ab157600080fd5b6000613abf84828501613965565b91505092915050565b600060208284031215613ada57600080fd5b6000613ae88482850161397a565b91505092915050565b60008060408385031215613b0457600080fd5b6000613b1285828601613950565b9250506020613b2385828601613950565b9150509250929050565b600080600060608486031215613b4257600080fd5b6000613b5086828701613950565b9350506020613b6186828701613950565b9250506040613b7286828701613a4c565b9150509250925092565b60008060008060808587031215613b9257600080fd5b6000613ba087828801613950565b9450506020613bb187828801613950565b9350506040613bc287828801613a4c565b925050606085013567ffffffffffffffff811115613bdf57600080fd5b613beb878288016139e3565b91505092959194509250565b60008060408385031215613c0a57600080fd5b6000613c1885828601613950565b9250506020613c298582860161398f565b9150509250929050565b600080600080600060a08688031215613c4b57600080fd5b6000613c5988828901613950565b955050602086013567ffffffffffffffff811115613c7657600080fd5b613c82888289016139e3565b9450506040613c93888289016139a4565b9350506060613ca4888289016139a4565b9250506080613cb588828901613a61565b9150509295509295909350565b60008060408385031215613cd557600080fd5b6000613ce385828601613950565b9250506020613cf485828601613a4c565b9150509250929050565b600060208284031215613d1057600080fd5b6000613d1e848285016139b9565b91505092915050565b600060208284031215613d3957600080fd5b6000613d47848285016139ce565b91505092915050565b600060208284031215613d6257600080fd5b6000613d7084828501613a0d565b91505092915050565b600060208284031215613d8b57600080fd5b600082013567ffffffffffffffff811115613da557600080fd5b613db184828501613a22565b91505092915050565b600060208284031215613dcc57600080fd5b6000613dda84828501613a4c565b91505092915050565b60008060008060808587031215613df957600080fd5b6000613e0787828801613a4c565b9450506020613e1887828801613a61565b9350506040613e29878288016139a4565b9250506060613e3a878288016139a4565b91505092959194509250565b613e4f81614e00565b82525050565b613e5e81614d63565b82525050565b613e6d81614d51565b82525050565b613e84613e7f82614d51565b614f24565b82525050565b613e9381614d75565b82525050565b613ea281614d81565b82525050565b613eb9613eb482614d81565b614f36565b82525050565b6000613eca82614bee565b613ed48185614c04565b9350613ee4818560208601614e45565b613eed8161503f565b840191505092915050565b6000613f0382614bee565b613f0d8185614c15565b9350613f1d818560208601614e45565b80840191505092915050565b6000613f3482614bf9565b613f3e8185614c20565b9350613f4e818560208601614e45565b613f578161503f565b840191505092915050565b6000613f6d82614bf9565b613f778185614c31565b9350613f87818560208601614e45565b80840191505092915050565b6000613fa0602b83614c20565b9150613fab8261505d565b604082019050919050565b6000613fc3603283614c20565b9150613fce826150ac565b604082019050919050565b6000613fe6602683614c20565b9150613ff1826150fb565b604082019050919050565b6000614009601c83614c20565b91506140148261514a565b602082019050919050565b600061402c601c83614c20565b915061403782615173565b602082019050919050565b600061404f600283614c31565b915061405a8261519c565b600282019050919050565b6000614072602483614c20565b915061407d826151c5565b604082019050919050565b6000614095602583614c20565b91506140a082615214565b604082019050919050565b60006140b8601983614c20565b91506140c382615263565b602082019050919050565b60006140db600f83614c20565b91506140e68261528c565b602082019050919050565b60006140fe600e83614c31565b9150614109826152b5565b600e82019050919050565b6000614121603a83614c20565b915061412c826152de565b604082019050919050565b6000614144601d83614c20565b915061414f8261532d565b602082019050919050565b6000614167601c83614c20565b915061417282615356565b602082019050919050565b600061418a602c83614c20565b91506141958261537f565b604082019050919050565b60006141ad602583614c20565b91506141b8826153ce565b604082019050919050565b60006141d0600d83614c20565b91506141db8261541d565b602082019050919050565b60006141f3603883614c20565b91506141fe82615446565b604082019050919050565b6000614216602a83614c20565b915061422182615495565b604082019050919050565b6000614239602983614c20565b9150614244826154e4565b604082019050919050565b600061425c602083614c20565b915061426782615533565b602082019050919050565b600061427f602c83614c20565b915061428a8261555c565b604082019050919050565b60006142a2600583614c31565b91506142ad826155ab565b600582019050919050565b60006142c5602083614c20565b91506142d0826155d4565b602082019050919050565b60006142e8602983614c20565b91506142f3826155fd565b604082019050919050565b600061430b602183614c20565b91506143168261564c565b604082019050919050565b600061432e601d83614c20565b91506143398261569b565b602082019050919050565b6000614351602183614c20565b915061435c826156c4565b604082019050919050565b6000614374600083614c15565b915061437f82615713565b600082019050919050565b6000614397603183614c20565b91506143a282615716565b604082019050919050565b60006143ba601583614c20565b91506143c582615765565b602082019050919050565b60006143dd602c83614c20565b91506143e88261578e565b604082019050919050565b6000614400601783614c20565b915061440b826157dd565b602082019050919050565b6000614423601f83614c20565b915061442e82615806565b602082019050919050565b6000614446601383614c20565b91506144518261582f565b602082019050919050565b61446581614de9565b82525050565b61447481614df3565b82525050565b60006144868284613ef8565b915081905092915050565b600061449d8285613ef8565b91506144a98284613e73565b6014820191508190509392505050565b60006144c58285613f62565b91506144d18284613f62565b91506144dc82614295565b91508190509392505050565b60006144f48284613f62565b91506144ff826140f1565b915081905092915050565b600061451582614042565b91506145218285613ea8565b6020820191506145318284613ea8565b6020820191508190509392505050565b600061454c82614367565b9150819050919050565b600060208201905061456b6000830184613e64565b92915050565b60006020820190506145866000830184613e46565b92915050565b60006020820190506145a16000830184613e55565b92915050565b60006060820190506145bc6000830186613e64565b6145c96020830185613e55565b81810360408301526145db8184613ebf565b9050949350505050565b60006080820190506145fa6000830187613e64565b6146076020830186613e64565b614614604083018561445c565b81810360608301526146268184613ebf565b905095945050505050565b60006020820190506146466000830184613e8a565b92915050565b60006020820190506146616000830184613e99565b92915050565b600060608201905061467c6000830186613e99565b6146896020830185613e64565b614696604083018461445c565b949350505050565b60006080820190506146b36000830187613e99565b6146c0602083018661445c565b6146cd6040830185613e64565b6146da6060830184613e99565b95945050505050565b60006080820190506146f86000830187613e99565b614705602083018661446b565b6147126040830185613e99565b61471f6060830184613e99565b95945050505050565b600060208201905081810360008301526147428184613ebf565b905092915050565b600060208201905081810360008301526147648184613f29565b905092915050565b6000602082019050818103600083015261478581613f93565b9050919050565b600060208201905081810360008301526147a581613fb6565b9050919050565b600060208201905081810360008301526147c581613fd9565b9050919050565b600060208201905081810360008301526147e581613ffc565b9050919050565b600060208201905081810360008301526148058161401f565b9050919050565b6000602082019050818103600083015261482581614065565b9050919050565b6000602082019050818103600083015261484581614088565b9050919050565b60006020820190508181036000830152614865816140ab565b9050919050565b60006020820190508181036000830152614885816140ce565b9050919050565b600060208201905081810360008301526148a581614114565b9050919050565b600060208201905081810360008301526148c581614137565b9050919050565b600060208201905081810360008301526148e58161415a565b9050919050565b600060208201905081810360008301526149058161417d565b9050919050565b60006020820190508181036000830152614925816141a0565b9050919050565b60006020820190508181036000830152614945816141c3565b9050919050565b60006020820190508181036000830152614965816141e6565b9050919050565b6000602082019050818103600083015261498581614209565b9050919050565b600060208201905081810360008301526149a58161422c565b9050919050565b600060208201905081810360008301526149c58161424f565b9050919050565b600060208201905081810360008301526149e581614272565b9050919050565b60006020820190508181036000830152614a05816142b8565b9050919050565b60006020820190508181036000830152614a25816142db565b9050919050565b60006020820190508181036000830152614a45816142fe565b9050919050565b60006020820190508181036000830152614a6581614321565b9050919050565b60006020820190508181036000830152614a8581614344565b9050919050565b60006020820190508181036000830152614aa58161438a565b9050919050565b60006020820190508181036000830152614ac5816143ad565b9050919050565b60006020820190508181036000830152614ae5816143d0565b9050919050565b60006020820190508181036000830152614b05816143f3565b9050919050565b60006020820190508181036000830152614b2581614416565b9050919050565b60006020820190508181036000830152614b4581614439565b9050919050565b6000602082019050614b61600083018461445c565b92915050565b6000614b71614b82565b9050614b7d8282614eaa565b919050565b6000604051905090565b600067ffffffffffffffff821115614ba757614ba6615010565b5b614bb08261503f565b9050602081019050919050565b600067ffffffffffffffff821115614bd857614bd7615010565b5b614be18261503f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c4782614de9565b9150614c5283614de9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c8757614c86614f83565b5b828201905092915050565b6000614c9d82614de9565b9150614ca883614de9565b925082614cb857614cb7614fb2565b5b828204905092915050565b6000614cce82614de9565b9150614cd983614de9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d1257614d11614f83565b5b828202905092915050565b6000614d2882614de9565b9150614d3383614de9565b925082821015614d4657614d45614f83565b5b828203905092915050565b6000614d5c82614dc9565b9050919050565b6000614d6e82614dc9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614dc282614d51565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614e0b82614e12565b9050919050565b6000614e1d82614e24565b9050919050565b6000614e2f82614dc9565b9050919050565b82818337600083830152505050565b60005b83811015614e63578082015181840152602081019050614e48565b83811115614e72576000848401525b50505050565b60006002820490506001821680614e9057607f821691505b60208210811415614ea457614ea3614fe1565b5b50919050565b614eb38261503f565b810181811067ffffffffffffffff82111715614ed257614ed1615010565b5b80604052505050565b6000614ee682614de9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f1957614f18614f83565b5b600182019050919050565b6000614f2f82614f40565b9050919050565b6000819050919050565b6000614f4b82615050565b9050919050565b6000614f5d82614de9565b9150614f6883614de9565b925082614f7857614f77614fb2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f7369676e65644d696e743a207369676e617475726520697320616c726561647960008201527f2075736564000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4578636565647320726573657276650000000000000000000000000000000000600082015250565b7f73796d62696f7469632e6a736f6e000000000000000000000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f45544820616d6f756e74206973206e6f742073756666696369656e7400000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f696e76616c696420707269636500000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f7369676e65644d696e743a20696e76616c6964207369676e6174757265000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f45786365656473204d41585f53594d42494f5449430000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f457863656564732053594d42494f5449435f4c494d4954000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f5472656173757279206973206e6f742073657400000000000000000000000000600082015250565b61586181614d51565b811461586c57600080fd5b50565b61587881614d63565b811461588357600080fd5b50565b61588f81614d75565b811461589a57600080fd5b50565b6158a681614d81565b81146158b157600080fd5b50565b6158bd81614d8b565b81146158c857600080fd5b50565b6158d481614db7565b81146158df57600080fd5b50565b6158eb81614de9565b81146158f657600080fd5b50565b61590281614df3565b811461590d57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a26469706673582212205e6b78d2131b7ece525bccb54a48b390f2d493084b772a9b8594c9bd72e63aba64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000128eb878b70404fab0607367f9d879f04809fb0b000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
-----Decoded View---------------
Arg [0] : _treasury (address): 0x128eb878b70404FaB0607367f9D879f04809FB0b
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000128eb878b70404fab0607367f9d879f04809fb0b
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.