More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 14 from a total of 14 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 17497244 | 569 days ago | IN | 0 ETH | 0.00069282 | ||||
Safe Transfer Fr... | 16509569 | 709 days ago | IN | 0 ETH | 0.00109413 | ||||
Mint | 16501815 | 710 days ago | IN | 1 ETH | 0.00109766 | ||||
Transfer From | 16323020 | 735 days ago | IN | 0 ETH | 0.000798 | ||||
Transfer From | 16322554 | 735 days ago | IN | 0 ETH | 0.00092561 | ||||
Withdraw | 16315975 | 736 days ago | IN | 0 ETH | 0.00073451 | ||||
Mint | 16309743 | 736 days ago | IN | 1 ETH | 0.00116364 | ||||
Withdraw | 16305737 | 737 days ago | IN | 0 ETH | 0.00056083 | ||||
Mint | 16195875 | 752 days ago | IN | 1 ETH | 0.00105827 | ||||
Mint | 16187292 | 754 days ago | IN | 1 ETH | 0.00106144 | ||||
Mint | 16174239 | 755 days ago | IN | 1 ETH | 0.00117214 | ||||
Mint | 16173564 | 755 days ago | IN | 1 ETH | 0.0012329 | ||||
Set Uri Prefix | 16169725 | 756 days ago | IN | 0 ETH | 0.00107368 | ||||
Mint For Address | 16169328 | 756 days ago | IN | 0 ETH | 0.00420406 |
Loading...
Loading
Contract Name:
Payroll3RoyaltyClub
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT LICENSE /* * @title Payroll3 Royalty Club * @author Marcus J. Carey, @marcusjcarey * @notice Payroll3 Royalty Club is a ERC-721 Token that allows * profit sharing transactions from the Payroll3 platform. */ pragma solidity ^0.8.13; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/utils/Counters.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; contract Payroll3RoyaltyClub is ERC721, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter public supply; bool private paused = false; address public payee; mapping(address => bool) public admins; uint256 public cost = 1 ether; uint256 public maxSupply = 100; string uriPrefix = 'https://metaversable.mypinata.cloud/ipfs/QmWxgvAVDJzmMhGKU4WTgYpziCFGrQHGv4MVoyuwadSDnh/'; string uriSuffix = '.json'; constructor() ERC721('Payroll3 Royalty Club', 'P3RC') { admins[msg.sender] = true; payee = msg.sender; } modifier onlyAdmin() { require(admins[msg.sender], 'Sender not owner or admin.'); _; } function addAdmin(address _address) public onlyAdmin { admins[_address] = true; } function removeAdmin(address _address) public onlyOwner { admins[_address] = false; } function setPayee(address _payee) public onlyOwner { payee = _payee; } function mint() public payable { require( supply.current() < maxSupply, 'Max supply has already been minted.' ); require(msg.value >= cost, 'Payment is insufficient!'); _safeMint(msg.sender, supply.current() + 1); emit Minted(msg.sender, supply.current() + 1); supply.increment(); } function mintForAddress(address _address) public onlyAdmin { require( supply.current() < maxSupply, 'Max supply has already been minted.' ); _safeMint(_address, supply.current() + 1); emit Minted(msg.sender, supply.current() + 1); supply.increment(); } function walletOfOwner( address _owner ) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 0; uint256 ownedTokenIndex = 0; while ( ownedTokenIndex < ownerTokenCount && currentTokenId <= supply.current() ) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function setCost(uint256 _cost) public onlyAdmin { cost = _cost; } function setUriPrefix(string memory _uriPrefix) public onlyAdmin { uriPrefix = _uriPrefix; } function tokenURI( uint256 _tokenId ) public view override returns (string memory) { require( _exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token' ); return bytes(uriPrefix).length > 0 ? string( abi.encodePacked(uriPrefix, _tokenId.toString(), uriSuffix) ) : ''; } function withdraw() public onlyAdmin { (bool os, ) = payable(payee).call{value: address(this).balance}(''); require(os); } function withdrawToken(address _address) external onlyAdmin { IERC20 token = IERC20(_address); uint256 amount = token.balanceOf(address(this)); token.transfer(payee, amount); } receive() external payable { emit Received(msg.sender, msg.value); } fallback() external payable {} event Received(address, uint256); event Minted(address _address, uint256 _id); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) 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() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 { _transferOwnership(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"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"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":"_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"Received","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_payee","type":"address"}],"name":"setPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"_value","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":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526000600860006101000a81548160ff021916908315150217905550670de0b6b3a7640000600a556064600b556040518060800160405280605881526020016200443560589139600c90816200005a919062000549565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d9081620000a1919062000549565b50348015620000af57600080fd5b506040518060400160405280601581526020017f506179726f6c6c3320526f79616c747920436c756200000000000000000000008152506040518060400160405280600481526020017f503352430000000000000000000000000000000000000000000000000000000081525081600090816200012d919062000549565b5080600190816200013f919062000549565b50505062000162620001566200020160201b60201c565b6200020960201b60201c565b6001600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555033600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000630565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200035157607f821691505b60208210810362000367576200036662000309565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003d17fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000392565b620003dd868362000392565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200042a620004246200041e84620003f5565b620003ff565b620003f5565b9050919050565b6000819050919050565b620004468362000409565b6200045e620004558262000431565b8484546200039f565b825550505050565b600090565b6200047562000466565b620004828184846200043b565b505050565b5b81811015620004aa576200049e6000826200046b565b60018101905062000488565b5050565b601f821115620004f957620004c3816200036d565b620004ce8462000382565b81016020851015620004de578190505b620004f6620004ed8562000382565b83018262000487565b50505b505050565b600082821c905092915050565b60006200051e60001984600802620004fe565b1980831691505092915050565b60006200053983836200050b565b9150826002028217905092915050565b6200055482620002cf565b67ffffffffffffffff81111562000570576200056f620002da565b5b6200057c825462000338565b62000589828285620004ae565b600060209050601f831160018114620005c15760008415620005ac578287015190505b620005b885826200052b565b86555062000628565b601f198416620005d1866200036d565b60005b82811015620005fb57848901518255600182019150602085019450602081019050620005d4565b868310156200061b578489015162000617601f8916826200050b565b8355505b6001600288020188555050505b505050505050565b613df580620006406000396000f3fe6080604052600436106101dc5760003560e01c80634f2b93791161010257806395d89b4111610095578063c87b56dd11610064578063c87b56dd146106b2578063d5abeb01146106ef578063e985e9c51461071a578063f2fde38b146107575761021c565b806395d89b411461060a578063a22cb46514610635578063ae90b2131461065e578063b88d4fde146106895761021c565b8063715018a6116100d1578063715018a6146105765780637ec4a6591461058d57806389476069146105b65780638da5cb5b146105df5761021c565b80634f2b9379146104aa5780636352211e146104d3578063704802751461051057806370a08231146105395761021c565b80631785f53c1161017a57806342842e0e1161014957806342842e0e146103de578063429b62e514610407578063438b63001461044457806344a0d68a146104815761021c565b80631785f53c1461034c57806323b872dd146103755780633ccfd60b1461039e578063410459ad146103b55761021c565b8063081812fc116101b6578063081812fc146102b1578063095ea7b3146102ee5780631249c58b1461031757806313faede6146103215761021c565b806301ffc9a71461021e578063047fc9aa1461025b57806306fdde03146102865761021c565b3661021c577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161021292919061267f565b60405180910390a1005b005b34801561022a57600080fd5b5061024560048036038101906102409190612714565b610780565b604051610252919061275c565b60405180910390f35b34801561026757600080fd5b50610270610862565b60405161027d9190612777565b60405180910390f35b34801561029257600080fd5b5061029b61086e565b6040516102a8919061282b565b60405180910390f35b3480156102bd57600080fd5b506102d860048036038101906102d39190612879565b610900565b6040516102e591906128a6565b60405180910390f35b3480156102fa57600080fd5b50610315600480360381019061031091906128ed565b610946565b005b61031f610a5d565b005b34801561032d57600080fd5b50610336610b68565b6040516103439190612777565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e919061292d565b610b6e565b005b34801561038157600080fd5b5061039c6004803603810190610397919061295a565b610bd1565b005b3480156103aa57600080fd5b506103b3610c31565b005b3480156103c157600080fd5b506103dc60048036038101906103d7919061292d565b610d58565b005b3480156103ea57600080fd5b506104056004803603810190610400919061295a565b610da4565b005b34801561041357600080fd5b5061042e6004803603810190610429919061292d565b610dc4565b60405161043b919061275c565b60405180910390f35b34801561045057600080fd5b5061046b6004803603810190610466919061292d565b610de4565b6040516104789190612a6b565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a39190612879565b610ef0565b005b3480156104b657600080fd5b506104d160048036038101906104cc919061292d565b610f86565b005b3480156104df57600080fd5b506104fa60048036038101906104f59190612879565b6110d9565b60405161050791906128a6565b60405180910390f35b34801561051c57600080fd5b506105376004803603810190610532919061292d565b61118a565b005b34801561054557600080fd5b50610560600480360381019061055b919061292d565b611271565b60405161056d9190612777565b60405180910390f35b34801561058257600080fd5b5061058b611328565b005b34801561059957600080fd5b506105b460048036038101906105af9190612bc2565b61133c565b005b3480156105c257600080fd5b506105dd60048036038101906105d8919061292d565b6113db565b005b3480156105eb57600080fd5b506105f4611590565b60405161060191906128a6565b60405180910390f35b34801561061657600080fd5b5061061f6115ba565b60405161062c919061282b565b60405180910390f35b34801561064157600080fd5b5061065c60048036038101906106579190612c37565b61164c565b005b34801561066a57600080fd5b50610673611662565b60405161068091906128a6565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab9190612d18565b611688565b005b3480156106be57600080fd5b506106d960048036038101906106d49190612879565b6116ea565b6040516106e6919061282b565b60405180910390f35b3480156106fb57600080fd5b50610704611795565b6040516107119190612777565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190612d9b565b61179b565b60405161074e919061275c565b60405180910390f35b34801561076357600080fd5b5061077e6004803603810190610779919061292d565b61182f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061085b575061085a826118b2565b5b9050919050565b60078060000154905081565b60606000805461087d90612e0a565b80601f01602080910402602001604051908101604052809291908181526020018280546108a990612e0a565b80156108f65780601f106108cb576101008083540402835291602001916108f6565b820191906000526020600020905b8154815290600101906020018083116108d957829003601f168201915b5050505050905090565b600061090b8261191c565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610951826110d9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b890612ead565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109e0611967565b73ffffffffffffffffffffffffffffffffffffffff161480610a0f5750610a0e81610a09611967565b61179b565b5b610a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4590612f3f565b60405180910390fd5b610a58838361196f565b505050565b600b54610a6a6007611a28565b10610aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa190612fd1565b60405180910390fd5b600a54341015610aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae69061303d565b60405180910390fd5b610b0e336001610aff6007611a28565b610b09919061308c565b611a36565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe336001610b3c6007611a28565b610b46919061308c565b604051610b5492919061267f565b60405180910390a1610b666007611a54565b565b600a5481565b610b76611a6a565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610be2610bdc611967565b82611ae8565b610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890613154565b60405180910390fd5b610c2c838383611b7d565b505050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb4906131c0565b60405180910390fd5b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610d0590613211565b60006040518083038185875af1925050503d8060008114610d42576040519150601f19603f3d011682016040523d82523d6000602084013e610d47565b606091505b5050905080610d5557600080fd5b50565b610d60611a6a565b80600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610dbf83838360405180602001604052806000815250611688565b505050565b60096020528060005260406000206000915054906101000a900460ff1681565b60606000610df183611271565b905060008167ffffffffffffffff811115610e0f57610e0e612a97565b5b604051908082528060200260200182016040528015610e3d5781602001602082028036833780820191505090505b5090506000805b8381108015610e5c5750610e586007611a28565b8211155b15610ee4576000610e6c836110d9565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ed05782848381518110610eb557610eb4613226565b5b6020026020010181815250508180610ecc90613255565b9250505b8280610edb90613255565b93505050610e44565b82945050505050919050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f73906131c0565b60405180910390fd5b80600a8190555050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611012576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611009906131c0565b60405180910390fd5b600b5461101f6007611a28565b1061105f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105690612fd1565b60405180910390fd5b61107e81600161106f6007611a28565b611079919061308c565b611a36565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe3360016110ac6007611a28565b6110b6919061308c565b6040516110c492919061267f565b60405180910390a16110d66007611a54565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611181576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611178906132e9565b60405180910390fd5b80915050919050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d906131c0565b60405180910390fd5b6001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d89061337b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611330611a6a565b61133a6000611de3565b565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166113c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bf906131c0565b60405180910390fd5b80600c90816113d79190613547565b5050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145e906131c0565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114a791906128a6565b602060405180830381865afa1580156114c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e8919061362e565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b815260040161154792919061267f565b6020604051808303816000875af1158015611566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158a9190613670565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115c990612e0a565b80601f01602080910402602001604051908101604052809291908181526020018280546115f590612e0a565b80156116425780601f1061161757610100808354040283529160200191611642565b820191906000526020600020905b81548152906001019060200180831161162557829003601f168201915b5050505050905090565b61165e611657611967565b8383611ea9565b5050565b600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611699611693611967565b83611ae8565b6116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf90613154565b60405180910390fd5b6116e484848484612015565b50505050565b60606116f582612071565b611734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172b9061370f565b60405180910390fd5b6000600c805461174390612e0a565b90501161175f576040518060200160405280600081525061178e565b600c61176a836120dd565b600d60405160200161177e939291906137ee565b6040516020818303038152906040525b9050919050565b600b5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611837611a6a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90613891565b60405180910390fd5b6118af81611de3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61192581612071565b611964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195b906132e9565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119e2836110d9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b611a5082826040518060200160405280600081525061223d565b5050565b6001816000016000828254019250508190555050565b611a72611967565b73ffffffffffffffffffffffffffffffffffffffff16611a90611590565b73ffffffffffffffffffffffffffffffffffffffff1614611ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611add906138fd565b60405180910390fd5b565b600080611af4836110d9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b365750611b35818561179b565b5b80611b7457508373ffffffffffffffffffffffffffffffffffffffff16611b5c84610900565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b9d826110d9565b73ffffffffffffffffffffffffffffffffffffffff1614611bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bea9061398f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5990613a21565b60405180910390fd5b611c6d838383612298565b611c7860008261196f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cc89190613a41565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d1f919061308c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611dde83838361229d565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e90613ac1565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612008919061275c565b60405180910390a3505050565b612020848484611b7d565b61202c848484846122a2565b61206b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290613b53565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203612124576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612238565b600082905060005b6000821461215657808061213f90613255565b915050600a8261214f9190613ba2565b915061212c565b60008167ffffffffffffffff81111561217257612171612a97565b5b6040519080825280601f01601f1916602001820160405280156121a45781602001600182028036833780820191505090505b5090505b60008514612231576001826121bd9190613a41565b9150600a856121cc9190613bd3565b60306121d8919061308c565b60f81b8183815181106121ee576121ed613226565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561222a9190613ba2565b94506121a8565b8093505050505b919050565b6122478383612429565b61225460008484846122a2565b612293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228a90613b53565b60405180910390fd5b505050565b505050565b505050565b60006122c38473ffffffffffffffffffffffffffffffffffffffff16612602565b1561241c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122ec611967565b8786866040518563ffffffff1660e01b815260040161230e9493929190613c59565b6020604051808303816000875af192505050801561234a57506040513d601f19601f820116820180604052508101906123479190613cba565b60015b6123cc573d806000811461237a576040519150601f19603f3d011682016040523d82523d6000602084013e61237f565b606091505b5060008151036123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90613b53565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612421565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248f90613d33565b60405180910390fd5b6124a181612071565b156124e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d890613d9f565b60405180910390fd5b6124ed60008383612298565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461253d919061308c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125fe6000838361229d565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061265082612625565b9050919050565b61266081612645565b82525050565b6000819050919050565b61267981612666565b82525050565b60006040820190506126946000830185612657565b6126a16020830184612670565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126f1816126bc565b81146126fc57600080fd5b50565b60008135905061270e816126e8565b92915050565b60006020828403121561272a576127296126b2565b5b6000612738848285016126ff565b91505092915050565b60008115159050919050565b61275681612741565b82525050565b6000602082019050612771600083018461274d565b92915050565b600060208201905061278c6000830184612670565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127cc5780820151818401526020810190506127b1565b838111156127db576000848401525b50505050565b6000601f19601f8301169050919050565b60006127fd82612792565b612807818561279d565b93506128178185602086016127ae565b612820816127e1565b840191505092915050565b6000602082019050818103600083015261284581846127f2565b905092915050565b61285681612666565b811461286157600080fd5b50565b6000813590506128738161284d565b92915050565b60006020828403121561288f5761288e6126b2565b5b600061289d84828501612864565b91505092915050565b60006020820190506128bb6000830184612657565b92915050565b6128ca81612645565b81146128d557600080fd5b50565b6000813590506128e7816128c1565b92915050565b60008060408385031215612904576129036126b2565b5b6000612912858286016128d8565b925050602061292385828601612864565b9150509250929050565b600060208284031215612943576129426126b2565b5b6000612951848285016128d8565b91505092915050565b600080600060608486031215612973576129726126b2565b5b6000612981868287016128d8565b9350506020612992868287016128d8565b92505060406129a386828701612864565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6129e281612666565b82525050565b60006129f483836129d9565b60208301905092915050565b6000602082019050919050565b6000612a18826129ad565b612a2281856129b8565b9350612a2d836129c9565b8060005b83811015612a5e578151612a4588826129e8565b9750612a5083612a00565b925050600181019050612a31565b5085935050505092915050565b60006020820190508181036000830152612a858184612a0d565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612acf826127e1565b810181811067ffffffffffffffff82111715612aee57612aed612a97565b5b80604052505050565b6000612b016126a8565b9050612b0d8282612ac6565b919050565b600067ffffffffffffffff821115612b2d57612b2c612a97565b5b612b36826127e1565b9050602081019050919050565b82818337600083830152505050565b6000612b65612b6084612b12565b612af7565b905082815260208101848484011115612b8157612b80612a92565b5b612b8c848285612b43565b509392505050565b600082601f830112612ba957612ba8612a8d565b5b8135612bb9848260208601612b52565b91505092915050565b600060208284031215612bd857612bd76126b2565b5b600082013567ffffffffffffffff811115612bf657612bf56126b7565b5b612c0284828501612b94565b91505092915050565b612c1481612741565b8114612c1f57600080fd5b50565b600081359050612c3181612c0b565b92915050565b60008060408385031215612c4e57612c4d6126b2565b5b6000612c5c858286016128d8565b9250506020612c6d85828601612c22565b9150509250929050565b600067ffffffffffffffff821115612c9257612c91612a97565b5b612c9b826127e1565b9050602081019050919050565b6000612cbb612cb684612c77565b612af7565b905082815260208101848484011115612cd757612cd6612a92565b5b612ce2848285612b43565b509392505050565b600082601f830112612cff57612cfe612a8d565b5b8135612d0f848260208601612ca8565b91505092915050565b60008060008060808587031215612d3257612d316126b2565b5b6000612d40878288016128d8565b9450506020612d51878288016128d8565b9350506040612d6287828801612864565b925050606085013567ffffffffffffffff811115612d8357612d826126b7565b5b612d8f87828801612cea565b91505092959194509250565b60008060408385031215612db257612db16126b2565b5b6000612dc0858286016128d8565b9250506020612dd1858286016128d8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e2257607f821691505b602082108103612e3557612e34612ddb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e9760218361279d565b9150612ea282612e3b565b604082019050919050565b60006020820190508181036000830152612ec681612e8a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612f29603e8361279d565b9150612f3482612ecd565b604082019050919050565b60006020820190508181036000830152612f5881612f1c565b9050919050565b7f4d617820737570706c792068617320616c7265616479206265656e206d696e7460008201527f65642e0000000000000000000000000000000000000000000000000000000000602082015250565b6000612fbb60238361279d565b9150612fc682612f5f565b604082019050919050565b60006020820190508181036000830152612fea81612fae565b9050919050565b7f5061796d656e7420697320696e73756666696369656e74210000000000000000600082015250565b600061302760188361279d565b915061303282612ff1565b602082019050919050565b600060208201905081810360008301526130568161301a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061309782612666565b91506130a283612666565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156130d7576130d661305d565b5b828201905092915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061313e602e8361279d565b9150613149826130e2565b604082019050919050565b6000602082019050818103600083015261316d81613131565b9050919050565b7f53656e646572206e6f74206f776e6572206f722061646d696e2e000000000000600082015250565b60006131aa601a8361279d565b91506131b582613174565b602082019050919050565b600060208201905081810360008301526131d98161319d565b9050919050565b600081905092915050565b50565b60006131fb6000836131e0565b9150613206826131eb565b600082019050919050565b600061321c826131ee565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061326082612666565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036132925761329161305d565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006132d360188361279d565b91506132de8261329d565b602082019050919050565b60006020820190508181036000830152613302816132c6565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061336560298361279d565b915061337082613309565b604082019050919050565b6000602082019050818103600083015261339481613358565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026133fd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826133c0565b61340786836133c0565b95508019841693508086168417925050509392505050565b6000819050919050565b600061344461343f61343a84612666565b61341f565b612666565b9050919050565b6000819050919050565b61345e83613429565b61347261346a8261344b565b8484546133cd565b825550505050565b600090565b61348761347a565b613492818484613455565b505050565b5b818110156134b6576134ab60008261347f565b600181019050613498565b5050565b601f8211156134fb576134cc8161339b565b6134d5846133b0565b810160208510156134e4578190505b6134f86134f0856133b0565b830182613497565b50505b505050565b600082821c905092915050565b600061351e60001984600802613500565b1980831691505092915050565b6000613537838361350d565b9150826002028217905092915050565b61355082612792565b67ffffffffffffffff81111561356957613568612a97565b5b6135738254612e0a565b61357e8282856134ba565b600060209050601f8311600181146135b1576000841561359f578287015190505b6135a9858261352b565b865550613611565b601f1984166135bf8661339b565b60005b828110156135e7578489015182556001820191506020850194506020810190506135c2565b868310156136045784890151613600601f89168261350d565b8355505b6001600288020188555050505b505050505050565b6000815190506136288161284d565b92915050565b600060208284031215613644576136436126b2565b5b600061365284828501613619565b91505092915050565b60008151905061366a81612c0b565b92915050565b600060208284031215613686576136856126b2565b5b60006136948482850161365b565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006136f9602f8361279d565b91506137048261369d565b604082019050919050565b60006020820190508181036000830152613728816136ec565b9050919050565b600081905092915050565b6000815461374781612e0a565b613751818661372f565b9450600182166000811461376c5760018114613781576137b4565b60ff19831686528115158202860193506137b4565b61378a8561339b565b60005b838110156137ac5781548189015260018201915060208101905061378d565b838801955050505b50505092915050565b60006137c882612792565b6137d2818561372f565b93506137e28185602086016127ae565b80840191505092915050565b60006137fa828661373a565b915061380682856137bd565b9150613812828461373a565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061387b60268361279d565b91506138868261381f565b604082019050919050565b600060208201905081810360008301526138aa8161386e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138e760208361279d565b91506138f2826138b1565b602082019050919050565b60006020820190508181036000830152613916816138da565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061397960258361279d565b91506139848261391d565b604082019050919050565b600060208201905081810360008301526139a88161396c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a0b60248361279d565b9150613a16826139af565b604082019050919050565b60006020820190508181036000830152613a3a816139fe565b9050919050565b6000613a4c82612666565b9150613a5783612666565b925082821015613a6a57613a6961305d565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613aab60198361279d565b9150613ab682613a75565b602082019050919050565b60006020820190508181036000830152613ada81613a9e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613b3d60328361279d565b9150613b4882613ae1565b604082019050919050565b60006020820190508181036000830152613b6c81613b30565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613bad82612666565b9150613bb883612666565b925082613bc857613bc7613b73565b5b828204905092915050565b6000613bde82612666565b9150613be983612666565b925082613bf957613bf8613b73565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000613c2b82613c04565b613c358185613c0f565b9350613c458185602086016127ae565b613c4e816127e1565b840191505092915050565b6000608082019050613c6e6000830187612657565b613c7b6020830186612657565b613c886040830185612670565b8181036060830152613c9a8184613c20565b905095945050505050565b600081519050613cb4816126e8565b92915050565b600060208284031215613cd057613ccf6126b2565b5b6000613cde84828501613ca5565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613d1d60208361279d565b9150613d2882613ce7565b602082019050919050565b60006020820190508181036000830152613d4c81613d10565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613d89601c8361279d565b9150613d9482613d53565b602082019050919050565b60006020820190508181036000830152613db881613d7c565b905091905056fea2646970667358221220518a6ba4bd55dec321c66f81708e237306280192e5641db2676ea6610d2ffde764736f6c634300080f003368747470733a2f2f6d6574617665727361626c652e6d7970696e6174612e636c6f75642f697066732f516d577867764156444a7a6d4d68474b553457546759707a694346477251484776344d566f797577616453446e682f
Deployed Bytecode
0x6080604052600436106101dc5760003560e01c80634f2b93791161010257806395d89b4111610095578063c87b56dd11610064578063c87b56dd146106b2578063d5abeb01146106ef578063e985e9c51461071a578063f2fde38b146107575761021c565b806395d89b411461060a578063a22cb46514610635578063ae90b2131461065e578063b88d4fde146106895761021c565b8063715018a6116100d1578063715018a6146105765780637ec4a6591461058d57806389476069146105b65780638da5cb5b146105df5761021c565b80634f2b9379146104aa5780636352211e146104d3578063704802751461051057806370a08231146105395761021c565b80631785f53c1161017a57806342842e0e1161014957806342842e0e146103de578063429b62e514610407578063438b63001461044457806344a0d68a146104815761021c565b80631785f53c1461034c57806323b872dd146103755780633ccfd60b1461039e578063410459ad146103b55761021c565b8063081812fc116101b6578063081812fc146102b1578063095ea7b3146102ee5780631249c58b1461031757806313faede6146103215761021c565b806301ffc9a71461021e578063047fc9aa1461025b57806306fdde03146102865761021c565b3661021c577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161021292919061267f565b60405180910390a1005b005b34801561022a57600080fd5b5061024560048036038101906102409190612714565b610780565b604051610252919061275c565b60405180910390f35b34801561026757600080fd5b50610270610862565b60405161027d9190612777565b60405180910390f35b34801561029257600080fd5b5061029b61086e565b6040516102a8919061282b565b60405180910390f35b3480156102bd57600080fd5b506102d860048036038101906102d39190612879565b610900565b6040516102e591906128a6565b60405180910390f35b3480156102fa57600080fd5b50610315600480360381019061031091906128ed565b610946565b005b61031f610a5d565b005b34801561032d57600080fd5b50610336610b68565b6040516103439190612777565b60405180910390f35b34801561035857600080fd5b50610373600480360381019061036e919061292d565b610b6e565b005b34801561038157600080fd5b5061039c6004803603810190610397919061295a565b610bd1565b005b3480156103aa57600080fd5b506103b3610c31565b005b3480156103c157600080fd5b506103dc60048036038101906103d7919061292d565b610d58565b005b3480156103ea57600080fd5b506104056004803603810190610400919061295a565b610da4565b005b34801561041357600080fd5b5061042e6004803603810190610429919061292d565b610dc4565b60405161043b919061275c565b60405180910390f35b34801561045057600080fd5b5061046b6004803603810190610466919061292d565b610de4565b6040516104789190612a6b565b60405180910390f35b34801561048d57600080fd5b506104a860048036038101906104a39190612879565b610ef0565b005b3480156104b657600080fd5b506104d160048036038101906104cc919061292d565b610f86565b005b3480156104df57600080fd5b506104fa60048036038101906104f59190612879565b6110d9565b60405161050791906128a6565b60405180910390f35b34801561051c57600080fd5b506105376004803603810190610532919061292d565b61118a565b005b34801561054557600080fd5b50610560600480360381019061055b919061292d565b611271565b60405161056d9190612777565b60405180910390f35b34801561058257600080fd5b5061058b611328565b005b34801561059957600080fd5b506105b460048036038101906105af9190612bc2565b61133c565b005b3480156105c257600080fd5b506105dd60048036038101906105d8919061292d565b6113db565b005b3480156105eb57600080fd5b506105f4611590565b60405161060191906128a6565b60405180910390f35b34801561061657600080fd5b5061061f6115ba565b60405161062c919061282b565b60405180910390f35b34801561064157600080fd5b5061065c60048036038101906106579190612c37565b61164c565b005b34801561066a57600080fd5b50610673611662565b60405161068091906128a6565b60405180910390f35b34801561069557600080fd5b506106b060048036038101906106ab9190612d18565b611688565b005b3480156106be57600080fd5b506106d960048036038101906106d49190612879565b6116ea565b6040516106e6919061282b565b60405180910390f35b3480156106fb57600080fd5b50610704611795565b6040516107119190612777565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190612d9b565b61179b565b60405161074e919061275c565b60405180910390f35b34801561076357600080fd5b5061077e6004803603810190610779919061292d565b61182f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061085b575061085a826118b2565b5b9050919050565b60078060000154905081565b60606000805461087d90612e0a565b80601f01602080910402602001604051908101604052809291908181526020018280546108a990612e0a565b80156108f65780601f106108cb576101008083540402835291602001916108f6565b820191906000526020600020905b8154815290600101906020018083116108d957829003601f168201915b5050505050905090565b600061090b8261191c565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610951826110d9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b890612ead565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109e0611967565b73ffffffffffffffffffffffffffffffffffffffff161480610a0f5750610a0e81610a09611967565b61179b565b5b610a4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4590612f3f565b60405180910390fd5b610a58838361196f565b505050565b600b54610a6a6007611a28565b10610aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa190612fd1565b60405180910390fd5b600a54341015610aef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae69061303d565b60405180910390fd5b610b0e336001610aff6007611a28565b610b09919061308c565b611a36565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe336001610b3c6007611a28565b610b46919061308c565b604051610b5492919061267f565b60405180910390a1610b666007611a54565b565b600a5481565b610b76611a6a565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610be2610bdc611967565b82611ae8565b610c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1890613154565b60405180910390fd5b610c2c838383611b7d565b505050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb4906131c0565b60405180910390fd5b6000600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610d0590613211565b60006040518083038185875af1925050503d8060008114610d42576040519150601f19603f3d011682016040523d82523d6000602084013e610d47565b606091505b5050905080610d5557600080fd5b50565b610d60611a6a565b80600860016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610dbf83838360405180602001604052806000815250611688565b505050565b60096020528060005260406000206000915054906101000a900460ff1681565b60606000610df183611271565b905060008167ffffffffffffffff811115610e0f57610e0e612a97565b5b604051908082528060200260200182016040528015610e3d5781602001602082028036833780820191505090505b5090506000805b8381108015610e5c5750610e586007611a28565b8211155b15610ee4576000610e6c836110d9565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ed05782848381518110610eb557610eb4613226565b5b6020026020010181815250508180610ecc90613255565b9250505b8280610edb90613255565b93505050610e44565b82945050505050919050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f73906131c0565b60405180910390fd5b80600a8190555050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611012576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611009906131c0565b60405180910390fd5b600b5461101f6007611a28565b1061105f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105690612fd1565b60405180910390fd5b61107e81600161106f6007611a28565b611079919061308c565b611a36565b7f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe3360016110ac6007611a28565b6110b6919061308c565b6040516110c492919061267f565b60405180910390a16110d66007611a54565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611181576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611178906132e9565b60405180910390fd5b80915050919050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120d906131c0565b60405180910390fd5b6001600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d89061337b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611330611a6a565b61133a6000611de3565b565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166113c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bf906131c0565b60405180910390fd5b80600c90816113d79190613547565b5050565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145e906131c0565b60405180910390fd5b600081905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114a791906128a6565b602060405180830381865afa1580156114c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e8919061362e565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b815260040161154792919061267f565b6020604051808303816000875af1158015611566573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158a9190613670565b50505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115c990612e0a565b80601f01602080910402602001604051908101604052809291908181526020018280546115f590612e0a565b80156116425780601f1061161757610100808354040283529160200191611642565b820191906000526020600020905b81548152906001019060200180831161162557829003601f168201915b5050505050905090565b61165e611657611967565b8383611ea9565b5050565b600860019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611699611693611967565b83611ae8565b6116d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cf90613154565b60405180910390fd5b6116e484848484612015565b50505050565b60606116f582612071565b611734576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172b9061370f565b60405180910390fd5b6000600c805461174390612e0a565b90501161175f576040518060200160405280600081525061178e565b600c61176a836120dd565b600d60405160200161177e939291906137ee565b6040516020818303038152906040525b9050919050565b600b5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611837611a6a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036118a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189d90613891565b60405180910390fd5b6118af81611de3565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61192581612071565b611964576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195b906132e9565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119e2836110d9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b611a5082826040518060200160405280600081525061223d565b5050565b6001816000016000828254019250508190555050565b611a72611967565b73ffffffffffffffffffffffffffffffffffffffff16611a90611590565b73ffffffffffffffffffffffffffffffffffffffff1614611ae6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611add906138fd565b60405180910390fd5b565b600080611af4836110d9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b365750611b35818561179b565b5b80611b7457508373ffffffffffffffffffffffffffffffffffffffff16611b5c84610900565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b9d826110d9565b73ffffffffffffffffffffffffffffffffffffffff1614611bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bea9061398f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611c62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5990613a21565b60405180910390fd5b611c6d838383612298565b611c7860008261196f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cc89190613a41565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d1f919061308c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611dde83838361229d565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611f17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0e90613ac1565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612008919061275c565b60405180910390a3505050565b612020848484611b7d565b61202c848484846122a2565b61206b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206290613b53565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203612124576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612238565b600082905060005b6000821461215657808061213f90613255565b915050600a8261214f9190613ba2565b915061212c565b60008167ffffffffffffffff81111561217257612171612a97565b5b6040519080825280601f01601f1916602001820160405280156121a45781602001600182028036833780820191505090505b5090505b60008514612231576001826121bd9190613a41565b9150600a856121cc9190613bd3565b60306121d8919061308c565b60f81b8183815181106121ee576121ed613226565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561222a9190613ba2565b94506121a8565b8093505050505b919050565b6122478383612429565b61225460008484846122a2565b612293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228a90613b53565b60405180910390fd5b505050565b505050565b505050565b60006122c38473ffffffffffffffffffffffffffffffffffffffff16612602565b1561241c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122ec611967565b8786866040518563ffffffff1660e01b815260040161230e9493929190613c59565b6020604051808303816000875af192505050801561234a57506040513d601f19601f820116820180604052508101906123479190613cba565b60015b6123cc573d806000811461237a576040519150601f19603f3d011682016040523d82523d6000602084013e61237f565b606091505b5060008151036123c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bb90613b53565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612421565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161248f90613d33565b60405180910390fd5b6124a181612071565b156124e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d890613d9f565b60405180910390fd5b6124ed60008383612298565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461253d919061308c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125fe6000838361229d565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061265082612625565b9050919050565b61266081612645565b82525050565b6000819050919050565b61267981612666565b82525050565b60006040820190506126946000830185612657565b6126a16020830184612670565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6126f1816126bc565b81146126fc57600080fd5b50565b60008135905061270e816126e8565b92915050565b60006020828403121561272a576127296126b2565b5b6000612738848285016126ff565b91505092915050565b60008115159050919050565b61275681612741565b82525050565b6000602082019050612771600083018461274d565b92915050565b600060208201905061278c6000830184612670565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156127cc5780820151818401526020810190506127b1565b838111156127db576000848401525b50505050565b6000601f19601f8301169050919050565b60006127fd82612792565b612807818561279d565b93506128178185602086016127ae565b612820816127e1565b840191505092915050565b6000602082019050818103600083015261284581846127f2565b905092915050565b61285681612666565b811461286157600080fd5b50565b6000813590506128738161284d565b92915050565b60006020828403121561288f5761288e6126b2565b5b600061289d84828501612864565b91505092915050565b60006020820190506128bb6000830184612657565b92915050565b6128ca81612645565b81146128d557600080fd5b50565b6000813590506128e7816128c1565b92915050565b60008060408385031215612904576129036126b2565b5b6000612912858286016128d8565b925050602061292385828601612864565b9150509250929050565b600060208284031215612943576129426126b2565b5b6000612951848285016128d8565b91505092915050565b600080600060608486031215612973576129726126b2565b5b6000612981868287016128d8565b9350506020612992868287016128d8565b92505060406129a386828701612864565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6129e281612666565b82525050565b60006129f483836129d9565b60208301905092915050565b6000602082019050919050565b6000612a18826129ad565b612a2281856129b8565b9350612a2d836129c9565b8060005b83811015612a5e578151612a4588826129e8565b9750612a5083612a00565b925050600181019050612a31565b5085935050505092915050565b60006020820190508181036000830152612a858184612a0d565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612acf826127e1565b810181811067ffffffffffffffff82111715612aee57612aed612a97565b5b80604052505050565b6000612b016126a8565b9050612b0d8282612ac6565b919050565b600067ffffffffffffffff821115612b2d57612b2c612a97565b5b612b36826127e1565b9050602081019050919050565b82818337600083830152505050565b6000612b65612b6084612b12565b612af7565b905082815260208101848484011115612b8157612b80612a92565b5b612b8c848285612b43565b509392505050565b600082601f830112612ba957612ba8612a8d565b5b8135612bb9848260208601612b52565b91505092915050565b600060208284031215612bd857612bd76126b2565b5b600082013567ffffffffffffffff811115612bf657612bf56126b7565b5b612c0284828501612b94565b91505092915050565b612c1481612741565b8114612c1f57600080fd5b50565b600081359050612c3181612c0b565b92915050565b60008060408385031215612c4e57612c4d6126b2565b5b6000612c5c858286016128d8565b9250506020612c6d85828601612c22565b9150509250929050565b600067ffffffffffffffff821115612c9257612c91612a97565b5b612c9b826127e1565b9050602081019050919050565b6000612cbb612cb684612c77565b612af7565b905082815260208101848484011115612cd757612cd6612a92565b5b612ce2848285612b43565b509392505050565b600082601f830112612cff57612cfe612a8d565b5b8135612d0f848260208601612ca8565b91505092915050565b60008060008060808587031215612d3257612d316126b2565b5b6000612d40878288016128d8565b9450506020612d51878288016128d8565b9350506040612d6287828801612864565b925050606085013567ffffffffffffffff811115612d8357612d826126b7565b5b612d8f87828801612cea565b91505092959194509250565b60008060408385031215612db257612db16126b2565b5b6000612dc0858286016128d8565b9250506020612dd1858286016128d8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612e2257607f821691505b602082108103612e3557612e34612ddb565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e9760218361279d565b9150612ea282612e3b565b604082019050919050565b60006020820190508181036000830152612ec681612e8a565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612f29603e8361279d565b9150612f3482612ecd565b604082019050919050565b60006020820190508181036000830152612f5881612f1c565b9050919050565b7f4d617820737570706c792068617320616c7265616479206265656e206d696e7460008201527f65642e0000000000000000000000000000000000000000000000000000000000602082015250565b6000612fbb60238361279d565b9150612fc682612f5f565b604082019050919050565b60006020820190508181036000830152612fea81612fae565b9050919050565b7f5061796d656e7420697320696e73756666696369656e74210000000000000000600082015250565b600061302760188361279d565b915061303282612ff1565b602082019050919050565b600060208201905081810360008301526130568161301a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061309782612666565b91506130a283612666565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156130d7576130d661305d565b5b828201905092915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b600061313e602e8361279d565b9150613149826130e2565b604082019050919050565b6000602082019050818103600083015261316d81613131565b9050919050565b7f53656e646572206e6f74206f776e6572206f722061646d696e2e000000000000600082015250565b60006131aa601a8361279d565b91506131b582613174565b602082019050919050565b600060208201905081810360008301526131d98161319d565b9050919050565b600081905092915050565b50565b60006131fb6000836131e0565b9150613206826131eb565b600082019050919050565b600061321c826131ee565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061326082612666565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036132925761329161305d565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006132d360188361279d565b91506132de8261329d565b602082019050919050565b60006020820190508181036000830152613302816132c6565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061336560298361279d565b915061337082613309565b604082019050919050565b6000602082019050818103600083015261339481613358565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026133fd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826133c0565b61340786836133c0565b95508019841693508086168417925050509392505050565b6000819050919050565b600061344461343f61343a84612666565b61341f565b612666565b9050919050565b6000819050919050565b61345e83613429565b61347261346a8261344b565b8484546133cd565b825550505050565b600090565b61348761347a565b613492818484613455565b505050565b5b818110156134b6576134ab60008261347f565b600181019050613498565b5050565b601f8211156134fb576134cc8161339b565b6134d5846133b0565b810160208510156134e4578190505b6134f86134f0856133b0565b830182613497565b50505b505050565b600082821c905092915050565b600061351e60001984600802613500565b1980831691505092915050565b6000613537838361350d565b9150826002028217905092915050565b61355082612792565b67ffffffffffffffff81111561356957613568612a97565b5b6135738254612e0a565b61357e8282856134ba565b600060209050601f8311600181146135b1576000841561359f578287015190505b6135a9858261352b565b865550613611565b601f1984166135bf8661339b565b60005b828110156135e7578489015182556001820191506020850194506020810190506135c2565b868310156136045784890151613600601f89168261350d565b8355505b6001600288020188555050505b505050505050565b6000815190506136288161284d565b92915050565b600060208284031215613644576136436126b2565b5b600061365284828501613619565b91505092915050565b60008151905061366a81612c0b565b92915050565b600060208284031215613686576136856126b2565b5b60006136948482850161365b565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006136f9602f8361279d565b91506137048261369d565b604082019050919050565b60006020820190508181036000830152613728816136ec565b9050919050565b600081905092915050565b6000815461374781612e0a565b613751818661372f565b9450600182166000811461376c5760018114613781576137b4565b60ff19831686528115158202860193506137b4565b61378a8561339b565b60005b838110156137ac5781548189015260018201915060208101905061378d565b838801955050505b50505092915050565b60006137c882612792565b6137d2818561372f565b93506137e28185602086016127ae565b80840191505092915050565b60006137fa828661373a565b915061380682856137bd565b9150613812828461373a565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061387b60268361279d565b91506138868261381f565b604082019050919050565b600060208201905081810360008301526138aa8161386e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138e760208361279d565b91506138f2826138b1565b602082019050919050565b60006020820190508181036000830152613916816138da565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061397960258361279d565b91506139848261391d565b604082019050919050565b600060208201905081810360008301526139a88161396c565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a0b60248361279d565b9150613a16826139af565b604082019050919050565b60006020820190508181036000830152613a3a816139fe565b9050919050565b6000613a4c82612666565b9150613a5783612666565b925082821015613a6a57613a6961305d565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613aab60198361279d565b9150613ab682613a75565b602082019050919050565b60006020820190508181036000830152613ada81613a9e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613b3d60328361279d565b9150613b4882613ae1565b604082019050919050565b60006020820190508181036000830152613b6c81613b30565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613bad82612666565b9150613bb883612666565b925082613bc857613bc7613b73565b5b828204905092915050565b6000613bde82612666565b9150613be983612666565b925082613bf957613bf8613b73565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000613c2b82613c04565b613c358185613c0f565b9350613c458185602086016127ae565b613c4e816127e1565b840191505092915050565b6000608082019050613c6e6000830187612657565b613c7b6020830186612657565b613c886040830185612670565b8181036060830152613c9a8184613c20565b905095945050505050565b600081519050613cb4816126e8565b92915050565b600060208284031215613cd057613ccf6126b2565b5b6000613cde84828501613ca5565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613d1d60208361279d565b9150613d2882613ce7565b602082019050919050565b60006020820190508181036000830152613d4c81613d10565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613d89601c8361279d565b9150613d9482613d53565b602082019050919050565b60006020820190508181036000830152613db881613d7c565b905091905056fea2646970667358221220518a6ba4bd55dec321c66f81708e237306280192e5641db2676ea6610d2ffde764736f6c634300080f0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,684.05 | 1 | $3,684.05 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.