Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 51 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 15838416 | 834 days ago | IN | 0 ETH | 0.00053585 | ||||
Set Approval For... | 15530136 | 878 days ago | IN | 0 ETH | 0.00042591 | ||||
Set Approval For... | 15507865 | 881 days ago | IN | 0 ETH | 0.00030955 | ||||
Set Approval For... | 14822802 | 992 days ago | IN | 0 ETH | 0.00078643 | ||||
Set Approval For... | 14581756 | 1030 days ago | IN | 0 ETH | 0.00150913 | ||||
Set Approval For... | 14237804 | 1084 days ago | IN | 0 ETH | 0.00464012 | ||||
Set Approval For... | 14236539 | 1084 days ago | IN | 0 ETH | 0.00162385 | ||||
Set Approval For... | 14224307 | 1086 days ago | IN | 0 ETH | 0.0042814 | ||||
Transfer From | 14220555 | 1087 days ago | IN | 0 ETH | 0.00446471 | ||||
Transfer From | 14217645 | 1087 days ago | IN | 0 ETH | 0.00341434 | ||||
Withdraw ETH | 14212726 | 1088 days ago | IN | 0 ETH | 0.00283148 | ||||
End Battle | 14200428 | 1090 days ago | IN | 0 ETH | 0.01467992 | ||||
Start Battle | 14199835 | 1090 days ago | IN | 0 ETH | 0.00385362 | ||||
Transfer From | 14199797 | 1090 days ago | IN | 0 ETH | 0.00450287 | ||||
Purchase | 14150807 | 1097 days ago | IN | 0.099 ETH | 0.0130432 | ||||
Transfer From | 14139486 | 1099 days ago | IN | 0 ETH | 0.00449313 | ||||
Transfer From | 14139478 | 1099 days ago | IN | 0 ETH | 0.00433362 | ||||
Transfer From | 14139473 | 1099 days ago | IN | 0 ETH | 0.00448105 | ||||
Set Prize Token ... | 14084009 | 1108 days ago | IN | 0 ETH | 0.00662845 | ||||
Purchase | 14053326 | 1112 days ago | IN | 0.495 ETH | 0.08562498 | ||||
Purchase | 14029659 | 1116 days ago | IN | 0.099 ETH | 0.02426405 | ||||
Purchase | 13953398 | 1128 days ago | IN | 0.099 ETH | 0.01794621 | ||||
Transfer From | 13937760 | 1130 days ago | IN | 0 ETH | 0.00444694 | ||||
Purchase | 13933458 | 1131 days ago | IN | 0.099 ETH | 0.02101976 | ||||
Purchase | 13912162 | 1134 days ago | IN | 0.099 ETH | 0.01759423 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
14212726 | 1088 days ago | 2.673 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BattleRoyaleRandomPart
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract BattleRoyaleRandomPart is ERC721URIStorage, Ownable { using SafeERC20 for IERC20; /// @notice Event emitted when contract is deployed. event BattleRoyaleRandomPartDeployed(); /// @notice Event emitted when owner withdrew the ETH. event EthWithdrew(address receiver); /// @notice Event emitted when owner withdrew the ERC20 token. event ERC20TokenWithdrew(address receiver); /// @notice Event emitted when user purchased the tokens. event Purchased(address user, uint256 amount, uint256 totalSupply); /// @notice Event emitted when owner has set starting time. event StartingTimeSet(uint256 time); /// @notice Event emitted when battle has started. event BattleStarted(address battleAddress, uint32[] inPlay); /// @notice Event emitted when battle has ended. event BattleEnded( address battleAddress, uint256 tokenId, uint256 winnerTokenId, string prizeTokenURI ); /// @notice Event emitted when base token uri set. event BaseURISet(string baseURI); /// @notice Event emitted when token URIs has added. event TokenURIAdded(string tokenURI, uint256 count); /// @notice Event emitted when token URI count has updated. event TokenURICountUpdated(string tokenURI, uint256 count); /// @notice Event emitted when token URI has removed. event TokenURIRemoved(uint256 index, string[] defaultTokenURI, uint256 totalDefaultNFTTypeCount); /// @notice Event emitted when prize token uri set. event PrizeTokenURISet(string prizeTokenURI); /// @notice Event emitted when interval time set. event IntervalTimeSet(uint256 intervalTime); /// @notice Event emitted when token price set. event PriceSet(uint256 price); /// @notice Event emitted when the units per transaction set. event UnitsPerTransactionSet(uint256 defaultTokenURI); /// @notice Event emitted when max supply set. event MaxSupplySet(uint256 maxSupply); enum BATTLE_STATE { STANDBY, RUNNING, ENDED } BATTLE_STATE public battleState; string public prizeTokenURI; string[] public defaultTokenURI; string public baseURI; uint256 public price; uint256 public maxSupply; uint256 public totalSupply; uint256 public unitsPerTransaction; uint256 public startingTime; uint256 public defaultNFTTypeCount; uint256 public totalDefaultNFTTypeCount; uint32[] public inPlay; mapping(string => uint256) public tokenURICount; /** * @dev Constructor function * @param _name Token name * @param _symbol Token symbol * @param _price Token price * @param _unitsPerTransaction Purchasable token amounts per transaction * @param _prizeTokenURI Prize token uri * @param _baseURI Base token uri * @param _startingTime Start time to purchase NFT */ constructor( string memory _name, string memory _symbol, uint256 _price, uint256 _unitsPerTransaction, string memory _prizeTokenURI, string memory _baseURI, uint256 _startingTime ) ERC721(_name, _symbol) { battleState = BATTLE_STATE.STANDBY; price = _price; unitsPerTransaction = _unitsPerTransaction; prizeTokenURI = _prizeTokenURI; baseURI = _baseURI; startingTime = _startingTime; emit BattleRoyaleRandomPartDeployed(); } /** * @dev External function to purchase tokens. * @param _amount Token amount to buy */ function purchase(uint256 _amount) external payable { require(battleState == BATTLE_STATE.STANDBY, "Not ready to purchase tokens"); require(maxSupply > 0 && totalSupply < maxSupply, "All NFTs were sold out"); require(block.timestamp >= startingTime, "Not time to purchase"); if (msg.sender != owner()) { require( _amount <= maxSupply - totalSupply && _amount > 0 && _amount <= unitsPerTransaction, "Out range of token amount" ); require(msg.value >= (price * _amount), "Not enough ETH for buying tokens"); } for (uint256 i = 0; i < _amount; i++) { uint256 tokenId = totalSupply + i + 1; _safeMint(msg.sender, tokenId); uint256 index = uint256( keccak256(abi.encode(i, _amount, block.timestamp, msg.sender, tokenId)) ) % defaultNFTTypeCount; _setTokenURI(tokenId, string(abi.encodePacked(baseURI, defaultTokenURI[index]))); tokenURICount[defaultTokenURI[index]]--; if (tokenURICount[defaultTokenURI[index]] == 0) { string memory defaultTokenURICID = defaultTokenURI[index]; defaultTokenURI[index] = defaultTokenURI[defaultNFTTypeCount - 1]; defaultTokenURI[defaultNFTTypeCount - 1] = defaultTokenURICID; defaultNFTTypeCount--; } inPlay.push(uint32(tokenId)); } totalSupply += _amount; emit Purchased(msg.sender, _amount, totalSupply); } /** * @dev External function to set starting time. This function can be called only by owner. */ function setStartingTime(uint256 _newTime) external onlyOwner { startingTime = _newTime; emit StartingTimeSet(_newTime); } /** * @dev External function to start the battle. This function can be called only by owner. */ function startBattle() external onlyOwner { battleState = BATTLE_STATE.RUNNING; emit BattleStarted(address(this), inPlay); } /** * @dev External function to end the battle. This function can be called only by owner. * @param _winnerTokenId Winner token Id in battle */ function endBattle(uint256 _winnerTokenId) external onlyOwner { require(battleState == BATTLE_STATE.RUNNING, "Battle is not started"); battleState = BATTLE_STATE.ENDED; uint256 tokenId = totalSupply + 1; _safeMint(ownerOf(_winnerTokenId), tokenId); _setTokenURI(tokenId, string(abi.encodePacked(baseURI, prizeTokenURI))); emit BattleEnded( address(this), tokenId, _winnerTokenId, string(abi.encodePacked(baseURI, prizeTokenURI)) ); } /** * @dev External function to set the base token URI. This function can be called only by owner. * @param _newBaseURI New base token uri */ function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; emit BaseURISet(baseURI); } /** * @dev External function to add token URI. This function can be called only by owner. * @param _tokenURI New token uri * @param _count Token uri count */ function addTokenURI(string memory _tokenURI, uint256 _count) external onlyOwner { defaultTokenURI.push(_tokenURI); tokenURICount[_tokenURI] = _count; maxSupply += _count; defaultNFTTypeCount++; totalDefaultNFTTypeCount++; emit TokenURIAdded(_tokenURI, _count); } /** * @dev External function to change the token uri. This function can be called only by owner. * @param _tokenURI Token uri * @param _count Token uri count */ function updateTokenURICount(string memory _tokenURI, uint256 _count) external onlyOwner { maxSupply = maxSupply - tokenURICount[_tokenURI] + _count; tokenURICount[_tokenURI] = _count; emit TokenURICountUpdated(_tokenURI, _count); } /** * @dev External function to remove the token uri. This function can be called only by owner. * @param _index Index of token uri */ function removeTokenURI(uint256 _index) external onlyOwner { string memory tokenURI = defaultTokenURI[_index]; maxSupply -= tokenURICount[tokenURI]; delete tokenURICount[tokenURI]; defaultTokenURI[_index] = defaultTokenURI[defaultTokenURI.length - 1]; defaultTokenURI.pop(); defaultNFTTypeCount--; totalDefaultNFTTypeCount--; emit TokenURIRemoved(_index, defaultTokenURI, totalDefaultNFTTypeCount); } /** * @dev External function to set the prize token URI. This function can be called only by owner. * @param _tokenURI New prize token uri */ function setPrizeTokenURI(string memory _tokenURI) external onlyOwner { prizeTokenURI = _tokenURI; emit PrizeTokenURISet(prizeTokenURI); } /** * @dev External function to set the token price. This function can be called only by owner. * @param _price New token price */ function setPrice(uint256 _price) external onlyOwner { price = _price; emit PriceSet(price); } /** * @dev External function to set the limit of buyable token amounts. This function can be called only by owner. * @param _unitsPerTransaction New purchasable token amounts per transaction */ function setUnitsPerTransaction(uint256 _unitsPerTransaction) external onlyOwner { unitsPerTransaction = _unitsPerTransaction; emit UnitsPerTransactionSet(unitsPerTransaction); } /** * Fallback function to receive ETH */ receive() external payable {} /** * @dev External function to withdraw ETH in contract. This function can be called only by owner. * @param _amount ETH amount */ function withdrawETH(uint256 _amount) external onlyOwner { uint256 balance = address(this).balance; require(_amount <= balance, "Out of balance"); payable(msg.sender).transfer(_amount); emit EthWithdrew(msg.sender); } /** * @dev External function to withdraw ERC-20 tokens in contract. This function can be called only by owner. * @param _tokenAddr Address of ERC-20 token * @param _amount ERC-20 token amount */ function withdrawERC20Token(address _tokenAddr, uint256 _amount) external onlyOwner { IERC20 token = IERC20(_tokenAddr); uint256 balance = token.balanceOf(address(this)); require(_amount <= balance, "Out of balance"); token.safeTransfer(msg.sender, _amount); emit ERC20TokenWithdrew(msg.sender); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) 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 // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) 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 // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) 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 // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) 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 // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_unitsPerTransaction","type":"uint256"},{"internalType":"string","name":"_prizeTokenURI","type":"string"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"uint256","name":"_startingTime","type":"uint256"}],"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":"string","name":"baseURI","type":"string"}],"name":"BaseURISet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"battleAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"winnerTokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"prizeTokenURI","type":"string"}],"name":"BattleEnded","type":"event"},{"anonymous":false,"inputs":[],"name":"BattleRoyaleRandomPartDeployed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"battleAddress","type":"address"},{"indexed":false,"internalType":"uint32[]","name":"inPlay","type":"uint32[]"}],"name":"BattleStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20TokenWithdrew","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"EthWithdrew","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"intervalTime","type":"uint256"}],"name":"IntervalTimeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"MaxSupplySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"PriceSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"prizeTokenURI","type":"string"}],"name":"PrizeTokenURISet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"Purchased","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"StartingTimeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"tokenURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"TokenURIAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"tokenURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"TokenURICountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"},{"indexed":false,"internalType":"string[]","name":"defaultTokenURI","type":"string[]"},{"indexed":false,"internalType":"uint256","name":"totalDefaultNFTTypeCount","type":"uint256"}],"name":"TokenURIRemoved","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"defaultTokenURI","type":"uint256"}],"name":"UnitsPerTransactionSet","type":"event"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"addTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"battleState","outputs":[{"internalType":"enum BattleRoyaleRandomPart.BATTLE_STATE","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultNFTTypeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"defaultTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_winnerTokenId","type":"uint256"}],"name":"endBattle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"inPlay","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prizeTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_index","type":"uint256"}],"name":"removeTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setPrizeTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTime","type":"uint256"}],"name":"setStartingTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unitsPerTransaction","type":"uint256"}],"name":"setUnitsPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBattle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"string","name":"","type":"string"}],"name":"tokenURICount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDefaultNFTTypeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"unitsPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"updateTokenURICount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddr","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawERC20Token","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620065f0380380620065f083398181016040528101906200003791906200034e565b868681600090805190602001906200005192919062000209565b5080600190805190602001906200006a92919062000209565b5050506200008d620000816200013b60201b60201c565b6200014360201b60201c565b6000600760146101000a81548160ff02191690836002811115620000b657620000b562000588565b5b021790555084600b8190555083600e819055508260089080519060200190620000e192919062000209565b5081600a9080519060200190620000fa92919062000209565b5080600f819055507f52f6bc9f54a7f8a01baa043ccc808923df154490aa1bb8d3ba4de8c3987cbecf60405160405180910390a15050505050505062000654565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000217906200051c565b90600052602060002090601f0160209004810192826200023b576000855562000287565b82601f106200025657805160ff191683800117855562000287565b8280016001018555821562000287579182015b828111156200028657825182559160200191906001019062000269565b5b5090506200029691906200029a565b5090565b5b80821115620002b55760008160009055506001016200029b565b5090565b6000620002d0620002ca84620004a6565b6200047d565b905082815260208101848484011115620002ef57620002ee6200061a565b5b620002fc848285620004e6565b509392505050565b600082601f8301126200031c576200031b62000615565b5b81516200032e848260208601620002b9565b91505092915050565b60008151905062000348816200063a565b92915050565b600080600080600080600060e0888a03121562000370576200036f62000624565b5b600088015167ffffffffffffffff8111156200039157620003906200061f565b5b6200039f8a828b0162000304565b975050602088015167ffffffffffffffff811115620003c357620003c26200061f565b5b620003d18a828b0162000304565b9650506040620003e48a828b0162000337565b9550506060620003f78a828b0162000337565b945050608088015167ffffffffffffffff8111156200041b576200041a6200061f565b5b620004298a828b0162000304565b93505060a088015167ffffffffffffffff8111156200044d576200044c6200061f565b5b6200045b8a828b0162000304565b92505060c06200046e8a828b0162000337565b91505092959891949750929550565b6000620004896200049c565b905062000497828262000552565b919050565b6000604051905090565b600067ffffffffffffffff821115620004c457620004c3620005e6565b5b620004cf8262000629565b9050602081019050919050565b6000819050919050565b60005b8381101562000506578082015181840152602081019050620004e9565b8381111562000516576000848401525b50505050565b600060028204905060018216806200053557607f821691505b602082108114156200054c576200054b620005b7565b5b50919050565b6200055d8262000629565b810181811067ffffffffffffffff821117156200057f576200057e620005e6565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200064581620004dc565b81146200065157600080fd5b50565b615f8c80620006646000396000f3fe6080604052600436106102555760003560e01c80638da5cb5b11610139578063c87b56dd116100b6578063efef39a11161007a578063efef39a1146108c9578063f14210a6146108e5578063f238c31d1461090e578063f2fde38b14610939578063f9cae7e014610962578063f9f0ee951461098d5761025c565b8063c87b56dd146107be578063cde85f7f146107fb578063d5abeb0114610824578063dc570d371461084f578063e985e9c51461088c5761025c565b8063a035b1fe116100fd578063a035b1fe146106db578063a22cb46514610706578063a6cd1c831461072f578063b88d4fde1461076c578063c52b7b80146107955761025c565b80638da5cb5b1461060857806391b7f5ed14610633578063928d81c11461065c57806395d89b41146106855780639f823849146106b05761025c565b80634157e6ef116101d25780636c0360eb116101965780636c0360eb146104fa5780636e4af0ab1461052557806370a082311461054e578063715018a61461058b57806374087b11146105a25780637fece85e146105df5761025c565b80634157e6ef1461041757806342842e0e1461044057806355f804b31461046957806361d161ea146104925780636352211e146104bd5761025c565b806323b872dd1161021957806323b872dd1461035a578063240a2c971461038357806333e651081461039a57806339518b5e146103c35780633f52e589146103ee5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd1461032f5761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613f62565b6109b8565b6040516102959190614bf2565b60405180910390f35b3480156102aa57600080fd5b506102b3610a9a565b6040516102c09190614c28565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190614061565b610b2c565b6040516102fd9190614aaf565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613ef5565b610bb1565b005b34801561033b57600080fd5b50610344610cc9565b604051610351919061501c565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613ddf565b610ccf565b005b34801561038f57600080fd5b50610398610d2f565b005b3480156103a657600080fd5b506103c160048036038101906103bc9190613fbc565b610e12565b005b3480156103cf57600080fd5b506103d8610ee0565b6040516103e5919061501c565b60405180910390f35b3480156103fa57600080fd5b5061041560048036038101906104109190614061565b610ee6565b005b34801561042357600080fd5b5061043e60048036038101906104399190614061565b610fa3565b005b34801561044c57600080fd5b5061046760048036038101906104629190613ddf565b611176565b005b34801561047557600080fd5b50610490600480360381019061048b9190613fbc565b611196565b005b34801561049e57600080fd5b506104a7611264565b6040516104b4919061501c565b60405180910390f35b3480156104c957600080fd5b506104e460048036038101906104df9190614061565b61126a565b6040516104f19190614aaf565b60405180910390f35b34801561050657600080fd5b5061050f61131c565b60405161051c9190614c28565b60405180910390f35b34801561053157600080fd5b5061054c60048036038101906105479190614061565b6113aa565b005b34801561055a57600080fd5b5061057560048036038101906105709190613d72565b611631565b604051610582919061501c565b60405180910390f35b34801561059757600080fd5b506105a06116e9565b005b3480156105ae57600080fd5b506105c960048036038101906105c49190613fbc565b611771565b6040516105d6919061501c565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190614005565b61179f565b005b34801561061457600080fd5b5061061d611900565b60405161062a9190614aaf565b60405180910390f35b34801561063f57600080fd5b5061065a60048036038101906106559190614061565b61192a565b005b34801561066857600080fd5b50610683600480360381019061067e9190613ef5565b6119e9565b005b34801561069157600080fd5b5061069a611ba2565b6040516106a79190614c28565b60405180910390f35b3480156106bc57600080fd5b506106c5611c34565b6040516106d29190614c0d565b60405180910390f35b3480156106e757600080fd5b506106f0611c47565b6040516106fd919061501c565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190613eb5565b611c4d565b005b34801561073b57600080fd5b5061075660048036038101906107519190614061565b611c63565b6040516107639190614c28565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e9190613e32565b611d0f565b005b3480156107a157600080fd5b506107bc60048036038101906107b79190614005565b611d71565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190614061565b611e8a565b6040516107f29190614c28565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190614061565b611fdc565b005b34801561083057600080fd5b5061083961209b565b604051610846919061501c565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190614061565b6120a1565b60405161088391906150c8565b60405180910390f35b34801561089857600080fd5b506108b360048036038101906108ae9190613d9f565b6120db565b6040516108c09190614bf2565b60405180910390f35b6108e360048036038101906108de9190614061565b61216f565b005b3480156108f157600080fd5b5061090c60048036038101906109079190614061565b6126ee565b005b34801561091a57600080fd5b50610923612834565b604051610930919061501c565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b9190613d72565b61283a565b005b34801561096e57600080fd5b50610977612932565b6040516109849190614c28565b60405180910390f35b34801561099957600080fd5b506109a26129c0565b6040516109af919061501c565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a935750610a92826129c6565b5b9050919050565b606060008054610aa990615487565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad590615487565b8015610b225780601f10610af757610100808354040283529160200191610b22565b820191906000526020600020905b815481529060010190602001808311610b0557829003601f168201915b5050505050905090565b6000610b3782612a30565b610b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6d90614edc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bbc8261126a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2490614f7c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4c612a9c565b73ffffffffffffffffffffffffffffffffffffffff161480610c7b5750610c7a81610c75612a9c565b6120db565b5b610cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb190614dfc565b60405180910390fd5b610cc48383612aa4565b505050565b600d5481565b610ce0610cda612a9c565b82612b5d565b610d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1690614f9c565b60405180910390fd5b610d2a838383612c3b565b505050565b610d37612a9c565b73ffffffffffffffffffffffffffffffffffffffff16610d55611900565b73ffffffffffffffffffffffffffffffffffffffff1614610dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da290614f1c565b60405180910390fd5b6001600760146101000a81548160ff02191690836002811115610dd157610dd0615692565b5b02179055507f2e4f7a7d1eabb7c0f9ff13188522d2e95caabf86efaca88efbc3f4914cd20491306012604051610e08929190614b16565b60405180910390a1565b610e1a612a9c565b73ffffffffffffffffffffffffffffffffffffffff16610e38611900565b73ffffffffffffffffffffffffffffffffffffffff1614610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590614f1c565b60405180910390fd5b8060089080519060200190610ea4929190613a8f565b507f11050bdf129877be9e71e184959f825f1c8ea8f55a0f9c0ce7cc43d4d5558c696008604051610ed59190614c7a565b60405180910390a150565b600f5481565b610eee612a9c565b73ffffffffffffffffffffffffffffffffffffffff16610f0c611900565b73ffffffffffffffffffffffffffffffffffffffff1614610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5990614f1c565b60405180910390fd5b80600f819055507fa0d00b67de438a8cfea61334cc5f5f6ac9eb39004f44a59f03dcc7eec765facb81604051610f98919061501c565b60405180910390a150565b610fab612a9c565b73ffffffffffffffffffffffffffffffffffffffff16610fc9611900565b73ffffffffffffffffffffffffffffffffffffffff161461101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690614f1c565b60405180910390fd5b6001600281111561103357611032615692565b5b600760149054906101000a900460ff16600281111561105557611054615692565b5b14611095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108c90614efc565b60405180910390fd5b6002600760146101000a81548160ff021916908360028111156110bb576110ba615692565b5b021790555060006001600d546110d1919061524d565b90506110e56110df8361126a565b82612e97565b61111281600a60086040516020016110fe929190614a8b565b604051602081830303815290604052612eb5565b7f8856d910e0ffd1d94523959349e93105c16b3948d4744d570ea003d12d541ac7308284600a600860405160200161114b929190614a8b565b60405160208183030381529060405260405161116a9493929190614ba6565b60405180910390a15050565b61119183838360405180602001604052806000815250611d0f565b505050565b61119e612a9c565b73ffffffffffffffffffffffffffffffffffffffff166111bc611900565b73ffffffffffffffffffffffffffffffffffffffff1614611212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120990614f1c565b60405180910390fd5b80600a9080519060200190611228929190613a8f565b507ff9c7803e94e0d3c02900d8a90893a6d5e90dd04d32a4cfe825520f82bf9f32f6600a6040516112599190614c7a565b60405180910390a150565b600e5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130a90614e3c565b60405180910390fd5b80915050919050565b600a805461132990615487565b80601f016020809104026020016040519081016040528092919081815260200182805461135590615487565b80156113a25780601f10611377576101008083540402835291602001916113a2565b820191906000526020600020905b81548152906001019060200180831161138557829003601f168201915b505050505081565b6113b2612a9c565b73ffffffffffffffffffffffffffffffffffffffff166113d0611900565b73ffffffffffffffffffffffffffffffffffffffff1614611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90614f1c565b60405180910390fd5b60006009828154811061143c5761143b61571f565b5b90600052602060002001805461145190615487565b80601f016020809104026020016040519081016040528092919081815260200182805461147d90615487565b80156114ca5780601f1061149f576101008083540402835291602001916114ca565b820191906000526020600020905b8154815290600101906020018083116114ad57829003601f168201915b505050505090506013816040516114e19190614a39565b908152602001604051809103902054600c6000828254611501919061532e565b925050819055506013816040516115189190614a39565b9081526020016040518091039020600090556009600160098054905061153e919061532e565b8154811061154f5761154e61571f565b5b906000526020600020016009838154811061156d5761156c61571f565b5b9060005260206000200190805461158390615487565b61158e929190613b15565b5060098054806115a1576115a06156f0565b5b6001900381819060005260206000200160006115bd9190613ba2565b9055601060008154809291906115d29061545d565b9190505550601160008154809291906115ea9061545d565b91905055507facee8fe44bebce17662e60e8126123be10dd46de2ae09b4b7136251b4e3ac40282600960115460405161162593929190615037565b60405180910390a15050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990614e1c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116f1612a9c565b73ffffffffffffffffffffffffffffffffffffffff1661170f611900565b73ffffffffffffffffffffffffffffffffffffffff1614611765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175c90614f1c565b60405180910390fd5b61176f6000612f29565b565b6013818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b6117a7612a9c565b73ffffffffffffffffffffffffffffffffffffffff166117c5611900565b73ffffffffffffffffffffffffffffffffffffffff161461181b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181290614f1c565b60405180910390fd5b600982908060018154018082558091505060019003906000526020600020016000909190919091509080519060200190611856929190613a8f565b50806013836040516118689190614a39565b90815260200160405180910390208190555080600c600082825461188c919061524d565b92505081905550601060008154809291906118a6906155ba565b9190505550601160008154809291906118be906155ba565b91905055507fc6f39ca2c590872c83c8f1e7e4fa8a3d082e2ddb85d0a0dd3b3b89ac5abe1c5882826040516118f4929190614c4a565b60405180910390a15050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611932612a9c565b73ffffffffffffffffffffffffffffffffffffffff16611950611900565b73ffffffffffffffffffffffffffffffffffffffff16146119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90614f1c565b60405180910390fd5b80600b819055507f6bfd5e75539a9d2626425a2e2922675256b219fe546d63dad56011759b9a2f66600b546040516119de919061501c565b60405180910390a150565b6119f1612a9c565b73ffffffffffffffffffffffffffffffffffffffff16611a0f611900565b73ffffffffffffffffffffffffffffffffffffffff1614611a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5c90614f1c565b60405180910390fd5b600082905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611aa59190614aaf565b60206040518083038186803b158015611abd57600080fd5b505afa158015611ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af5919061408e565b905080831115611b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3190614ddc565b60405180910390fd5b611b6533848473ffffffffffffffffffffffffffffffffffffffff16612fef9092919063ffffffff16565b7fb37f4ec23df2fbe884c08713adfee8f41c2841152798fa364c1e4eb49ec8ff4133604051611b949190614aaf565b60405180910390a150505050565b606060018054611bb190615487565b80601f0160208091040260200160405190810160405280929190818152602001828054611bdd90615487565b8015611c2a5780601f10611bff57610100808354040283529160200191611c2a565b820191906000526020600020905b815481529060010190602001808311611c0d57829003601f168201915b5050505050905090565b600760149054906101000a900460ff1681565b600b5481565b611c5f611c58612a9c565b8383613075565b5050565b60098181548110611c7357600080fd5b906000526020600020016000915090508054611c8e90615487565b80601f0160208091040260200160405190810160405280929190818152602001828054611cba90615487565b8015611d075780601f10611cdc57610100808354040283529160200191611d07565b820191906000526020600020905b815481529060010190602001808311611cea57829003601f168201915b505050505081565b611d20611d1a612a9c565b83612b5d565b611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690614f9c565b60405180910390fd5b611d6b848484846131e2565b50505050565b611d79612a9c565b73ffffffffffffffffffffffffffffffffffffffff16611d97611900565b73ffffffffffffffffffffffffffffffffffffffff1614611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614f1c565b60405180910390fd5b80601383604051611dfe9190614a39565b908152602001604051809103902054600c54611e1a919061532e565b611e24919061524d565b600c8190555080601383604051611e3b9190614a39565b9081526020016040518091039020819055507f0416bbd895c89c7fbec0b661b6579ca0065282ef1aead14965b716e6b98ad0f98282604051611e7e929190614c4a565b60405180910390a15050565b6060611e9582612a30565b611ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecb90614e9c565b60405180910390fd5b6000600660008481526020019081526020016000208054611ef490615487565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2090615487565b8015611f6d5780601f10611f4257610100808354040283529160200191611f6d565b820191906000526020600020905b815481529060010190602001808311611f5057829003601f168201915b505050505090506000611f7e61323e565b9050600081511415611f94578192505050611fd7565b600082511115611fc9578082604051602001611fb1929190614a50565b60405160208183030381529060405292505050611fd7565b611fd284613255565b925050505b919050565b611fe4612a9c565b73ffffffffffffffffffffffffffffffffffffffff16612002611900565b73ffffffffffffffffffffffffffffffffffffffff1614612058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204f90614f1c565b60405180910390fd5b80600e819055507f3e8e799e74e88433cfb7372a6b84f0462ec4120bfc959930172d365c6e3808cc600e54604051612090919061501c565b60405180910390a150565b600c5481565b601281815481106120b157600080fd5b9060005260206000209060089182820401919006600402915054906101000a900463ffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600281111561218357612182615692565b5b600760149054906101000a900460ff1660028111156121a5576121a4615692565b5b146121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90614ebc565b60405180910390fd5b6000600c541180156121fa5750600c54600d54105b612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223090614d3c565b60405180910390fd5b600f5442101561227e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227590614c9c565b60405180910390fd5b612286611900565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461237557600d54600c546122c8919061532e565b81111580156122d75750600081115b80156122e55750600e548111155b612324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231b90614d1c565b60405180910390fd5b80600b5461233291906152d4565b341015612374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236b90614ffc565b60405180910390fd5b5b60005b81811015612694576000600182600d54612392919061524d565b61239c919061524d565b90506123a83382612e97565b600060105483854233866040516020016123c6959493929190615075565b6040516020818303038152906040528051906020012060001c6123e99190615603565b905061243482600a600984815481106124055761240461571f565b5b90600052602060002001604051602001612420929190614a8b565b604051602081830303815290604052612eb5565b60136009828154811061244a5761244961571f565b5b906000526020600020016040516124619190614a74565b908152602001604051809103902060008154809291906124809061545d565b9190505550600060136009838154811061249d5761249c61571f565b5b906000526020600020016040516124b49190614a74565b9081526020016040518091039020541415612631576000600982815481106124df576124de61571f565b5b9060005260206000200180546124f490615487565b80601f016020809104026020016040519081016040528092919081815260200182805461252090615487565b801561256d5780601f106125425761010080835404028352916020019161256d565b820191906000526020600020905b81548152906001019060200180831161255057829003601f168201915b5050505050905060096001601054612585919061532e565b815481106125965761259561571f565b5b90600052602060002001600983815481106125b4576125b361571f565b5b906000526020600020019080546125ca90615487565b6125d5929190613b15565b5080600960016010546125e8919061532e565b815481106125f9576125f861571f565b5b906000526020600020019080519060200190612616929190613a8f565b506010600081548092919061262a9061545d565b9190505550505b60128290806001815401808255809150506001900390600052602060002090600891828204019190066004029091909190916101000a81548163ffffffff021916908363ffffffff1602179055505050808061268c906155ba565b915050612378565b5080600d60008282546126a7919061524d565b925050819055507ff761777482b4b40d2bcc0d050cfba6829900a2d8b3484bd0244ec0feeb3db5043382600d546040516126e393929190614b6f565b60405180910390a150565b6126f6612a9c565b73ffffffffffffffffffffffffffffffffffffffff16612714611900565b73ffffffffffffffffffffffffffffffffffffffff161461276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276190614f1c565b60405180910390fd5b6000479050808211156127b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a990614ddc565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156127f8573d6000803e3d6000fd5b507fd80edbda103ec0b71f36c87845a6adf924861e7eae59c86725c936b96ece0e9c336040516128289190614aaf565b60405180910390a15050565b60105481565b612842612a9c565b73ffffffffffffffffffffffffffffffffffffffff16612860611900565b73ffffffffffffffffffffffffffffffffffffffff16146128b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ad90614f1c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291d90614cdc565b60405180910390fd5b61292f81612f29565b50565b6008805461293f90615487565b80601f016020809104026020016040519081016040528092919081815260200182805461296b90615487565b80156129b85780601f1061298d576101008083540402835291602001916129b8565b820191906000526020600020905b81548152906001019060200180831161299b57829003601f168201915b505050505081565b60115481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b178361126a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b6882612a30565b612ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9e90614dbc565b60405180910390fd5b6000612bb28361126a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c2157508373ffffffffffffffffffffffffffffffffffffffff16612c0984610b2c565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c325750612c3181856120db565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c5b8261126a565b73ffffffffffffffffffffffffffffffffffffffff1614612cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca890614f3c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1890614d5c565b60405180910390fd5b612d2c8383836132fc565b612d37600082612aa4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d87919061532e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dde919061524d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612eb1828260405180602001604052806000815250613301565b5050565b612ebe82612a30565b612efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef490614e5c565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612f24929190613a8f565b505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6130708363a9059cbb60e01b848460405160240161300e929190614b46565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061335c565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130db90614d7c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131d59190614bf2565b60405180910390a3505050565b6131ed848484612c3b565b6131f984848484613423565b613238576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322f90614cbc565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606061326082612a30565b61329f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329690614f5c565b60405180910390fd5b60006132a961323e565b905060008151116132c957604051806020016040528060008152506132f4565b806132d3846135ba565b6040516020016132e4929190614a50565b6040516020818303038152906040525b915050919050565b505050565b61330b838361371b565b6133186000848484613423565b613357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334e90614cbc565b60405180910390fd5b505050565b60006133be826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166138e99092919063ffffffff16565b905060008151111561341e57808060200190518101906133de9190613f35565b61341d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341490614fdc565b60405180910390fd5b5b505050565b60006134448473ffffffffffffffffffffffffffffffffffffffff16613901565b156135ad578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261346d612a9c565b8786866040518563ffffffff1660e01b815260040161348f9493929190614aca565b602060405180830381600087803b1580156134a957600080fd5b505af19250505080156134da57506040513d601f19601f820116820180604052508101906134d79190613f8f565b60015b61355d573d806000811461350a576040519150601f19603f3d011682016040523d82523d6000602084013e61350f565b606091505b50600081511415613555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354c90614cbc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135b2565b600190505b949350505050565b60606000821415613602576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613716565b600082905060005b6000821461363457808061361d906155ba565b915050600a8261362d91906152a3565b915061360a565b60008167ffffffffffffffff8111156136505761364f61574e565b5b6040519080825280601f01601f1916602001820160405280156136825781602001600182028036833780820191505090505b5090505b6000851461370f5760018261369b919061532e565b9150600a856136aa9190615603565b60306136b6919061524d565b60f81b8183815181106136cc576136cb61571f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561370891906152a3565b9450613686565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561378b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161378290614e7c565b60405180910390fd5b61379481612a30565b156137d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137cb90614cfc565b60405180910390fd5b6137e0600083836132fc565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613830919061524d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60606138f88484600085613914565b90509392505050565b600080823b905060008111915050919050565b606082471015613959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395090614d9c565b60405180910390fd5b61396285613901565b6139a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399890614fbc565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516139ca9190614a22565b60006040518083038185875af1925050503d8060008114613a07576040519150601f19603f3d011682016040523d82523d6000602084013e613a0c565b606091505b5091509150613a1c828286613a28565b92505050949350505050565b60608315613a3857829050613a88565b600083511115613a4b5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7f9190614c28565b60405180910390fd5b9392505050565b828054613a9b90615487565b90600052602060002090601f016020900481019282613abd5760008555613b04565b82601f10613ad657805160ff1916838001178555613b04565b82800160010185558215613b04579182015b82811115613b03578251825591602001919060010190613ae8565b5b509050613b119190613be2565b5090565b828054613b2190615487565b90600052602060002090601f016020900481019282613b435760008555613b91565b82601f10613b545780548555613b91565b82800160010185558215613b9157600052602060002091601f016020900482015b82811115613b90578254825591600101919060010190613b75565b5b509050613b9e9190613be2565b5090565b508054613bae90615487565b6000825580601f10613bc05750613bdf565b601f016020900490600052602060002090810190613bde9190613be2565b5b50565b5b80821115613bfb576000816000905550600101613be3565b5090565b6000613c12613c0d84615108565b6150e3565b905082815260208101848484011115613c2e57613c2d615782565b5b613c3984828561541b565b509392505050565b6000613c54613c4f84615139565b6150e3565b905082815260208101848484011115613c7057613c6f615782565b5b613c7b84828561541b565b509392505050565b600081359050613c9281615efa565b92915050565b600081359050613ca781615f11565b92915050565b600081519050613cbc81615f11565b92915050565b600081359050613cd181615f28565b92915050565b600081519050613ce681615f28565b92915050565b600082601f830112613d0157613d0061577d565b5b8135613d11848260208601613bff565b91505092915050565b600082601f830112613d2f57613d2e61577d565b5b8135613d3f848260208601613c41565b91505092915050565b600081359050613d5781615f3f565b92915050565b600081519050613d6c81615f3f565b92915050565b600060208284031215613d8857613d8761578c565b5b6000613d9684828501613c83565b91505092915050565b60008060408385031215613db657613db561578c565b5b6000613dc485828601613c83565b9250506020613dd585828601613c83565b9150509250929050565b600080600060608486031215613df857613df761578c565b5b6000613e0686828701613c83565b9350506020613e1786828701613c83565b9250506040613e2886828701613d48565b9150509250925092565b60008060008060808587031215613e4c57613e4b61578c565b5b6000613e5a87828801613c83565b9450506020613e6b87828801613c83565b9350506040613e7c87828801613d48565b925050606085013567ffffffffffffffff811115613e9d57613e9c615787565b5b613ea987828801613cec565b91505092959194509250565b60008060408385031215613ecc57613ecb61578c565b5b6000613eda85828601613c83565b9250506020613eeb85828601613c98565b9150509250929050565b60008060408385031215613f0c57613f0b61578c565b5b6000613f1a85828601613c83565b9250506020613f2b85828601613d48565b9150509250929050565b600060208284031215613f4b57613f4a61578c565b5b6000613f5984828501613cad565b91505092915050565b600060208284031215613f7857613f7761578c565b5b6000613f8684828501613cc2565b91505092915050565b600060208284031215613fa557613fa461578c565b5b6000613fb384828501613cd7565b91505092915050565b600060208284031215613fd257613fd161578c565b5b600082013567ffffffffffffffff811115613ff057613fef615787565b5b613ffc84828501613d1a565b91505092915050565b6000806040838503121561401c5761401b61578c565b5b600083013567ffffffffffffffff81111561403a57614039615787565b5b61404685828601613d1a565b925050602061405785828601613d48565b9150509250929050565b6000602082840312156140775761407661578c565b5b600061408584828501613d48565b91505092915050565b6000602082840312156140a4576140a361578c565b5b60006140b284828501613d5d565b91505092915050565b60006140c783836144a2565b905092915050565b6140d881615372565b82525050565b60006140e9826151a9565b6140f381856151e2565b9350836020820285016141058561516a565b8060005b858110156141405784840389528161412185826140bb565b945061412c836151d5565b925060208a01995050600181019050614109565b50829750879550505050505092915050565b600061415d826151b4565b61416781856151f3565b9350836141738461517f565b6000600115614260575b8360016008038201101561425f57815461419f8861419a836154b9565b614a04565b6020880197506141b7886141b283615555565b614a04565b6020880197506141cf886141ca8361556f565b614a04565b6020880197506141e7886141e2836154d3565b614a04565b6020880197506141ff886141fa836154ed565b614a04565b6020880197506142178861421283615507565b614a04565b60208801975061422f8861422a83615521565b614a04565b602088019750614247886142428361553b565b614a04565b6020880197506001830192505060088101905061417d565b5b6001156143a357815484821015614290576142838861427e836154b9565b614a04565b6020880197506001820191505b848210156142b7576142aa886142a583615555565b614a04565b6020880197506001820191505b848210156142de576142d1886142cc8361556f565b614a04565b6020880197506001820191505b84821015614305576142f8886142f3836154d3565b614a04565b6020880197506001820191505b8482101561432c5761431f8861431a836154ed565b614a04565b6020880197506001820191505b84821015614353576143468861434183615507565b614a04565b6020880197506001820191505b8482101561437a5761436d8861436883615521565b614a04565b6020880197506001820191505b848210156143a1576143948861438f8361553b565b614a04565b6020880197506001820191505b505b8694505050505092915050565b6143b981615384565b82525050565b60006143ca826151bf565b6143d48185615204565b93506143e481856020860161542a565b6143ed81615791565b840191505092915050565b6000614403826151bf565b61440d8185615215565b935061441d81856020860161542a565b80840191505092915050565b61443281615409565b82525050565b6000614443826151ca565b61444d8185615231565b935061445d81856020860161542a565b61446681615791565b840191505092915050565b600061447c826151ca565b6144868185615242565b935061449681856020860161542a565b80840191505092915050565b600081546144af81615487565b6144b98186615220565b945060018216600081146144d457600181146144e657614519565b60ff1983168652602086019350614519565b6144ef85615194565b60005b83811015614511578154818901526001820191506020810190506144f2565b808801955050505b50505092915050565b6000815461452f81615487565b6145398186615231565b94506001821660008114614554576001811461456657614599565b60ff1983168652602086019350614599565b61456f85615194565b60005b8381101561459157815481890152600182019150602081019050614572565b808801955050505b50505092915050565b600081546145af81615487565b6145b98186615242565b945060018216600081146145d457600181146145e557614618565b60ff19831686528186019350614618565b6145ee85615194565b60005b83811015614610578154818901526001820191506020810190506145f1565b838801955050505b50505092915050565b600061462e601483615231565b91506146398261580a565b602082019050919050565b6000614651603283615231565b915061465c82615833565b604082019050919050565b6000614674602683615231565b915061467f82615882565b604082019050919050565b6000614697601c83615231565b91506146a2826158d1565b602082019050919050565b60006146ba601983615231565b91506146c5826158fa565b602082019050919050565b60006146dd601683615231565b91506146e882615923565b602082019050919050565b6000614700602483615231565b915061470b8261594c565b604082019050919050565b6000614723601983615231565b915061472e8261599b565b602082019050919050565b6000614746602683615231565b9150614751826159c4565b604082019050919050565b6000614769602c83615231565b915061477482615a13565b604082019050919050565b600061478c600e83615231565b915061479782615a62565b602082019050919050565b60006147af603883615231565b91506147ba82615a8b565b604082019050919050565b60006147d2602a83615231565b91506147dd82615ada565b604082019050919050565b60006147f5602983615231565b915061480082615b29565b604082019050919050565b6000614818602e83615231565b915061482382615b78565b604082019050919050565b600061483b602083615231565b915061484682615bc7565b602082019050919050565b600061485e603183615231565b915061486982615bf0565b604082019050919050565b6000614881601c83615231565b915061488c82615c3f565b602082019050919050565b60006148a4602c83615231565b91506148af82615c68565b604082019050919050565b60006148c7601583615231565b91506148d282615cb7565b602082019050919050565b60006148ea602083615231565b91506148f582615ce0565b602082019050919050565b600061490d602983615231565b915061491882615d09565b604082019050919050565b6000614930602f83615231565b915061493b82615d58565b604082019050919050565b6000614953602183615231565b915061495e82615da7565b604082019050919050565b6000614976603183615231565b915061498182615df6565b604082019050919050565b6000614999601d83615231565b91506149a482615e45565b602082019050919050565b60006149bc602a83615231565b91506149c782615e6e565b604082019050919050565b60006149df602083615231565b91506149ea82615ebd565b602082019050919050565b6149fe816153ef565b82525050565b614a0d816153f9565b82525050565b614a1c816153f9565b82525050565b6000614a2e82846143f8565b915081905092915050565b6000614a458284614471565b915081905092915050565b6000614a5c8285614471565b9150614a688284614471565b91508190509392505050565b6000614a8082846145a2565b915081905092915050565b6000614a9782856145a2565b9150614aa382846145a2565b91508190509392505050565b6000602082019050614ac460008301846140cf565b92915050565b6000608082019050614adf60008301876140cf565b614aec60208301866140cf565b614af960408301856149f5565b8181036060830152614b0b81846143bf565b905095945050505050565b6000604082019050614b2b60008301856140cf565b8181036020830152614b3d8184614152565b90509392505050565b6000604082019050614b5b60008301856140cf565b614b6860208301846149f5565b9392505050565b6000606082019050614b8460008301866140cf565b614b9160208301856149f5565b614b9e60408301846149f5565b949350505050565b6000608082019050614bbb60008301876140cf565b614bc860208301866149f5565b614bd560408301856149f5565b8181036060830152614be78184614438565b905095945050505050565b6000602082019050614c0760008301846143b0565b92915050565b6000602082019050614c226000830184614429565b92915050565b60006020820190508181036000830152614c428184614438565b905092915050565b60006040820190508181036000830152614c648185614438565b9050614c7360208301846149f5565b9392505050565b60006020820190508181036000830152614c948184614522565b905092915050565b60006020820190508181036000830152614cb581614621565b9050919050565b60006020820190508181036000830152614cd581614644565b9050919050565b60006020820190508181036000830152614cf581614667565b9050919050565b60006020820190508181036000830152614d158161468a565b9050919050565b60006020820190508181036000830152614d35816146ad565b9050919050565b60006020820190508181036000830152614d55816146d0565b9050919050565b60006020820190508181036000830152614d75816146f3565b9050919050565b60006020820190508181036000830152614d9581614716565b9050919050565b60006020820190508181036000830152614db581614739565b9050919050565b60006020820190508181036000830152614dd58161475c565b9050919050565b60006020820190508181036000830152614df58161477f565b9050919050565b60006020820190508181036000830152614e15816147a2565b9050919050565b60006020820190508181036000830152614e35816147c5565b9050919050565b60006020820190508181036000830152614e55816147e8565b9050919050565b60006020820190508181036000830152614e758161480b565b9050919050565b60006020820190508181036000830152614e958161482e565b9050919050565b60006020820190508181036000830152614eb581614851565b9050919050565b60006020820190508181036000830152614ed581614874565b9050919050565b60006020820190508181036000830152614ef581614897565b9050919050565b60006020820190508181036000830152614f15816148ba565b9050919050565b60006020820190508181036000830152614f35816148dd565b9050919050565b60006020820190508181036000830152614f5581614900565b9050919050565b60006020820190508181036000830152614f7581614923565b9050919050565b60006020820190508181036000830152614f9581614946565b9050919050565b60006020820190508181036000830152614fb581614969565b9050919050565b60006020820190508181036000830152614fd58161498c565b9050919050565b60006020820190508181036000830152614ff5816149af565b9050919050565b60006020820190508181036000830152615015816149d2565b9050919050565b600060208201905061503160008301846149f5565b92915050565b600060608201905061504c60008301866149f5565b818103602083015261505e81856140de565b905061506d60408301846149f5565b949350505050565b600060a08201905061508a60008301886149f5565b61509760208301876149f5565b6150a460408301866149f5565b6150b160608301856140cf565b6150be60808301846149f5565b9695505050505050565b60006020820190506150dd6000830184614a13565b92915050565b60006150ed6150fe565b90506150f98282615589565b919050565b6000604051905090565b600067ffffffffffffffff8211156151235761512261574e565b5b61512c82615791565b9050602081019050919050565b600067ffffffffffffffff8211156151545761515361574e565b5b61515d82615791565b9050602081019050919050565b60008190508160005260206000209050919050565b60008190508160005260206000209050919050565b60008190508160005260206000209050919050565b600081549050919050565b600081549050919050565b600081519050919050565b600081519050919050565b6000600182019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615258826153ef565b9150615263836153ef565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561529857615297615634565b5b828201905092915050565b60006152ae826153ef565b91506152b9836153ef565b9250826152c9576152c8615663565b5b828204905092915050565b60006152df826153ef565b91506152ea836153ef565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561532357615322615634565b5b828202905092915050565b6000615339826153ef565b9150615344836153ef565b92508282101561535757615356615634565b5b828203905092915050565b600063ffffffff82169050919050565b600061537d826153cf565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506153ca82615ee6565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b6000615414826153bc565b9050919050565b82818337600083830152505050565b60005b8381101561544857808201518184015260208101905061542d565b83811115615457576000848401525b50505050565b6000615468826153ef565b9150600082141561547c5761547b615634565b5b600182039050919050565b6000600282049050600182168061549f57607f821691505b602082108114156154b3576154b26156c1565b5b50919050565b60006154cc6154c7836157a2565b615362565b9050919050565b60006154e66154e1836157fd565b615362565b9050919050565b60006155006154fb836157af565b615362565b9050919050565b600061551a615515836157bc565b615362565b9050919050565b600061553461552f836157c9565b615362565b9050919050565b600061554e615549836157d6565b615362565b9050919050565b6000615568615563836157e3565b615362565b9050919050565b600061558261557d836157f0565b615362565b9050919050565b61559282615791565b810181811067ffffffffffffffff821117156155b1576155b061574e565b5b80604052505050565b60006155c5826153ef565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155f8576155f7615634565b5b600182019050919050565b600061560e826153ef565b9150615619836153ef565b92508261562957615628615663565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160001c9050919050565b60008160801c9050919050565b60008160a01c9050919050565b60008160c01c9050919050565b60008160e01c9050919050565b60008160201c9050919050565b60008160401c9050919050565b60008160601c9050919050565b7f4e6f742074696d6520746f207075726368617365000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4f75742072616e6765206f6620746f6b656e20616d6f756e7400000000000000600082015250565b7f416c6c204e465473207765726520736f6c64206f757400000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f7574206f662062616c616e6365000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4e6f7420726561647920746f20707572636861736520746f6b656e7300000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f426174746c65206973206e6f7420737461727465640000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682045544820666f7220627579696e6720746f6b656e73600082015250565b60038110615ef757615ef6615692565b5b50565b615f0381615372565b8114615f0e57600080fd5b50565b615f1a81615384565b8114615f2557600080fd5b50565b615f3181615390565b8114615f3c57600080fd5b50565b615f48816153ef565b8114615f5357600080fd5b5056fea2646970667358221220284ffbb318e81cd980984763ad60cbde772ba0e5984a4bded38bc5bd580f775b64736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000015fb7f9b8c380000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000061ce39f000000000000000000000000000000000000000000000000000000000000000284e6966747920526f79616c65205820506572727920436f6f7065723a20536f686f204472696e6b7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064e52504353440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d58347037517169514e7a4c69476e6334386169516f63754e746138644c5a6766715358503638374538474a72000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6e69667479726f79616c652e6d7970696e6174612e636c6f75642f697066732f000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102555760003560e01c80638da5cb5b11610139578063c87b56dd116100b6578063efef39a11161007a578063efef39a1146108c9578063f14210a6146108e5578063f238c31d1461090e578063f2fde38b14610939578063f9cae7e014610962578063f9f0ee951461098d5761025c565b8063c87b56dd146107be578063cde85f7f146107fb578063d5abeb0114610824578063dc570d371461084f578063e985e9c51461088c5761025c565b8063a035b1fe116100fd578063a035b1fe146106db578063a22cb46514610706578063a6cd1c831461072f578063b88d4fde1461076c578063c52b7b80146107955761025c565b80638da5cb5b1461060857806391b7f5ed14610633578063928d81c11461065c57806395d89b41146106855780639f823849146106b05761025c565b80634157e6ef116101d25780636c0360eb116101965780636c0360eb146104fa5780636e4af0ab1461052557806370a082311461054e578063715018a61461058b57806374087b11146105a25780637fece85e146105df5761025c565b80634157e6ef1461041757806342842e0e1461044057806355f804b31461046957806361d161ea146104925780636352211e146104bd5761025c565b806323b872dd1161021957806323b872dd1461035a578063240a2c971461038357806333e651081461039a57806339518b5e146103c35780633f52e589146103ee5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806318160ddd1461032f5761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613f62565b6109b8565b6040516102959190614bf2565b60405180910390f35b3480156102aa57600080fd5b506102b3610a9a565b6040516102c09190614c28565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190614061565b610b2c565b6040516102fd9190614aaf565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613ef5565b610bb1565b005b34801561033b57600080fd5b50610344610cc9565b604051610351919061501c565b60405180910390f35b34801561036657600080fd5b50610381600480360381019061037c9190613ddf565b610ccf565b005b34801561038f57600080fd5b50610398610d2f565b005b3480156103a657600080fd5b506103c160048036038101906103bc9190613fbc565b610e12565b005b3480156103cf57600080fd5b506103d8610ee0565b6040516103e5919061501c565b60405180910390f35b3480156103fa57600080fd5b5061041560048036038101906104109190614061565b610ee6565b005b34801561042357600080fd5b5061043e60048036038101906104399190614061565b610fa3565b005b34801561044c57600080fd5b5061046760048036038101906104629190613ddf565b611176565b005b34801561047557600080fd5b50610490600480360381019061048b9190613fbc565b611196565b005b34801561049e57600080fd5b506104a7611264565b6040516104b4919061501c565b60405180910390f35b3480156104c957600080fd5b506104e460048036038101906104df9190614061565b61126a565b6040516104f19190614aaf565b60405180910390f35b34801561050657600080fd5b5061050f61131c565b60405161051c9190614c28565b60405180910390f35b34801561053157600080fd5b5061054c60048036038101906105479190614061565b6113aa565b005b34801561055a57600080fd5b5061057560048036038101906105709190613d72565b611631565b604051610582919061501c565b60405180910390f35b34801561059757600080fd5b506105a06116e9565b005b3480156105ae57600080fd5b506105c960048036038101906105c49190613fbc565b611771565b6040516105d6919061501c565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190614005565b61179f565b005b34801561061457600080fd5b5061061d611900565b60405161062a9190614aaf565b60405180910390f35b34801561063f57600080fd5b5061065a60048036038101906106559190614061565b61192a565b005b34801561066857600080fd5b50610683600480360381019061067e9190613ef5565b6119e9565b005b34801561069157600080fd5b5061069a611ba2565b6040516106a79190614c28565b60405180910390f35b3480156106bc57600080fd5b506106c5611c34565b6040516106d29190614c0d565b60405180910390f35b3480156106e757600080fd5b506106f0611c47565b6040516106fd919061501c565b60405180910390f35b34801561071257600080fd5b5061072d60048036038101906107289190613eb5565b611c4d565b005b34801561073b57600080fd5b5061075660048036038101906107519190614061565b611c63565b6040516107639190614c28565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e9190613e32565b611d0f565b005b3480156107a157600080fd5b506107bc60048036038101906107b79190614005565b611d71565b005b3480156107ca57600080fd5b506107e560048036038101906107e09190614061565b611e8a565b6040516107f29190614c28565b60405180910390f35b34801561080757600080fd5b50610822600480360381019061081d9190614061565b611fdc565b005b34801561083057600080fd5b5061083961209b565b604051610846919061501c565b60405180910390f35b34801561085b57600080fd5b5061087660048036038101906108719190614061565b6120a1565b60405161088391906150c8565b60405180910390f35b34801561089857600080fd5b506108b360048036038101906108ae9190613d9f565b6120db565b6040516108c09190614bf2565b60405180910390f35b6108e360048036038101906108de9190614061565b61216f565b005b3480156108f157600080fd5b5061090c60048036038101906109079190614061565b6126ee565b005b34801561091a57600080fd5b50610923612834565b604051610930919061501c565b60405180910390f35b34801561094557600080fd5b50610960600480360381019061095b9190613d72565b61283a565b005b34801561096e57600080fd5b50610977612932565b6040516109849190614c28565b60405180910390f35b34801561099957600080fd5b506109a26129c0565b6040516109af919061501c565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a935750610a92826129c6565b5b9050919050565b606060008054610aa990615487565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad590615487565b8015610b225780601f10610af757610100808354040283529160200191610b22565b820191906000526020600020905b815481529060010190602001808311610b0557829003601f168201915b5050505050905090565b6000610b3782612a30565b610b76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6d90614edc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bbc8261126a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2490614f7c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c4c612a9c565b73ffffffffffffffffffffffffffffffffffffffff161480610c7b5750610c7a81610c75612a9c565b6120db565b5b610cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb190614dfc565b60405180910390fd5b610cc48383612aa4565b505050565b600d5481565b610ce0610cda612a9c565b82612b5d565b610d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1690614f9c565b60405180910390fd5b610d2a838383612c3b565b505050565b610d37612a9c565b73ffffffffffffffffffffffffffffffffffffffff16610d55611900565b73ffffffffffffffffffffffffffffffffffffffff1614610dab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da290614f1c565b60405180910390fd5b6001600760146101000a81548160ff02191690836002811115610dd157610dd0615692565b5b02179055507f2e4f7a7d1eabb7c0f9ff13188522d2e95caabf86efaca88efbc3f4914cd20491306012604051610e08929190614b16565b60405180910390a1565b610e1a612a9c565b73ffffffffffffffffffffffffffffffffffffffff16610e38611900565b73ffffffffffffffffffffffffffffffffffffffff1614610e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8590614f1c565b60405180910390fd5b8060089080519060200190610ea4929190613a8f565b507f11050bdf129877be9e71e184959f825f1c8ea8f55a0f9c0ce7cc43d4d5558c696008604051610ed59190614c7a565b60405180910390a150565b600f5481565b610eee612a9c565b73ffffffffffffffffffffffffffffffffffffffff16610f0c611900565b73ffffffffffffffffffffffffffffffffffffffff1614610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5990614f1c565b60405180910390fd5b80600f819055507fa0d00b67de438a8cfea61334cc5f5f6ac9eb39004f44a59f03dcc7eec765facb81604051610f98919061501c565b60405180910390a150565b610fab612a9c565b73ffffffffffffffffffffffffffffffffffffffff16610fc9611900565b73ffffffffffffffffffffffffffffffffffffffff161461101f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101690614f1c565b60405180910390fd5b6001600281111561103357611032615692565b5b600760149054906101000a900460ff16600281111561105557611054615692565b5b14611095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108c90614efc565b60405180910390fd5b6002600760146101000a81548160ff021916908360028111156110bb576110ba615692565b5b021790555060006001600d546110d1919061524d565b90506110e56110df8361126a565b82612e97565b61111281600a60086040516020016110fe929190614a8b565b604051602081830303815290604052612eb5565b7f8856d910e0ffd1d94523959349e93105c16b3948d4744d570ea003d12d541ac7308284600a600860405160200161114b929190614a8b565b60405160208183030381529060405260405161116a9493929190614ba6565b60405180910390a15050565b61119183838360405180602001604052806000815250611d0f565b505050565b61119e612a9c565b73ffffffffffffffffffffffffffffffffffffffff166111bc611900565b73ffffffffffffffffffffffffffffffffffffffff1614611212576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120990614f1c565b60405180910390fd5b80600a9080519060200190611228929190613a8f565b507ff9c7803e94e0d3c02900d8a90893a6d5e90dd04d32a4cfe825520f82bf9f32f6600a6040516112599190614c7a565b60405180910390a150565b600e5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130a90614e3c565b60405180910390fd5b80915050919050565b600a805461132990615487565b80601f016020809104026020016040519081016040528092919081815260200182805461135590615487565b80156113a25780601f10611377576101008083540402835291602001916113a2565b820191906000526020600020905b81548152906001019060200180831161138557829003601f168201915b505050505081565b6113b2612a9c565b73ffffffffffffffffffffffffffffffffffffffff166113d0611900565b73ffffffffffffffffffffffffffffffffffffffff1614611426576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141d90614f1c565b60405180910390fd5b60006009828154811061143c5761143b61571f565b5b90600052602060002001805461145190615487565b80601f016020809104026020016040519081016040528092919081815260200182805461147d90615487565b80156114ca5780601f1061149f576101008083540402835291602001916114ca565b820191906000526020600020905b8154815290600101906020018083116114ad57829003601f168201915b505050505090506013816040516114e19190614a39565b908152602001604051809103902054600c6000828254611501919061532e565b925050819055506013816040516115189190614a39565b9081526020016040518091039020600090556009600160098054905061153e919061532e565b8154811061154f5761154e61571f565b5b906000526020600020016009838154811061156d5761156c61571f565b5b9060005260206000200190805461158390615487565b61158e929190613b15565b5060098054806115a1576115a06156f0565b5b6001900381819060005260206000200160006115bd9190613ba2565b9055601060008154809291906115d29061545d565b9190505550601160008154809291906115ea9061545d565b91905055507facee8fe44bebce17662e60e8126123be10dd46de2ae09b4b7136251b4e3ac40282600960115460405161162593929190615037565b60405180910390a15050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990614e1c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116f1612a9c565b73ffffffffffffffffffffffffffffffffffffffff1661170f611900565b73ffffffffffffffffffffffffffffffffffffffff1614611765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175c90614f1c565b60405180910390fd5b61176f6000612f29565b565b6013818051602081018201805184825260208301602085012081835280955050505050506000915090505481565b6117a7612a9c565b73ffffffffffffffffffffffffffffffffffffffff166117c5611900565b73ffffffffffffffffffffffffffffffffffffffff161461181b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181290614f1c565b60405180910390fd5b600982908060018154018082558091505060019003906000526020600020016000909190919091509080519060200190611856929190613a8f565b50806013836040516118689190614a39565b90815260200160405180910390208190555080600c600082825461188c919061524d565b92505081905550601060008154809291906118a6906155ba565b9190505550601160008154809291906118be906155ba565b91905055507fc6f39ca2c590872c83c8f1e7e4fa8a3d082e2ddb85d0a0dd3b3b89ac5abe1c5882826040516118f4929190614c4a565b60405180910390a15050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611932612a9c565b73ffffffffffffffffffffffffffffffffffffffff16611950611900565b73ffffffffffffffffffffffffffffffffffffffff16146119a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199d90614f1c565b60405180910390fd5b80600b819055507f6bfd5e75539a9d2626425a2e2922675256b219fe546d63dad56011759b9a2f66600b546040516119de919061501c565b60405180910390a150565b6119f1612a9c565b73ffffffffffffffffffffffffffffffffffffffff16611a0f611900565b73ffffffffffffffffffffffffffffffffffffffff1614611a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5c90614f1c565b60405180910390fd5b600082905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611aa59190614aaf565b60206040518083038186803b158015611abd57600080fd5b505afa158015611ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611af5919061408e565b905080831115611b3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3190614ddc565b60405180910390fd5b611b6533848473ffffffffffffffffffffffffffffffffffffffff16612fef9092919063ffffffff16565b7fb37f4ec23df2fbe884c08713adfee8f41c2841152798fa364c1e4eb49ec8ff4133604051611b949190614aaf565b60405180910390a150505050565b606060018054611bb190615487565b80601f0160208091040260200160405190810160405280929190818152602001828054611bdd90615487565b8015611c2a5780601f10611bff57610100808354040283529160200191611c2a565b820191906000526020600020905b815481529060010190602001808311611c0d57829003601f168201915b5050505050905090565b600760149054906101000a900460ff1681565b600b5481565b611c5f611c58612a9c565b8383613075565b5050565b60098181548110611c7357600080fd5b906000526020600020016000915090508054611c8e90615487565b80601f0160208091040260200160405190810160405280929190818152602001828054611cba90615487565b8015611d075780601f10611cdc57610100808354040283529160200191611d07565b820191906000526020600020905b815481529060010190602001808311611cea57829003601f168201915b505050505081565b611d20611d1a612a9c565b83612b5d565b611d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5690614f9c565b60405180910390fd5b611d6b848484846131e2565b50505050565b611d79612a9c565b73ffffffffffffffffffffffffffffffffffffffff16611d97611900565b73ffffffffffffffffffffffffffffffffffffffff1614611ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de490614f1c565b60405180910390fd5b80601383604051611dfe9190614a39565b908152602001604051809103902054600c54611e1a919061532e565b611e24919061524d565b600c8190555080601383604051611e3b9190614a39565b9081526020016040518091039020819055507f0416bbd895c89c7fbec0b661b6579ca0065282ef1aead14965b716e6b98ad0f98282604051611e7e929190614c4a565b60405180910390a15050565b6060611e9582612a30565b611ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ecb90614e9c565b60405180910390fd5b6000600660008481526020019081526020016000208054611ef490615487565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2090615487565b8015611f6d5780601f10611f4257610100808354040283529160200191611f6d565b820191906000526020600020905b815481529060010190602001808311611f5057829003601f168201915b505050505090506000611f7e61323e565b9050600081511415611f94578192505050611fd7565b600082511115611fc9578082604051602001611fb1929190614a50565b60405160208183030381529060405292505050611fd7565b611fd284613255565b925050505b919050565b611fe4612a9c565b73ffffffffffffffffffffffffffffffffffffffff16612002611900565b73ffffffffffffffffffffffffffffffffffffffff1614612058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204f90614f1c565b60405180910390fd5b80600e819055507f3e8e799e74e88433cfb7372a6b84f0462ec4120bfc959930172d365c6e3808cc600e54604051612090919061501c565b60405180910390a150565b600c5481565b601281815481106120b157600080fd5b9060005260206000209060089182820401919006600402915054906101000a900463ffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600281111561218357612182615692565b5b600760149054906101000a900460ff1660028111156121a5576121a4615692565b5b146121e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dc90614ebc565b60405180910390fd5b6000600c541180156121fa5750600c54600d54105b612239576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223090614d3c565b60405180910390fd5b600f5442101561227e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227590614c9c565b60405180910390fd5b612286611900565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461237557600d54600c546122c8919061532e565b81111580156122d75750600081115b80156122e55750600e548111155b612324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231b90614d1c565b60405180910390fd5b80600b5461233291906152d4565b341015612374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236b90614ffc565b60405180910390fd5b5b60005b81811015612694576000600182600d54612392919061524d565b61239c919061524d565b90506123a83382612e97565b600060105483854233866040516020016123c6959493929190615075565b6040516020818303038152906040528051906020012060001c6123e99190615603565b905061243482600a600984815481106124055761240461571f565b5b90600052602060002001604051602001612420929190614a8b565b604051602081830303815290604052612eb5565b60136009828154811061244a5761244961571f565b5b906000526020600020016040516124619190614a74565b908152602001604051809103902060008154809291906124809061545d565b9190505550600060136009838154811061249d5761249c61571f565b5b906000526020600020016040516124b49190614a74565b9081526020016040518091039020541415612631576000600982815481106124df576124de61571f565b5b9060005260206000200180546124f490615487565b80601f016020809104026020016040519081016040528092919081815260200182805461252090615487565b801561256d5780601f106125425761010080835404028352916020019161256d565b820191906000526020600020905b81548152906001019060200180831161255057829003601f168201915b5050505050905060096001601054612585919061532e565b815481106125965761259561571f565b5b90600052602060002001600983815481106125b4576125b361571f565b5b906000526020600020019080546125ca90615487565b6125d5929190613b15565b5080600960016010546125e8919061532e565b815481106125f9576125f861571f565b5b906000526020600020019080519060200190612616929190613a8f565b506010600081548092919061262a9061545d565b9190505550505b60128290806001815401808255809150506001900390600052602060002090600891828204019190066004029091909190916101000a81548163ffffffff021916908363ffffffff1602179055505050808061268c906155ba565b915050612378565b5080600d60008282546126a7919061524d565b925050819055507ff761777482b4b40d2bcc0d050cfba6829900a2d8b3484bd0244ec0feeb3db5043382600d546040516126e393929190614b6f565b60405180910390a150565b6126f6612a9c565b73ffffffffffffffffffffffffffffffffffffffff16612714611900565b73ffffffffffffffffffffffffffffffffffffffff161461276a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276190614f1c565b60405180910390fd5b6000479050808211156127b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a990614ddc565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156127f8573d6000803e3d6000fd5b507fd80edbda103ec0b71f36c87845a6adf924861e7eae59c86725c936b96ece0e9c336040516128289190614aaf565b60405180910390a15050565b60105481565b612842612a9c565b73ffffffffffffffffffffffffffffffffffffffff16612860611900565b73ffffffffffffffffffffffffffffffffffffffff16146128b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ad90614f1c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291d90614cdc565b60405180910390fd5b61292f81612f29565b50565b6008805461293f90615487565b80601f016020809104026020016040519081016040528092919081815260200182805461296b90615487565b80156129b85780601f1061298d576101008083540402835291602001916129b8565b820191906000526020600020905b81548152906001019060200180831161299b57829003601f168201915b505050505081565b60115481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b178361126a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b6882612a30565b612ba7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9e90614dbc565b60405180910390fd5b6000612bb28361126a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c2157508373ffffffffffffffffffffffffffffffffffffffff16612c0984610b2c565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c325750612c3181856120db565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c5b8261126a565b73ffffffffffffffffffffffffffffffffffffffff1614612cb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ca890614f3c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1890614d5c565b60405180910390fd5b612d2c8383836132fc565b612d37600082612aa4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d87919061532e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dde919061524d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612eb1828260405180602001604052806000815250613301565b5050565b612ebe82612a30565b612efd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef490614e5c565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612f24929190613a8f565b505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6130708363a9059cbb60e01b848460405160240161300e929190614b46565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061335c565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130db90614d7c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131d59190614bf2565b60405180910390a3505050565b6131ed848484612c3b565b6131f984848484613423565b613238576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322f90614cbc565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b606061326082612a30565b61329f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329690614f5c565b60405180910390fd5b60006132a961323e565b905060008151116132c957604051806020016040528060008152506132f4565b806132d3846135ba565b6040516020016132e4929190614a50565b6040516020818303038152906040525b915050919050565b505050565b61330b838361371b565b6133186000848484613423565b613357576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334e90614cbc565b60405180910390fd5b505050565b60006133be826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166138e99092919063ffffffff16565b905060008151111561341e57808060200190518101906133de9190613f35565b61341d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341490614fdc565b60405180910390fd5b5b505050565b60006134448473ffffffffffffffffffffffffffffffffffffffff16613901565b156135ad578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261346d612a9c565b8786866040518563ffffffff1660e01b815260040161348f9493929190614aca565b602060405180830381600087803b1580156134a957600080fd5b505af19250505080156134da57506040513d601f19601f820116820180604052508101906134d79190613f8f565b60015b61355d573d806000811461350a576040519150601f19603f3d011682016040523d82523d6000602084013e61350f565b606091505b50600081511415613555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161354c90614cbc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135b2565b600190505b949350505050565b60606000821415613602576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613716565b600082905060005b6000821461363457808061361d906155ba565b915050600a8261362d91906152a3565b915061360a565b60008167ffffffffffffffff8111156136505761364f61574e565b5b6040519080825280601f01601f1916602001820160405280156136825781602001600182028036833780820191505090505b5090505b6000851461370f5760018261369b919061532e565b9150600a856136aa9190615603565b60306136b6919061524d565b60f81b8183815181106136cc576136cb61571f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561370891906152a3565b9450613686565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561378b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161378290614e7c565b60405180910390fd5b61379481612a30565b156137d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137cb90614cfc565b60405180910390fd5b6137e0600083836132fc565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613830919061524d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60606138f88484600085613914565b90509392505050565b600080823b905060008111915050919050565b606082471015613959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161395090614d9c565b60405180910390fd5b61396285613901565b6139a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399890614fbc565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516139ca9190614a22565b60006040518083038185875af1925050503d8060008114613a07576040519150601f19603f3d011682016040523d82523d6000602084013e613a0c565b606091505b5091509150613a1c828286613a28565b92505050949350505050565b60608315613a3857829050613a88565b600083511115613a4b5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7f9190614c28565b60405180910390fd5b9392505050565b828054613a9b90615487565b90600052602060002090601f016020900481019282613abd5760008555613b04565b82601f10613ad657805160ff1916838001178555613b04565b82800160010185558215613b04579182015b82811115613b03578251825591602001919060010190613ae8565b5b509050613b119190613be2565b5090565b828054613b2190615487565b90600052602060002090601f016020900481019282613b435760008555613b91565b82601f10613b545780548555613b91565b82800160010185558215613b9157600052602060002091601f016020900482015b82811115613b90578254825591600101919060010190613b75565b5b509050613b9e9190613be2565b5090565b508054613bae90615487565b6000825580601f10613bc05750613bdf565b601f016020900490600052602060002090810190613bde9190613be2565b5b50565b5b80821115613bfb576000816000905550600101613be3565b5090565b6000613c12613c0d84615108565b6150e3565b905082815260208101848484011115613c2e57613c2d615782565b5b613c3984828561541b565b509392505050565b6000613c54613c4f84615139565b6150e3565b905082815260208101848484011115613c7057613c6f615782565b5b613c7b84828561541b565b509392505050565b600081359050613c9281615efa565b92915050565b600081359050613ca781615f11565b92915050565b600081519050613cbc81615f11565b92915050565b600081359050613cd181615f28565b92915050565b600081519050613ce681615f28565b92915050565b600082601f830112613d0157613d0061577d565b5b8135613d11848260208601613bff565b91505092915050565b600082601f830112613d2f57613d2e61577d565b5b8135613d3f848260208601613c41565b91505092915050565b600081359050613d5781615f3f565b92915050565b600081519050613d6c81615f3f565b92915050565b600060208284031215613d8857613d8761578c565b5b6000613d9684828501613c83565b91505092915050565b60008060408385031215613db657613db561578c565b5b6000613dc485828601613c83565b9250506020613dd585828601613c83565b9150509250929050565b600080600060608486031215613df857613df761578c565b5b6000613e0686828701613c83565b9350506020613e1786828701613c83565b9250506040613e2886828701613d48565b9150509250925092565b60008060008060808587031215613e4c57613e4b61578c565b5b6000613e5a87828801613c83565b9450506020613e6b87828801613c83565b9350506040613e7c87828801613d48565b925050606085013567ffffffffffffffff811115613e9d57613e9c615787565b5b613ea987828801613cec565b91505092959194509250565b60008060408385031215613ecc57613ecb61578c565b5b6000613eda85828601613c83565b9250506020613eeb85828601613c98565b9150509250929050565b60008060408385031215613f0c57613f0b61578c565b5b6000613f1a85828601613c83565b9250506020613f2b85828601613d48565b9150509250929050565b600060208284031215613f4b57613f4a61578c565b5b6000613f5984828501613cad565b91505092915050565b600060208284031215613f7857613f7761578c565b5b6000613f8684828501613cc2565b91505092915050565b600060208284031215613fa557613fa461578c565b5b6000613fb384828501613cd7565b91505092915050565b600060208284031215613fd257613fd161578c565b5b600082013567ffffffffffffffff811115613ff057613fef615787565b5b613ffc84828501613d1a565b91505092915050565b6000806040838503121561401c5761401b61578c565b5b600083013567ffffffffffffffff81111561403a57614039615787565b5b61404685828601613d1a565b925050602061405785828601613d48565b9150509250929050565b6000602082840312156140775761407661578c565b5b600061408584828501613d48565b91505092915050565b6000602082840312156140a4576140a361578c565b5b60006140b284828501613d5d565b91505092915050565b60006140c783836144a2565b905092915050565b6140d881615372565b82525050565b60006140e9826151a9565b6140f381856151e2565b9350836020820285016141058561516a565b8060005b858110156141405784840389528161412185826140bb565b945061412c836151d5565b925060208a01995050600181019050614109565b50829750879550505050505092915050565b600061415d826151b4565b61416781856151f3565b9350836141738461517f565b6000600115614260575b8360016008038201101561425f57815461419f8861419a836154b9565b614a04565b6020880197506141b7886141b283615555565b614a04565b6020880197506141cf886141ca8361556f565b614a04565b6020880197506141e7886141e2836154d3565b614a04565b6020880197506141ff886141fa836154ed565b614a04565b6020880197506142178861421283615507565b614a04565b60208801975061422f8861422a83615521565b614a04565b602088019750614247886142428361553b565b614a04565b6020880197506001830192505060088101905061417d565b5b6001156143a357815484821015614290576142838861427e836154b9565b614a04565b6020880197506001820191505b848210156142b7576142aa886142a583615555565b614a04565b6020880197506001820191505b848210156142de576142d1886142cc8361556f565b614a04565b6020880197506001820191505b84821015614305576142f8886142f3836154d3565b614a04565b6020880197506001820191505b8482101561432c5761431f8861431a836154ed565b614a04565b6020880197506001820191505b84821015614353576143468861434183615507565b614a04565b6020880197506001820191505b8482101561437a5761436d8861436883615521565b614a04565b6020880197506001820191505b848210156143a1576143948861438f8361553b565b614a04565b6020880197506001820191505b505b8694505050505092915050565b6143b981615384565b82525050565b60006143ca826151bf565b6143d48185615204565b93506143e481856020860161542a565b6143ed81615791565b840191505092915050565b6000614403826151bf565b61440d8185615215565b935061441d81856020860161542a565b80840191505092915050565b61443281615409565b82525050565b6000614443826151ca565b61444d8185615231565b935061445d81856020860161542a565b61446681615791565b840191505092915050565b600061447c826151ca565b6144868185615242565b935061449681856020860161542a565b80840191505092915050565b600081546144af81615487565b6144b98186615220565b945060018216600081146144d457600181146144e657614519565b60ff1983168652602086019350614519565b6144ef85615194565b60005b83811015614511578154818901526001820191506020810190506144f2565b808801955050505b50505092915050565b6000815461452f81615487565b6145398186615231565b94506001821660008114614554576001811461456657614599565b60ff1983168652602086019350614599565b61456f85615194565b60005b8381101561459157815481890152600182019150602081019050614572565b808801955050505b50505092915050565b600081546145af81615487565b6145b98186615242565b945060018216600081146145d457600181146145e557614618565b60ff19831686528186019350614618565b6145ee85615194565b60005b83811015614610578154818901526001820191506020810190506145f1565b838801955050505b50505092915050565b600061462e601483615231565b91506146398261580a565b602082019050919050565b6000614651603283615231565b915061465c82615833565b604082019050919050565b6000614674602683615231565b915061467f82615882565b604082019050919050565b6000614697601c83615231565b91506146a2826158d1565b602082019050919050565b60006146ba601983615231565b91506146c5826158fa565b602082019050919050565b60006146dd601683615231565b91506146e882615923565b602082019050919050565b6000614700602483615231565b915061470b8261594c565b604082019050919050565b6000614723601983615231565b915061472e8261599b565b602082019050919050565b6000614746602683615231565b9150614751826159c4565b604082019050919050565b6000614769602c83615231565b915061477482615a13565b604082019050919050565b600061478c600e83615231565b915061479782615a62565b602082019050919050565b60006147af603883615231565b91506147ba82615a8b565b604082019050919050565b60006147d2602a83615231565b91506147dd82615ada565b604082019050919050565b60006147f5602983615231565b915061480082615b29565b604082019050919050565b6000614818602e83615231565b915061482382615b78565b604082019050919050565b600061483b602083615231565b915061484682615bc7565b602082019050919050565b600061485e603183615231565b915061486982615bf0565b604082019050919050565b6000614881601c83615231565b915061488c82615c3f565b602082019050919050565b60006148a4602c83615231565b91506148af82615c68565b604082019050919050565b60006148c7601583615231565b91506148d282615cb7565b602082019050919050565b60006148ea602083615231565b91506148f582615ce0565b602082019050919050565b600061490d602983615231565b915061491882615d09565b604082019050919050565b6000614930602f83615231565b915061493b82615d58565b604082019050919050565b6000614953602183615231565b915061495e82615da7565b604082019050919050565b6000614976603183615231565b915061498182615df6565b604082019050919050565b6000614999601d83615231565b91506149a482615e45565b602082019050919050565b60006149bc602a83615231565b91506149c782615e6e565b604082019050919050565b60006149df602083615231565b91506149ea82615ebd565b602082019050919050565b6149fe816153ef565b82525050565b614a0d816153f9565b82525050565b614a1c816153f9565b82525050565b6000614a2e82846143f8565b915081905092915050565b6000614a458284614471565b915081905092915050565b6000614a5c8285614471565b9150614a688284614471565b91508190509392505050565b6000614a8082846145a2565b915081905092915050565b6000614a9782856145a2565b9150614aa382846145a2565b91508190509392505050565b6000602082019050614ac460008301846140cf565b92915050565b6000608082019050614adf60008301876140cf565b614aec60208301866140cf565b614af960408301856149f5565b8181036060830152614b0b81846143bf565b905095945050505050565b6000604082019050614b2b60008301856140cf565b8181036020830152614b3d8184614152565b90509392505050565b6000604082019050614b5b60008301856140cf565b614b6860208301846149f5565b9392505050565b6000606082019050614b8460008301866140cf565b614b9160208301856149f5565b614b9e60408301846149f5565b949350505050565b6000608082019050614bbb60008301876140cf565b614bc860208301866149f5565b614bd560408301856149f5565b8181036060830152614be78184614438565b905095945050505050565b6000602082019050614c0760008301846143b0565b92915050565b6000602082019050614c226000830184614429565b92915050565b60006020820190508181036000830152614c428184614438565b905092915050565b60006040820190508181036000830152614c648185614438565b9050614c7360208301846149f5565b9392505050565b60006020820190508181036000830152614c948184614522565b905092915050565b60006020820190508181036000830152614cb581614621565b9050919050565b60006020820190508181036000830152614cd581614644565b9050919050565b60006020820190508181036000830152614cf581614667565b9050919050565b60006020820190508181036000830152614d158161468a565b9050919050565b60006020820190508181036000830152614d35816146ad565b9050919050565b60006020820190508181036000830152614d55816146d0565b9050919050565b60006020820190508181036000830152614d75816146f3565b9050919050565b60006020820190508181036000830152614d9581614716565b9050919050565b60006020820190508181036000830152614db581614739565b9050919050565b60006020820190508181036000830152614dd58161475c565b9050919050565b60006020820190508181036000830152614df58161477f565b9050919050565b60006020820190508181036000830152614e15816147a2565b9050919050565b60006020820190508181036000830152614e35816147c5565b9050919050565b60006020820190508181036000830152614e55816147e8565b9050919050565b60006020820190508181036000830152614e758161480b565b9050919050565b60006020820190508181036000830152614e958161482e565b9050919050565b60006020820190508181036000830152614eb581614851565b9050919050565b60006020820190508181036000830152614ed581614874565b9050919050565b60006020820190508181036000830152614ef581614897565b9050919050565b60006020820190508181036000830152614f15816148ba565b9050919050565b60006020820190508181036000830152614f35816148dd565b9050919050565b60006020820190508181036000830152614f5581614900565b9050919050565b60006020820190508181036000830152614f7581614923565b9050919050565b60006020820190508181036000830152614f9581614946565b9050919050565b60006020820190508181036000830152614fb581614969565b9050919050565b60006020820190508181036000830152614fd58161498c565b9050919050565b60006020820190508181036000830152614ff5816149af565b9050919050565b60006020820190508181036000830152615015816149d2565b9050919050565b600060208201905061503160008301846149f5565b92915050565b600060608201905061504c60008301866149f5565b818103602083015261505e81856140de565b905061506d60408301846149f5565b949350505050565b600060a08201905061508a60008301886149f5565b61509760208301876149f5565b6150a460408301866149f5565b6150b160608301856140cf565b6150be60808301846149f5565b9695505050505050565b60006020820190506150dd6000830184614a13565b92915050565b60006150ed6150fe565b90506150f98282615589565b919050565b6000604051905090565b600067ffffffffffffffff8211156151235761512261574e565b5b61512c82615791565b9050602081019050919050565b600067ffffffffffffffff8211156151545761515361574e565b5b61515d82615791565b9050602081019050919050565b60008190508160005260206000209050919050565b60008190508160005260206000209050919050565b60008190508160005260206000209050919050565b600081549050919050565b600081549050919050565b600081519050919050565b600081519050919050565b6000600182019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615258826153ef565b9150615263836153ef565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561529857615297615634565b5b828201905092915050565b60006152ae826153ef565b91506152b9836153ef565b9250826152c9576152c8615663565b5b828204905092915050565b60006152df826153ef565b91506152ea836153ef565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561532357615322615634565b5b828202905092915050565b6000615339826153ef565b9150615344836153ef565b92508282101561535757615356615634565b5b828203905092915050565b600063ffffffff82169050919050565b600061537d826153cf565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506153ca82615ee6565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b6000615414826153bc565b9050919050565b82818337600083830152505050565b60005b8381101561544857808201518184015260208101905061542d565b83811115615457576000848401525b50505050565b6000615468826153ef565b9150600082141561547c5761547b615634565b5b600182039050919050565b6000600282049050600182168061549f57607f821691505b602082108114156154b3576154b26156c1565b5b50919050565b60006154cc6154c7836157a2565b615362565b9050919050565b60006154e66154e1836157fd565b615362565b9050919050565b60006155006154fb836157af565b615362565b9050919050565b600061551a615515836157bc565b615362565b9050919050565b600061553461552f836157c9565b615362565b9050919050565b600061554e615549836157d6565b615362565b9050919050565b6000615568615563836157e3565b615362565b9050919050565b600061558261557d836157f0565b615362565b9050919050565b61559282615791565b810181811067ffffffffffffffff821117156155b1576155b061574e565b5b80604052505050565b60006155c5826153ef565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155f8576155f7615634565b5b600182019050919050565b600061560e826153ef565b9150615619836153ef565b92508261562957615628615663565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160001c9050919050565b60008160801c9050919050565b60008160a01c9050919050565b60008160c01c9050919050565b60008160e01c9050919050565b60008160201c9050919050565b60008160401c9050919050565b60008160601c9050919050565b7f4e6f742074696d6520746f207075726368617365000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4f75742072616e6765206f6620746f6b656e20616d6f756e7400000000000000600082015250565b7f416c6c204e465473207765726520736f6c64206f757400000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f7574206f662062616c616e6365000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4e6f7420726561647920746f20707572636861736520746f6b656e7300000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f426174746c65206973206e6f7420737461727465640000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682045544820666f7220627579696e6720746f6b656e73600082015250565b60038110615ef757615ef6615692565b5b50565b615f0381615372565b8114615f0e57600080fd5b50565b615f1a81615384565b8114615f2557600080fd5b50565b615f3181615390565b8114615f3c57600080fd5b50565b615f48816153ef565b8114615f5357600080fd5b5056fea2646970667358221220284ffbb318e81cd980984763ad60cbde772ba0e5984a4bded38bc5bd580f775b64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000015fb7f9b8c380000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000061ce39f000000000000000000000000000000000000000000000000000000000000000284e6966747920526f79616c65205820506572727920436f6f7065723a20536f686f204472696e6b7300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000064e52504353440000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e516d58347037517169514e7a4c69476e6334386169516f63754e746138644c5a6766715358503638374538474a72000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6e69667479726f79616c652e6d7970696e6174612e636c6f75642f697066732f000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Nifty Royale X Perry Cooper: Soho Drinks
Arg [1] : _symbol (string): NRPCSD
Arg [2] : _price (uint256): 99000000000000000
Arg [3] : _unitsPerTransaction (uint256): 9
Arg [4] : _prizeTokenURI (string): QmX4p7QqiQNzLiGnc48aiQocuNta8dLZgfqSXP687E8GJr
Arg [5] : _baseURI (string): https://niftyroyale.mypinata.cloud/ipfs/
Arg [6] : _startingTime (uint256): 1640905200
-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 000000000000000000000000000000000000000000000000015fb7f9b8c38000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [6] : 0000000000000000000000000000000000000000000000000000000061ce39f0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [8] : 4e6966747920526f79616c65205820506572727920436f6f7065723a20536f68
Arg [9] : 6f204472696e6b73000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [11] : 4e52504353440000000000000000000000000000000000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000002e
Arg [13] : 516d58347037517169514e7a4c69476e6334386169516f63754e746138644c5a
Arg [14] : 6766715358503638374538474a72000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [16] : 68747470733a2f2f6e69667479726f79616c652e6d7970696e6174612e636c6f
Arg [17] : 75642f697066732f000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.