Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
234 TENSEI
Holders
142
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TENSEILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
TenseiTurtles
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import '../Blimpie/Delegated.sol'; import '../Blimpie/PaymentSplitterMod.sol'; import './ERC721EnumerableT.sol'; import "@openzeppelin/contracts/utils/Strings.sol"; interface IERC20Proxy{ function burnFromAccount( address account, uint leaves ) external payable; function mintToAccount( address[] calldata accounts, uint[] calldata leaves ) external payable; } interface IERC1155Proxy{ function burnFrom( address account, uint[] calldata ids, uint[] calldata quantities ) external payable; } contract TenseiTurtles is ERC721EnumerableT, Delegated, PaymentSplitterMod { using Strings for uint; event Evolve(address indexed owner, uint256 indexed tokenId); event Spawn(address indexed owner, uint256 indexed tokenId); enum TurtleType{ Tensei, Meta, Hybrid } struct Turtle{ address owner; TurtleType turtleType; uint32 nextBreed; uint32 lastStake; } uint public MAX_ORDER = 2; uint public MAX_SUPPLY = 1111; uint public MAX_WALLET = 2; uint public PRICE = 0.065 ether; uint32 public COOLDOWN_TENSEI = 259200; // 3 days uint32 public COOLDOWN_META = 259200; uint32 public STAKE_PERIOD = 3600; // 1 hour uint public STAKE_TENSEI = 83333000000000000; // 2000000000000000000 / 24 uint public STAKE_META = 208333000000000000; // 5000000000000000000 / 24 uint public STAKE_HYBRID = 208333000000000000; // 5000000000000000000 / 24 Turtle[] public turtles; bool public isPresaleActive = false; bool public isMintActive = false; bool public isEvolveActive = false; bool public isBreedActive = false; bool public isStakeActive = false; address public flaskAddress; uint public flaskToken; uint public flaskQuantity = 1; address public leafAddress; uint public leafEvolveQuantity = 0 ether; uint public leafBreedQuantity = 210 ether; mapping(address => uint) public accessList; mapping(address => uint) private _balances; string private _tokenURIPrefix = 'https://ipfs.tenseiturtles.io/metadata/'; string private _tokenURISuffix = ''; address[] private addressList = [ 0x890903d07b5Db2FaDE12027E9B1AF16e5e6e0EA5, 0xB7edf3Cbb58ecb74BdE6298294c7AAb339F3cE4a ]; uint[] private shareList = [ 88, 12 ]; constructor() ERC721T("Tensei Turtles", "TENSEI") PaymentSplitterMod( addressList, shareList ){ } //external fallback() external payable {} function balanceOf(address account) public view override returns (uint) { require(account != address(0), "TENSEI: balance query for the zero address"); return _balances[account]; } function checkLeaf( uint tokenId ) public view returns( uint leaves ){ require( isStakeActive, "TENSEI: Staking is not active" ); require(_exists(tokenId), "TENSEI: Query for nonexistent token"); Turtle memory turtle = turtles[ tokenId ]; if( turtle.lastStake < 2 ) return 0; uint periods = (block.timestamp - turtle.lastStake)/STAKE_PERIOD; if( periods == 0 ) return 0; if( turtle.turtleType == TurtleType.Tensei ) return periods * STAKE_TENSEI; else if( turtle.turtleType == TurtleType.Meta ) return periods * STAKE_META; else if( turtle.turtleType == TurtleType.Hybrid ) return periods * STAKE_HYBRID; else return 0; } function checkLeaves( uint[] calldata tokenIds ) external view returns( uint totalLeaves_ ) { uint totalLeaves; for( uint i; i < tokenIds.length; ++i ){ totalLeaves += checkLeaf( tokenIds[i] ); } return totalLeaves; } function isOwnerOf( address account, uint[] calldata tokenIds ) external view override returns( bool ){ for(uint i; i < tokenIds.length; ++i ){ if( turtles[ tokenIds[i] ].owner != account ) return false; } return true; } function ownerOf( uint tokenId ) public override view returns( address owner_ ){ address owner = turtles[tokenId].owner; require(owner != address(0), "TENSEI: query for nonexistent token"); return owner; } function tokenByIndex(uint index) external view override returns (uint) { require(index < totalSupply(), "TENSEI: global index out of bounds"); return index; } function tokenOfOwnerByIndex(address owner, uint index) public view override returns (uint tokenId) { uint count; for( uint i; i < turtles.length; ++i ){ if( owner == turtles[i].owner ){ if( count == index ) return i; else ++count; } } revert("ERC721Enumerable: owner index out of bounds"); } function tokenURI(uint tokenId) external view override returns (string memory) { require(_exists(tokenId), "TENSEI: URI query for nonexistent token"); return string(abi.encodePacked(_tokenURIPrefix, tokenId.toString(), _tokenURISuffix)); } function totalSupply() public view override returns( uint totalSupply_ ){ return turtles.length; } function walletOfOwner( address account ) external view override returns( uint[] memory ){ uint quantity = balanceOf( account ); uint[] memory wallet = new uint[]( quantity ); for( uint i; i < quantity; ++i ){ wallet[i] = tokenOfOwnerByIndex( account, i ); } return wallet; } //non-payable function breed( uint turtleA, uint turtleB ) external { require( isBreedActive, "TENSEI: Breeding is not active" ); require( _exists(turtleA) && _exists( turtleB ), "TENSEI: Query for nonexistent token(s)" ); Turtle storage tensei; Turtle storage meta; if( turtles[ turtleA ].turtleType == TurtleType.Tensei ){ if( turtles[ turtleB ].turtleType == TurtleType.Meta ){ tensei = turtles[ turtleA ]; meta = turtles[ turtleB ]; } else revert( "Invalid combination" ); } else if( turtles[ turtleA ].turtleType == TurtleType.Meta ){ if( turtles[ turtleB ].turtleType == TurtleType.Tensei ){ meta = turtles[ turtleA ]; tensei = turtles[ turtleB ]; } else revert( "Invalid combination" ); } else{ revert( "TENSEI: invalid combination" ); } //verify cooldown uint32 time = uint32(block.timestamp); require( tensei.nextBreed < time && meta.nextBreed < time, "TENSEI: breeding cooldown active" ); require( tensei.owner != msg.sender || meta.owner != msg.sender, "TENSEI: breeding of token that is not owned" ); uint supply = totalSupply(); require( supply + 1 <= MAX_SUPPLY, "TENSEI: Mint/order exceeds supply" ); if( leafEvolveQuantity > 0 ){ require( leafAddress != address(0), "TENSEI: Leaf contract unset" ); IERC20Proxy( leafAddress ).burnFromAccount( msg.sender, leafEvolveQuantity ); } tensei.nextBreed = time + COOLDOWN_TENSEI; tensei.nextBreed = time + COOLDOWN_META; _mint( msg.sender, supply, TurtleType.Hybrid ); emit Spawn( msg.sender, supply ); } function claimLeaves( uint[] calldata tokenIds ) external { require( isStakeActive, "TENSEI: Staking is not active" ); require( leafAddress != address(0), "TENSEI: Leaf contract unset" ); uint tokenLeaves; Turtle storage turtle; uint32 time = uint32(block.timestamp); uint[] memory leaves = new uint[]( tokenIds.length ); address[] memory owners = new address[]( tokenIds.length ); for( uint i; i < tokenIds.length; ++i ){ require( _exists(tokenIds[i]), "TENSEI: Query for nonexistent token" ); turtle = turtles[ tokenIds[i] ]; require(turtle.owner == msg.sender, "TENSEI: Claiming token that is not owned"); tokenLeaves = checkLeaf( tokenIds[i] ); if( tokenLeaves > 0 ){ leaves[ i ] = tokenLeaves; owners[ i ] = turtle.owner; turtle.lastStake = time; } } IERC20Proxy( leafAddress ).mintToAccount( owners, leaves ); } function evolve( uint[] calldata tokenIds ) external { require( isEvolveActive, "TENSEI: Evolution is not active" ); if( flaskQuantity > 0 ){ require( flaskAddress != address(0), "TENSEI: Flask contract unset" ); uint[] memory tokens = new uint[]( 1 ); tokens[0] = flaskToken; uint[] memory quantities = new uint[]( 1 ); quantities[0] = tokenIds.length * flaskQuantity; IERC1155Proxy( flaskAddress ).burnFrom( msg.sender, tokens, quantities ); } if( leafEvolveQuantity > 0 ){ require( leafAddress != address(0), "TENSEI: Leaf contract unset" ); IERC20Proxy( leafAddress ).burnFromAccount( msg.sender, leafEvolveQuantity * tokenIds.length ); } Turtle storage turtle; for(uint i; i < tokenIds.length; ++i ){ require( _exists(tokenIds[i]), "TENSEI: Query for nonexistent token" ); turtle = turtles[tokenIds[i]]; require(turtle.owner == msg.sender, "TENSEI: Evolving token that is not owned"); require(turtle.turtleType == TurtleType.Tensei, "TENSEI: Only Tensei turtles can evolve" ); turtle.turtleType = TurtleType.Meta; emit Evolve( msg.sender, tokenIds[i] ); } } function setStake( uint[] calldata tokenIds, bool isSet ) external { require( isStakeActive, "TENSEI: Staking is not active" ); Turtle storage turtle; uint32 time = uint32(block.timestamp); for( uint i; i < tokenIds.length; ++i ){ require( _exists(tokenIds[i]), "TENSEI: Query for nonexistent token" ); turtle = turtles[ tokenIds[i] ]; require(turtle.owner == msg.sender, "TENSEI: Staking token that is not owned"); turtle.lastStake = isSet ? time : 1; } } //payable function mint( uint quantity ) external payable { if( isMintActive ){ } else if( isPresaleActive ){ require( accessList[ msg.sender ] >= quantity, "TENSEI: Account is not on the access list" ); accessList[ msg.sender ] -= quantity; } else{ revert( "TENSEI: Sale is not active" ); } require( quantity <= MAX_ORDER, string(abi.encodePacked("TENSEI: Max order is ", MAX_ORDER.toString())) ); require( balanceOf(msg.sender) + quantity <= MAX_WALLET, string(abi.encodePacked("TENSEI: Max per wallet is ", MAX_WALLET.toString())) ); require( msg.value >= PRICE * quantity, "TENSEI: Ether sent is not correct" ); uint supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "TENSEI: Mint/order exceeds supply" ); for(uint i; i < quantity; ++i){ _mint( msg.sender, supply++, TurtleType.Tensei ); } } //onlyDelegates function mint_(uint[] calldata quantity, address[] calldata recipient, TurtleType[] calldata types_ ) external payable onlyDelegates{ require(quantity.length == recipient.length, "TENSEI: Must provide equal quantities and recipients" ); require(recipient.length == types_.length, "TENSEI: Must provide equal recipients and types" ); uint totalQuantity; uint supply = totalSupply(); for(uint i; i < quantity.length; ++i){ totalQuantity += quantity[i]; } require( supply + totalQuantity < MAX_SUPPLY, "TENSEI: Mint/order exceeds supply" ); for(uint i; i < recipient.length; ++i){ for(uint j; j < quantity[i]; ++j){ uint tokenId = supply++; _mint( recipient[i], tokenId, types_[i] ); if( types_[i] == TurtleType.Meta ){ emit Evolve( recipient[i], tokenId ); } else if( types_[i] == TurtleType.Hybrid ){ emit Spawn( recipient[i], tokenId ); } } } } function evolve_(address account, uint[] calldata tokenIds) external payable onlyDelegates{ for(uint i; i < tokenIds.length; ++i){ require( _exists( tokenIds[i] ), "TENSEI: Query for nonexistent token"); require( ownerOf( tokenIds[i] ) == account, "TENSEI: Evolution of token that is not owned" ); require( turtles[tokenIds[i]].turtleType == TurtleType.Tensei, "TENSEI: Only Tensei turtles can evolve" ); turtles[tokenIds[i]].turtleType = TurtleType.Meta; emit Evolve( account, tokenIds[i] ); } } function breed_( address account, uint quantity ) external payable onlyDelegates{ uint supply = totalSupply(); require( supply + quantity <= MAX_SUPPLY, "TENSEI: Mint/order exceeds supply" ); for( uint i; i < quantity; ++i ){ uint tokenId = supply++; _mint( account, tokenId, TurtleType.Hybrid ); emit Spawn( account, tokenId ); } } function stake_( address account, uint[] calldata tokenIds, bool isSet ) external payable onlyDelegates{ require( isStakeActive, "TENSEI: Staking is not active" ); Turtle storage turtle; uint32 time = uint32(block.timestamp); for( uint i; i < tokenIds.length; ++i ){ require( _exists(tokenIds[i]), "TENSEI: Query for nonexistent token" ); turtle = turtles[ tokenIds[i] ]; require(turtle.owner == account, "TENSEI: staking token that is not owned"); turtle.lastStake = isSet ? time : 1; } } function setNextBreeds(uint[] calldata tokenIds, uint32[] calldata nextBreeds ) external onlyDelegates { for(uint i; i < tokenIds.length; ++i ){ require(_exists(tokenIds[i]), "TENSEI: Query for nonexistent token"); turtles[tokenIds[i]].nextBreed = nextBreeds[i]; } } function setAccessList(address[] calldata accounts, uint[] calldata allowed) external onlyDelegates{ require( accounts.length == allowed.length, "TENSEI: Must provide equal accounts and allowed" ); for(uint i; i < accounts.length; ++i){ accessList[ accounts[i] ] = allowed[i]; } } function setActive(bool isPresaleActive_, bool isMintActive_, bool isEvolveActive_, bool isBreedActive_) external onlyDelegates{ require( isPresaleActive != isPresaleActive_ || isMintActive != isMintActive_ || isEvolveActive != isEvolveActive_ || isBreedActive != isBreedActive_, "TENSEI: New value matches old" ); isPresaleActive = isPresaleActive_; isMintActive = isMintActive_; isEvolveActive = isEvolveActive_; isBreedActive = isBreedActive_; } function setBaseURI(string calldata prefix, string calldata suffix) external onlyDelegates{ _tokenURIPrefix = prefix; _tokenURISuffix = suffix; } function setCooldown(uint32 tenseiCooldown, uint32 metaCooldown) external onlyDelegates{ require( COOLDOWN_TENSEI != tenseiCooldown || COOLDOWN_META != metaCooldown, "TENSEI: New value matches old" ); COOLDOWN_TENSEI = tenseiCooldown; COOLDOWN_META = metaCooldown; } function setMaxOrder(uint maxOrder, uint maxSupply, uint maxWallet) external onlyDelegates{ require( MAX_ORDER != maxOrder || MAX_SUPPLY != maxSupply || MAX_WALLET != maxWallet, "TENSEI: New value matches old" ); require( maxSupply >= totalSupply(), "TENSEI: Specified supply is lower than current balance" ); MAX_ORDER = maxOrder; MAX_SUPPLY = maxSupply; MAX_WALLET = maxWallet; } function setFlask( address flaskAddress_, uint flaskToken_, uint flaskQuantity_ ) external onlyDelegates{ flaskAddress = flaskAddress_; flaskToken = flaskToken_; flaskQuantity = flaskQuantity_; } function setLeaf( address leafAddress_, uint leafEvolveQuantity_, uint leafBreedQuantity_ ) external onlyDelegates{ leafAddress = leafAddress_; leafEvolveQuantity = leafEvolveQuantity_; leafBreedQuantity = leafBreedQuantity_; } function setPrice(uint price) external onlyDelegates{ require( PRICE != price, "TENSEI: New value matches old" ); PRICE = price; } function setStakeOptions( bool isActive, uint32 period, uint tenseiLeaf, uint metaLeaf, uint hybridLeaf ) external onlyDelegates{ isStakeActive = isActive; STAKE_PERIOD = period; STAKE_TENSEI = tenseiLeaf; STAKE_META = metaLeaf; STAKE_HYBRID = hybridLeaf; } function setTurtle(uint[] calldata tokenIds, TurtleType[] calldata types, uint32[] calldata nextBreeds, uint32[] calldata lastStakes ) external onlyDelegates { Turtle storage turtle; for(uint i; i < tokenIds.length; ++i ){ require(_exists(tokenIds[i]), "TENSEI: Query for nonexistent token"); turtle = turtles[tokenIds[i]]; turtle.turtleType = types[i]; turtle.nextBreed = nextBreeds[i]; turtle.lastStake = lastStakes[i]; } } //onlyOwner function addPayee( address account, uint shares ) external onlyOwner { _addPayee( account, shares ); } function setPayee( uint index, address account, uint newShares ) external onlyOwner { _setPayee( index, account, newShares ); } //internal function _beforeTokenTransfer(address from, address to) internal { if( from != address(0) ) --_balances[ from ]; if( to != address(0) ) ++_balances[ to ]; } function _exists(uint tokenId) internal view override returns (bool) { return tokenId < turtles.length && turtles[tokenId].owner != address(0); } function _mint(address to, uint tokenId, TurtleType type_ ) internal { _beforeTokenTransfer(address(0), to); turtles.push(Turtle( to, type_, 0, 0 )); emit Transfer(address(0), to, tokenId); } function _transfer(address from, address to, uint tokenId) internal override { require(turtles[tokenId].owner == from, "TENSEI: transfer of token that is not owned"); // Clear approvals from the previous owner _approve(address(0), tokenId); _beforeTokenTransfer(from, to); turtles[tokenId].owner = to; emit Transfer(from, to, tokenId); } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * * @team: GoldenX * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract ERC721T is Context, ERC165, IERC721, IERC721Metadata { using Address for address; string private _name; string private _symbol; mapping(uint => address) internal _tokenApprovals; mapping(address => mapping(address => bool)) internal _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } //public function balanceOf(address owner) public view virtual override returns( uint ); function name() external view virtual override returns (string memory) { return _name; } function ownerOf(uint tokenId) public view virtual override returns (address); function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } function symbol() external view virtual override returns (string memory) { return _symbol; } /* function totalSupply() public view virtual returns (uint) { return _owners.length - (_offset + _burned); } */ function approve(address to, uint tokenId) external virtual override { address owner = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } function getApproved(uint tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } function setApprovalForAll(address operator, bool approved) external virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } function transferFrom( address from, address to, uint tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } function safeTransferFrom( address from, address to, uint tokenId ) external virtual override { safeTransferFrom(from, to, tokenId, ""); } function safeTransferFrom( address from, address to, uint tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } //internal function _approve(address to, uint tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } function _checkOnERC721Received( address from, address to, uint tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } function _exists(uint tokenId) internal view virtual returns (bool); function _isApprovedOrOwner(address spender, uint tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } function _safeTransfer( address from, address to, uint tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } function _transfer(address from, address to, uint tokenId) internal virtual; }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /**************************************** * @author: squeebo_nft * **************************************** * Blimpie-ERC721 provides low-gas * * mints + transfers * ****************************************/ import "./ERC721T.sol"; import "../Blimpie/IERC721Batch.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; abstract contract ERC721EnumerableT is ERC721T, IERC721Batch, IERC721Enumerable { function balanceOf( address owner ) public view virtual override( IERC721, ERC721T ) returns( uint ); function isOwnerOf( address account, uint[] calldata tokenIds ) external view virtual override returns( bool ); function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721T) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } function tokenOfOwnerByIndex(address owner, uint index) public view virtual override returns( uint tokenId ); function tokenByIndex(uint index) external view virtual override returns (uint) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); return index; } function totalSupply() public view virtual override returns( uint ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external override{ for(uint i; i < tokenIds.length; ++i ){ safeTransferFrom( from, to, tokenIds[i], data ); } } function walletOfOwner( address account ) external view virtual override returns( uint[] memory ){ uint quantity = balanceOf( account ); uint[] memory wallet = new uint[]( quantity ); for( uint i; i < quantity; ++i ){ wallet[i] = tokenOfOwnerByIndex( account, i ); } return wallet; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitterMod is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } function _addPayee(address account, uint256 shares_) internal { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } function _setPayee( uint index, address account, uint newShares ) internal { _totalShares = _totalShares - _shares[ account ] + newShares; _shares[ account ] = newShares; _payees[ index ] = account; } }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; interface IERC721Batch { function isOwnerOf( address account, uint[] calldata tokenIds ) external view returns( bool ); function transferBatch( address from, address to, uint[] calldata tokenIds, bytes calldata data ) external; function walletOfOwner( address account ) external view returns( uint[] memory ); }
// SPDX-License-Identifier: BSD-3-Clause pragma solidity ^0.8.0; /*********************** * @author: squeebo_nft * ************************/ import "@openzeppelin/contracts/access/Ownable.sol"; contract Delegated is Ownable{ mapping(address => bool) internal _delegates; constructor(){ _delegates[owner()] = true; } modifier onlyDelegates { require(_delegates[msg.sender], "Invalid delegate" ); _; } //onlyOwner function isDelegate( address addr ) external view onlyOwner returns ( bool ){ return _delegates[addr]; } function setDelegate( address addr, bool isDelegate_ ) external onlyOwner{ _delegates[addr] = isDelegate_; } function transferOwnership(address newOwner) public virtual override onlyOwner { _delegates[newOwner] = true; super.transferOwnership( newOwner ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 500 }, "evmVersion": "london", "libraries": {}, "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":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Evolve","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Spawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"COOLDOWN_META","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COOLDOWN_TENSEI","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ORDER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKE_HYBRID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKE_META","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKE_PERIOD","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKE_TENSEI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"accessList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"shares","type":"uint256"}],"name":"addPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"turtleA","type":"uint256"},{"internalType":"uint256","name":"turtleB","type":"uint256"}],"name":"breed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"breed_","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"checkLeaf","outputs":[{"internalType":"uint256","name":"leaves","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"checkLeaves","outputs":[{"internalType":"uint256","name":"totalLeaves_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimLeaves","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"evolve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"evolve_","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"flaskAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flaskQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flaskToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBreedActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isDelegate","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isEvolveActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isStakeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leafAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leafBreedQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"leafEvolveQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"},{"internalType":"enum TenseiTurtles.TurtleType[]","name":"types_","type":"uint8[]"}],"name":"mint_","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner_","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"allowed","type":"uint256[]"}],"name":"setAccessList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isPresaleActive_","type":"bool"},{"internalType":"bool","name":"isMintActive_","type":"bool"},{"internalType":"bool","name":"isEvolveActive_","type":"bool"},{"internalType":"bool","name":"isBreedActive_","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"prefix","type":"string"},{"internalType":"string","name":"suffix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"tenseiCooldown","type":"uint32"},{"internalType":"uint32","name":"metaCooldown","type":"uint32"}],"name":"setCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"isDelegate_","type":"bool"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"flaskAddress_","type":"address"},{"internalType":"uint256","name":"flaskToken_","type":"uint256"},{"internalType":"uint256","name":"flaskQuantity_","type":"uint256"}],"name":"setFlask","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"leafAddress_","type":"address"},{"internalType":"uint256","name":"leafEvolveQuantity_","type":"uint256"},{"internalType":"uint256","name":"leafBreedQuantity_","type":"uint256"}],"name":"setLeaf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxOrder","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"setMaxOrder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint32[]","name":"nextBreeds","type":"uint32[]"}],"name":"setNextBreeds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"newShares","type":"uint256"}],"name":"setPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"isSet","type":"bool"}],"name":"setStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint32","name":"period","type":"uint32"},{"internalType":"uint256","name":"tenseiLeaf","type":"uint256"},{"internalType":"uint256","name":"metaLeaf","type":"uint256"},{"internalType":"uint256","name":"hybridLeaf","type":"uint256"}],"name":"setStakeOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"enum TenseiTurtles.TurtleType[]","name":"types","type":"uint8[]"},{"internalType":"uint32[]","name":"nextBreeds","type":"uint32[]"},{"internalType":"uint32[]","name":"lastStakes","type":"uint32[]"}],"name":"setTurtle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"isSet","type":"bool"}],"name":"stake_","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"transferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"turtles","outputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"enum TenseiTurtles.TurtleType","name":"turtleType","type":"uint8"},{"internalType":"uint32","name":"nextBreed","type":"uint32"},{"internalType":"uint32","name":"lastStake","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6002600b819055610457600c55600d5566e6ed27d6668000600e55600f80546001600160601b031916690e100003f4800003f4801790556701280eec071150006010556702e425c27bfdd00060118190556012556014805464ffffffffff1916905560016016556000601855680b6255df5f5008000060195560e060405260276080818152906200668760a0398051620000a291601c916020909101906200063c565b50604080516020810191829052600090819052620000c391601d916200063c565b506040805180820190915273890903d07b5db2fade12027e9b1af16e5e6e0ea5815273b7edf3cbb58ecb74bde6298294c7aab339f3ce4a60208201526200010f90601e906002620006cb565b506040805180820190915260588152600c60208201526200013590601f90600262000723565b503480156200014357600080fd5b50601e8054806020026020016040519081016040528092919081815260200182805480156200019c57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116200017d575b5050505050601f805480602002602001604051908101604052809291908181526020018280548015620001ef57602002820191906000526020600020905b815481526020019060010190808311620001da575b5050604080518082018252600e81526d54656e73656920547572746c657360901b60208083019182528351808501909452600684526554454e53454960d01b9084015281519195509193506200024a9250600091906200063c565b508051620002609060019060208401906200063c565b5050506200027d62000277620003f860201b60201c565b620003fc565b600160056000620002966004546001600160a01b031690565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558051825114620003305760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620003835760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000327565b60005b8251811015620003ef57620003da838281518110620003a957620003a96200077d565b6020026020010151838381518110620003c657620003c66200077d565b60200260200101516200044e60201b60201c565b80620003e681620007a9565b91505062000386565b5050506200081f565b3390565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620004bb5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000327565b600081116200050d5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000327565b6001600160a01b03821660009081526008602052604090205415620005895760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000327565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b0384169081179091556000908152600860205260409020819055600654620005f3908290620007c7565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b8280546200064a90620007e2565b90600052602060002090601f0160209004810192826200066e5760008555620006b9565b82601f106200068957805160ff1916838001178555620006b9565b82800160010185558215620006b9579182015b82811115620006b95782518255916020019190600101906200069c565b50620006c792915062000766565b5090565b828054828255906000526020600020908101928215620006b9579160200282015b82811115620006b957825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620006ec565b828054828255906000526020600020908101928215620006b9579160200282015b82811115620006b9578251829060ff1690559160200191906001019062000744565b5b80821115620006c7576000815560010162000767565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415620007c057620007c062000793565b5060010190565b60008219821115620007dd57620007dd62000793565b500190565b600181811c90821680620007f757607f821691505b602082108114156200081957634e487b7160e01b600052602260045260246000fd5b50919050565b615e58806200082f6000396000f3fe6080604052600436106104265760003560e01c8063715018a611610227578063b88d4fde1161012d578063df238800116100b0578063e86cbff011610077578063e86cbff014610d3c578063e985e9c514610d5c578063f2fde38b14610da5578063f869195f14610dc5578063fe0efa1614610dea57005b8063df23880014610cba578063df7787a414610cda578063e0d92ee714610cf0578063e1ce4a6914610d11578063e33b7de314610d2757005b8063ceb93182116100f4578063ceb9318214610c11578063d0a6bd9514610c31578063d354f24014610c51578063d9ecad7b14610c71578063dd4b182314610c9157005b8063b88d4fde14610b52578063c79b1ae614610b72578063c87b56dd14610b92578063cbeb74c214610bb2578063ce7c2ac214610bdb57005b806391b7f5ed116101b5578063a0712d681161017c578063a0712d6814610ac9578063a22cb46514610adc578063af2eb6ff14610afc578063b534a5c414610b12578063b68dc8f114610b3257005b806391b7f5ed14610a3557806395d89b4114610a55578063977f047714610a6a5780639852595c14610a7d5780639c8b5ba614610ab357005b806387a5b67c116101f957806387a5b67c146109945780638b83209b146109c15780638d859f3e146109e15780638da5cb5b146109f75780638fd9ba0814610a1557005b8063715018a61461090d578063767d4174146109225780637e91b36f14610942578063835f6e041461096257005b806332cb6b0c1161032c5780634f548490116102ba5780635e457c10116102815780635e457c101461088057806360d938dc146108935780636352211e146108ad5780636790a9de146108cd57806370a08231146108ed57005b80634f548490146108055780634f6ccce71461081857806350c5a00c1461083857806352b93b721461084e5780635b92ac0d1461086157005b8063438b6300116102fe578063438b63001461076057806345a15d641461078d5780634a994eef146107af5780634b7911c9146107cf5780634d44660c146107e557005b806332cb6b0c146106ff5780633948ed7c146107155780633a98ef391461072b57806342842e0e1461074057005b8063129640d3116103b45780631eb18a4a1161037b5780631eb18a4a146106595780632007ed0114610679578063223353951461068f57806323b872dd146106bf5780632f745c59146106df57005b8063129640d3146105ce57806317968649146105ee57806318160ddd1461060457806318f9b02314610619578063191655871461063957005b806307779627116103f85780630777962714610520578063081812fc14610540578063095ea7b3146105605780630b53af96146105805780631001d999146105a057005b806301ffc9a714610471578063030c5f87146104a657806304aa59ef146104c657806306fdde03146104fe57005b3661046f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561047d57600080fd5b5061049161048c366004615089565b610e0a565b60405190151581526020015b60405180910390f35b3480156104b257600080fd5b5061046f6104c1366004615102565b610e35565b3480156104d257600080fd5b506017546104e6906001600160a01b031681565b6040516001600160a01b03909116815260200161049d565b34801561050a57600080fd5b50610513610fc6565b60405161049d91906151ae565b34801561052c57600080fd5b5061049161053b3660046151d6565b611058565b34801561054c57600080fd5b506104e661055b3660046151f3565b6110c6565b34801561056c57600080fd5b5061046f61057b36600461520c565b61114e565b34801561058c57600080fd5b5061046f61059b366004615238565b611264565b3480156105ac57600080fd5b506105c06105bb3660046152a4565b611389565b60405190815260200161049d565b3480156105da57600080fd5b5061046f6105e93660046152e6565b6113dc565b3480156105fa57600080fd5b506105c060185481565b34801561061057600080fd5b506013546105c0565b34801561062557600080fd5b5061046f61063436600461520c565b61159a565b34801561064557600080fd5b5061046f6106543660046151d6565b6115f0565b34801561066557600080fd5b5061046f6106743660046153be565b6117c1565b34801561068557600080fd5b506105c060105481565b34801561069b57600080fd5b506106af6106aa3660046151f3565b61186c565b60405161049d9493929190615421565b3480156106cb57600080fd5b5061046f6106da366004615471565b6118b9565b3480156106eb57600080fd5b506105c06106fa36600461520c565b611934565b34801561070b57600080fd5b506105c0600c5481565b34801561072157600080fd5b506105c060125481565b34801561073757600080fd5b506006546105c0565b34801561074c57600080fd5b5061046f61075b366004615471565b611a00565b34801561076c57600080fd5b5061078061077b3660046151d6565b611a1b565b60405161049d91906154ed565b34801561079957600080fd5b5060145461049190640100000000900460ff1681565b3480156107bb57600080fd5b5061046f6107ca366004615500565b611ab3565b3480156107db57600080fd5b506105c060115481565b3480156107f157600080fd5b50610491610800366004615535565b611b26565b61046f61081336600461520c565b611ba8565b34801561082457600080fd5b506105c06108333660046151f3565b611ce1565b34801561084457600080fd5b506105c0600b5481565b61046f61085c366004615535565b611d49565b34801561086d57600080fd5b5060145461049190610100900460ff1681565b61046f61088e36600461558a565b611fd9565b34801561089f57600080fd5b506014546104919060ff1681565b3480156108b957600080fd5b506104e66108c83660046151f3565b6123cb565b3480156108d957600080fd5b5061046f6108e8366004615666565b612451565b3480156108f957600080fd5b506105c06109083660046151d6565b6124bc565b34801561091957600080fd5b5061046f612543565b34801561092e57600080fd5b506014546104919062010000900460ff1681565b34801561094e57600080fd5b5061046f61095d366004615238565b612597565b34801561096e57600080fd5b50600f5461097f9063ffffffff1681565b60405163ffffffff909116815260200161049d565b3480156109a057600080fd5b506105c06109af3660046151d6565b601a6020526000908152604090205481565b3480156109cd57600080fd5b506104e66109dc3660046151f3565b6126d7565b3480156109ed57600080fd5b506105c0600e5481565b348015610a0357600080fd5b506004546001600160a01b03166104e6565b348015610a2157600080fd5b506105c0610a303660046151f3565b612707565b348015610a4157600080fd5b5061046f610a503660046151f3565b612916565b348015610a6157600080fd5b506105136129bf565b61046f610a783660046156c6565b6129ce565b348015610a8957600080fd5b506105c0610a983660046151d6565b6001600160a01b031660009081526009602052604090205490565b348015610abf57600080fd5b506105c060165481565b61046f610ad73660046151f3565b612ba4565b348015610ae857600080fd5b5061046f610af7366004615500565b612e64565b348015610b0857600080fd5b506105c060195481565b348015610b1e57600080fd5b5061046f610b2d36600461572d565b612f29565b348015610b3e57600080fd5b5061046f610b4d3660046157b0565b612f9e565b348015610b5e57600080fd5b5061046f610b6d3660046157fb565b61303a565b348015610b7e57600080fd5b5061046f610b8d3660046158db565b6130b6565b348015610b9e57600080fd5b50610513610bad3660046151f3565b6131fa565b348015610bbe57600080fd5b506014546104e6906501000000000090046001600160a01b031681565b348015610be757600080fd5b506105c0610bf63660046151d6565b6001600160a01b031660009081526008602052604090205490565b348015610c1d57600080fd5b5061046f610c2c3660046152a4565b613296565b348015610c3d57600080fd5b5061046f610c4c3660046152a4565b61370a565b348015610c5d57600080fd5b5061046f610c6c366004615907565b613a3d565b348015610c7d57600080fd5b5061046f610c8c366004615931565b613b38565b348015610c9d57600080fd5b50600f5461097f9068010000000000000000900463ffffffff1681565b348015610cc657600080fd5b5061046f610cd5366004615953565b61410b565b348015610ce657600080fd5b506105c0600d5481565b348015610cfc57600080fd5b50601454610491906301000000900460ff1681565b348015610d1d57600080fd5b506105c060155481565b348015610d3357600080fd5b506007546105c0565b348015610d4857600080fd5b5061046f610d573660046157b0565b61415e565b348015610d6857600080fd5b50610491610d7736600461597a565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b348015610db157600080fd5b5061046f610dc03660046151d6565b6141d9565b348015610dd157600080fd5b50600f5461097f90640100000000900463ffffffff1681565b348015610df657600080fd5b5061046f610e053660046159b3565b614250565b60006001600160e01b0319821663780e9d6360e01b1480610e2f5750610e2f8261439a565b92915050565b601454640100000000900460ff16610e945760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a205374616b696e67206973206e6f742061637469766500000060448201526064015b60405180910390fd5b600042815b84811015610fbe57610ec2868683818110610eb657610eb66159fc565b905060200201356143ea565b610ede5760405162461bcd60e51b8152600401610e8b90615a12565b6013868683818110610ef257610ef26159fc565b9050602002013581548110610f0957610f096159fc565b600091825260209091200180549093506001600160a01b03163314610f805760405162461bcd60e51b815260206004820152602760248201527f54454e5345493a205374616b696e6720746f6b656e2074686174206973206e6f6044820152661d081bdddb995960ca1b6064820152608401610e8b565b83610f8c576001610f8e565b815b835463ffffffff91909116600160c81b0263ffffffff60c81b19909116178355610fb781615a6b565b9050610e99565b505050505050565b606060008054610fd590615a86565b80601f016020809104026020016040519081016040528092919081815260200182805461100190615a86565b801561104e5780601f106110235761010080835404028352916020019161104e565b820191906000526020600020905b81548152906001019060200180831161103157829003601f168201915b5050505050905090565b6004546000906001600160a01b031633146110a35760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b506001600160a01b03811660009081526005602052604090205460ff165b919050565b60006110d1826143ea565b6111325760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e8b565b506000908152600260205260409020546001600160a01b031690565b6000611159826123cb565b9050806001600160a01b0316836001600160a01b031614156111c75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610e8b565b336001600160a01b03821614806111e357506111e38133610d77565b6112555760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610e8b565b61125f8383614434565b505050565b3360009081526005602052604090205460ff166112b65760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b60005b83811015611382576112d6858583818110610eb657610eb66159fc565b6112f25760405162461bcd60e51b8152600401610e8b90615a12565b828282818110611304576113046159fc565b90506020020160208101906113199190615ac1565b601386868481811061132d5761132d6159fc565b9050602002013581548110611344576113446159fc565b6000918252602090912001805463ffffffff92909216600160a81b0263ffffffff60a81b1990921691909117905561137b81615a6b565b90506112b9565b5050505050565b60008060005b838110156113d4576113b88585838181106113ac576113ac6159fc565b90506020020135612707565b6113c29083615adc565b91506113cd81615a6b565b905061138f565b509392505050565b3360009081526005602052604090205460ff1661142e5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b6000805b8881101561158e5761144f8a8a83818110610eb657610eb66159fc565b61146b5760405162461bcd60e51b8152600401610e8b90615a12565b60138a8a8381811061147f5761147f6159fc565b9050602002013581548110611496576114966159fc565b9060005260206000200191508787828181106114b4576114b46159fc565b90506020020160208101906114c99190615af4565b8254839060ff60a01b1916600160a01b8360028111156114eb576114eb61540b565b0217905550858582818110611502576115026159fc565b90506020020160208101906115179190615ac1565b825463ffffffff91909116600160a81b0263ffffffff60a81b19909116178255838382818110611549576115496159fc565b905060200201602081019061155e9190615ac1565b825463ffffffff91909116600160c81b0263ffffffff60c81b1990911617825561158781615a6b565b9050611432565b50505050505050505050565b6004546001600160a01b031633146115e25760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6115ec82826144a2565b5050565b6001600160a01b0381166000908152600860205260409020546116645760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610e8b565b6000600754476116749190615adc565b6001600160a01b03831660009081526009602090815260408083205460065460089093529083205493945091926116ab9085615b15565b6116b59190615b4a565b6116bf9190615b5e565b9050806117225760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610e8b565b6001600160a01b038316600090815260096020526040902054611746908290615adc565b6001600160a01b03841660009081526009602052604090205560075461176d908290615adc565b60075561177a8382614688565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b3360009081526005602052604090205460ff166118135760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b601480549515156401000000000264ff000000001990961695909517909455600f805463ffffffff90941668010000000000000000026bffffffff00000000000000001990941693909317909255601055601155601255565b6013818154811061187c57600080fd5b6000918252602090912001546001600160a01b038116915060ff600160a01b8204169063ffffffff600160a81b8204811691600160c81b90041684565b6118c333826147a1565b6119295760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610e8b565b61125f838383614887565b60008060005b6013548110156119a35760138181548110611957576119576159fc565b6000918252602090912001546001600160a01b03868116911614156119935783821415611987579150610e2f9050565b61199082615a6b565b91505b61199c81615a6b565b905061193a565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610e8b565b61125f8383836040518060200160405280600081525061303a565b60606000611a28836124bc565b905060008167ffffffffffffffff811115611a4557611a456157e5565b604051908082528060200260200182016040528015611a6e578160200160208202803683370190505b50905060005b828110156113d457611a868582611934565b828281518110611a9857611a986159fc565b6020908102919091010152611aac81615a6b565b9050611a74565b6004546001600160a01b03163314611afb5760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b6000805b82811015611b9b57846001600160a01b03166013858584818110611b5057611b506159fc565b9050602002013581548110611b6757611b676159fc565b6000918252602090912001546001600160a01b031614611b8b576000915050611ba1565b611b9481615a6b565b9050611b2a565b50600190505b9392505050565b3360009081526005602052604090205460ff16611bfa5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b6000611c0560135490565b600c54909150611c158383615adc565b1115611c6d5760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a204d696e742f6f72646572206578636565647320737570706c6044820152607960f81b6064820152608401610e8b565b60005b82811015611cdb57600082611c8481615a6b565b93509050611c948582600261499d565b60405181906001600160a01b038716907f1f4971ae1712e1c88418382994876f5d041e83f9197070e0b2edbfa29331e4f690600090a350611cd481615a6b565b9050611c70565b50505050565b6000611cec60135490565b8210611d455760405162461bcd60e51b815260206004820152602260248201527f54454e5345493a20676c6f62616c20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610e8b565b5090565b3360009081526005602052604090205460ff16611d9b5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b60005b81811015611cdb57611dbb838383818110610eb657610eb66159fc565b611dd75760405162461bcd60e51b8152600401610e8b90615a12565b836001600160a01b0316611e02848484818110611df657611df66159fc565b905060200201356123cb565b6001600160a01b031614611e6d5760405162461bcd60e51b815260206004820152602c60248201527f54454e5345493a2045766f6c7574696f6e206f6620746f6b656e20746861742060448201526b1a5cc81b9bdd081bdddb995960a21b6064820152608401610e8b565b60006013848484818110611e8357611e836159fc565b9050602002013581548110611e9a57611e9a6159fc565b600091825260209091200154600160a01b900460ff166002811115611ec157611ec161540b565b14611f1d5760405162461bcd60e51b815260206004820152602660248201527f54454e5345493a204f6e6c792054656e73656920747572746c65732063616e2060448201526565766f6c766560d01b6064820152608401610e8b565b60016013848484818110611f3357611f336159fc565b9050602002013581548110611f4a57611f4a6159fc565b6000918252602090912001805460ff60a01b1916600160a01b836002811115611f7557611f7561540b565b0217905550828282818110611f8c57611f8c6159fc565b90506020020135846001600160a01b03167fc09feda7adb0a8bbe69c92dbe769d478537a966979f11dff2dda8bc034dba19d60405160405180910390a3611fd281615a6b565b9050611d9e565b3360009081526005602052604090205460ff1661202b5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b8483146120a05760405162461bcd60e51b815260206004820152603460248201527f54454e5345493a204d7573742070726f7669646520657175616c207175616e7460448201527f697469657320616e6420726563697069656e74730000000000000000000000006064820152608401610e8b565b8281146121155760405162461bcd60e51b815260206004820152602f60248201527f54454e5345493a204d7573742070726f7669646520657175616c20726563697060448201527f69656e747320616e6420747970657300000000000000000000000000000000006064820152608401610e8b565b60008061212160135490565b905060005b8781101561216457888882818110612140576121406159fc565b90506020020135836121529190615adc565b925061215d81615a6b565b9050612126565b50600c546121728383615adc565b106121c95760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a204d696e742f6f72646572206578636565647320737570706c6044820152607960f81b6064820152608401610e8b565b60005b858110156123c05760005b8989838181106121e9576121e96159fc565b905060200201358110156123af5760008361220381615a6b565b9450905061225e89898581811061221c5761221c6159fc565b905060200201602081019061223191906151d6565b82898987818110612244576122446159fc565b90506020020160208101906122599190615af4565b61499d565b6001878785818110612272576122726159fc565b90506020020160208101906122879190615af4565b60028111156122985761229861540b565b141561230057808989858181106122b1576122b16159fc565b90506020020160208101906122c691906151d6565b6001600160a01b03167fc09feda7adb0a8bbe69c92dbe769d478537a966979f11dff2dda8bc034dba19d60405160405180910390a361239e565b6002878785818110612314576123146159fc565b90506020020160208101906123299190615af4565b600281111561233a5761233a61540b565b141561239e5780898985818110612353576123536159fc565b905060200201602081019061236891906151d6565b6001600160a01b03167f1f4971ae1712e1c88418382994876f5d041e83f9197070e0b2edbfa29331e4f660405160405180910390a35b506123a881615a6b565b90506121d7565b506123b981615a6b565b90506121cc565b505050505050505050565b600080601383815481106123e1576123e16159fc565b6000918252602090912001546001600160a01b0316905080610e2f5760405162461bcd60e51b815260206004820152602360248201527f54454e5345493a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610e8b565b3360009081526005602052604090205460ff166124a35760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b6124af601c8585614fe3565b50611382601d8383614fe3565b60006001600160a01b0382166125275760405162461bcd60e51b815260206004820152602a60248201527f54454e5345493a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610e8b565b506001600160a01b03166000908152601b602052604090205490565b6004546001600160a01b0316331461258b5760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6125956000614aee565b565b3360009081526005602052604090205460ff166125e95760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b82811461265e5760405162461bcd60e51b815260206004820152602f60248201527f54454e5345493a204d7573742070726f7669646520657175616c206163636f7560448201527f6e747320616e6420616c6c6f77656400000000000000000000000000000000006064820152608401610e8b565b60005b838110156113825782828281811061267b5761267b6159fc565b90506020020135601a6000878785818110612698576126986159fc565b90506020020160208101906126ad91906151d6565b6001600160a01b031681526020810191909152604001600020556126d081615a6b565b9050612661565b6000600a82815481106126ec576126ec6159fc565b6000918252602090912001546001600160a01b031692915050565b601454600090640100000000900460ff166127645760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a205374616b696e67206973206e6f74206163746976650000006044820152606401610e8b565b61276d826143ea565b6127895760405162461bcd60e51b8152600401610e8b90615a12565b60006013838154811061279e5761279e6159fc565b60009182526020918290206040805160808101909152910180546001600160a01b03811683529192909190830190600160a01b900460ff1660028111156127e7576127e761540b565b60028111156127f8576127f861540b565b8152905463ffffffff600160a81b820481166020840152600160c81b9091048116604090920191909152606082015191925060029116101561283d5750600092915050565b600f54606082015160009163ffffffff68010000000000000000909104811691612868911642615b5e565b6128729190615b4a565b905080612883575060009392505050565b60008260200151600281111561289b5761289b61540b565b14156128b6576010546128ae9082615b15565b949350505050565b6001826020015160028111156128ce576128ce61540b565b14156128e1576011546128ae9082615b15565b6002826020015160028111156128f9576128f961540b565b141561290c576012546128ae9082615b15565b5060009392505050565b3360009081526005602052604090205460ff166129685760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b80600e5414156129ba5760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a204e65772076616c7565206d617463686573206f6c640000006044820152606401610e8b565b600e55565b606060018054610fd590615a86565b3360009081526005602052604090205460ff16612a205760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b601454640100000000900460ff16612a7a5760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a205374616b696e67206973206e6f74206163746976650000006044820152606401610e8b565b600042815b84811015612b9b57612a9c868683818110610eb657610eb66159fc565b612ab85760405162461bcd60e51b8152600401610e8b90615a12565b6013868683818110612acc57612acc6159fc565b9050602002013581548110612ae357612ae36159fc565b600091825260209091200180549093506001600160a01b03888116911614612b5d5760405162461bcd60e51b815260206004820152602760248201527f54454e5345493a207374616b696e6720746f6b656e2074686174206973206e6f6044820152661d081bdddb995960ca1b6064820152608401610e8b565b83612b69576001612b6b565b815b835463ffffffff91909116600160c81b0263ffffffff60c81b19909116178355612b9481615a6b565b9050612a7f565b50505050505050565b601454610100900460ff1615612bb957612ca7565b60145460ff1615612c5f57336000908152601a6020526040902054811115612c355760405162461bcd60e51b815260206004820152602960248201527f54454e5345493a204163636f756e74206973206e6f74206f6e2074686520616360448201526818d95cdcc81b1a5cdd60ba1b6064820152608401610e8b565b336000908152601a602052604081208054839290612c54908490615b5e565b90915550612ca79050565b60405162461bcd60e51b815260206004820152601a60248201527f54454e5345493a2053616c65206973206e6f74206163746976650000000000006044820152606401610e8b565b600b54811115612cb8600b54614b40565b604051602001612cc89190615b75565b60405160208183030381529060405290612cf55760405162461bcd60e51b8152600401610e8b91906151ae565b50600d5481612d03336124bc565b612d0d9190615adc565b1115612d1a600d54614b40565b604051602001612d2a9190615bba565b60405160208183030381529060405290612d575760405162461bcd60e51b8152600401610e8b91906151ae565b5080600e54612d669190615b15565b341015612dbf5760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a2045746865722073656e74206973206e6f7420636f727265636044820152601d60fa1b6064820152608401610e8b565b6000612dca60135490565b600c54909150612dda8383615adc565b1115612e325760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a204d696e742f6f72646572206578636565647320737570706c6044820152607960f81b6064820152608401610e8b565b60005b8281101561125f57612e543383612e4b81615a6b565b9450600061499d565b612e5d81615a6b565b9050612e35565b6001600160a01b038216331415612ebd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610e8b565b3360008181526003602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b83811015612b9b57612f8e8787878785818110612f4b57612f4b6159fc565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061303a92505050565b612f9781615a6b565b9050612f2c565b3360009081526005602052604090205460ff16612ff05760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b601480546001600160a01b0390941665010000000000027fffffffffffffff0000000000000000000000000000000000000000ffffffffff90941693909317909255601555601655565b61304433836147a1565b6130aa5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610e8b565b611cdb84848484614c56565b3360009081526005602052604090205460ff166131085760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b82600b5414158061311b575081600c5414155b80613128575080600d5414155b6131745760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a204e65772076616c7565206d617463686573206f6c640000006044820152606401610e8b565b6013548210156131ec5760405162461bcd60e51b815260206004820152603660248201527f54454e5345493a2053706563696669656420737570706c79206973206c6f776560448201527f72207468616e2063757272656e742062616c616e6365000000000000000000006064820152608401610e8b565b600b92909255600c55600d55565b6060613205826143ea565b6132615760405162461bcd60e51b815260206004820152602760248201527f54454e5345493a2055524920717565727920666f72206e6f6e6578697374656e6044820152663a103a37b5b2b760c91b6064820152608401610e8b565b601c61326c83614b40565b601d60405160200161328093929190615c99565b6040516020818303038152906040529050919050565b60145462010000900460ff166132ee5760405162461bcd60e51b815260206004820152601f60248201527f54454e5345493a2045766f6c7574696f6e206973206e6f7420616374697665006044820152606401610e8b565b6016541561345b576014546501000000000090046001600160a01b03166133575760405162461bcd60e51b815260206004820152601c60248201527f54454e5345493a20466c61736b20636f6e747261637420756e736574000000006044820152606401610e8b565b604080516001808252818301909252600091602080830190803683370190505090506015548160008151811061338f5761338f6159fc565b6020908102919091010152604080516001808252818301909252600091816020016020820280368337019050506016549091506133cc9084615b15565b816000815181106133df576133df6159fc565b602090810291909101015260145460405163666abf2360e01b8152650100000000009091046001600160a01b03169063666abf239061342690339086908690600401615ccc565b600060405180830381600087803b15801561344057600080fd5b505af1158015613454573d6000803e3d6000fd5b5050505050505b6018541561353f576017546001600160a01b03166134bb5760405162461bcd60e51b815260206004820152601b60248201527f54454e5345493a204c65616620636f6e747261637420756e73657400000000006044820152606401610e8b565b6017546018546001600160a01b03909116906359dc2dd29033906134e0908590615b15565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561352657600080fd5b505af115801561353a573d6000803e3d6000fd5b505050505b6000805b82811015611cdb57613560848483818110610eb657610eb66159fc565b61357c5760405162461bcd60e51b8152600401610e8b90615a12565b6013848483818110613590576135906159fc565b90506020020135815481106135a7576135a76159fc565b600091825260209091200180549092506001600160a01b0316331461361f5760405162461bcd60e51b815260206004820152602860248201527f54454e5345493a2045766f6c76696e6720746f6b656e2074686174206973206e6044820152671bdd081bdddb995960c21b6064820152608401610e8b565b60008254600160a01b900460ff16600281111561363e5761363e61540b565b1461369a5760405162461bcd60e51b815260206004820152602660248201527f54454e5345493a204f6e6c792054656e73656920747572746c65732063616e2060448201526565766f6c766560d01b6064820152608401610e8b565b815460ff60a01b1916600160a01b1782558383828181106136bd576136bd6159fc565b90506020020135336001600160a01b03167fc09feda7adb0a8bbe69c92dbe769d478537a966979f11dff2dda8bc034dba19d60405160405180910390a361370381615a6b565b9050613543565b601454640100000000900460ff166137645760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a205374616b696e67206973206e6f74206163746976650000006044820152606401610e8b565b6017546001600160a01b03166137bc5760405162461bcd60e51b815260206004820152601b60248201527f54454e5345493a204c65616620636f6e747261637420756e73657400000000006044820152606401610e8b565b60008042818467ffffffffffffffff8111156137da576137da6157e5565b604051908082528060200260200182016040528015613803578160200160208202803683370190505b50905060008567ffffffffffffffff811115613821576138216157e5565b60405190808252806020026020018201604052801561384a578160200160208202803683370190505b50905060005b868110156139cf5761386d888883818110610eb657610eb66159fc565b6138895760405162461bcd60e51b8152600401610e8b90615a12565b601388888381811061389d5761389d6159fc565b90506020020135815481106138b4576138b46159fc565b600091825260209091200180549095506001600160a01b0316331461392c5760405162461bcd60e51b815260206004820152602860248201527f54454e5345493a20436c61696d696e6720746f6b656e2074686174206973206e6044820152671bdd081bdddb995960c21b6064820152608401610e8b565b6139418888838181106113ac576113ac6159fc565b955085156139bf578583828151811061395c5761395c6159fc565b6020908102919091010152845482516001600160a01b0390911690839083908110613989576139896159fc565b6001600160a01b039290921660209283029190910190910152845463ffffffff60c81b1916600160c81b63ffffffff8616021785555b6139c881615a6b565b9050613850565b5060175460405163c630623360e01b81526001600160a01b039091169063c630623390613a029084908690600401615d0a565b600060405180830381600087803b158015613a1c57600080fd5b505af1158015613a30573d6000803e3d6000fd5b5050505050505050505050565b3360009081526005602052604090205460ff16613a8f5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b600f5463ffffffff8381169116141580613abc5750600f5463ffffffff8281166401000000009092041614155b613b085760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a204e65772076616c7565206d617463686573206f6c640000006044820152606401610e8b565b600f805463ffffffff9283166401000000000267ffffffffffffffff199091169290931691909117919091179055565b6014546301000000900460ff16613b915760405162461bcd60e51b815260206004820152601e60248201527f54454e5345493a204272656564696e67206973206e6f742061637469766500006044820152606401610e8b565b613b9a826143ea565b8015613baa5750613baa816143ea565b613c055760405162461bcd60e51b815260206004820152602660248201527f54454e5345493a20517565727920666f72206e6f6e6578697374656e7420746f6044820152656b656e28732960d01b6064820152608401610e8b565b6000808060138581548110613c1c57613c1c6159fc565b600091825260209091200154600160a01b900460ff166002811115613c4357613c4361540b565b1415613d1657600160138481548110613c5e57613c5e6159fc565b600091825260209091200154600160a01b900460ff166002811115613c8557613c8561540b565b1415613cce5760138481548110613c9e57613c9e6159fc565b90600052602060002001915060138381548110613cbd57613cbd6159fc565b906000526020600020019050613e25565b60405162461bcd60e51b815260206004820152601360248201527f496e76616c696420636f6d62696e6174696f6e000000000000000000000000006044820152606401610e8b565b600160138581548110613d2b57613d2b6159fc565b600091825260209091200154600160a01b900460ff166002811115613d5257613d5261540b565b1415613ddd57600060138481548110613d6d57613d6d6159fc565b600091825260209091200154600160a01b900460ff166002811115613d9457613d9461540b565b1415613cce5760138481548110613dad57613dad6159fc565b90600052602060002001905060138381548110613dcc57613dcc6159fc565b906000526020600020019150613e25565b60405162461bcd60e51b815260206004820152601b60248201527f54454e5345493a20696e76616c696420636f6d62696e6174696f6e00000000006044820152606401610e8b565b8154429063ffffffff808316600160a81b90920416108015613e575750815463ffffffff808316600160a81b90920416105b613ea35760405162461bcd60e51b815260206004820181905260248201527f54454e5345493a206272656564696e6720636f6f6c646f776e206163746976656044820152606401610e8b565b82546001600160a01b031633141580613ec6575081546001600160a01b03163314155b613f265760405162461bcd60e51b815260206004820152602b60248201527f54454e5345493a206272656564696e67206f6620746f6b656e2074686174206960448201526a1cc81b9bdd081bdddb995960aa1b6064820152608401610e8b565b6000613f3160135490565b600c54909150613f42826001615adc565b1115613f9a5760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a204d696e742f6f72646572206578636565647320737570706c6044820152607960f81b6064820152608401610e8b565b60185415614063576017546001600160a01b0316613ffa5760405162461bcd60e51b815260206004820152601b60248201527f54454e5345493a204c65616620636f6e747261637420756e73657400000000006044820152606401610e8b565b601754601854604051632cee16e960e11b815233600482015260248101919091526001600160a01b03909116906359dc2dd290604401600060405180830381600087803b15801561404a57600080fd5b505af115801561405e573d6000803e3d6000fd5b505050505b600f546140769063ffffffff1683615d60565b845463ffffffff60a81b1916600160a81b63ffffffff92831602178555600f546140aa916401000000009091041683615d60565b845463ffffffff91909116600160a81b0263ffffffff60a81b199091161784556140d63382600261499d565b604051819033907f1f4971ae1712e1c88418382994876f5d041e83f9197070e0b2edbfa29331e4f690600090a3505050505050565b6004546001600160a01b031633146141535760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b61125f838383614cd4565b3360009081526005602052604090205460ff166141b05760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b601780546001600160a01b0319166001600160a01b039490941693909317909255601855601955565b6004546001600160a01b031633146142215760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6001600160a01b0381166000908152600560205260409020805460ff1916600117905561424d81614d6d565b50565b3360009081526005602052604090205460ff166142a25760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b60145460ff1615158415151415806142c9575060145460ff61010090910416151583151514155b806142e4575060145460ff6201000090910416151582151514155b80614300575060145460ff630100000090910416151581151514155b61434c5760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a204e65772076616c7565206d617463686573206f6c640000006044820152606401610e8b565b6014805461ffff191694151561ff00191694909417610100931515939093029290921763ffff00001916620100009115159190910263ff000000191617630100000091151591909102179055565b60006001600160e01b031982166380ac58cd60e01b14806143cb57506001600160e01b03198216635b5e139f60e01b145b80610e2f57506301ffc9a760e01b6001600160e01b0319831614610e2f565b60135460009082108015610e2f575060006001600160a01b031660138381548110614417576144176159fc565b6000918252602090912001546001600160a01b0316141592915050565b600081815260026020526040902080546001600160a01b0319166001600160a01b0384169081179091558190614469826123cb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b03821661450d5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610e8b565b6000811161455d5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610e8b565b6001600160a01b038216600090815260086020526040902054156145d75760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610e8b565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b038416908117909155600090815260086020526040902081905560065461463f908290615adc565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156146d85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610e8b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114614725576040519150601f19603f3d011682016040523d82523d6000602084013e61472a565b606091505b505090508061125f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610e8b565b60006147ac826143ea565b61480d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e8b565b6000614818836123cb565b9050806001600160a01b0316846001600160a01b031614806148535750836001600160a01b0316614848846110c6565b6001600160a01b0316145b806128ae57506001600160a01b0380821660009081526003602090815260408083209388168352929052205460ff166128ae565b826001600160a01b0316601382815481106148a4576148a46159fc565b6000918252602090912001546001600160a01b03161461491a5760405162461bcd60e51b815260206004820152602b60248201527f54454e5345493a207472616e73666572206f6620746f6b656e2074686174206960448201526a1cc81b9bdd081bdddb995960aa1b6064820152608401610e8b565b614925600082614434565b61492f8383614e23565b8160138281548110614943576149436159fc565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6149a8600084614e23565b60136040518060800160405280856001600160a01b031681526020018360028111156149d6576149d661540b565b815260006020808301829052604090920181905283546001810185559381528190208251930180546001600160a01b039094166001600160a01b0319851681178255918301519293909291839174ffffffffffffffffffffffffffffffffffffffffff191617600160a01b836002811115614a5357614a5361540b565b021790555060408281015182546060909401517fffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffff909416600160a81b63ffffffff9283160263ffffffff60c81b191617600160c81b91909416029290921790555182906001600160a01b038516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606081614b645750506040805180820190915260018152600360fc1b602082015290565b8160005b8115614b8e5780614b7881615a6b565b9150614b879050600a83615b4a565b9150614b68565b60008167ffffffffffffffff811115614ba957614ba96157e5565b6040519080825280601f01601f191660200182016040528015614bd3576020820181803683370190505b5090505b84156128ae57614be8600183615b5e565b9150614bf5600a86615d88565b614c00906030615adc565b60f81b818381518110614c1557614c156159fc565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350614c4f600a86615b4a565b9450614bd7565b614c61848484614887565b614c6d84848484614e9a565b611cdb5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610e8b565b6001600160a01b0382166000908152600860205260409020546006548291614cfb91615b5e565b614d059190615adc565b6006556001600160a01b0382166000908152600860205260409020819055600a805483919085908110614d3a57614d3a6159fc565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b6004546001600160a01b03163314614db55760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6001600160a01b038116614e1a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e8b565b61424d81614aee565b6001600160a01b03821615614e5d576001600160a01b0382166000908152601b602052604081208054909190614e5890615d9c565b909155505b6001600160a01b038116156115ec576001600160a01b0381166000908152601b602052604081208054909190614e9290615a6b565b909155505050565b60006001600160a01b0384163b15614fd857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290614ede903390899088908890600401615db3565b6020604051808303816000875af1925050508015614f19575060408051601f3d908101601f19168201909252614f1691810190615de5565b60015b614fbe573d808015614f47576040519150601f19603f3d011682016040523d82523d6000602084013e614f4c565b606091505b508051614fb65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610e8b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506128ae565b506001949350505050565b828054614fef90615a86565b90600052602060002090601f0160209004810192826150115760008555615057565b82601f1061502a5782800160ff19823516178555615057565b82800160010185558215615057579182015b8281111561505757823582559160200191906001019061503c565b50611d459291505b80821115611d45576000815560010161505f565b6001600160e01b03198116811461424d57600080fd5b60006020828403121561509b57600080fd5b8135611ba181615073565b60008083601f8401126150b857600080fd5b50813567ffffffffffffffff8111156150d057600080fd5b6020830191508360208260051b85010111156150eb57600080fd5b9250929050565b803580151581146110c157600080fd5b60008060006040848603121561511757600080fd5b833567ffffffffffffffff81111561512e57600080fd5b61513a868287016150a6565b909450925061514d9050602085016150f2565b90509250925092565b60005b83811015615171578181015183820152602001615159565b83811115611cdb5750506000910152565b6000815180845261519a816020860160208601615156565b601f01601f19169290920160200192915050565b602081526000611ba16020830184615182565b6001600160a01b038116811461424d57600080fd5b6000602082840312156151e857600080fd5b8135611ba1816151c1565b60006020828403121561520557600080fd5b5035919050565b6000806040838503121561521f57600080fd5b823561522a816151c1565b946020939093013593505050565b6000806000806040858703121561524e57600080fd5b843567ffffffffffffffff8082111561526657600080fd5b615272888389016150a6565b9096509450602087013591508082111561528b57600080fd5b50615298878288016150a6565b95989497509550505050565b600080602083850312156152b757600080fd5b823567ffffffffffffffff8111156152ce57600080fd5b6152da858286016150a6565b90969095509350505050565b6000806000806000806000806080898b03121561530257600080fd5b883567ffffffffffffffff8082111561531a57600080fd5b6153268c838d016150a6565b909a50985060208b013591508082111561533f57600080fd5b61534b8c838d016150a6565b909850965060408b013591508082111561536457600080fd5b6153708c838d016150a6565b909650945060608b013591508082111561538957600080fd5b506153968b828c016150a6565b999c989b5096995094979396929594505050565b803563ffffffff811681146110c157600080fd5b600080600080600060a086880312156153d657600080fd5b6153df866150f2565b94506153ed602087016153aa565b94979496505050506040830135926060810135926080909101359150565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b0385168152608081016003851061544f57634e487b7160e01b600052602160045260246000fd5b602082019490945263ffffffff92831660408201529116606090910152919050565b60008060006060848603121561548657600080fd5b8335615491816151c1565b925060208401356154a1816151c1565b929592945050506040919091013590565b600081518084526020808501945080840160005b838110156154e2578151875295820195908201906001016154c6565b509495945050505050565b602081526000611ba160208301846154b2565b6000806040838503121561551357600080fd5b823561551e816151c1565b915061552c602084016150f2565b90509250929050565b60008060006040848603121561554a57600080fd5b8335615555816151c1565b9250602084013567ffffffffffffffff81111561557157600080fd5b61557d868287016150a6565b9497909650939450505050565b600080600080600080606087890312156155a357600080fd5b863567ffffffffffffffff808211156155bb57600080fd5b6155c78a838b016150a6565b909850965060208901359150808211156155e057600080fd5b6155ec8a838b016150a6565b9096509450604089013591508082111561560557600080fd5b5061561289828a016150a6565b979a9699509497509295939492505050565b60008083601f84011261563657600080fd5b50813567ffffffffffffffff81111561564e57600080fd5b6020830191508360208285010111156150eb57600080fd5b6000806000806040858703121561567c57600080fd5b843567ffffffffffffffff8082111561569457600080fd5b6156a088838901615624565b909650945060208701359150808211156156b957600080fd5b5061529887828801615624565b600080600080606085870312156156dc57600080fd5b84356156e7816151c1565b9350602085013567ffffffffffffffff81111561570357600080fd5b61570f878288016150a6565b90945092506157229050604086016150f2565b905092959194509250565b6000806000806000806080878903121561574657600080fd5b8635615751816151c1565b95506020870135615761816151c1565b9450604087013567ffffffffffffffff8082111561577e57600080fd5b61578a8a838b016150a6565b909650945060608901359150808211156157a357600080fd5b5061561289828a01615624565b6000806000606084860312156157c557600080fd5b83356157d0816151c1565b95602085013595506040909401359392505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561581157600080fd5b843561581c816151c1565b9350602085013561582c816151c1565b925060408501359150606085013567ffffffffffffffff8082111561585057600080fd5b818701915087601f83011261586457600080fd5b813581811115615876576158766157e5565b604051601f8201601f19908116603f0116810190838211818310171561589e5761589e6157e5565b816040528281528a60208487010111156158b757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000606084860312156158f057600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561591a57600080fd5b615923836153aa565b915061552c602084016153aa565b6000806040838503121561594457600080fd5b50508035926020909101359150565b60008060006060848603121561596857600080fd5b8335925060208401356154a1816151c1565b6000806040838503121561598d57600080fd5b8235615998816151c1565b915060208301356159a8816151c1565b809150509250929050565b600080600080608085870312156159c957600080fd5b6159d2856150f2565b93506159e0602086016150f2565b92506159ee604086016150f2565b9150615722606086016150f2565b634e487b7160e01b600052603260045260246000fd5b60208082526023908201527f54454e5345493a20517565727920666f72206e6f6e6578697374656e7420746f60408201526235b2b760e91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000600019821415615a7f57615a7f615a55565b5060010190565b600181811c90821680615a9a57607f821691505b60208210811415615abb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215615ad357600080fd5b611ba1826153aa565b60008219821115615aef57615aef615a55565b500190565b600060208284031215615b0657600080fd5b813560038110611ba157600080fd5b6000816000190483118215151615615b2f57615b2f615a55565b500290565b634e487b7160e01b600052601260045260246000fd5b600082615b5957615b59615b34565b500490565b600082821015615b7057615b70615a55565b500390565b7f54454e5345493a204d6178206f72646572206973200000000000000000000000815260008251615bad816015850160208701615156565b9190910160150192915050565b7f54454e5345493a204d6178207065722077616c6c657420697320000000000000815260008251615bf281601a850160208701615156565b91909101601a0192915050565b8054600090600181811c9080831680615c1957607f831692505b6020808410821415615c3b57634e487b7160e01b600052602260045260246000fd5b818015615c4f5760018114615c6057615c8d565b60ff19861689528489019650615c8d565b60008881526020902060005b86811015615c855781548b820152908501908301615c6c565b505084890196505b50505050505092915050565b6000615ca58286615bff565b8451615cb5818360208901615156565b615cc181830186615bff565b979650505050505050565b6001600160a01b0384168152606060208201526000615cee60608301856154b2565b8281036040840152615d0081856154b2565b9695505050505050565b604080825283519082018190526000906020906060840190828701845b82811015615d4c5781516001600160a01b031684529284019290840190600101615d27565b50505083810382850152615d0081866154b2565b600063ffffffff808316818516808303821115615d7f57615d7f615a55565b01949350505050565b600082615d9757615d97615b34565b500690565b600081615dab57615dab615a55565b506000190190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152615d006080830184615182565b600060208284031215615df757600080fd5b8151611ba18161507356fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e2a45c05a0a0340e16ef05dd6b06bcfe49b6a7ab24fa95f02eb402b591badb3c64736f6c634300080b003368747470733a2f2f697066732e74656e736569747572746c65732e696f2f6d657461646174612f
Deployed Bytecode
0x6080604052600436106104265760003560e01c8063715018a611610227578063b88d4fde1161012d578063df238800116100b0578063e86cbff011610077578063e86cbff014610d3c578063e985e9c514610d5c578063f2fde38b14610da5578063f869195f14610dc5578063fe0efa1614610dea57005b8063df23880014610cba578063df7787a414610cda578063e0d92ee714610cf0578063e1ce4a6914610d11578063e33b7de314610d2757005b8063ceb93182116100f4578063ceb9318214610c11578063d0a6bd9514610c31578063d354f24014610c51578063d9ecad7b14610c71578063dd4b182314610c9157005b8063b88d4fde14610b52578063c79b1ae614610b72578063c87b56dd14610b92578063cbeb74c214610bb2578063ce7c2ac214610bdb57005b806391b7f5ed116101b5578063a0712d681161017c578063a0712d6814610ac9578063a22cb46514610adc578063af2eb6ff14610afc578063b534a5c414610b12578063b68dc8f114610b3257005b806391b7f5ed14610a3557806395d89b4114610a55578063977f047714610a6a5780639852595c14610a7d5780639c8b5ba614610ab357005b806387a5b67c116101f957806387a5b67c146109945780638b83209b146109c15780638d859f3e146109e15780638da5cb5b146109f75780638fd9ba0814610a1557005b8063715018a61461090d578063767d4174146109225780637e91b36f14610942578063835f6e041461096257005b806332cb6b0c1161032c5780634f548490116102ba5780635e457c10116102815780635e457c101461088057806360d938dc146108935780636352211e146108ad5780636790a9de146108cd57806370a08231146108ed57005b80634f548490146108055780634f6ccce71461081857806350c5a00c1461083857806352b93b721461084e5780635b92ac0d1461086157005b8063438b6300116102fe578063438b63001461076057806345a15d641461078d5780634a994eef146107af5780634b7911c9146107cf5780634d44660c146107e557005b806332cb6b0c146106ff5780633948ed7c146107155780633a98ef391461072b57806342842e0e1461074057005b8063129640d3116103b45780631eb18a4a1161037b5780631eb18a4a146106595780632007ed0114610679578063223353951461068f57806323b872dd146106bf5780632f745c59146106df57005b8063129640d3146105ce57806317968649146105ee57806318160ddd1461060457806318f9b02314610619578063191655871461063957005b806307779627116103f85780630777962714610520578063081812fc14610540578063095ea7b3146105605780630b53af96146105805780631001d999146105a057005b806301ffc9a714610471578063030c5f87146104a657806304aa59ef146104c657806306fdde03146104fe57005b3661046f577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b005b34801561047d57600080fd5b5061049161048c366004615089565b610e0a565b60405190151581526020015b60405180910390f35b3480156104b257600080fd5b5061046f6104c1366004615102565b610e35565b3480156104d257600080fd5b506017546104e6906001600160a01b031681565b6040516001600160a01b03909116815260200161049d565b34801561050a57600080fd5b50610513610fc6565b60405161049d91906151ae565b34801561052c57600080fd5b5061049161053b3660046151d6565b611058565b34801561054c57600080fd5b506104e661055b3660046151f3565b6110c6565b34801561056c57600080fd5b5061046f61057b36600461520c565b61114e565b34801561058c57600080fd5b5061046f61059b366004615238565b611264565b3480156105ac57600080fd5b506105c06105bb3660046152a4565b611389565b60405190815260200161049d565b3480156105da57600080fd5b5061046f6105e93660046152e6565b6113dc565b3480156105fa57600080fd5b506105c060185481565b34801561061057600080fd5b506013546105c0565b34801561062557600080fd5b5061046f61063436600461520c565b61159a565b34801561064557600080fd5b5061046f6106543660046151d6565b6115f0565b34801561066557600080fd5b5061046f6106743660046153be565b6117c1565b34801561068557600080fd5b506105c060105481565b34801561069b57600080fd5b506106af6106aa3660046151f3565b61186c565b60405161049d9493929190615421565b3480156106cb57600080fd5b5061046f6106da366004615471565b6118b9565b3480156106eb57600080fd5b506105c06106fa36600461520c565b611934565b34801561070b57600080fd5b506105c0600c5481565b34801561072157600080fd5b506105c060125481565b34801561073757600080fd5b506006546105c0565b34801561074c57600080fd5b5061046f61075b366004615471565b611a00565b34801561076c57600080fd5b5061078061077b3660046151d6565b611a1b565b60405161049d91906154ed565b34801561079957600080fd5b5060145461049190640100000000900460ff1681565b3480156107bb57600080fd5b5061046f6107ca366004615500565b611ab3565b3480156107db57600080fd5b506105c060115481565b3480156107f157600080fd5b50610491610800366004615535565b611b26565b61046f61081336600461520c565b611ba8565b34801561082457600080fd5b506105c06108333660046151f3565b611ce1565b34801561084457600080fd5b506105c0600b5481565b61046f61085c366004615535565b611d49565b34801561086d57600080fd5b5060145461049190610100900460ff1681565b61046f61088e36600461558a565b611fd9565b34801561089f57600080fd5b506014546104919060ff1681565b3480156108b957600080fd5b506104e66108c83660046151f3565b6123cb565b3480156108d957600080fd5b5061046f6108e8366004615666565b612451565b3480156108f957600080fd5b506105c06109083660046151d6565b6124bc565b34801561091957600080fd5b5061046f612543565b34801561092e57600080fd5b506014546104919062010000900460ff1681565b34801561094e57600080fd5b5061046f61095d366004615238565b612597565b34801561096e57600080fd5b50600f5461097f9063ffffffff1681565b60405163ffffffff909116815260200161049d565b3480156109a057600080fd5b506105c06109af3660046151d6565b601a6020526000908152604090205481565b3480156109cd57600080fd5b506104e66109dc3660046151f3565b6126d7565b3480156109ed57600080fd5b506105c0600e5481565b348015610a0357600080fd5b506004546001600160a01b03166104e6565b348015610a2157600080fd5b506105c0610a303660046151f3565b612707565b348015610a4157600080fd5b5061046f610a503660046151f3565b612916565b348015610a6157600080fd5b506105136129bf565b61046f610a783660046156c6565b6129ce565b348015610a8957600080fd5b506105c0610a983660046151d6565b6001600160a01b031660009081526009602052604090205490565b348015610abf57600080fd5b506105c060165481565b61046f610ad73660046151f3565b612ba4565b348015610ae857600080fd5b5061046f610af7366004615500565b612e64565b348015610b0857600080fd5b506105c060195481565b348015610b1e57600080fd5b5061046f610b2d36600461572d565b612f29565b348015610b3e57600080fd5b5061046f610b4d3660046157b0565b612f9e565b348015610b5e57600080fd5b5061046f610b6d3660046157fb565b61303a565b348015610b7e57600080fd5b5061046f610b8d3660046158db565b6130b6565b348015610b9e57600080fd5b50610513610bad3660046151f3565b6131fa565b348015610bbe57600080fd5b506014546104e6906501000000000090046001600160a01b031681565b348015610be757600080fd5b506105c0610bf63660046151d6565b6001600160a01b031660009081526008602052604090205490565b348015610c1d57600080fd5b5061046f610c2c3660046152a4565b613296565b348015610c3d57600080fd5b5061046f610c4c3660046152a4565b61370a565b348015610c5d57600080fd5b5061046f610c6c366004615907565b613a3d565b348015610c7d57600080fd5b5061046f610c8c366004615931565b613b38565b348015610c9d57600080fd5b50600f5461097f9068010000000000000000900463ffffffff1681565b348015610cc657600080fd5b5061046f610cd5366004615953565b61410b565b348015610ce657600080fd5b506105c0600d5481565b348015610cfc57600080fd5b50601454610491906301000000900460ff1681565b348015610d1d57600080fd5b506105c060155481565b348015610d3357600080fd5b506007546105c0565b348015610d4857600080fd5b5061046f610d573660046157b0565b61415e565b348015610d6857600080fd5b50610491610d7736600461597a565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205460ff1690565b348015610db157600080fd5b5061046f610dc03660046151d6565b6141d9565b348015610dd157600080fd5b50600f5461097f90640100000000900463ffffffff1681565b348015610df657600080fd5b5061046f610e053660046159b3565b614250565b60006001600160e01b0319821663780e9d6360e01b1480610e2f5750610e2f8261439a565b92915050565b601454640100000000900460ff16610e945760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a205374616b696e67206973206e6f742061637469766500000060448201526064015b60405180910390fd5b600042815b84811015610fbe57610ec2868683818110610eb657610eb66159fc565b905060200201356143ea565b610ede5760405162461bcd60e51b8152600401610e8b90615a12565b6013868683818110610ef257610ef26159fc565b9050602002013581548110610f0957610f096159fc565b600091825260209091200180549093506001600160a01b03163314610f805760405162461bcd60e51b815260206004820152602760248201527f54454e5345493a205374616b696e6720746f6b656e2074686174206973206e6f6044820152661d081bdddb995960ca1b6064820152608401610e8b565b83610f8c576001610f8e565b815b835463ffffffff91909116600160c81b0263ffffffff60c81b19909116178355610fb781615a6b565b9050610e99565b505050505050565b606060008054610fd590615a86565b80601f016020809104026020016040519081016040528092919081815260200182805461100190615a86565b801561104e5780601f106110235761010080835404028352916020019161104e565b820191906000526020600020905b81548152906001019060200180831161103157829003601f168201915b5050505050905090565b6004546000906001600160a01b031633146110a35760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b506001600160a01b03811660009081526005602052604090205460ff165b919050565b60006110d1826143ea565b6111325760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e8b565b506000908152600260205260409020546001600160a01b031690565b6000611159826123cb565b9050806001600160a01b0316836001600160a01b031614156111c75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610e8b565b336001600160a01b03821614806111e357506111e38133610d77565b6112555760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610e8b565b61125f8383614434565b505050565b3360009081526005602052604090205460ff166112b65760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b60005b83811015611382576112d6858583818110610eb657610eb66159fc565b6112f25760405162461bcd60e51b8152600401610e8b90615a12565b828282818110611304576113046159fc565b90506020020160208101906113199190615ac1565b601386868481811061132d5761132d6159fc565b9050602002013581548110611344576113446159fc565b6000918252602090912001805463ffffffff92909216600160a81b0263ffffffff60a81b1990921691909117905561137b81615a6b565b90506112b9565b5050505050565b60008060005b838110156113d4576113b88585838181106113ac576113ac6159fc565b90506020020135612707565b6113c29083615adc565b91506113cd81615a6b565b905061138f565b509392505050565b3360009081526005602052604090205460ff1661142e5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b6000805b8881101561158e5761144f8a8a83818110610eb657610eb66159fc565b61146b5760405162461bcd60e51b8152600401610e8b90615a12565b60138a8a8381811061147f5761147f6159fc565b9050602002013581548110611496576114966159fc565b9060005260206000200191508787828181106114b4576114b46159fc565b90506020020160208101906114c99190615af4565b8254839060ff60a01b1916600160a01b8360028111156114eb576114eb61540b565b0217905550858582818110611502576115026159fc565b90506020020160208101906115179190615ac1565b825463ffffffff91909116600160a81b0263ffffffff60a81b19909116178255838382818110611549576115496159fc565b905060200201602081019061155e9190615ac1565b825463ffffffff91909116600160c81b0263ffffffff60c81b1990911617825561158781615a6b565b9050611432565b50505050505050505050565b6004546001600160a01b031633146115e25760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6115ec82826144a2565b5050565b6001600160a01b0381166000908152600860205260409020546116645760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201526573686172657360d01b6064820152608401610e8b565b6000600754476116749190615adc565b6001600160a01b03831660009081526009602090815260408083205460065460089093529083205493945091926116ab9085615b15565b6116b59190615b4a565b6116bf9190615b5e565b9050806117225760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201526a191d59481c185e5b595b9d60aa1b6064820152608401610e8b565b6001600160a01b038316600090815260096020526040902054611746908290615adc565b6001600160a01b03841660009081526009602052604090205560075461176d908290615adc565b60075561177a8382614688565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b3360009081526005602052604090205460ff166118135760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b601480549515156401000000000264ff000000001990961695909517909455600f805463ffffffff90941668010000000000000000026bffffffff00000000000000001990941693909317909255601055601155601255565b6013818154811061187c57600080fd5b6000918252602090912001546001600160a01b038116915060ff600160a01b8204169063ffffffff600160a81b8204811691600160c81b90041684565b6118c333826147a1565b6119295760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610e8b565b61125f838383614887565b60008060005b6013548110156119a35760138181548110611957576119576159fc565b6000918252602090912001546001600160a01b03868116911614156119935783821415611987579150610e2f9050565b61199082615a6b565b91505b61199c81615a6b565b905061193a565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610e8b565b61125f8383836040518060200160405280600081525061303a565b60606000611a28836124bc565b905060008167ffffffffffffffff811115611a4557611a456157e5565b604051908082528060200260200182016040528015611a6e578160200160208202803683370190505b50905060005b828110156113d457611a868582611934565b828281518110611a9857611a986159fc565b6020908102919091010152611aac81615a6b565b9050611a74565b6004546001600160a01b03163314611afb5760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b6000805b82811015611b9b57846001600160a01b03166013858584818110611b5057611b506159fc565b9050602002013581548110611b6757611b676159fc565b6000918252602090912001546001600160a01b031614611b8b576000915050611ba1565b611b9481615a6b565b9050611b2a565b50600190505b9392505050565b3360009081526005602052604090205460ff16611bfa5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b6000611c0560135490565b600c54909150611c158383615adc565b1115611c6d5760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a204d696e742f6f72646572206578636565647320737570706c6044820152607960f81b6064820152608401610e8b565b60005b82811015611cdb57600082611c8481615a6b565b93509050611c948582600261499d565b60405181906001600160a01b038716907f1f4971ae1712e1c88418382994876f5d041e83f9197070e0b2edbfa29331e4f690600090a350611cd481615a6b565b9050611c70565b50505050565b6000611cec60135490565b8210611d455760405162461bcd60e51b815260206004820152602260248201527f54454e5345493a20676c6f62616c20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610e8b565b5090565b3360009081526005602052604090205460ff16611d9b5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b60005b81811015611cdb57611dbb838383818110610eb657610eb66159fc565b611dd75760405162461bcd60e51b8152600401610e8b90615a12565b836001600160a01b0316611e02848484818110611df657611df66159fc565b905060200201356123cb565b6001600160a01b031614611e6d5760405162461bcd60e51b815260206004820152602c60248201527f54454e5345493a2045766f6c7574696f6e206f6620746f6b656e20746861742060448201526b1a5cc81b9bdd081bdddb995960a21b6064820152608401610e8b565b60006013848484818110611e8357611e836159fc565b9050602002013581548110611e9a57611e9a6159fc565b600091825260209091200154600160a01b900460ff166002811115611ec157611ec161540b565b14611f1d5760405162461bcd60e51b815260206004820152602660248201527f54454e5345493a204f6e6c792054656e73656920747572746c65732063616e2060448201526565766f6c766560d01b6064820152608401610e8b565b60016013848484818110611f3357611f336159fc565b9050602002013581548110611f4a57611f4a6159fc565b6000918252602090912001805460ff60a01b1916600160a01b836002811115611f7557611f7561540b565b0217905550828282818110611f8c57611f8c6159fc565b90506020020135846001600160a01b03167fc09feda7adb0a8bbe69c92dbe769d478537a966979f11dff2dda8bc034dba19d60405160405180910390a3611fd281615a6b565b9050611d9e565b3360009081526005602052604090205460ff1661202b5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b8483146120a05760405162461bcd60e51b815260206004820152603460248201527f54454e5345493a204d7573742070726f7669646520657175616c207175616e7460448201527f697469657320616e6420726563697069656e74730000000000000000000000006064820152608401610e8b565b8281146121155760405162461bcd60e51b815260206004820152602f60248201527f54454e5345493a204d7573742070726f7669646520657175616c20726563697060448201527f69656e747320616e6420747970657300000000000000000000000000000000006064820152608401610e8b565b60008061212160135490565b905060005b8781101561216457888882818110612140576121406159fc565b90506020020135836121529190615adc565b925061215d81615a6b565b9050612126565b50600c546121728383615adc565b106121c95760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a204d696e742f6f72646572206578636565647320737570706c6044820152607960f81b6064820152608401610e8b565b60005b858110156123c05760005b8989838181106121e9576121e96159fc565b905060200201358110156123af5760008361220381615a6b565b9450905061225e89898581811061221c5761221c6159fc565b905060200201602081019061223191906151d6565b82898987818110612244576122446159fc565b90506020020160208101906122599190615af4565b61499d565b6001878785818110612272576122726159fc565b90506020020160208101906122879190615af4565b60028111156122985761229861540b565b141561230057808989858181106122b1576122b16159fc565b90506020020160208101906122c691906151d6565b6001600160a01b03167fc09feda7adb0a8bbe69c92dbe769d478537a966979f11dff2dda8bc034dba19d60405160405180910390a361239e565b6002878785818110612314576123146159fc565b90506020020160208101906123299190615af4565b600281111561233a5761233a61540b565b141561239e5780898985818110612353576123536159fc565b905060200201602081019061236891906151d6565b6001600160a01b03167f1f4971ae1712e1c88418382994876f5d041e83f9197070e0b2edbfa29331e4f660405160405180910390a35b506123a881615a6b565b90506121d7565b506123b981615a6b565b90506121cc565b505050505050505050565b600080601383815481106123e1576123e16159fc565b6000918252602090912001546001600160a01b0316905080610e2f5760405162461bcd60e51b815260206004820152602360248201527f54454e5345493a20717565727920666f72206e6f6e6578697374656e7420746f60448201526235b2b760e91b6064820152608401610e8b565b3360009081526005602052604090205460ff166124a35760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b6124af601c8585614fe3565b50611382601d8383614fe3565b60006001600160a01b0382166125275760405162461bcd60e51b815260206004820152602a60248201527f54454e5345493a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610e8b565b506001600160a01b03166000908152601b602052604090205490565b6004546001600160a01b0316331461258b5760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6125956000614aee565b565b3360009081526005602052604090205460ff166125e95760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b82811461265e5760405162461bcd60e51b815260206004820152602f60248201527f54454e5345493a204d7573742070726f7669646520657175616c206163636f7560448201527f6e747320616e6420616c6c6f77656400000000000000000000000000000000006064820152608401610e8b565b60005b838110156113825782828281811061267b5761267b6159fc565b90506020020135601a6000878785818110612698576126986159fc565b90506020020160208101906126ad91906151d6565b6001600160a01b031681526020810191909152604001600020556126d081615a6b565b9050612661565b6000600a82815481106126ec576126ec6159fc565b6000918252602090912001546001600160a01b031692915050565b601454600090640100000000900460ff166127645760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a205374616b696e67206973206e6f74206163746976650000006044820152606401610e8b565b61276d826143ea565b6127895760405162461bcd60e51b8152600401610e8b90615a12565b60006013838154811061279e5761279e6159fc565b60009182526020918290206040805160808101909152910180546001600160a01b03811683529192909190830190600160a01b900460ff1660028111156127e7576127e761540b565b60028111156127f8576127f861540b565b8152905463ffffffff600160a81b820481166020840152600160c81b9091048116604090920191909152606082015191925060029116101561283d5750600092915050565b600f54606082015160009163ffffffff68010000000000000000909104811691612868911642615b5e565b6128729190615b4a565b905080612883575060009392505050565b60008260200151600281111561289b5761289b61540b565b14156128b6576010546128ae9082615b15565b949350505050565b6001826020015160028111156128ce576128ce61540b565b14156128e1576011546128ae9082615b15565b6002826020015160028111156128f9576128f961540b565b141561290c576012546128ae9082615b15565b5060009392505050565b3360009081526005602052604090205460ff166129685760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b80600e5414156129ba5760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a204e65772076616c7565206d617463686573206f6c640000006044820152606401610e8b565b600e55565b606060018054610fd590615a86565b3360009081526005602052604090205460ff16612a205760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b601454640100000000900460ff16612a7a5760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a205374616b696e67206973206e6f74206163746976650000006044820152606401610e8b565b600042815b84811015612b9b57612a9c868683818110610eb657610eb66159fc565b612ab85760405162461bcd60e51b8152600401610e8b90615a12565b6013868683818110612acc57612acc6159fc565b9050602002013581548110612ae357612ae36159fc565b600091825260209091200180549093506001600160a01b03888116911614612b5d5760405162461bcd60e51b815260206004820152602760248201527f54454e5345493a207374616b696e6720746f6b656e2074686174206973206e6f6044820152661d081bdddb995960ca1b6064820152608401610e8b565b83612b69576001612b6b565b815b835463ffffffff91909116600160c81b0263ffffffff60c81b19909116178355612b9481615a6b565b9050612a7f565b50505050505050565b601454610100900460ff1615612bb957612ca7565b60145460ff1615612c5f57336000908152601a6020526040902054811115612c355760405162461bcd60e51b815260206004820152602960248201527f54454e5345493a204163636f756e74206973206e6f74206f6e2074686520616360448201526818d95cdcc81b1a5cdd60ba1b6064820152608401610e8b565b336000908152601a602052604081208054839290612c54908490615b5e565b90915550612ca79050565b60405162461bcd60e51b815260206004820152601a60248201527f54454e5345493a2053616c65206973206e6f74206163746976650000000000006044820152606401610e8b565b600b54811115612cb8600b54614b40565b604051602001612cc89190615b75565b60405160208183030381529060405290612cf55760405162461bcd60e51b8152600401610e8b91906151ae565b50600d5481612d03336124bc565b612d0d9190615adc565b1115612d1a600d54614b40565b604051602001612d2a9190615bba565b60405160208183030381529060405290612d575760405162461bcd60e51b8152600401610e8b91906151ae565b5080600e54612d669190615b15565b341015612dbf5760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a2045746865722073656e74206973206e6f7420636f727265636044820152601d60fa1b6064820152608401610e8b565b6000612dca60135490565b600c54909150612dda8383615adc565b1115612e325760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a204d696e742f6f72646572206578636565647320737570706c6044820152607960f81b6064820152608401610e8b565b60005b8281101561125f57612e543383612e4b81615a6b565b9450600061499d565b612e5d81615a6b565b9050612e35565b6001600160a01b038216331415612ebd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610e8b565b3360008181526003602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60005b83811015612b9b57612f8e8787878785818110612f4b57612f4b6159fc565b9050602002013586868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061303a92505050565b612f9781615a6b565b9050612f2c565b3360009081526005602052604090205460ff16612ff05760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b601480546001600160a01b0390941665010000000000027fffffffffffffff0000000000000000000000000000000000000000ffffffffff90941693909317909255601555601655565b61304433836147a1565b6130aa5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610e8b565b611cdb84848484614c56565b3360009081526005602052604090205460ff166131085760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b82600b5414158061311b575081600c5414155b80613128575080600d5414155b6131745760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a204e65772076616c7565206d617463686573206f6c640000006044820152606401610e8b565b6013548210156131ec5760405162461bcd60e51b815260206004820152603660248201527f54454e5345493a2053706563696669656420737570706c79206973206c6f776560448201527f72207468616e2063757272656e742062616c616e6365000000000000000000006064820152608401610e8b565b600b92909255600c55600d55565b6060613205826143ea565b6132615760405162461bcd60e51b815260206004820152602760248201527f54454e5345493a2055524920717565727920666f72206e6f6e6578697374656e6044820152663a103a37b5b2b760c91b6064820152608401610e8b565b601c61326c83614b40565b601d60405160200161328093929190615c99565b6040516020818303038152906040529050919050565b60145462010000900460ff166132ee5760405162461bcd60e51b815260206004820152601f60248201527f54454e5345493a2045766f6c7574696f6e206973206e6f7420616374697665006044820152606401610e8b565b6016541561345b576014546501000000000090046001600160a01b03166133575760405162461bcd60e51b815260206004820152601c60248201527f54454e5345493a20466c61736b20636f6e747261637420756e736574000000006044820152606401610e8b565b604080516001808252818301909252600091602080830190803683370190505090506015548160008151811061338f5761338f6159fc565b6020908102919091010152604080516001808252818301909252600091816020016020820280368337019050506016549091506133cc9084615b15565b816000815181106133df576133df6159fc565b602090810291909101015260145460405163666abf2360e01b8152650100000000009091046001600160a01b03169063666abf239061342690339086908690600401615ccc565b600060405180830381600087803b15801561344057600080fd5b505af1158015613454573d6000803e3d6000fd5b5050505050505b6018541561353f576017546001600160a01b03166134bb5760405162461bcd60e51b815260206004820152601b60248201527f54454e5345493a204c65616620636f6e747261637420756e73657400000000006044820152606401610e8b565b6017546018546001600160a01b03909116906359dc2dd29033906134e0908590615b15565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561352657600080fd5b505af115801561353a573d6000803e3d6000fd5b505050505b6000805b82811015611cdb57613560848483818110610eb657610eb66159fc565b61357c5760405162461bcd60e51b8152600401610e8b90615a12565b6013848483818110613590576135906159fc565b90506020020135815481106135a7576135a76159fc565b600091825260209091200180549092506001600160a01b0316331461361f5760405162461bcd60e51b815260206004820152602860248201527f54454e5345493a2045766f6c76696e6720746f6b656e2074686174206973206e6044820152671bdd081bdddb995960c21b6064820152608401610e8b565b60008254600160a01b900460ff16600281111561363e5761363e61540b565b1461369a5760405162461bcd60e51b815260206004820152602660248201527f54454e5345493a204f6e6c792054656e73656920747572746c65732063616e2060448201526565766f6c766560d01b6064820152608401610e8b565b815460ff60a01b1916600160a01b1782558383828181106136bd576136bd6159fc565b90506020020135336001600160a01b03167fc09feda7adb0a8bbe69c92dbe769d478537a966979f11dff2dda8bc034dba19d60405160405180910390a361370381615a6b565b9050613543565b601454640100000000900460ff166137645760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a205374616b696e67206973206e6f74206163746976650000006044820152606401610e8b565b6017546001600160a01b03166137bc5760405162461bcd60e51b815260206004820152601b60248201527f54454e5345493a204c65616620636f6e747261637420756e73657400000000006044820152606401610e8b565b60008042818467ffffffffffffffff8111156137da576137da6157e5565b604051908082528060200260200182016040528015613803578160200160208202803683370190505b50905060008567ffffffffffffffff811115613821576138216157e5565b60405190808252806020026020018201604052801561384a578160200160208202803683370190505b50905060005b868110156139cf5761386d888883818110610eb657610eb66159fc565b6138895760405162461bcd60e51b8152600401610e8b90615a12565b601388888381811061389d5761389d6159fc565b90506020020135815481106138b4576138b46159fc565b600091825260209091200180549095506001600160a01b0316331461392c5760405162461bcd60e51b815260206004820152602860248201527f54454e5345493a20436c61696d696e6720746f6b656e2074686174206973206e6044820152671bdd081bdddb995960c21b6064820152608401610e8b565b6139418888838181106113ac576113ac6159fc565b955085156139bf578583828151811061395c5761395c6159fc565b6020908102919091010152845482516001600160a01b0390911690839083908110613989576139896159fc565b6001600160a01b039290921660209283029190910190910152845463ffffffff60c81b1916600160c81b63ffffffff8616021785555b6139c881615a6b565b9050613850565b5060175460405163c630623360e01b81526001600160a01b039091169063c630623390613a029084908690600401615d0a565b600060405180830381600087803b158015613a1c57600080fd5b505af1158015613a30573d6000803e3d6000fd5b5050505050505050505050565b3360009081526005602052604090205460ff16613a8f5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b600f5463ffffffff8381169116141580613abc5750600f5463ffffffff8281166401000000009092041614155b613b085760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a204e65772076616c7565206d617463686573206f6c640000006044820152606401610e8b565b600f805463ffffffff9283166401000000000267ffffffffffffffff199091169290931691909117919091179055565b6014546301000000900460ff16613b915760405162461bcd60e51b815260206004820152601e60248201527f54454e5345493a204272656564696e67206973206e6f742061637469766500006044820152606401610e8b565b613b9a826143ea565b8015613baa5750613baa816143ea565b613c055760405162461bcd60e51b815260206004820152602660248201527f54454e5345493a20517565727920666f72206e6f6e6578697374656e7420746f6044820152656b656e28732960d01b6064820152608401610e8b565b6000808060138581548110613c1c57613c1c6159fc565b600091825260209091200154600160a01b900460ff166002811115613c4357613c4361540b565b1415613d1657600160138481548110613c5e57613c5e6159fc565b600091825260209091200154600160a01b900460ff166002811115613c8557613c8561540b565b1415613cce5760138481548110613c9e57613c9e6159fc565b90600052602060002001915060138381548110613cbd57613cbd6159fc565b906000526020600020019050613e25565b60405162461bcd60e51b815260206004820152601360248201527f496e76616c696420636f6d62696e6174696f6e000000000000000000000000006044820152606401610e8b565b600160138581548110613d2b57613d2b6159fc565b600091825260209091200154600160a01b900460ff166002811115613d5257613d5261540b565b1415613ddd57600060138481548110613d6d57613d6d6159fc565b600091825260209091200154600160a01b900460ff166002811115613d9457613d9461540b565b1415613cce5760138481548110613dad57613dad6159fc565b90600052602060002001905060138381548110613dcc57613dcc6159fc565b906000526020600020019150613e25565b60405162461bcd60e51b815260206004820152601b60248201527f54454e5345493a20696e76616c696420636f6d62696e6174696f6e00000000006044820152606401610e8b565b8154429063ffffffff808316600160a81b90920416108015613e575750815463ffffffff808316600160a81b90920416105b613ea35760405162461bcd60e51b815260206004820181905260248201527f54454e5345493a206272656564696e6720636f6f6c646f776e206163746976656044820152606401610e8b565b82546001600160a01b031633141580613ec6575081546001600160a01b03163314155b613f265760405162461bcd60e51b815260206004820152602b60248201527f54454e5345493a206272656564696e67206f6620746f6b656e2074686174206960448201526a1cc81b9bdd081bdddb995960aa1b6064820152608401610e8b565b6000613f3160135490565b600c54909150613f42826001615adc565b1115613f9a5760405162461bcd60e51b815260206004820152602160248201527f54454e5345493a204d696e742f6f72646572206578636565647320737570706c6044820152607960f81b6064820152608401610e8b565b60185415614063576017546001600160a01b0316613ffa5760405162461bcd60e51b815260206004820152601b60248201527f54454e5345493a204c65616620636f6e747261637420756e73657400000000006044820152606401610e8b565b601754601854604051632cee16e960e11b815233600482015260248101919091526001600160a01b03909116906359dc2dd290604401600060405180830381600087803b15801561404a57600080fd5b505af115801561405e573d6000803e3d6000fd5b505050505b600f546140769063ffffffff1683615d60565b845463ffffffff60a81b1916600160a81b63ffffffff92831602178555600f546140aa916401000000009091041683615d60565b845463ffffffff91909116600160a81b0263ffffffff60a81b199091161784556140d63382600261499d565b604051819033907f1f4971ae1712e1c88418382994876f5d041e83f9197070e0b2edbfa29331e4f690600090a3505050505050565b6004546001600160a01b031633146141535760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b61125f838383614cd4565b3360009081526005602052604090205460ff166141b05760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b601780546001600160a01b0319166001600160a01b039490941693909317909255601855601955565b6004546001600160a01b031633146142215760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6001600160a01b0381166000908152600560205260409020805460ff1916600117905561424d81614d6d565b50565b3360009081526005602052604090205460ff166142a25760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642064656c656761746560801b6044820152606401610e8b565b60145460ff1615158415151415806142c9575060145460ff61010090910416151583151514155b806142e4575060145460ff6201000090910416151582151514155b80614300575060145460ff630100000090910416151581151514155b61434c5760405162461bcd60e51b815260206004820152601d60248201527f54454e5345493a204e65772076616c7565206d617463686573206f6c640000006044820152606401610e8b565b6014805461ffff191694151561ff00191694909417610100931515939093029290921763ffff00001916620100009115159190910263ff000000191617630100000091151591909102179055565b60006001600160e01b031982166380ac58cd60e01b14806143cb57506001600160e01b03198216635b5e139f60e01b145b80610e2f57506301ffc9a760e01b6001600160e01b0319831614610e2f565b60135460009082108015610e2f575060006001600160a01b031660138381548110614417576144176159fc565b6000918252602090912001546001600160a01b0316141592915050565b600081815260026020526040902080546001600160a01b0319166001600160a01b0384169081179091558190614469826123cb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b03821661450d5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b6064820152608401610e8b565b6000811161455d5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a207368617265732061726520300000006044820152606401610e8b565b6001600160a01b038216600090815260086020526040902054156145d75760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b6064820152608401610e8b565b600a8054600181019091557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80180546001600160a01b0319166001600160a01b038416908117909155600090815260086020526040902081905560065461463f908290615adc565b600655604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b804710156146d85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610e8b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114614725576040519150601f19603f3d011682016040523d82523d6000602084013e61472a565b606091505b505090508061125f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610e8b565b60006147ac826143ea565b61480d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e8b565b6000614818836123cb565b9050806001600160a01b0316846001600160a01b031614806148535750836001600160a01b0316614848846110c6565b6001600160a01b0316145b806128ae57506001600160a01b0380821660009081526003602090815260408083209388168352929052205460ff166128ae565b826001600160a01b0316601382815481106148a4576148a46159fc565b6000918252602090912001546001600160a01b03161461491a5760405162461bcd60e51b815260206004820152602b60248201527f54454e5345493a207472616e73666572206f6620746f6b656e2074686174206960448201526a1cc81b9bdd081bdddb995960aa1b6064820152608401610e8b565b614925600082614434565b61492f8383614e23565b8160138281548110614943576149436159fc565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6149a8600084614e23565b60136040518060800160405280856001600160a01b031681526020018360028111156149d6576149d661540b565b815260006020808301829052604090920181905283546001810185559381528190208251930180546001600160a01b039094166001600160a01b0319851681178255918301519293909291839174ffffffffffffffffffffffffffffffffffffffffff191617600160a01b836002811115614a5357614a5361540b565b021790555060408281015182546060909401517fffffff0000000000000000ffffffffffffffffffffffffffffffffffffffffff909416600160a81b63ffffffff9283160263ffffffff60c81b191617600160c81b91909416029290921790555182906001600160a01b038516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606081614b645750506040805180820190915260018152600360fc1b602082015290565b8160005b8115614b8e5780614b7881615a6b565b9150614b879050600a83615b4a565b9150614b68565b60008167ffffffffffffffff811115614ba957614ba96157e5565b6040519080825280601f01601f191660200182016040528015614bd3576020820181803683370190505b5090505b84156128ae57614be8600183615b5e565b9150614bf5600a86615d88565b614c00906030615adc565b60f81b818381518110614c1557614c156159fc565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350614c4f600a86615b4a565b9450614bd7565b614c61848484614887565b614c6d84848484614e9a565b611cdb5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610e8b565b6001600160a01b0382166000908152600860205260409020546006548291614cfb91615b5e565b614d059190615adc565b6006556001600160a01b0382166000908152600860205260409020819055600a805483919085908110614d3a57614d3a6159fc565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b6004546001600160a01b03163314614db55760405162461bcd60e51b81526020600482018190526024820152600080516020615e038339815191526044820152606401610e8b565b6001600160a01b038116614e1a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e8b565b61424d81614aee565b6001600160a01b03821615614e5d576001600160a01b0382166000908152601b602052604081208054909190614e5890615d9c565b909155505b6001600160a01b038116156115ec576001600160a01b0381166000908152601b602052604081208054909190614e9290615a6b565b909155505050565b60006001600160a01b0384163b15614fd857604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290614ede903390899088908890600401615db3565b6020604051808303816000875af1925050508015614f19575060408051601f3d908101601f19168201909252614f1691810190615de5565b60015b614fbe573d808015614f47576040519150601f19603f3d011682016040523d82523d6000602084013e614f4c565b606091505b508051614fb65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610e8b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506128ae565b506001949350505050565b828054614fef90615a86565b90600052602060002090601f0160209004810192826150115760008555615057565b82601f1061502a5782800160ff19823516178555615057565b82800160010185558215615057579182015b8281111561505757823582559160200191906001019061503c565b50611d459291505b80821115611d45576000815560010161505f565b6001600160e01b03198116811461424d57600080fd5b60006020828403121561509b57600080fd5b8135611ba181615073565b60008083601f8401126150b857600080fd5b50813567ffffffffffffffff8111156150d057600080fd5b6020830191508360208260051b85010111156150eb57600080fd5b9250929050565b803580151581146110c157600080fd5b60008060006040848603121561511757600080fd5b833567ffffffffffffffff81111561512e57600080fd5b61513a868287016150a6565b909450925061514d9050602085016150f2565b90509250925092565b60005b83811015615171578181015183820152602001615159565b83811115611cdb5750506000910152565b6000815180845261519a816020860160208601615156565b601f01601f19169290920160200192915050565b602081526000611ba16020830184615182565b6001600160a01b038116811461424d57600080fd5b6000602082840312156151e857600080fd5b8135611ba1816151c1565b60006020828403121561520557600080fd5b5035919050565b6000806040838503121561521f57600080fd5b823561522a816151c1565b946020939093013593505050565b6000806000806040858703121561524e57600080fd5b843567ffffffffffffffff8082111561526657600080fd5b615272888389016150a6565b9096509450602087013591508082111561528b57600080fd5b50615298878288016150a6565b95989497509550505050565b600080602083850312156152b757600080fd5b823567ffffffffffffffff8111156152ce57600080fd5b6152da858286016150a6565b90969095509350505050565b6000806000806000806000806080898b03121561530257600080fd5b883567ffffffffffffffff8082111561531a57600080fd5b6153268c838d016150a6565b909a50985060208b013591508082111561533f57600080fd5b61534b8c838d016150a6565b909850965060408b013591508082111561536457600080fd5b6153708c838d016150a6565b909650945060608b013591508082111561538957600080fd5b506153968b828c016150a6565b999c989b5096995094979396929594505050565b803563ffffffff811681146110c157600080fd5b600080600080600060a086880312156153d657600080fd5b6153df866150f2565b94506153ed602087016153aa565b94979496505050506040830135926060810135926080909101359150565b634e487b7160e01b600052602160045260246000fd5b6001600160a01b0385168152608081016003851061544f57634e487b7160e01b600052602160045260246000fd5b602082019490945263ffffffff92831660408201529116606090910152919050565b60008060006060848603121561548657600080fd5b8335615491816151c1565b925060208401356154a1816151c1565b929592945050506040919091013590565b600081518084526020808501945080840160005b838110156154e2578151875295820195908201906001016154c6565b509495945050505050565b602081526000611ba160208301846154b2565b6000806040838503121561551357600080fd5b823561551e816151c1565b915061552c602084016150f2565b90509250929050565b60008060006040848603121561554a57600080fd5b8335615555816151c1565b9250602084013567ffffffffffffffff81111561557157600080fd5b61557d868287016150a6565b9497909650939450505050565b600080600080600080606087890312156155a357600080fd5b863567ffffffffffffffff808211156155bb57600080fd5b6155c78a838b016150a6565b909850965060208901359150808211156155e057600080fd5b6155ec8a838b016150a6565b9096509450604089013591508082111561560557600080fd5b5061561289828a016150a6565b979a9699509497509295939492505050565b60008083601f84011261563657600080fd5b50813567ffffffffffffffff81111561564e57600080fd5b6020830191508360208285010111156150eb57600080fd5b6000806000806040858703121561567c57600080fd5b843567ffffffffffffffff8082111561569457600080fd5b6156a088838901615624565b909650945060208701359150808211156156b957600080fd5b5061529887828801615624565b600080600080606085870312156156dc57600080fd5b84356156e7816151c1565b9350602085013567ffffffffffffffff81111561570357600080fd5b61570f878288016150a6565b90945092506157229050604086016150f2565b905092959194509250565b6000806000806000806080878903121561574657600080fd5b8635615751816151c1565b95506020870135615761816151c1565b9450604087013567ffffffffffffffff8082111561577e57600080fd5b61578a8a838b016150a6565b909650945060608901359150808211156157a357600080fd5b5061561289828a01615624565b6000806000606084860312156157c557600080fd5b83356157d0816151c1565b95602085013595506040909401359392505050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561581157600080fd5b843561581c816151c1565b9350602085013561582c816151c1565b925060408501359150606085013567ffffffffffffffff8082111561585057600080fd5b818701915087601f83011261586457600080fd5b813581811115615876576158766157e5565b604051601f8201601f19908116603f0116810190838211818310171561589e5761589e6157e5565b816040528281528a60208487010111156158b757600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806000606084860312156158f057600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561591a57600080fd5b615923836153aa565b915061552c602084016153aa565b6000806040838503121561594457600080fd5b50508035926020909101359150565b60008060006060848603121561596857600080fd5b8335925060208401356154a1816151c1565b6000806040838503121561598d57600080fd5b8235615998816151c1565b915060208301356159a8816151c1565b809150509250929050565b600080600080608085870312156159c957600080fd5b6159d2856150f2565b93506159e0602086016150f2565b92506159ee604086016150f2565b9150615722606086016150f2565b634e487b7160e01b600052603260045260246000fd5b60208082526023908201527f54454e5345493a20517565727920666f72206e6f6e6578697374656e7420746f60408201526235b2b760e91b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000600019821415615a7f57615a7f615a55565b5060010190565b600181811c90821680615a9a57607f821691505b60208210811415615abb57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215615ad357600080fd5b611ba1826153aa565b60008219821115615aef57615aef615a55565b500190565b600060208284031215615b0657600080fd5b813560038110611ba157600080fd5b6000816000190483118215151615615b2f57615b2f615a55565b500290565b634e487b7160e01b600052601260045260246000fd5b600082615b5957615b59615b34565b500490565b600082821015615b7057615b70615a55565b500390565b7f54454e5345493a204d6178206f72646572206973200000000000000000000000815260008251615bad816015850160208701615156565b9190910160150192915050565b7f54454e5345493a204d6178207065722077616c6c657420697320000000000000815260008251615bf281601a850160208701615156565b91909101601a0192915050565b8054600090600181811c9080831680615c1957607f831692505b6020808410821415615c3b57634e487b7160e01b600052602260045260246000fd5b818015615c4f5760018114615c6057615c8d565b60ff19861689528489019650615c8d565b60008881526020902060005b86811015615c855781548b820152908501908301615c6c565b505084890196505b50505050505092915050565b6000615ca58286615bff565b8451615cb5818360208901615156565b615cc181830186615bff565b979650505050505050565b6001600160a01b0384168152606060208201526000615cee60608301856154b2565b8281036040840152615d0081856154b2565b9695505050505050565b604080825283519082018190526000906020906060840190828701845b82811015615d4c5781516001600160a01b031684529284019290840190600101615d27565b50505083810382850152615d0081866154b2565b600063ffffffff808316818516808303821115615d7f57615d7f615a55565b01949350505050565b600082615d9757615d97615b34565b500690565b600081615dab57615dab615a55565b506000190190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152615d006080830184615182565b600060208284031215615df757600080fd5b8151611ba18161507356fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e2a45c05a0a0340e16ef05dd6b06bcfe49b6a7ab24fa95f02eb402b591badb3c64736f6c634300080b0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.