Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,397 SW
Holders
1,149
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SWLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Soulware
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 1500 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // @author: miinded.com ////////////////////////////////////////////////////////////////////////////////////////////////////// // // // // // // // -so+/:. // // /NNNNNmy- // // `` /NNNNNNNmo. // // `.-/+syhd./NNNNNNNNNd/ .` // // `.:shmNNNNNNN./NNNNNmmmmmm- .+:` // // .+hmNNNNNNNNNNN.:NNNy:--...-` +y: // // -smNNNNNNNNNNNNNN..mmmo :yo` // // .yNNNNmmmNNNNNNNmmm. ``` +h` // // +mNmohyyy:hNNNosssyy` /sssyys. .` // // `smNN/dNNNm-yyyy:NNNNN. sNNNNNNy // // .s/hhsyNNNNNmmNNNNNNNNN.:dmmmNNNNNNNN/ .. // // `mNyhmNNNNNNNNNNNNNNNNNN./NNNNNNNNNNNNo +yo // // yNNNNNNNNNNNNNNNNNNNNNNN./NNNNNNNNNNNNo .NN/ // // .NNNNNNNNNNNNNNNNNNNNNNNN./NNNNNNNNNNNN+ yNd // // :hNNNNNNNNNNNNNNNNNNNNNNNN./NNNNNNNNNNNN. :NN. // // +NNNNNNNNNNNmdhhhhhdmmNNNNN./NNNhyoo++//: `NN/ // // /NNNNNNNNmy/-`` `.-/dNNN./NNo dNs // // `oddNNNNNm/`.-://:-` `+mNNN./Nd` `.:::-` sNh // // shmhhNNNNNsshmNNNNNNds-yNNNNN./N- .ohNNNmmh oNh-+:- // // :yNNNNNNNNNNNNNNNNNNNNNNNNNNN./m` /mmds/:--. oNd+odh // // +hyNNNNNNNNNNNNNNNNNNNNNNNNNN./No :h+:/shdmmdho. /NoyNNy // // dNdhNNNNNNNNNNNNNNNNNNNNNNNNN./NN/ ..yNNNNNNNNNNN/ /NmddNy // // :NNNNNNNNmo-+yhhyysso+:`sNNNNN./NNN:`.-/ossyyyyss+` yNN.:Nd // // .dNNNNNNNNNo. ```` .`+NNNNNN./NNNm/ohs+/-. +NNN. oN` // // :hNNdNNNNNNNmhso+++ssodNNNNNNd`-mNNNNs:yNNdhyssossyy+NNm/. -N` // // `mNNdNNNNNNNNNNNNmhydNNNNNNNho`.odNNNNdo/smNNNNNNNNNNNNNssymh // // :hmmdNNNNNNNNNNNNNNNNNNNNNNNN./NNNNNNNNmho+sshdNNNNNNNNy+my. // // `../NNNNNNNNNNNNNNNNNNNNNNNN./NNNNNNNNNNNmddhdNNNsdNNN...` // // -NNNNNNNNNNNNNNNNNNNNNNNN./NNNNNNNNNNNNNNNmmh/ sNNm // // `mNNNNNNNNNNNNNNNNNNNNNNN./NNNNNNmhs+/::---. +NNy // // oNNNNNNNNNNNNNNNNNNNNNmd.:dmmNms- oNN: // // `mNNNNNNNNNNNNNNNNNNNdys`.+/-/- yNh // // :NNNNNNNNNNNNNNNNNNNNNN.:h- -Nd. // // /dhNNNNNNNNNNNNNNNNNNN.` :mh. // // -h+sNNNNNNNNNNNNNNNNN. .sm/ // // `sy:/hNNNNNNNNNNNNNN. .smo` // // .sy/-odNNNNNNNNNNN. -yh+` // // `/ys/:odNNNNNNNN. -oyo-` // // `-oys+/odNNNNN. `:oys:` // // `.+ssooshdm. `-/ss+-` // // `-/osyy`-ss+:.` // // `.. `. // // // // // // // ////////////////////////////////////////////////////////////////////////////////////////////////////// import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./ERC721.sol"; import "./WithdrawFairly.sol"; contract Soulware is ERC721, Ownable, WithdrawFairly { uint256 public constant RESERVE_NFT = 1; uint256 public constant START_AT = 1; uint256 public constant HASH_SIGN = 98545; int16 public constant MAX_FREE = 505; int8 public constant MAX_TRUE = 3; int8 public constant MAX_CERT = 6; struct Sale { uint64 start; uint64 end; int16 maxPerWallet; uint8 maxPerTx; uint256 price; bool paused; } mapping(string => mapping(address => uint16)) balanceSale; struct AutoBurn{ uint64 start; uint16 fastBurnedMax; uint32 fastBurnDuration; uint16 slowBurnedMax; uint32 slowBurnDuration; uint16 maxBurned; uint16 maxSupply; } string public baseTokenURI; AutoBurn public autoBurn; IERC721 public originAddress; address public signAddress; uint16 public totalMintTracked; uint16 public reservedTracked; uint16 public mintTracked; uint16 public freeTracked; uint16 public burnedTracker; mapping(string => Sale) public sales; mapping(uint256 => bool) private signatureIds; mapping(uint16 => bool) public freeClaimOriginIds; event EventSaleChange(string _name, Sale _sale); event EventMint(uint256 _token); constructor(string memory baseURI, address _originAddress, address _signAddress) ERC721("Soulware", "SW") WithdrawFairly() { setBaseURI(baseURI); setOriginAddress(_originAddress); setSignAddress(_signAddress); setSale("PRESALES", Sale(1639166400, 1639252799, MAX_CERT, 6, 0.075 ether, false)); setSale("PUBLIC", Sale(1639252800, 1954699200, -1, 5, 0.08 ether, false)); setSale("FREE", Sale(1639339200, 1639425599, MAX_FREE, 15,0 ether, false)); setAutoBurn(AutoBurn(1639252920, 1500, 3 hours, 3450, 7 days, 4950, 9902)); } //******************************************************// // Modifier // //******************************************************// modifier isOpen(string memory _name, uint8 _count){ require(saleIsOpen(_name), "Sale not open"); if(bytes(_name).length == bytes("FREE").length){ require(int16(freeTracked) <= MAX_FREE, "SoldOut!"); }else{ require(publicMinted() + uint16(_count) <= uint16(maxSupply(0)), "SoldOut!"); } require(_count <= sales[_name].maxPerTx, "Max per tx limit"); require(msg.value >= sales[_name].price * _count, "Value limit"); if(sales[_name].maxPerWallet > -1){ require(int16(balanceSale[_name][_msgSender()] + uint16(_count)) <= int16(sales[_name].maxPerWallet), "Max per wallet limit"); balanceSale[_name][_msgSender()] += uint16(_count); } _; } //******************************************************// // Sales logic // //******************************************************// function setSale(string memory _name, Sale memory _sale) public onlyOwner{ sales[_name] = _sale; emit EventSaleChange(_name, _sale); } function pauseSale(string memory _name, bool _pause) public onlyOwner{ sales[_name].paused = _pause; } function saleIsOpen(string memory _name) public view returns(bool){ return sales[_name].start > 0 && block.timestamp >= sales[_name].start && block.timestamp <= sales[_name].end && !sales[_name].paused; } //******************************************************// // Mint // //******************************************************// function preSalesMint(uint8 _count, bool _isCert, uint256 _signatureId, bytes memory _signature) public payable isOpen("PRESALES", _count) { address wallet = _msgSender(); if(!_isCert){ require(int16(balanceSale["PRESALES"][wallet]) <= int16(MAX_TRUE), "Max per wallet limit (PRESALES)"); } require(signatureIds[_signatureId] == false, "Signature already used"); require(checkSignature(wallet, _isCert, _count, _signatureId, _signature) == signAddress, "Signature error : bad owner"); signatureIds[_signatureId] = true; _mintTokens(_count); } function publicSalesMint(uint8 _count) public payable isOpen("PUBLIC", _count) { _mintTokens(_count); } function freeSalesMint(uint16[] memory _originIds) public payable isOpen("FREE", uint8(_originIds.length * 5)) { for(uint8 i = 0; i < _originIds.length; i++){ require(originAddress.ownerOf(_originIds[i]) == _msgSender(), "Not owner of this Origin"); require(freeClaimOriginIds[_originIds[i]] == false, "Origin already claim"); freeClaimOriginIds[_originIds[i]] = true; for(uint8 k = 0; k < 5; k++){ freeTracked += 1; _mintToken(reservedTracked + freeTracked); } } } function reserve(uint16 _count) public onlyOwner { require(reservedTracked + _count <= RESERVE_NFT, "Exceeded RESERVE_NFT"); for (uint16 i = 0; i < _count; i++) { reservedTracked += 1; _mintToken(reservedTracked); } } function mintNotClaimTokens(uint16 _count) public onlyOwner{ require(!saleIsOpen("FREE"), "Free claim is still open"); for (uint16 i = 0; i < _count; i++) { freeTracked += 1; _mintToken(reservedTracked + freeTracked); } } function _mintToken(uint16 _tokenId) private { totalMintTracked += 1; _safeMint(_msgSender(), _tokenId); emit EventMint(_tokenId); } function _mintTokens(uint8 _count) private { for(uint8 i = 0; i < _count; i++){ mintTracked += 1; _mintToken(reservedTracked + uint16(MAX_FREE) + mintTracked); } } function checkSignature(address _wallet, bool _isCert, uint256 _count, uint256 _signatureId, bytes memory _signature) public pure returns(address){ return ECDSA.recover(keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", keccak256(abi.encode(_wallet, _isCert, _count, _signatureId, HASH_SIGN)))), _signature); } //******************************************************// // Setters // //******************************************************// function setOriginAddress(address _originAddress) public onlyOwner{ originAddress = IERC721(_originAddress); } function setSignAddress(address _signAddress) public onlyOwner{ signAddress = _signAddress; } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function setAutoBurn(AutoBurn memory _autoBurn) public onlyOwner { autoBurn = _autoBurn; } //******************************************************// // Getters // //******************************************************// function maxSupply(uint256 _timestamp) public view returns(uint256){ uint256 timestamp = _timestamp > 0 ? _timestamp : block.timestamp; if(timestamp < autoBurn.start) { return autoBurn.maxSupply; } unchecked{ uint256 fastStart = uint256(autoBurn.start); uint256 fastBurnDuration = uint256(autoBurn.fastBurnDuration); uint256 slowStart = fastStart + fastBurnDuration; uint256 slowBurnDuration = uint256(autoBurn.slowBurnDuration); uint256 maxBurned = uint256(autoBurn.maxBurned); uint256 fastDuration = _min(timestamp, fastStart + fastBurnDuration) - fastStart; uint256 slowDuration = _min(timestamp, slowStart + slowBurnDuration) - slowStart; slowDuration = timestamp >= slowStart ? slowDuration : 0; uint256 burned = fastDuration * ((uint256(autoBurn.fastBurnedMax) * 1000 / fastBurnDuration) + 1) / 1000; burned += slowDuration * ((uint256(autoBurn.slowBurnedMax) * 1000 / slowBurnDuration) + 1) / 1000; if(burned > maxBurned){ burned = maxBurned; } return _max(totalMintTracked, autoBurn.maxSupply - uint16(burned)); } } function totalSupply() public view returns (uint256) { return totalMintTracked - burnedTracker; } function publicMinted() public view returns (uint16) { return reservedTracked + uint16(MAX_FREE) + mintTracked; } function price(string memory _name, uint256 _count) public view returns(uint256){ return sales[_name].price * _count; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function walletOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256 key = 0; uint256[] memory tokensId = new uint256[](tokenCount); if(tokenCount == 0) return tokensId; for (uint256 i = START_AT; i <= autoBurn.maxSupply; i++) { if(rawOwnerOf(i) == _owner){ tokensId[key] = i; key++; if(key == tokenCount){break;} } } return tokensId; } function minted(string memory _name, address _wallet ) public view returns(uint16){ return balanceSale[_name][_wallet]; } function isFreeClaimed(uint16 _tokenId) public view returns (bool){ return freeClaimOriginIds[_tokenId]; } function _max(uint256 a, uint256 b) private pure returns (uint256){ return a < b ? b : a; } function _min(uint256 a, uint256 b) private pure returns (uint256){ return a > b ? b : a; } //******************************************************// // Burn // //******************************************************// function burn(uint256 tokenId) public virtual { require(_isApprovedOrOwner(_msgSender(), tokenId), "Not owner nor approved"); burnedTracker += 1; _burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; 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/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev Edit for rawOwnerOf token */ function rawOwnerOf(uint256 tokenId) public view returns (address) { return _owners[tokenId]; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); address to = address(0); _beforeTokenTransfer(owner, to, tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, to, tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract WithdrawFairly is Ownable { using SafeMath for uint256; struct Part { address wallet; uint256 salePart; uint256 royaltiesPart; } Part[] public parts; constructor(){ parts.push(Part(0x82acCD007449E15dD8566D8199B8C9593403517b, 225, 150)); parts.push(Part(0x65720Bb1f5d0bAD279e6fb3e03B116771D0321FC, 350, 375)); parts.push(Part(0x69F3c8695CCC7c77EdaA9459d9Dbc9A444Cf3c5b, 85, 120)); parts.push(Part(0x7E0EDC5639b84E5F2072c968f5c424e2b58A5A1A, 140, 60)); parts.push(Part(0x6Ce8c889412944b083D6Ace0c6FffA728a842Fec, 35, 15)); parts.push(Part(0x2E07aB79A8B8F0D23CaC8431a34a1b2e42c2E24b, 105, 150)); parts.push(Part(0x6c0b5f8B9BdB8fB206Da7Cd7E6B16b9dB14B60e2, 50, 120)); parts.push(Part(0xccd4f2fe73e7E4757C58F23f0Dd4cdC63082BD54, 10, 10)); } function shareSalesPart() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "Sales Balance = 0"); for(uint8 i = 0; i < parts.length; i++){ if(parts[i].salePart > 0){ _withdraw(parts[i].wallet, balance.mul(parts[i].salePart).div(1000)); } } _withdraw(owner(), address(this).balance); } function shareRoyaltiesPart() public onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "Contract Balance = 0"); for(uint8 i = 0; i < parts.length; i++){ if(parts[i].royaltiesPart > 0){ _withdraw(parts[i].wallet, balance.mul(parts[i].royaltiesPart).div(1000)); } } _withdraw(owner(), address(this).balance); } function _withdraw(address _address, uint256 _amount) private { (bool success, ) = _address.call{value: _amount}(""); require(success, "Transfer failed."); } receive() external payable {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return recover(hash, r, vs); } else { revert("ECDSA: invalid signature length"); } } /** * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require( uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value" ); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// 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; } } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 1500 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_originAddress","type":"address"},{"internalType":"address","name":"_signAddress","type":"address"}],"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":false,"internalType":"uint256","name":"_token","type":"uint256"}],"name":"EventMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_name","type":"string"},{"components":[{"internalType":"uint64","name":"start","type":"uint64"},{"internalType":"uint64","name":"end","type":"uint64"},{"internalType":"int16","name":"maxPerWallet","type":"int16"},{"internalType":"uint8","name":"maxPerTx","type":"uint8"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"}],"indexed":false,"internalType":"struct Soulware.Sale","name":"_sale","type":"tuple"}],"name":"EventSaleChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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"},{"inputs":[],"name":"HASH_SIGN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_CERT","outputs":[{"internalType":"int8","name":"","type":"int8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE","outputs":[{"internalType":"int16","name":"","type":"int16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TRUE","outputs":[{"internalType":"int8","name":"","type":"int8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVE_NFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_AT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoBurn","outputs":[{"internalType":"uint64","name":"start","type":"uint64"},{"internalType":"uint16","name":"fastBurnedMax","type":"uint16"},{"internalType":"uint32","name":"fastBurnDuration","type":"uint32"},{"internalType":"uint16","name":"slowBurnedMax","type":"uint16"},{"internalType":"uint32","name":"slowBurnDuration","type":"uint32"},{"internalType":"uint16","name":"maxBurned","type":"uint16"},{"internalType":"uint16","name":"maxSupply","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnedTracker","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"bool","name":"_isCert","type":"bool"},{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"uint256","name":"_signatureId","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"checkSignature","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"freeClaimOriginIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_originIds","type":"uint16[]"}],"name":"freeSalesMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"freeTracked","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[{"internalType":"uint16","name":"_tokenId","type":"uint16"}],"name":"isFreeClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_count","type":"uint16"}],"name":"mintNotClaimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintTracked","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_wallet","type":"address"}],"name":"minted","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"originAddress","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"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":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"parts","outputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint256","name":"salePart","type":"uint256"},{"internalType":"uint256","name":"royaltiesPart","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"bool","name":"_pause","type":"bool"}],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_count","type":"uint8"},{"internalType":"bool","name":"_isCert","type":"bool"},{"internalType":"uint256","name":"_signatureId","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"preSalesMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMinted","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_count","type":"uint8"}],"name":"publicSalesMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"rawOwnerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_count","type":"uint16"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedTracked","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","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":"string","name":"_name","type":"string"}],"name":"saleIsOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"sales","outputs":[{"internalType":"uint64","name":"start","type":"uint64"},{"internalType":"uint64","name":"end","type":"uint64"},{"internalType":"int16","name":"maxPerWallet","type":"int16"},{"internalType":"uint8","name":"maxPerTx","type":"uint8"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint64","name":"start","type":"uint64"},{"internalType":"uint16","name":"fastBurnedMax","type":"uint16"},{"internalType":"uint32","name":"fastBurnDuration","type":"uint32"},{"internalType":"uint16","name":"slowBurnedMax","type":"uint16"},{"internalType":"uint32","name":"slowBurnDuration","type":"uint32"},{"internalType":"uint16","name":"maxBurned","type":"uint16"},{"internalType":"uint16","name":"maxSupply","type":"uint16"}],"internalType":"struct Soulware.AutoBurn","name":"_autoBurn","type":"tuple"}],"name":"setAutoBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_originAddress","type":"address"}],"name":"setOriginAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"components":[{"internalType":"uint64","name":"start","type":"uint64"},{"internalType":"uint64","name":"end","type":"uint64"},{"internalType":"int16","name":"maxPerWallet","type":"int16"},{"internalType":"uint8","name":"maxPerTx","type":"uint8"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bool","name":"paused","type":"bool"}],"internalType":"struct Soulware.Sale","name":"_sale","type":"tuple"}],"name":"setSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signAddress","type":"address"}],"name":"setSignAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareRoyaltiesPart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareSalesPart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintTracked","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162005cea38038062005cea833981016040819052620000349162000cb4565b6040805180820182526008815267536f756c7761726560c01b602080830191825283518085019094526002845261535760f01b9084015281519192916200007e9160009162000ba8565b5080516200009490600190602084019062000ba8565b505050620000b1620000ab620007ae60201b60201c565b620007b2565b600760405180606001604052807382accd007449e15dd8566d8199b8c9593403517b6001600160a01b0316815260200160e181526020016096815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010155604082015181600201555050600760405180606001604052807365720bb1f5d0bad279e6fb3e03b116771d0321fc6001600160a01b0316815260200161015e8152602001610177815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010155604082015181600201555050600760405180606001604052807369f3c8695ccc7c77edaa9459d9dbc9a444cf3c5b6001600160a01b03168152602001605581526020016078815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015560408201518160020155505060076040518060600160405280737e0edc5639b84e5f2072c968f5c424e2b58a5a1a6001600160a01b03168152602001608c8152602001603c815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015560408201518160020155505060076040518060600160405280736ce8c889412944b083d6ace0c6fffa728a842fec6001600160a01b0316815260200160238152602001600f815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015560408201518160020155505060076040518060600160405280732e07ab79a8b8f0d23cac8431a34a1b2e42c2e24b6001600160a01b03168152602001606981526020016096815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015560408201518160020155505060076040518060600160405280736c0b5f8b9bdb8fb206da7cd7e6b16b9db14b60e26001600160a01b03168152602001603281526020016078815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550602082015181600101556040820151816002015550506007604051806060016040528073ccd4f2fe73e7e4757c58f23f0dd4cdc63082bd546001600160a01b03168152602001600a8152602001600a815250908060018154018082558091505060019003906000526020600020906003020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506020820151816001015560408201518160020155505062000604836200080460201b60201c565b6200060f826200086c565b6200061a81620008d9565b604080518082018252600881526750524553414c455360c01b602080830191909152825160c0810184526361b3b1c081526361b5033f918101919091526006928101839052606081019290925267010a741a462780006080830152600060a0830152620006879162000946565b60408051808201825260068152655055424c494360d01b602080830191909152825160c0810184526361b50340815263748257c091810191909152600019928101929092526005606083015267011c37937e0800006080830152600060a0830152620006f39162000946565b60408051808201825260048152634652454560e01b602080830191909152825160c0810184526361b654c081526361b7a63f918101919091526101f992810192909252600f606083015260006080830181905260a0830152620007569162000946565b6040805160e0810182526361b503b881526105dc6020820152612a3091810191909152610d7a606082015262093a80608082015261135660a08201526126ae60c0820152620007a59062000a88565b50505062000e75565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03163314620008535760405162461bcd60e51b8152602060048201819052602482015260008051602062005cca83398151915260448201526064015b60405180910390fd5b80516200086890600990602084019062000ba8565b5050565b6006546001600160a01b03163314620008b75760405162461bcd60e51b8152602060048201819052602482015260008051602062005cca83398151915260448201526064016200084a565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314620009245760405162461bcd60e51b8152602060048201819052602482015260008051602062005cca83398151915260448201526064016200084a565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314620009915760405162461bcd60e51b8152602060048201819052602482015260008051602062005cca83398151915260448201526064016200084a565b80600d83604051620009a4919062000d93565b908152604080519182900360209081018320845181549286015193860151606087015160ff16600160901b0260ff60901b1961ffff909216600160801b029190911662ffffff60801b196001600160401b0396871668010000000000000000026001600160801b031990961696909316959095179390931716929092171781556080830151600182015560a0909201516002909201805492151560ff19909316929092179091557ffb31df2ce2b2b740f8fb39d618d9828a7cbe8ab00d233ac24e9b200d65b1c9819062000a7c908490849062000db1565b60405180910390a15050565b6006546001600160a01b0316331462000ad35760405162461bcd60e51b8152602060048201819052602482015260008051602062005cca83398151915260448201526064016200084a565b8051600a8054602084015160408501516060860151608087015160a088015160c0909801516001600160401b039097166001600160501b0319909516949094176801000000000000000061ffff948516021765ffffffffffff60501b19166a010000000000000000000063ffffffff9384160261ffff60701b191617600160701b918416919091021765ffffffffffff60801b1916600160801b919093160261ffff60a01b191691909117600160a01b948216949094029390931761ffff60b01b1916600160b01b9390921692909202179055565b82805462000bb69062000e38565b90600052602060002090601f01602090048101928262000bda576000855562000c25565b82601f1062000bf557805160ff191683800117855562000c25565b8280016001018555821562000c25579182015b8281111562000c2557825182559160200191906001019062000c08565b5062000c3392915062000c37565b5090565b5b8082111562000c33576000815560010162000c38565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000c8157818101518382015260200162000c67565b8381111562000c91576000848401525b50505050565b80516001600160a01b038116811462000caf57600080fd5b919050565b60008060006060848603121562000cca57600080fd5b83516001600160401b038082111562000ce257600080fd5b818601915086601f83011262000cf757600080fd5b81518181111562000d0c5762000d0c62000c4e565b604051601f8201601f19908116603f0116810190838211818310171562000d375762000d3762000c4e565b8160405282815289602084870101111562000d5157600080fd5b62000d6483602083016020880162000c64565b809750505050505062000d7a6020850162000c97565b915062000d8a6040850162000c97565b90509250925092565b6000825162000da781846020870162000c64565b9190910192915050565b60e08152600083518060e084015261010062000dd4828286016020890162000c64565b80601f19601f8401168501019250505060018060401b0380845116602084015280602085015116604084015250604083015160010b606083015260ff6060840151166080830152608083015160a083015260a0830151151560c08301529392505050565b600181811c9082168062000e4d57607f821691505b6020821081141562000e6f57634e487b7160e01b600052602260045260246000fd5b50919050565b614e458062000e856000396000f3fe6080604052600436106103855760003560e01c8063715018a6116101d1578063a63b91f411610102578063d547cfb7116100a0578063ed6661c21161006f578063ed6661c214610b41578063f2fde38b14610b6a578063f96195d614610b8a578063fbb37cf214610baa57600080fd5b8063d547cfb714610a8f578063dd0a315214610aa4578063e517fedd14610ad8578063e985e9c514610af857600080fd5b8063bf7b766d116100dc578063bf7b766d1461081e578063c87b56dd14610a0a578063c9eb466214610a2a578063d052a17a14610a6f57600080fd5b8063a63b91f4146108ee578063a8ece624146109ba578063b88d4fde146109ea57600080fd5b80638da5cb5b1161016f578063a22cb46511610149578063a22cb46514610879578063a3a9c52e14610899578063a44826b1146108b9578063a4f4f8af146108d957600080fd5b80638da5cb5b1461083357806395d89b41146108515780639e459f671461086657600080fd5b80637f81be69116101ab5780637f81be69146107a8578063869f7594146107de5780638b167178146107fe5780638d007f691461081e57600080fd5b8063715018a61461076d57806375de5295146107825780637ede21fc1461079557600080fd5b80631f0808d4116102b6578063438b63001161025457806355f804b31161022357806355f804b3146106eb5780636352211e1461070b57806368fb5c111461072b57806370a082311461074d57600080fd5b8063438b63001461066557806344ee1d8a1461069257806346002b06146106b45780634828bd20146106c957600080fd5b806340f9bbe21161029057806340f9bbe2146105ee578063427b34b31461060357806342842e0e1461062557806342966c681461064557600080fd5b80631f0808d41461059757806323b872dd146105b7578063320d9cc1146105d757600080fd5b80631513704511610323578063182e0e95116102fd578063182e0e9514610502578063194944db1461052257806319b989a0146105425780631c70da3d1461056257600080fd5b806315137045146104aa578063175671c8146104ca57806318160ddd146104df57600080fd5b80630682bdbc1161035f5780630682bdbc1461041057806306fdde0314610448578063081812fc1461046a578063095ea7b31461048a57600080fd5b806301cacbc81461039157806301ffc9a7146103b357806303a3baca146103e857600080fd5b3661038c57005b600080fd5b34801561039d57600080fd5b506103b16103ac3660046144cb565b610c6c565b005b3480156103bf57600080fd5b506103d36103ce3660046145a5565b610e0b565b60405190151581526020015b60405180910390f35b3480156103f457600080fd5b506103fd600681565b60405160009190910b81526020016103df565b34801561041c57600080fd5b50600c54610430906001600160a01b031681565b6040516001600160a01b0390911681526020016103df565b34801561045457600080fd5b5061045d610ea8565b6040516103df919061461a565b34801561047657600080fd5b5061043061048536600461462d565b610f3a565b34801561049657600080fd5b506103b16104a536600461465b565b610fe0565b3480156104b657600080fd5b506103b16104c5366004614687565b611112565b3480156104d657600080fd5b506103fd600381565b3480156104eb57600080fd5b506104f461118e565b6040519081526020016103df565b34801561050e57600080fd5b506103b161051d366004614687565b6111bb565b34801561052e57600080fd5b506103d361053d3660046146a4565b611237565b34801561054e57600080fd5b506104f461055d3660046146d9565b611310565b34801561056e57600080fd5b50600c5461058490600160d01b900461ffff1681565b60405161ffff90911681526020016103df565b3480156105a357600080fd5b506103b16105b2366004614730565b611346565b3480156105c357600080fd5b506103b16105d236600461474b565b61148a565b3480156105e357600080fd5b506104f4620180f181565b3480156105fa57600080fd5b506103b1611512565b34801561060f57600080fd5b50600c5461058490600160e01b900461ffff1681565b34801561063157600080fd5b506103b161064036600461474b565b6116b4565b34801561065157600080fd5b506103b161066036600461462d565b6116cf565b34801561067157600080fd5b50610685610680366004614687565b611767565b6040516103df919061478c565b34801561069e57600080fd5b50600c5461058490600160a01b900461ffff1681565b3480156106c057600080fd5b506103b1611857565b3480156106d557600080fd5b50600c5461058490600160b01b900461ffff1681565b3480156106f757600080fd5b506103b16107063660046146a4565b6119cf565b34801561071757600080fd5b5061043061072636600461462d565b611a3c565b34801561073757600080fd5b50600c5461058490600160c01b900461ffff1681565b34801561075957600080fd5b506104f4610768366004614687565b611ac7565b34801561077957600080fd5b506103b1611b61565b6103b16107903660046147d0565b611bc7565b6103b16107a33660046147eb565b611f86565b3480156107b457600080fd5b506104306107c336600461462d565b6000908152600260205260409020546001600160a01b031690565b3480156107ea57600080fd5b506104f46107f936600461462d565b6125b1565b34801561080a57600080fd5b50610584610819366004614898565b61272e565b34801561082a57600080fd5b506104f4600181565b34801561083f57600080fd5b506006546001600160a01b0316610430565b34801561085d57600080fd5b5061045d612773565b6103b16108743660046148ea565b612782565b34801561088557600080fd5b506103b1610894366004614952565b612ce2565b3480156108a557600080fd5b506103b16108b4366004614730565b612da7565b3480156108c557600080fd5b506104306108d4366004614987565b612ef6565b3480156108e557600080fd5b50610584612fa3565b3480156108fa57600080fd5b50600a5461096c9067ffffffffffffffff81169061ffff68010000000000000000820481169163ffffffff6a010000000000000000000082048116926e0100000000000000000000000000008304811692600160801b810490921691600160a01b8104821691600160b01b9091041687565b6040805167ffffffffffffffff909816885261ffff968716602089015263ffffffff9586169088015292851660608701529216608085015290821660a08401521660c082015260e0016103df565b3480156109c657600080fd5b506103d36109d5366004614730565b600f6020526000908152604090205460ff1681565b3480156109f657600080fd5b506103b1610a053660046149fb565b612fda565b348015610a1657600080fd5b5061045d610a2536600461462d565b613062565b348015610a3657600080fd5b50610a4a610a4536600461462d565b61314a565b604080516001600160a01b0390941684526020840192909252908201526060016103df565b348015610a7b57600080fd5b506103b1610a8a366004614a2c565b613187565b348015610a9b57600080fd5b5061045d613219565b348015610ab057600080fd5b506103d3610abf366004614730565b61ffff166000908152600f602052604090205460ff1690565b348015610ae457600080fd5b50600b54610430906001600160a01b031681565b348015610b0457600080fd5b506103d3610b13366004614a71565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610b4d57600080fd5b50610b576101f981565b60405160019190910b81526020016103df565b348015610b7657600080fd5b506103b1610b85366004614687565b6132a7565b348015610b9657600080fd5b506103b1610ba5366004614ab3565b613386565b348015610bb657600080fd5b50610c25610bc53660046146a4565b8051602081830181018051600d825292820191909301209152805460018083015460029093015467ffffffffffffffff8084169468010000000000000000850490911693600160801b810490930b92600160901b900460ff908116921686565b6040805167ffffffffffffffff978816815296909516602087015260019390930b9385019390935260ff1660608401526080830191909152151560a082015260c0016103df565b6006546001600160a01b03163314610ccb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b80600d83604051610cdc9190614b63565b908152604080519182900360209081018320845181549286015193860151606087015160ff16600160901b027fffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffff61ffff909216600160801b02919091167fffffffffffffffffffffffffff000000ffffffffffffffffffffffffffffffff67ffffffffffffffff96871668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090961696909316959095179390931716929092171781556080830151600182015560a0909201516002909201805492151560ff19909316929092179091557ffb31df2ce2b2b740f8fb39d618d9828a7cbe8ab00d233ac24e9b200d65b1c98190610dff9084908490614b7f565b60405180910390a15050565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610e6e57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610ea257507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060008054610eb790614bea565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee390614bea565b8015610f305780601f10610f0557610100808354040283529160200191610f30565b820191906000526020600020905b815481529060010190602001808311610f1357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610fc45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610cc2565b506000908152600460205260409020546001600160a01b031690565b6000610feb82611a3c565b9050806001600160a01b0316836001600160a01b031614156110755760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610cc2565b336001600160a01b038216148061109157506110918133610b13565b6111035760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cc2565b61110d8383613553565b505050565b6006546001600160a01b0316331461116c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600c546000906111b29061ffff600160e01b8204811691600160a01b900416614c35565b61ffff16905090565b6006546001600160a01b031633146112155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600080600d8360405161124a9190614b63565b9081526040519081900360200190205467ffffffffffffffff1611801561129a5750600d8260405161127c9190614b63565b9081526040519081900360200190205467ffffffffffffffff164210155b80156112dc5750600d826040516112b19190614b63565b9081526040519081900360200190205467ffffffffffffffff68010000000000000000909104164211155b8015610ea25750600d826040516112f39190614b63565b9081526040519081900360200190206002015460ff161592915050565b600081600d846040516113239190614b63565b90815260200160405180910390206001015461133f9190614c58565b9392505050565b6006546001600160a01b031633146113a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b600c546001906113bc908390600160b01b900461ffff16614c77565b61ffff16111561140e5760405162461bcd60e51b815260206004820152601460248201527f457863656564656420524553455256455f4e46540000000000000000000000006044820152606401610cc2565b60005b8161ffff168161ffff161015611486576001600c60168282829054906101000a900461ffff166114419190614c77565b92506101000a81548161ffff021916908361ffff160217905550611474600c60169054906101000a900461ffff166135c1565b8061147e81614c9d565b915050611411565b5050565b611495335b82613649565b6115075760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cc2565b61110d838383613751565b6006546001600160a01b0316331461156c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b47806115ba5760405162461bcd60e51b815260206004820152601160248201527f53616c65732042616c616e6365203d20300000000000000000000000000000006044820152606401610cc2565b60005b60075460ff8216101561169557600060078260ff16815481106115e2576115e2614cbf565b90600052602060002090600302016001015411156116835761168360078260ff168154811061161357611613614cbf565b906000526020600020906003020160000160009054906101000a90046001600160a01b031661167e6103e861167860078660ff168154811061165757611657614cbf565b9060005260206000209060030201600101548761391e90919063ffffffff16565b9061392a565b613936565b8061168d81614cd5565b9150506115bd565b506116b16116ab6006546001600160a01b031690565b47613936565b50565b61110d83838360405180602001604052806000815250612fda565b6116d83361148f565b6117245760405162461bcd60e51b815260206004820152601660248201527f4e6f74206f776e6572206e6f7220617070726f766564000000000000000000006044820152606401610cc2565b6001600c601c8282829054906101000a900461ffff166117449190614c77565b92506101000a81548161ffff021916908361ffff1602179055506116b1816139d9565b6060600061177483611ac7565b90506000808267ffffffffffffffff811115611792576117926143ad565b6040519080825280602002602001820160405280156117bb578160200160208202803683370190505b509050826117cb57949350505050565b60015b600a54600160b01b900461ffff16811161184e576000818152600260205260409020546001600160a01b038781169116141561183c578082848151811061181757611817614cbf565b60209081029190910101528261182c81614cf5565b9350508383141561183c5761184e565b8061184681614cf5565b9150506117ce565b50949350505050565b6006546001600160a01b031633146118b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b47806118ff5760405162461bcd60e51b815260206004820152601460248201527f436f6e74726163742042616c616e6365203d20300000000000000000000000006044820152606401610cc2565b60005b60075460ff8216101561169557600060078260ff168154811061192757611927614cbf565b90600052602060002090600302016002015411156119bd576119bd60078260ff168154811061195857611958614cbf565b906000526020600020906003020160000160009054906101000a90046001600160a01b031661167e6103e861167860078660ff168154811061199c5761199c614cbf565b9060005260206000209060030201600201548761391e90919063ffffffff16565b806119c781614cd5565b915050611902565b6006546001600160a01b03163314611a295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b8051611486906009906020840190614314565b6000818152600260205260408120546001600160a01b031680610ea25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610cc2565b60006001600160a01b038216611b455760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610cc2565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314611bbb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b611bc56000613a79565b565b6040518060400160405280600681526020017f5055424c4943000000000000000000000000000000000000000000000000000081525081611c0782611237565b611c435760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610cc2565b604051806040016040528060048152602001634652454560e01b8152505182511415611cbc57600c546101f9600160d01b90910461ffff1660010b1315611cb75760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b611d1d565b611cc660006125b1565b61ffff168160ff16611cd6612fa3565b611ce09190614c77565b61ffff161115611d1d5760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b600d82604051611d2d9190614b63565b9081526040519081900360200190205460ff600160901b90910481169082161115611d9a5760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610cc2565b8060ff16600d83604051611dae9190614b63565b908152602001604051809103902060010154611dca9190614c58565b341015611e075760405162461bcd60e51b815260206004820152600b60248201526a15985b1d59481b1a5b5a5d60aa1b6044820152606401610cc2565b600019600d83604051611e1a9190614b63565b90815260405190819003602001902054600160801b900460010b1315611f7d57600d82604051611e4a9190614b63565b90815260405190819003602001812054600160801b900460010b9060ff831690600890611e78908690614b63565b90815260200160405180910390206000611e8f3390565b6001600160a01b03168152602081019190915260400160002054611eb7919061ffff16614c77565b60010b1315611f085760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610cc2565b8060ff16600883604051611f1c9190614b63565b90815260200160405180910390206000611f333390565b6001600160a01b03168152602081019190915260400160009081208054909190611f6290849061ffff16614c77565b92506101000a81548161ffff021916908361ffff1602179055505b61110d83613acb565b6040805180820190915260048152634652454560e01b60208201528151611fae906005614c58565b611fb782611237565b611ff35760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610cc2565b604051806040016040528060048152602001634652454560e01b815250518251141561206c57600c546101f9600160d01b90910461ffff1660010b13156120675760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b6120cd565b61207660006125b1565b61ffff168160ff16612086612fa3565b6120909190614c77565b61ffff1611156120cd5760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b600d826040516120dd9190614b63565b9081526040519081900360200190205460ff600160901b9091048116908216111561214a5760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610cc2565b8060ff16600d8360405161215e9190614b63565b90815260200160405180910390206001015461217a9190614c58565b3410156121b75760405162461bcd60e51b815260206004820152600b60248201526a15985b1d59481b1a5b5a5d60aa1b6044820152606401610cc2565b600019600d836040516121ca9190614b63565b90815260405190819003602001902054600160801b900460010b131561232d57600d826040516121fa9190614b63565b90815260405190819003602001812054600160801b900460010b9060ff831690600890612228908690614b63565b9081526020016040518091039020600061223f3390565b6001600160a01b03168152602081019190915260400160002054612267919061ffff16614c77565b60010b13156122b85760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610cc2565b8060ff166008836040516122cc9190614b63565b908152602001604051809103902060006122e33390565b6001600160a01b0316815260208101919091526040016000908120805490919061231290849061ffff16614c77565b92506101000a81548161ffff021916908361ffff1602179055505b60005b83518160ff1610156125ab57600b54845133916001600160a01b031690636352211e90879060ff861690811061236857612368614cbf565b60200260200101516040518263ffffffff1660e01b8152600401612396919061ffff91909116815260200190565b60206040518083038186803b1580156123ae57600080fd5b505afa1580156123c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e69190614d10565b6001600160a01b03161461243c5760405162461bcd60e51b815260206004820152601860248201527f4e6f74206f776e6572206f662074686973204f726967696e00000000000000006044820152606401610cc2565b600f6000858360ff168151811061245557612455614cbf565b60209081029190910181015161ffff1682528101919091526040016000205460ff16156124c45760405162461bcd60e51b815260206004820152601460248201527f4f726967696e20616c726561647920636c61696d0000000000000000000000006044820152606401610cc2565b6001600f6000868460ff16815181106124df576124df614cbf565b602002602001015161ffff1661ffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060005b60058160ff161015612598576001600c601a8282829054906101000a900461ffff166125439190614c77565b82546101009290920a61ffff818102199093169183160217909155600c54612586925061258191600160d01b8204811691600160b01b900416614c77565b6135c1565b8061259081614cd5565b915050612517565b50806125a381614cd5565b915050612330565b50505050565b600080600083116125c257426125c4565b825b600a5490915067ffffffffffffffff168110156125f0575050600a54600160b01b900461ffff16919050565b600a5467ffffffffffffffff81169063ffffffff6a0100000000000000000000820481169182840191600160801b8204169061ffff600160a01b9091041660008561263b8886613b5b565b03905060008461264d89868801613b5b565b0390508488101561265f576000612661565b805b600a549091506000906103e890889068010000000000000000900461ffff1682028161268f5761268f614d2d565b046001018402816126a2576126a2614d2d565b600a5491900491506103e89086906e010000000000000000000000000000900461ffff168202816126d5576126d5614d2d565b046001018302816126e8576126e8614d2d565b0401838111156126f55750825b600c54600a5461271f9161ffff600160a01b909104811691600160b01b9004811684900316613b70565b9b9a5050505050505050505050565b60006008836040516127409190614b63565b908152604080519182900360209081019092206001600160a01b0385166000908152925290205461ffff16905092915050565b606060018054610eb790614bea565b6040518060400160405280600881526020017f50524553414c4553000000000000000000000000000000000000000000000000815250846127c282611237565b6127fe5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610cc2565b604051806040016040528060048152602001634652454560e01b815250518251141561287757600c546101f9600160d01b90910461ffff1660010b13156128725760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b6128d8565b61288160006125b1565b61ffff168160ff16612891612fa3565b61289b9190614c77565b61ffff1611156128d85760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b600d826040516128e89190614b63565b9081526040519081900360200190205460ff600160901b909104811690821611156129555760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610cc2565b8060ff16600d836040516129699190614b63565b9081526020016040518091039020600101546129859190614c58565b3410156129c25760405162461bcd60e51b815260206004820152600b60248201526a15985b1d59481b1a5b5a5d60aa1b6044820152606401610cc2565b600019600d836040516129d59190614b63565b90815260405190819003602001902054600160801b900460010b1315612b3857600d82604051612a059190614b63565b90815260405190819003602001812054600160801b900460010b9060ff831690600890612a33908690614b63565b90815260200160405180910390206000612a4a3390565b6001600160a01b03168152602081019190915260400160002054612a72919061ffff16614c77565b60010b1315612ac35760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610cc2565b8060ff16600883604051612ad79190614b63565b90815260200160405180910390206000612aee3390565b6001600160a01b03168152602081019190915260400160009081208054909190612b1d90849061ffff16614c77565b92506101000a81548161ffff021916908361ffff1602179055505b3385612be6576040517f50524553414c45530000000000000000000000000000000000000000000000008152600390600890810190815260408051602092819003830190206001600160a01b0385166000908152925290205461ffff1660010b1315612be65760405162461bcd60e51b815260206004820152601f60248201527f4d6178207065722077616c6c6574206c696d6974202850524553414c455329006044820152606401610cc2565b6000858152600e602052604090205460ff1615612c455760405162461bcd60e51b815260206004820152601660248201527f5369676e617475726520616c72656164792075736564000000000000000000006044820152606401610cc2565b600c546001600160a01b0316612c61828860ff8b168989612ef6565b6001600160a01b031614612cb75760405162461bcd60e51b815260206004820152601b60248201527f5369676e6174757265206572726f72203a20626164206f776e657200000000006044820152606401610cc2565b6000858152600e60205260409020805460ff19166001179055612cd987613acb565b50505050505050565b6001600160a01b038216331415612d3b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cc2565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b03163314612e015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b612e26604051806040016040528060048152602001634652454560e01b815250611237565b15612e735760405162461bcd60e51b815260206004820152601860248201527f4672656520636c61696d206973207374696c6c206f70656e00000000000000006044820152606401610cc2565b60005b8161ffff168161ffff161015611486576001600c601a8282829054906101000a900461ffff16612ea69190614c77565b82546101009290920a61ffff818102199093169183160217909155600c54612ee4925061258191600160d01b8204811691600160b01b900416614c77565b80612eee81614c9d565b915050612e76565b604080516001600160a01b0387166020820152851515918101919091526060810184905260808101839052620180f160a0820152600090612f999060c00160408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c016040516020818303038152906040528051906020012083613b7f565b9695505050505050565b600c5460009061ffff600160c01b8204811691612fcb916101f991600160b01b900416614c77565b612fd59190614c77565b905090565b612fe43383613649565b6130565760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cc2565b6125ab84848484613c23565b6000818152600260205260409020546060906001600160a01b03166130ef5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610cc2565b60006130f9613cac565b90506000815111613119576040518060200160405280600081525061133f565b8061312384613cbb565b604051602001613134929190614d43565b6040516020818303038152906040529392505050565b6007818154811061315a57600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b6006546001600160a01b031633146131e15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b80600d836040516131f29190614b63565b908152604051908190036020019020600201805491151560ff199092169190911790555050565b6009805461322690614bea565b80601f016020809104026020016040519081016040528092919081815260200182805461325290614bea565b801561329f5780601f106132745761010080835404028352916020019161329f565b820191906000526020600020905b81548152906001019060200180831161328257829003601f168201915b505050505081565b6006546001600160a01b031633146133015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b6001600160a01b03811661337d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cc2565b6116b181613a79565b6006546001600160a01b031633146133e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b8051600a8054602084015160408501516060860151608087015160a088015160c09098015167ffffffffffffffff9097167fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000909516949094176801000000000000000061ffff94851602177fffffffffffffffffffffffffffffffff000000000000ffffffffffffffffffff166a010000000000000000000063ffffffff938416027fffffffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffff16176e01000000000000000000000000000091841691909102177fffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffff16600160801b91909316027fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff1691909117600160a01b94821694909402939093177fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff16600160b01b9390921692909202179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061358882611a3c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600c60148282829054906101000a900461ffff166135e19190614c77565b92506101000a81548161ffff021916908361ffff16021790555061360f6136053390565b8261ffff16613ded565b60405161ffff821681527fd52f684d5fe81c633b063a2e3975d7bcbea5aca6587537532a9803a2a19075589060200160405180910390a150565b6000818152600260205260408120546001600160a01b03166136d35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610cc2565b60006136de83611a3c565b9050806001600160a01b0316846001600160a01b031614806137195750836001600160a01b031661370e84610f3a565b6001600160a01b0316145b8061374957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661376482611a3c565b6001600160a01b0316146137e05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610cc2565b6001600160a01b03821661385b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610cc2565b613866600082613553565b6001600160a01b038316600090815260036020526040812080546001929061388f908490614d69565b90915550506001600160a01b03821660009081526003602052604081208054600192906138bd908490614d80565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061133f8284614c58565b600061133f8284614d98565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613983576040519150601f19603f3d011682016040523d82523d6000602084013e613988565b606091505b505090508061110d5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610cc2565b60006139e482611a3c565b905060006139f3600084613553565b6001600160a01b0382166000908152600360205260408120805460019290613a1c908490614d69565b909155505060008381526002602052604080822080546001600160a01b03191690555184916001600160a01b0384811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b8160ff168160ff161015611486576001600c60188282829054906101000a900461ffff16613afc9190614c77565b82546101009290920a61ffff818102199093169183160217909155600c54613b499250600160c01b8104821691613b3f916101f991600160b01b90910416614c77565b6125819190614c77565b80613b5381614cd5565b915050613ace565b6000818311613b6a578261133f565b50919050565b6000818310613b6a578261133f565b6000815160411415613bb35760208201516040830151606084015160001a613ba986828585613e07565b9350505050610ea2565b815160401415613bdb5760208201516040830151613bd2858383613fb0565b92505050610ea2565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610cc2565b613c2e848484613751565b613c3a84848484613fe9565b6125ab5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cc2565b606060098054610eb790614bea565b606081613cfb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613d255780613d0f81614cf5565b9150613d1e9050600a83614d98565b9150613cff565b60008167ffffffffffffffff811115613d4057613d406143ad565b6040519080825280601f01601f191660200182016040528015613d6a576020820181803683370190505b5090505b841561374957613d7f600183614d69565b9150613d8c600a86614dac565b613d97906030614d80565b60f81b818381518110613dac57613dac614cbf565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613de6600a86614d98565b9450613d6e565b611486828260405180602001604052806000815250614149565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115613e845760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610cc2565b8360ff16601b1480613e9957508360ff16601c145b613ef05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610cc2565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015613f44573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613fa75760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610cc2565b95945050505050565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821660ff83901c601b01612f9986828785613e07565b60006001600160a01b0384163b1561414157604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061402d903390899088908890600401614dc0565b602060405180830381600087803b15801561404757600080fd5b505af1925050508015614077575060408051601f3d908101601f1916820190925261407491810190614df2565b60015b614127573d8080156140a5576040519150601f19603f3d011682016040523d82523d6000602084013e6140aa565b606091505b50805161411f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cc2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613749565b506001613749565b61415383836141d2565b6141606000848484613fe9565b61110d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cc2565b6001600160a01b0382166142285760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cc2565b6000818152600260205260409020546001600160a01b03161561428d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cc2565b6001600160a01b03821660009081526003602052604081208054600192906142b6908490614d80565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461432090614bea565b90600052602060002090601f0160209004810192826143425760008555614388565b82601f1061435b57805160ff1916838001178555614388565b82800160010185558215614388579182015b8281111561438857825182559160200191906001019061436d565b50614394929150614398565b5090565b5b808211156143945760008155600101614399565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff811182821017156143e6576143e66143ad565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715614415576144156143ad565b604052919050565b600082601f83011261442e57600080fd5b813567ffffffffffffffff811115614448576144486143ad565b61445b601f8201601f19166020016143ec565b81815284602083860101111561447057600080fd5b816020850160208301376000918101602001919091529392505050565b803567ffffffffffffffff811681146144a557600080fd5b919050565b803560ff811681146144a557600080fd5b803580151581146144a557600080fd5b60008082840360e08112156144df57600080fd5b833567ffffffffffffffff8111156144f657600080fd5b6145028682870161441d565b93505060c0601f198201121561451757600080fd5b506145206143c3565b61452c6020850161448d565b815261453a6040850161448d565b602082015260608401358060010b811461455357600080fd5b6040820152614564608085016144aa565b606082015260a0840135608082015261457f60c085016144bb565b60a0820152809150509250929050565b6001600160e01b0319811681146116b157600080fd5b6000602082840312156145b757600080fd5b813561133f8161458f565b60005b838110156145dd5781810151838201526020016145c5565b838111156125ab5750506000910152565b600081518084526146068160208601602086016145c2565b601f01601f19169290920160200192915050565b60208152600061133f60208301846145ee565b60006020828403121561463f57600080fd5b5035919050565b6001600160a01b03811681146116b157600080fd5b6000806040838503121561466e57600080fd5b823561467981614646565b946020939093013593505050565b60006020828403121561469957600080fd5b813561133f81614646565b6000602082840312156146b657600080fd5b813567ffffffffffffffff8111156146cd57600080fd5b6137498482850161441d565b600080604083850312156146ec57600080fd5b823567ffffffffffffffff81111561470357600080fd5b61470f8582860161441d565b95602094909401359450505050565b803561ffff811681146144a557600080fd5b60006020828403121561474257600080fd5b61133f8261471e565b60008060006060848603121561476057600080fd5b833561476b81614646565b9250602084013561477b81614646565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b818110156147c4578351835292840192918401916001016147a8565b50909695505050505050565b6000602082840312156147e257600080fd5b61133f826144aa565b600060208083850312156147fe57600080fd5b823567ffffffffffffffff8082111561481657600080fd5b818501915085601f83011261482a57600080fd5b81358181111561483c5761483c6143ad565b8060051b915061484d8483016143ec565b818152918301840191848101908884111561486757600080fd5b938501935b8385101561488c5761487d8561471e565b8252938501939085019061486c565b98975050505050505050565b600080604083850312156148ab57600080fd5b823567ffffffffffffffff8111156148c257600080fd5b6148ce8582860161441d565b92505060208301356148df81614646565b809150509250929050565b6000806000806080858703121561490057600080fd5b614909856144aa565b9350614917602086016144bb565b925060408501359150606085013567ffffffffffffffff81111561493a57600080fd5b6149468782880161441d565b91505092959194509250565b6000806040838503121561496557600080fd5b823561497081614646565b915061497e602084016144bb565b90509250929050565b600080600080600060a0868803121561499f57600080fd5b85356149aa81614646565b94506149b8602087016144bb565b93506040860135925060608601359150608086013567ffffffffffffffff8111156149e257600080fd5b6149ee8882890161441d565b9150509295509295909350565b60008060008060808587031215614a1157600080fd5b8435614a1c81614646565b9350602085013561491781614646565b60008060408385031215614a3f57600080fd5b823567ffffffffffffffff811115614a5657600080fd5b614a628582860161441d565b92505061497e602084016144bb565b60008060408385031215614a8457600080fd5b8235614a8f81614646565b915060208301356148df81614646565b803563ffffffff811681146144a557600080fd5b600060e08284031215614ac557600080fd5b60405160e0810181811067ffffffffffffffff82111715614ae857614ae86143ad565b604052614af48361448d565b8152614b026020840161471e565b6020820152614b1360408401614a9f565b6040820152614b246060840161471e565b6060820152614b3560808401614a9f565b6080820152614b4660a0840161471e565b60a0820152614b5760c0840161471e565b60c08201529392505050565b60008251614b758184602087016145c2565b9190910192915050565b60e081526000614b9260e08301856145ee565b905067ffffffffffffffff80845116602084015280602085015116604084015250604083015160010b606083015260ff6060840151166080830152608083015160a083015260a0830151151560c08301529392505050565b600181811c90821680614bfe57607f821691505b60208210811415613b6a57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600061ffff83811690831681811015614c5057614c50614c1f565b039392505050565b6000816000190483118215151615614c7257614c72614c1f565b500290565b600061ffff808316818516808303821115614c9457614c94614c1f565b01949350505050565b600061ffff80831681811415614cb557614cb5614c1f565b6001019392505050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff811415614cec57614cec614c1f565b60010192915050565b6000600019821415614d0957614d09614c1f565b5060010190565b600060208284031215614d2257600080fd5b815161133f81614646565b634e487b7160e01b600052601260045260246000fd5b60008351614d558184602088016145c2565b835190830190614c948183602088016145c2565b600082821015614d7b57614d7b614c1f565b500390565b60008219821115614d9357614d93614c1f565b500190565b600082614da757614da7614d2d565b500490565b600082614dbb57614dbb614d2d565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612f9960808301846145ee565b600060208284031215614e0457600080fd5b815161133f8161458f56fea2646970667358221220601afe58ca87174ed468170763dab60818d1b5d50becdcdecb95e742c3651ba464736f6c634300080900334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000006000000000000000000000000061626feae0501e4d6bf00ec2df902e1505b337620000000000000000000000008dbc595035d597f923fd417ed84d288b6d0e2a32000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e736f756c7761726570726f6a6563742e636f6d2f736f756c776172652f0000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103855760003560e01c8063715018a6116101d1578063a63b91f411610102578063d547cfb7116100a0578063ed6661c21161006f578063ed6661c214610b41578063f2fde38b14610b6a578063f96195d614610b8a578063fbb37cf214610baa57600080fd5b8063d547cfb714610a8f578063dd0a315214610aa4578063e517fedd14610ad8578063e985e9c514610af857600080fd5b8063bf7b766d116100dc578063bf7b766d1461081e578063c87b56dd14610a0a578063c9eb466214610a2a578063d052a17a14610a6f57600080fd5b8063a63b91f4146108ee578063a8ece624146109ba578063b88d4fde146109ea57600080fd5b80638da5cb5b1161016f578063a22cb46511610149578063a22cb46514610879578063a3a9c52e14610899578063a44826b1146108b9578063a4f4f8af146108d957600080fd5b80638da5cb5b1461083357806395d89b41146108515780639e459f671461086657600080fd5b80637f81be69116101ab5780637f81be69146107a8578063869f7594146107de5780638b167178146107fe5780638d007f691461081e57600080fd5b8063715018a61461076d57806375de5295146107825780637ede21fc1461079557600080fd5b80631f0808d4116102b6578063438b63001161025457806355f804b31161022357806355f804b3146106eb5780636352211e1461070b57806368fb5c111461072b57806370a082311461074d57600080fd5b8063438b63001461066557806344ee1d8a1461069257806346002b06146106b45780634828bd20146106c957600080fd5b806340f9bbe21161029057806340f9bbe2146105ee578063427b34b31461060357806342842e0e1461062557806342966c681461064557600080fd5b80631f0808d41461059757806323b872dd146105b7578063320d9cc1146105d757600080fd5b80631513704511610323578063182e0e95116102fd578063182e0e9514610502578063194944db1461052257806319b989a0146105425780631c70da3d1461056257600080fd5b806315137045146104aa578063175671c8146104ca57806318160ddd146104df57600080fd5b80630682bdbc1161035f5780630682bdbc1461041057806306fdde0314610448578063081812fc1461046a578063095ea7b31461048a57600080fd5b806301cacbc81461039157806301ffc9a7146103b357806303a3baca146103e857600080fd5b3661038c57005b600080fd5b34801561039d57600080fd5b506103b16103ac3660046144cb565b610c6c565b005b3480156103bf57600080fd5b506103d36103ce3660046145a5565b610e0b565b60405190151581526020015b60405180910390f35b3480156103f457600080fd5b506103fd600681565b60405160009190910b81526020016103df565b34801561041c57600080fd5b50600c54610430906001600160a01b031681565b6040516001600160a01b0390911681526020016103df565b34801561045457600080fd5b5061045d610ea8565b6040516103df919061461a565b34801561047657600080fd5b5061043061048536600461462d565b610f3a565b34801561049657600080fd5b506103b16104a536600461465b565b610fe0565b3480156104b657600080fd5b506103b16104c5366004614687565b611112565b3480156104d657600080fd5b506103fd600381565b3480156104eb57600080fd5b506104f461118e565b6040519081526020016103df565b34801561050e57600080fd5b506103b161051d366004614687565b6111bb565b34801561052e57600080fd5b506103d361053d3660046146a4565b611237565b34801561054e57600080fd5b506104f461055d3660046146d9565b611310565b34801561056e57600080fd5b50600c5461058490600160d01b900461ffff1681565b60405161ffff90911681526020016103df565b3480156105a357600080fd5b506103b16105b2366004614730565b611346565b3480156105c357600080fd5b506103b16105d236600461474b565b61148a565b3480156105e357600080fd5b506104f4620180f181565b3480156105fa57600080fd5b506103b1611512565b34801561060f57600080fd5b50600c5461058490600160e01b900461ffff1681565b34801561063157600080fd5b506103b161064036600461474b565b6116b4565b34801561065157600080fd5b506103b161066036600461462d565b6116cf565b34801561067157600080fd5b50610685610680366004614687565b611767565b6040516103df919061478c565b34801561069e57600080fd5b50600c5461058490600160a01b900461ffff1681565b3480156106c057600080fd5b506103b1611857565b3480156106d557600080fd5b50600c5461058490600160b01b900461ffff1681565b3480156106f757600080fd5b506103b16107063660046146a4565b6119cf565b34801561071757600080fd5b5061043061072636600461462d565b611a3c565b34801561073757600080fd5b50600c5461058490600160c01b900461ffff1681565b34801561075957600080fd5b506104f4610768366004614687565b611ac7565b34801561077957600080fd5b506103b1611b61565b6103b16107903660046147d0565b611bc7565b6103b16107a33660046147eb565b611f86565b3480156107b457600080fd5b506104306107c336600461462d565b6000908152600260205260409020546001600160a01b031690565b3480156107ea57600080fd5b506104f46107f936600461462d565b6125b1565b34801561080a57600080fd5b50610584610819366004614898565b61272e565b34801561082a57600080fd5b506104f4600181565b34801561083f57600080fd5b506006546001600160a01b0316610430565b34801561085d57600080fd5b5061045d612773565b6103b16108743660046148ea565b612782565b34801561088557600080fd5b506103b1610894366004614952565b612ce2565b3480156108a557600080fd5b506103b16108b4366004614730565b612da7565b3480156108c557600080fd5b506104306108d4366004614987565b612ef6565b3480156108e557600080fd5b50610584612fa3565b3480156108fa57600080fd5b50600a5461096c9067ffffffffffffffff81169061ffff68010000000000000000820481169163ffffffff6a010000000000000000000082048116926e0100000000000000000000000000008304811692600160801b810490921691600160a01b8104821691600160b01b9091041687565b6040805167ffffffffffffffff909816885261ffff968716602089015263ffffffff9586169088015292851660608701529216608085015290821660a08401521660c082015260e0016103df565b3480156109c657600080fd5b506103d36109d5366004614730565b600f6020526000908152604090205460ff1681565b3480156109f657600080fd5b506103b1610a053660046149fb565b612fda565b348015610a1657600080fd5b5061045d610a2536600461462d565b613062565b348015610a3657600080fd5b50610a4a610a4536600461462d565b61314a565b604080516001600160a01b0390941684526020840192909252908201526060016103df565b348015610a7b57600080fd5b506103b1610a8a366004614a2c565b613187565b348015610a9b57600080fd5b5061045d613219565b348015610ab057600080fd5b506103d3610abf366004614730565b61ffff166000908152600f602052604090205460ff1690565b348015610ae457600080fd5b50600b54610430906001600160a01b031681565b348015610b0457600080fd5b506103d3610b13366004614a71565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610b4d57600080fd5b50610b576101f981565b60405160019190910b81526020016103df565b348015610b7657600080fd5b506103b1610b85366004614687565b6132a7565b348015610b9657600080fd5b506103b1610ba5366004614ab3565b613386565b348015610bb657600080fd5b50610c25610bc53660046146a4565b8051602081830181018051600d825292820191909301209152805460018083015460029093015467ffffffffffffffff8084169468010000000000000000850490911693600160801b810490930b92600160901b900460ff908116921686565b6040805167ffffffffffffffff978816815296909516602087015260019390930b9385019390935260ff1660608401526080830191909152151560a082015260c0016103df565b6006546001600160a01b03163314610ccb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b80600d83604051610cdc9190614b63565b908152604080519182900360209081018320845181549286015193860151606087015160ff16600160901b027fffffffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffff61ffff909216600160801b02919091167fffffffffffffffffffffffffff000000ffffffffffffffffffffffffffffffff67ffffffffffffffff96871668010000000000000000027fffffffffffffffffffffffffffffffff0000000000000000000000000000000090961696909316959095179390931716929092171781556080830151600182015560a0909201516002909201805492151560ff19909316929092179091557ffb31df2ce2b2b740f8fb39d618d9828a7cbe8ab00d233ac24e9b200d65b1c98190610dff9084908490614b7f565b60405180910390a15050565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610e6e57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610ea257507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060008054610eb790614bea565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee390614bea565b8015610f305780601f10610f0557610100808354040283529160200191610f30565b820191906000526020600020905b815481529060010190602001808311610f1357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610fc45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610cc2565b506000908152600460205260409020546001600160a01b031690565b6000610feb82611a3c565b9050806001600160a01b0316836001600160a01b031614156110755760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610cc2565b336001600160a01b038216148061109157506110918133610b13565b6111035760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610cc2565b61110d8383613553565b505050565b6006546001600160a01b0316331461116c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b600c546000906111b29061ffff600160e01b8204811691600160a01b900416614c35565b61ffff16905090565b6006546001600160a01b031633146112155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b600080600d8360405161124a9190614b63565b9081526040519081900360200190205467ffffffffffffffff1611801561129a5750600d8260405161127c9190614b63565b9081526040519081900360200190205467ffffffffffffffff164210155b80156112dc5750600d826040516112b19190614b63565b9081526040519081900360200190205467ffffffffffffffff68010000000000000000909104164211155b8015610ea25750600d826040516112f39190614b63565b9081526040519081900360200190206002015460ff161592915050565b600081600d846040516113239190614b63565b90815260200160405180910390206001015461133f9190614c58565b9392505050565b6006546001600160a01b031633146113a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b600c546001906113bc908390600160b01b900461ffff16614c77565b61ffff16111561140e5760405162461bcd60e51b815260206004820152601460248201527f457863656564656420524553455256455f4e46540000000000000000000000006044820152606401610cc2565b60005b8161ffff168161ffff161015611486576001600c60168282829054906101000a900461ffff166114419190614c77565b92506101000a81548161ffff021916908361ffff160217905550611474600c60169054906101000a900461ffff166135c1565b8061147e81614c9d565b915050611411565b5050565b611495335b82613649565b6115075760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cc2565b61110d838383613751565b6006546001600160a01b0316331461156c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b47806115ba5760405162461bcd60e51b815260206004820152601160248201527f53616c65732042616c616e6365203d20300000000000000000000000000000006044820152606401610cc2565b60005b60075460ff8216101561169557600060078260ff16815481106115e2576115e2614cbf565b90600052602060002090600302016001015411156116835761168360078260ff168154811061161357611613614cbf565b906000526020600020906003020160000160009054906101000a90046001600160a01b031661167e6103e861167860078660ff168154811061165757611657614cbf565b9060005260206000209060030201600101548761391e90919063ffffffff16565b9061392a565b613936565b8061168d81614cd5565b9150506115bd565b506116b16116ab6006546001600160a01b031690565b47613936565b50565b61110d83838360405180602001604052806000815250612fda565b6116d83361148f565b6117245760405162461bcd60e51b815260206004820152601660248201527f4e6f74206f776e6572206e6f7220617070726f766564000000000000000000006044820152606401610cc2565b6001600c601c8282829054906101000a900461ffff166117449190614c77565b92506101000a81548161ffff021916908361ffff1602179055506116b1816139d9565b6060600061177483611ac7565b90506000808267ffffffffffffffff811115611792576117926143ad565b6040519080825280602002602001820160405280156117bb578160200160208202803683370190505b509050826117cb57949350505050565b60015b600a54600160b01b900461ffff16811161184e576000818152600260205260409020546001600160a01b038781169116141561183c578082848151811061181757611817614cbf565b60209081029190910101528261182c81614cf5565b9350508383141561183c5761184e565b8061184681614cf5565b9150506117ce565b50949350505050565b6006546001600160a01b031633146118b15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b47806118ff5760405162461bcd60e51b815260206004820152601460248201527f436f6e74726163742042616c616e6365203d20300000000000000000000000006044820152606401610cc2565b60005b60075460ff8216101561169557600060078260ff168154811061192757611927614cbf565b90600052602060002090600302016002015411156119bd576119bd60078260ff168154811061195857611958614cbf565b906000526020600020906003020160000160009054906101000a90046001600160a01b031661167e6103e861167860078660ff168154811061199c5761199c614cbf565b9060005260206000209060030201600201548761391e90919063ffffffff16565b806119c781614cd5565b915050611902565b6006546001600160a01b03163314611a295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b8051611486906009906020840190614314565b6000818152600260205260408120546001600160a01b031680610ea25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610cc2565b60006001600160a01b038216611b455760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610cc2565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314611bbb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b611bc56000613a79565b565b6040518060400160405280600681526020017f5055424c4943000000000000000000000000000000000000000000000000000081525081611c0782611237565b611c435760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610cc2565b604051806040016040528060048152602001634652454560e01b8152505182511415611cbc57600c546101f9600160d01b90910461ffff1660010b1315611cb75760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b611d1d565b611cc660006125b1565b61ffff168160ff16611cd6612fa3565b611ce09190614c77565b61ffff161115611d1d5760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b600d82604051611d2d9190614b63565b9081526040519081900360200190205460ff600160901b90910481169082161115611d9a5760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610cc2565b8060ff16600d83604051611dae9190614b63565b908152602001604051809103902060010154611dca9190614c58565b341015611e075760405162461bcd60e51b815260206004820152600b60248201526a15985b1d59481b1a5b5a5d60aa1b6044820152606401610cc2565b600019600d83604051611e1a9190614b63565b90815260405190819003602001902054600160801b900460010b1315611f7d57600d82604051611e4a9190614b63565b90815260405190819003602001812054600160801b900460010b9060ff831690600890611e78908690614b63565b90815260200160405180910390206000611e8f3390565b6001600160a01b03168152602081019190915260400160002054611eb7919061ffff16614c77565b60010b1315611f085760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610cc2565b8060ff16600883604051611f1c9190614b63565b90815260200160405180910390206000611f333390565b6001600160a01b03168152602081019190915260400160009081208054909190611f6290849061ffff16614c77565b92506101000a81548161ffff021916908361ffff1602179055505b61110d83613acb565b6040805180820190915260048152634652454560e01b60208201528151611fae906005614c58565b611fb782611237565b611ff35760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610cc2565b604051806040016040528060048152602001634652454560e01b815250518251141561206c57600c546101f9600160d01b90910461ffff1660010b13156120675760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b6120cd565b61207660006125b1565b61ffff168160ff16612086612fa3565b6120909190614c77565b61ffff1611156120cd5760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b600d826040516120dd9190614b63565b9081526040519081900360200190205460ff600160901b9091048116908216111561214a5760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610cc2565b8060ff16600d8360405161215e9190614b63565b90815260200160405180910390206001015461217a9190614c58565b3410156121b75760405162461bcd60e51b815260206004820152600b60248201526a15985b1d59481b1a5b5a5d60aa1b6044820152606401610cc2565b600019600d836040516121ca9190614b63565b90815260405190819003602001902054600160801b900460010b131561232d57600d826040516121fa9190614b63565b90815260405190819003602001812054600160801b900460010b9060ff831690600890612228908690614b63565b9081526020016040518091039020600061223f3390565b6001600160a01b03168152602081019190915260400160002054612267919061ffff16614c77565b60010b13156122b85760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610cc2565b8060ff166008836040516122cc9190614b63565b908152602001604051809103902060006122e33390565b6001600160a01b0316815260208101919091526040016000908120805490919061231290849061ffff16614c77565b92506101000a81548161ffff021916908361ffff1602179055505b60005b83518160ff1610156125ab57600b54845133916001600160a01b031690636352211e90879060ff861690811061236857612368614cbf565b60200260200101516040518263ffffffff1660e01b8152600401612396919061ffff91909116815260200190565b60206040518083038186803b1580156123ae57600080fd5b505afa1580156123c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123e69190614d10565b6001600160a01b03161461243c5760405162461bcd60e51b815260206004820152601860248201527f4e6f74206f776e6572206f662074686973204f726967696e00000000000000006044820152606401610cc2565b600f6000858360ff168151811061245557612455614cbf565b60209081029190910181015161ffff1682528101919091526040016000205460ff16156124c45760405162461bcd60e51b815260206004820152601460248201527f4f726967696e20616c726561647920636c61696d0000000000000000000000006044820152606401610cc2565b6001600f6000868460ff16815181106124df576124df614cbf565b602002602001015161ffff1661ffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555060005b60058160ff161015612598576001600c601a8282829054906101000a900461ffff166125439190614c77565b82546101009290920a61ffff818102199093169183160217909155600c54612586925061258191600160d01b8204811691600160b01b900416614c77565b6135c1565b8061259081614cd5565b915050612517565b50806125a381614cd5565b915050612330565b50505050565b600080600083116125c257426125c4565b825b600a5490915067ffffffffffffffff168110156125f0575050600a54600160b01b900461ffff16919050565b600a5467ffffffffffffffff81169063ffffffff6a0100000000000000000000820481169182840191600160801b8204169061ffff600160a01b9091041660008561263b8886613b5b565b03905060008461264d89868801613b5b565b0390508488101561265f576000612661565b805b600a549091506000906103e890889068010000000000000000900461ffff1682028161268f5761268f614d2d565b046001018402816126a2576126a2614d2d565b600a5491900491506103e89086906e010000000000000000000000000000900461ffff168202816126d5576126d5614d2d565b046001018302816126e8576126e8614d2d565b0401838111156126f55750825b600c54600a5461271f9161ffff600160a01b909104811691600160b01b9004811684900316613b70565b9b9a5050505050505050505050565b60006008836040516127409190614b63565b908152604080519182900360209081019092206001600160a01b0385166000908152925290205461ffff16905092915050565b606060018054610eb790614bea565b6040518060400160405280600881526020017f50524553414c4553000000000000000000000000000000000000000000000000815250846127c282611237565b6127fe5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610cc2565b604051806040016040528060048152602001634652454560e01b815250518251141561287757600c546101f9600160d01b90910461ffff1660010b13156128725760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b6128d8565b61288160006125b1565b61ffff168160ff16612891612fa3565b61289b9190614c77565b61ffff1611156128d85760405162461bcd60e51b8152602060048201526008602482015267536f6c644f75742160c01b6044820152606401610cc2565b600d826040516128e89190614b63565b9081526040519081900360200190205460ff600160901b909104811690821611156129555760405162461bcd60e51b815260206004820152601060248201527f4d617820706572207478206c696d6974000000000000000000000000000000006044820152606401610cc2565b8060ff16600d836040516129699190614b63565b9081526020016040518091039020600101546129859190614c58565b3410156129c25760405162461bcd60e51b815260206004820152600b60248201526a15985b1d59481b1a5b5a5d60aa1b6044820152606401610cc2565b600019600d836040516129d59190614b63565b90815260405190819003602001902054600160801b900460010b1315612b3857600d82604051612a059190614b63565b90815260405190819003602001812054600160801b900460010b9060ff831690600890612a33908690614b63565b90815260200160405180910390206000612a4a3390565b6001600160a01b03168152602081019190915260400160002054612a72919061ffff16614c77565b60010b1315612ac35760405162461bcd60e51b815260206004820152601460248201527f4d6178207065722077616c6c6574206c696d69740000000000000000000000006044820152606401610cc2565b8060ff16600883604051612ad79190614b63565b90815260200160405180910390206000612aee3390565b6001600160a01b03168152602081019190915260400160009081208054909190612b1d90849061ffff16614c77565b92506101000a81548161ffff021916908361ffff1602179055505b3385612be6576040517f50524553414c45530000000000000000000000000000000000000000000000008152600390600890810190815260408051602092819003830190206001600160a01b0385166000908152925290205461ffff1660010b1315612be65760405162461bcd60e51b815260206004820152601f60248201527f4d6178207065722077616c6c6574206c696d6974202850524553414c455329006044820152606401610cc2565b6000858152600e602052604090205460ff1615612c455760405162461bcd60e51b815260206004820152601660248201527f5369676e617475726520616c72656164792075736564000000000000000000006044820152606401610cc2565b600c546001600160a01b0316612c61828860ff8b168989612ef6565b6001600160a01b031614612cb75760405162461bcd60e51b815260206004820152601b60248201527f5369676e6174757265206572726f72203a20626164206f776e657200000000006044820152606401610cc2565b6000858152600e60205260409020805460ff19166001179055612cd987613acb565b50505050505050565b6001600160a01b038216331415612d3b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610cc2565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6006546001600160a01b03163314612e015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b612e26604051806040016040528060048152602001634652454560e01b815250611237565b15612e735760405162461bcd60e51b815260206004820152601860248201527f4672656520636c61696d206973207374696c6c206f70656e00000000000000006044820152606401610cc2565b60005b8161ffff168161ffff161015611486576001600c601a8282829054906101000a900461ffff16612ea69190614c77565b82546101009290920a61ffff818102199093169183160217909155600c54612ee4925061258191600160d01b8204811691600160b01b900416614c77565b80612eee81614c9d565b915050612e76565b604080516001600160a01b0387166020820152851515918101919091526060810184905260808101839052620180f160a0820152600090612f999060c00160408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c016040516020818303038152906040528051906020012083613b7f565b9695505050505050565b600c5460009061ffff600160c01b8204811691612fcb916101f991600160b01b900416614c77565b612fd59190614c77565b905090565b612fe43383613649565b6130565760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610cc2565b6125ab84848484613c23565b6000818152600260205260409020546060906001600160a01b03166130ef5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610cc2565b60006130f9613cac565b90506000815111613119576040518060200160405280600081525061133f565b8061312384613cbb565b604051602001613134929190614d43565b6040516020818303038152906040529392505050565b6007818154811061315a57600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b6006546001600160a01b031633146131e15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b80600d836040516131f29190614b63565b908152604051908190036020019020600201805491151560ff199092169190911790555050565b6009805461322690614bea565b80601f016020809104026020016040519081016040528092919081815260200182805461325290614bea565b801561329f5780601f106132745761010080835404028352916020019161329f565b820191906000526020600020905b81548152906001019060200180831161328257829003601f168201915b505050505081565b6006546001600160a01b031633146133015760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b6001600160a01b03811661337d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610cc2565b6116b181613a79565b6006546001600160a01b031633146133e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc2565b8051600a8054602084015160408501516060860151608087015160a088015160c09098015167ffffffffffffffff9097167fffffffffffffffffffffffffffffffffffffffffffff00000000000000000000909516949094176801000000000000000061ffff94851602177fffffffffffffffffffffffffffffffff000000000000ffffffffffffffffffff166a010000000000000000000063ffffffff938416027fffffffffffffffffffffffffffffffff0000ffffffffffffffffffffffffffff16176e01000000000000000000000000000091841691909102177fffffffffffffffffffff000000000000ffffffffffffffffffffffffffffffff16600160801b91909316027fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff1691909117600160a01b94821694909402939093177fffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffffffff16600160b01b9390921692909202179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061358882611a3c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600c60148282829054906101000a900461ffff166135e19190614c77565b92506101000a81548161ffff021916908361ffff16021790555061360f6136053390565b8261ffff16613ded565b60405161ffff821681527fd52f684d5fe81c633b063a2e3975d7bcbea5aca6587537532a9803a2a19075589060200160405180910390a150565b6000818152600260205260408120546001600160a01b03166136d35760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610cc2565b60006136de83611a3c565b9050806001600160a01b0316846001600160a01b031614806137195750836001600160a01b031661370e84610f3a565b6001600160a01b0316145b8061374957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661376482611a3c565b6001600160a01b0316146137e05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610cc2565b6001600160a01b03821661385b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610cc2565b613866600082613553565b6001600160a01b038316600090815260036020526040812080546001929061388f908490614d69565b90915550506001600160a01b03821660009081526003602052604081208054600192906138bd908490614d80565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600061133f8284614c58565b600061133f8284614d98565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613983576040519150601f19603f3d011682016040523d82523d6000602084013e613988565b606091505b505090508061110d5760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610cc2565b60006139e482611a3c565b905060006139f3600084613553565b6001600160a01b0382166000908152600360205260408120805460019290613a1c908490614d69565b909155505060008381526002602052604080822080546001600160a01b03191690555184916001600160a01b0384811692908616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005b8160ff168160ff161015611486576001600c60188282829054906101000a900461ffff16613afc9190614c77565b82546101009290920a61ffff818102199093169183160217909155600c54613b499250600160c01b8104821691613b3f916101f991600160b01b90910416614c77565b6125819190614c77565b80613b5381614cd5565b915050613ace565b6000818311613b6a578261133f565b50919050565b6000818310613b6a578261133f565b6000815160411415613bb35760208201516040830151606084015160001a613ba986828585613e07565b9350505050610ea2565b815160401415613bdb5760208201516040830151613bd2858383613fb0565b92505050610ea2565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610cc2565b613c2e848484613751565b613c3a84848484613fe9565b6125ab5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cc2565b606060098054610eb790614bea565b606081613cfb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115613d255780613d0f81614cf5565b9150613d1e9050600a83614d98565b9150613cff565b60008167ffffffffffffffff811115613d4057613d406143ad565b6040519080825280601f01601f191660200182016040528015613d6a576020820181803683370190505b5090505b841561374957613d7f600183614d69565b9150613d8c600a86614dac565b613d97906030614d80565b60f81b818381518110613dac57613dac614cbf565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613de6600a86614d98565b9450613d6e565b611486828260405180602001604052806000815250614149565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115613e845760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610cc2565b8360ff16601b1480613e9957508360ff16601c145b613ef05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610cc2565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015613f44573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613fa75760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610cc2565b95945050505050565b60007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821660ff83901c601b01612f9986828785613e07565b60006001600160a01b0384163b1561414157604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061402d903390899088908890600401614dc0565b602060405180830381600087803b15801561404757600080fd5b505af1925050508015614077575060408051601f3d908101601f1916820190925261407491810190614df2565b60015b614127573d8080156140a5576040519150601f19603f3d011682016040523d82523d6000602084013e6140aa565b606091505b50805161411f5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cc2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613749565b506001613749565b61415383836141d2565b6141606000848484613fe9565b61110d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610cc2565b6001600160a01b0382166142285760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610cc2565b6000818152600260205260409020546001600160a01b03161561428d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610cc2565b6001600160a01b03821660009081526003602052604081208054600192906142b6908490614d80565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461432090614bea565b90600052602060002090601f0160209004810192826143425760008555614388565b82601f1061435b57805160ff1916838001178555614388565b82800160010185558215614388579182015b8281111561438857825182559160200191906001019061436d565b50614394929150614398565b5090565b5b808211156143945760008155600101614399565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff811182821017156143e6576143e66143ad565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715614415576144156143ad565b604052919050565b600082601f83011261442e57600080fd5b813567ffffffffffffffff811115614448576144486143ad565b61445b601f8201601f19166020016143ec565b81815284602083860101111561447057600080fd5b816020850160208301376000918101602001919091529392505050565b803567ffffffffffffffff811681146144a557600080fd5b919050565b803560ff811681146144a557600080fd5b803580151581146144a557600080fd5b60008082840360e08112156144df57600080fd5b833567ffffffffffffffff8111156144f657600080fd5b6145028682870161441d565b93505060c0601f198201121561451757600080fd5b506145206143c3565b61452c6020850161448d565b815261453a6040850161448d565b602082015260608401358060010b811461455357600080fd5b6040820152614564608085016144aa565b606082015260a0840135608082015261457f60c085016144bb565b60a0820152809150509250929050565b6001600160e01b0319811681146116b157600080fd5b6000602082840312156145b757600080fd5b813561133f8161458f565b60005b838110156145dd5781810151838201526020016145c5565b838111156125ab5750506000910152565b600081518084526146068160208601602086016145c2565b601f01601f19169290920160200192915050565b60208152600061133f60208301846145ee565b60006020828403121561463f57600080fd5b5035919050565b6001600160a01b03811681146116b157600080fd5b6000806040838503121561466e57600080fd5b823561467981614646565b946020939093013593505050565b60006020828403121561469957600080fd5b813561133f81614646565b6000602082840312156146b657600080fd5b813567ffffffffffffffff8111156146cd57600080fd5b6137498482850161441d565b600080604083850312156146ec57600080fd5b823567ffffffffffffffff81111561470357600080fd5b61470f8582860161441d565b95602094909401359450505050565b803561ffff811681146144a557600080fd5b60006020828403121561474257600080fd5b61133f8261471e565b60008060006060848603121561476057600080fd5b833561476b81614646565b9250602084013561477b81614646565b929592945050506040919091013590565b6020808252825182820181905260009190848201906040850190845b818110156147c4578351835292840192918401916001016147a8565b50909695505050505050565b6000602082840312156147e257600080fd5b61133f826144aa565b600060208083850312156147fe57600080fd5b823567ffffffffffffffff8082111561481657600080fd5b818501915085601f83011261482a57600080fd5b81358181111561483c5761483c6143ad565b8060051b915061484d8483016143ec565b818152918301840191848101908884111561486757600080fd5b938501935b8385101561488c5761487d8561471e565b8252938501939085019061486c565b98975050505050505050565b600080604083850312156148ab57600080fd5b823567ffffffffffffffff8111156148c257600080fd5b6148ce8582860161441d565b92505060208301356148df81614646565b809150509250929050565b6000806000806080858703121561490057600080fd5b614909856144aa565b9350614917602086016144bb565b925060408501359150606085013567ffffffffffffffff81111561493a57600080fd5b6149468782880161441d565b91505092959194509250565b6000806040838503121561496557600080fd5b823561497081614646565b915061497e602084016144bb565b90509250929050565b600080600080600060a0868803121561499f57600080fd5b85356149aa81614646565b94506149b8602087016144bb565b93506040860135925060608601359150608086013567ffffffffffffffff8111156149e257600080fd5b6149ee8882890161441d565b9150509295509295909350565b60008060008060808587031215614a1157600080fd5b8435614a1c81614646565b9350602085013561491781614646565b60008060408385031215614a3f57600080fd5b823567ffffffffffffffff811115614a5657600080fd5b614a628582860161441d565b92505061497e602084016144bb565b60008060408385031215614a8457600080fd5b8235614a8f81614646565b915060208301356148df81614646565b803563ffffffff811681146144a557600080fd5b600060e08284031215614ac557600080fd5b60405160e0810181811067ffffffffffffffff82111715614ae857614ae86143ad565b604052614af48361448d565b8152614b026020840161471e565b6020820152614b1360408401614a9f565b6040820152614b246060840161471e565b6060820152614b3560808401614a9f565b6080820152614b4660a0840161471e565b60a0820152614b5760c0840161471e565b60c08201529392505050565b60008251614b758184602087016145c2565b9190910192915050565b60e081526000614b9260e08301856145ee565b905067ffffffffffffffff80845116602084015280602085015116604084015250604083015160010b606083015260ff6060840151166080830152608083015160a083015260a0830151151560c08301529392505050565b600181811c90821680614bfe57607f821691505b60208210811415613b6a57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600061ffff83811690831681811015614c5057614c50614c1f565b039392505050565b6000816000190483118215151615614c7257614c72614c1f565b500290565b600061ffff808316818516808303821115614c9457614c94614c1f565b01949350505050565b600061ffff80831681811415614cb557614cb5614c1f565b6001019392505050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff811415614cec57614cec614c1f565b60010192915050565b6000600019821415614d0957614d09614c1f565b5060010190565b600060208284031215614d2257600080fd5b815161133f81614646565b634e487b7160e01b600052601260045260246000fd5b60008351614d558184602088016145c2565b835190830190614c948183602088016145c2565b600082821015614d7b57614d7b614c1f565b500390565b60008219821115614d9357614d93614c1f565b500190565b600082614da757614da7614d2d565b500490565b600082614dbb57614dbb614d2d565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612f9960808301846145ee565b600060208284031215614e0457600080fd5b815161133f8161458f56fea2646970667358221220601afe58ca87174ed468170763dab60818d1b5d50becdcdecb95e742c3651ba464736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000061626feae0501e4d6bf00ec2df902e1505b337620000000000000000000000008dbc595035d597f923fd417ed84d288b6d0e2a32000000000000000000000000000000000000000000000000000000000000002968747470733a2f2f6170692e736f756c7761726570726f6a6563742e636f6d2f736f756c776172652f0000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://api.soulwareproject.com/soulware/
Arg [1] : _originAddress (address): 0x61626fEAE0501E4d6Bf00Ec2dF902E1505B33762
Arg [2] : _signAddress (address): 0x8DBC595035d597f923Fd417ed84D288B6d0E2a32
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000061626feae0501e4d6bf00ec2df902e1505b33762
Arg [2] : 0000000000000000000000008dbc595035d597f923fd417ed84d288b6d0e2a32
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [4] : 68747470733a2f2f6170692e736f756c7761726570726f6a6563742e636f6d2f
Arg [5] : 736f756c776172652f0000000000000000000000000000000000000000000000
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.