More Info
Private Name Tags
Latest 25 from a total of 127 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 19741197 | 310 days ago | IN | 0 ETH | 0.0006999 | ||||
Claim | 19099738 | 400 days ago | IN | 0 ETH | 0.00126381 | ||||
Claim | 19072447 | 404 days ago | IN | 0 ETH | 0.00086015 | ||||
Claim | 19022071 | 411 days ago | IN | 0 ETH | 0.00358615 | ||||
Claim | 19015012 | 412 days ago | IN | 0 ETH | 0.00203072 | ||||
Claim | 19015009 | 412 days ago | IN | 0 ETH | 0.00199137 | ||||
Claim | 19014912 | 412 days ago | IN | 0 ETH | 0.00231151 | ||||
Claim | 18889498 | 430 days ago | IN | 0 ETH | 0.0027997 | ||||
Claim | 18723501 | 453 days ago | IN | 0 ETH | 0.00457853 | ||||
Claim | 18723491 | 453 days ago | IN | 0 ETH | 0.00544044 | ||||
Claim | 18667032 | 461 days ago | IN | 0 ETH | 0.00237763 | ||||
Claim | 18667027 | 461 days ago | IN | 0 ETH | 0.00287408 | ||||
Claim | 18635008 | 465 days ago | IN | 0 ETH | 0.00345392 | ||||
Claim | 18634991 | 465 days ago | IN | 0 ETH | 0.00326126 | ||||
Claim | 18502987 | 484 days ago | IN | 0 ETH | 0.00118396 | ||||
Claim | 18404238 | 498 days ago | IN | 0 ETH | 0.00091027 | ||||
Claim | 18384350 | 500 days ago | IN | 0 ETH | 0.00051637 | ||||
Claim | 18379143 | 501 days ago | IN | 0 ETH | 0.00184762 | ||||
Claim | 18358986 | 504 days ago | IN | 0 ETH | 0.00060892 | ||||
Claim | 18335013 | 507 days ago | IN | 0 ETH | 0.00094625 | ||||
Claim | 18330516 | 508 days ago | IN | 0 ETH | 0.00065595 | ||||
Claim | 18320154 | 509 days ago | IN | 0 ETH | 0.00091337 | ||||
Claim | 18319986 | 509 days ago | IN | 0 ETH | 0.00030891 | ||||
Claim | 18319960 | 509 days ago | IN | 0 ETH | 0.00073158 | ||||
Claim | 18317076 | 510 days ago | IN | 0 ETH | 0.00068095 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
19741197 | 310 days ago | 0.0080384 ETH | ||||
19099738 | 400 days ago | 0.03488379 ETH | ||||
19072447 | 404 days ago | 0.0080384 ETH | ||||
19022071 | 411 days ago | 0.06976759 ETH | ||||
19015012 | 412 days ago | 0.17441898 ETH | ||||
19015009 | 412 days ago | 0.08038405 ETH | ||||
19014912 | 412 days ago | 0.01607681 ETH | ||||
18889498 | 430 days ago | 0.13953518 ETH | ||||
18723501 | 453 days ago | 0.01607681 ETH | ||||
18723491 | 453 days ago | 0.06976759 ETH | ||||
18667032 | 461 days ago | 0.04823043 ETH | ||||
18667027 | 461 days ago | 0.10465139 ETH | ||||
18635008 | 465 days ago | 0.01607681 ETH | ||||
18634991 | 465 days ago | 0.10465139 ETH | ||||
18502987 | 484 days ago | 0.0080384 ETH | ||||
18404238 | 498 days ago | 0.1527297 ETH | ||||
18384350 | 500 days ago | 0.01607681 ETH | ||||
18379143 | 501 days ago | 0.0080384 ETH | ||||
18358986 | 504 days ago | 0.01607681 ETH | ||||
18335013 | 507 days ago | 0.01607681 ETH | ||||
18330516 | 508 days ago | 0.0080384 ETH | ||||
18320154 | 509 days ago | 0.0080384 ETH | ||||
18319960 | 509 days ago | 0.20930278 ETH | ||||
18317076 | 510 days ago | 0.0080384 ETH | ||||
18316505 | 510 days ago | 0.0080384 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
PoolManager
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IPool { function start(uint256 tokenId) external payable; } interface INft { function mint(address sender, uint256 tokenId, uint256 tokens) external; function burn(address sender, uint256 tokenId, uint256 tokens) external; function totalSupply(uint256 tokenId) view external returns (uint256); function balanceOf(address investor, uint256 tokenId) view external returns (uint256); } interface IPoolDistributor { function snapshot() external returns (uint256); function receiveFee(uint256 snapshotId) external payable; } contract PoolManager is Ownable { enum Status{Pending, Open, Locked, Closed, Exited} struct PoolData { Status status; uint256 price; uint256 maxSupply; address poolContract; } mapping(uint256 => PoolData) public pools; mapping(uint256 => uint256) public finalBalances; mapping(uint256 => uint256) public snapshotIds; address public managementContract; INft immutable public poolNft; IERC20 immutable public landDao; IPoolDistributor immutable public poolDistributor; constructor(address poolNft_, address poolDistributor_, address landDao_) { poolNft = INft(poolNft_); poolDistributor = IPoolDistributor(poolDistributor_); landDao = IERC20(landDao_); } function setManagementContract(address managementContract_) external onlyOwner { require(managementContract_ != address(0), "Manager: should be not null"); managementContract = managementContract_; } function totalSupply(uint256 tokenId) view public returns (uint256) { return poolNft.totalSupply(tokenId); } function balanceOf(address investor, uint256 tokenId) view public returns (uint256){ return poolNft.balanceOf(investor, tokenId); } function open(uint256 tokenId, uint256 price, uint256 maxSupply, address poolContract) external onlyOwner { require(tokenId > 0, "Manager: tokenId is 0"); PoolData memory pool = pools[tokenId]; require(pool.status == Status.Pending, "Manager: not pending"); pools[tokenId] = PoolData(Status.Open, price, maxSupply, poolContract); uint256 snapshotId = poolDistributor.snapshot(); snapshotIds[tokenId] = snapshotId; } function invest(uint256 tokenId, uint256 tokens) external payable { PoolData memory pool = pools[tokenId]; require(pool.status == Status.Open, "Manager: not enabled"); require(totalSupply(tokenId) + tokens <= pool.maxSupply, "Manager: exceeds max"); require(msg.value == pool.price * tokens, "Manager: wrong amount"); poolNft.mint(msg.sender, tokenId, tokens); } function lock(uint256 tokenId) external onlyOwner { PoolData memory pool = pools[tokenId]; uint256 totalSupply_ = totalSupply(tokenId); require(totalSupply_ > 0, "Manager: no investments"); require(managementContract != address(0), "Manager: management contract null"); require(pool.status == Status.Open, "Manager: contract not open"); uint256 balance = pool.price * totalSupply_; uint256 managementFee = (balance * 3) / 100; uint256 distributableFee = (balance * 2) / 100; uint256 operationAmount = balance - (managementFee + distributableFee); pools[tokenId].status = Status.Locked; poolDistributor.receiveFee{value : distributableFee}(snapshotIds[tokenId]); IPool(pool.poolContract).start{value : operationAmount}(tokenId); (bool success,) = payable(managementContract).call{value : managementFee}(""); require(success, "Manager: unsuccessful payment"); } function allowExit(uint256 tokenId) external onlyOwner { require(pools[tokenId].status == Status.Open, "Manager: bad status"); pools[tokenId].status = Status.Exited; } function exit(uint256 tokenId) external { PoolData memory pool = pools[tokenId]; require(pool.status == Status.Exited, "Manager: exit not possible"); uint256 balance = balanceOf(msg.sender, tokenId); require(balance > 0, "Manager: not a holder"); poolNft.burn(msg.sender, tokenId, balance); (bool success,) = payable(msg.sender).call{value : balance * pool.price}(""); require(success, "Manager: unsuccessful payment"); } function close(uint256 tokenId) external payable { PoolData memory pool = pools[tokenId]; require(pool.status == Status.Locked, "Manager: not locked"); require(msg.sender == pool.poolContract, "Manager: only pool"); uint256 invested = totalSupply(tokenId) * pool.price; uint256 fee; if (msg.value > invested) { uint256 profit = msg.value - invested; fee = profit / 10; poolDistributor.receiveFee{value : fee}(snapshotIds[tokenId]); } finalBalances[tokenId] = msg.value - (fee * 2); pools[tokenId].status = Status.Closed; if (fee > 0) { (bool success,) = payable(managementContract).call{value : fee}(""); require(success, "Manager: unsuccessful payment"); } } function claimable(address investor, uint256 tokenId) public view returns (uint256) { uint256 balance = balanceOf(investor, tokenId); uint256 finalBalance = finalBalances[tokenId]; uint256 totalSupply_ = totalSupply(tokenId); return (finalBalance * balance) / totalSupply_; } function claim(uint256 tokenId) external { PoolData memory pool = pools[tokenId]; require(pool.status == Status.Closed, "Manager: claim not available"); uint256 balance = balanceOf(msg.sender, tokenId); require(balance > 0, "Manager: nothing to claim"); uint256 totalSupply_ = totalSupply(tokenId); uint256 finalBalance = finalBalances[tokenId]; uint256 amount = (finalBalance * balance) /totalSupply_; uint256 landBalance = landDao.balanceOf(pool.poolContract); if (landBalance > 0) { uint256 rewards = (landBalance * balance) / totalSupply_; landDao.transferFrom(pool.poolContract, msg.sender, rewards); } finalBalances[tokenId] -= amount; poolNft.burn(msg.sender, tokenId, balance); (bool success,) = payable(msg.sender).call{value : amount}(""); require(success, "Manager: unsuccessful payment"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _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.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _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 owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `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(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * 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(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); 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); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * 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); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "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 `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // 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 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) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"poolNft_","type":"address"},{"internalType":"address","name":"poolDistributor_","type":"address"},{"internalType":"address","name":"landDao_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"allowExit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"investor","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"investor","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"close","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"finalBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"invest","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"landDao","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"managementContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"address","name":"poolContract","type":"address"}],"name":"open","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolDistributor","outputs":[{"internalType":"contract IPoolDistributor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolNft","outputs":[{"internalType":"contract INft","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pools","outputs":[{"internalType":"enum PoolManager.Status","name":"status","type":"uint8"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"address","name":"poolContract","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"managementContract_","type":"address"}],"name":"setManagementContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"snapshotIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"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"}]
Contract Creation Code
60e06040523480156200001157600080fd5b5060405162003a2838038062003a288339818101604052810190620000379190620001e8565b620000576200004b6200010560201b60201c565b6200010d60201b60201c565b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508173ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250505050506200028c565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050620001e28162000272565b92915050565b600080600060608486031215620001fe57600080fd5b60006200020e86828701620001d1565b93505060206200022186828701620001d1565b92505060406200023486828701620001d1565b9150509250925092565b60006200024b8262000252565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6200027d816200023e565b81146200028957600080fd5b50565b60805160601c60a05160601c60c05160601c61371d6200030b6000396000818161081b01528181610a2f01528181610f4501526124330152600081816112640152818161133701526120190152600081816104e80152818161141701528181611a3e01528181611bb701528181611c600152611f85015261371d6000f3fe6080604052600436106101295760003560e01c8063774142bb116100ab578063b3e5cc4a1161006f578063b3e5cc4a146103e3578063bd85b0391461040e578063d87aa6431461044b578063da67919b14610467578063dd46706414610492578063f2fde38b146104bb57610129565b8063774142bb146102e75780637f8661a1146103245780638da5cb5b1461034d57806397b168de14610378578063ac4afa38146103a357610129565b8063379607f5116100f2578063379607f5146102045780634956212e1461022d57806360efe3341461026a5780636558edff146102a7578063715018a6146102d057610129565b8062fdd58e1461012e5780630aebeb4e1461016b578063135fed29146101875780631df77caa146101b257806327109054146101db575b600080fd5b34801561013a57600080fd5b5061015560048036038101906101509190612859565b6104e4565b6040516101629190613082565b60405180910390f35b610185600480360381019061018091906128be565b610598565b005b34801561019357600080fd5b5061019c610a2d565b6040516101a99190612dc2565b60405180910390f35b3480156101be57600080fd5b506101d960048036038101906101d49190612830565b610a51565b005b3480156101e757600080fd5b5061020260048036038101906101fd919061294c565b610b81565b005b34801561021057600080fd5b5061022b600480360381019061022691906128be565b611005565b005b34801561023957600080fd5b50610254600480360381019061024f91906128be565b61155a565b6040516102619190613082565b60405180910390f35b34801561027657600080fd5b50610291600480360381019061028c9190612859565b611572565b60405161029e9190613082565b60405180910390f35b3480156102b357600080fd5b506102ce60048036038101906102c991906128be565b6115c8565b005b3480156102dc57600080fd5b506102e5611782565b005b3480156102f357600080fd5b5061030e600480360381019061030991906128be565b61180a565b60405161031b9190613082565b60405180910390f35b34801561033057600080fd5b5061034b600480360381019061034691906128be565b611822565b005b34801561035957600080fd5b50610362611b8c565b60405161036f9190612cda565b60405180910390f35b34801561038457600080fd5b5061038d611bb5565b60405161039a9190612da7565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c591906128be565b611bd9565b6040516103da9493929190612ddd565b60405180910390f35b3480156103ef57600080fd5b506103f8611c36565b6040516104059190612cda565b60405180910390f35b34801561041a57600080fd5b50610435600480360381019061043091906128be565b611c5c565b6040516104429190613082565b60405180910390f35b61046560048036038101906104609190612910565b611d0e565b005b34801561047357600080fd5b5061047c612017565b6040516104899190612d8c565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b491906128be565b61203b565b005b3480156104c757600080fd5b506104e260048036038101906104dd9190612830565b612618565b005b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1662fdd58e84846040518363ffffffff1660e01b8152600401610540929190612d2c565b60206040518083038186803b15801561055857600080fd5b505afa15801561056c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059091906128e7565b905092915050565b6000600160008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115610603577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481111561063b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600260048111156106e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600001516004811115610722577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14610762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075990612ee2565b60405180910390fd5b806060015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cb90612f02565b60405180910390fd5b600081602001516107e484611c5c565b6107ee9190613140565b90506000813411156108ba5760008234610808919061319a565b9050600a81610817919061310f565b91507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630969acb38360036000898152602001908152602001600020546040518363ffffffff1660e01b81526004016108869190613082565b6000604051808303818588803b15801561089f57600080fd5b505af11580156108b3573d6000803e3d6000fd5b5050505050505b6002816108c79190613140565b346108d2919061319a565b600260008681526020019081526020016000208190555060036001600086815260200190815260200160002060000160006101000a81548160ff02191690836004811115610949577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055506000811115610a27576000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161099f90612cc5565b60006040518083038185875af1925050503d80600081146109dc576040519150601f19603f3d011682016040523d82523d6000602084013e6109e1565b606091505b5050905080610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c90613022565b60405180910390fd5b505b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610a59612710565b73ffffffffffffffffffffffffffffffffffffffff16610a77611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614610acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac490612fe2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3490612e82565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b89612710565b73ffffffffffffffffffffffffffffffffffffffff16610ba7611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf490612fe2565b60405180910390fd5b60008411610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790612e22565b60405180910390fd5b6000600160008681526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115610cab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811115610ce3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060006004811115610d8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600001516004811115610dca577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14610e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0190612e42565b60405180910390fd5b604051806080016040528060016004811115610e4f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff168152506001600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690836004811115610ede577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16639711715a6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610fab57600080fd5b505af1158015610fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe391906128e7565b9050806003600088815260200190815260200160002081905550505050505050565b6000600160008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115611070577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048111156110a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060036004811115611152577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160000151600481111561118f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146111cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c690613062565b60405180910390fd5b60006111db33846104e4565b905060008111611220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121790612f42565b60405180910390fd5b600061122b84611c5c565b905060006002600086815260200190815260200160002054905060008284836112549190613140565b61125e919061310f565b905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a0823187606001516040518263ffffffff1660e01b81526004016112bf9190612cda565b60206040518083038186803b1580156112d757600080fd5b505afa1580156112eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130f91906128e7565b905060008111156113eb5760008486836113299190613140565b611333919061310f565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd886060015133846040518463ffffffff1660e01b815260040161139693929190612cf5565b602060405180830381600087803b1580156113b057600080fd5b505af11580156113c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e89190612895565b50505b8160026000898152602001908152602001600020600082825461140e919061319a565b925050819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f5298aca3389886040518463ffffffff1660e01b815260040161147293929190612d55565b600060405180830381600087803b15801561148c57600080fd5b505af11580156114a0573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff16836040516114ca90612cc5565b60006040518083038185875af1925050503d8060008114611507576040519150601f19603f3d011682016040523d82523d6000602084013e61150c565b606091505b5050905080611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790613022565b60405180910390fd5b5050505050505050565b60026020528060005260406000206000915090505481565b60008061157f84846104e4565b905060006002600085815260200190815260200160002054905060006115a485611c5c565b90508083836115b39190613140565b6115bd919061310f565b935050505092915050565b6115d0612710565b73ffffffffffffffffffffffffffffffffffffffff166115ee611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163b90612fe2565b60405180910390fd5b6001600481111561167e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6001600083815260200190815260200160002060000160009054906101000a900460ff1660048111156116da577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461171a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171190612f82565b60405180910390fd5b60046001600083815260200190815260200160002060000160006101000a81548160ff0219169083600481111561177a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b61178a612710565b73ffffffffffffffffffffffffffffffffffffffff166117a8611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590612fe2565b60405180910390fd5b6118086000612718565b565b60036020528060005260406000206000915090505481565b6000600160008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff16600481111561188d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048111156118c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060048081111561196e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816000015160048111156119ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e290613002565b60405180910390fd5b60006119f733846104e4565b905060008111611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3390612fc2565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f5298aca3385846040518463ffffffff1660e01b8152600401611a9993929190612d55565b600060405180830381600087803b158015611ab357600080fd5b505af1158015611ac7573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff16836020015183611af49190613140565b604051611b0090612cc5565b60006040518083038185875af1925050503d8060008114611b3d576040519150601f19603f3d011682016040523d82523d6000602084013e611b42565b606091505b5050905080611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90613022565b60405180910390fd5b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b60016020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905084565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663bd85b039836040518263ffffffff1660e01b8152600401611cb79190613082565b60206040518083038186803b158015611ccf57600080fd5b505afa158015611ce3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0791906128e7565b9050919050565b6000600160008481526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115611d79577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811115611db1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060016004811115611e5b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600001516004811115611e98577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf90613042565b60405180910390fd5b806040015182611ee785611c5c565b611ef191906130b9565b1115611f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2990612f22565b60405180910390fd5b818160200151611f429190613140565b3414611f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7a90612fa2565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663156e29f63385856040518463ffffffff1660e01b8152600401611fe093929190612d55565b600060405180830381600087803b158015611ffa57600080fd5b505af115801561200e573d6000803e3d6000fd5b50505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b612043612710565b73ffffffffffffffffffffffffffffffffffffffff16612061611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae90612fe2565b60405180910390fd5b6000600160008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115612122577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481111561215a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060006121d583611c5c565b90506000811161221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190612ea2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a390612ec2565b60405180910390fd5b600160048111156122e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b82600001516004811115612323577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14612363576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235a90612f62565b60405180910390fd5b60008183602001516123759190613140565b9050600060646003836123889190613140565b612392919061310f565b9050600060646002846123a59190613140565b6123af919061310f565b9050600081836123bf91906130b9565b846123ca919061319a565b905060026001600089815260200190815260200160002060000160006101000a81548160ff0219169083600481111561242c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16630969acb383600360008b8152602001908152602001600020546040518363ffffffff1660e01b815260040161249e9190613082565b6000604051808303818588803b1580156124b757600080fd5b505af11580156124cb573d6000803e3d6000fd5b5050505050856060015173ffffffffffffffffffffffffffffffffffffffff166395805dad82896040518363ffffffff1660e01b815260040161250e9190613082565b6000604051808303818588803b15801561252757600080fd5b505af115801561253b573d6000803e3d6000fd5b50505050506000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168460405161258890612cc5565b60006040518083038185875af1925050503d80600081146125c5576040519150601f19603f3d011682016040523d82523d6000602084013e6125ca565b606091505b505090508061260e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260590613022565b60405180910390fd5b5050505050505050565b612620612710565b73ffffffffffffffffffffffffffffffffffffffff1661263e611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614612694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268b90612fe2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fb90612e62565b60405180910390fd5b61270d81612718565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000813590506127eb816136a2565b92915050565b600081519050612800816136b9565b92915050565b600081359050612815816136d0565b92915050565b60008151905061282a816136d0565b92915050565b60006020828403121561284257600080fd5b6000612850848285016127dc565b91505092915050565b6000806040838503121561286c57600080fd5b600061287a858286016127dc565b925050602061288b85828601612806565b9150509250929050565b6000602082840312156128a757600080fd5b60006128b5848285016127f1565b91505092915050565b6000602082840312156128d057600080fd5b60006128de84828501612806565b91505092915050565b6000602082840312156128f957600080fd5b60006129078482850161281b565b91505092915050565b6000806040838503121561292357600080fd5b600061293185828601612806565b925050602061294285828601612806565b9150509250929050565b6000806000806080858703121561296257600080fd5b600061297087828801612806565b945050602061298187828801612806565b935050604061299287828801612806565b92505060606129a3878288016127dc565b91505092959194509250565b6129b8816131ce565b82525050565b6129c781613229565b82525050565b6129d68161324d565b82525050565b6129e581613271565b82525050565b6129f481613295565b82525050565b6000612a076015836130a8565b9150612a1282613334565b602082019050919050565b6000612a2a6014836130a8565b9150612a358261335d565b602082019050919050565b6000612a4d6026836130a8565b9150612a5882613386565b604082019050919050565b6000612a70601b836130a8565b9150612a7b826133d5565b602082019050919050565b6000612a936017836130a8565b9150612a9e826133fe565b602082019050919050565b6000612ab66021836130a8565b9150612ac182613427565b604082019050919050565b6000612ad96013836130a8565b9150612ae482613476565b602082019050919050565b6000612afc6012836130a8565b9150612b078261349f565b602082019050919050565b6000612b1f6014836130a8565b9150612b2a826134c8565b602082019050919050565b6000612b426019836130a8565b9150612b4d826134f1565b602082019050919050565b6000612b65601a836130a8565b9150612b708261351a565b602082019050919050565b6000612b886013836130a8565b9150612b9382613543565b602082019050919050565b6000612bab6015836130a8565b9150612bb68261356c565b602082019050919050565b6000612bce6015836130a8565b9150612bd982613595565b602082019050919050565b6000612bf16020836130a8565b9150612bfc826135be565b602082019050919050565b6000612c14601a836130a8565b9150612c1f826135e7565b602082019050919050565b6000612c37601d836130a8565b9150612c4282613610565b602082019050919050565b6000612c5a60008361309d565b9150612c6582613639565b600082019050919050565b6000612c7d6014836130a8565b9150612c888261363c565b602082019050919050565b6000612ca0601c836130a8565b9150612cab82613665565b602082019050919050565b612cbf8161321f565b82525050565b6000612cd082612c4d565b9150819050919050565b6000602082019050612cef60008301846129af565b92915050565b6000606082019050612d0a60008301866129af565b612d1760208301856129af565b612d246040830184612cb6565b949350505050565b6000604082019050612d4160008301856129af565b612d4e6020830184612cb6565b9392505050565b6000606082019050612d6a60008301866129af565b612d776020830185612cb6565b612d846040830184612cb6565b949350505050565b6000602082019050612da160008301846129be565b92915050565b6000602082019050612dbc60008301846129cd565b92915050565b6000602082019050612dd760008301846129dc565b92915050565b6000608082019050612df260008301876129eb565b612dff6020830186612cb6565b612e0c6040830185612cb6565b612e1960608301846129af565b95945050505050565b60006020820190508181036000830152612e3b816129fa565b9050919050565b60006020820190508181036000830152612e5b81612a1d565b9050919050565b60006020820190508181036000830152612e7b81612a40565b9050919050565b60006020820190508181036000830152612e9b81612a63565b9050919050565b60006020820190508181036000830152612ebb81612a86565b9050919050565b60006020820190508181036000830152612edb81612aa9565b9050919050565b60006020820190508181036000830152612efb81612acc565b9050919050565b60006020820190508181036000830152612f1b81612aef565b9050919050565b60006020820190508181036000830152612f3b81612b12565b9050919050565b60006020820190508181036000830152612f5b81612b35565b9050919050565b60006020820190508181036000830152612f7b81612b58565b9050919050565b60006020820190508181036000830152612f9b81612b7b565b9050919050565b60006020820190508181036000830152612fbb81612b9e565b9050919050565b60006020820190508181036000830152612fdb81612bc1565b9050919050565b60006020820190508181036000830152612ffb81612be4565b9050919050565b6000602082019050818103600083015261301b81612c07565b9050919050565b6000602082019050818103600083015261303b81612c2a565b9050919050565b6000602082019050818103600083015261305b81612c70565b9050919050565b6000602082019050818103600083015261307b81612c93565b9050919050565b60006020820190506130976000830184612cb6565b92915050565b600081905092915050565b600082825260208201905092915050565b60006130c48261321f565b91506130cf8361321f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613104576131036132a7565b5b828201905092915050565b600061311a8261321f565b91506131258361321f565b925082613135576131346132d6565b5b828204905092915050565b600061314b8261321f565b91506131568361321f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561318f5761318e6132a7565b5b828202905092915050565b60006131a58261321f565b91506131b08361321f565b9250828210156131c3576131c26132a7565b5b828203905092915050565b60006131d9826131ff565b9050919050565b60008115159050919050565b60008190506131fa8261368e565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006132348261323b565b9050919050565b6000613246826131ff565b9050919050565b60006132588261325f565b9050919050565b600061326a826131ff565b9050919050565b600061327c82613283565b9050919050565b600061328e826131ff565b9050919050565b60006132a0826131ec565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4d616e616765723a20746f6b656e496420697320300000000000000000000000600082015250565b7f4d616e616765723a206e6f742070656e64696e67000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4d616e616765723a2073686f756c64206265206e6f74206e756c6c0000000000600082015250565b7f4d616e616765723a206e6f20696e766573746d656e7473000000000000000000600082015250565b7f4d616e616765723a206d616e6167656d656e7420636f6e7472616374206e756c60008201527f6c00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d616e616765723a206e6f74206c6f636b656400000000000000000000000000600082015250565b7f4d616e616765723a206f6e6c7920706f6f6c0000000000000000000000000000600082015250565b7f4d616e616765723a2065786365656473206d6178000000000000000000000000600082015250565b7f4d616e616765723a206e6f7468696e6720746f20636c61696d00000000000000600082015250565b7f4d616e616765723a20636f6e7472616374206e6f74206f70656e000000000000600082015250565b7f4d616e616765723a206261642073746174757300000000000000000000000000600082015250565b7f4d616e616765723a2077726f6e6720616d6f756e740000000000000000000000600082015250565b7f4d616e616765723a206e6f74206120686f6c6465720000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d616e616765723a2065786974206e6f7420706f737369626c65000000000000600082015250565b7f4d616e616765723a20756e7375636365737366756c207061796d656e74000000600082015250565b50565b7f4d616e616765723a206e6f7420656e61626c6564000000000000000000000000600082015250565b7f4d616e616765723a20636c61696d206e6f7420617661696c61626c6500000000600082015250565b6005811061369f5761369e613305565b5b50565b6136ab816131ce565b81146136b657600080fd5b50565b6136c2816131e0565b81146136cd57600080fd5b50565b6136d98161321f565b81146136e457600080fd5b5056fea26469706673582212203b3027654bc8bdb7ad75f28a0c52c4190b3a2de918175283a01c3fafa2e30af364736f6c63430008040033000000000000000000000000e8bbd0479468b0025e00269516c62119f533971f000000000000000000000000b0af8ff1089042cadfd0246ecc074a05053438ff00000000000000000000000054aa569005332e4d6f91e27c55307aaef607c0e2
Deployed Bytecode
0x6080604052600436106101295760003560e01c8063774142bb116100ab578063b3e5cc4a1161006f578063b3e5cc4a146103e3578063bd85b0391461040e578063d87aa6431461044b578063da67919b14610467578063dd46706414610492578063f2fde38b146104bb57610129565b8063774142bb146102e75780637f8661a1146103245780638da5cb5b1461034d57806397b168de14610378578063ac4afa38146103a357610129565b8063379607f5116100f2578063379607f5146102045780634956212e1461022d57806360efe3341461026a5780636558edff146102a7578063715018a6146102d057610129565b8062fdd58e1461012e5780630aebeb4e1461016b578063135fed29146101875780631df77caa146101b257806327109054146101db575b600080fd5b34801561013a57600080fd5b5061015560048036038101906101509190612859565b6104e4565b6040516101629190613082565b60405180910390f35b610185600480360381019061018091906128be565b610598565b005b34801561019357600080fd5b5061019c610a2d565b6040516101a99190612dc2565b60405180910390f35b3480156101be57600080fd5b506101d960048036038101906101d49190612830565b610a51565b005b3480156101e757600080fd5b5061020260048036038101906101fd919061294c565b610b81565b005b34801561021057600080fd5b5061022b600480360381019061022691906128be565b611005565b005b34801561023957600080fd5b50610254600480360381019061024f91906128be565b61155a565b6040516102619190613082565b60405180910390f35b34801561027657600080fd5b50610291600480360381019061028c9190612859565b611572565b60405161029e9190613082565b60405180910390f35b3480156102b357600080fd5b506102ce60048036038101906102c991906128be565b6115c8565b005b3480156102dc57600080fd5b506102e5611782565b005b3480156102f357600080fd5b5061030e600480360381019061030991906128be565b61180a565b60405161031b9190613082565b60405180910390f35b34801561033057600080fd5b5061034b600480360381019061034691906128be565b611822565b005b34801561035957600080fd5b50610362611b8c565b60405161036f9190612cda565b60405180910390f35b34801561038457600080fd5b5061038d611bb5565b60405161039a9190612da7565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c591906128be565b611bd9565b6040516103da9493929190612ddd565b60405180910390f35b3480156103ef57600080fd5b506103f8611c36565b6040516104059190612cda565b60405180910390f35b34801561041a57600080fd5b50610435600480360381019061043091906128be565b611c5c565b6040516104429190613082565b60405180910390f35b61046560048036038101906104609190612910565b611d0e565b005b34801561047357600080fd5b5061047c612017565b6040516104899190612d8c565b60405180910390f35b34801561049e57600080fd5b506104b960048036038101906104b491906128be565b61203b565b005b3480156104c757600080fd5b506104e260048036038101906104dd9190612830565b612618565b005b60007f000000000000000000000000e8bbd0479468b0025e00269516c62119f533971f73ffffffffffffffffffffffffffffffffffffffff1662fdd58e84846040518363ffffffff1660e01b8152600401610540929190612d2c565b60206040518083038186803b15801561055857600080fd5b505afa15801561056c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059091906128e7565b905092915050565b6000600160008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115610603577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481111561063b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050600260048111156106e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600001516004811115610722577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14610762576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075990612ee2565b60405180910390fd5b806060015173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cb90612f02565b60405180910390fd5b600081602001516107e484611c5c565b6107ee9190613140565b90506000813411156108ba5760008234610808919061319a565b9050600a81610817919061310f565b91507f000000000000000000000000b0af8ff1089042cadfd0246ecc074a05053438ff73ffffffffffffffffffffffffffffffffffffffff16630969acb38360036000898152602001908152602001600020546040518363ffffffff1660e01b81526004016108869190613082565b6000604051808303818588803b15801561089f57600080fd5b505af11580156108b3573d6000803e3d6000fd5b5050505050505b6002816108c79190613140565b346108d2919061319a565b600260008681526020019081526020016000208190555060036001600086815260200190815260200160002060000160006101000a81548160ff02191690836004811115610949577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055506000811115610a27576000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161099f90612cc5565b60006040518083038185875af1925050503d80600081146109dc576040519150601f19603f3d011682016040523d82523d6000602084013e6109e1565b606091505b5050905080610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c90613022565b60405180910390fd5b505b50505050565b7f000000000000000000000000b0af8ff1089042cadfd0246ecc074a05053438ff81565b610a59612710565b73ffffffffffffffffffffffffffffffffffffffff16610a77611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614610acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac490612fe2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3490612e82565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610b89612710565b73ffffffffffffffffffffffffffffffffffffffff16610ba7611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf490612fe2565b60405180910390fd5b60008411610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3790612e22565b60405180910390fd5b6000600160008681526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115610cab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811115610ce3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060006004811115610d8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600001516004811115610dca577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14610e0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0190612e42565b60405180910390fd5b604051806080016040528060016004811115610e4f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81526020018581526020018481526020018373ffffffffffffffffffffffffffffffffffffffff168152506001600087815260200190815260200160002060008201518160000160006101000a81548160ff02191690836004811115610ede577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550602082015181600101556040820151816002015560608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555090505060007f000000000000000000000000b0af8ff1089042cadfd0246ecc074a05053438ff73ffffffffffffffffffffffffffffffffffffffff16639711715a6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015610fab57600080fd5b505af1158015610fbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe391906128e7565b9050806003600088815260200190815260200160002081905550505050505050565b6000600160008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115611070577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048111156110a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060036004811115611152577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160000151600481111561118f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146111cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c690613062565b60405180910390fd5b60006111db33846104e4565b905060008111611220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121790612f42565b60405180910390fd5b600061122b84611c5c565b905060006002600086815260200190815260200160002054905060008284836112549190613140565b61125e919061310f565b905060007f00000000000000000000000054aa569005332e4d6f91e27c55307aaef607c0e273ffffffffffffffffffffffffffffffffffffffff166370a0823187606001516040518263ffffffff1660e01b81526004016112bf9190612cda565b60206040518083038186803b1580156112d757600080fd5b505afa1580156112eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130f91906128e7565b905060008111156113eb5760008486836113299190613140565b611333919061310f565b90507f00000000000000000000000054aa569005332e4d6f91e27c55307aaef607c0e273ffffffffffffffffffffffffffffffffffffffff166323b872dd886060015133846040518463ffffffff1660e01b815260040161139693929190612cf5565b602060405180830381600087803b1580156113b057600080fd5b505af11580156113c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e89190612895565b50505b8160026000898152602001908152602001600020600082825461140e919061319a565b925050819055507f000000000000000000000000e8bbd0479468b0025e00269516c62119f533971f73ffffffffffffffffffffffffffffffffffffffff1663f5298aca3389886040518463ffffffff1660e01b815260040161147293929190612d55565b600060405180830381600087803b15801561148c57600080fd5b505af11580156114a0573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff16836040516114ca90612cc5565b60006040518083038185875af1925050503d8060008114611507576040519150601f19603f3d011682016040523d82523d6000602084013e61150c565b606091505b5050905080611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790613022565b60405180910390fd5b5050505050505050565b60026020528060005260406000206000915090505481565b60008061157f84846104e4565b905060006002600085815260200190815260200160002054905060006115a485611c5c565b90508083836115b39190613140565b6115bd919061310f565b935050505092915050565b6115d0612710565b73ffffffffffffffffffffffffffffffffffffffff166115ee611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614611644576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163b90612fe2565b60405180910390fd5b6001600481111561167e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6001600083815260200190815260200160002060000160009054906101000a900460ff1660048111156116da577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461171a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171190612f82565b60405180910390fd5b60046001600083815260200190815260200160002060000160006101000a81548160ff0219169083600481111561177a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b61178a612710565b73ffffffffffffffffffffffffffffffffffffffff166117a8611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f590612fe2565b60405180910390fd5b6118086000612718565b565b60036020528060005260406000206000915090505481565b6000600160008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff16600481111561188d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048111156118c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060048081111561196e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816000015160048111156119ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b146119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e290613002565b60405180910390fd5b60006119f733846104e4565b905060008111611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3390612fc2565b60405180910390fd5b7f000000000000000000000000e8bbd0479468b0025e00269516c62119f533971f73ffffffffffffffffffffffffffffffffffffffff1663f5298aca3385846040518463ffffffff1660e01b8152600401611a9993929190612d55565b600060405180830381600087803b158015611ab357600080fd5b505af1158015611ac7573d6000803e3d6000fd5b5050505060003373ffffffffffffffffffffffffffffffffffffffff16836020015183611af49190613140565b604051611b0090612cc5565b60006040518083038185875af1925050503d8060008114611b3d576040519150601f19603f3d011682016040523d82523d6000602084013e611b42565b606091505b5050905080611b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7d90613022565b60405180910390fd5b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000e8bbd0479468b0025e00269516c62119f533971f81565b60016020528060005260406000206000915090508060000160009054906101000a900460ff16908060010154908060020154908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905084565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f000000000000000000000000e8bbd0479468b0025e00269516c62119f533971f73ffffffffffffffffffffffffffffffffffffffff1663bd85b039836040518263ffffffff1660e01b8152600401611cb79190613082565b60206040518083038186803b158015611ccf57600080fd5b505afa158015611ce3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d0791906128e7565b9050919050565b6000600160008481526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115611d79577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6004811115611db1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060016004811115611e5b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600001516004811115611e98577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611ed8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecf90613042565b60405180910390fd5b806040015182611ee785611c5c565b611ef191906130b9565b1115611f32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2990612f22565b60405180910390fd5b818160200151611f429190613140565b3414611f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7a90612fa2565b60405180910390fd5b7f000000000000000000000000e8bbd0479468b0025e00269516c62119f533971f73ffffffffffffffffffffffffffffffffffffffff1663156e29f63385856040518463ffffffff1660e01b8152600401611fe093929190612d55565b600060405180830381600087803b158015611ffa57600080fd5b505af115801561200e573d6000803e3d6000fd5b50505050505050565b7f00000000000000000000000054aa569005332e4d6f91e27c55307aaef607c0e281565b612043612710565b73ffffffffffffffffffffffffffffffffffffffff16612061611b8c565b73ffffffffffffffffffffffffffffffffffffffff16146120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae90612fe2565b60405180910390fd5b6000600160008381526020019081526020016000206040518060800160405290816000820160009054906101000a900460ff166004811115612122577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600481111561215a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200160018201548152602001600282015481526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681525050905060006121d583611c5c565b90506000811161221a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221190612ea2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156122ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a390612ec2565b60405180910390fd5b600160048111156122e6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b82600001516004811115612323577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14612363576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235a90612f62565b60405180910390fd5b60008183602001516123759190613140565b9050600060646003836123889190613140565b612392919061310f565b9050600060646002846123a59190613140565b6123af919061310f565b9050600081836123bf91906130b9565b846123ca919061319a565b905060026001600089815260200190815260200160002060000160006101000a81548160ff0219169083600481111561242c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055507f000000000000000000000000b0af8ff1089042cadfd0246ecc074a05053438ff73ffffffffffffffffffffffffffffffffffffffff16630969acb383600360008b8152602001908152602001600020546040518363ffffffff1660e01b815260040161249e9190613082565b6000604051808303818588803b1580156124b757600080fd5b505af11580156124cb573d6000803e3d6000fd5b5050505050856060015173ffffffffffffffffffffffffffffffffffffffff166395805dad82896040518363ffffffff1660e01b815260040161250e9190613082565b6000604051808303818588803b15801561252757600080fd5b505af115801561253b573d6000803e3d6000fd5b50505050506000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168460405161258890612cc5565b60006040518083038185875af1925050503d80600081146125c5576040519150601f19603f3d011682016040523d82523d6000602084013e6125ca565b606091505b505090508061260e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260590613022565b60405180910390fd5b5050505050505050565b612620612710565b73ffffffffffffffffffffffffffffffffffffffff1661263e611b8c565b73ffffffffffffffffffffffffffffffffffffffff1614612694576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161268b90612fe2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612704576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126fb90612e62565b60405180910390fd5b61270d81612718565b50565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000813590506127eb816136a2565b92915050565b600081519050612800816136b9565b92915050565b600081359050612815816136d0565b92915050565b60008151905061282a816136d0565b92915050565b60006020828403121561284257600080fd5b6000612850848285016127dc565b91505092915050565b6000806040838503121561286c57600080fd5b600061287a858286016127dc565b925050602061288b85828601612806565b9150509250929050565b6000602082840312156128a757600080fd5b60006128b5848285016127f1565b91505092915050565b6000602082840312156128d057600080fd5b60006128de84828501612806565b91505092915050565b6000602082840312156128f957600080fd5b60006129078482850161281b565b91505092915050565b6000806040838503121561292357600080fd5b600061293185828601612806565b925050602061294285828601612806565b9150509250929050565b6000806000806080858703121561296257600080fd5b600061297087828801612806565b945050602061298187828801612806565b935050604061299287828801612806565b92505060606129a3878288016127dc565b91505092959194509250565b6129b8816131ce565b82525050565b6129c781613229565b82525050565b6129d68161324d565b82525050565b6129e581613271565b82525050565b6129f481613295565b82525050565b6000612a076015836130a8565b9150612a1282613334565b602082019050919050565b6000612a2a6014836130a8565b9150612a358261335d565b602082019050919050565b6000612a4d6026836130a8565b9150612a5882613386565b604082019050919050565b6000612a70601b836130a8565b9150612a7b826133d5565b602082019050919050565b6000612a936017836130a8565b9150612a9e826133fe565b602082019050919050565b6000612ab66021836130a8565b9150612ac182613427565b604082019050919050565b6000612ad96013836130a8565b9150612ae482613476565b602082019050919050565b6000612afc6012836130a8565b9150612b078261349f565b602082019050919050565b6000612b1f6014836130a8565b9150612b2a826134c8565b602082019050919050565b6000612b426019836130a8565b9150612b4d826134f1565b602082019050919050565b6000612b65601a836130a8565b9150612b708261351a565b602082019050919050565b6000612b886013836130a8565b9150612b9382613543565b602082019050919050565b6000612bab6015836130a8565b9150612bb68261356c565b602082019050919050565b6000612bce6015836130a8565b9150612bd982613595565b602082019050919050565b6000612bf16020836130a8565b9150612bfc826135be565b602082019050919050565b6000612c14601a836130a8565b9150612c1f826135e7565b602082019050919050565b6000612c37601d836130a8565b9150612c4282613610565b602082019050919050565b6000612c5a60008361309d565b9150612c6582613639565b600082019050919050565b6000612c7d6014836130a8565b9150612c888261363c565b602082019050919050565b6000612ca0601c836130a8565b9150612cab82613665565b602082019050919050565b612cbf8161321f565b82525050565b6000612cd082612c4d565b9150819050919050565b6000602082019050612cef60008301846129af565b92915050565b6000606082019050612d0a60008301866129af565b612d1760208301856129af565b612d246040830184612cb6565b949350505050565b6000604082019050612d4160008301856129af565b612d4e6020830184612cb6565b9392505050565b6000606082019050612d6a60008301866129af565b612d776020830185612cb6565b612d846040830184612cb6565b949350505050565b6000602082019050612da160008301846129be565b92915050565b6000602082019050612dbc60008301846129cd565b92915050565b6000602082019050612dd760008301846129dc565b92915050565b6000608082019050612df260008301876129eb565b612dff6020830186612cb6565b612e0c6040830185612cb6565b612e1960608301846129af565b95945050505050565b60006020820190508181036000830152612e3b816129fa565b9050919050565b60006020820190508181036000830152612e5b81612a1d565b9050919050565b60006020820190508181036000830152612e7b81612a40565b9050919050565b60006020820190508181036000830152612e9b81612a63565b9050919050565b60006020820190508181036000830152612ebb81612a86565b9050919050565b60006020820190508181036000830152612edb81612aa9565b9050919050565b60006020820190508181036000830152612efb81612acc565b9050919050565b60006020820190508181036000830152612f1b81612aef565b9050919050565b60006020820190508181036000830152612f3b81612b12565b9050919050565b60006020820190508181036000830152612f5b81612b35565b9050919050565b60006020820190508181036000830152612f7b81612b58565b9050919050565b60006020820190508181036000830152612f9b81612b7b565b9050919050565b60006020820190508181036000830152612fbb81612b9e565b9050919050565b60006020820190508181036000830152612fdb81612bc1565b9050919050565b60006020820190508181036000830152612ffb81612be4565b9050919050565b6000602082019050818103600083015261301b81612c07565b9050919050565b6000602082019050818103600083015261303b81612c2a565b9050919050565b6000602082019050818103600083015261305b81612c70565b9050919050565b6000602082019050818103600083015261307b81612c93565b9050919050565b60006020820190506130976000830184612cb6565b92915050565b600081905092915050565b600082825260208201905092915050565b60006130c48261321f565b91506130cf8361321f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613104576131036132a7565b5b828201905092915050565b600061311a8261321f565b91506131258361321f565b925082613135576131346132d6565b5b828204905092915050565b600061314b8261321f565b91506131568361321f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561318f5761318e6132a7565b5b828202905092915050565b60006131a58261321f565b91506131b08361321f565b9250828210156131c3576131c26132a7565b5b828203905092915050565b60006131d9826131ff565b9050919050565b60008115159050919050565b60008190506131fa8261368e565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006132348261323b565b9050919050565b6000613246826131ff565b9050919050565b60006132588261325f565b9050919050565b600061326a826131ff565b9050919050565b600061327c82613283565b9050919050565b600061328e826131ff565b9050919050565b60006132a0826131ec565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4d616e616765723a20746f6b656e496420697320300000000000000000000000600082015250565b7f4d616e616765723a206e6f742070656e64696e67000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4d616e616765723a2073686f756c64206265206e6f74206e756c6c0000000000600082015250565b7f4d616e616765723a206e6f20696e766573746d656e7473000000000000000000600082015250565b7f4d616e616765723a206d616e6167656d656e7420636f6e7472616374206e756c60008201527f6c00000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d616e616765723a206e6f74206c6f636b656400000000000000000000000000600082015250565b7f4d616e616765723a206f6e6c7920706f6f6c0000000000000000000000000000600082015250565b7f4d616e616765723a2065786365656473206d6178000000000000000000000000600082015250565b7f4d616e616765723a206e6f7468696e6720746f20636c61696d00000000000000600082015250565b7f4d616e616765723a20636f6e7472616374206e6f74206f70656e000000000000600082015250565b7f4d616e616765723a206261642073746174757300000000000000000000000000600082015250565b7f4d616e616765723a2077726f6e6720616d6f756e740000000000000000000000600082015250565b7f4d616e616765723a206e6f74206120686f6c6465720000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4d616e616765723a2065786974206e6f7420706f737369626c65000000000000600082015250565b7f4d616e616765723a20756e7375636365737366756c207061796d656e74000000600082015250565b50565b7f4d616e616765723a206e6f7420656e61626c6564000000000000000000000000600082015250565b7f4d616e616765723a20636c61696d206e6f7420617661696c61626c6500000000600082015250565b6005811061369f5761369e613305565b5b50565b6136ab816131ce565b81146136b657600080fd5b50565b6136c2816131e0565b81146136cd57600080fd5b50565b6136d98161321f565b81146136e457600080fd5b5056fea26469706673582212203b3027654bc8bdb7ad75f28a0c52c4190b3a2de918175283a01c3fafa2e30af364736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e8bbd0479468b0025e00269516c62119f533971f000000000000000000000000b0af8ff1089042cadfd0246ecc074a05053438ff00000000000000000000000054aa569005332e4d6f91e27c55307aaef607c0e2
-----Decoded View---------------
Arg [0] : poolNft_ (address): 0xE8BBd0479468B0025E00269516C62119f533971F
Arg [1] : poolDistributor_ (address): 0xb0AF8Ff1089042CAdFD0246ECc074a05053438FF
Arg [2] : landDao_ (address): 0x54AA569005332e4d6f91e27C55307AAEF607c0E2
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000e8bbd0479468b0025e00269516c62119f533971f
Arg [1] : 000000000000000000000000b0af8ff1089042cadfd0246ecc074a05053438ff
Arg [2] : 00000000000000000000000054aa569005332e4d6f91e27c55307aaef607c0e2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $2,369.69 | 1.2634 | $2,993.86 |
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.