Contract
0x410e494c14b75c371198d78dbb8e629bdf318e54
1
Contract Overview
Balance:
0 MATIC
Token:
My Name Tag:
Not Available
[ Download CSV Export ]
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0x36a678e413e0f2e4148ec1fbead80885b45dfecb840cc1cf6d15837a1aab9d63 | 25604537 | 438 days 21 hrs ago | 0x410e494c14b75c371198d78dbb8e629bdf318e54 | Contract Creation | 0 MATIC |
[ Download CSV Export ]
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
DemoTheSpace
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2022-04-20 */ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.11; // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) /** * @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); } // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) /** * @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; } } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // OpenZeppelin Contracts (last updated v4.5.0) (utils/Multicall.sol) // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) /** * @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); } } } } /** * @dev Provides a function to batch together multiple calls in a single external call. * * _Available since v4.1._ */ abstract contract Multicall { /** * @dev Receives and executes a batch of function calls on this contract. */ function multicall(bytes[] calldata data) external virtual returns (bytes[] memory results) { results = new bytes[](data.length); for (uint256 i = 0; i < data.length; i++) { results[i] = Address.functionDelegateCall(address(this), data[i]); } return results; } } // OpenZeppelin Contracts v4.4.1 (access/Ownable.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); } } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @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); } /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.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; } } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } /** * @dev Harberger property, constantly in auction by allowing market contract to transfer token. */ contract Property is ERC721Enumerable { error TokenNotExists(); error Unauthorized(); error InvalidTokenId(uint256 min, uint256 max); // mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev Address of market contract, allowed to move token via safeTransferByMarket */ address public market; /** * @dev total supply of token */ uint256 private _totalSupply; modifier onlyMarket() { if (msg.sender != market) revert Unauthorized(); _; } /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor( string memory name, string memory symbol, address marketAddress, uint256 totalSupply ) ERC721(name, symbol) { market = marketAddress; _totalSupply = totalSupply; } /** * @dev Transfer token by market contract. */ function safeTransferByMarket( address from_, address to, uint256 tokenId ) public onlyMarket { _safeTransfer(from_, to, tokenId, ""); } /** * @dev Burn token by market contract. */ function burn(uint256 tokenId) public onlyMarket { _burn(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function isApprovedOrOwner(address spender, uint256 tokenId) public view returns (bool) { return _isApprovedOrOwner(spender, tokenId); } /** * @dev Mint token by market contract. */ function mint(address to, uint256 tokenId) public onlyMarket { if (tokenId >= _totalSupply) revert InvalidTokenId(tokenId, _totalSupply); _safeMint(to, tokenId); } /** * @dev Returns whether `tokenId` exists. */ function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } /** * @dev Sets `tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function setTokenURI(uint256 tokenId, string memory uri) internal virtual { if (!_exists(tokenId)) revert TokenNotExists(); if (!_isApprovedOrOwner(msg.sender, tokenId)) revert Unauthorized(); _tokenURIs[tokenId] = uri; } /** * @dev Return token URI */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert TokenNotExists(); string memory _tokenURI = _tokenURIs[tokenId]; return _tokenURI; } } /** * @dev Market place with Harberger tax, inherits from `IPixelCanvas`. Market creates one ERC721 contract as property, and attaches one ERC20 contract as currency. */ abstract contract HarbergerMarket is Multicall, Ownable { error PriceTooLow(); error Unauthorized(); error TokenNotExists(); /** * @dev Tax record of token. Use block number to record tax collection time. * * TODO: more efficient storage scheme, see: https://medium.com/@novablitz/storing-structs-is-costing-you-gas-774da988895e */ struct TaxRecord { uint256 price; uint256 lastTaxCollection; uint256 ubiWithdrawn; } /** * @dev Tax configuration of market. * - taxRate: Tax rate in bps every 1000 blocks * - treasuryShare: Share to treasury in bps. */ enum ConfigOptions { taxRate, treasuryShare } /** * @dev Emitted when a token changes price. */ event Price(uint256 indexed tokenId, uint256 price, address indexed owner); /** * @dev Emitted when tax configuration updates. */ event Config(ConfigOptions indexed option, uint256 value); /** * @dev Emitted when tax is collected. */ event Tax(uint256 indexed tokenId, uint256 amount); /** * @dev Emitted when UBI is distributed. */ event UBI(uint256 indexed tokenId, uint256 amount); /** * @dev Tax record of each token. */ mapping(uint256 => TaxRecord) public taxRecord; // Setting for tax config mapping(ConfigOptions => uint256) public taxConfig; // total accumulated UBI uint256 public accumulatedUBI; // total token supply uint256 public totalSupply = 1000000; /** * @dev Tradable propertys created by this contract. */ Property public property; /** * @dev ERC20 token used as currency */ ERC20 public currency; /** * @dev Create Property contract, setup attached currency contract, setup tax rate */ constructor( string memory propertyName, string memory propertySymbol, address currencyAddress ) { // initialize Property contract with current contract as market property = new Property(propertyName, propertySymbol, address(this), totalSupply); // initialize currency contract currency = ERC20(currencyAddress); // default config taxConfig[ConfigOptions.taxRate] = 10; taxConfig[ConfigOptions.treasuryShare] = 500; } /** * @dev Set the current price of an Harberger property with token id. * * Emits a {Price} event. */ function setTaxConfig(ConfigOptions option, uint256 value) external onlyOwner { taxConfig[option] = value; emit Config(option, value); } // TODO: withraw community treasury /** * @dev Set the current price of an Harberger property with token id. * * Emits a {Price} event. */ function setPrice(uint256 tokenId, uint256 price) public { if (!property.isApprovedOrOwner(msg.sender, tokenId)) revert Unauthorized(); if (price == this.getPrice(tokenId)) return; bool success = this.collectTax(tokenId); if (success) _setPrice(tokenId, price); } /** * @dev Returns the current price of an Harberger property with token id. */ function getPrice(uint256 tokenId) external view returns (uint256 price) { return taxRecord[tokenId].price; } /** * @dev Returns the current owner of an Harberger property with token id. */ function getOwner(uint256 tokenId) external view returns (address owner) { return property.ownerOf(tokenId); } /** * @dev calculate tax for a token */ function getTax(uint256 tokenId) external view returns (uint256) { // calculate tax // 1000 for every 1000 blocks, 10000 for conversion from bps return (this.getPrice(tokenId) * taxConfig[ConfigOptions.taxRate] * (block.number - taxRecord[tokenId].lastTaxCollection)) / (1000 * 10000); } /** * @dev Purchase property with bid higher than current price. Clear tax for owner before transfer. * TODO: check security implications */ function bid(uint256 tokenId, uint256 price) public { if (property.exists(tokenId)) { if (property.ownerOf(tokenId) == msg.sender) return; uint256 askPrice = this.getPrice(tokenId); if (price < askPrice) revert PriceTooLow(); // collect tax bool success = this.collectTax(tokenId); if (success) { // successfully clear tax currency.transferFrom(msg.sender, property.ownerOf(tokenId), askPrice); property.safeTransferByMarket(property.ownerOf(tokenId), msg.sender, tokenId); return; } } // if token does not exists yet, or token is defaulted // mint token to current sender for free property.mint(msg.sender, tokenId); // update tax record taxRecord[tokenId].lastTaxCollection = block.number; } /** * @dev Collect outstanding property tax for a given token, put token on tax sale if obligation not met. * * Emits a {Tax} event and a {Price} event (when properties are put on tax sale). */ function collectTax(uint256 tokenId) external returns (bool) { if (!property.exists(tokenId)) revert TokenNotExists(); uint256 tax = this.getTax(tokenId); if (tax > 0) { // calculate collectable amount address taxpayer = property.ownerOf(tokenId); uint256 allowance = currency.allowance(taxpayer, address(this)); uint256 balance = currency.balanceOf(taxpayer); uint256 collectable = _min(allowance, balance); // calculate amount to be collected, the smaller one of tax and collectable // then update accumulatedUBI uint256 collecting = _min(collectable, tax); if (collecting > 0) { currency.transferFrom(property.ownerOf(tokenId), address(this), collecting); emit Tax(tokenId, collecting); // update accumulated ubi accumulatedUBI += collecting; } // default if tax is not fully collected if (tax > collectable) { // default _default(tokenId); return false; } else { // collect tax taxRecord[tokenId].lastTaxCollection = block.number; return true; } } else { // no tax for price 0 taxRecord[tokenId].lastTaxCollection = block.number; return true; } } function ubiAvailable(uint256 tokenId) external view returns (uint256) { return ((accumulatedUBI * (10000 - taxConfig[ConfigOptions.treasuryShare])) / 10000) / totalSupply - taxRecord[tokenId].ubiWithdrawn; } function withdrawUbi(uint256 tokenId) external { uint256 ubi = this.ubiAvailable(tokenId); if (ubi > 0) { currency.transferFrom(address(this), property.ownerOf(tokenId), ubi); taxRecord[tokenId].ubiWithdrawn += ubi; emit UBI(tokenId, ubi); } } function _default(uint256 tokenId) internal { property.burn(tokenId); _setPrice(tokenId, 0); } function _setPrice(uint256 tokenId, uint256 price) internal { // update price in tax record taxRecord[tokenId].price = price; address owner = property.exists(tokenId) ? property.ownerOf(tokenId) : address(0); // emit events emit Price(tokenId, price, owner); } function _min(uint256 a, uint256 b) private pure returns (uint256) { return a < b ? a : b; } } /** * @dev _The Space_ is a pixel space owned by a decentralized autonomous organization (DAO), where members can tokenize, own, trade and color pixels. Pixels are tokenized as ERC721 tokens and traded under Harberger tax, while members receive dividend based on the share of pixels they own. * * ### Contracts * *  * * ### Use Cases * * #### Trading * * - User needs to call `approve` on currency contract before starting. If there is not sufficient allowance for taxing, the corresponding assets are defaulted. * - User buy land: call [`bid` function](./HarbergerMarket.md) on `HarbergerMarket` contract. * - User set land price: call [`price` function](./HarbergerMarket.md) on `HarbergerMarket` contract. * * #### Setting Content * * - Frontend renders pixel canvas: fetch [`Color` events](./TheSpace.md) from `TheSpace` contract. * - User color an array of pixels: call [`setColors` function](./TheSpace.md) on `TheSpace` contract. * - Frontend fetch content / metadata URI: call [`tokenURI` function](./Property.md) on `Property` contract. * - User set token content: call [`setTokenURI` function](./Property.md) on `Property` contract. */ contract TheSpace is HarbergerMarket { /** * @dev Emitted when the color of a pixel is updated. */ event Color(uint256 indexed pixelId, uint256 indexed color, address indexed owner); constructor(address currencyAddress) HarbergerMarket("Planck", "PLK", currencyAddress) {} /** * @dev Bid pixel, then set price and color. */ function setPixel( uint256 tokenId, uint256 bidprice, uint256 price, uint256 color ) external { bid(tokenId, bidprice); setPrice(tokenId, price); setColor(tokenId, color); } /** * @dev Set color for a pixels. * * Emits {Color} event. */ function setColor(uint256 tokenId, uint256 color) public { if (!property.isApprovedOrOwner(msg.sender, tokenId)) revert Unauthorized(); emit Color(tokenId, color, property.ownerOf(tokenId)); } } uint256 constant tokensAmount = 1000000; contract DemoTheSpace is TheSpace { constructor(address currencyAddress_) TheSpace(currencyAddress_) {} function burn(uint256 tokenId) external { _default(tokenId); } }
[{"inputs":[{"internalType":"address","name":"currencyAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"PriceTooLow","type":"error"},{"inputs":[],"name":"TokenNotExists","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"pixelId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"color","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"Color","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum HarbergerMarket.ConfigOptions","name":"option","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Config","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":true,"internalType":"address","name":"owner","type":"address"}],"name":"Price","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Tax","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UBI","type":"event"},{"inputs":[],"name":"accumulatedUBI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"bid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"collectTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwner","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"data","type":"bytes[]"}],"name":"multicall","outputs":[{"internalType":"bytes[]","name":"results","type":"bytes[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"property","outputs":[{"internalType":"contract Property","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"color","type":"uint256"}],"name":"setColor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"bidprice","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"color","type":"uint256"}],"name":"setPixel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum HarbergerMarket.ConfigOptions","name":"option","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setTaxConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum HarbergerMarket.ConfigOptions","name":"","type":"uint8"}],"name":"taxConfig","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"taxRecord","outputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"lastTaxCollection","type":"uint256"},{"internalType":"uint256","name":"ubiWithdrawn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ubiAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawUbi","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052620f42406004553480156200001857600080fd5b5060405162003a5638038062003a568339810160408190526200003b91620001c1565b8060405180604001604052806006815260200165506c616e636b60d01b81525060405180604001604052806003815260200162504c4b60e81b81525082620000926200008c6200015f60201b60201c565b62000163565b828230600454604051620000a690620001b3565b620000b5949392919062000243565b604051809103906000f080158015620000d2573d6000803e3d6000fd5b50600580546001600160a01b039283166001600160a01b03199182161790915560068054939092169216919091179055505060026020525050600a7fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b5560016000526101f47fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e05562000289565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611ba98062001ead83390190565b600060208284031215620001d457600080fd5b81516001600160a01b0381168114620001ec57600080fd5b9392505050565b6000815180845260005b818110156200021b57602081850181015186830182015201620001fd565b818111156200022e576000602083870101525b50601f01601f19169290920160200192915050565b608081526000620002586080830187620001f3565b82810360208401526200026c8187620001f3565b6001600160a01b0395909516604084015250506060015292915050565b611c1480620002996000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063ac9650d8116100b8578063e7d6fbbf1161007c578063e7d6fbbf146102e3578063ecaf822a14610303578063ee1ef07e14610316578063f2fde38b14610329578063f7d975771461033c578063ff1644d81461034f57600080fd5b8063ac9650d81461025a578063b018eb1c1461027a578063c41a360a1461029d578063e5a6b10f146102b0578063e7572230146102c357600080fd5b8063242d81cd1161010a578063242d81cd146101fd57806342966c6814610212578063598647f8146102255780636bfa960114610238578063715018a6146102415780638da5cb5b1461024957600080fd5b8063040b662614610147578063099da37f1461019557806310ac4e74146101b6578063176fd3f0146101c957806318160ddd146101f4575b600080fd5b61017561015536600461177f565b600160208190526000918252604090912080549181015460029091015483565b604080519384526020840192909252908201526060015b60405180910390f35b6101a86101a336600461177f565b610362565b60405190815260200161018c565b6101a86101c436600461177f565b61043a565b6005546101dc906001600160a01b031681565b6040516001600160a01b03909116815260200161018c565b6101a860045481565b61021061020b366004611798565b6104b6565b005b61021061022036600461177f565b6105ed565b610210610233366004611798565b6105f9565b6101a860035481565b610210610a08565b6000546001600160a01b03166101dc565b61026d6102683660046117ba565b610a47565b60405161018c9190611887565b61028d61028836600461177f565b610b3c565b604051901515815260200161018c565b6101dc6102ab36600461177f565b610f3b565b6006546101dc906001600160a01b031681565b6101a86102d136600461177f565b60009081526001602052604090205490565b6101a86102f13660046118fd565b60026020526000908152604090205481565b610210610311366004611918565b610fa9565b61021061032436600461177f565b611056565b610210610337366004611957565b6111fb565b61021061034a366004611798565b611293565b61021061035d366004611974565b611409565b600081815260016020819052604082200154629896809061038390436119bc565b60008052600260209081527fac33ff75c19e70fe83507db0d683fd3465c996598dc972688b7ace676c89077b5460408051630e75722360e41b81526004810188905290519192309263e75722309260248082019392918290030181865afa1580156103f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041691906119e9565b6104209190611a02565b61042a9190611a02565b6104349190611a21565b92915050565b6000818152600160208181526040832060029081015460045493855291527fe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0549091906127109061048b90826119bc565b6003546104989190611a02565b6104a29190611a21565b6104ac9190611a21565b61043491906119bc565b60055460405163430c208160e01b8152336004820152602481018490526001600160a01b039091169063430c208190604401602060405180830381865afa158015610505573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105299190611a43565b610545576040516282b42960e81b815260040160405180910390fd5b6005546040516331a9108f60e11b8152600481018490526001600160a01b0390911690636352211e90602401602060405180830381865afa15801561058e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b29190611a65565b6001600160a01b031681837f8da7074ffa2c919782faaf9705c7edfe7f814551a91b91aed83ee2ef5ac6af2760405160405180910390a45050565b6105f68161142d565b50565b600554604051634f558e7960e01b8152600481018490526001600160a01b0390911690634f558e7990602401602060405180830381865afa158015610642573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106669190611a43565b1561098c576005546040516331a9108f60e11b81526004810184905233916001600160a01b031690636352211e90602401602060405180830381865afa1580156106b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d89190611a65565b6001600160a01b031614156106eb575050565b604051630e75722360e41b815260048101839052600090309063e757223090602401602060405180830381865afa15801561072a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074e91906119e9565b90508082101561077157604051636dddf41160e11b815260040160405180910390fd5b604051632c063ac760e21b815260048101849052600090309063b018eb1c906024016020604051808303816000875af11580156107b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107d69190611a43565b90508015610989576006546005546040516331a9108f60e11b8152600481018790526001600160a01b03928316926323b872dd923392911690636352211e90602401602060405180830381865afa158015610835573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108599190611a65565b856040518463ffffffff1660e01b815260040161087893929190611a82565b6020604051808303816000875af1158015610897573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bb9190611a43565b506005546040516331a9108f60e11b8152600481018690526001600160a01b03909116906358500884908290636352211e90602401602060405180830381865afa15801561090d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109319190611a65565b33876040518463ffffffff1660e01b815260040161095193929190611a82565b600060405180830381600087803b15801561096b57600080fd5b505af115801561097f573d6000803e3d6000fd5b5050505050505050565b50505b6005546040516340c10f1960e01b8152336004820152602481018490526001600160a01b03909116906340c10f1990604401600060405180830381600087803b1580156109d857600080fd5b505af11580156109ec573d6000803e3d6000fd5b5050506000928352505060016020819052604090912043910155565b6000546001600160a01b03163314610a3b5760405162461bcd60e51b8152600401610a3290611aa6565b60405180910390fd5b610a456000611496565b565b60608167ffffffffffffffff811115610a6257610a62611adb565b604051908082528060200260200182016040528015610a9557816020015b6060815260200190600190039081610a805790505b50905060005b82811015610b3557610b0530858584818110610ab957610ab9611af1565b9050602002810190610acb9190611b07565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506114e692505050565b828281518110610b1757610b17611af1565b60200260200101819052508080610b2d90611b55565b915050610a9b565b5092915050565b600554604051634f558e7960e01b8152600481018390526000916001600160a01b031690634f558e7990602401602060405180830381865afa158015610b86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610baa9190611a43565b610bc657604051626f708760e21b815260040160405180910390fd5b60405163099da37f60e01b815260048101839052600090309063099da37f90602401602060405180830381865afa158015610c05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2991906119e9565b90508015610f20576005546040516331a9108f60e11b8152600481018590526000916001600160a01b031690636352211e90602401602060405180830381865afa158015610c7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9f9190611a65565b600654604051636eb1769f60e11b81526001600160a01b0380841660048301523060248301529293506000929091169063dd62ed3e90604401602060405180830381865afa158015610cf5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1991906119e9565b6006546040516370a0823160e01b81526001600160a01b038581166004830152929350600092909116906370a0823190602401602060405180830381865afa158015610d69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8d91906119e9565b90506000610d9b8383611512565b90506000610da98287611512565b90508015610edf576006546005546040516331a9108f60e11b8152600481018b90526001600160a01b03928316926323b872dd921690636352211e90602401602060405180830381865afa158015610e05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e299190611a65565b30846040518463ffffffff1660e01b8152600401610e4993929190611a82565b6020604051808303816000875af1158015610e68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e8c9190611a43565b50877f4a9a2c84aea332718b8b14a3ecd6daeb12d4a73f2c4aee2e618cea73c437dd2f82604051610ebf91815260200190565b60405180910390a28060036000828254610ed99190611b70565b90915550505b81861115610efe57610ef08861142d565b506000979650505050505050565b5050506000948552505060016020819052604090932043908401555090919050565b50506000908152600160208190526040909120439082015590565b6005546040516331a9108f60e11b8152600481018390526000916001600160a01b031690636352211e90602401602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104349190611a65565b6000546001600160a01b03163314610fd35760405162461bcd60e51b8152600401610a3290611aa6565b8060026000846001811115610fea57610fea6119d3565b6001811115610ffb57610ffb6119d3565b815260208101919091526040016000205581600181111561101e5761101e6119d3565b6040518281527f90e64b63a2c952a97e60fcb9bdb464e5e76d2920683504331028687f0cd6643b906020015b60405180910390a25050565b60405163042b139d60e21b81526004810182905260009030906310ac4e7490602401602060405180830381865afa158015611095573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b991906119e9565b905080156111f7576006546005546040516331a9108f60e11b8152600481018590526001600160a01b03928316926323b872dd923092911690636352211e90602401602060405180830381865afa158015611118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113c9190611a65565b846040518463ffffffff1660e01b815260040161115b93929190611a82565b6020604051808303816000875af115801561117a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119e9190611a43565b50600082815260016020526040812060020180548392906111c0908490611b70565b909155505060405181815282907f2ec360ab38757dde4ce6bdfee61e00494c009360b1dd4e44a5fc0ad0742f25029060200161104a565b5050565b6000546001600160a01b031633146112255760405162461bcd60e51b8152600401610a3290611aa6565b6001600160a01b03811661128a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a32565b6105f681611496565b60055460405163430c208160e01b8152336004820152602481018490526001600160a01b039091169063430c208190604401602060405180830381865afa1580156112e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113069190611a43565b611322576040516282b42960e81b815260040160405180910390fd5b604051630e75722360e41b815260048101839052309063e757223090602401602060405180830381865afa15801561135e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138291906119e9565b81141561138d575050565b604051632c063ac760e21b815260048101839052600090309063b018eb1c906024016020604051808303816000875af11580156113ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f29190611a43565b90508015611404576114048383611528565b505050565b61141384846105f9565b61141d8483611293565b61142784826104b6565b50505050565b600554604051630852cd8d60e31b8152600481018390526001600160a01b03909116906342966c6890602401600060405180830381600087803b15801561147357600080fd5b505af1158015611487573d6000803e3d6000fd5b505050506105f6816000611528565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606061150b8383604051806060016040528060278152602001611bb860279139611669565b9392505050565b6000818310611521578161150b565b5090919050565b6000828152600160205260408082208390556005549051634f558e7960e01b8152600481018590526001600160a01b0390911690634f558e7990602401602060405180830381865afa158015611582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a69190611a43565b6115b157600061161e565b6005546040516331a9108f60e11b8152600481018590526001600160a01b0390911690636352211e90602401602060405180830381865afa1580156115fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161e9190611a65565b9050806001600160a01b0316837f75a0543aefc16d03b25751bdf0b5a2fbbec05c6436fd60b038d40f5b7d1def838460405161165c91815260200190565b60405180910390a3505050565b60606001600160a01b0384163b6116d15760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610a32565b600080856001600160a01b0316856040516116ec9190611b88565b600060405180830381855af49150503d8060008114611727576040519150601f19603f3d011682016040523d82523d6000602084013e61172c565b606091505b509150915061173c828286611746565b9695505050505050565b6060831561175557508161150b565b8251156117655782518084602001fd5b8160405162461bcd60e51b8152600401610a329190611ba4565b60006020828403121561179157600080fd5b5035919050565b600080604083850312156117ab57600080fd5b50508035926020909101359150565b600080602083850312156117cd57600080fd5b823567ffffffffffffffff808211156117e557600080fd5b818501915085601f8301126117f957600080fd5b81358181111561180857600080fd5b8660208260051b850101111561181d57600080fd5b60209290920196919550909350505050565b60005b8381101561184a578181015183820152602001611832565b838111156114275750506000910152565b6000815180845261187381602086016020860161182f565b601f01601f19169290920160200192915050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156118dc57603f198886030184526118ca85835161185b565b945092850192908501906001016118ae565b5092979650505050505050565b8035600281106118f857600080fd5b919050565b60006020828403121561190f57600080fd5b61150b826118e9565b6000806040838503121561192b57600080fd5b611934836118e9565b946020939093013593505050565b6001600160a01b03811681146105f657600080fd5b60006020828403121561196957600080fd5b813561150b81611942565b6000806000806080858703121561198a57600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052601160045260246000fd5b6000828210156119ce576119ce6119a6565b500390565b634e487b7160e01b600052602160045260246000fd5b6000602082840312156119fb57600080fd5b5051919050565b6000816000190483118215151615611a1c57611a1c6119a6565b500290565b600082611a3e57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a5557600080fd5b8151801515811461150b57600080fd5b600060208284031215611a7757600080fd5b815161150b81611942565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000808335601e19843603018112611b1e57600080fd5b83018035915067ffffffffffffffff821115611b3957600080fd5b602001915036819003821315611b4e57600080fd5b9250929050565b6000600019821415611b6957611b696119a6565b5060010190565b60008219821115611b8357611b836119a6565b500190565b60008251611b9a81846020870161182f565b9190910192915050565b60208152600061150b602083018461185b56fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122035d3eb01ebd2d8a70a1a8aa31e9fc7e4489964cbe2a5303701a7f035c2d16fc464736f6c634300080b003360806040523480156200001157600080fd5b5060405162001ba938038062001ba9833981016040819052620000349162000206565b8351849084906200004d90600090602085019062000093565b5080516200006390600190602084019062000093565b5050600b80546001600160a01b0319166001600160a01b039490941693909317909255600c5550620002d6915050565b828054620000a19062000299565b90600052602060002090601f016020900481019282620000c5576000855562000110565b82601f10620000e057805160ff191683800117855562000110565b8280016001018555821562000110579182015b8281111562000110578251825591602001919060010190620000f3565b506200011e92915062000122565b5090565b5b808211156200011e576000815560010162000123565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200016157600080fd5b81516001600160401b03808211156200017e576200017e62000139565b604051601f8301601f19908116603f01168101908282118183101715620001a957620001a962000139565b81604052838152602092508683858801011115620001c657600080fd5b600091505b83821015620001ea5785820183015181830184015290820190620001cb565b83821115620001fc5760008385830101525b9695505050505050565b600080600080608085870312156200021d57600080fd5b84516001600160401b03808211156200023557600080fd5b62000243888389016200014f565b955060208701519150808211156200025a57600080fd5b5062000269878288016200014f565b604087015190945090506001600160a01b03811681146200028957600080fd5b6060959095015193969295505050565b600181811c90821680620002ae57607f821691505b60208210811415620002d057634e487b7160e01b600052602260045260246000fd5b50919050565b6118c380620002e66000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80634f558e79116100b857806380f556051161007c57806380f55605146102a757806395d89b41146102ba578063a22cb465146102c2578063b88d4fde146102d5578063c87b56dd146102e8578063e985e9c5146102fb57600080fd5b80634f558e79146102485780634f6ccce71461025b578063585008841461026e5780636352211e1461028157806370a082311461029457600080fd5b806323b872dd1161010a57806323b872dd146101d65780632f745c59146101e957806340c10f19146101fc57806342842e0e1461020f57806342966c6814610222578063430c20811461023557600080fd5b806301ffc9a71461014757806306fdde031461016f578063081812fc14610184578063095ea7b3146101af57806318160ddd146101c4575b600080fd5b61015a610155366004611450565b610337565b60405190151581526020015b60405180910390f35b610177610362565b60405161016691906114ba565b6101976101923660046114cd565b6103f4565b6040516001600160a01b039091168152602001610166565b6101c26101bd366004611502565b61048e565b005b6008545b604051908152602001610166565b6101c26101e436600461152c565b6105a4565b6101c86101f7366004611502565b6105d5565b6101c261020a366004611502565b61066b565b6101c261021d36600461152c565b6106d3565b6101c26102303660046114cd565b6106ee565b61015a610243366004611502565b610724565b61015a6102563660046114cd565b610737565b6101c86102693660046114cd565b610756565b6101c261027c36600461152c565b6107e9565b61019761028f3660046114cd565b61082e565b6101c86102a2366004611568565b6108a5565b600b54610197906001600160a01b031681565b61017761092c565b6101c26102d0366004611583565b61093b565b6101c26102e33660046115d5565b610946565b6101776102f63660046114cd565b61097e565b61015a6103093660046116b1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b0319821663780e9d6360e01b148061035c575061035c82610a54565b92915050565b606060008054610371906116e4565b80601f016020809104026020016040519081016040528092919081815260200182805461039d906116e4565b80156103ea5780601f106103bf576101008083540402835291602001916103ea565b820191906000526020600020905b8154815290600101906020018083116103cd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104725760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104998261082e565b9050806001600160a01b0316836001600160a01b031614156105075760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610469565b336001600160a01b038216148061052357506105238133610309565b6105955760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610469565b61059f8383610aa4565b505050565b6105ae3382610b12565b6105ca5760405162461bcd60e51b81526004016104699061171f565b61059f838383610c09565b60006105e0836108a5565b82106106425760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610469565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600b546001600160a01b03163314610695576040516282b42960e81b815260040160405180910390fd5b600c5481106106c557600c5460405163168a450960e21b8152610469918391600401918252602082015260400190565b6106cf8282610db0565b5050565b61059f83838360405180602001604052806000815250610946565b600b546001600160a01b03163314610718576040516282b42960e81b815260040160405180910390fd5b61072181610dca565b50565b60006107308383610b12565b9392505050565b6000818152600260205260408120546001600160a01b0316151561035c565b600061076160085490565b82106107c45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610469565b600882815481106107d7576107d7611770565b90600052602060002001549050919050565b600b546001600160a01b03163314610813576040516282b42960e81b815260040160405180910390fd5b61059f83838360405180602001604052806000815250610e71565b6000818152600260205260408120546001600160a01b03168061035c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610469565b60006001600160a01b0382166109105760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610469565b506001600160a01b031660009081526003602052604090205490565b606060018054610371906116e4565b6106cf338383610ea4565b6109503383610b12565b61096c5760405162461bcd60e51b81526004016104699061171f565b61097884848484610e71565b50505050565b6000818152600260205260409020546060906001600160a01b03166109b557604051626f708760e21b815260040160405180910390fd5b6000828152600a6020526040812080546109ce906116e4565b80601f01602080910402602001604051908101604052809291908181526020018280546109fa906116e4565b8015610a475780601f10610a1c57610100808354040283529160200191610a47565b820191906000526020600020905b815481529060010190602001808311610a2a57829003601f168201915b5093979650505050505050565b60006001600160e01b031982166380ac58cd60e01b1480610a8557506001600160e01b03198216635b5e139f60e01b145b8061035c57506301ffc9a760e01b6001600160e01b031983161461035c565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ad98261082e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610b8b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610469565b6000610b968361082e565b9050806001600160a01b0316846001600160a01b03161480610bd15750836001600160a01b0316610bc6846103f4565b6001600160a01b0316145b80610c0157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610c1c8261082e565b6001600160a01b031614610c805760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610469565b6001600160a01b038216610ce25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610469565b610ced838383610f73565b610cf8600082610aa4565b6001600160a01b0383166000908152600360205260408120805460019290610d2190849061179c565b90915550506001600160a01b0382166000908152600360205260408120805460019290610d4f9084906117b3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6106cf82826040518060200160405280600081525061102b565b6000610dd58261082e565b9050610de381600084610f73565b610dee600083610aa4565b6001600160a01b0381166000908152600360205260408120805460019290610e1790849061179c565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b610e7c848484610c09565b610e888484848461105e565b6109785760405162461bcd60e51b8152600401610469906117cb565b816001600160a01b0316836001600160a01b03161415610f065760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610469565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038316610fce57610fc981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610ff1565b816001600160a01b0316836001600160a01b031614610ff157610ff1838261115c565b6001600160a01b0382166110085761059f816111f9565b826001600160a01b0316826001600160a01b03161461059f5761059f82826112a8565b61103583836112ec565b611042600084848461105e565b61059f5760405162461bcd60e51b8152600401610469906117cb565b60006001600160a01b0384163b1561115157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906110a290339089908890889060040161181d565b6020604051808303816000875af19250505080156110dd575060408051601f3d908101601f191682019092526110da9181019061185a565b60015b611137573d80801561110b576040519150601f19603f3d011682016040523d82523d6000602084013e611110565b606091505b50805161112f5760405162461bcd60e51b8152600401610469906117cb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610c01565b506001949350505050565b60006001611169846108a5565b611173919061179c565b6000838152600760205260409020549091508082146111c6576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061120b9060019061179c565b6000838152600960205260408120546008805493945090928490811061123357611233611770565b90600052602060002001549050806008838154811061125457611254611770565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061128c5761128c611877565b6001900381819060005260206000200160009055905550505050565b60006112b3836108a5565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b0382166113425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610469565b6000818152600260205260409020546001600160a01b0316156113a75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610469565b6113b360008383610f73565b6001600160a01b03821660009081526003602052604081208054600192906113dc9084906117b3565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160e01b03198116811461072157600080fd5b60006020828403121561146257600080fd5b81356107308161143a565b6000815180845260005b8181101561149357602081850181015186830182015201611477565b818111156114a5576000602083870101525b50601f01601f19169290920160200192915050565b602081526000610730602083018461146d565b6000602082840312156114df57600080fd5b5035919050565b80356001600160a01b03811681146114fd57600080fd5b919050565b6000806040838503121561151557600080fd5b61151e836114e6565b946020939093013593505050565b60008060006060848603121561154157600080fd5b61154a846114e6565b9250611558602085016114e6565b9150604084013590509250925092565b60006020828403121561157a57600080fd5b610730826114e6565b6000806040838503121561159657600080fd5b61159f836114e6565b9150602083013580151581146115b457600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156115eb57600080fd5b6115f4856114e6565b9350611602602086016114e6565b925060408501359150606085013567ffffffffffffffff8082111561162657600080fd5b818701915087601f83011261163a57600080fd5b81358181111561164c5761164c6115bf565b604051601f8201601f19908116603f01168101908382118183101715611674576116746115bf565b816040528281528a602084870101111561168d57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156116c457600080fd5b6116cd836114e6565b91506116db602084016114e6565b90509250929050565b600181811c908216806116f857607f821691505b6020821081141561171957634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000828210156117ae576117ae611786565b500390565b600082198211156117c6576117c6611786565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906118509083018461146d565b9695505050505050565b60006020828403121561186c57600080fd5b81516107308161143a565b634e487b7160e01b600052603160045260246000fdfea26469706673582212202e02aa26c5c166e9b7848bf744bbe680ed2860d5accb0293a83f3d56e974e1ff64736f6c634300080b0033000000000000000000000000eb6814043dc2184b0b321f6de995bf11bdbcc5b8
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000eb6814043dc2184b0b321f6de995bf11bdbcc5b8
-----Decoded View---------------
Arg [0] : currencyAddress_ (address): 0xeb6814043dc2184b0b321f6de995bf11bdbcc5b8
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000eb6814043dc2184b0b321f6de995bf11bdbcc5b8
Deployed ByteCode Sourcemap
74780:200:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65721:46;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;401:25:1;;;457:2;442:18;;435:34;;;;485:18;;;478:34;389:2;374:18;65721:46:0;;;;;;;;68144:366;;;;;;:::i;:::-;;:::i;:::-;;;669:25:1;;;657:2;642:18;68144:366:0;523:177:1;71348:261:0;;;;;;:::i;:::-;;:::i;66082:24::-;;;;;-1:-1:-1;;;;;66082:24:0;;;;;;-1:-1:-1;;;;;886:32:1;;;868:51;;856:2;841:18;66082:24:0;705:220:1;65961:36:0;;;;;;74512:217;;;;;;:::i;:::-;;:::i;:::-;;74901:76;;;;;;:::i;:::-;;:::i;68682:928::-;;;;;;:::i;:::-;;:::i;65896:29::-;;;;;;27850:103;;;:::i;27199:87::-;27245:7;27272:6;-1:-1:-1;;;;;27272:6:0;27199:87;;25902:314;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;69841:1499::-;;;;;;:::i;:::-;;:::i;:::-;;;3517:14:1;;3510:22;3492:41;;3480:2;3465:18;69841:1499:0;3352:187:1;67955:124:0;;;;;;:::i;:::-;;:::i;66175:21::-;;;;;-1:-1:-1;;;;;66175:21:0;;;67727:123;;;;;;:::i;:::-;67785:13;67818:18;;;:9;:18;;;;;:24;;67727:123;65807:50;;;;;;:::i;:::-;;;;;;;;;;;;;;66972:161;;;;;;:::i;:::-;;:::i;71617:318::-;;;;;;:::i;:::-;;:::i;28108:201::-;;;;;;:::i;:::-;;:::i;67316:306::-;;;;;;:::i;:::-;;:::i;74166:246::-;;;;;;:::i;:::-;;:::i;68144:366::-;68200:7;68447:18;;;:9;:18;;;;;;;:36;;68489:12;;68432:51;;:12;:51;:::i;:::-;68379:32;;;:9;:32;;;;;;;68337:22;;-1:-1:-1;;;68337:22:0;;;;;669:25:1;;;68337:22:0;;68379:32;;68337:4;;:13;;642:18:1;;;;;68379:32:0;68337:22;;;;;;:4;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:74;;;;:::i;:::-;:147;;;;:::i;:::-;68336:166;;;;:::i;:::-;68316:186;68144:366;-1:-1:-1;;68144:366:0:o;71348:261::-;71410:7;71570:18;;;:9;:18;;;;;;;:31;;;;;71543:11;;71478:38;;;;;;;71570:31;;71543:11;71521:5;;71470:46;;71521:5;71470:46;:::i;:::-;71452:14;;:65;;;;:::i;:::-;71451:75;;;;:::i;:::-;71450:104;;;;:::i;:::-;:151;;;;:::i;74512:217::-;74585:8;;:47;;-1:-1:-1;;;74585:47:0;;74612:10;74585:47;;;6362:51:1;6429:18;;;6422:34;;;-1:-1:-1;;;;;74585:8:0;;;;:26;;6335:18:1;;74585:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74580:75;;74641:14;;-1:-1:-1;;;74641:14:0;;;;;;;;;;;74580:75;74695:8;;:25;;-1:-1:-1;;;74695:25:0;;;;;669::1;;;-1:-1:-1;;;;;74695:8:0;;;;:16;;642:18:1;;74695:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;74673:48:0;74688:5;74679:7;74673:48;;;;;;;;;;74512:217;;:::o;74901:76::-;74952:17;74961:7;74952:8;:17::i;:::-;74901:76;:::o;68682:928::-;68749:8;;:24;;-1:-1:-1;;;68749:24:0;;;;;669:25:1;;;-1:-1:-1;;;;;68749:8:0;;;;:15;;642:18:1;;68749:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68745:605;;;68794:8;;:25;;-1:-1:-1;;;68794:25:0;;;;;669::1;;;68823:10:0;;-1:-1:-1;;;;;68794:8:0;;:16;;642:18:1;;68794:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;68794:39:0;;68790:52;;;68682:928;;:::o;68790:52::-;68875:22;;-1:-1:-1;;;68875:22:0;;;;;669:25:1;;;68856:16:0;;68875:4;;:13;;642:18:1;;68875:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68856:41;;68924:8;68916:5;:16;68912:42;;;68941:13;;-1:-1:-1;;;68941:13:0;;;;;;;;;;;68912:42;69014:24;;-1:-1:-1;;;69014:24:0;;;;;669:25:1;;;68999:12:0;;69014:4;;:15;;642:18:1;;69014:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;68999:39;;69059:7;69055:284;;;69130:8;;69164;;:25;;-1:-1:-1;;;69164:25:0;;;;;669::1;;;-1:-1:-1;;;;;69130:8:0;;;;:21;;69152:10;;69164:8;;;:16;;642:18:1;;69164:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69191:8;69130:70;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;69219:8:0;;69249:25;;-1:-1:-1;;;69249:25:0;;;;;669::1;;;-1:-1:-1;;;;;69219:8:0;;;;:29;;:8;;69249:16;;642:18:1;;69249:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69276:10;69288:7;69219:77;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69317:7;;68682:928;;:::o;69055:284::-;68775:575;;68745:605;69476:8;;:34;;-1:-1:-1;;;69476:34:0;;69490:10;69476:34;;;6362:51:1;6429:18;;;6422:34;;;-1:-1:-1;;;;;69476:8:0;;;;:13;;6335:18:1;;69476:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;69551:18:0;;;;-1:-1:-1;;69551:9:0;:18;;;;;;;;69590:12;69551:36;;:51;68682:928::o;27850:103::-;27245:7;27272:6;-1:-1:-1;;;;;27272:6:0;4235:10;27419:23;27411:68;;;;-1:-1:-1;;;27411:68:0;;;;;;;:::i;:::-;;;;;;;;;27915:30:::1;27942:1;27915:18;:30::i;:::-;27850:103::o:0;25902:314::-;25970:22;26027:4;26015:24;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26005:34;;26055:9;26050:134;26070:15;;;26050:134;;;26120:52;26157:4;26164;;26169:1;26164:7;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;26120:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26120:28:0;;-1:-1:-1;;;26120:52:0:i;:::-;26107:7;26115:1;26107:10;;;;;;;;:::i;:::-;;;;;;:65;;;;26087:3;;;;;:::i;:::-;;;;26050:134;;;;25902:314;;;;:::o;69841:1499::-;69918:8;;:24;;-1:-1:-1;;;69918:24:0;;;;;669:25:1;;;69896:4:0;;-1:-1:-1;;;;;69918:8:0;;:15;;642:18:1;;69918:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69913:54;;69951:16;;-1:-1:-1;;;69951:16:0;;;;;;;;;;;69913:54;69994:20;;-1:-1:-1;;;69994:20:0;;;;;669:25:1;;;69980:11:0;;69994:4;;:11;;642:18:1;;69994:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;69980:34;-1:-1:-1;70029:7:0;;70025:1308;;70117:8;;:25;;-1:-1:-1;;;70117:25:0;;;;;669::1;;;70098:16:0;;-1:-1:-1;;;;;70117:8:0;;:16;;642:18:1;;70117:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70177:8;;:43;;-1:-1:-1;;;70177:43:0;;-1:-1:-1;;;;;8906:15:1;;;70177:43:0;;;8888:34:1;70214:4:0;8938:18:1;;;8931:43;70098:44:0;;-1:-1:-1;70157:17:0;;70177:8;;;;:18;;8823::1;;70177:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70253:8;;:28;;-1:-1:-1;;;70253:28:0;;-1:-1:-1;;;;;886:32:1;;;70253:28:0;;;868:51:1;70157:63:0;;-1:-1:-1;70235:15:0;;70253:8;;;;:18;;841::1;;70253:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70235:46;;70296:19;70318:24;70323:9;70334:7;70318:4;:24::i;:::-;70296:46;;70491:18;70512:22;70517:11;70530:3;70512:4;:22::i;:::-;70491:43;-1:-1:-1;70555:14:0;;70551:268;;70590:8;;70612;;:25;;-1:-1:-1;;;70612:25:0;;;;;669::1;;;-1:-1:-1;;;;;70590:8:0;;;;:21;;70612:8;;:16;;642:18:1;;70612:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70647:4;70654:10;70590:75;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;70693:7;70689:24;70702:10;70689:24;;;;669:25:1;;657:2;642:18;;523:177;70689:24:0;;;;;;;;70793:10;70775:14;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;70551:268:0;70899:11;70893:3;:17;70889:288;;;70959:17;70968:7;70959:8;:17::i;:::-;-1:-1:-1;71002:5:0;;69841:1499;-1:-1:-1;;;;;;;69841:1499:0:o;70889:288::-;-1:-1:-1;;;71080:18:0;;;;-1:-1:-1;;71080:9:0;:18;;;;;;;;71119:12;71080:36;;;:51;-1:-1:-1;71080:9:0;;69841:1499;-1:-1:-1;69841:1499:0:o;70025:1308::-;-1:-1:-1;;71244:18:0;;;;:9;:18;;;;;;;;71283:12;71244:36;;;:51;:9;69841:1499::o;67955:124::-;68046:8;;:25;;-1:-1:-1;;;68046:25:0;;;;;669::1;;;68013:13:0;;-1:-1:-1;;;;;68046:8:0;;:16;;642:18:1;;68046:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;66972:161::-;27245:7;27272:6;-1:-1:-1;;;;;27272:6:0;4235:10;27419:23;27411:68;;;;-1:-1:-1;;;27411:68:0;;;;;;;:::i;:::-;67081:5:::1;67061:9;:17;67071:6;67061:17;;;;;;;;:::i;:::-;;;;;;;;;:::i;:::-;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;67061:17:0;:25;67111:6;67104:21:::1;::::0;::::1;;;;;;:::i;:::-;;::::0;669:25:1;;;67104:21:0::1;::::0;657:2:1;642:18;67104:21:0::1;;;;;;;;66972:161:::0;;:::o;71617:318::-;71689:26;;-1:-1:-1;;;71689:26:0;;;;;669:25:1;;;71675:11:0;;71689:4;;:17;;642:18:1;;71689:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71675:40;-1:-1:-1;71732:7:0;;71728:200;;71756:8;;71793;;:25;;-1:-1:-1;;;71793:25:0;;;;;669::1;;;-1:-1:-1;;;;;71756:8:0;;;;:21;;71786:4;;71793:8;;;:16;;642:18:1;;71793:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;71820:3;71756:68;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;71839:18:0;;;;:9;:18;;;;;:31;;:38;;71874:3;;71839:18;:38;;71874:3;;71839:38;:::i;:::-;;;;-1:-1:-1;;71899:17:0;;669:25:1;;;71903:7:0;;71899:17;;657:2:1;642:18;71899:17:0;523:177:1;71728:200:0;71664:271;71617:318;:::o;28108:201::-;27245:7;27272:6;-1:-1:-1;;;;;27272:6:0;4235:10;27419:23;27411:68;;;;-1:-1:-1;;;27411:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;28197:22:0;::::1;28189:73;;;::::0;-1:-1:-1;;;28189:73:0;;9320:2:1;28189:73:0::1;::::0;::::1;9302:21:1::0;9359:2;9339:18;;;9332:30;9398:34;9378:18;;;9371:62;-1:-1:-1;;;9449:18:1;;;9442:36;9495:19;;28189:73:0::1;9118:402:1::0;28189:73:0::1;28273:28;28292:8;28273:18;:28::i;67316:306::-:0;67389:8;;:47;;-1:-1:-1;;;67389:47:0;;67416:10;67389:47;;;6362:51:1;6429:18;;;6422:34;;;-1:-1:-1;;;;;67389:8:0;;;;:26;;6335:18:1;;67389:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67384:75;;67445:14;;-1:-1:-1;;;67445:14:0;;;;;;;;;;;67384:75;67483:22;;-1:-1:-1;;;67483:22:0;;;;;669:25:1;;;67483:4:0;;:13;;642:18:1;;67483:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67474:5;:31;67470:44;;;67316:306;;:::o;67470:44::-;67541:24;;-1:-1:-1;;;67541:24:0;;;;;669:25:1;;;67526:12:0;;67541:4;;:15;;642:18:1;;67541:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;67526:39;;67580:7;67576:38;;;67589:25;67599:7;67608:5;67589:9;:25::i;:::-;67373:249;67316:306;;:::o;74166:246::-;74312:22;74316:7;74325:8;74312:3;:22::i;:::-;74345:24;74354:7;74363:5;74345:8;:24::i;:::-;74380;74389:7;74398:5;74380:8;:24::i;:::-;74166:246;;;;:::o;71943:117::-;71998:8;;:22;;-1:-1:-1;;;71998:22:0;;;;;669:25:1;;;-1:-1:-1;;;;;71998:8:0;;;;:13;;642:18:1;;71998:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72031:21;72041:7;72050:1;72031:9;:21::i;28469:191::-;28543:16;28562:6;;-1:-1:-1;;;;;28579:17:0;;;-1:-1:-1;;;;;;28579:17:0;;;;;;28612:40;;28562:6;;;;;;;28612:40;;28543:16;28612:40;28532:128;28469:191;:::o;23902:200::-;23985:12;24017:77;24038:6;24046:4;24017:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;24010:84;23902:200;-1:-1:-1;;;23902:200:0:o;72390:106::-;72448:7;72479:1;72475;:5;:13;;72487:1;72475:13;;;-1:-1:-1;72483:1:0;;72390:106;-1:-1:-1;72390:106:0:o;72068:314::-;72178:18;;;;:9;:18;;;;;;:32;;;72239:8;;:24;;-1:-1:-1;;;72239:24:0;;;;;669:25:1;;;-1:-1:-1;;;;;72239:8:0;;;;:15;;642:18:1;;72239:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:65;;72302:1;72239:65;;;72266:8;;:25;;-1:-1:-1;;;72266:25:0;;;;;669::1;;;-1:-1:-1;;;;;72266:8:0;;;;:16;;642:18:1;;72266:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72223:81;;72368:5;-1:-1:-1;;;;;72346:28:0;72352:7;72346:28;72361:5;72346:28;;;;669:25:1;;657:2;642:18;;523:177;72346:28:0;;;;;;;;72128:254;72068:314;;:::o;24296:396::-;24441:12;-1:-1:-1;;;;;18664:19:0;;;24466:69;;;;-1:-1:-1;;;24466:69:0;;9727:2:1;24466:69:0;;;9709:21:1;9766:2;9746:18;;;9739:30;9805:34;9785:18;;;9778:62;-1:-1:-1;;;9856:18:1;;;9849:36;9902:19;;24466:69:0;9525:402:1;24466:69:0;24549:12;24563:23;24590:6;-1:-1:-1;;;;;24590:19:0;24610:4;24590:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24548:67;;;;24633:51;24650:7;24659:10;24671:12;24633:16;:51::i;:::-;24626:58;24296:396;-1:-1:-1;;;;;;24296:396:0:o;24920:712::-;25070:12;25099:7;25095:530;;;-1:-1:-1;25130:10:0;25123:17;;25095:530;25244:17;;:21;25240:374;;25442:10;25436:17;25503:15;25490:10;25486:2;25482:19;25475:44;25240:374;25585:12;25578:20;;-1:-1:-1;;;25578:20:0;;;;;;;;:::i;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;930:248::-;998:6;1006;1059:2;1047:9;1038:7;1034:23;1030:32;1027:52;;;1075:1;1072;1065:12;1027:52;-1:-1:-1;;1098:23:1;;;1168:2;1153:18;;;1140:32;;-1:-1:-1;930:248:1:o;1391:626::-;1488:6;1496;1549:2;1537:9;1528:7;1524:23;1520:32;1517:52;;;1565:1;1562;1555:12;1517:52;1605:9;1592:23;1634:18;1675:2;1667:6;1664:14;1661:34;;;1691:1;1688;1681:12;1661:34;1729:6;1718:9;1714:22;1704:32;;1774:7;1767:4;1763:2;1759:13;1755:27;1745:55;;1796:1;1793;1786:12;1745:55;1836:2;1823:16;1862:2;1854:6;1851:14;1848:34;;;1878:1;1875;1868:12;1848:34;1931:7;1926:2;1916:6;1913:1;1909:14;1905:2;1901:23;1897:32;1894:45;1891:65;;;1952:1;1949;1942:12;1891:65;1983:2;1975:11;;;;;2005:6;;-1:-1:-1;1391:626:1;;-1:-1:-1;;;;1391:626:1:o;2022:258::-;2094:1;2104:113;2118:6;2115:1;2112:13;2104:113;;;2194:11;;;2188:18;2175:11;;;2168:39;2140:2;2133:10;2104:113;;;2235:6;2232:1;2229:13;2226:48;;;-1:-1:-1;;2270:1:1;2252:16;;2245:27;2022:258::o;2285:257::-;2326:3;2364:5;2358:12;2391:6;2386:3;2379:19;2407:63;2463:6;2456:4;2451:3;2447:14;2440:4;2433:5;2429:16;2407:63;:::i;:::-;2524:2;2503:15;-1:-1:-1;;2499:29:1;2490:39;;;;2531:4;2486:50;;2285:257;-1:-1:-1;;2285:257:1:o;2547:800::-;2707:4;2736:2;2776;2765:9;2761:18;2806:2;2795:9;2788:21;2829:6;2864;2858:13;2895:6;2887;2880:22;2933:2;2922:9;2918:18;2911:25;;2995:2;2985:6;2982:1;2978:14;2967:9;2963:30;2959:39;2945:53;;3033:2;3025:6;3021:15;3054:1;3064:254;3078:6;3075:1;3072:13;3064:254;;;3171:2;3167:7;3155:9;3147:6;3143:22;3139:36;3134:3;3127:49;3199:39;3231:6;3222;3216:13;3199:39;:::i;:::-;3189:49;-1:-1:-1;3296:12:1;;;;3261:15;;;;3100:1;3093:9;3064:254;;;-1:-1:-1;3335:6:1;;2547:800;-1:-1:-1;;;;;;;2547:800:1:o;3765:154::-;3844:20;;3893:1;3883:12;;3873:40;;3909:1;3906;3899:12;3873:40;3765:154;;;:::o;3924:215::-;4001:6;4054:2;4042:9;4033:7;4029:23;4025:32;4022:52;;;4070:1;4067;4060:12;4022:52;4093:40;4123:9;4093:40;:::i;4144:283::-;4230:6;4238;4291:2;4279:9;4270:7;4266:23;4262:32;4259:52;;;4307:1;4304;4297:12;4259:52;4330:40;4360:9;4330:40;:::i;:::-;4320:50;4417:2;4402:18;;;;4389:32;;-1:-1:-1;;;4144:283:1:o;4432:131::-;-1:-1:-1;;;;;4507:31:1;;4497:42;;4487:70;;4553:1;4550;4543:12;4568:247;4627:6;4680:2;4668:9;4659:7;4655:23;4651:32;4648:52;;;4696:1;4693;4686:12;4648:52;4735:9;4722:23;4754:31;4779:5;4754:31;:::i;4820:385::-;4906:6;4914;4922;4930;4983:3;4971:9;4962:7;4958:23;4954:33;4951:53;;;5000:1;4997;4990:12;4951:53;-1:-1:-1;;5023:23:1;;;5093:2;5078:18;;5065:32;;-1:-1:-1;5144:2:1;5129:18;;5116:32;;5195:2;5180:18;5167:32;;-1:-1:-1;4820:385:1;-1:-1:-1;4820:385:1:o;5210:127::-;5271:10;5266:3;5262:20;5259:1;5252:31;5302:4;5299:1;5292:15;5326:4;5323:1;5316:15;5342:125;5382:4;5410:1;5407;5404:8;5401:34;;;5415:18;;:::i;:::-;-1:-1:-1;5452:9:1;;5342:125::o;5472:127::-;5533:10;5528:3;5524:20;5521:1;5514:31;5564:4;5561:1;5554:15;5588:4;5585:1;5578:15;5604:184;5674:6;5727:2;5715:9;5706:7;5702:23;5698:32;5695:52;;;5743:1;5740;5733:12;5695:52;-1:-1:-1;5766:16:1;;5604:184;-1:-1:-1;5604:184:1:o;5793:168::-;5833:7;5899:1;5895;5891:6;5887:14;5884:1;5881:21;5876:1;5869:9;5862:17;5858:45;5855:71;;;5906:18;;:::i;:::-;-1:-1:-1;5946:9:1;;5793:168::o;5966:217::-;6006:1;6032;6022:132;;6076:10;6071:3;6067:20;6064:1;6057:31;6111:4;6108:1;6101:15;6139:4;6136:1;6129:15;6022:132;-1:-1:-1;6168:9:1;;5966:217::o;6467:277::-;6534:6;6587:2;6575:9;6566:7;6562:23;6558:32;6555:52;;;6603:1;6600;6593:12;6555:52;6635:9;6629:16;6688:5;6681:13;6674:21;6667:5;6664:32;6654:60;;6710:1;6707;6700:12;6749:251;6819:6;6872:2;6860:9;6851:7;6847:23;6843:32;6840:52;;;6888:1;6885;6878:12;6840:52;6920:9;6914:16;6939:31;6964:5;6939:31;:::i;7005:375::-;-1:-1:-1;;;;;7263:15:1;;;7245:34;;7315:15;;;;7310:2;7295:18;;7288:43;7362:2;7347:18;;7340:34;;;;7195:2;7180:18;;7005:375::o;7385:356::-;7587:2;7569:21;;;7606:18;;;7599:30;7665:34;7660:2;7645:18;;7638:62;7732:2;7717:18;;7385:356::o;7746:127::-;7807:10;7802:3;7798:20;7795:1;7788:31;7838:4;7835:1;7828:15;7862:4;7859:1;7852:15;7878:127;7939:10;7934:3;7930:20;7927:1;7920:31;7970:4;7967:1;7960:15;7994:4;7991:1;7984:15;8010:521;8087:4;8093:6;8153:11;8140:25;8247:2;8243:7;8232:8;8216:14;8212:29;8208:43;8188:18;8184:68;8174:96;;8266:1;8263;8256:12;8174:96;8293:33;;8345:20;;;-1:-1:-1;8388:18:1;8377:30;;8374:50;;;8420:1;8417;8410:12;8374:50;8453:4;8441:17;;-1:-1:-1;8484:14:1;8480:27;;;8470:38;;8467:58;;;8521:1;8518;8511:12;8467:58;8010:521;;;;;:::o;8536:135::-;8575:3;-1:-1:-1;;8596:17:1;;8593:43;;;8616:18;;:::i;:::-;-1:-1:-1;8663:1:1;8652:13;;8536:135::o;8985:128::-;9025:3;9056:1;9052:6;9049:1;9046:13;9043:39;;;9062:18;;:::i;:::-;-1:-1:-1;9098:9:1;;8985:128::o;9932:274::-;10061:3;10099:6;10093:13;10115:53;10161:6;10156:3;10149:4;10141:6;10137:17;10115:53;:::i;:::-;10184:16;;;;;9932:274;-1:-1:-1;;9932:274:1:o;10211:219::-;10360:2;10349:9;10342:21;10323:4;10380:44;10420:2;10409:9;10405:18;10397:6;10380:44;:::i
Swarm Source
ipfs://2e02aa26c5c166e9b7848bf744bbe680ed2860d5accb0293a83f3d56e974e1ff
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|