Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 78 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim_titan | 15765255 | 860 days ago | IN | 0.1 ETH | 0.00102264 | ||||
Claim_titan | 15764765 | 860 days ago | IN | 0.1 ETH | 0.00108791 | ||||
Claim_titan | 15764761 | 860 days ago | IN | 0.1 ETH | 0.00104104 | ||||
Claim_titan | 15764757 | 860 days ago | IN | 0.1 ETH | 0.00110664 | ||||
Claim_titan | 15764753 | 860 days ago | IN | 0.1 ETH | 0.00115404 | ||||
Claim_titan | 15735976 | 864 days ago | IN | 0.1 ETH | 0.00187986 | ||||
Claim_titan | 15735942 | 864 days ago | IN | 0.1 ETH | 0.00209047 | ||||
Claim_titan | 15735909 | 864 days ago | IN | 0.1 ETH | 0.00228785 | ||||
Claim_titan | 15643319 | 877 days ago | IN | 0.1 ETH | 0.00104858 | ||||
Claim_titan | 15615212 | 881 days ago | IN | 0.1 ETH | 0.00052162 | ||||
Claim_titan | 15615132 | 881 days ago | IN | 0.1 ETH | 0.00049287 | ||||
Claim_titan | 15424651 | 910 days ago | IN | 0.1 ETH | 0.00039047 | ||||
Claim_titan | 15366632 | 920 days ago | IN | 0.1 ETH | 0.00123678 | ||||
Claim_titan | 15366631 | 920 days ago | IN | 0.1 ETH | 0.00144496 | ||||
Claim_titan | 15366628 | 920 days ago | IN | 0.1 ETH | 0.00120168 | ||||
Claim_titan | 15366622 | 920 days ago | IN | 0.1 ETH | 0.00102461 | ||||
Claim_titan | 15077831 | 965 days ago | IN | 0.1 ETH | 0.00163529 | ||||
Claim_titan | 15065633 | 966 days ago | IN | 0.1 ETH | 0.00115898 | ||||
Claim_titan | 15051898 | 969 days ago | IN | 0.1 ETH | 0.00473291 | ||||
Claim_titan | 15051897 | 969 days ago | IN | 0.1 ETH | 0.00427366 | ||||
Claim_titan | 15051896 | 969 days ago | IN | 0.1 ETH | 0.00417933 | ||||
Claim_titan | 15051895 | 969 days ago | IN | 0.1 ETH | 0.00396698 | ||||
Claim_titan | 15051854 | 969 days ago | IN | 0.1 ETH | 0.00456095 | ||||
Claim_titan | 15051852 | 969 days ago | IN | 0.1 ETH | 0.00494152 | ||||
Claim_titan | 15014533 | 975 days ago | IN | 0.1 ETH | 0.0087943 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
15765255 | 860 days ago | 0.1 ETH | ||||
15764765 | 860 days ago | 0.1 ETH | ||||
15764761 | 860 days ago | 0.1 ETH | ||||
15764757 | 860 days ago | 0.1 ETH | ||||
15764753 | 860 days ago | 0.1 ETH | ||||
15735976 | 864 days ago | 0.1 ETH | ||||
15735942 | 864 days ago | 0.1 ETH | ||||
15735909 | 864 days ago | 0.1 ETH | ||||
15643319 | 877 days ago | 0.1 ETH | ||||
15615212 | 881 days ago | 0.1 ETH | ||||
15615132 | 881 days ago | 0.1 ETH | ||||
15424651 | 910 days ago | 0.1 ETH | ||||
15366632 | 920 days ago | 0.1 ETH | ||||
15366631 | 920 days ago | 0.1 ETH | ||||
15366628 | 920 days ago | 0.1 ETH | ||||
15366622 | 920 days ago | 0.1 ETH | ||||
15077831 | 965 days ago | 0.1 ETH | ||||
15065633 | 966 days ago | 0.1 ETH | ||||
15051898 | 969 days ago | 0.1 ETH | ||||
15051897 | 969 days ago | 0.1 ETH | ||||
15051896 | 969 days ago | 0.1 ETH | ||||
15051895 | 969 days ago | 0.1 ETH | ||||
15051854 | 969 days ago | 0.1 ETH | ||||
15051852 | 969 days ago | 0.1 ETH | ||||
15014533 | 975 days ago | 0.1 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
TitansAirdrop
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity^0.8.12; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol"; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/security/ReentrancyGuard.sol"; import "./Titan.sol"; contract TitansAirdrop is Ownable, ReentrancyGuard { bool public started; // Being able to pause the aidrop contract (just in case) bool public paused; bool public canceled; bool public only_whitelisted = true; Titan public TitanContract; mapping(address => bool) public titans_whitelist; mapping(address => bool) public user_claimed_titan; mapping(address => bool) public heroes_whitelist; mapping(address => bool) public user_claimed_hero; mapping(address => uint) public titan_owner; mapping(uint => bool) public token_minted; event whitelisting_disabled(string _msg); event user_whitelisted(address _user); event bulk_user_whitelisted(address[] _users); event titan_claimed(address _user, uint256 _id); event titan_revealed(string _uri); event airdrop_paused(string _msg); event airdrop_canceled(string _msg); event airdrop_restarted(string _msg); // EIP712 string private constant domain = "EIP712Domain(string name)"; bytes32 public constant domainTypeHash = keccak256(abi.encodePacked(domain)); string private constant airdropType = "Airdrop(address tokenAddress,address[] receivers,bool isERC1155,uint256[] tokenIds)"; bytes32 public constant airdropTypeHash = keccak256(abi.encodePacked(airdropType)); bytes32 private domainSeparator; // modifier onlyUnpaused { require(paused == false, "Airdrops are paused!"); _; } //////////////////////////////////////////////// //////// C O N S T R U C T O R // // Initalizes the EIP712 domain separator. // constructor() { domainSeparator = keccak256(abi.encode( domainTypeHash, keccak256("TitansNFTAirdrop") )); TitanContract = new Titan(msg.sender); started = true; } function isOwner(address user) public view returns (bool _isOwner){ if(user == owner()) { return true; } else { return false; } } function disable_whitelisting() public onlyOwner{ only_whitelisted = false; emit whitelisting_disabled("Whitelisting disabled"); } //////////////////////////////////////////////// //////// F U N C T I O N S // // Whitelist Address For titans // function whitelist_user(address _user) public onlyOwner nonReentrant { titans_whitelist[_user] = true; emit user_whitelisted(_user); } // // Whitelist upto 10 Addresses For titans // function whitelist_bulk_users(address[] memory _user) public onlyOwner nonReentrant { require(_user.length <= 10, "Only 10 or less user can be whitelisted at once"); for(uint i = 0; i < _user.length; i++) { titans_whitelist[_user[i]] = true; } emit bulk_user_whitelisted(_user); } // // Claim a Titan // function claim_titan(uint256 _id) payable onlyUnpaused nonReentrant onlyActive onlyAllowed public { require(_id <= 400, "There is no titan with that id"); require(!token_minted[_id], "This titan is already minted"); require(msg.value >= .1 ether); payable(owner()).transfer(msg.value); TitanContract.mint(msg.sender, _id); titan_owner[msg.sender] = _id; user_claimed_titan[msg.sender] = true; heroes_whitelist[msg.sender] = true; emit titan_claimed(msg.sender, _id); } // // Reveal Titan Collection // function set_titan_uri(string memory _uri) onlyOwner public { TitanContract.setURI(_uri); emit titan_revealed(_uri); } modifier onlyActive() { require(started, "Airdrop is not started yet"); require(!canceled, "Airdrop is cancelled by owner"); _; } modifier onlyAllowed() { require(!only_whitelisted || titans_whitelist[msg.sender] == true, "User is not selected for airdrop"); require(!only_whitelisted || !user_claimed_titan[msg.sender], "User already claimed a titan"); _; } // // Change set paused to // function setPausedTo(bool value) public onlyOwner { paused = value; if(value == true) { emit airdrop_paused("Airdrop is paused"); } else { emit airdrop_paused("Airdrop is unpaused"); } } // // Cancel airdrop // function cancel() public onlyOwner { canceled = true; emit airdrop_canceled("Airdrop is canceled"); } function restart() public onlyOwner { started = true; canceled = false; paused = false; emit airdrop_restarted("Airdrop is restarted"); } // // Kill contract // function kill() external onlyOwner { selfdestruct(payable(msg.sender)); } }
// SPDX-License-Identifier: MIT pragma solidity^0.8.12; import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol"; contract Titan is ERC1155 { address public owner; address public airdrop_address; string public name; event token_revealed(string _uri); event token_minted(address _user, uint256 _id); constructor(address _owner) ERC1155("ipfs://QmTNPqNiqqMFXHbA3gkVoCoDhMzWdA9Bz15BLSCoh2KLHM/metadata/{id}.json") { airdrop_address = msg.sender; owner = _owner; _setName('Titan Collection'); } function _setName(string memory _name) internal { name = _name; } function setURI(string memory _uri) external { require(airdrop_address == msg.sender, "Only called by airdrop address"); _setURI(_uri); emit token_revealed(_uri); } function mint(address _user, uint256 id) external { require(airdrop_address == msg.sender, "Only called by airdrop address"); _mint(_user, id, 1, ''); emit token_minted(_user, id); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"string","name":"_msg","type":"string"}],"name":"airdrop_canceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_msg","type":"string"}],"name":"airdrop_paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_msg","type":"string"}],"name":"airdrop_restarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"_users","type":"address[]"}],"name":"bulk_user_whitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"titan_claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_uri","type":"string"}],"name":"titan_revealed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_user","type":"address"}],"name":"user_whitelisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_msg","type":"string"}],"name":"whitelisting_disabled","type":"event"},{"inputs":[],"name":"TitanContract","outputs":[{"internalType":"contract Titan","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"airdropTypeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canceled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"claim_titan","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"disable_whitelisting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"domainTypeHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"heroes_whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"_isOwner","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"kill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"only_whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"restart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setPausedTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"set_titan_uri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"titan_owner","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"titans_whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"token_minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"user_claimed_hero","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"user_claimed_titan","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_user","type":"address[]"}],"name":"whitelist_bulk_users","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"whitelist_user","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526001600260036101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506200004d620000416200019c60201b60201c565b620001a460201b60201c565b600180819055506040518060400160405280601981526020017f454950373132446f6d61696e28737472696e67206e616d6529000000000000008152506040516020016200009c9190620002f9565b604051602081830303815290604052805190602001207f59831d191a6d28f75c5c22cd9e040d43a92fd90d1e5dab6c10749acf49ea1516604051602001620000e69291906200032d565b6040516020818303038152906040528051906020012060098190555033604051620001119062000268565b6200011d91906200039f565b604051809103906000f0801580156200013a573d6000803e3d6000fd5b50600260046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600260006101000a81548160ff021916908315150217905550620003bc565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61313e8062002be583390190565b600081519050919050565b600081905092915050565b60005b83811015620002ac5780820151818401526020810190506200028f565b83811115620002bc576000848401525b50505050565b6000620002cf8262000276565b620002db818562000281565b9350620002ed8185602086016200028c565b80840191505092915050565b6000620003078284620002c2565b915081905092915050565b6000819050919050565b620003278162000312565b82525050565b60006040820190506200034460008301856200031c565b6200035360208301846200031c565b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000387826200035a565b9050919050565b62000399816200037a565b82525050565b6000602082019050620003b660008301846200038e565b92915050565b61281980620003cc6000396000f3fe6080604052600436106101815760003560e01c80638da5cb5b116100d1578063a83439f81161008a578063e089876911610064578063e08987691461052b578063ea8a1af014610568578063f2fde38b1461057f578063f47ee1af146105a857610181565b8063a83439f8146104a9578063c2d2cb25146104d2578063d923ee1c1461050f57610181565b80638da5cb5b146103715780638f1c6d441461039c57806393d84256146103d957806397995ecb146104165780639f68629714610441578063a31303a01461046c57610181565b80634c933b911161013e5780635908d6ee116101185780635908d6ee146102dd5780635c975abb14610306578063715018a61461033157806380af1bb91461034857610181565b80634c933b911461025e5780635000e2be1461028957806358315d86146102b257610181565b80630f100257146101865780631ef3755d1461019d5780631f2698ab146101b45780632f54bf6e146101df5780633f9942ff1461021c57806341c0e1b514610247575b600080fd5b34801561019257600080fd5b5061019b6105e5565b005b3480156101a957600080fd5b506101b26106b3565b005b3480156101c057600080fd5b506101c96107b6565b6040516101d691906118bf565b60405180910390f35b3480156101eb57600080fd5b506102066004803603810190610201919061194c565b6107c9565b60405161021391906118bf565b60405180910390f35b34801561022857600080fd5b50610231610819565b60405161023e91906118bf565b60405180910390f35b34801561025357600080fd5b5061025c61082a565b005b34801561026a57600080fd5b506102736108bf565b60405161028091906118bf565b60405180910390f35b34801561029557600080fd5b506102b060048036038101906102ab9190611abf565b6108d2565b005b3480156102be57600080fd5b506102c7610a15565b6040516102d49190611b67565b60405180910390f35b3480156102e957600080fd5b5061030460048036038101906102ff9190611bae565b610a3b565b005b34801561031257600080fd5b5061031b610b51565b60405161032891906118bf565b60405180910390f35b34801561033d57600080fd5b50610346610b64565b005b34801561035457600080fd5b5061036f600480360381019061036a9190611ca3565b610bec565b005b34801561037d57600080fd5b50610386610dce565b6040516103939190611cfb565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be919061194c565b610df7565b6040516103d091906118bf565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb919061194c565b610e17565b60405161040d91906118bf565b60405180910390f35b34801561042257600080fd5b5061042b610e37565b6040516104389190611d2f565b60405180910390f35b34801561044d57600080fd5b50610456610e96565b6040516104639190611d2f565b60405180910390f35b34801561047857600080fd5b50610493600480360381019061048e919061194c565b610ed8565b6040516104a091906118bf565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb919061194c565b610ef8565b005b3480156104de57600080fd5b506104f960048036038101906104f4919061194c565b61105b565b60405161050691906118bf565b60405180910390f35b61052960048036038101906105249190611d80565b61107b565b005b34801561053757600080fd5b50610552600480360381019061054d9190611d80565b6115db565b60405161055f91906118bf565b60405180910390f35b34801561057457600080fd5b5061057d6115fb565b005b34801561058b57600080fd5b506105a660048036038101906105a1919061194c565b6116c8565b005b3480156105b457600080fd5b506105cf60048036038101906105ca919061194c565b6117c0565b6040516105dc9190611dbc565b60405180910390f35b6105ed6117d8565b73ffffffffffffffffffffffffffffffffffffffff1661060b610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065890611e34565b60405180910390fd5b6000600260036101000a81548160ff0219169083151502179055507fb52606bee82ff8448a48c32e67dedb18f4d0817b9404c88540190ca6620663206040516106a990611ea0565b60405180910390a1565b6106bb6117d8565b73ffffffffffffffffffffffffffffffffffffffff166106d9610dce565b73ffffffffffffffffffffffffffffffffffffffff161461072f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072690611e34565b60405180910390fd5b6001600260006101000a81548160ff02191690831515021790555060006002806101000a81548160ff0219169083151502179055506000600260016101000a81548160ff0219169083151502179055507fc6faa6b62b50f6cbeb0eaca76dd60501b07b4616fab91e5e7de88e7bbbfecc556040516107ac90611f0c565b60405180910390a1565b600260009054906101000a900460ff1681565b60006107d3610dce565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561080f5760019050610814565b600090505b919050565b60028054906101000a900460ff1681565b6108326117d8565b73ffffffffffffffffffffffffffffffffffffffff16610850610dce565b73ffffffffffffffffffffffffffffffffffffffff16146108a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089d90611e34565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16ff5b600260039054906101000a900460ff1681565b6108da6117d8565b73ffffffffffffffffffffffffffffffffffffffff166108f8610dce565b73ffffffffffffffffffffffffffffffffffffffff161461094e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094590611e34565b60405180910390fd5b600260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302fe5305826040518263ffffffff1660e01b81526004016109a99190611fa3565b600060405180830381600087803b1580156109c357600080fd5b505af11580156109d7573d6000803e3d6000fd5b505050507ff5698266b0153c6cf298bf6b9da0b41237c96cd8c6a4b45d7c1daba8011f332781604051610a0a9190611fa3565b60405180910390a150565b600260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a436117d8565b73ffffffffffffffffffffffffffffffffffffffff16610a61610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aae90611e34565b60405180910390fd5b80600260016101000a81548160ff021916908315150217905550600115158115151415610b18577f1490a4ebd9f017aa465a0c5092618e5731a221e8747d14636e721165bbdc3f59604051610b0b90612011565b60405180910390a1610b4e565b7f1490a4ebd9f017aa465a0c5092618e5731a221e8747d14636e721165bbdc3f59604051610b459061207d565b60405180910390a15b50565b600260019054906101000a900460ff1681565b610b6c6117d8565b73ffffffffffffffffffffffffffffffffffffffff16610b8a610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd790611e34565b60405180910390fd5b610bea60006117e0565b565b610bf46117d8565b73ffffffffffffffffffffffffffffffffffffffff16610c12610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f90611e34565b60405180910390fd5b60026001541415610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca5906120e9565b60405180910390fd5b6002600181905550600a81511115610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf29061217b565b60405180910390fd5b60005b8151811015610d8c57600160036000848481518110610d2057610d1f61219b565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610d84906121f9565b915050610cfe565b507f4349f938ac407472e64176bfaf424e9ab2eb25427eed54af68f147061614629b81604051610dbc9190612300565b60405180910390a16001808190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60046020528060005260406000206000915054906101000a900460ff1681565b60036020528060005260406000206000915054906101000a900460ff1681565b6040518060400160405280601981526020017f454950373132446f6d61696e28737472696e67206e616d652900000000000000815250604051602001610e7d919061235e565b6040516020818303038152906040528051906020012081565b60405180608001604052806053815260200161279160539139604051602001610ebf919061235e565b6040516020818303038152906040528051906020012081565b60056020528060005260406000206000915054906101000a900460ff1681565b610f006117d8565b73ffffffffffffffffffffffffffffffffffffffff16610f1e610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6b90611e34565b60405180910390fd5b60026001541415610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb1906120e9565b60405180910390fd5b60026001819055506001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd7e7e6c3e1f57dc0e1756d0c9933efeec3d7244d066cbb2e3f8ab1b6eb5eab8a816040516110499190611cfb565b60405180910390a16001808190555050565b60066020528060005260406000206000915054906101000a900460ff1681565b60001515600260019054906101000a900460ff161515146110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c8906123c1565b60405180910390fd5b60026001541415611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e906120e9565b60405180910390fd5b6002600181905550600260009054906101000a900460ff1661116e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111659061242d565b60405180910390fd5b60028054906101000a900460ff16156111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b390612499565b60405180910390fd5b600260039054906101000a900460ff161580611228575060011515600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125e90612505565b60405180910390fd5b600260039054906101000a900460ff1615806112cd5750600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b61130c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130390612571565b60405180910390fd5b610190811115611351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611348906125dd565b60405180910390fd5b6008600082815260200190815260200160002060009054906101000a900460ff16156113b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a990612649565b60405180910390fd5b67016345785d8a00003410156113c757600080fd5b6113cf610dce565b73ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611414573d6000803e3d6000fd5b50600260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401611472929190612669565b600060405180830381600087803b15801561148c57600080fd5b505af11580156114a0573d6000803e3d6000fd5b5050505080600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f3eb85c3dc47a6cb37ae1bb0075978dd6d9d3138bd4bd378b508c9347037afa5b33826040516115c9929190612669565b60405180910390a16001808190555050565b60086020528060005260406000206000915054906101000a900460ff1681565b6116036117d8565b73ffffffffffffffffffffffffffffffffffffffff16611621610dce565b73ffffffffffffffffffffffffffffffffffffffff1614611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e90611e34565b60405180910390fd5b60016002806101000a81548160ff0219169083151502179055507f8d55c6894cdaa82962875a49539d896941b1ad810242240815ecda4b6ddb8d176040516116be906126de565b60405180910390a1565b6116d06117d8565b73ffffffffffffffffffffffffffffffffffffffff166116ee610dce565b73ffffffffffffffffffffffffffffffffffffffff1614611744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173b90611e34565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90612770565b60405180910390fd5b6117bd816117e0565b50565b60076020528060005260406000206000915090505481565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008115159050919050565b6118b9816118a4565b82525050565b60006020820190506118d460008301846118b0565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611919826118ee565b9050919050565b6119298161190e565b811461193457600080fd5b50565b60008135905061194681611920565b92915050565b600060208284031215611962576119616118e4565b5b600061197084828501611937565b91505092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6119cc82611983565b810181811067ffffffffffffffff821117156119eb576119ea611994565b5b80604052505050565b60006119fe6118da565b9050611a0a82826119c3565b919050565b600067ffffffffffffffff821115611a2a57611a29611994565b5b611a3382611983565b9050602081019050919050565b82818337600083830152505050565b6000611a62611a5d84611a0f565b6119f4565b905082815260208101848484011115611a7e57611a7d61197e565b5b611a89848285611a40565b509392505050565b600082601f830112611aa657611aa5611979565b5b8135611ab6848260208601611a4f565b91505092915050565b600060208284031215611ad557611ad46118e4565b5b600082013567ffffffffffffffff811115611af357611af26118e9565b5b611aff84828501611a91565b91505092915050565b6000819050919050565b6000611b2d611b28611b23846118ee565b611b08565b6118ee565b9050919050565b6000611b3f82611b12565b9050919050565b6000611b5182611b34565b9050919050565b611b6181611b46565b82525050565b6000602082019050611b7c6000830184611b58565b92915050565b611b8b816118a4565b8114611b9657600080fd5b50565b600081359050611ba881611b82565b92915050565b600060208284031215611bc457611bc36118e4565b5b6000611bd284828501611b99565b91505092915050565b600067ffffffffffffffff821115611bf657611bf5611994565b5b602082029050602081019050919050565b600080fd5b6000611c1f611c1a84611bdb565b6119f4565b90508083825260208201905060208402830185811115611c4257611c41611c07565b5b835b81811015611c6b5780611c578882611937565b845260208401935050602081019050611c44565b5050509392505050565b600082601f830112611c8a57611c89611979565b5b8135611c9a848260208601611c0c565b91505092915050565b600060208284031215611cb957611cb86118e4565b5b600082013567ffffffffffffffff811115611cd757611cd66118e9565b5b611ce384828501611c75565b91505092915050565b611cf58161190e565b82525050565b6000602082019050611d106000830184611cec565b92915050565b6000819050919050565b611d2981611d16565b82525050565b6000602082019050611d446000830184611d20565b92915050565b6000819050919050565b611d5d81611d4a565b8114611d6857600080fd5b50565b600081359050611d7a81611d54565b92915050565b600060208284031215611d9657611d956118e4565b5b6000611da484828501611d6b565b91505092915050565b611db681611d4a565b82525050565b6000602082019050611dd16000830184611dad565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611e1e602083611dd7565b9150611e2982611de8565b602082019050919050565b60006020820190508181036000830152611e4d81611e11565b9050919050565b7f57686974656c697374696e672064697361626c65640000000000000000000000600082015250565b6000611e8a601583611dd7565b9150611e9582611e54565b602082019050919050565b60006020820190508181036000830152611eb981611e7d565b9050919050565b7f41697264726f7020697320726573746172746564000000000000000000000000600082015250565b6000611ef6601483611dd7565b9150611f0182611ec0565b602082019050919050565b60006020820190508181036000830152611f2581611ee9565b9050919050565b600081519050919050565b60005b83811015611f55578082015181840152602081019050611f3a565b83811115611f64576000848401525b50505050565b6000611f7582611f2c565b611f7f8185611dd7565b9350611f8f818560208601611f37565b611f9881611983565b840191505092915050565b60006020820190508181036000830152611fbd8184611f6a565b905092915050565b7f41697264726f7020697320706175736564000000000000000000000000000000600082015250565b6000611ffb601183611dd7565b915061200682611fc5565b602082019050919050565b6000602082019050818103600083015261202a81611fee565b9050919050565b7f41697264726f7020697320756e70617573656400000000000000000000000000600082015250565b6000612067601383611dd7565b915061207282612031565b602082019050919050565b600060208201905081810360008301526120968161205a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006120d3601f83611dd7565b91506120de8261209d565b602082019050919050565b60006020820190508181036000830152612102816120c6565b9050919050565b7f4f6e6c79203130206f72206c65737320757365722063616e206265207768697460008201527f656c6973746564206174206f6e63650000000000000000000000000000000000602082015250565b6000612165602f83611dd7565b915061217082612109565b604082019050919050565b6000602082019050818103600083015261219481612158565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061220482611d4a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612237576122366121ca565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6122778161190e565b82525050565b6000612289838361226e565b60208301905092915050565b6000602082019050919050565b60006122ad82612242565b6122b7818561224d565b93506122c28361225e565b8060005b838110156122f35781516122da888261227d565b97506122e583612295565b9250506001810190506122c6565b5085935050505092915050565b6000602082019050818103600083015261231a81846122a2565b905092915050565b600081905092915050565b600061233882611f2c565b6123428185612322565b9350612352818560208601611f37565b80840191505092915050565b600061236a828461232d565b915081905092915050565b7f41697264726f7073206172652070617573656421000000000000000000000000600082015250565b60006123ab601483611dd7565b91506123b682612375565b602082019050919050565b600060208201905081810360008301526123da8161239e565b9050919050565b7f41697264726f70206973206e6f74207374617274656420796574000000000000600082015250565b6000612417601a83611dd7565b9150612422826123e1565b602082019050919050565b600060208201905081810360008301526124468161240a565b9050919050565b7f41697264726f702069732063616e63656c6c6564206279206f776e6572000000600082015250565b6000612483601d83611dd7565b915061248e8261244d565b602082019050919050565b600060208201905081810360008301526124b281612476565b9050919050565b7f55736572206973206e6f742073656c656374656420666f722061697264726f70600082015250565b60006124ef602083611dd7565b91506124fa826124b9565b602082019050919050565b6000602082019050818103600083015261251e816124e2565b9050919050565b7f5573657220616c726561647920636c61696d6564206120746974616e00000000600082015250565b600061255b601c83611dd7565b915061256682612525565b602082019050919050565b6000602082019050818103600083015261258a8161254e565b9050919050565b7f5468657265206973206e6f20746974616e207769746820746861742069640000600082015250565b60006125c7601e83611dd7565b91506125d282612591565b602082019050919050565b600060208201905081810360008301526125f6816125ba565b9050919050565b7f5468697320746974616e20697320616c7265616479206d696e74656400000000600082015250565b6000612633601c83611dd7565b915061263e826125fd565b602082019050919050565b6000602082019050818103600083015261266281612626565b9050919050565b600060408201905061267e6000830185611cec565b61268b6020830184611dad565b9392505050565b7f41697264726f702069732063616e63656c656400000000000000000000000000600082015250565b60006126c8601383611dd7565b91506126d382612692565b602082019050919050565b600060208201905081810360008301526126f7816126bb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061275a602683611dd7565b9150612765826126fe565b604082019050919050565b600060208201905081810360008301526127898161274d565b905091905056fe41697264726f70286164647265737320746f6b656e416464726573732c616464726573735b5d207265636569766572732c626f6f6c206973455243313135352c75696e743235365b5d20746f6b656e49647329a2646970667358221220958e5c34967b3ca42ac8b207b9b07248b65678928751886bdf6f667171505a3164736f6c634300080c003360806040523480156200001157600080fd5b506040516200313e3803806200313e833981810160405281019062000037919062000284565b604051806080016040528060488152602001620030f66048913962000062816200013260201b60201c565b5033600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200012b6040518060400160405280601081526020017f546974616e20436f6c6c656374696f6e000000000000000000000000000000008152506200014e60201b60201c565b506200031b565b80600290805190602001906200014a9291906200016a565b5050565b8060059080519060200190620001669291906200016a565b5050565b8280546200017890620002e5565b90600052602060002090601f0160209004810192826200019c5760008555620001e8565b82601f10620001b757805160ff1916838001178555620001e8565b82800160010185558215620001e8579182015b82811115620001e7578251825591602001919060010190620001ca565b5b509050620001f79190620001fb565b5090565b5b8082111562000216576000816000905550600101620001fc565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200024c826200021f565b9050919050565b6200025e816200023f565b81146200026a57600080fd5b50565b6000815190506200027e8162000253565b92915050565b6000602082840312156200029d576200029c6200021a565b5b6000620002ad848285016200026d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002fe57607f821691505b60208210811415620003155762000314620002b6565b5b50919050565b612dcb806200032b6000396000f3fe608060405234801561001057600080fd5b50600436106100ce5760003560e01c806340c10f191161008c578063a22cb46511610066578063a22cb46514610223578063e985e9c51461023f578063ed0ace851461026f578063f242432a1461028d576100ce565b806340c10f19146101b95780634e1273f4146101d55780638da5cb5b14610205576100ce565b8062fdd58e146100d357806301ffc9a71461010357806302fe53051461013357806306fdde031461014f5780630e89341c1461016d5780632eb2c2d61461019d575b600080fd5b6100ed60048036038101906100e89190611993565b6102a9565b6040516100fa91906119e2565b60405180910390f35b61011d60048036038101906101189190611a55565b610372565b60405161012a9190611a9d565b60405180910390f35b61014d60048036038101906101489190611bfe565b610454565b005b610157610527565b6040516101649190611ccf565b60405180910390f35b61018760048036038101906101829190611cf1565b6105b5565b6040516101949190611ccf565b60405180910390f35b6101b760048036038101906101b29190611e87565b610649565b005b6101d360048036038101906101ce9190611993565b6106ea565b005b6101ef60048036038101906101ea9190612019565b6107d3565b6040516101fc919061214f565b60405180910390f35b61020d6108ec565b60405161021a9190612180565b60405180910390f35b61023d600480360381019061023891906121c7565b610912565b005b61025960048036038101906102549190612207565b610928565b6040516102669190611a9d565b60405180910390f35b6102776109bc565b6040516102849190612180565b60405180910390f35b6102a760048036038101906102a29190612247565b6109e2565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561031a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031190612350565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061043d57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061044d575061044c82610a83565b5b9050919050565b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146104e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104db906123bc565b60405180910390fd5b6104ed81610aed565b7f276c3e5aadf8da3f905b423629f26086d7f2fcb7071f1c843a049f3be6a848358160405161051c9190611ccf565b60405180910390a150565b600580546105349061240b565b80601f01602080910402602001604051908101604052809291908181526020018280546105609061240b565b80156105ad5780601f10610582576101008083540402835291602001916105ad565b820191906000526020600020905b81548152906001019060200180831161059057829003601f168201915b505050505081565b6060600280546105c49061240b565b80601f01602080910402602001604051908101604052809291908181526020018280546105f09061240b565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b50505050509050919050565b610651610b07565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610697575061069685610691610b07565b610928565b5b6106d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cd906124af565b60405180910390fd5b6106e38585858585610b0f565b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461077a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610771906123bc565b60405180910390fd5b6107968282600160405180602001604052806000815250610e31565b7f2ccdfaec86039d001d29903cf7db0e44bff5ec1b5654538293ed865aaaa2ebbf82826040516107c79291906124cf565b60405180910390a15050565b60608151835114610819576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108109061256a565b60405180910390fd5b6000835167ffffffffffffffff81111561083657610835611ad3565b5b6040519080825280602002602001820160405280156108645781602001602082028036833780820191505090505b50905060005b84518110156108e1576108b18582815181106108895761088861258a565b5b60200260200101518583815181106108a4576108a361258a565b5b60200260200101516102a9565b8282815181106108c4576108c361258a565b5b602002602001018181525050806108da906125e8565b905061086a565b508091505092915050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61092461091d610b07565b8383610fe2565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6109ea610b07565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a305750610a2f85610a2a610b07565b610928565b5b610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a66906126a3565b60405180910390fd5b610a7c858585858561114f565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b8060029080519060200190610b03929190611848565b5050565b600033905090565b8151835114610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90612735565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bba906127c7565b60405180910390fd5b6000610bcd610b07565b9050610bdd8187878787876113eb565b60005b8451811015610d8e576000858281518110610bfe57610bfd61258a565b5b602002602001015190506000858381518110610c1d57610c1c61258a565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590612859565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d739190612879565b9250508190555050505080610d87906125e8565b9050610be0565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610e059291906128cf565b60405180910390a4610e1b8187878787876113f3565b610e298187878787876113fb565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9890612978565b60405180910390fd5b6000610eab610b07565b90506000610eb8856115d3565b90506000610ec5856115d3565b9050610ed6836000898585896113eb565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610f359190612879565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051610fb3929190612998565b60405180910390a4610fca836000898585896113f3565b610fd98360008989898961164d565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611051576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104890612a33565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516111429190611a9d565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b6906127c7565b60405180910390fd5b60006111c9610b07565b905060006111d6856115d3565b905060006111e3856115d3565b90506111f38389898585896113eb565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561128a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128190612859565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461133f9190612879565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516113bc929190612998565b60405180910390a46113d2848a8a86868a6113f3565b6113e0848a8a8a8a8a61164d565b505050505050505050565b505050505050565b505050505050565b61141a8473ffffffffffffffffffffffffffffffffffffffff16611825565b156115cb578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611460959493929190612aa8565b6020604051808303816000875af192505050801561149c57506040513d601f19601f820116820180604052508101906114999190612b25565b60015b611542576114a8612b5f565b806308c379a0141561150557506114bd612b81565b806114c85750611507565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fc9190611ccf565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153990612c89565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c090612d1b565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156115f2576115f1611ad3565b5b6040519080825280602002602001820160405280156116205781602001602082028036833780820191505090505b50905082816000815181106116385761163761258a565b5b60200260200101818152505080915050919050565b61166c8473ffffffffffffffffffffffffffffffffffffffff16611825565b1561181d578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016116b2959493929190612d3b565b6020604051808303816000875af19250505080156116ee57506040513d601f19601f820116820180604052508101906116eb9190612b25565b60015b611794576116fa612b5f565b806308c379a01415611757575061170f612b81565b8061171a5750611759565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174e9190611ccf565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178b90612c89565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461181b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181290612d1b565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546118549061240b565b90600052602060002090601f01602090048101928261187657600085556118bd565b82601f1061188f57805160ff19168380011785556118bd565b828001600101855582156118bd579182015b828111156118bc5782518255916020019190600101906118a1565b5b5090506118ca91906118ce565b5090565b5b808211156118e75760008160009055506001016118cf565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061192a826118ff565b9050919050565b61193a8161191f565b811461194557600080fd5b50565b60008135905061195781611931565b92915050565b6000819050919050565b6119708161195d565b811461197b57600080fd5b50565b60008135905061198d81611967565b92915050565b600080604083850312156119aa576119a96118f5565b5b60006119b885828601611948565b92505060206119c98582860161197e565b9150509250929050565b6119dc8161195d565b82525050565b60006020820190506119f760008301846119d3565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611a32816119fd565b8114611a3d57600080fd5b50565b600081359050611a4f81611a29565b92915050565b600060208284031215611a6b57611a6a6118f5565b5b6000611a7984828501611a40565b91505092915050565b60008115159050919050565b611a9781611a82565b82525050565b6000602082019050611ab26000830184611a8e565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611b0b82611ac2565b810181811067ffffffffffffffff82111715611b2a57611b29611ad3565b5b80604052505050565b6000611b3d6118eb565b9050611b498282611b02565b919050565b600067ffffffffffffffff821115611b6957611b68611ad3565b5b611b7282611ac2565b9050602081019050919050565b82818337600083830152505050565b6000611ba1611b9c84611b4e565b611b33565b905082815260208101848484011115611bbd57611bbc611abd565b5b611bc8848285611b7f565b509392505050565b600082601f830112611be557611be4611ab8565b5b8135611bf5848260208601611b8e565b91505092915050565b600060208284031215611c1457611c136118f5565b5b600082013567ffffffffffffffff811115611c3257611c316118fa565b5b611c3e84828501611bd0565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611c81578082015181840152602081019050611c66565b83811115611c90576000848401525b50505050565b6000611ca182611c47565b611cab8185611c52565b9350611cbb818560208601611c63565b611cc481611ac2565b840191505092915050565b60006020820190508181036000830152611ce98184611c96565b905092915050565b600060208284031215611d0757611d066118f5565b5b6000611d158482850161197e565b91505092915050565b600067ffffffffffffffff821115611d3957611d38611ad3565b5b602082029050602081019050919050565b600080fd5b6000611d62611d5d84611d1e565b611b33565b90508083825260208201905060208402830185811115611d8557611d84611d4a565b5b835b81811015611dae5780611d9a888261197e565b845260208401935050602081019050611d87565b5050509392505050565b600082601f830112611dcd57611dcc611ab8565b5b8135611ddd848260208601611d4f565b91505092915050565b600067ffffffffffffffff821115611e0157611e00611ad3565b5b611e0a82611ac2565b9050602081019050919050565b6000611e2a611e2584611de6565b611b33565b905082815260208101848484011115611e4657611e45611abd565b5b611e51848285611b7f565b509392505050565b600082601f830112611e6e57611e6d611ab8565b5b8135611e7e848260208601611e17565b91505092915050565b600080600080600060a08688031215611ea357611ea26118f5565b5b6000611eb188828901611948565b9550506020611ec288828901611948565b945050604086013567ffffffffffffffff811115611ee357611ee26118fa565b5b611eef88828901611db8565b935050606086013567ffffffffffffffff811115611f1057611f0f6118fa565b5b611f1c88828901611db8565b925050608086013567ffffffffffffffff811115611f3d57611f3c6118fa565b5b611f4988828901611e59565b9150509295509295909350565b600067ffffffffffffffff821115611f7157611f70611ad3565b5b602082029050602081019050919050565b6000611f95611f9084611f56565b611b33565b90508083825260208201905060208402830185811115611fb857611fb7611d4a565b5b835b81811015611fe15780611fcd8882611948565b845260208401935050602081019050611fba565b5050509392505050565b600082601f83011261200057611fff611ab8565b5b8135612010848260208601611f82565b91505092915050565b600080604083850312156120305761202f6118f5565b5b600083013567ffffffffffffffff81111561204e5761204d6118fa565b5b61205a85828601611feb565b925050602083013567ffffffffffffffff81111561207b5761207a6118fa565b5b61208785828601611db8565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6120c68161195d565b82525050565b60006120d883836120bd565b60208301905092915050565b6000602082019050919050565b60006120fc82612091565b612106818561209c565b9350612111836120ad565b8060005b8381101561214257815161212988826120cc565b9750612134836120e4565b925050600181019050612115565b5085935050505092915050565b6000602082019050818103600083015261216981846120f1565b905092915050565b61217a8161191f565b82525050565b60006020820190506121956000830184612171565b92915050565b6121a481611a82565b81146121af57600080fd5b50565b6000813590506121c18161219b565b92915050565b600080604083850312156121de576121dd6118f5565b5b60006121ec85828601611948565b92505060206121fd858286016121b2565b9150509250929050565b6000806040838503121561221e5761221d6118f5565b5b600061222c85828601611948565b925050602061223d85828601611948565b9150509250929050565b600080600080600060a08688031215612263576122626118f5565b5b600061227188828901611948565b955050602061228288828901611948565b94505060406122938882890161197e565b93505060606122a48882890161197e565b925050608086013567ffffffffffffffff8111156122c5576122c46118fa565b5b6122d188828901611e59565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061233a602b83611c52565b9150612345826122de565b604082019050919050565b600060208201905081810360008301526123698161232d565b9050919050565b7f4f6e6c792063616c6c65642062792061697264726f7020616464726573730000600082015250565b60006123a6601e83611c52565b91506123b182612370565b602082019050919050565b600060208201905081810360008301526123d581612399565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061242357607f821691505b60208210811415612437576124366123dc565b5b50919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000612499603283611c52565b91506124a48261243d565b604082019050919050565b600060208201905081810360008301526124c88161248c565b9050919050565b60006040820190506124e46000830185612171565b6124f160208301846119d3565b9392505050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000612554602983611c52565b915061255f826124f8565b604082019050919050565b6000602082019050818103600083015261258381612547565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006125f38261195d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612626576126256125b9565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b600061268d602983611c52565b915061269882612631565b604082019050919050565b600060208201905081810360008301526126bc81612680565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061271f602883611c52565b915061272a826126c3565b604082019050919050565b6000602082019050818103600083015261274e81612712565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006127b1602583611c52565b91506127bc82612755565b604082019050919050565b600060208201905081810360008301526127e0816127a4565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000612843602a83611c52565b915061284e826127e7565b604082019050919050565b6000602082019050818103600083015261287281612836565b9050919050565b60006128848261195d565b915061288f8361195d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156128c4576128c36125b9565b5b828201905092915050565b600060408201905081810360008301526128e981856120f1565b905081810360208301526128fd81846120f1565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612962602183611c52565b915061296d82612906565b604082019050919050565b6000602082019050818103600083015261299181612955565b9050919050565b60006040820190506129ad60008301856119d3565b6129ba60208301846119d3565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000612a1d602983611c52565b9150612a28826129c1565b604082019050919050565b60006020820190508181036000830152612a4c81612a10565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000612a7a82612a53565b612a848185612a5e565b9350612a94818560208601611c63565b612a9d81611ac2565b840191505092915050565b600060a082019050612abd6000830188612171565b612aca6020830187612171565b8181036040830152612adc81866120f1565b90508181036060830152612af081856120f1565b90508181036080830152612b048184612a6f565b90509695505050505050565b600081519050612b1f81611a29565b92915050565b600060208284031215612b3b57612b3a6118f5565b5b6000612b4984828501612b10565b91505092915050565b60008160e01c9050919050565b600060033d1115612b7e5760046000803e612b7b600051612b52565b90505b90565b600060443d1015612b9157612c14565b612b996118eb565b60043d036004823e80513d602482011167ffffffffffffffff82111715612bc1575050612c14565b808201805167ffffffffffffffff811115612bdf5750505050612c14565b80602083010160043d038501811115612bfc575050505050612c14565b612c0b82602001850186611b02565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000612c73603483611c52565b9150612c7e82612c17565b604082019050919050565b60006020820190508181036000830152612ca281612c66565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000612d05602883611c52565b9150612d1082612ca9565b604082019050919050565b60006020820190508181036000830152612d3481612cf8565b9050919050565b600060a082019050612d506000830188612171565b612d5d6020830187612171565b612d6a60408301866119d3565b612d7760608301856119d3565b8181036080830152612d898184612a6f565b9050969550505050505056fea2646970667358221220acd951a69385b93b68b84b60a946060b90452de25e9ed34508e61b3d5558c6cf64736f6c634300080c0033697066733a2f2f516d544e50714e6971714d465848624133676b566f436f44684d7a57644139427a3135424c53436f68324b4c484d2f6d657461646174612f7b69647d2e6a736f6e
Deployed Bytecode
0x6080604052600436106101815760003560e01c80638da5cb5b116100d1578063a83439f81161008a578063e089876911610064578063e08987691461052b578063ea8a1af014610568578063f2fde38b1461057f578063f47ee1af146105a857610181565b8063a83439f8146104a9578063c2d2cb25146104d2578063d923ee1c1461050f57610181565b80638da5cb5b146103715780638f1c6d441461039c57806393d84256146103d957806397995ecb146104165780639f68629714610441578063a31303a01461046c57610181565b80634c933b911161013e5780635908d6ee116101185780635908d6ee146102dd5780635c975abb14610306578063715018a61461033157806380af1bb91461034857610181565b80634c933b911461025e5780635000e2be1461028957806358315d86146102b257610181565b80630f100257146101865780631ef3755d1461019d5780631f2698ab146101b45780632f54bf6e146101df5780633f9942ff1461021c57806341c0e1b514610247575b600080fd5b34801561019257600080fd5b5061019b6105e5565b005b3480156101a957600080fd5b506101b26106b3565b005b3480156101c057600080fd5b506101c96107b6565b6040516101d691906118bf565b60405180910390f35b3480156101eb57600080fd5b506102066004803603810190610201919061194c565b6107c9565b60405161021391906118bf565b60405180910390f35b34801561022857600080fd5b50610231610819565b60405161023e91906118bf565b60405180910390f35b34801561025357600080fd5b5061025c61082a565b005b34801561026a57600080fd5b506102736108bf565b60405161028091906118bf565b60405180910390f35b34801561029557600080fd5b506102b060048036038101906102ab9190611abf565b6108d2565b005b3480156102be57600080fd5b506102c7610a15565b6040516102d49190611b67565b60405180910390f35b3480156102e957600080fd5b5061030460048036038101906102ff9190611bae565b610a3b565b005b34801561031257600080fd5b5061031b610b51565b60405161032891906118bf565b60405180910390f35b34801561033d57600080fd5b50610346610b64565b005b34801561035457600080fd5b5061036f600480360381019061036a9190611ca3565b610bec565b005b34801561037d57600080fd5b50610386610dce565b6040516103939190611cfb565b60405180910390f35b3480156103a857600080fd5b506103c360048036038101906103be919061194c565b610df7565b6040516103d091906118bf565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb919061194c565b610e17565b60405161040d91906118bf565b60405180910390f35b34801561042257600080fd5b5061042b610e37565b6040516104389190611d2f565b60405180910390f35b34801561044d57600080fd5b50610456610e96565b6040516104639190611d2f565b60405180910390f35b34801561047857600080fd5b50610493600480360381019061048e919061194c565b610ed8565b6040516104a091906118bf565b60405180910390f35b3480156104b557600080fd5b506104d060048036038101906104cb919061194c565b610ef8565b005b3480156104de57600080fd5b506104f960048036038101906104f4919061194c565b61105b565b60405161050691906118bf565b60405180910390f35b61052960048036038101906105249190611d80565b61107b565b005b34801561053757600080fd5b50610552600480360381019061054d9190611d80565b6115db565b60405161055f91906118bf565b60405180910390f35b34801561057457600080fd5b5061057d6115fb565b005b34801561058b57600080fd5b506105a660048036038101906105a1919061194c565b6116c8565b005b3480156105b457600080fd5b506105cf60048036038101906105ca919061194c565b6117c0565b6040516105dc9190611dbc565b60405180910390f35b6105ed6117d8565b73ffffffffffffffffffffffffffffffffffffffff1661060b610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610661576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065890611e34565b60405180910390fd5b6000600260036101000a81548160ff0219169083151502179055507fb52606bee82ff8448a48c32e67dedb18f4d0817b9404c88540190ca6620663206040516106a990611ea0565b60405180910390a1565b6106bb6117d8565b73ffffffffffffffffffffffffffffffffffffffff166106d9610dce565b73ffffffffffffffffffffffffffffffffffffffff161461072f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072690611e34565b60405180910390fd5b6001600260006101000a81548160ff02191690831515021790555060006002806101000a81548160ff0219169083151502179055506000600260016101000a81548160ff0219169083151502179055507fc6faa6b62b50f6cbeb0eaca76dd60501b07b4616fab91e5e7de88e7bbbfecc556040516107ac90611f0c565b60405180910390a1565b600260009054906101000a900460ff1681565b60006107d3610dce565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561080f5760019050610814565b600090505b919050565b60028054906101000a900460ff1681565b6108326117d8565b73ffffffffffffffffffffffffffffffffffffffff16610850610dce565b73ffffffffffffffffffffffffffffffffffffffff16146108a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089d90611e34565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16ff5b600260039054906101000a900460ff1681565b6108da6117d8565b73ffffffffffffffffffffffffffffffffffffffff166108f8610dce565b73ffffffffffffffffffffffffffffffffffffffff161461094e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094590611e34565b60405180910390fd5b600260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166302fe5305826040518263ffffffff1660e01b81526004016109a99190611fa3565b600060405180830381600087803b1580156109c357600080fd5b505af11580156109d7573d6000803e3d6000fd5b505050507ff5698266b0153c6cf298bf6b9da0b41237c96cd8c6a4b45d7c1daba8011f332781604051610a0a9190611fa3565b60405180910390a150565b600260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a436117d8565b73ffffffffffffffffffffffffffffffffffffffff16610a61610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aae90611e34565b60405180910390fd5b80600260016101000a81548160ff021916908315150217905550600115158115151415610b18577f1490a4ebd9f017aa465a0c5092618e5731a221e8747d14636e721165bbdc3f59604051610b0b90612011565b60405180910390a1610b4e565b7f1490a4ebd9f017aa465a0c5092618e5731a221e8747d14636e721165bbdc3f59604051610b459061207d565b60405180910390a15b50565b600260019054906101000a900460ff1681565b610b6c6117d8565b73ffffffffffffffffffffffffffffffffffffffff16610b8a610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd790611e34565b60405180910390fd5b610bea60006117e0565b565b610bf46117d8565b73ffffffffffffffffffffffffffffffffffffffff16610c12610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610c68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5f90611e34565b60405180910390fd5b60026001541415610cae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca5906120e9565b60405180910390fd5b6002600181905550600a81511115610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf29061217b565b60405180910390fd5b60005b8151811015610d8c57600160036000848481518110610d2057610d1f61219b565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610d84906121f9565b915050610cfe565b507f4349f938ac407472e64176bfaf424e9ab2eb25427eed54af68f147061614629b81604051610dbc9190612300565b60405180910390a16001808190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60046020528060005260406000206000915054906101000a900460ff1681565b60036020528060005260406000206000915054906101000a900460ff1681565b6040518060400160405280601981526020017f454950373132446f6d61696e28737472696e67206e616d652900000000000000815250604051602001610e7d919061235e565b6040516020818303038152906040528051906020012081565b60405180608001604052806053815260200161279160539139604051602001610ebf919061235e565b6040516020818303038152906040528051906020012081565b60056020528060005260406000206000915054906101000a900460ff1681565b610f006117d8565b73ffffffffffffffffffffffffffffffffffffffff16610f1e610dce565b73ffffffffffffffffffffffffffffffffffffffff1614610f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6b90611e34565b60405180910390fd5b60026001541415610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb1906120e9565b60405180910390fd5b60026001819055506001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fd7e7e6c3e1f57dc0e1756d0c9933efeec3d7244d066cbb2e3f8ab1b6eb5eab8a816040516110499190611cfb565b60405180910390a16001808190555050565b60066020528060005260406000206000915054906101000a900460ff1681565b60001515600260019054906101000a900460ff161515146110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c8906123c1565b60405180910390fd5b60026001541415611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e906120e9565b60405180910390fd5b6002600181905550600260009054906101000a900460ff1661116e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111659061242d565b60405180910390fd5b60028054906101000a900460ff16156111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b390612499565b60405180910390fd5b600260039054906101000a900460ff161580611228575060011515600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515145b611267576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125e90612505565b60405180910390fd5b600260039054906101000a900460ff1615806112cd5750600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b61130c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130390612571565b60405180910390fd5b610190811115611351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611348906125dd565b60405180910390fd5b6008600082815260200190815260200160002060009054906101000a900460ff16156113b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a990612649565b60405180910390fd5b67016345785d8a00003410156113c757600080fd5b6113cf610dce565b73ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611414573d6000803e3d6000fd5b50600260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401611472929190612669565b600060405180830381600087803b15801561148c57600080fd5b505af11580156114a0573d6000803e3d6000fd5b5050505080600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f3eb85c3dc47a6cb37ae1bb0075978dd6d9d3138bd4bd378b508c9347037afa5b33826040516115c9929190612669565b60405180910390a16001808190555050565b60086020528060005260406000206000915054906101000a900460ff1681565b6116036117d8565b73ffffffffffffffffffffffffffffffffffffffff16611621610dce565b73ffffffffffffffffffffffffffffffffffffffff1614611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166e90611e34565b60405180910390fd5b60016002806101000a81548160ff0219169083151502179055507f8d55c6894cdaa82962875a49539d896941b1ad810242240815ecda4b6ddb8d176040516116be906126de565b60405180910390a1565b6116d06117d8565b73ffffffffffffffffffffffffffffffffffffffff166116ee610dce565b73ffffffffffffffffffffffffffffffffffffffff1614611744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173b90611e34565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90612770565b60405180910390fd5b6117bd816117e0565b50565b60076020528060005260406000206000915090505481565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008115159050919050565b6118b9816118a4565b82525050565b60006020820190506118d460008301846118b0565b92915050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611919826118ee565b9050919050565b6119298161190e565b811461193457600080fd5b50565b60008135905061194681611920565b92915050565b600060208284031215611962576119616118e4565b5b600061197084828501611937565b91505092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6119cc82611983565b810181811067ffffffffffffffff821117156119eb576119ea611994565b5b80604052505050565b60006119fe6118da565b9050611a0a82826119c3565b919050565b600067ffffffffffffffff821115611a2a57611a29611994565b5b611a3382611983565b9050602081019050919050565b82818337600083830152505050565b6000611a62611a5d84611a0f565b6119f4565b905082815260208101848484011115611a7e57611a7d61197e565b5b611a89848285611a40565b509392505050565b600082601f830112611aa657611aa5611979565b5b8135611ab6848260208601611a4f565b91505092915050565b600060208284031215611ad557611ad46118e4565b5b600082013567ffffffffffffffff811115611af357611af26118e9565b5b611aff84828501611a91565b91505092915050565b6000819050919050565b6000611b2d611b28611b23846118ee565b611b08565b6118ee565b9050919050565b6000611b3f82611b12565b9050919050565b6000611b5182611b34565b9050919050565b611b6181611b46565b82525050565b6000602082019050611b7c6000830184611b58565b92915050565b611b8b816118a4565b8114611b9657600080fd5b50565b600081359050611ba881611b82565b92915050565b600060208284031215611bc457611bc36118e4565b5b6000611bd284828501611b99565b91505092915050565b600067ffffffffffffffff821115611bf657611bf5611994565b5b602082029050602081019050919050565b600080fd5b6000611c1f611c1a84611bdb565b6119f4565b90508083825260208201905060208402830185811115611c4257611c41611c07565b5b835b81811015611c6b5780611c578882611937565b845260208401935050602081019050611c44565b5050509392505050565b600082601f830112611c8a57611c89611979565b5b8135611c9a848260208601611c0c565b91505092915050565b600060208284031215611cb957611cb86118e4565b5b600082013567ffffffffffffffff811115611cd757611cd66118e9565b5b611ce384828501611c75565b91505092915050565b611cf58161190e565b82525050565b6000602082019050611d106000830184611cec565b92915050565b6000819050919050565b611d2981611d16565b82525050565b6000602082019050611d446000830184611d20565b92915050565b6000819050919050565b611d5d81611d4a565b8114611d6857600080fd5b50565b600081359050611d7a81611d54565b92915050565b600060208284031215611d9657611d956118e4565b5b6000611da484828501611d6b565b91505092915050565b611db681611d4a565b82525050565b6000602082019050611dd16000830184611dad565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611e1e602083611dd7565b9150611e2982611de8565b602082019050919050565b60006020820190508181036000830152611e4d81611e11565b9050919050565b7f57686974656c697374696e672064697361626c65640000000000000000000000600082015250565b6000611e8a601583611dd7565b9150611e9582611e54565b602082019050919050565b60006020820190508181036000830152611eb981611e7d565b9050919050565b7f41697264726f7020697320726573746172746564000000000000000000000000600082015250565b6000611ef6601483611dd7565b9150611f0182611ec0565b602082019050919050565b60006020820190508181036000830152611f2581611ee9565b9050919050565b600081519050919050565b60005b83811015611f55578082015181840152602081019050611f3a565b83811115611f64576000848401525b50505050565b6000611f7582611f2c565b611f7f8185611dd7565b9350611f8f818560208601611f37565b611f9881611983565b840191505092915050565b60006020820190508181036000830152611fbd8184611f6a565b905092915050565b7f41697264726f7020697320706175736564000000000000000000000000000000600082015250565b6000611ffb601183611dd7565b915061200682611fc5565b602082019050919050565b6000602082019050818103600083015261202a81611fee565b9050919050565b7f41697264726f7020697320756e70617573656400000000000000000000000000600082015250565b6000612067601383611dd7565b915061207282612031565b602082019050919050565b600060208201905081810360008301526120968161205a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006120d3601f83611dd7565b91506120de8261209d565b602082019050919050565b60006020820190508181036000830152612102816120c6565b9050919050565b7f4f6e6c79203130206f72206c65737320757365722063616e206265207768697460008201527f656c6973746564206174206f6e63650000000000000000000000000000000000602082015250565b6000612165602f83611dd7565b915061217082612109565b604082019050919050565b6000602082019050818103600083015261219481612158565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061220482611d4a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612237576122366121ca565b5b600182019050919050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6122778161190e565b82525050565b6000612289838361226e565b60208301905092915050565b6000602082019050919050565b60006122ad82612242565b6122b7818561224d565b93506122c28361225e565b8060005b838110156122f35781516122da888261227d565b97506122e583612295565b9250506001810190506122c6565b5085935050505092915050565b6000602082019050818103600083015261231a81846122a2565b905092915050565b600081905092915050565b600061233882611f2c565b6123428185612322565b9350612352818560208601611f37565b80840191505092915050565b600061236a828461232d565b915081905092915050565b7f41697264726f7073206172652070617573656421000000000000000000000000600082015250565b60006123ab601483611dd7565b91506123b682612375565b602082019050919050565b600060208201905081810360008301526123da8161239e565b9050919050565b7f41697264726f70206973206e6f74207374617274656420796574000000000000600082015250565b6000612417601a83611dd7565b9150612422826123e1565b602082019050919050565b600060208201905081810360008301526124468161240a565b9050919050565b7f41697264726f702069732063616e63656c6c6564206279206f776e6572000000600082015250565b6000612483601d83611dd7565b915061248e8261244d565b602082019050919050565b600060208201905081810360008301526124b281612476565b9050919050565b7f55736572206973206e6f742073656c656374656420666f722061697264726f70600082015250565b60006124ef602083611dd7565b91506124fa826124b9565b602082019050919050565b6000602082019050818103600083015261251e816124e2565b9050919050565b7f5573657220616c726561647920636c61696d6564206120746974616e00000000600082015250565b600061255b601c83611dd7565b915061256682612525565b602082019050919050565b6000602082019050818103600083015261258a8161254e565b9050919050565b7f5468657265206973206e6f20746974616e207769746820746861742069640000600082015250565b60006125c7601e83611dd7565b91506125d282612591565b602082019050919050565b600060208201905081810360008301526125f6816125ba565b9050919050565b7f5468697320746974616e20697320616c7265616479206d696e74656400000000600082015250565b6000612633601c83611dd7565b915061263e826125fd565b602082019050919050565b6000602082019050818103600083015261266281612626565b9050919050565b600060408201905061267e6000830185611cec565b61268b6020830184611dad565b9392505050565b7f41697264726f702069732063616e63656c656400000000000000000000000000600082015250565b60006126c8601383611dd7565b91506126d382612692565b602082019050919050565b600060208201905081810360008301526126f7816126bb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061275a602683611dd7565b9150612765826126fe565b604082019050919050565b600060208201905081810360008301526127898161274d565b905091905056fe41697264726f70286164647265737320746f6b656e416464726573732c616464726573735b5d207265636569766572732c626f6f6c206973455243313135352c75696e743235365b5d20746f6b656e49647329a2646970667358221220958e5c34967b3ca42ac8b207b9b07248b65678928751886bdf6f667171505a3164736f6c634300080c0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.