More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 252 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21096974 | 25 days ago | IN | 0 ETH | 0.00025494 | ||||
Set Approval For... | 20937188 | 47 days ago | IN | 0 ETH | 0.00068777 | ||||
Set Approval For... | 19538256 | 242 days ago | IN | 0 ETH | 0.00099941 | ||||
Set Approval For... | 19469747 | 252 days ago | IN | 0 ETH | 0.00207576 | ||||
Safe Transfer Fr... | 19055687 | 310 days ago | IN | 0 ETH | 0.00076824 | ||||
Release | 17779746 | 489 days ago | IN | 0 ETH | 0.00193834 | ||||
Set Approval For... | 17235956 | 565 days ago | IN | 0 ETH | 0.00444235 | ||||
Set Approval For... | 17164644 | 575 days ago | IN | 0 ETH | 0.00182502 | ||||
Set Approval For... | 17014183 | 597 days ago | IN | 0 ETH | 0.00045804 | ||||
Set Approval For... | 17000359 | 599 days ago | IN | 0 ETH | 0.00106928 | ||||
Set Approval For... | 17000138 | 599 days ago | IN | 0 ETH | 0.00102642 | ||||
Set Approval For... | 16740408 | 635 days ago | IN | 0 ETH | 0.00094186 | ||||
Set Approval For... | 16616081 | 653 days ago | IN | 0 ETH | 0.00078176 | ||||
Safe Transfer Fr... | 16392605 | 684 days ago | IN | 0 ETH | 0.00172949 | ||||
Set Approval For... | 16236535 | 706 days ago | IN | 0 ETH | 0.00055021 | ||||
Set Approval For... | 16135693 | 720 days ago | IN | 0 ETH | 0.00061916 | ||||
Safe Transfer Fr... | 16073016 | 729 days ago | IN | 0 ETH | 0.00056029 | ||||
Transfer | 16072979 | 729 days ago | IN | 0 ETH | 0.000229 | ||||
Set Approval For... | 15990976 | 740 days ago | IN | 0 ETH | 0.00103237 | ||||
Set Approval For... | 15590069 | 796 days ago | IN | 0 ETH | 0.00039151 | ||||
Set Approval For... | 15590069 | 796 days ago | IN | 0 ETH | 0.00068271 | ||||
Set Approval For... | 15564692 | 800 days ago | IN | 0 ETH | 0.00051018 | ||||
Safe Transfer Fr... | 15529917 | 805 days ago | IN | 0 ETH | 0.00074445 | ||||
Safe Transfer Fr... | 15513216 | 807 days ago | IN | 0 ETH | 0.00033681 | ||||
Safe Transfer Fr... | 15461263 | 816 days ago | IN | 0 ETH | 0.00113537 |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
SickheadPass
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./IMintPass.sol"; import "./IPaper.sol"; /// @author no-op.eth (nft-lab.xyz) /// @title S!ck!ck S!ckheads VIP Passes contract SickheadPass is ERC1155, IMintPass, IPaper, Ownable, PaymentSplitter { /** Name of collection */ string public constant name = "S!ckhead VIP Pass"; /** Symbol of collection */ string public constant symbol = "SVP"; /** Maximum amount of tokens in collection */ uint256 public MAX_SUPPLY = 500; /** Maximum amount of tokens mintable per tx */ uint256 public MAX_TX = 2; /** Maximum amount of tokens mintable per wallet */ uint256 public MAX_WALLET = 2; /** Cost per mint */ uint256 public cost = 0.1 ether; /** URI for the contract metadata */ string public contractURI; /** For burning */ address public authorizedBurner; /** For paper */ address public floatWallet; /** Total supply */ uint256 private _supply = 0; /** Sale state */ bool public saleActive = false; /** Purchase list */ mapping(address => uint256) public purchases; /** Notify on sale state change */ event SaleStateChanged(bool _val); /** Notify on total supply change */ event TotalSupplyChanged(uint256 _val); /** For URI conversions */ using Strings for uint256; constructor( string memory _uri, address[] memory _shareholders, uint256[] memory _shares ) ERC1155(_uri) PaymentSplitter(_shareholders, _shares) {} /// @notice Sets public sale state /// @param _val The new value function setSaleState(bool _val) external onlyOwner { saleActive = _val; emit SaleStateChanged(_val); } /// @notice Sets cost per mint /// @param _val New price /// @dev Send in WEI function setCost(uint256 _val) external onlyOwner { cost = _val; } /// @notice Sets admin burn address /// @param _val Burn operator address /// @dev Makes burning a one-step process function setAuthorizedBurner(address _val) external onlyOwner { authorizedBurner = _val; } /// @notice Sets float wallet address /// @param _val Float wallet /// @dev Necessary for paper function setFloatWallet(address _val) external onlyOwner { floatWallet = _val; } /// @notice Sets the base metadata URI /// @param _val The new URI function setBaseURI(string memory _val) external onlyOwner { _setURI(_val); } /// @notice Sets the contract metadata URI /// @param _val The new URI function setContractURI(string memory _val) external onlyOwner { contractURI = _val; } /// @notice Returns the amount of tokens sold /// @return supply The number of tokens sold function totalSupply() public view returns (uint256) { return _supply; } /// @notice Returns the URI for a given token ID /// @param _id The ID to return URI for /// @return Token URI function uri(uint256 _id) public view override returns (string memory) { return string(abi.encodePacked(super.uri(_id), _id.toString())); } /// @notice Checks the price of the NFT /// @param _tokenId The ID of the NFT which the pricing corresponds to function price(uint256 _tokenId) external view override returns (uint256) { require(_tokenId == 0, "Invalid token ID."); return cost; } /// @notice Gets any potential reason that the user wallet is not able to claim qty of NFTs /// @param _userWallet The address of the user's wallet /// @param _quantity The number of NFTs to be minted /// @param _tokenId The ID of the NFT that the ineligibility reason corresponds to function getClaimIneligibilityReason(address _userWallet, uint256 _quantity, uint256 _tokenId) external view override returns (string memory) { if (!saleActive) { return "Sale is not yet active."; } if (_tokenId != 0) { return "Invalid token ID."; } if (_quantity > MAX_TX) { return "Amount of tokens exceeds transaction limit."; } if (purchases[_userWallet] >= MAX_WALLET) { return "Amount of tokens exceeds wallet limit."; } return ""; } /// @notice Checks the total amount of NFTs left to be claimed /// @param _tokenId the ID of the NFT which the pricing corresponds to function unclaimedSupply(uint256 _tokenId) external view override returns (uint256) { require(_tokenId == 0, "Invalid token ID."); return MAX_SUPPLY - totalSupply(); } /// @notice Reserves a set of NFTs for collection owner (giveaways, etc) /// @param _amt The amount to reserve function reserve(uint256 _amt) external onlyOwner { require(_supply + _amt <= MAX_SUPPLY, "Amount exceeds supply."); _supply += _amt; _mint(msg.sender, 0, _amt, "0x0000"); emit TotalSupplyChanged(totalSupply()); } /// @notice Mints a new token in public sale /// @param _userWallet Wallet to be minted to /// @param _quantity Amount to be minted /// @dev Must send COST * amt in ETH function claimTo(address _userWallet, uint256 _quantity, uint256) external payable override { address _receiver = msg.sender == floatWallet ? _userWallet : msg.sender; require(saleActive, "Sale is not yet active."); require(_quantity <= MAX_TX, "Amount of tokens exceeds transaction limit."); require(purchases[_receiver] + _quantity <= MAX_WALLET, "Amount of tokens exceeds wallet limit."); require(_supply + _quantity <= MAX_SUPPLY, "Amount exceeds supply."); require(cost * _quantity == msg.value, "ETH sent is below cost."); _supply += _quantity; purchases[_receiver] += _quantity; _mint(_receiver, 0, _quantity, "0x0000"); emit TotalSupplyChanged(totalSupply()); } /// @notice Burns a token /// @param _account Current token holder /// @param _id ID to burn /// @param _value Amount of ID to burn /// @dev Authorized burner can bypass approval to allow a one-step burn process function burn(address _account, uint256 _id, uint256 _value) external override { require( _account == _msgSender() || isApprovedForAll(_account, _msgSender()) || authorizedBurner == _msgSender(), "ERC1155: caller is not owner nor approved" ); _supply -= _value; _burn(_account, _id, _value); } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; interface IPaper { function getClaimIneligibilityReason(address _userWallet, uint256 _quantity, uint256 _tokenId) external view returns (string memory); function unclaimedSupply(uint256 _tokenId) external view returns (uint256); function price(uint256 _tokenId) external view returns (uint256); function claimTo(address _userWallet, uint256 _quantity, uint256 _tokenId) external payable; }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; interface IMintPass is IERC1155 { function burn(address _account, uint256 _id, uint256 _value) external; }
// 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 (last updated v4.7.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; import "../token/ERC20/utils/SafeERC20.sol"; import "../utils/Address.sol"; import "../utils/Context.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// 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.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @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, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // 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/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/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 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address[]","name":"_shareholders","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_val","type":"bool"}],"name":"SaleStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_val","type":"uint256"}],"name":"TotalSupplyChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"authorizedBurner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_userWallet","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"floatWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_userWallet","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getClaimIneligibilityReason","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchases","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amt","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_val","type":"address"}],"name":"setAuthorizedBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_val","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_val","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_val","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_val","type":"address"}],"name":"setFloatWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_val","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"unclaimedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526101f4600b556002600c556002600d5567016345785d8a0000600e5560006012556000601360006101000a81548160ff0219169083151502179055503480156200004d57600080fd5b5060405162006a9e38038062006a9e83398181016040528101906200007391906200078d565b8181846200008781620001b160201b60201c565b50620000a86200009c620001cd60201b60201c565b620001d560201b60201c565b8051825114620000ef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000e6906200097a565b60405180910390fd5b600082511162000136576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200012d90620009be565b60405180910390fd5b60005b8251811015620001a5576200018f8382815181106200015d576200015c62000cb9565b5b60200260200101518383815181106200017b576200017a62000cb9565b5b60200260200101516200029b60201b60201c565b80806200019c9062000c0d565b91505062000139565b50505050505062000eb4565b8060029080519060200190620001c9929190620004d5565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200030e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003059062000958565b60405180910390fd5b6000811162000354576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200034b90620009e0565b60405180910390fd5b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414620003d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d0906200099c565b60405180910390fd5b6008829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060045462000490919062000ad0565b6004819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620004c99291906200092b565b60405180910390a15050565b828054620004e39062000ba1565b90600052602060002090601f01602090048101928262000507576000855562000553565b82601f106200052257805160ff191683800117855562000553565b8280016001018555821562000553579182015b828111156200055257825182559160200191906001019062000535565b5b50905062000562919062000566565b5090565b5b808211156200058157600081600090555060010162000567565b5090565b60006200059c620005968462000a2b565b62000a02565b90508083825260208201905082856020860282011115620005c257620005c162000d1c565b5b60005b85811015620005f65781620005db8882620006c6565b845260208401935060208301925050600181019050620005c5565b5050509392505050565b600062000617620006118462000a5a565b62000a02565b905080838252602082019050828560208602820111156200063d576200063c62000d1c565b5b60005b8581101562000671578162000656888262000776565b84526020840193506020830192505060018101905062000640565b5050509392505050565b6000620006926200068c8462000a89565b62000a02565b905082815260208101848484011115620006b157620006b062000d21565b5b620006be84828562000b6b565b509392505050565b600081519050620006d78162000e80565b92915050565b600082601f830112620006f557620006f462000d17565b5b81516200070784826020860162000585565b91505092915050565b600082601f83011262000728576200072762000d17565b5b81516200073a84826020860162000600565b91505092915050565b600082601f8301126200075b576200075a62000d17565b5b81516200076d8482602086016200067b565b91505092915050565b600081519050620007878162000e9a565b92915050565b600080600060608486031215620007a957620007a862000d2b565b5b600084015167ffffffffffffffff811115620007ca57620007c962000d26565b5b620007d88682870162000743565b935050602084015167ffffffffffffffff811115620007fc57620007fb62000d26565b5b6200080a86828701620006dd565b925050604084015167ffffffffffffffff8111156200082e576200082d62000d26565b5b6200083c8682870162000710565b9150509250925092565b620008518162000b2d565b82525050565b600062000866602c8362000abf565b9150620008738262000d41565b604082019050919050565b60006200088d60328362000abf565b91506200089a8262000d90565b604082019050919050565b6000620008b4602b8362000abf565b9150620008c18262000ddf565b604082019050919050565b6000620008db601a8362000abf565b9150620008e88262000e2e565b602082019050919050565b600062000902601d8362000abf565b91506200090f8262000e57565b602082019050919050565b620009258162000b61565b82525050565b600060408201905062000942600083018562000846565b6200095160208301846200091a565b9392505050565b60006020820190508181036000830152620009738162000857565b9050919050565b6000602082019050818103600083015262000995816200087e565b9050919050565b60006020820190508181036000830152620009b781620008a5565b9050919050565b60006020820190508181036000830152620009d981620008cc565b9050919050565b60006020820190508181036000830152620009fb81620008f3565b9050919050565b600062000a0e62000a21565b905062000a1c828262000bd7565b919050565b6000604051905090565b600067ffffffffffffffff82111562000a495762000a4862000ce8565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000a785762000a7762000ce8565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000aa75762000aa662000ce8565b5b62000ab28262000d30565b9050602081019050919050565b600082825260208201905092915050565b600062000add8262000b61565b915062000aea8362000b61565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000b225762000b2162000c5b565b5b828201905092915050565b600062000b3a8262000b41565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000b8b57808201518184015260208101905062000b6e565b8381111562000b9b576000848401525b50505050565b6000600282049050600182168062000bba57607f821691505b6020821081141562000bd15762000bd062000c8a565b5b50919050565b62000be28262000d30565b810181811067ffffffffffffffff8211171562000c045762000c0362000ce8565b5b80604052505050565b600062000c1a8262000b61565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000c505762000c4f62000c5b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b62000e8b8162000b2d565b811462000e9757600080fd5b50565b62000ea58162000b61565b811462000eb157600080fd5b50565b615bda8062000ec46000396000f3fe6080604052600436106102805760003560e01c8063819b25ba1161014f578063c45ac050116100c1578063e8a3d4851161007a578063e8a3d48514610a59578063e985e9c514610a84578063f242432a14610ac1578063f2fde38b14610aea578063f3b2db3f14610b13578063f5298aca14610b3e576102c7565b8063c45ac05014610923578063c4e3709514610960578063ce7c2ac214610989578063d79779b2146109c6578063df7787a414610a03578063e33b7de314610a2e576102c7565b8063938e3d7b11610113578063938e3d7b1461080157806395d89b411461082a5780639852595c14610855578063a22cb46514610892578063a3f8eace146108bb578063b389783f146108f8576102c7565b8063819b25ba14610708578063842a77d3146107315780638b83209b1461076e5780638da5cb5b146107ab5780638fbc978e146107d6576102c7565b8063406072a9116101f357806355f804b3116101ac57806355f804b31461062f5780635ef1e8fd1461065857806362ca41051461067457806363a1059c1461069d57806368428a1b146106c6578063715018a6146106f1576102c7565b8063406072a9146104e9578063419a8d1b1461052657806344a0d68a1461056357806348b750441461058c5780634e1273f4146105b5578063544270e2146105f2576102c7565b806318160ddd1161024557806318160ddd146103d9578063191655871461040457806326a49e371461042d5780632eb2c2d61461046a57806332cb6b0c146104935780633a98ef39146104be576102c7565b8062fdd58e146102cc57806301ffc9a71461030957806306fdde03146103465780630e89341c1461037157806313faede6146103ae576102c7565b366102c7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102ae610b67565b346040516102bd929190614867565b60405180910390a1005b600080fd5b3480156102d857600080fd5b506102f360048036038101906102ee9190613eb6565b610b6f565b6040516103009190614ca6565b60405180910390f35b34801561031557600080fd5b50610330600480360381019061032b919061401b565b610c38565b60405161033d91906148e9565b60405180910390f35b34801561035257600080fd5b5061035b610d1a565b6040516103689190614904565b60405180910390f35b34801561037d57600080fd5b506103986004803603810190610393919061412b565b610d53565b6040516103a59190614904565b60405180910390f35b3480156103ba57600080fd5b506103c3610d8e565b6040516103d09190614ca6565b60405180910390f35b3480156103e557600080fd5b506103ee610d94565b6040516103fb9190614ca6565b60405180910390f35b34801561041057600080fd5b5061042b60048036038101906104269190613ca3565b610d9e565b005b34801561043957600080fd5b50610454600480360381019061044f919061412b565b610f27565b6040516104619190614ca6565b60405180910390f35b34801561047657600080fd5b50610491600480360381019061048c9190613d10565b610f75565b005b34801561049f57600080fd5b506104a8611016565b6040516104b59190614ca6565b60405180910390f35b3480156104ca57600080fd5b506104d361101c565b6040516104e09190614ca6565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b91906140a2565b611026565b60405161051d9190614ca6565b60405180910390f35b34801561053257600080fd5b5061054d6004803603810190610548919061412b565b6110ad565b60405161055a9190614ca6565b60405180910390f35b34801561056f57600080fd5b5061058a6004803603810190610585919061412b565b61110d565b005b34801561059857600080fd5b506105b360048036038101906105ae91906140a2565b61111f565b005b3480156105c157600080fd5b506105dc60048036038101906105d79190613f49565b61133c565b6040516105e99190614890565b60405180910390f35b3480156105fe57600080fd5b5061061960048036038101906106149190613ef6565b611455565b6040516106269190614904565b60405180910390f35b34801561063b57600080fd5b50610656600480360381019061065191906140e2565b611599565b005b610672600480360381019061066d9190613ef6565b6115ad565b005b34801561068057600080fd5b5061069b60048036038101906106969190613c76565b6118c7565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190613c76565b611913565b005b3480156106d257600080fd5b506106db61195f565b6040516106e891906148e9565b60405180910390f35b3480156106fd57600080fd5b50610706611972565b005b34801561071457600080fd5b5061072f600480360381019061072a919061412b565b611986565b005b34801561073d57600080fd5b5061075860048036038101906107539190613c76565b611a7c565b6040516107659190614ca6565b60405180910390f35b34801561077a57600080fd5b506107956004803603810190610790919061412b565b611a94565b6040516107a29190614761565b60405180910390f35b3480156107b757600080fd5b506107c0611adc565b6040516107cd9190614761565b60405180910390f35b3480156107e257600080fd5b506107eb611b06565b6040516107f89190614761565b60405180910390f35b34801561080d57600080fd5b50610828600480360381019061082391906140e2565b611b2c565b005b34801561083657600080fd5b5061083f611b4e565b60405161084c9190614904565b60405180910390f35b34801561086157600080fd5b5061087c60048036038101906108779190613c76565b611b87565b6040516108899190614ca6565b60405180910390f35b34801561089e57600080fd5b506108b960048036038101906108b49190613e76565b611bd0565b005b3480156108c757600080fd5b506108e260048036038101906108dd9190613c76565b611be6565b6040516108ef9190614ca6565b60405180910390f35b34801561090457600080fd5b5061090d611c19565b60405161091a9190614761565b60405180910390f35b34801561092f57600080fd5b5061094a600480360381019061094591906140a2565b611c3f565b6040516109579190614ca6565b60405180910390f35b34801561096c57600080fd5b5061098760048036038101906109829190613fc1565b611cfd565b005b34801561099557600080fd5b506109b060048036038101906109ab9190613c76565b611d59565b6040516109bd9190614ca6565b60405180910390f35b3480156109d257600080fd5b506109ed60048036038101906109e89190614075565b611da2565b6040516109fa9190614ca6565b60405180910390f35b348015610a0f57600080fd5b50610a18611deb565b604051610a259190614ca6565b60405180910390f35b348015610a3a57600080fd5b50610a43611df1565b604051610a509190614ca6565b60405180910390f35b348015610a6557600080fd5b50610a6e611dfb565b604051610a7b9190614904565b60405180910390f35b348015610a9057600080fd5b50610aab6004803603810190610aa69190613cd0565b611e89565b604051610ab891906148e9565b60405180910390f35b348015610acd57600080fd5b50610ae86004803603810190610ae39190613ddf565b611f1d565b005b348015610af657600080fd5b50610b116004803603810190610b0c9190613c76565b611fbe565b005b348015610b1f57600080fd5b50610b28612042565b604051610b359190614ca6565b60405180910390f35b348015610b4a57600080fd5b50610b656004803603810190610b609190613ef6565b612048565b005b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd790614a46565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d0357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d135750610d128261215d565b5b9050919050565b6040518060400160405280601181526020017f5321636b6865616420564950205061737300000000000000000000000000000081525081565b6060610d5e826121c7565b610d678361225b565b604051602001610d78929190614728565b6040516020818303038152906040529050919050565b600e5481565b6000601254905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790614a66565b60405180910390fd5b6000610e2b82611be6565b90506000811415610e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6890614ae6565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ec09190614e50565b925050819055508060056000828254610ed99190614e50565b92505081905550610eea82826123bc565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568282604051610f1b92919061477c565b60405180910390a15050565b6000808214610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6290614a26565b60405180910390fd5b600e549050919050565b610f7d610b67565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610fc35750610fc285610fbd610b67565b611e89565b5b611002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff990614946565b60405180910390fd5b61100f85858585856124b0565b5050505050565b600b5481565b6000600454905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008082146110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890614a26565b60405180910390fd5b6110f9610d94565b600b546111069190614f31565b9050919050565b6111156127d2565b80600e8190555050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116111a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119890614a66565b60405180910390fd5b60006111ad8383611c3f565b905060008114156111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea90614ae6565b60405180910390fd5b80600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461127f9190614e50565b9250508190555080600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112d59190614e50565b925050819055506112e7838383612850565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a838360405161132f929190614867565b60405180910390a2505050565b60608151835114611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137990614c46565b60405180910390fd5b6000835167ffffffffffffffff81111561139f5761139e61520e565b5b6040519080825280602002602001820160405280156113cd5781602001602082028036833780820191505090505b50905060005b845181101561144a5761141a8582815181106113f2576113f16151df565b5b602002602001015185838151811061140d5761140c6151df565b5b6020026020010151610b6f565b82828151811061142d5761142c6151df565b5b60200260200101818152505080611443906150d8565b90506113d3565b508091505092915050565b6060601360009054906101000a900460ff166114a8576040518060400160405280601781526020017f53616c65206973206e6f7420796574206163746976652e0000000000000000008152509050611592565b600082146114ed576040518060400160405280601181526020017f496e76616c696420746f6b656e2049442e0000000000000000000000000000008152509050611592565b600c54831115611517576040518060600160405280602b8152602001615b7a602b91399050611592565b600d54601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061157f57604051806060016040528060268152602001615b54602691399050611592565b6040518060200160405280600081525090505b9392505050565b6115a16127d2565b6115aa816128d6565b50565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461160a573361160c565b835b9050601360009054906101000a900460ff1661165d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165490614ba6565b60405180910390fd5b600c548311156116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990614bc6565b60405180910390fd5b600d5483601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116f09190614e50565b1115611731576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611728906149e6565b60405180910390fd5b600b54836012546117429190614e50565b1115611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a90614b06565b60405180910390fd5b3483600e546117929190614ed7565b146117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c990614986565b60405180910390fd5b82601260008282546117e49190614e50565b9250508190555082601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461183a9190614e50565b92505081905550611883816000856040518060400160405280600681526020017f30783030303000000000000000000000000000000000000000000000000000008152506128f0565b7fc8b17f75f53401f272e9ee7fa431e81ba33779363238896180425a422420c8f76118ac610d94565b6040516118b99190614ca6565b60405180910390a150505050565b6118cf6127d2565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61191b6127d2565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601360009054906101000a900460ff1681565b61197a6127d2565b6119846000612aa1565b565b61198e6127d2565b600b548160125461199f9190614e50565b11156119e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d790614b06565b60405180910390fd5b80601260008282546119f29190614e50565b92505081905550611a3b336000836040518060400160405280600681526020017f30783030303000000000000000000000000000000000000000000000000000008152506128f0565b7fc8b17f75f53401f272e9ee7fa431e81ba33779363238896180425a422420c8f7611a64610d94565b604051611a719190614ca6565b60405180910390a150565b60146020528060005260406000206000915090505481565b600060088281548110611aaa57611aa96151df565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611b346127d2565b80600f9080519060200190611b4a9291906138fa565b5050565b6040518060400160405280600381526020017f535650000000000000000000000000000000000000000000000000000000000081525081565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611be2611bdb610b67565b8383612b67565b5050565b600080611bf1611df1565b47611bfc9190614e50565b9050611c118382611c0c86611b87565b612cd4565b915050919050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080611c4b84611da2565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611c849190614761565b60206040518083038186803b158015611c9c57600080fd5b505afa158015611cb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd49190614158565b611cde9190614e50565b9050611cf48382611cef8787611026565b612cd4565b91505092915050565b611d056127d2565b80601360006101000a81548160ff0219169083151502179055507fe333f8a36ee86e754548af2d6f50c73ff0d501e22e6c784662123dbbe493c60281604051611d4e91906148e9565b60405180910390a150565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d5481565b6000600554905090565b600f8054611e0890615075565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3490615075565b8015611e815780601f10611e5657610100808354040283529160200191611e81565b820191906000526020600020905b815481529060010190602001808311611e6457829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f25610b67565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611f6b5750611f6a85611f65610b67565b611e89565b5b611faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa190614946565b60405180910390fd5b611fb78585858585612d42565b5050505050565b611fc66127d2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202d906149a6565b60405180910390fd5b61203f81612aa1565b50565b600c5481565b612050610b67565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480612096575061209583612090610b67565b611e89565b5b806120f557506120a4610b67565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212b90614a06565b60405180910390fd5b80601260008282546121469190614f31565b92505081905550612158838383612fde565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600280546121d690615075565b80601f016020809104026020016040519081016040528092919081815260200182805461220290615075565b801561224f5780601f106122245761010080835404028352916020019161224f565b820191906000526020600020905b81548152906001019060200180831161223257829003601f168201915b50505050509050919050565b606060008214156122a3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123b7565b600082905060005b600082146122d55780806122be906150d8565b915050600a826122ce9190614ea6565b91506122ab565b60008167ffffffffffffffff8111156122f1576122f061520e565b5b6040519080825280601f01601f1916602001820160405280156123235781602001600182028036833780820191505090505b5090505b600085146123b05760018261233c9190614f31565b9150600a8561234b9190615121565b60306123579190614e50565b60f81b81838151811061236d5761236c6151df565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123a99190614ea6565b9450612327565b8093505050505b919050565b804710156123ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f690614aa6565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516124259061474c565b60006040518083038185875af1925050503d8060008114612462576040519150601f19603f3d011682016040523d82523d6000602084013e612467565b606091505b50509050806124ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a290614a86565b60405180910390fd5b505050565b81518351146124f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124eb90614c66565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255b90614b26565b60405180910390fd5b600061256e610b67565b905061257e818787878787613225565b60005b845181101561272f57600085828151811061259f5761259e6151df565b5b6020026020010151905060008583815181106125be576125bd6151df565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561265f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265690614b66565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127149190614e50565b9250508190555050505080612728906150d8565b9050612581565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127a69291906148b2565b60405180910390a46127bc81878787878761322d565b6127ca818787878787613235565b505050505050565b6127da610b67565b73ffffffffffffffffffffffffffffffffffffffff166127f8611adc565b73ffffffffffffffffffffffffffffffffffffffff161461284e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284590614b86565b60405180910390fd5b565b6128d18363a9059cbb60e01b848460405160240161286f929190614867565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061341c565b505050565b80600290805190602001906128ec9291906138fa565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295790614c86565b60405180910390fd5b600061296a610b67565b90506000612977856134e3565b90506000612984856134e3565b905061299583600089858589613225565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129f49190614e50565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612a72929190614cc1565b60405180910390a4612a898360008985858961322d565b612a988360008989898961355d565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcd90614c06565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612cc791906148e9565b60405180910390a3505050565b600081600454600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612d259190614ed7565b612d2f9190614ea6565b612d399190614f31565b90509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da990614b26565b60405180910390fd5b6000612dbc610b67565b90506000612dc9856134e3565b90506000612dd6856134e3565b9050612de6838989858589613225565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7490614b66565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f329190614e50565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612faf929190614cc1565b60405180910390a4612fc5848a8a86868a61322d565b612fd3848a8a8a8a8a61355d565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561304e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304590614b46565b60405180910390fd5b6000613058610b67565b90506000613065846134e3565b90506000613072846134e3565b905061309283876000858560405180602001604052806000815250613225565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015613129576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613120906149c6565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516131f6929190614cc1565b60405180910390a461321c8488600086866040518060200160405280600081525061322d565b50505050505050565b505050505050565b505050505050565b6132548473ffffffffffffffffffffffffffffffffffffffff16613744565b15613414578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161329a9594939291906147a5565b602060405180830381600087803b1580156132b457600080fd5b505af19250505080156132e557506040513d601f19601f820116820180604052508101906132e29190614048565b60015b61338b576132f161523d565b806308c379a0141561334e5750613306615a33565b806133115750613350565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133459190614904565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338290614926565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613412576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340990614966565b60405180910390fd5b505b505050505050565b600061347e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137679092919063ffffffff16565b90506000815111156134de578080602001905181019061349e9190613fee565b6134dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d490614c26565b60405180910390fd5b5b505050565b60606000600167ffffffffffffffff8111156135025761350161520e565b5b6040519080825280602002602001820160405280156135305781602001602082028036833780820191505090505b5090508281600081518110613548576135476151df565b5b60200260200101818152505080915050919050565b61357c8473ffffffffffffffffffffffffffffffffffffffff16613744565b1561373c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016135c295949392919061480d565b602060405180830381600087803b1580156135dc57600080fd5b505af192505050801561360d57506040513d601f19601f8201168201806040525081019061360a9190614048565b60015b6136b35761361961523d565b806308c379a01415613676575061362e615a33565b806136395750613678565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161366d9190614904565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136aa90614926565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461373a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373190614966565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613776848460008561377f565b90509392505050565b6060824710156137c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137bb90614ac6565b60405180910390fd5b6137cd85613744565b61380c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380390614be6565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516138359190614711565b60006040518083038185875af1925050503d8060008114613872576040519150601f19603f3d011682016040523d82523d6000602084013e613877565b606091505b5091509150613887828286613893565b92505050949350505050565b606083156138a3578290506138f3565b6000835111156138b65782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ea9190614904565b60405180910390fd5b9392505050565b82805461390690615075565b90600052602060002090601f016020900481019282613928576000855561396f565b82601f1061394157805160ff191683800117855561396f565b8280016001018555821561396f579182015b8281111561396e578251825591602001919060010190613953565b5b50905061397c9190613980565b5090565b5b80821115613999576000816000905550600101613981565b5090565b60006139b06139ab84614d0f565b614cea565b905080838252602082019050828560208602820111156139d3576139d2615264565b5b60005b85811015613a0357816139e98882613b01565b8452602084019350602083019250506001810190506139d6565b5050509392505050565b6000613a20613a1b84614d3b565b614cea565b90508083825260208201905082856020860282011115613a4357613a42615264565b5b60005b85811015613a735781613a598882613c4c565b845260208401935060208301925050600181019050613a46565b5050509392505050565b6000613a90613a8b84614d67565b614cea565b905082815260208101848484011115613aac57613aab615269565b5b613ab7848285615033565b509392505050565b6000613ad2613acd84614d98565b614cea565b905082815260208101848484011115613aee57613aed615269565b5b613af9848285615033565b509392505050565b600081359050613b1081615ac9565b92915050565b600081359050613b2581615ae0565b92915050565b600082601f830112613b4057613b3f61525f565b5b8135613b5084826020860161399d565b91505092915050565b600082601f830112613b6e57613b6d61525f565b5b8135613b7e848260208601613a0d565b91505092915050565b600081359050613b9681615af7565b92915050565b600081519050613bab81615af7565b92915050565b600081359050613bc081615b0e565b92915050565b600081519050613bd581615b0e565b92915050565b600082601f830112613bf057613bef61525f565b5b8135613c00848260208601613a7d565b91505092915050565b600081359050613c1881615b25565b92915050565b600082601f830112613c3357613c3261525f565b5b8135613c43848260208601613abf565b91505092915050565b600081359050613c5b81615b3c565b92915050565b600081519050613c7081615b3c565b92915050565b600060208284031215613c8c57613c8b615273565b5b6000613c9a84828501613b01565b91505092915050565b600060208284031215613cb957613cb8615273565b5b6000613cc784828501613b16565b91505092915050565b60008060408385031215613ce757613ce6615273565b5b6000613cf585828601613b01565b9250506020613d0685828601613b01565b9150509250929050565b600080600080600060a08688031215613d2c57613d2b615273565b5b6000613d3a88828901613b01565b9550506020613d4b88828901613b01565b945050604086013567ffffffffffffffff811115613d6c57613d6b61526e565b5b613d7888828901613b59565b935050606086013567ffffffffffffffff811115613d9957613d9861526e565b5b613da588828901613b59565b925050608086013567ffffffffffffffff811115613dc657613dc561526e565b5b613dd288828901613bdb565b9150509295509295909350565b600080600080600060a08688031215613dfb57613dfa615273565b5b6000613e0988828901613b01565b9550506020613e1a88828901613b01565b9450506040613e2b88828901613c4c565b9350506060613e3c88828901613c4c565b925050608086013567ffffffffffffffff811115613e5d57613e5c61526e565b5b613e6988828901613bdb565b9150509295509295909350565b60008060408385031215613e8d57613e8c615273565b5b6000613e9b85828601613b01565b9250506020613eac85828601613b87565b9150509250929050565b60008060408385031215613ecd57613ecc615273565b5b6000613edb85828601613b01565b9250506020613eec85828601613c4c565b9150509250929050565b600080600060608486031215613f0f57613f0e615273565b5b6000613f1d86828701613b01565b9350506020613f2e86828701613c4c565b9250506040613f3f86828701613c4c565b9150509250925092565b60008060408385031215613f6057613f5f615273565b5b600083013567ffffffffffffffff811115613f7e57613f7d61526e565b5b613f8a85828601613b2b565b925050602083013567ffffffffffffffff811115613fab57613faa61526e565b5b613fb785828601613b59565b9150509250929050565b600060208284031215613fd757613fd6615273565b5b6000613fe584828501613b87565b91505092915050565b60006020828403121561400457614003615273565b5b600061401284828501613b9c565b91505092915050565b60006020828403121561403157614030615273565b5b600061403f84828501613bb1565b91505092915050565b60006020828403121561405e5761405d615273565b5b600061406c84828501613bc6565b91505092915050565b60006020828403121561408b5761408a615273565b5b600061409984828501613c09565b91505092915050565b600080604083850312156140b9576140b8615273565b5b60006140c785828601613c09565b92505060206140d885828601613b01565b9150509250929050565b6000602082840312156140f8576140f7615273565b5b600082013567ffffffffffffffff8111156141165761411561526e565b5b61412284828501613c1e565b91505092915050565b60006020828403121561414157614140615273565b5b600061414f84828501613c4c565b91505092915050565b60006020828403121561416e5761416d615273565b5b600061417c84828501613c61565b91505092915050565b600061419183836146f3565b60208301905092915050565b6141a681614ffd565b82525050565b6141b581614f65565b82525050565b60006141c682614dd9565b6141d08185614e07565b93506141db83614dc9565b8060005b8381101561420c5781516141f38882614185565b97506141fe83614dfa565b9250506001810190506141df565b5085935050505092915050565b61422281614f89565b82525050565b600061423382614de4565b61423d8185614e18565b935061424d818560208601615042565b61425681615278565b840191505092915050565b600061426c82614de4565b6142768185614e29565b9350614286818560208601615042565b80840191505092915050565b600061429d82614def565b6142a78185614e34565b93506142b7818560208601615042565b6142c081615278565b840191505092915050565b60006142d682614def565b6142e08185614e45565b93506142f0818560208601615042565b80840191505092915050565b6000614309603483614e34565b915061431482615296565b604082019050919050565b600061432c602f83614e34565b9150614337826152e5565b604082019050919050565b600061434f602883614e34565b915061435a82615334565b604082019050919050565b6000614372601783614e34565b915061437d82615383565b602082019050919050565b6000614395602683614e34565b91506143a0826153ac565b604082019050919050565b60006143b8602483614e34565b91506143c3826153fb565b604082019050919050565b60006143db602683614e34565b91506143e68261544a565b604082019050919050565b60006143fe602983614e34565b915061440982615499565b604082019050919050565b6000614421601183614e34565b915061442c826154e8565b602082019050919050565b6000614444602a83614e34565b915061444f82615511565b604082019050919050565b6000614467602683614e34565b915061447282615560565b604082019050919050565b600061448a603a83614e34565b9150614495826155af565b604082019050919050565b60006144ad601d83614e34565b91506144b8826155fe565b602082019050919050565b60006144d0602683614e34565b91506144db82615627565b604082019050919050565b60006144f3602b83614e34565b91506144fe82615676565b604082019050919050565b6000614516601683614e34565b9150614521826156c5565b602082019050919050565b6000614539602583614e34565b9150614544826156ee565b604082019050919050565b600061455c602383614e34565b91506145678261573d565b604082019050919050565b600061457f602a83614e34565b915061458a8261578c565b604082019050919050565b60006145a2602083614e34565b91506145ad826157db565b602082019050919050565b60006145c5601783614e34565b91506145d082615804565b602082019050919050565b60006145e8602b83614e34565b91506145f38261582d565b604082019050919050565b600061460b600083614e29565b91506146168261587c565b600082019050919050565b600061462e601d83614e34565b91506146398261587f565b602082019050919050565b6000614651602983614e34565b915061465c826158a8565b604082019050919050565b6000614674602a83614e34565b915061467f826158f7565b604082019050919050565b6000614697602983614e34565b91506146a282615946565b604082019050919050565b60006146ba602883614e34565b91506146c582615995565b604082019050919050565b60006146dd602183614e34565b91506146e8826159e4565b604082019050919050565b6146fc81614ff3565b82525050565b61470b81614ff3565b82525050565b600061471d8284614261565b915081905092915050565b600061473482856142cb565b915061474082846142cb565b91508190509392505050565b6000614757826145fe565b9150819050919050565b600060208201905061477660008301846141ac565b92915050565b6000604082019050614791600083018561419d565b61479e6020830184614702565b9392505050565b600060a0820190506147ba60008301886141ac565b6147c760208301876141ac565b81810360408301526147d981866141bb565b905081810360608301526147ed81856141bb565b905081810360808301526148018184614228565b90509695505050505050565b600060a08201905061482260008301886141ac565b61482f60208301876141ac565b61483c6040830186614702565b6148496060830185614702565b818103608083015261485b8184614228565b90509695505050505050565b600060408201905061487c60008301856141ac565b6148896020830184614702565b9392505050565b600060208201905081810360008301526148aa81846141bb565b905092915050565b600060408201905081810360008301526148cc81856141bb565b905081810360208301526148e081846141bb565b90509392505050565b60006020820190506148fe6000830184614219565b92915050565b6000602082019050818103600083015261491e8184614292565b905092915050565b6000602082019050818103600083015261493f816142fc565b9050919050565b6000602082019050818103600083015261495f8161431f565b9050919050565b6000602082019050818103600083015261497f81614342565b9050919050565b6000602082019050818103600083015261499f81614365565b9050919050565b600060208201905081810360008301526149bf81614388565b9050919050565b600060208201905081810360008301526149df816143ab565b9050919050565b600060208201905081810360008301526149ff816143ce565b9050919050565b60006020820190508181036000830152614a1f816143f1565b9050919050565b60006020820190508181036000830152614a3f81614414565b9050919050565b60006020820190508181036000830152614a5f81614437565b9050919050565b60006020820190508181036000830152614a7f8161445a565b9050919050565b60006020820190508181036000830152614a9f8161447d565b9050919050565b60006020820190508181036000830152614abf816144a0565b9050919050565b60006020820190508181036000830152614adf816144c3565b9050919050565b60006020820190508181036000830152614aff816144e6565b9050919050565b60006020820190508181036000830152614b1f81614509565b9050919050565b60006020820190508181036000830152614b3f8161452c565b9050919050565b60006020820190508181036000830152614b5f8161454f565b9050919050565b60006020820190508181036000830152614b7f81614572565b9050919050565b60006020820190508181036000830152614b9f81614595565b9050919050565b60006020820190508181036000830152614bbf816145b8565b9050919050565b60006020820190508181036000830152614bdf816145db565b9050919050565b60006020820190508181036000830152614bff81614621565b9050919050565b60006020820190508181036000830152614c1f81614644565b9050919050565b60006020820190508181036000830152614c3f81614667565b9050919050565b60006020820190508181036000830152614c5f8161468a565b9050919050565b60006020820190508181036000830152614c7f816146ad565b9050919050565b60006020820190508181036000830152614c9f816146d0565b9050919050565b6000602082019050614cbb6000830184614702565b92915050565b6000604082019050614cd66000830185614702565b614ce36020830184614702565b9392505050565b6000614cf4614d05565b9050614d0082826150a7565b919050565b6000604051905090565b600067ffffffffffffffff821115614d2a57614d2961520e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d5657614d5561520e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d8257614d8161520e565b5b614d8b82615278565b9050602081019050919050565b600067ffffffffffffffff821115614db357614db261520e565b5b614dbc82615278565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e5b82614ff3565b9150614e6683614ff3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e9b57614e9a615152565b5b828201905092915050565b6000614eb182614ff3565b9150614ebc83614ff3565b925082614ecc57614ecb615181565b5b828204905092915050565b6000614ee282614ff3565b9150614eed83614ff3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f2657614f25615152565b5b828202905092915050565b6000614f3c82614ff3565b9150614f4783614ff3565b925082821015614f5a57614f59615152565b5b828203905092915050565b6000614f7082614fd3565b9050919050565b6000614f8282614fd3565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614fcc82614f65565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006150088261500f565b9050919050565b600061501a82615021565b9050919050565b600061502c82614fd3565b9050919050565b82818337600083830152505050565b60005b83811015615060578082015181840152602081019050615045565b8381111561506f576000848401525b50505050565b6000600282049050600182168061508d57607f821691505b602082108114156150a1576150a06151b0565b5b50919050565b6150b082615278565b810181811067ffffffffffffffff821117156150cf576150ce61520e565b5b80604052505050565b60006150e382614ff3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561511657615115615152565b5b600182019050919050565b600061512c82614ff3565b915061513783614ff3565b92508261514757615146615181565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561525c5760046000803e615259600051615289565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4554482073656e742069732062656c6f7720636f73742e000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206f6620746f6b656e7320657863656564732077616c6c65742060008201527f6c696d69742e0000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420746f6b656e2049442e000000000000000000000000000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206578636565647320737570706c792e00000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f53616c65206973206e6f7420796574206163746976652e000000000000000000600082015250565b7f416d6f756e74206f6620746f6b656e732065786365656473207472616e73616360008201527f74696f6e206c696d69742e000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015615a4357615ac6565b615a4b614d05565b60043d036004823e80513d602482011167ffffffffffffffff82111715615a73575050615ac6565b808201805167ffffffffffffffff811115615a915750505050615ac6565b80602083010160043d038501811115615aae575050505050615ac6565b615abd826020018501866150a7565b82955050505050505b90565b615ad281614f65565b8114615add57600080fd5b50565b615ae981614f77565b8114615af457600080fd5b50565b615b0081614f89565b8114615b0b57600080fd5b50565b615b1781614f95565b8114615b2257600080fd5b50565b615b2e81614fc1565b8114615b3957600080fd5b50565b615b4581614ff3565b8114615b5057600080fd5b5056fe416d6f756e74206f6620746f6b656e7320657863656564732077616c6c6574206c696d69742e416d6f756e74206f6620746f6b656e732065786365656473207472616e73616374696f6e206c696d69742ea2646970667358221220ba2ae364c3cb7f3acb274986f0aa1caee55944a104b20398b637d0d5a007972464736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5259416e4c6273645837426b4635566b4e6f4b375050584470374e6e666b7a387476707832475176696d65732f0000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000006b99d2b10f3cc0ce6b871a9f5f94e1ecd6222f4700000000000000000000000056d70c3d7bee157feaa5df4f2d346270d3eb208c000000000000000000000000bf5918c39f048d5e4d6aed16f6644f9b46b562c200000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000053
Deployed Bytecode
0x6080604052600436106102805760003560e01c8063819b25ba1161014f578063c45ac050116100c1578063e8a3d4851161007a578063e8a3d48514610a59578063e985e9c514610a84578063f242432a14610ac1578063f2fde38b14610aea578063f3b2db3f14610b13578063f5298aca14610b3e576102c7565b8063c45ac05014610923578063c4e3709514610960578063ce7c2ac214610989578063d79779b2146109c6578063df7787a414610a03578063e33b7de314610a2e576102c7565b8063938e3d7b11610113578063938e3d7b1461080157806395d89b411461082a5780639852595c14610855578063a22cb46514610892578063a3f8eace146108bb578063b389783f146108f8576102c7565b8063819b25ba14610708578063842a77d3146107315780638b83209b1461076e5780638da5cb5b146107ab5780638fbc978e146107d6576102c7565b8063406072a9116101f357806355f804b3116101ac57806355f804b31461062f5780635ef1e8fd1461065857806362ca41051461067457806363a1059c1461069d57806368428a1b146106c6578063715018a6146106f1576102c7565b8063406072a9146104e9578063419a8d1b1461052657806344a0d68a1461056357806348b750441461058c5780634e1273f4146105b5578063544270e2146105f2576102c7565b806318160ddd1161024557806318160ddd146103d9578063191655871461040457806326a49e371461042d5780632eb2c2d61461046a57806332cb6b0c146104935780633a98ef39146104be576102c7565b8062fdd58e146102cc57806301ffc9a71461030957806306fdde03146103465780630e89341c1461037157806313faede6146103ae576102c7565b366102c7577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102ae610b67565b346040516102bd929190614867565b60405180910390a1005b600080fd5b3480156102d857600080fd5b506102f360048036038101906102ee9190613eb6565b610b6f565b6040516103009190614ca6565b60405180910390f35b34801561031557600080fd5b50610330600480360381019061032b919061401b565b610c38565b60405161033d91906148e9565b60405180910390f35b34801561035257600080fd5b5061035b610d1a565b6040516103689190614904565b60405180910390f35b34801561037d57600080fd5b506103986004803603810190610393919061412b565b610d53565b6040516103a59190614904565b60405180910390f35b3480156103ba57600080fd5b506103c3610d8e565b6040516103d09190614ca6565b60405180910390f35b3480156103e557600080fd5b506103ee610d94565b6040516103fb9190614ca6565b60405180910390f35b34801561041057600080fd5b5061042b60048036038101906104269190613ca3565b610d9e565b005b34801561043957600080fd5b50610454600480360381019061044f919061412b565b610f27565b6040516104619190614ca6565b60405180910390f35b34801561047657600080fd5b50610491600480360381019061048c9190613d10565b610f75565b005b34801561049f57600080fd5b506104a8611016565b6040516104b59190614ca6565b60405180910390f35b3480156104ca57600080fd5b506104d361101c565b6040516104e09190614ca6565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b91906140a2565b611026565b60405161051d9190614ca6565b60405180910390f35b34801561053257600080fd5b5061054d6004803603810190610548919061412b565b6110ad565b60405161055a9190614ca6565b60405180910390f35b34801561056f57600080fd5b5061058a6004803603810190610585919061412b565b61110d565b005b34801561059857600080fd5b506105b360048036038101906105ae91906140a2565b61111f565b005b3480156105c157600080fd5b506105dc60048036038101906105d79190613f49565b61133c565b6040516105e99190614890565b60405180910390f35b3480156105fe57600080fd5b5061061960048036038101906106149190613ef6565b611455565b6040516106269190614904565b60405180910390f35b34801561063b57600080fd5b50610656600480360381019061065191906140e2565b611599565b005b610672600480360381019061066d9190613ef6565b6115ad565b005b34801561068057600080fd5b5061069b60048036038101906106969190613c76565b6118c7565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190613c76565b611913565b005b3480156106d257600080fd5b506106db61195f565b6040516106e891906148e9565b60405180910390f35b3480156106fd57600080fd5b50610706611972565b005b34801561071457600080fd5b5061072f600480360381019061072a919061412b565b611986565b005b34801561073d57600080fd5b5061075860048036038101906107539190613c76565b611a7c565b6040516107659190614ca6565b60405180910390f35b34801561077a57600080fd5b506107956004803603810190610790919061412b565b611a94565b6040516107a29190614761565b60405180910390f35b3480156107b757600080fd5b506107c0611adc565b6040516107cd9190614761565b60405180910390f35b3480156107e257600080fd5b506107eb611b06565b6040516107f89190614761565b60405180910390f35b34801561080d57600080fd5b50610828600480360381019061082391906140e2565b611b2c565b005b34801561083657600080fd5b5061083f611b4e565b60405161084c9190614904565b60405180910390f35b34801561086157600080fd5b5061087c60048036038101906108779190613c76565b611b87565b6040516108899190614ca6565b60405180910390f35b34801561089e57600080fd5b506108b960048036038101906108b49190613e76565b611bd0565b005b3480156108c757600080fd5b506108e260048036038101906108dd9190613c76565b611be6565b6040516108ef9190614ca6565b60405180910390f35b34801561090457600080fd5b5061090d611c19565b60405161091a9190614761565b60405180910390f35b34801561092f57600080fd5b5061094a600480360381019061094591906140a2565b611c3f565b6040516109579190614ca6565b60405180910390f35b34801561096c57600080fd5b5061098760048036038101906109829190613fc1565b611cfd565b005b34801561099557600080fd5b506109b060048036038101906109ab9190613c76565b611d59565b6040516109bd9190614ca6565b60405180910390f35b3480156109d257600080fd5b506109ed60048036038101906109e89190614075565b611da2565b6040516109fa9190614ca6565b60405180910390f35b348015610a0f57600080fd5b50610a18611deb565b604051610a259190614ca6565b60405180910390f35b348015610a3a57600080fd5b50610a43611df1565b604051610a509190614ca6565b60405180910390f35b348015610a6557600080fd5b50610a6e611dfb565b604051610a7b9190614904565b60405180910390f35b348015610a9057600080fd5b50610aab6004803603810190610aa69190613cd0565b611e89565b604051610ab891906148e9565b60405180910390f35b348015610acd57600080fd5b50610ae86004803603810190610ae39190613ddf565b611f1d565b005b348015610af657600080fd5b50610b116004803603810190610b0c9190613c76565b611fbe565b005b348015610b1f57600080fd5b50610b28612042565b604051610b359190614ca6565b60405180910390f35b348015610b4a57600080fd5b50610b656004803603810190610b609190613ef6565b612048565b005b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd790614a46565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d0357507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d135750610d128261215d565b5b9050919050565b6040518060400160405280601181526020017f5321636b6865616420564950205061737300000000000000000000000000000081525081565b6060610d5e826121c7565b610d678361225b565b604051602001610d78929190614728565b6040516020818303038152906040529050919050565b600e5481565b6000601254905090565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610e20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1790614a66565b60405180910390fd5b6000610e2b82611be6565b90506000811415610e71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6890614ae6565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ec09190614e50565b925050819055508060056000828254610ed99190614e50565b92505081905550610eea82826123bc565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568282604051610f1b92919061477c565b60405180910390a15050565b6000808214610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6290614a26565b60405180910390fd5b600e549050919050565b610f7d610b67565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610fc35750610fc285610fbd610b67565b611e89565b5b611002576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff990614946565b60405180910390fd5b61100f85858585856124b0565b5050505050565b600b5481565b6000600454905090565b6000600a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60008082146110f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e890614a26565b60405180910390fd5b6110f9610d94565b600b546111069190614f31565b9050919050565b6111156127d2565b80600e8190555050565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116111a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119890614a66565b60405180910390fd5b60006111ad8383611c3f565b905060008114156111f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ea90614ae6565b60405180910390fd5b80600a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461127f9190614e50565b9250508190555080600960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112d59190614e50565b925050819055506112e7838383612850565b8273ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a838360405161132f929190614867565b60405180910390a2505050565b60608151835114611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137990614c46565b60405180910390fd5b6000835167ffffffffffffffff81111561139f5761139e61520e565b5b6040519080825280602002602001820160405280156113cd5781602001602082028036833780820191505090505b50905060005b845181101561144a5761141a8582815181106113f2576113f16151df565b5b602002602001015185838151811061140d5761140c6151df565b5b6020026020010151610b6f565b82828151811061142d5761142c6151df565b5b60200260200101818152505080611443906150d8565b90506113d3565b508091505092915050565b6060601360009054906101000a900460ff166114a8576040518060400160405280601781526020017f53616c65206973206e6f7420796574206163746976652e0000000000000000008152509050611592565b600082146114ed576040518060400160405280601181526020017f496e76616c696420746f6b656e2049442e0000000000000000000000000000008152509050611592565b600c54831115611517576040518060600160405280602b8152602001615b7a602b91399050611592565b600d54601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061157f57604051806060016040528060268152602001615b54602691399050611592565b6040518060200160405280600081525090505b9392505050565b6115a16127d2565b6115aa816128d6565b50565b6000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461160a573361160c565b835b9050601360009054906101000a900460ff1661165d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165490614ba6565b60405180910390fd5b600c548311156116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990614bc6565b60405180910390fd5b600d5483601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116f09190614e50565b1115611731576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611728906149e6565b60405180910390fd5b600b54836012546117429190614e50565b1115611783576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177a90614b06565b60405180910390fd5b3483600e546117929190614ed7565b146117d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c990614986565b60405180910390fd5b82601260008282546117e49190614e50565b9250508190555082601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461183a9190614e50565b92505081905550611883816000856040518060400160405280600681526020017f30783030303000000000000000000000000000000000000000000000000000008152506128f0565b7fc8b17f75f53401f272e9ee7fa431e81ba33779363238896180425a422420c8f76118ac610d94565b6040516118b99190614ca6565b60405180910390a150505050565b6118cf6127d2565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61191b6127d2565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601360009054906101000a900460ff1681565b61197a6127d2565b6119846000612aa1565b565b61198e6127d2565b600b548160125461199f9190614e50565b11156119e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d790614b06565b60405180910390fd5b80601260008282546119f29190614e50565b92505081905550611a3b336000836040518060400160405280600681526020017f30783030303000000000000000000000000000000000000000000000000000008152506128f0565b7fc8b17f75f53401f272e9ee7fa431e81ba33779363238896180425a422420c8f7611a64610d94565b604051611a719190614ca6565b60405180910390a150565b60146020528060005260406000206000915090505481565b600060088281548110611aaa57611aa96151df565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611b346127d2565b80600f9080519060200190611b4a9291906138fa565b5050565b6040518060400160405280600381526020017f535650000000000000000000000000000000000000000000000000000000000081525081565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611be2611bdb610b67565b8383612b67565b5050565b600080611bf1611df1565b47611bfc9190614e50565b9050611c118382611c0c86611b87565b612cd4565b915050919050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080611c4b84611da2565b8473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611c849190614761565b60206040518083038186803b158015611c9c57600080fd5b505afa158015611cb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd49190614158565b611cde9190614e50565b9050611cf48382611cef8787611026565b612cd4565b91505092915050565b611d056127d2565b80601360006101000a81548160ff0219169083151502179055507fe333f8a36ee86e754548af2d6f50c73ff0d501e22e6c784662123dbbe493c60281604051611d4e91906148e9565b60405180910390a150565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600d5481565b6000600554905090565b600f8054611e0890615075565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3490615075565b8015611e815780601f10611e5657610100808354040283529160200191611e81565b820191906000526020600020905b815481529060010190602001808311611e6457829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f25610b67565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611f6b5750611f6a85611f65610b67565b611e89565b5b611faa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa190614946565b60405180910390fd5b611fb78585858585612d42565b5050505050565b611fc66127d2565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202d906149a6565b60405180910390fd5b61203f81612aa1565b50565b600c5481565b612050610b67565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480612096575061209583612090610b67565b611e89565b5b806120f557506120a4610b67565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b612134576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212b90614a06565b60405180910390fd5b80601260008282546121469190614f31565b92505081905550612158838383612fde565b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600280546121d690615075565b80601f016020809104026020016040519081016040528092919081815260200182805461220290615075565b801561224f5780601f106122245761010080835404028352916020019161224f565b820191906000526020600020905b81548152906001019060200180831161223257829003601f168201915b50505050509050919050565b606060008214156122a3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123b7565b600082905060005b600082146122d55780806122be906150d8565b915050600a826122ce9190614ea6565b91506122ab565b60008167ffffffffffffffff8111156122f1576122f061520e565b5b6040519080825280601f01601f1916602001820160405280156123235781602001600182028036833780820191505090505b5090505b600085146123b05760018261233c9190614f31565b9150600a8561234b9190615121565b60306123579190614e50565b60f81b81838151811061236d5761236c6151df565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123a99190614ea6565b9450612327565b8093505050505b919050565b804710156123ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f690614aa6565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516124259061474c565b60006040518083038185875af1925050503d8060008114612462576040519150601f19603f3d011682016040523d82523d6000602084013e612467565b606091505b50509050806124ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a290614a86565b60405180910390fd5b505050565b81518351146124f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124eb90614c66565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612564576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255b90614b26565b60405180910390fd5b600061256e610b67565b905061257e818787878787613225565b60005b845181101561272f57600085828151811061259f5761259e6151df565b5b6020026020010151905060008583815181106125be576125bd6151df565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561265f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265690614b66565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127149190614e50565b9250508190555050505080612728906150d8565b9050612581565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516127a69291906148b2565b60405180910390a46127bc81878787878761322d565b6127ca818787878787613235565b505050505050565b6127da610b67565b73ffffffffffffffffffffffffffffffffffffffff166127f8611adc565b73ffffffffffffffffffffffffffffffffffffffff161461284e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284590614b86565b60405180910390fd5b565b6128d18363a9059cbb60e01b848460405160240161286f929190614867565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061341c565b505050565b80600290805190602001906128ec9291906138fa565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612960576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295790614c86565b60405180910390fd5b600061296a610b67565b90506000612977856134e3565b90506000612984856134e3565b905061299583600089858589613225565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129f49190614e50565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612a72929190614cc1565b60405180910390a4612a898360008985858961322d565b612a988360008989898961355d565b50505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bcd90614c06565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612cc791906148e9565b60405180910390a3505050565b600081600454600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485612d259190614ed7565b612d2f9190614ea6565b612d399190614f31565b90509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da990614b26565b60405180910390fd5b6000612dbc610b67565b90506000612dc9856134e3565b90506000612dd6856134e3565b9050612de6838989858589613225565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015612e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7490614b66565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f329190614e50565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612faf929190614cc1565b60405180910390a4612fc5848a8a86868a61322d565b612fd3848a8a8a8a8a61355d565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561304e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304590614b46565b60405180910390fd5b6000613058610b67565b90506000613065846134e3565b90506000613072846134e3565b905061309283876000858560405180602001604052806000815250613225565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015613129576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613120906149c6565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516131f6929190614cc1565b60405180910390a461321c8488600086866040518060200160405280600081525061322d565b50505050505050565b505050505050565b505050505050565b6132548473ffffffffffffffffffffffffffffffffffffffff16613744565b15613414578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161329a9594939291906147a5565b602060405180830381600087803b1580156132b457600080fd5b505af19250505080156132e557506040513d601f19601f820116820180604052508101906132e29190614048565b60015b61338b576132f161523d565b806308c379a0141561334e5750613306615a33565b806133115750613350565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133459190614904565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338290614926565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613412576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340990614966565b60405180910390fd5b505b505050505050565b600061347e826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137679092919063ffffffff16565b90506000815111156134de578080602001905181019061349e9190613fee565b6134dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134d490614c26565b60405180910390fd5b5b505050565b60606000600167ffffffffffffffff8111156135025761350161520e565b5b6040519080825280602002602001820160405280156135305781602001602082028036833780820191505090505b5090508281600081518110613548576135476151df565b5b60200260200101818152505080915050919050565b61357c8473ffffffffffffffffffffffffffffffffffffffff16613744565b1561373c578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016135c295949392919061480d565b602060405180830381600087803b1580156135dc57600080fd5b505af192505050801561360d57506040513d601f19601f8201168201806040525081019061360a9190614048565b60015b6136b35761361961523d565b806308c379a01415613676575061362e615a33565b806136395750613678565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161366d9190614904565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136aa90614926565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461373a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161373190614966565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613776848460008561377f565b90509392505050565b6060824710156137c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137bb90614ac6565b60405180910390fd5b6137cd85613744565b61380c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380390614be6565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516138359190614711565b60006040518083038185875af1925050503d8060008114613872576040519150601f19603f3d011682016040523d82523d6000602084013e613877565b606091505b5091509150613887828286613893565b92505050949350505050565b606083156138a3578290506138f3565b6000835111156138b65782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138ea9190614904565b60405180910390fd5b9392505050565b82805461390690615075565b90600052602060002090601f016020900481019282613928576000855561396f565b82601f1061394157805160ff191683800117855561396f565b8280016001018555821561396f579182015b8281111561396e578251825591602001919060010190613953565b5b50905061397c9190613980565b5090565b5b80821115613999576000816000905550600101613981565b5090565b60006139b06139ab84614d0f565b614cea565b905080838252602082019050828560208602820111156139d3576139d2615264565b5b60005b85811015613a0357816139e98882613b01565b8452602084019350602083019250506001810190506139d6565b5050509392505050565b6000613a20613a1b84614d3b565b614cea565b90508083825260208201905082856020860282011115613a4357613a42615264565b5b60005b85811015613a735781613a598882613c4c565b845260208401935060208301925050600181019050613a46565b5050509392505050565b6000613a90613a8b84614d67565b614cea565b905082815260208101848484011115613aac57613aab615269565b5b613ab7848285615033565b509392505050565b6000613ad2613acd84614d98565b614cea565b905082815260208101848484011115613aee57613aed615269565b5b613af9848285615033565b509392505050565b600081359050613b1081615ac9565b92915050565b600081359050613b2581615ae0565b92915050565b600082601f830112613b4057613b3f61525f565b5b8135613b5084826020860161399d565b91505092915050565b600082601f830112613b6e57613b6d61525f565b5b8135613b7e848260208601613a0d565b91505092915050565b600081359050613b9681615af7565b92915050565b600081519050613bab81615af7565b92915050565b600081359050613bc081615b0e565b92915050565b600081519050613bd581615b0e565b92915050565b600082601f830112613bf057613bef61525f565b5b8135613c00848260208601613a7d565b91505092915050565b600081359050613c1881615b25565b92915050565b600082601f830112613c3357613c3261525f565b5b8135613c43848260208601613abf565b91505092915050565b600081359050613c5b81615b3c565b92915050565b600081519050613c7081615b3c565b92915050565b600060208284031215613c8c57613c8b615273565b5b6000613c9a84828501613b01565b91505092915050565b600060208284031215613cb957613cb8615273565b5b6000613cc784828501613b16565b91505092915050565b60008060408385031215613ce757613ce6615273565b5b6000613cf585828601613b01565b9250506020613d0685828601613b01565b9150509250929050565b600080600080600060a08688031215613d2c57613d2b615273565b5b6000613d3a88828901613b01565b9550506020613d4b88828901613b01565b945050604086013567ffffffffffffffff811115613d6c57613d6b61526e565b5b613d7888828901613b59565b935050606086013567ffffffffffffffff811115613d9957613d9861526e565b5b613da588828901613b59565b925050608086013567ffffffffffffffff811115613dc657613dc561526e565b5b613dd288828901613bdb565b9150509295509295909350565b600080600080600060a08688031215613dfb57613dfa615273565b5b6000613e0988828901613b01565b9550506020613e1a88828901613b01565b9450506040613e2b88828901613c4c565b9350506060613e3c88828901613c4c565b925050608086013567ffffffffffffffff811115613e5d57613e5c61526e565b5b613e6988828901613bdb565b9150509295509295909350565b60008060408385031215613e8d57613e8c615273565b5b6000613e9b85828601613b01565b9250506020613eac85828601613b87565b9150509250929050565b60008060408385031215613ecd57613ecc615273565b5b6000613edb85828601613b01565b9250506020613eec85828601613c4c565b9150509250929050565b600080600060608486031215613f0f57613f0e615273565b5b6000613f1d86828701613b01565b9350506020613f2e86828701613c4c565b9250506040613f3f86828701613c4c565b9150509250925092565b60008060408385031215613f6057613f5f615273565b5b600083013567ffffffffffffffff811115613f7e57613f7d61526e565b5b613f8a85828601613b2b565b925050602083013567ffffffffffffffff811115613fab57613faa61526e565b5b613fb785828601613b59565b9150509250929050565b600060208284031215613fd757613fd6615273565b5b6000613fe584828501613b87565b91505092915050565b60006020828403121561400457614003615273565b5b600061401284828501613b9c565b91505092915050565b60006020828403121561403157614030615273565b5b600061403f84828501613bb1565b91505092915050565b60006020828403121561405e5761405d615273565b5b600061406c84828501613bc6565b91505092915050565b60006020828403121561408b5761408a615273565b5b600061409984828501613c09565b91505092915050565b600080604083850312156140b9576140b8615273565b5b60006140c785828601613c09565b92505060206140d885828601613b01565b9150509250929050565b6000602082840312156140f8576140f7615273565b5b600082013567ffffffffffffffff8111156141165761411561526e565b5b61412284828501613c1e565b91505092915050565b60006020828403121561414157614140615273565b5b600061414f84828501613c4c565b91505092915050565b60006020828403121561416e5761416d615273565b5b600061417c84828501613c61565b91505092915050565b600061419183836146f3565b60208301905092915050565b6141a681614ffd565b82525050565b6141b581614f65565b82525050565b60006141c682614dd9565b6141d08185614e07565b93506141db83614dc9565b8060005b8381101561420c5781516141f38882614185565b97506141fe83614dfa565b9250506001810190506141df565b5085935050505092915050565b61422281614f89565b82525050565b600061423382614de4565b61423d8185614e18565b935061424d818560208601615042565b61425681615278565b840191505092915050565b600061426c82614de4565b6142768185614e29565b9350614286818560208601615042565b80840191505092915050565b600061429d82614def565b6142a78185614e34565b93506142b7818560208601615042565b6142c081615278565b840191505092915050565b60006142d682614def565b6142e08185614e45565b93506142f0818560208601615042565b80840191505092915050565b6000614309603483614e34565b915061431482615296565b604082019050919050565b600061432c602f83614e34565b9150614337826152e5565b604082019050919050565b600061434f602883614e34565b915061435a82615334565b604082019050919050565b6000614372601783614e34565b915061437d82615383565b602082019050919050565b6000614395602683614e34565b91506143a0826153ac565b604082019050919050565b60006143b8602483614e34565b91506143c3826153fb565b604082019050919050565b60006143db602683614e34565b91506143e68261544a565b604082019050919050565b60006143fe602983614e34565b915061440982615499565b604082019050919050565b6000614421601183614e34565b915061442c826154e8565b602082019050919050565b6000614444602a83614e34565b915061444f82615511565b604082019050919050565b6000614467602683614e34565b915061447282615560565b604082019050919050565b600061448a603a83614e34565b9150614495826155af565b604082019050919050565b60006144ad601d83614e34565b91506144b8826155fe565b602082019050919050565b60006144d0602683614e34565b91506144db82615627565b604082019050919050565b60006144f3602b83614e34565b91506144fe82615676565b604082019050919050565b6000614516601683614e34565b9150614521826156c5565b602082019050919050565b6000614539602583614e34565b9150614544826156ee565b604082019050919050565b600061455c602383614e34565b91506145678261573d565b604082019050919050565b600061457f602a83614e34565b915061458a8261578c565b604082019050919050565b60006145a2602083614e34565b91506145ad826157db565b602082019050919050565b60006145c5601783614e34565b91506145d082615804565b602082019050919050565b60006145e8602b83614e34565b91506145f38261582d565b604082019050919050565b600061460b600083614e29565b91506146168261587c565b600082019050919050565b600061462e601d83614e34565b91506146398261587f565b602082019050919050565b6000614651602983614e34565b915061465c826158a8565b604082019050919050565b6000614674602a83614e34565b915061467f826158f7565b604082019050919050565b6000614697602983614e34565b91506146a282615946565b604082019050919050565b60006146ba602883614e34565b91506146c582615995565b604082019050919050565b60006146dd602183614e34565b91506146e8826159e4565b604082019050919050565b6146fc81614ff3565b82525050565b61470b81614ff3565b82525050565b600061471d8284614261565b915081905092915050565b600061473482856142cb565b915061474082846142cb565b91508190509392505050565b6000614757826145fe565b9150819050919050565b600060208201905061477660008301846141ac565b92915050565b6000604082019050614791600083018561419d565b61479e6020830184614702565b9392505050565b600060a0820190506147ba60008301886141ac565b6147c760208301876141ac565b81810360408301526147d981866141bb565b905081810360608301526147ed81856141bb565b905081810360808301526148018184614228565b90509695505050505050565b600060a08201905061482260008301886141ac565b61482f60208301876141ac565b61483c6040830186614702565b6148496060830185614702565b818103608083015261485b8184614228565b90509695505050505050565b600060408201905061487c60008301856141ac565b6148896020830184614702565b9392505050565b600060208201905081810360008301526148aa81846141bb565b905092915050565b600060408201905081810360008301526148cc81856141bb565b905081810360208301526148e081846141bb565b90509392505050565b60006020820190506148fe6000830184614219565b92915050565b6000602082019050818103600083015261491e8184614292565b905092915050565b6000602082019050818103600083015261493f816142fc565b9050919050565b6000602082019050818103600083015261495f8161431f565b9050919050565b6000602082019050818103600083015261497f81614342565b9050919050565b6000602082019050818103600083015261499f81614365565b9050919050565b600060208201905081810360008301526149bf81614388565b9050919050565b600060208201905081810360008301526149df816143ab565b9050919050565b600060208201905081810360008301526149ff816143ce565b9050919050565b60006020820190508181036000830152614a1f816143f1565b9050919050565b60006020820190508181036000830152614a3f81614414565b9050919050565b60006020820190508181036000830152614a5f81614437565b9050919050565b60006020820190508181036000830152614a7f8161445a565b9050919050565b60006020820190508181036000830152614a9f8161447d565b9050919050565b60006020820190508181036000830152614abf816144a0565b9050919050565b60006020820190508181036000830152614adf816144c3565b9050919050565b60006020820190508181036000830152614aff816144e6565b9050919050565b60006020820190508181036000830152614b1f81614509565b9050919050565b60006020820190508181036000830152614b3f8161452c565b9050919050565b60006020820190508181036000830152614b5f8161454f565b9050919050565b60006020820190508181036000830152614b7f81614572565b9050919050565b60006020820190508181036000830152614b9f81614595565b9050919050565b60006020820190508181036000830152614bbf816145b8565b9050919050565b60006020820190508181036000830152614bdf816145db565b9050919050565b60006020820190508181036000830152614bff81614621565b9050919050565b60006020820190508181036000830152614c1f81614644565b9050919050565b60006020820190508181036000830152614c3f81614667565b9050919050565b60006020820190508181036000830152614c5f8161468a565b9050919050565b60006020820190508181036000830152614c7f816146ad565b9050919050565b60006020820190508181036000830152614c9f816146d0565b9050919050565b6000602082019050614cbb6000830184614702565b92915050565b6000604082019050614cd66000830185614702565b614ce36020830184614702565b9392505050565b6000614cf4614d05565b9050614d0082826150a7565b919050565b6000604051905090565b600067ffffffffffffffff821115614d2a57614d2961520e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d5657614d5561520e565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614d8257614d8161520e565b5b614d8b82615278565b9050602081019050919050565b600067ffffffffffffffff821115614db357614db261520e565b5b614dbc82615278565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e5b82614ff3565b9150614e6683614ff3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e9b57614e9a615152565b5b828201905092915050565b6000614eb182614ff3565b9150614ebc83614ff3565b925082614ecc57614ecb615181565b5b828204905092915050565b6000614ee282614ff3565b9150614eed83614ff3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f2657614f25615152565b5b828202905092915050565b6000614f3c82614ff3565b9150614f4783614ff3565b925082821015614f5a57614f59615152565b5b828203905092915050565b6000614f7082614fd3565b9050919050565b6000614f8282614fd3565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614fcc82614f65565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006150088261500f565b9050919050565b600061501a82615021565b9050919050565b600061502c82614fd3565b9050919050565b82818337600083830152505050565b60005b83811015615060578082015181840152602081019050615045565b8381111561506f576000848401525b50505050565b6000600282049050600182168061508d57607f821691505b602082108114156150a1576150a06151b0565b5b50919050565b6150b082615278565b810181811067ffffffffffffffff821117156150cf576150ce61520e565b5b80604052505050565b60006150e382614ff3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561511657615115615152565b5b600182019050919050565b600061512c82614ff3565b915061513783614ff3565b92508261514757615146615181565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561525c5760046000803e615259600051615289565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4554482073656e742069732062656c6f7720636f73742e000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206f6620746f6b656e7320657863656564732077616c6c65742060008201527f6c696d69742e0000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420746f6b656e2049442e000000000000000000000000000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b7f416d6f756e74206578636565647320737570706c792e00000000000000000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f53616c65206973206e6f7420796574206163746976652e000000000000000000600082015250565b7f416d6f756e74206f6620746f6b656e732065786365656473207472616e73616360008201527f74696f6e206c696d69742e000000000000000000000000000000000000000000602082015250565b50565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015615a4357615ac6565b615a4b614d05565b60043d036004823e80513d602482011167ffffffffffffffff82111715615a73575050615ac6565b808201805167ffffffffffffffff811115615a915750505050615ac6565b80602083010160043d038501811115615aae575050505050615ac6565b615abd826020018501866150a7565b82955050505050505b90565b615ad281614f65565b8114615add57600080fd5b50565b615ae981614f77565b8114615af457600080fd5b50565b615b0081614f89565b8114615b0b57600080fd5b50565b615b1781614f95565b8114615b2257600080fd5b50565b615b2e81614fc1565b8114615b3957600080fd5b50565b615b4581614ff3565b8114615b5057600080fd5b5056fe416d6f756e74206f6620746f6b656e7320657863656564732077616c6c6574206c696d69742e416d6f756e74206f6620746f6b656e732065786365656473207472616e73616374696f6e206c696d69742ea2646970667358221220ba2ae364c3cb7f3acb274986f0aa1caee55944a104b20398b637d0d5a007972464736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5259416e4c6273645837426b4635566b4e6f4b375050584470374e6e666b7a387476707832475176696d65732f0000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000006b99d2b10f3cc0ce6b871a9f5f94e1ecd6222f4700000000000000000000000056d70c3d7bee157feaa5df4f2d346270d3eb208c000000000000000000000000bf5918c39f048d5e4d6aed16f6644f9b46b562c200000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000007000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000053
-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmRYAnLbsdX7BkF5VkNoK7PPXDp7Nnfkz8tvpx2GQvimes/
Arg [1] : _shareholders (address[]): 0x6B99D2B10f3Cc0CE6b871A9F5f94e1ECD6222f47,0x56d70C3D7BeE157FeAA5dF4F2D346270D3eb208c,0xBF5918c39F048D5E4d6aeD16F6644F9B46b562C2
Arg [2] : _shares (uint256[]): 7,10,83
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d5259416e4c6273645837426b4635566b4e6f4b37505058
Arg [5] : 4470374e6e666b7a387476707832475176696d65732f00000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 0000000000000000000000006b99d2b10f3cc0ce6b871a9f5f94e1ecd6222f47
Arg [8] : 00000000000000000000000056d70c3d7bee157feaa5df4f2d346270d3eb208c
Arg [9] : 000000000000000000000000bf5918c39f048d5e4d6aed16f6644f9b46b562c2
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [12] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000053
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,404.54 | 2.02 | $6,877.17 |
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.