More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 5,483 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Unstake Tokens | 17171818 | 610 days ago | IN | 0 ETH | 0.00958817 | ||||
Unstake Tokens | 17171816 | 610 days ago | IN | 0 ETH | 0.00959475 | ||||
Unstake Tokens | 17171814 | 610 days ago | IN | 0 ETH | 0.00910792 | ||||
Unstake Tokens | 17171810 | 610 days ago | IN | 0 ETH | 0.01325386 | ||||
Unstake Tokens | 17171806 | 610 days ago | IN | 0 ETH | 0.01321821 | ||||
Unstake Tokens | 17171797 | 610 days ago | IN | 0 ETH | 0.01178152 | ||||
Unstake Tokens | 17171794 | 610 days ago | IN | 0 ETH | 0.01418095 | ||||
Unstake Tokens | 16135396 | 755 days ago | IN | 0 ETH | 0.00352911 | ||||
Unstake Tokens | 16135394 | 755 days ago | IN | 0 ETH | 0.00361277 | ||||
Unstake Tokens | 16135392 | 755 days ago | IN | 0 ETH | 0.00530674 | ||||
Unstake Tokens | 15746629 | 809 days ago | IN | 0 ETH | 0.00290518 | ||||
Unstake Tokens | 15746624 | 809 days ago | IN | 0 ETH | 0.00360124 | ||||
Unstake Tokens | 15746615 | 809 days ago | IN | 0 ETH | 0.00338963 | ||||
Unstake Tokens | 15746610 | 809 days ago | IN | 0 ETH | 0.00321756 | ||||
Unstake Tokens | 15746606 | 809 days ago | IN | 0 ETH | 0.00355901 | ||||
Unstake Tokens | 15746603 | 809 days ago | IN | 0 ETH | 0.00354636 | ||||
Unstake Tokens | 15746594 | 809 days ago | IN | 0 ETH | 0.00384228 | ||||
Unstake Tokens | 15746588 | 809 days ago | IN | 0 ETH | 0.00360012 | ||||
Unstake Tokens | 15746583 | 809 days ago | IN | 0 ETH | 0.0034735 | ||||
Unstake Tokens | 15746577 | 809 days ago | IN | 0 ETH | 0.00329699 | ||||
Unstake Tokens | 15746573 | 809 days ago | IN | 0 ETH | 0.00331712 | ||||
Unstake Tokens | 15746563 | 809 days ago | IN | 0 ETH | 0.00352118 | ||||
Unstake Tokens | 15746484 | 809 days ago | IN | 0 ETH | 0.0035266 | ||||
Unstake Tokens | 15741301 | 810 days ago | IN | 0 ETH | 0.00498926 | ||||
Unstake Tokens | 15518541 | 842 days ago | IN | 0 ETH | 0.00203099 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
GHGSail
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT LICENSE pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; interface IToken { function ownerOf(uint id) external view returns (address); function isPirate(uint16 id) external view returns (bool); function transferFrom(address from, address to, uint tokenId) external; function safeTransferFrom(address from, address to, uint tokenId, bytes memory _data) external; function isApprovedForAll(address owner, address operator) external returns(bool); function setApprovalForAll(address operator, bool approved) external; } interface IRum { function ownerOf(uint id) external view returns (address); function burn(address account, uint amount) external; function balanceOf(address account, uint tokenId) external returns (uint); } interface INewLand { function stakeTokens(address account, uint16[] memory tokenIds) external; } contract GHGSail is Ownable, IERC721Receiver, Pausable { uint constant public RUM_TICKET_ID = 0; // References to other contracts IToken public goldHunter; IToken public shipToken; INewLand public newLand; IRum public rum; struct OceanStake { address owner; uint80 startTimestamp; uint16[] tokenIds; uint16 speed; } mapping(uint16 => bool) public waterproof; mapping(uint256 => uint256) public stakeIndices; mapping(address => OceanStake[]) public oceanStake; mapping(address => bool) public approvedManagers; uint public distance = 424800; // Speed mapping // [0] raft = 30 // [1] default ship = 30 // [2] pirate ship = 45 // [3] gold miner = 15 // [4] pirate = 30 // [5] fairwind = 0 mapping(uint16 => uint16) public speedMapping; // Rum speed // [0] = 10 // [1] = 8 // [2] = 7 // [3] = 6 // [4] = 4 // [5] = 3 // [6] = 2 mapping(uint16 => uint16) public rumSpeedMapping; // Counters uint16 public shipsInOceanCounter; uint16 public raftsInOceanCounter; uint16 public shipsArrivedCounter; uint16 public raftsArrivedCounter; uint16 public tokensArrivedCounter; event TokenStaked(address owner, uint16 shipId, uint16[] tokenIds, uint16 rum, uint16 speed, uint timestamp); event ShipArrived(address owner, uint16 shipId, uint16[] tokenIds, uint timestamp); function addManager(address _address) public onlyOwner { approvedManagers[_address] = true; } function removeManager(address _address) public onlyOwner { approvedManagers[_address] = false; } function getStake(address _address) external view returns(OceanStake[] memory) { return oceanStake[_address]; } constructor() { _pause(); rumSpeedMapping[0] = 10; rumSpeedMapping[1] = 8; rumSpeedMapping[2] = 7; rumSpeedMapping[3] = 6; rumSpeedMapping[4] = 4; rumSpeedMapping[5] = 3; rumSpeedMapping[6] = 2; speedMapping[0] = 30; // raft speedMapping[1] = 30; // default ship speedMapping[2] = 45; // pirate ship speedMapping[3] = 15; // goldminer speedMapping[4] = 30; // pirate speedMapping[5] = 0; // fairwind } function setGoldHunter(address _address) external onlyOwner { addManager(_address); goldHunter = IToken(_address); } function setShips(address _address) external onlyOwner { addManager(_address); shipToken = IToken(_address); } function setRum(address _address) external onlyOwner { rum = IRum(_address); } function setNewLand(address _address) external onlyOwner { addManager(_address); newLand = INewLand(_address); } function changeRumSpeedMapping(uint16 _key, uint16 _newValue) external onlyOwner { rumSpeedMapping[_key] = _newValue; } function changeSpeedMapping(uint16 _key, uint16 _newValue) external onlyOwner { speedMapping[_key] = _newValue; } function changeDistance(uint16 _distance) external onlyOwner { distance = _distance; } function stakeTokens(address _account, uint16 _shipId, uint16[] calldata _tokenIds, uint16 _rumAmount) public whenNotPaused { require(_account == msg.sender, "You do not have a permission to do that"); if (_shipId != 0) { require(shipToken.ownerOf(_shipId) == msg.sender, "This NTF does not belong to address"); } uint16 speed = speedMapping[0]; // raft speed if (_shipId != 0) { if (shipToken.isPirate(_shipId)) { speed = speedMapping[2]; // pirate ship speed require(_tokenIds.length <= 7, "Cannot stake more than 7 NFTs"); } else { speed = speedMapping[1]; // default ship speed require(_tokenIds.length <= 5, "Cannot stake more than 5 NFTs"); } shipToken.transferFrom(msg.sender, address(this), _shipId); waterproof[_shipId] = true; } // Use rum for (uint16 i = 0; i < _rumAmount; i++) { require(rum.balanceOf(_account, RUM_TICKET_ID) > 0, "No tokens available to burn"); rum.burn(_account, 1); speed += rumSpeedMapping[i]; } uint16[] memory tokens = new uint16[](_tokenIds.length + 1); tokens[0] = _shipId; // OceanStake for (uint i = 0; i < _tokenIds.length; i++) { require(goldHunter.ownerOf(_tokenIds[i]) == msg.sender, "This NTF does not belong to address"); goldHunter.transferFrom(msg.sender, address(this), _tokenIds[i]); waterproof[_tokenIds[i]] = true; tokens[i+1] = _tokenIds[i]; if (_shipId != 0) { speed += goldHunter.isPirate(_tokenIds[i]) ? speedMapping[4] : speedMapping[3]; } } oceanStake[_account].push(OceanStake({ owner: _account, speed: uint16(speed), tokenIds: tokens, startTimestamp: uint80(block.timestamp) })); shipsInOceanCounter += 1; if (_shipId == 0) raftsInOceanCounter += 1; emit TokenStaked(msg.sender, _shipId, _tokenIds, _rumAmount, uint16(speed), block.timestamp); } // Unstake from Ocean function unstakeTokens(address _owner, uint16 _index) external whenNotPaused { OceanStake memory userStake = oceanStake[_owner][_index]; require(userStake.owner == msg.sender, "This stake does not belong to address"); uint arrivedTimestamp = userStake.startTimestamp + distance / (userStake.speed + speedMapping[5]) * 1 minutes; require(block.timestamp >= arrivedTimestamp, "The bus has not arrived yet"); oceanStake[_owner][_index] = oceanStake[_owner][oceanStake[_owner].length - 1]; oceanStake[_owner].pop(); if (userStake.tokenIds[0] != 0) { shipToken.safeTransferFrom(address(this), msg.sender, userStake.tokenIds[0], ""); } for (uint i = 1; i < userStake.tokenIds.length; i++) { goldHunter.safeTransferFrom(address(this), msg.sender, userStake.tokenIds[i], ""); } shipsArrivedCounter += 1; shipsInOceanCounter -= 1; tokensArrivedCounter += uint16(userStake.tokenIds.length - 1); if (userStake.tokenIds[0] == 0) { raftsInOceanCounter -= 1; raftsArrivedCounter += 1; } emit ShipArrived(userStake.owner, userStake.tokenIds[0], userStake.tokenIds, block.timestamp); } function unstakeTokensIntoLand(address _owner, uint16 _index) external whenNotPaused { OceanStake memory userStake = oceanStake[_owner][_index]; require(userStake.owner == msg.sender, "This stake does not belong to address"); if (!shipToken.isApprovedForAll(address(this), address(newLand))) shipToken.setApprovalForAll(address(newLand), true); if (!goldHunter.isApprovedForAll(address(this), address(newLand))) goldHunter.setApprovalForAll(address(newLand), true); uint arrivedTimestamp = userStake.startTimestamp + distance / (userStake.speed + speedMapping[5]) * 1 minutes; require(block.timestamp >= arrivedTimestamp, "The ship has not arrived yet"); oceanStake[_owner][_index] = oceanStake[_owner][oceanStake[_owner].length - 1]; oceanStake[_owner].pop(); // Call method from INewLand newLand.stakeTokens(_owner, userStake.tokenIds); tokensArrivedCounter += uint16(userStake.tokenIds.length - 1); shipsArrivedCounter += 1; shipsInOceanCounter -= 1; if (userStake.tokenIds[0] == 0) { raftsInOceanCounter -= 1; raftsArrivedCounter += 1; } emit ShipArrived(userStake.owner, userStake.tokenIds[0], userStake.tokenIds, block.timestamp); } function isWaterproof(uint16 _index) public view returns(bool) { return waterproof[_index]; } function isWaterproofMany(uint16[] calldata _tokensIds) public view returns(bool[] memory) { bool[] memory valid = new bool[](_tokensIds.length); for (uint i = 0; i < _tokensIds.length; i++) { valid[i] = waterproof[_tokensIds[i]]; } return valid; } function unpause() external onlyOwner { _unpause(); } function pause() external onlyOwner { _pause(); } function onERC721Received( address, address from, uint, bytes calldata ) external pure override returns (bytes4) { require(from == address(0x0), "Cannot send tokens to this contact directly"); return IERC721Receiver.onERC721Received.selector; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint16","name":"shipId","type":"uint16"},{"indexed":false,"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ShipArrived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint16","name":"shipId","type":"uint16"},{"indexed":false,"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"},{"indexed":false,"internalType":"uint16","name":"rum","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"speed","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TokenStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"RUM_TICKET_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedManagers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_distance","type":"uint16"}],"name":"changeDistance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_key","type":"uint16"},{"internalType":"uint16","name":"_newValue","type":"uint16"}],"name":"changeRumSpeedMapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_key","type":"uint16"},{"internalType":"uint16","name":"_newValue","type":"uint16"}],"name":"changeSpeedMapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getStake","outputs":[{"components":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint80","name":"startTimestamp","type":"uint80"},{"internalType":"uint16[]","name":"tokenIds","type":"uint16[]"},{"internalType":"uint16","name":"speed","type":"uint16"}],"internalType":"struct GHGSail.OceanStake[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"goldHunter","outputs":[{"internalType":"contract IToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_index","type":"uint16"}],"name":"isWaterproof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_tokensIds","type":"uint16[]"}],"name":"isWaterproofMany","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"newLand","outputs":[{"internalType":"contract INewLand","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"oceanStake","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint80","name":"startTimestamp","type":"uint80"},{"internalType":"uint16","name":"speed","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raftsArrivedCounter","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raftsInOceanCounter","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rum","outputs":[{"internalType":"contract IRum","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"rumSpeedMapping","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setGoldHunter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setNewLand","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setRum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setShips","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shipToken","outputs":[{"internalType":"contract IToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shipsArrivedCounter","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shipsInOceanCounter","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"speedMapping","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakeIndices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint16","name":"_shipId","type":"uint16"},{"internalType":"uint16[]","name":"_tokenIds","type":"uint16[]"},{"internalType":"uint16","name":"_rumAmount","type":"uint16"}],"name":"stakeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokensArrivedCounter","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint16","name":"_index","type":"uint16"}],"name":"unstakeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint16","name":"_index","type":"uint16"}],"name":"unstakeTokensIntoLand","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"waterproof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405262067b606009553480156200001857600080fd5b50620000396200002d6200030b60201b60201c565b6200031360201b60201c565b60008060146101000a81548160ff02191690831515021790555062000063620003d760201b60201c565b600a600b60008061ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506008600b6000600161ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506007600b6000600261ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506006600b6000600361ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506004600b6000600461ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506003600b6000600561ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506002600b6000600661ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550601e600a60008061ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550601e600a6000600161ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550602d600a6000600261ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550600f600a6000600361ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff160217905550601e600a6000600461ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506000600a6000600561ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506200058a565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003e76200048f60201b60201c565b156200042a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004219062000506565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620004766200030b60201b60201c565b6040516200048591906200056d565b60405180910390a1565b60008060149054906101000a900460ff16905090565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620004ee601083620004a5565b9150620004fb82620004b6565b602082019050919050565b600060208201905081810360008301526200052181620004df565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620005558262000528565b9050919050565b620005678162000548565b82525050565b60006020820190506200058460008301846200055c565b92915050565b61532f806200059a6000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c8063715018a61161013b578063a14f6f8f116100b8578063e7ff57d51161007c578063e7ff57d5146106a8578063ea283b59146106c4578063ee4b4884146106e0578063f2fde38b146106fc578063fe5f91c8146107185761023d565b8063a14f6f8f14610602578063ac18de431461061e578063de5b86441461063a578063e03b966214610658578063e39dcfeb1461068a5761023d565b80638456cb59116100ff5780638456cb591461055c5780638cf0c191146105665780638da5cb5b146105845780638fc77973146105a25780639339c52d146105d25761023d565b8063715018a6146104b857806373e36af7146104c25780637828c62f146104de5780637a766460146104fc578063836761e41461052c5761023d565b80632d06177a116101c95780635db456b41161018d5780635db456b4146104005780635f221bfe1461041e578063606c0a811461043c57806363c0f13314610458578063650528b0146104885761023d565b80632d06177a146103825780633f4ba83a1461039e5780634851375c146103a8578063552a8db3146103c65780635c975abb146103e25761023d565b80631b6ef324116102105780631b6ef324146102c85780631fdaba11146102f857806320636aab14610316578063269824311461033457806328e24b9f146103645761023d565b80630652541b146102425780630c7a2a5c1461025e5780631295b9c01461027c578063150b7a0214610298575b600080fd5b61025c60048036038101906102579190613be0565b610734565b005b6102666107ea565b6040516102739190613c2f565b60405180910390f35b61029660048036038101906102919190613ca8565b6107fe565b005b6102b260048036038101906102ad9190613d70565b6108be565b6040516102bf9190613e33565b60405180910390f35b6102e260048036038101906102dd9190613e4e565b610941565b6040516102ef9190613e96565b60405180910390f35b610300610961565b60405161030d9190613f10565b60405180910390f35b61031e610987565b60405161032b9190613c2f565b60405180910390f35b61034e60048036038101906103499190613f81565b61099b565b60405161035b919061408c565b60405180910390f35b61036c610a8e565b60405161037991906140bd565b60405180910390f35b61039c60048036038101906103979190613ca8565b610a93565b005b6103a6610b6a565b005b6103b0610bf0565b6040516103bd91906140bd565b60405180910390f35b6103e060048036038101906103db9190613ca8565b610bf6565b005b6103ea610cbf565b6040516103f79190613e96565b60405180910390f35b610408610cd5565b60405161041591906140f9565b60405180910390f35b610426610cfb565b6040516104339190613f10565b60405180910390f35b61045660048036038101906104519190614114565b610d21565b005b610472600480360381019061046d9190613ca8565b611a42565b60405161047f9190613e96565b60405180910390f35b6104a2600480360381019061049d919061419c565b611a62565b6040516104af91906140bd565b60405180910390f35b6104c0611a7a565b005b6104dc60048036038101906104d79190613ca8565b611b02565b005b6104e6611bcb565b6040516104f39190613c2f565b60405180910390f35b61051660048036038101906105119190613ca8565b611bdf565b60405161052391906143e0565b60405180910390f35b61054660048036038101906105419190613e4e565b611dab565b6040516105539190613c2f565b60405180910390f35b610564611dcc565b005b61056e611e52565b60405161057b9190614423565b60405180910390f35b61058c611e78565b604051610599919061444d565b60405180910390f35b6105bc60048036038101906105b79190613e4e565b611ea1565b6040516105c99190613e96565b60405180910390f35b6105ec60048036038101906105e79190613e4e565b611ed3565b6040516105f99190613c2f565b60405180910390f35b61061c60048036038101906106179190613be0565b611ef4565b005b61063860048036038101906106339190613ca8565b611faa565b005b610642612081565b60405161064f9190613c2f565b60405180910390f35b610672600480360381019061066d9190614468565b612095565b604051610681939291906144b7565b60405180910390f35b610692612120565b60405161069f9190613c2f565b60405180910390f35b6106c260048036038101906106bd9190613e4e565b612134565b005b6106de60048036038101906106d99190613ca8565b6121be565b005b6106fa60048036038101906106f591906144ee565b612287565b005b61071660048036038101906107119190613ca8565b612dde565b005b610732600480360381019061072d91906144ee565b612ed6565b005b61073c61383d565b73ffffffffffffffffffffffffffffffffffffffff1661075a611e78565b73ffffffffffffffffffffffffffffffffffffffff16146107b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a79061458b565b60405180910390fd5b80600b60008461ffff1661ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055505050565b600c60069054906101000a900461ffff1681565b61080661383d565b73ffffffffffffffffffffffffffffffffffffffff16610824611e78565b73ffffffffffffffffffffffffffffffffffffffff161461087a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108719061458b565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461092e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109259061461d565b60405180910390fd5b63150b7a0260e01b905095945050505050565b60056020528060005260406000206000915054906101000a900460ff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60089054906101000a900461ffff1681565b606060008383905067ffffffffffffffff8111156109bc576109bb61463d565b5b6040519080825280602002602001820160405280156109ea5781602001602082028036833780820191505090505b50905060005b84849050811015610a835760056000868684818110610a1257610a1161466c565b5b9050602002016020810190610a279190613e4e565b61ffff1661ffff16815260200190815260200160002060009054906101000a900460ff16828281518110610a5e57610a5d61466c565b5b6020026020010190151590811515815250508080610a7b906146ca565b9150506109f0565b508091505092915050565b600081565b610a9b61383d565b73ffffffffffffffffffffffffffffffffffffffff16610ab9611e78565b73ffffffffffffffffffffffffffffffffffffffff1614610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b069061458b565b60405180910390fd5b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610b7261383d565b73ffffffffffffffffffffffffffffffffffffffff16610b90611e78565b73ffffffffffffffffffffffffffffffffffffffff1614610be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdd9061458b565b60405180910390fd5b610bee613845565b565b60095481565b610bfe61383d565b73ffffffffffffffffffffffffffffffffffffffff16610c1c611e78565b73ffffffffffffffffffffffffffffffffffffffff1614610c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c699061458b565b60405180910390fd5b610c7b81610a93565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060149054906101000a900460ff16905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d29610cbf565b15610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d609061475f565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce906147f1565b60405180910390fd5b60008461ffff1614610efc573373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b8152600401610e559190614842565b60206040518083038186803b158015610e6d57600080fd5b505afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190614872565b73ffffffffffffffffffffffffffffffffffffffff1614610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef290614911565b60405180910390fd5b5b6000600a60008061ffff16815260200190815260200160002060009054906101000a900461ffff16905060008561ffff161461118e57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c12395b866040518263ffffffff1660e01b8152600401610f8d9190613c2f565b60206040518083038186803b158015610fa557600080fd5b505afa158015610fb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdd919061495d565b1561105757600a6000600261ffff16815260200190815260200160002060009054906101000a900461ffff1690506007848490501115611052576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611049906149d6565b60405180910390fd5b6110c8565b600a6000600161ffff16815260200190815260200160002060009054906101000a900461ffff16905060058484905011156110c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110be90614a42565b60405180910390fd5b5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330886040518463ffffffff1660e01b815260040161112793929190614a62565b600060405180830381600087803b15801561114157600080fd5b505af1158015611155573d6000803e3d6000fd5b505050506001600560008761ffff1661ffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b60005b8261ffff168161ffff16101561136c576000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e8960006040518363ffffffff1660e01b8152600401611200929190614a99565b602060405180830381600087803b15801561121a57600080fd5b505af115801561122e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112529190614ad7565b11611292576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128990614b50565b60405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac8860016040518363ffffffff1660e01b81526004016112f0929190614bab565b600060405180830381600087803b15801561130a57600080fd5b505af115801561131e573d6000803e3d6000fd5b50505050600b60008261ffff1661ffff16815260200190815260200160002060009054906101000a900461ffff16826113579190614bd4565b9150808061136490614c0c565b915050611191565b50600060018585905061137f9190614c37565b67ffffffffffffffff8111156113985761139761463d565b5b6040519080825280602002602001820160405280156113c65781602001602082028036833780820191505090505b50905085816000815181106113de576113dd61466c565b5b602002602001019061ffff16908161ffff168152505060005b85859050811015611808573373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e88888581811061146a5761146961466c565b5b905060200201602081019061147f9190613e4e565b6040518263ffffffff1660e01b815260040161149b9190614842565b60206040518083038186803b1580156114b357600080fd5b505afa1580156114c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114eb9190614872565b73ffffffffffffffffffffffffffffffffffffffff1614611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614911565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308989868181106115945761159361466c565b5b90506020020160208101906115a99190613e4e565b6040518463ffffffff1660e01b81526004016115c793929190614a62565b600060405180830381600087803b1580156115e157600080fd5b505af11580156115f5573d6000803e3d6000fd5b505050506001600560008888858181106116125761161161466c565b5b90506020020160208101906116279190613e4e565b61ffff1661ffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508585828181106116675761166661466c565b5b905060200201602081019061167c9190613e4e565b8260018361168a9190614c37565b8151811061169b5761169a61466c565b5b602002602001019061ffff16908161ffff168152505060008761ffff16146117f557600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c12395b87878481811061170e5761170d61466c565b5b90506020020160208101906117239190613e4e565b6040518263ffffffff1660e01b815260040161173f9190613c2f565b60206040518083038186803b15801561175757600080fd5b505afa15801561176b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178f919061495d565b6117bf57600a6000600361ffff16815260200190815260200160002060009054906101000a900461ffff166117e7565b600a6000600461ffff16815260200190815260200160002060009054906101000a900461ffff165b836117f29190614bd4565b92505b8080611800906146ca565b9150506113f7565b50600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052808973ffffffffffffffffffffffffffffffffffffffff1681526020014269ffffffffffffffffffff1681526020018381526020018461ffff16815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548169ffffffffffffffffffff021916908369ffffffffffffffffffff160217905550604082015181600101908051906020019061194e929190613a4d565b5060608201518160020160006101000a81548161ffff021916908361ffff16021790555050506001600c60008282829054906101000a900461ffff166119949190614bd4565b92506101000a81548161ffff021916908361ffff16021790555060008661ffff1614156119f6576001600c60028282829054906101000a900461ffff166119db9190614bd4565b92506101000a81548161ffff021916908361ffff1602179055505b7f11e10f5e517238d520ad24f0e23ad11db2d1b5410d9d37df9083ed859f3afe3a33878787878742604051611a319796959493929190614d29565b60405180910390a150505050505050565b60086020528060005260406000206000915054906101000a900460ff1681565b60066020528060005260406000206000915090505481565b611a8261383d565b73ffffffffffffffffffffffffffffffffffffffff16611aa0611e78565b73ffffffffffffffffffffffffffffffffffffffff1614611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed9061458b565b60405180910390fd5b611b0060006138e6565b565b611b0a61383d565b73ffffffffffffffffffffffffffffffffffffffff16611b28611e78565b73ffffffffffffffffffffffffffffffffffffffff1614611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b759061458b565b60405180910390fd5b611b8781610a93565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c60009054906101000a900461ffff1681565b6060600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611da057838290600052602060002090600302016040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900469ffffffffffffffffffff1669ffffffffffffffffffff1669ffffffffffffffffffff16815260200160018201805480602002602001604051908101604052809291908181526020018280548015611d6857602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411611d2f5790505b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff168152505081526020019060010190611c40565b505050509050919050565b600a6020528060005260406000206000915054906101000a900461ffff1681565b611dd461383d565b73ffffffffffffffffffffffffffffffffffffffff16611df2611e78565b73ffffffffffffffffffffffffffffffffffffffff1614611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3f9061458b565b60405180910390fd5b611e506139aa565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600560008361ffff1661ffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600b6020528060005260406000206000915054906101000a900461ffff1681565b611efc61383d565b73ffffffffffffffffffffffffffffffffffffffff16611f1a611e78565b73ffffffffffffffffffffffffffffffffffffffff1614611f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f679061458b565b60405180910390fd5b80600a60008461ffff1661ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055505050565b611fb261383d565b73ffffffffffffffffffffffffffffffffffffffff16611fd0611e78565b73ffffffffffffffffffffffffffffffffffffffff1614612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d9061458b565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600c60029054906101000a900461ffff1681565b600760205281600052604060002081815481106120b157600080fd5b9060005260206000209060030201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900469ffffffffffffffffffff16908060020160009054906101000a900461ffff16905083565b600c60049054906101000a900461ffff1681565b61213c61383d565b73ffffffffffffffffffffffffffffffffffffffff1661215a611e78565b73ffffffffffffffffffffffffffffffffffffffff16146121b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a79061458b565b60405180910390fd5b8061ffff1660098190555050565b6121c661383d565b73ffffffffffffffffffffffffffffffffffffffff166121e4611e78565b73ffffffffffffffffffffffffffffffffffffffff161461223a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122319061458b565b60405180910390fd5b61224381610a93565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61228f610cbf565b156122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c69061475f565b60405180910390fd5b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208261ffff16815481106123265761232561466c565b5b90600052602060002090600302016040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900469ffffffffffffffffffff1669ffffffffffffffffffff1669ffffffffffffffffffff1681526020016001820180548060200260200160405190810160405280929190818152602001828054801561244457602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161240b5790505b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff168152505090503373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d890614e05565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c530600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401612560929190614e25565b602060405180830381600087803b15801561257a57600080fd5b505af115801561258e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b2919061495d565b61266957600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a22cb465600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016040518363ffffffff1660e01b8152600401612636929190614e4e565b600060405180830381600087803b15801561265057600080fd5b505af1158015612664573d6000803e3d6000fd5b505050505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c530600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016126e8929190614e25565b602060405180830381600087803b15801561270257600080fd5b505af1158015612716573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273a919061495d565b6127f157600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a22cb465600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016040518363ffffffff1660e01b81526004016127be929190614e4e565b600060405180830381600087803b1580156127d857600080fd5b505af11580156127ec573d6000803e3d6000fd5b505050505b6000603c600a6000600561ffff16815260200190815260200160002060009054906101000a900461ffff16836060015161282b9190614bd4565b61ffff1660095461283c9190614ea6565b6128469190614ed7565b826020015169ffffffffffffffffffff166128619190614c37565b9050804210156128a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289d90614f7d565b60405180910390fd5b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506129349190614f9d565b815481106129455761294461466c565b5b9060005260206000209060030201600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208461ffff16815481106129a8576129a761466c565b5b90600052602060002090600302016000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000820160149054906101000a900469ffffffffffffffffffff168160000160146101000a81548169ffffffffffffffffffff021916908369ffffffffffffffffffff1602179055506001820181600101908054612a7c929190613af7565b506002820160009054906101000a900461ffff168160020160006101000a81548161ffff021916908361ffff160217905550905050600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480612b0057612aff614fd1565b5b6001900381819060005260206000209060030201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549069ffffffffffffffffffff0219169055600182016000612b699190613b57565b6002820160006101000a81549061ffff021916905550509055600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663928493778584604001516040518363ffffffff1660e01b8152600401612be392919061505e565b600060405180830381600087803b158015612bfd57600080fd5b505af1158015612c11573d6000803e3d6000fd5b505050506001826040015151612c279190614f9d565b600c60088282829054906101000a900461ffff16612c459190614bd4565b92506101000a81548161ffff021916908361ffff1602179055506001600c60048282829054906101000a900461ffff16612c7f9190614bd4565b92506101000a81548161ffff021916908361ffff1602179055506001600c60008282829054906101000a900461ffff16612cb9919061508e565b92506101000a81548161ffff021916908361ffff16021790555060008260400151600081518110612ced57612cec61466c565b5b602002602001015161ffff161415612d74576001600c60028282829054906101000a900461ffff16612d1f919061508e565b92506101000a81548161ffff021916908361ffff1602179055506001600c60068282829054906101000a900461ffff16612d599190614bd4565b92506101000a81548161ffff021916908361ffff1602179055505b7ff8daea4facab7fcaf32fa3b22a75008bf683df132f12438fcc9cfd19fc967d8c82600001518360400151600081518110612db257612db161466c565b5b6020026020010151846040015142604051612dd094939291906150c2565b60405180910390a150505050565b612de661383d565b73ffffffffffffffffffffffffffffffffffffffff16612e04611e78565b73ffffffffffffffffffffffffffffffffffffffff1614612e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e519061458b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec190615180565b60405180910390fd5b612ed3816138e6565b50565b612ede610cbf565b15612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f159061475f565b60405180910390fd5b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208261ffff1681548110612f7557612f7461466c565b5b90600052602060002090600302016040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900469ffffffffffffffffffff1669ffffffffffffffffffff1669ffffffffffffffffffff1681526020016001820180548060200260200160405190810160405280929190818152602001828054801561309357602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161305a5790505b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff168152505090503373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312790614e05565b60405180910390fd5b6000603c600a6000600561ffff16815260200190815260200160002060009054906101000a900461ffff16836060015161316a9190614bd4565b61ffff1660095461317b9190614ea6565b6131859190614ed7565b826020015169ffffffffffffffffffff166131a09190614c37565b9050804210156131e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131dc906151ec565b60405180910390fd5b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506132739190614f9d565b815481106132845761328361466c565b5b9060005260206000209060030201600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208461ffff16815481106132e7576132e661466c565b5b90600052602060002090600302016000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000820160149054906101000a900469ffffffffffffffffffff168160000160146101000a81548169ffffffffffffffffffff021916908369ffffffffffffffffffff16021790555060018201816001019080546133bb929190613af7565b506002820160009054906101000a900461ffff168160020160006101000a81548161ffff021916908361ffff160217905550905050600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061343f5761343e614fd1565b5b6001900381819060005260206000209060030201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549069ffffffffffffffffffff02191690556001820160006134a89190613b57565b6002820160006101000a81549061ffff021916905550509055600082604001516000815181106134db576134da61466c565b5b602002602001015161ffff161461359d57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde303385604001516000815181106135445761354361466c565b5b60200260200101516040518463ffffffff1660e01b815260040161356a93929190615243565b600060405180830381600087803b15801561358457600080fd5b505af1158015613598573d6000803e3d6000fd5b505050505b6000600190505b82604001515181101561367357600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde3033866040015185815181106136085761360761466c565b5b60200260200101516040518463ffffffff1660e01b815260040161362e93929190615243565b600060405180830381600087803b15801561364857600080fd5b505af115801561365c573d6000803e3d6000fd5b50505050808061366b906146ca565b9150506135a4565b506001600c60048282829054906101000a900461ffff166136949190614bd4565b92506101000a81548161ffff021916908361ffff1602179055506001600c60008282829054906101000a900461ffff166136ce919061508e565b92506101000a81548161ffff021916908361ffff16021790555060018260400151516136fa9190614f9d565b600c60088282829054906101000a900461ffff166137189190614bd4565b92506101000a81548161ffff021916908361ffff1602179055506000826040015160008151811061374c5761374b61466c565b5b602002602001015161ffff1614156137d3576001600c60028282829054906101000a900461ffff1661377e919061508e565b92506101000a81548161ffff021916908361ffff1602179055506001600c60068282829054906101000a900461ffff166137b89190614bd4565b92506101000a81548161ffff021916908361ffff1602179055505b7ff8daea4facab7fcaf32fa3b22a75008bf683df132f12438fcc9cfd19fc967d8c826000015183604001516000815181106138115761381061466c565b5b602002602001015184604001514260405161382f94939291906150c2565b60405180910390a150505050565b600033905090565b61384d610cbf565b61388c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613883906152d9565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6138cf61383d565b6040516138dc919061444d565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6139b2610cbf565b156139f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139e99061475f565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613a3661383d565b604051613a43919061444d565b60405180910390a1565b82805482825590600052602060002090600f01601090048101928215613ae65791602002820160005b83821115613ab657835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302613a76565b8015613ae45782816101000a81549061ffff0219169055600201602081600101049283019260010302613ab6565b505b509050613af39190613b7f565b5090565b82805482825590600052602060002090600f01601090048101928215613b4657600052602060002091600f016010900482015b82811115613b45578254825591600101919060010190613b2a565b5b509050613b539190613b7f565b5090565b50805460008255600f016010900490600052602060002090810190613b7c9190613b7f565b50565b5b80821115613b98576000816000905550600101613b80565b5090565b600080fd5b600080fd5b600061ffff82169050919050565b613bbd81613ba6565b8114613bc857600080fd5b50565b600081359050613bda81613bb4565b92915050565b60008060408385031215613bf757613bf6613b9c565b5b6000613c0585828601613bcb565b9250506020613c1685828601613bcb565b9150509250929050565b613c2981613ba6565b82525050565b6000602082019050613c446000830184613c20565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c7582613c4a565b9050919050565b613c8581613c6a565b8114613c9057600080fd5b50565b600081359050613ca281613c7c565b92915050565b600060208284031215613cbe57613cbd613b9c565b5b6000613ccc84828501613c93565b91505092915050565b6000819050919050565b613ce881613cd5565b8114613cf357600080fd5b50565b600081359050613d0581613cdf565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613d3057613d2f613d0b565b5b8235905067ffffffffffffffff811115613d4d57613d4c613d10565b5b602083019150836001820283011115613d6957613d68613d15565b5b9250929050565b600080600080600060808688031215613d8c57613d8b613b9c565b5b6000613d9a88828901613c93565b9550506020613dab88828901613c93565b9450506040613dbc88828901613cf6565b935050606086013567ffffffffffffffff811115613ddd57613ddc613ba1565b5b613de988828901613d1a565b92509250509295509295909350565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e2d81613df8565b82525050565b6000602082019050613e486000830184613e24565b92915050565b600060208284031215613e6457613e63613b9c565b5b6000613e7284828501613bcb565b91505092915050565b60008115159050919050565b613e9081613e7b565b82525050565b6000602082019050613eab6000830184613e87565b92915050565b6000819050919050565b6000613ed6613ed1613ecc84613c4a565b613eb1565b613c4a565b9050919050565b6000613ee882613ebb565b9050919050565b6000613efa82613edd565b9050919050565b613f0a81613eef565b82525050565b6000602082019050613f256000830184613f01565b92915050565b60008083601f840112613f4157613f40613d0b565b5b8235905067ffffffffffffffff811115613f5e57613f5d613d10565b5b602083019150836020820283011115613f7a57613f79613d15565b5b9250929050565b60008060208385031215613f9857613f97613b9c565b5b600083013567ffffffffffffffff811115613fb657613fb5613ba1565b5b613fc285828601613f2b565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61400381613e7b565b82525050565b60006140158383613ffa565b60208301905092915050565b6000602082019050919050565b600061403982613fce565b6140438185613fd9565b935061404e83613fea565b8060005b8381101561407f5781516140668882614009565b975061407183614021565b925050600181019050614052565b5085935050505092915050565b600060208201905081810360008301526140a6818461402e565b905092915050565b6140b781613cd5565b82525050565b60006020820190506140d260008301846140ae565b92915050565b60006140e382613edd565b9050919050565b6140f3816140d8565b82525050565b600060208201905061410e60008301846140ea565b92915050565b6000806000806000608086880312156141305761412f613b9c565b5b600061413e88828901613c93565b955050602061414f88828901613bcb565b945050604086013567ffffffffffffffff8111156141705761416f613ba1565b5b61417c88828901613f2b565b9350935050606061418f88828901613bcb565b9150509295509295909350565b6000602082840312156141b2576141b1613b9c565b5b60006141c084828501613cf6565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141fe81613c6a565b82525050565b600069ffffffffffffffffffff82169050919050565b61422381614204565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61425e81613ba6565b82525050565b60006142708383614255565b60208301905092915050565b6000602082019050919050565b600061429482614229565b61429e8185614234565b93506142a983614245565b8060005b838110156142da5781516142c18882614264565b97506142cc8361427c565b9250506001810190506142ad565b5085935050505092915050565b60006080830160008301516142ff60008601826141f5565b506020830151614312602086018261421a565b506040830151848203604086015261432a8282614289565b915050606083015161433f6060860182614255565b508091505092915050565b600061435683836142e7565b905092915050565b6000602082019050919050565b6000614376826141c9565b61438081856141d4565b935083602082028501614392856141e5565b8060005b858110156143ce57848403895281516143af858261434a565b94506143ba8361435e565b925060208a01995050600181019050614396565b50829750879550505050505092915050565b600060208201905081810360008301526143fa818461436b565b905092915050565b600061440d82613edd565b9050919050565b61441d81614402565b82525050565b60006020820190506144386000830184614414565b92915050565b61444781613c6a565b82525050565b6000602082019050614462600083018461443e565b92915050565b6000806040838503121561447f5761447e613b9c565b5b600061448d85828601613c93565b925050602061449e85828601613cf6565b9150509250929050565b6144b181614204565b82525050565b60006060820190506144cc600083018661443e565b6144d960208301856144a8565b6144e66040830184613c20565b949350505050565b6000806040838503121561450557614504613b9c565b5b600061451385828601613c93565b925050602061452485828601613bcb565b9150509250929050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061457560208361452e565b91506145808261453f565b602082019050919050565b600060208201905081810360008301526145a481614568565b9050919050565b7f43616e6e6f742073656e6420746f6b656e7320746f207468697320636f6e746160008201527f6374206469726563746c79000000000000000000000000000000000000000000602082015250565b6000614607602b8361452e565b9150614612826145ab565b604082019050919050565b60006020820190508181036000830152614636816145fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146d582613cd5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147085761470761469b565b5b600182019050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061474960108361452e565b915061475482614713565b602082019050919050565b600060208201905081810360008301526147788161473c565b9050919050565b7f596f7520646f206e6f7420686176652061207065726d697373696f6e20746f2060008201527f646f207468617400000000000000000000000000000000000000000000000000602082015250565b60006147db60278361452e565b91506147e68261477f565b604082019050919050565b6000602082019050818103600083015261480a816147ce565b9050919050565b600061482c61482761482284613ba6565b613eb1565b613cd5565b9050919050565b61483c81614811565b82525050565b60006020820190506148576000830184614833565b92915050565b60008151905061486c81613c7c565b92915050565b60006020828403121561488857614887613b9c565b5b60006148968482850161485d565b91505092915050565b7f54686973204e544620646f6573206e6f742062656c6f6e6720746f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006148fb60238361452e565b91506149068261489f565b604082019050919050565b6000602082019050818103600083015261492a816148ee565b9050919050565b61493a81613e7b565b811461494557600080fd5b50565b60008151905061495781614931565b92915050565b60006020828403121561497357614972613b9c565b5b600061498184828501614948565b91505092915050565b7f43616e6e6f74207374616b65206d6f7265207468616e2037204e465473000000600082015250565b60006149c0601d8361452e565b91506149cb8261498a565b602082019050919050565b600060208201905081810360008301526149ef816149b3565b9050919050565b7f43616e6e6f74207374616b65206d6f7265207468616e2035204e465473000000600082015250565b6000614a2c601d8361452e565b9150614a37826149f6565b602082019050919050565b60006020820190508181036000830152614a5b81614a1f565b9050919050565b6000606082019050614a77600083018661443e565b614a84602083018561443e565b614a916040830184614833565b949350505050565b6000604082019050614aae600083018561443e565b614abb60208301846140ae565b9392505050565b600081519050614ad181613cdf565b92915050565b600060208284031215614aed57614aec613b9c565b5b6000614afb84828501614ac2565b91505092915050565b7f4e6f20746f6b656e7320617661696c61626c6520746f206275726e0000000000600082015250565b6000614b3a601b8361452e565b9150614b4582614b04565b602082019050919050565b60006020820190508181036000830152614b6981614b2d565b9050919050565b6000819050919050565b6000614b95614b90614b8b84614b70565b613eb1565b613cd5565b9050919050565b614ba581614b7a565b82525050565b6000604082019050614bc0600083018561443e565b614bcd6020830184614b9c565b9392505050565b6000614bdf82613ba6565b9150614bea83613ba6565b92508261ffff03821115614c0157614c0061469b565b5b828201905092915050565b6000614c1782613ba6565b915061ffff821415614c2c57614c2b61469b565b5b600182019050919050565b6000614c4282613cd5565b9150614c4d83613cd5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c8257614c8161469b565b5b828201905092915050565b600082825260208201905092915050565b6000819050919050565b6000614cb76020840184613bcb565b905092915050565b6000602082019050919050565b6000614cd88385614c8d565b9350614ce382614c9e565b8060005b85811015614d1c57614cf98284614ca8565b614d038882614264565b9750614d0e83614cbf565b925050600181019050614ce7565b5085925050509392505050565b600060c082019050614d3e600083018a61443e565b614d4b6020830189613c20565b8181036040830152614d5e818789614ccc565b9050614d6d6060830186613c20565b614d7a6080830185613c20565b614d8760a08301846140ae565b98975050505050505050565b7f54686973207374616b6520646f6573206e6f742062656c6f6e6720746f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614def60258361452e565b9150614dfa82614d93565b604082019050919050565b60006020820190508181036000830152614e1e81614de2565b9050919050565b6000604082019050614e3a600083018561443e565b614e47602083018461443e565b9392505050565b6000604082019050614e63600083018561443e565b614e706020830184613e87565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614eb182613cd5565b9150614ebc83613cd5565b925082614ecc57614ecb614e77565b5b828204905092915050565b6000614ee282613cd5565b9150614eed83613cd5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f2657614f2561469b565b5b828202905092915050565b7f546865207368697020686173206e6f7420617272697665642079657400000000600082015250565b6000614f67601c8361452e565b9150614f7282614f31565b602082019050919050565b60006020820190508181036000830152614f9681614f5a565b9050919050565b6000614fa882613cd5565b9150614fb383613cd5565b925082821015614fc657614fc561469b565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600061500b82614229565b6150158185614c8d565b935061502083614245565b8060005b838110156150515781516150388882614264565b97506150438361427c565b925050600181019050615024565b5085935050505092915050565b6000604082019050615073600083018561443e565b81810360208301526150858184615000565b90509392505050565b600061509982613ba6565b91506150a483613ba6565b9250828210156150b7576150b661469b565b5b828203905092915050565b60006080820190506150d7600083018761443e565b6150e46020830186613c20565b81810360408301526150f68185615000565b905061510560608301846140ae565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061516a60268361452e565b91506151758261510e565b604082019050919050565b600060208201905081810360008301526151998161515d565b9050919050565b7f5468652062757320686173206e6f742061727269766564207965740000000000600082015250565b60006151d6601b8361452e565b91506151e1826151a0565b602082019050919050565b60006020820190508181036000830152615205816151c9565b9050919050565b600082825260208201905092915050565b50565b600061522d60008361520c565b91506152388261521d565b600082019050919050565b6000608082019050615258600083018661443e565b615265602083018561443e565b6152726040830184614833565b818103606083015261528381615220565b9050949350505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006152c360148361452e565b91506152ce8261528d565b602082019050919050565b600060208201905081810360008301526152f2816152b6565b905091905056fea26469706673582212206d141455131db4e7f69dc357254bfca3b8e04d6a297fe8acf7f4391f2645c38464736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023d5760003560e01c8063715018a61161013b578063a14f6f8f116100b8578063e7ff57d51161007c578063e7ff57d5146106a8578063ea283b59146106c4578063ee4b4884146106e0578063f2fde38b146106fc578063fe5f91c8146107185761023d565b8063a14f6f8f14610602578063ac18de431461061e578063de5b86441461063a578063e03b966214610658578063e39dcfeb1461068a5761023d565b80638456cb59116100ff5780638456cb591461055c5780638cf0c191146105665780638da5cb5b146105845780638fc77973146105a25780639339c52d146105d25761023d565b8063715018a6146104b857806373e36af7146104c25780637828c62f146104de5780637a766460146104fc578063836761e41461052c5761023d565b80632d06177a116101c95780635db456b41161018d5780635db456b4146104005780635f221bfe1461041e578063606c0a811461043c57806363c0f13314610458578063650528b0146104885761023d565b80632d06177a146103825780633f4ba83a1461039e5780634851375c146103a8578063552a8db3146103c65780635c975abb146103e25761023d565b80631b6ef324116102105780631b6ef324146102c85780631fdaba11146102f857806320636aab14610316578063269824311461033457806328e24b9f146103645761023d565b80630652541b146102425780630c7a2a5c1461025e5780631295b9c01461027c578063150b7a0214610298575b600080fd5b61025c60048036038101906102579190613be0565b610734565b005b6102666107ea565b6040516102739190613c2f565b60405180910390f35b61029660048036038101906102919190613ca8565b6107fe565b005b6102b260048036038101906102ad9190613d70565b6108be565b6040516102bf9190613e33565b60405180910390f35b6102e260048036038101906102dd9190613e4e565b610941565b6040516102ef9190613e96565b60405180910390f35b610300610961565b60405161030d9190613f10565b60405180910390f35b61031e610987565b60405161032b9190613c2f565b60405180910390f35b61034e60048036038101906103499190613f81565b61099b565b60405161035b919061408c565b60405180910390f35b61036c610a8e565b60405161037991906140bd565b60405180910390f35b61039c60048036038101906103979190613ca8565b610a93565b005b6103a6610b6a565b005b6103b0610bf0565b6040516103bd91906140bd565b60405180910390f35b6103e060048036038101906103db9190613ca8565b610bf6565b005b6103ea610cbf565b6040516103f79190613e96565b60405180910390f35b610408610cd5565b60405161041591906140f9565b60405180910390f35b610426610cfb565b6040516104339190613f10565b60405180910390f35b61045660048036038101906104519190614114565b610d21565b005b610472600480360381019061046d9190613ca8565b611a42565b60405161047f9190613e96565b60405180910390f35b6104a2600480360381019061049d919061419c565b611a62565b6040516104af91906140bd565b60405180910390f35b6104c0611a7a565b005b6104dc60048036038101906104d79190613ca8565b611b02565b005b6104e6611bcb565b6040516104f39190613c2f565b60405180910390f35b61051660048036038101906105119190613ca8565b611bdf565b60405161052391906143e0565b60405180910390f35b61054660048036038101906105419190613e4e565b611dab565b6040516105539190613c2f565b60405180910390f35b610564611dcc565b005b61056e611e52565b60405161057b9190614423565b60405180910390f35b61058c611e78565b604051610599919061444d565b60405180910390f35b6105bc60048036038101906105b79190613e4e565b611ea1565b6040516105c99190613e96565b60405180910390f35b6105ec60048036038101906105e79190613e4e565b611ed3565b6040516105f99190613c2f565b60405180910390f35b61061c60048036038101906106179190613be0565b611ef4565b005b61063860048036038101906106339190613ca8565b611faa565b005b610642612081565b60405161064f9190613c2f565b60405180910390f35b610672600480360381019061066d9190614468565b612095565b604051610681939291906144b7565b60405180910390f35b610692612120565b60405161069f9190613c2f565b60405180910390f35b6106c260048036038101906106bd9190613e4e565b612134565b005b6106de60048036038101906106d99190613ca8565b6121be565b005b6106fa60048036038101906106f591906144ee565b612287565b005b61071660048036038101906107119190613ca8565b612dde565b005b610732600480360381019061072d91906144ee565b612ed6565b005b61073c61383d565b73ffffffffffffffffffffffffffffffffffffffff1661075a611e78565b73ffffffffffffffffffffffffffffffffffffffff16146107b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a79061458b565b60405180910390fd5b80600b60008461ffff1661ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055505050565b600c60069054906101000a900461ffff1681565b61080661383d565b73ffffffffffffffffffffffffffffffffffffffff16610824611e78565b73ffffffffffffffffffffffffffffffffffffffff161461087a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108719061458b565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161461092e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109259061461d565b60405180910390fd5b63150b7a0260e01b905095945050505050565b60056020528060005260406000206000915054906101000a900460ff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60089054906101000a900461ffff1681565b606060008383905067ffffffffffffffff8111156109bc576109bb61463d565b5b6040519080825280602002602001820160405280156109ea5781602001602082028036833780820191505090505b50905060005b84849050811015610a835760056000868684818110610a1257610a1161466c565b5b9050602002016020810190610a279190613e4e565b61ffff1661ffff16815260200190815260200160002060009054906101000a900460ff16828281518110610a5e57610a5d61466c565b5b6020026020010190151590811515815250508080610a7b906146ca565b9150506109f0565b508091505092915050565b600081565b610a9b61383d565b73ffffffffffffffffffffffffffffffffffffffff16610ab9611e78565b73ffffffffffffffffffffffffffffffffffffffff1614610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b069061458b565b60405180910390fd5b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610b7261383d565b73ffffffffffffffffffffffffffffffffffffffff16610b90611e78565b73ffffffffffffffffffffffffffffffffffffffff1614610be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdd9061458b565b60405180910390fd5b610bee613845565b565b60095481565b610bfe61383d565b73ffffffffffffffffffffffffffffffffffffffff16610c1c611e78565b73ffffffffffffffffffffffffffffffffffffffff1614610c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c699061458b565b60405180910390fd5b610c7b81610a93565b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060149054906101000a900460ff16905090565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610d29610cbf565b15610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d609061475f565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614610dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dce906147f1565b60405180910390fd5b60008461ffff1614610efc573373ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e866040518263ffffffff1660e01b8152600401610e559190614842565b60206040518083038186803b158015610e6d57600080fd5b505afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea59190614872565b73ffffffffffffffffffffffffffffffffffffffff1614610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef290614911565b60405180910390fd5b5b6000600a60008061ffff16815260200190815260200160002060009054906101000a900461ffff16905060008561ffff161461118e57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c12395b866040518263ffffffff1660e01b8152600401610f8d9190613c2f565b60206040518083038186803b158015610fa557600080fd5b505afa158015610fb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fdd919061495d565b1561105757600a6000600261ffff16815260200190815260200160002060009054906101000a900461ffff1690506007848490501115611052576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611049906149d6565b60405180910390fd5b6110c8565b600a6000600161ffff16815260200190815260200160002060009054906101000a900461ffff16905060058484905011156110c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110be90614a42565b60405180910390fd5b5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330886040518463ffffffff1660e01b815260040161112793929190614a62565b600060405180830381600087803b15801561114157600080fd5b505af1158015611155573d6000803e3d6000fd5b505050506001600560008761ffff1661ffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b60005b8261ffff168161ffff16101561136c576000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e8960006040518363ffffffff1660e01b8152600401611200929190614a99565b602060405180830381600087803b15801561121a57600080fd5b505af115801561122e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112529190614ad7565b11611292576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128990614b50565b60405180910390fd5b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac8860016040518363ffffffff1660e01b81526004016112f0929190614bab565b600060405180830381600087803b15801561130a57600080fd5b505af115801561131e573d6000803e3d6000fd5b50505050600b60008261ffff1661ffff16815260200190815260200160002060009054906101000a900461ffff16826113579190614bd4565b9150808061136490614c0c565b915050611191565b50600060018585905061137f9190614c37565b67ffffffffffffffff8111156113985761139761463d565b5b6040519080825280602002602001820160405280156113c65781602001602082028036833780820191505090505b50905085816000815181106113de576113dd61466c565b5b602002602001019061ffff16908161ffff168152505060005b85859050811015611808573373ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e88888581811061146a5761146961466c565b5b905060200201602081019061147f9190613e4e565b6040518263ffffffff1660e01b815260040161149b9190614842565b60206040518083038186803b1580156114b357600080fd5b505afa1580156114c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114eb9190614872565b73ffffffffffffffffffffffffffffffffffffffff1614611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153890614911565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33308989868181106115945761159361466c565b5b90506020020160208101906115a99190613e4e565b6040518463ffffffff1660e01b81526004016115c793929190614a62565b600060405180830381600087803b1580156115e157600080fd5b505af11580156115f5573d6000803e3d6000fd5b505050506001600560008888858181106116125761161161466c565b5b90506020020160208101906116279190613e4e565b61ffff1661ffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508585828181106116675761166661466c565b5b905060200201602081019061167c9190613e4e565b8260018361168a9190614c37565b8151811061169b5761169a61466c565b5b602002602001019061ffff16908161ffff168152505060008761ffff16146117f557600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632c12395b87878481811061170e5761170d61466c565b5b90506020020160208101906117239190613e4e565b6040518263ffffffff1660e01b815260040161173f9190613c2f565b60206040518083038186803b15801561175757600080fd5b505afa15801561176b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178f919061495d565b6117bf57600a6000600361ffff16815260200190815260200160002060009054906101000a900461ffff166117e7565b600a6000600461ffff16815260200190815260200160002060009054906101000a900461ffff165b836117f29190614bd4565b92505b8080611800906146ca565b9150506113f7565b50600760008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180608001604052808973ffffffffffffffffffffffffffffffffffffffff1681526020014269ffffffffffffffffffff1681526020018381526020018461ffff16815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548169ffffffffffffffffffff021916908369ffffffffffffffffffff160217905550604082015181600101908051906020019061194e929190613a4d565b5060608201518160020160006101000a81548161ffff021916908361ffff16021790555050506001600c60008282829054906101000a900461ffff166119949190614bd4565b92506101000a81548161ffff021916908361ffff16021790555060008661ffff1614156119f6576001600c60028282829054906101000a900461ffff166119db9190614bd4565b92506101000a81548161ffff021916908361ffff1602179055505b7f11e10f5e517238d520ad24f0e23ad11db2d1b5410d9d37df9083ed859f3afe3a33878787878742604051611a319796959493929190614d29565b60405180910390a150505050505050565b60086020528060005260406000206000915054906101000a900460ff1681565b60066020528060005260406000206000915090505481565b611a8261383d565b73ffffffffffffffffffffffffffffffffffffffff16611aa0611e78565b73ffffffffffffffffffffffffffffffffffffffff1614611af6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aed9061458b565b60405180910390fd5b611b0060006138e6565b565b611b0a61383d565b73ffffffffffffffffffffffffffffffffffffffff16611b28611e78565b73ffffffffffffffffffffffffffffffffffffffff1614611b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b759061458b565b60405180910390fd5b611b8781610a93565b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c60009054906101000a900461ffff1681565b6060600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015611da057838290600052602060002090600302016040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900469ffffffffffffffffffff1669ffffffffffffffffffff1669ffffffffffffffffffff16815260200160018201805480602002602001604051908101604052809291908181526020018280548015611d6857602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff1681526020019060020190602082600101049283019260010382029150808411611d2f5790505b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff168152505081526020019060010190611c40565b505050509050919050565b600a6020528060005260406000206000915054906101000a900461ffff1681565b611dd461383d565b73ffffffffffffffffffffffffffffffffffffffff16611df2611e78565b73ffffffffffffffffffffffffffffffffffffffff1614611e48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3f9061458b565b60405180910390fd5b611e506139aa565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600560008361ffff1661ffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600b6020528060005260406000206000915054906101000a900461ffff1681565b611efc61383d565b73ffffffffffffffffffffffffffffffffffffffff16611f1a611e78565b73ffffffffffffffffffffffffffffffffffffffff1614611f70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f679061458b565b60405180910390fd5b80600a60008461ffff1661ffff16815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055505050565b611fb261383d565b73ffffffffffffffffffffffffffffffffffffffff16611fd0611e78565b73ffffffffffffffffffffffffffffffffffffffff1614612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d9061458b565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600c60029054906101000a900461ffff1681565b600760205281600052604060002081815481106120b157600080fd5b9060005260206000209060030201600091509150508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060000160149054906101000a900469ffffffffffffffffffff16908060020160009054906101000a900461ffff16905083565b600c60049054906101000a900461ffff1681565b61213c61383d565b73ffffffffffffffffffffffffffffffffffffffff1661215a611e78565b73ffffffffffffffffffffffffffffffffffffffff16146121b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a79061458b565b60405180910390fd5b8061ffff1660098190555050565b6121c661383d565b73ffffffffffffffffffffffffffffffffffffffff166121e4611e78565b73ffffffffffffffffffffffffffffffffffffffff161461223a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122319061458b565b60405180910390fd5b61224381610a93565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61228f610cbf565b156122cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c69061475f565b60405180910390fd5b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208261ffff16815481106123265761232561466c565b5b90600052602060002090600302016040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900469ffffffffffffffffffff1669ffffffffffffffffffff1669ffffffffffffffffffff1681526020016001820180548060200260200160405190810160405280929190818152602001828054801561244457602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161240b5790505b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff168152505090503373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d890614e05565b60405180910390fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c530600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401612560929190614e25565b602060405180830381600087803b15801561257a57600080fd5b505af115801561258e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b2919061495d565b61266957600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a22cb465600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016040518363ffffffff1660e01b8152600401612636929190614e4e565b600060405180830381600087803b15801561265057600080fd5b505af1158015612664573d6000803e3d6000fd5b505050505b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e985e9c530600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b81526004016126e8929190614e25565b602060405180830381600087803b15801561270257600080fd5b505af1158015612716573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273a919061495d565b6127f157600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a22cb465600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660016040518363ffffffff1660e01b81526004016127be929190614e4e565b600060405180830381600087803b1580156127d857600080fd5b505af11580156127ec573d6000803e3d6000fd5b505050505b6000603c600a6000600561ffff16815260200190815260200160002060009054906101000a900461ffff16836060015161282b9190614bd4565b61ffff1660095461283c9190614ea6565b6128469190614ed7565b826020015169ffffffffffffffffffff166128619190614c37565b9050804210156128a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289d90614f7d565b60405180910390fd5b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506129349190614f9d565b815481106129455761294461466c565b5b9060005260206000209060030201600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208461ffff16815481106129a8576129a761466c565b5b90600052602060002090600302016000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000820160149054906101000a900469ffffffffffffffffffff168160000160146101000a81548169ffffffffffffffffffff021916908369ffffffffffffffffffff1602179055506001820181600101908054612a7c929190613af7565b506002820160009054906101000a900461ffff168160020160006101000a81548161ffff021916908361ffff160217905550905050600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480612b0057612aff614fd1565b5b6001900381819060005260206000209060030201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549069ffffffffffffffffffff0219169055600182016000612b699190613b57565b6002820160006101000a81549061ffff021916905550509055600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663928493778584604001516040518363ffffffff1660e01b8152600401612be392919061505e565b600060405180830381600087803b158015612bfd57600080fd5b505af1158015612c11573d6000803e3d6000fd5b505050506001826040015151612c279190614f9d565b600c60088282829054906101000a900461ffff16612c459190614bd4565b92506101000a81548161ffff021916908361ffff1602179055506001600c60048282829054906101000a900461ffff16612c7f9190614bd4565b92506101000a81548161ffff021916908361ffff1602179055506001600c60008282829054906101000a900461ffff16612cb9919061508e565b92506101000a81548161ffff021916908361ffff16021790555060008260400151600081518110612ced57612cec61466c565b5b602002602001015161ffff161415612d74576001600c60028282829054906101000a900461ffff16612d1f919061508e565b92506101000a81548161ffff021916908361ffff1602179055506001600c60068282829054906101000a900461ffff16612d599190614bd4565b92506101000a81548161ffff021916908361ffff1602179055505b7ff8daea4facab7fcaf32fa3b22a75008bf683df132f12438fcc9cfd19fc967d8c82600001518360400151600081518110612db257612db161466c565b5b6020026020010151846040015142604051612dd094939291906150c2565b60405180910390a150505050565b612de661383d565b73ffffffffffffffffffffffffffffffffffffffff16612e04611e78565b73ffffffffffffffffffffffffffffffffffffffff1614612e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e519061458b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec190615180565b60405180910390fd5b612ed3816138e6565b50565b612ede610cbf565b15612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f159061475f565b60405180910390fd5b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208261ffff1681548110612f7557612f7461466c565b5b90600052602060002090600302016040518060800160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900469ffffffffffffffffffff1669ffffffffffffffffffff1669ffffffffffffffffffff1681526020016001820180548060200260200160405190810160405280929190818152602001828054801561309357602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff168152602001906002019060208260010104928301926001038202915080841161305a5790505b505050505081526020016002820160009054906101000a900461ffff1661ffff1661ffff168152505090503373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613130576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312790614e05565b60405180910390fd5b6000603c600a6000600561ffff16815260200190815260200160002060009054906101000a900461ffff16836060015161316a9190614bd4565b61ffff1660095461317b9190614ea6565b6131859190614ed7565b826020015169ffffffffffffffffffff166131a09190614c37565b9050804210156131e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131dc906151ec565b60405180910390fd5b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506132739190614f9d565b815481106132845761328361466c565b5b9060005260206000209060030201600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208461ffff16815481106132e7576132e661466c565b5b90600052602060002090600302016000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000820160149054906101000a900469ffffffffffffffffffff168160000160146101000a81548169ffffffffffffffffffff021916908369ffffffffffffffffffff16021790555060018201816001019080546133bb929190613af7565b506002820160009054906101000a900461ffff168160020160006101000a81548161ffff021916908361ffff160217905550905050600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548061343f5761343e614fd1565b5b6001900381819060005260206000209060030201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a81549069ffffffffffffffffffff02191690556001820160006134a89190613b57565b6002820160006101000a81549061ffff021916905550509055600082604001516000815181106134db576134da61466c565b5b602002602001015161ffff161461359d57600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde303385604001516000815181106135445761354361466c565b5b60200260200101516040518463ffffffff1660e01b815260040161356a93929190615243565b600060405180830381600087803b15801561358457600080fd5b505af1158015613598573d6000803e3d6000fd5b505050505b6000600190505b82604001515181101561367357600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b88d4fde3033866040015185815181106136085761360761466c565b5b60200260200101516040518463ffffffff1660e01b815260040161362e93929190615243565b600060405180830381600087803b15801561364857600080fd5b505af115801561365c573d6000803e3d6000fd5b50505050808061366b906146ca565b9150506135a4565b506001600c60048282829054906101000a900461ffff166136949190614bd4565b92506101000a81548161ffff021916908361ffff1602179055506001600c60008282829054906101000a900461ffff166136ce919061508e565b92506101000a81548161ffff021916908361ffff16021790555060018260400151516136fa9190614f9d565b600c60088282829054906101000a900461ffff166137189190614bd4565b92506101000a81548161ffff021916908361ffff1602179055506000826040015160008151811061374c5761374b61466c565b5b602002602001015161ffff1614156137d3576001600c60028282829054906101000a900461ffff1661377e919061508e565b92506101000a81548161ffff021916908361ffff1602179055506001600c60068282829054906101000a900461ffff166137b89190614bd4565b92506101000a81548161ffff021916908361ffff1602179055505b7ff8daea4facab7fcaf32fa3b22a75008bf683df132f12438fcc9cfd19fc967d8c826000015183604001516000815181106138115761381061466c565b5b602002602001015184604001514260405161382f94939291906150c2565b60405180910390a150505050565b600033905090565b61384d610cbf565b61388c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613883906152d9565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6138cf61383d565b6040516138dc919061444d565b60405180910390a1565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6139b2610cbf565b156139f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139e99061475f565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613a3661383d565b604051613a43919061444d565b60405180910390a1565b82805482825590600052602060002090600f01601090048101928215613ae65791602002820160005b83821115613ab657835183826101000a81548161ffff021916908361ffff1602179055509260200192600201602081600101049283019260010302613a76565b8015613ae45782816101000a81549061ffff0219169055600201602081600101049283019260010302613ab6565b505b509050613af39190613b7f565b5090565b82805482825590600052602060002090600f01601090048101928215613b4657600052602060002091600f016010900482015b82811115613b45578254825591600101919060010190613b2a565b5b509050613b539190613b7f565b5090565b50805460008255600f016010900490600052602060002090810190613b7c9190613b7f565b50565b5b80821115613b98576000816000905550600101613b80565b5090565b600080fd5b600080fd5b600061ffff82169050919050565b613bbd81613ba6565b8114613bc857600080fd5b50565b600081359050613bda81613bb4565b92915050565b60008060408385031215613bf757613bf6613b9c565b5b6000613c0585828601613bcb565b9250506020613c1685828601613bcb565b9150509250929050565b613c2981613ba6565b82525050565b6000602082019050613c446000830184613c20565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c7582613c4a565b9050919050565b613c8581613c6a565b8114613c9057600080fd5b50565b600081359050613ca281613c7c565b92915050565b600060208284031215613cbe57613cbd613b9c565b5b6000613ccc84828501613c93565b91505092915050565b6000819050919050565b613ce881613cd5565b8114613cf357600080fd5b50565b600081359050613d0581613cdf565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613d3057613d2f613d0b565b5b8235905067ffffffffffffffff811115613d4d57613d4c613d10565b5b602083019150836001820283011115613d6957613d68613d15565b5b9250929050565b600080600080600060808688031215613d8c57613d8b613b9c565b5b6000613d9a88828901613c93565b9550506020613dab88828901613c93565b9450506040613dbc88828901613cf6565b935050606086013567ffffffffffffffff811115613ddd57613ddc613ba1565b5b613de988828901613d1a565b92509250509295509295909350565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613e2d81613df8565b82525050565b6000602082019050613e486000830184613e24565b92915050565b600060208284031215613e6457613e63613b9c565b5b6000613e7284828501613bcb565b91505092915050565b60008115159050919050565b613e9081613e7b565b82525050565b6000602082019050613eab6000830184613e87565b92915050565b6000819050919050565b6000613ed6613ed1613ecc84613c4a565b613eb1565b613c4a565b9050919050565b6000613ee882613ebb565b9050919050565b6000613efa82613edd565b9050919050565b613f0a81613eef565b82525050565b6000602082019050613f256000830184613f01565b92915050565b60008083601f840112613f4157613f40613d0b565b5b8235905067ffffffffffffffff811115613f5e57613f5d613d10565b5b602083019150836020820283011115613f7a57613f79613d15565b5b9250929050565b60008060208385031215613f9857613f97613b9c565b5b600083013567ffffffffffffffff811115613fb657613fb5613ba1565b5b613fc285828601613f2b565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61400381613e7b565b82525050565b60006140158383613ffa565b60208301905092915050565b6000602082019050919050565b600061403982613fce565b6140438185613fd9565b935061404e83613fea565b8060005b8381101561407f5781516140668882614009565b975061407183614021565b925050600181019050614052565b5085935050505092915050565b600060208201905081810360008301526140a6818461402e565b905092915050565b6140b781613cd5565b82525050565b60006020820190506140d260008301846140ae565b92915050565b60006140e382613edd565b9050919050565b6140f3816140d8565b82525050565b600060208201905061410e60008301846140ea565b92915050565b6000806000806000608086880312156141305761412f613b9c565b5b600061413e88828901613c93565b955050602061414f88828901613bcb565b945050604086013567ffffffffffffffff8111156141705761416f613ba1565b5b61417c88828901613f2b565b9350935050606061418f88828901613bcb565b9150509295509295909350565b6000602082840312156141b2576141b1613b9c565b5b60006141c084828501613cf6565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6141fe81613c6a565b82525050565b600069ffffffffffffffffffff82169050919050565b61422381614204565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61425e81613ba6565b82525050565b60006142708383614255565b60208301905092915050565b6000602082019050919050565b600061429482614229565b61429e8185614234565b93506142a983614245565b8060005b838110156142da5781516142c18882614264565b97506142cc8361427c565b9250506001810190506142ad565b5085935050505092915050565b60006080830160008301516142ff60008601826141f5565b506020830151614312602086018261421a565b506040830151848203604086015261432a8282614289565b915050606083015161433f6060860182614255565b508091505092915050565b600061435683836142e7565b905092915050565b6000602082019050919050565b6000614376826141c9565b61438081856141d4565b935083602082028501614392856141e5565b8060005b858110156143ce57848403895281516143af858261434a565b94506143ba8361435e565b925060208a01995050600181019050614396565b50829750879550505050505092915050565b600060208201905081810360008301526143fa818461436b565b905092915050565b600061440d82613edd565b9050919050565b61441d81614402565b82525050565b60006020820190506144386000830184614414565b92915050565b61444781613c6a565b82525050565b6000602082019050614462600083018461443e565b92915050565b6000806040838503121561447f5761447e613b9c565b5b600061448d85828601613c93565b925050602061449e85828601613cf6565b9150509250929050565b6144b181614204565b82525050565b60006060820190506144cc600083018661443e565b6144d960208301856144a8565b6144e66040830184613c20565b949350505050565b6000806040838503121561450557614504613b9c565b5b600061451385828601613c93565b925050602061452485828601613bcb565b9150509250929050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061457560208361452e565b91506145808261453f565b602082019050919050565b600060208201905081810360008301526145a481614568565b9050919050565b7f43616e6e6f742073656e6420746f6b656e7320746f207468697320636f6e746160008201527f6374206469726563746c79000000000000000000000000000000000000000000602082015250565b6000614607602b8361452e565b9150614612826145ab565b604082019050919050565b60006020820190508181036000830152614636816145fa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006146d582613cd5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147085761470761469b565b5b600182019050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061474960108361452e565b915061475482614713565b602082019050919050565b600060208201905081810360008301526147788161473c565b9050919050565b7f596f7520646f206e6f7420686176652061207065726d697373696f6e20746f2060008201527f646f207468617400000000000000000000000000000000000000000000000000602082015250565b60006147db60278361452e565b91506147e68261477f565b604082019050919050565b6000602082019050818103600083015261480a816147ce565b9050919050565b600061482c61482761482284613ba6565b613eb1565b613cd5565b9050919050565b61483c81614811565b82525050565b60006020820190506148576000830184614833565b92915050565b60008151905061486c81613c7c565b92915050565b60006020828403121561488857614887613b9c565b5b60006148968482850161485d565b91505092915050565b7f54686973204e544620646f6573206e6f742062656c6f6e6720746f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006148fb60238361452e565b91506149068261489f565b604082019050919050565b6000602082019050818103600083015261492a816148ee565b9050919050565b61493a81613e7b565b811461494557600080fd5b50565b60008151905061495781614931565b92915050565b60006020828403121561497357614972613b9c565b5b600061498184828501614948565b91505092915050565b7f43616e6e6f74207374616b65206d6f7265207468616e2037204e465473000000600082015250565b60006149c0601d8361452e565b91506149cb8261498a565b602082019050919050565b600060208201905081810360008301526149ef816149b3565b9050919050565b7f43616e6e6f74207374616b65206d6f7265207468616e2035204e465473000000600082015250565b6000614a2c601d8361452e565b9150614a37826149f6565b602082019050919050565b60006020820190508181036000830152614a5b81614a1f565b9050919050565b6000606082019050614a77600083018661443e565b614a84602083018561443e565b614a916040830184614833565b949350505050565b6000604082019050614aae600083018561443e565b614abb60208301846140ae565b9392505050565b600081519050614ad181613cdf565b92915050565b600060208284031215614aed57614aec613b9c565b5b6000614afb84828501614ac2565b91505092915050565b7f4e6f20746f6b656e7320617661696c61626c6520746f206275726e0000000000600082015250565b6000614b3a601b8361452e565b9150614b4582614b04565b602082019050919050565b60006020820190508181036000830152614b6981614b2d565b9050919050565b6000819050919050565b6000614b95614b90614b8b84614b70565b613eb1565b613cd5565b9050919050565b614ba581614b7a565b82525050565b6000604082019050614bc0600083018561443e565b614bcd6020830184614b9c565b9392505050565b6000614bdf82613ba6565b9150614bea83613ba6565b92508261ffff03821115614c0157614c0061469b565b5b828201905092915050565b6000614c1782613ba6565b915061ffff821415614c2c57614c2b61469b565b5b600182019050919050565b6000614c4282613cd5565b9150614c4d83613cd5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c8257614c8161469b565b5b828201905092915050565b600082825260208201905092915050565b6000819050919050565b6000614cb76020840184613bcb565b905092915050565b6000602082019050919050565b6000614cd88385614c8d565b9350614ce382614c9e565b8060005b85811015614d1c57614cf98284614ca8565b614d038882614264565b9750614d0e83614cbf565b925050600181019050614ce7565b5085925050509392505050565b600060c082019050614d3e600083018a61443e565b614d4b6020830189613c20565b8181036040830152614d5e818789614ccc565b9050614d6d6060830186613c20565b614d7a6080830185613c20565b614d8760a08301846140ae565b98975050505050505050565b7f54686973207374616b6520646f6573206e6f742062656c6f6e6720746f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614def60258361452e565b9150614dfa82614d93565b604082019050919050565b60006020820190508181036000830152614e1e81614de2565b9050919050565b6000604082019050614e3a600083018561443e565b614e47602083018461443e565b9392505050565b6000604082019050614e63600083018561443e565b614e706020830184613e87565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614eb182613cd5565b9150614ebc83613cd5565b925082614ecc57614ecb614e77565b5b828204905092915050565b6000614ee282613cd5565b9150614eed83613cd5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f2657614f2561469b565b5b828202905092915050565b7f546865207368697020686173206e6f7420617272697665642079657400000000600082015250565b6000614f67601c8361452e565b9150614f7282614f31565b602082019050919050565b60006020820190508181036000830152614f9681614f5a565b9050919050565b6000614fa882613cd5565b9150614fb383613cd5565b925082821015614fc657614fc561469b565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600061500b82614229565b6150158185614c8d565b935061502083614245565b8060005b838110156150515781516150388882614264565b97506150438361427c565b925050600181019050615024565b5085935050505092915050565b6000604082019050615073600083018561443e565b81810360208301526150858184615000565b90509392505050565b600061509982613ba6565b91506150a483613ba6565b9250828210156150b7576150b661469b565b5b828203905092915050565b60006080820190506150d7600083018761443e565b6150e46020830186613c20565b81810360408301526150f68185615000565b905061510560608301846140ae565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061516a60268361452e565b91506151758261510e565b604082019050919050565b600060208201905081810360008301526151998161515d565b9050919050565b7f5468652062757320686173206e6f742061727269766564207965740000000000600082015250565b60006151d6601b8361452e565b91506151e1826151a0565b602082019050919050565b60006020820190508181036000830152615205816151c9565b9050919050565b600082825260208201905092915050565b50565b600061522d60008361520c565b91506152388261521d565b600082019050919050565b6000608082019050615258600083018661443e565b615265602083018561443e565b6152726040830184614833565b818103606083015261528381615220565b9050949350505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006152c360148361452e565b91506152ce8261528d565b602082019050919050565b600060208201905081810360008301526152f2816152b6565b905091905056fea26469706673582212206d141455131db4e7f69dc357254bfca3b8e04d6a297fe8acf7f4391f2645c38464736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.