ERC-721
Overview
Max Total Supply
648 GAC
Holders
475
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GACLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Raffle
Compiler Version
v0.8.4+commit.c7e474f2
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.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "../ERC1155/IPass.sol"; contract Raffle is ERC721Enumerable, Ownable, ReentrancyGuard { uint256 constant MAX_SUPPLY = 10_000; uint256 constant RESERVED_TOKENS = 25; event TogglePaused(bool _pause); uint256 public waveType = 0; uint256 public waveMaxTokens; uint256 public waveMaxTokensToBuy; uint256 public waveSingleTokenPrice; uint256 public waveTotalMinted; uint256 public reservedClaimed; address public contractAddress; uint256 public erc1155Id; mapping(address => mapping(uint256 => uint256)) waveOwnerToClaimedCounts; uint256 public indexWave; uint256 public paused; mapping(uint256 => uint256) private signatureIds; mapping(uint256 => uint256) private availableIds; address public payoutToken; address payeeWallet; address public signAddress; string baseTokenURI; constructor( string memory baseURI, string memory _name, string memory _symbol, address payable _payeeWallet, address _payoutToken, address _signAddress ) ERC721(_name, _symbol) { setBaseURI(baseURI); payeeWallet = _payeeWallet; payoutToken = _payoutToken; signAddress = _signAddress; } function setupWave( uint256 _waveType, uint256 _waveMaxTokens, uint256 _waveMaxTokensToBuy, uint256 _waveSingleTokenPrice, address _contractAddress, uint256 _erc1155Id ) external onlyOwner { require(_waveType < 2 && _waveMaxTokens > 0 && _waveMaxTokensToBuy > 0 && _waveMaxTokens + totalSupply() <= MAX_SUPPLY, "Invalid configuration"); if (_waveType != 0) { require(_contractAddress != address(0x0), "Invalid contract address"); } require(_waveMaxTokensToBuy <= _waveMaxTokens, "Invalid supply configuration"); waveType = _waveType; waveMaxTokens = _waveMaxTokens; waveMaxTokensToBuy = _waveMaxTokensToBuy; waveSingleTokenPrice = _waveSingleTokenPrice; waveTotalMinted = 0; contractAddress = _waveType == 0 ? address(0) : _contractAddress; erc1155Id = _waveType == 1 ? _erc1155Id : 0; indexWave++; } function checkWaveNotComplete(uint256 _amount) internal view returns (bool) { return _amount > 0 && waveTotalMinted + _amount <= waveMaxTokens; } function checkLimitNotReached(address _wallet, uint256 _amount) internal view returns (bool) { return waveOwnerToClaimedCounts[_wallet][indexWave - 1] + _amount <= waveMaxTokensToBuy && totalSupply() + _amount <= MAX_SUPPLY; } function checkMintAllowed(address _wallet, uint256 _amount) public view returns (bool) { return checkWaveNotComplete(_amount) && checkLimitNotReached(_wallet, _amount); } function waveClaimedCount(address _wallet) public view returns (uint256) { return waveOwnerToClaimedCounts[_wallet][indexWave - 1]; } function claimReserved(address[] memory recipients) external onlyOwner { uint256 count = recipients.length; require(reservedClaimed + count <= RESERVED_TOKENS && reservedClaimed + count <= MAX_SUPPLY, "Minting will exceed supply"); reservedClaimed += count; for (uint256 i = 0; i < count; i++) { randomMint(recipients[i]); } } function mint( uint256 _amount, uint256 _erc1155Id, uint256 _signatureId, bytes memory _signature ) external nonReentrant { require(indexWave > 0, "Contract is not configured"); require(paused == 0, "Not in sale"); require(signatureIds[_signatureId] == 0, "SignatureId already used"); require( checkSignature(_msgSender(), _signatureId, address(this), block.chainid, _signature) == signAddress, "Signature failed" ); signatureIds[_signatureId] = 1; require(checkWaveNotComplete(_amount), "Wave completed"); require(checkLimitNotReached(_msgSender(), _amount), "Max allowed"); if (waveType == 1) { require(_erc1155Id <= erc1155Id, "Minting pass is not applicable"); IPass(contractAddress).redeem(_msgSender(), _erc1155Id, 1); } uint256 _price = waveSingleTokenPrice * _amount; if (_price > 0) { SafeERC20.safeTransferFrom(IERC20(payoutToken), _msgSender(), payeeWallet, _price); } waveOwnerToClaimedCounts[_msgSender()][indexWave - 1] += _amount; waveTotalMinted += _amount; for (uint256 i = 0; i < _amount; i++) { randomMint(_msgSender()); } } function randomMint(address to) internal{ uint256 tokenId = getRandomToken(to, totalSupply()); _safeMint(to, tokenId); } function checkSignature( address _wallet, uint256 _signatureId, address _contractAddress, uint256 _chainId, bytes memory _signature ) public pure returns (address) { return ECDSA.recover( keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", keccak256(abi.encode(_wallet, _signatureId, _contractAddress, _chainId)) ) ), _signature ); } function getRandomToken(address _wallet, uint256 _totalMinted) private returns (uint256) { uint256 remaining = MAX_SUPPLY - _totalMinted; uint256 rand = uint256(keccak256(abi.encodePacked(_wallet, block.difficulty, block.timestamp, remaining))) % remaining; uint256 value = rand; if (availableIds[rand] != 0) { value = availableIds[rand]; } if (availableIds[remaining - 1] == 0) { availableIds[rand] = remaining - 1; } else { availableIds[rand] = availableIds[remaining - 1]; } return value; } function toggleSale() external onlyOwner { paused = paused == 0 ? 1 : 0; emit TogglePaused(paused == 1); } function setPayeeAddress(address _owner) external onlyOwner { payeeWallet = _owner; } function setPayoutToken(address _tokenAddress) external onlyOwner { payoutToken = _tokenAddress; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function setSignAddress(address _signAddress) external onlyOwner { signAddress = _signAddress; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; interface IPass { function redeem( address account, uint256 id, uint256 value ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (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.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (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.1 (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.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address payable","name":"_payeeWallet","type":"address"},{"internalType":"address","name":"_payoutToken","type":"address"},{"internalType":"address","name":"_signAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"bool","name":"_pause","type":"bool"}],"name":"TogglePaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"checkMintAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"uint256","name":"_signatureId","type":"uint256"},{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_chainId","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"checkSignature","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"claimReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc1155Id","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"indexWave","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_erc1155Id","type":"uint256"},{"internalType":"uint256","name":"_signatureId","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":"paused","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payoutToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedClaimed","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":"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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"setPayeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"name":"setPayoutToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signAddress","type":"address"}],"name":"setSignAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_waveType","type":"uint256"},{"internalType":"uint256","name":"_waveMaxTokens","type":"uint256"},{"internalType":"uint256","name":"_waveMaxTokensToBuy","type":"uint256"},{"internalType":"uint256","name":"_waveSingleTokenPrice","type":"uint256"},{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256","name":"_erc1155Id","type":"uint256"}],"name":"setupWave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wallet","type":"address"}],"name":"waveClaimedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waveMaxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waveMaxTokensToBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waveSingleTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waveTotalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waveType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600c553480156200001657600080fd5b50604051620067413803806200674183398181016040528101906200003c91906200046d565b84848160009080519060200190620000569291906200031d565b5080600190805190602001906200006f9291906200031d565b50505062000092620000866200017a60201b60201c565b6200018260201b60201c565b6001600b81905550620000ab866200024860201b60201c565b82601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050505050620007bd565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002586200017a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200027e620002f360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002d7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ce9062000575565b60405180910390fd5b80601c9080519060200190620002ef9291906200031d565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200032b9062000685565b90600052602060002090601f0160209004810192826200034f57600085556200039b565b82601f106200036a57805160ff19168380011785556200039b565b828001600101855582156200039b579182015b828111156200039a5782518255916020019190600101906200037d565b5b509050620003aa9190620003ae565b5090565b5b80821115620003c9576000816000905550600101620003af565b5090565b6000620003e4620003de84620005c0565b62000597565b905082815260208101848484011115620003fd57600080fd5b6200040a8482856200064f565b509392505050565b600081519050620004238162000789565b92915050565b6000815190506200043a81620007a3565b92915050565b600082601f8301126200045257600080fd5b815162000464848260208601620003cd565b91505092915050565b60008060008060008060c087890312156200048757600080fd5b600087015167ffffffffffffffff811115620004a257600080fd5b620004b089828a0162000440565b965050602087015167ffffffffffffffff811115620004ce57600080fd5b620004dc89828a0162000440565b955050604087015167ffffffffffffffff811115620004fa57600080fd5b6200050889828a0162000440565b94505060606200051b89828a0162000429565b93505060806200052e89828a0162000412565b92505060a06200054189828a0162000412565b9150509295509295509295565b60006200055d602083620005f6565b91506200056a8262000760565b602082019050919050565b6000602082019050818103600083015262000590816200054e565b9050919050565b6000620005a3620005b6565b9050620005b18282620006bb565b919050565b6000604051905090565b600067ffffffffffffffff821115620005de57620005dd62000720565b5b620005e9826200074f565b9050602081019050919050565b600082825260208201905092915050565b600062000614826200062f565b9050919050565b600062000628826200062f565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200066f57808201518184015260208101905062000652565b838111156200067f576000848401525b50505050565b600060028204905060018216806200069e57607f821691505b60208210811415620006b557620006b4620006f1565b5b50919050565b620006c6826200074f565b810181811067ffffffffffffffff82111715620006e857620006e762000720565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620007948162000607565b8114620007a057600080fd5b50565b620007ae816200061b565b8114620007ba57600080fd5b50565b615f7480620007cd6000396000f3fe608060405234801561001057600080fd5b506004361061025e5760003560e01c80634f6ccce711610146578063a22cb465116100c3578063d5878eaa11610087578063d5878eaa14610711578063df9740da1461072f578063e985e9c51461074d578063f02ae48f1461077d578063f2fde38b14610799578063f6b4dfb4146107b55761025e565b8063a22cb4651461065d578063a8b75a6e14610679578063b88d4fde146106a9578063c87b56dd146106c5578063ca460138146106f55761025e565b8063715018a61161010a578063715018a6146105f157806377fb63f1146105fb5780637d8966e4146106175780638da5cb5b1461062157806395d89b411461063f5761025e565b80634f6ccce71461052757806355f804b3146105575780635c975abb146105735780636352211e1461059157806370a08231146105c15761025e565b806324510043116101df5780633cc18aa6116101a35780633cc18aa6146104655780633e84aa5e1461049557806342842e0e146104b3578063433ad106146104cf5780634a9eee69146104ed5780634efa82b6146105095761025e565b806324510043146103ad578063283ca77c146103cb5780632f745c59146103fb57806334b35ac01461042b578063382a2914146104495761025e565b8063081812fc11610226578063081812fc1461030b578063095ea7b31461033b578063151370451461035757806318160ddd1461037357806323b872dd146103915761025e565b806301dbf7e01461026357806301ffc9a71461028157806305783126146102b15780630682bdbc146102cf57806306fdde03146102ed575b600080fd5b61026b6107d3565b6040516102789190615121565b60405180910390f35b61029b600480360381019061029691906141d1565b6107d9565b6040516102a89190614bff565b60405180910390f35b6102b9610853565b6040516102c69190615121565b60405180910390f35b6102d7610859565b6040516102e49190614ae5565b60405180910390f35b6102f561087f565b6040516103029190614c5f565b60405180910390f35b61032560048036038101906103209190614264565b610911565b6040516103329190614ae5565b60405180910390f35b6103556004803603810190610350919061409c565b610996565b005b610371600480360381019061036c9190613f31565b610aae565b005b61037b610b6e565b6040516103889190615121565b60405180910390f35b6103ab60048036038101906103a69190613f96565b610b7b565b005b6103b5610bdb565b6040516103c29190615121565b60405180910390f35b6103e560048036038101906103e0919061409c565b610be1565b6040516103f29190614bff565b60405180910390f35b6104156004803603810190610410919061409c565b610c06565b6040516104229190615121565b60405180910390f35b610433610cab565b6040516104409190615121565b60405180910390f35b610463600480360381019061045e9190613f31565b610cb1565b005b61047f600480360381019061047a9190613f31565b610d71565b60405161048c9190615121565b60405180910390f35b61049d610dd9565b6040516104aa9190615121565b60405180910390f35b6104cd60048036038101906104c89190613f96565b610ddf565b005b6104d7610dff565b6040516104e49190615121565b60405180910390f35b6105076004803603810190610502919061428d565b610e05565b005b6105116112b7565b60405161051e9190614ae5565b60405180910390f35b610541600480360381019061053c9190614264565b6112dd565b60405161054e9190615121565b60405180910390f35b610571600480360381019061056c9190614223565b611374565b005b61057b61140a565b6040516105889190615121565b60405180910390f35b6105ab60048036038101906105a69190614264565b611410565b6040516105b89190614ae5565b60405180910390f35b6105db60048036038101906105d69190613f31565b6114c2565b6040516105e89190615121565b60405180910390f35b6105f961157a565b005b61061560048036038101906106109190614167565b611602565b005b61061f611775565b005b61062961184c565b6040516106369190614ae5565b60405180910390f35b610647611876565b6040516106549190614c5f565b60405180910390f35b61067760048036038101906106729190614060565b611908565b005b610693600480360381019061068e91906140d8565b61191e565b6040516106a09190614ae5565b60405180910390f35b6106c360048036038101906106be9190613fe5565b611987565b005b6106df60048036038101906106da9190614264565b6119e9565b6040516106ec9190614c5f565b60405180910390f35b61070f600480360381019061070a9190614308565b611a90565b005b610719611cef565b6040516107269190615121565b60405180910390f35b610737611cf5565b6040516107449190615121565b60405180910390f35b61076760048036038101906107629190613f5a565b611cfb565b6040516107749190614bff565b60405180910390f35b61079760048036038101906107929190613f31565b611d8f565b005b6107b360048036038101906107ae9190613f31565b611e4f565b005b6107bd611f47565b6040516107ca9190614ae5565b60405180910390f35b600c5481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084c575061084b82611f6d565b5b9050919050565b60135481565b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000805461088e90615431565b80601f01602080910402602001604051908101604052809291908181526020018280546108ba90615431565b80156109075780601f106108dc57610100808354040283529160200191610907565b820191906000526020600020905b8154815290600101906020018083116108ea57829003601f168201915b5050505050905090565b600061091c8261204f565b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095290614f81565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a182611410565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0990615021565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a316120bb565b73ffffffffffffffffffffffffffffffffffffffff161480610a605750610a5f81610a5a6120bb565b611cfb565b5b610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690614ec1565b60405180910390fd5b610aa983836120c3565b505050565b610ab66120bb565b73ffffffffffffffffffffffffffffffffffffffff16610ad461184c565b73ffffffffffffffffffffffffffffffffffffffff1614610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2190614fa1565b60405180910390fd5b80601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b610b8c610b866120bb565b8261217c565b610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc290615041565b60405180910390fd5b610bd683838361225a565b505050565b60115481565b6000610bec826124b6565b8015610bfe5750610bfd83836124dd565b5b905092915050565b6000610c11836114c2565b8210610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990614d41565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60155481565b610cb96120bb565b73ffffffffffffffffffffffffffffffffffffffff16610cd761184c565b73ffffffffffffffffffffffffffffffffffffffff1614610d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2490614fa1565b60405180910390fd5b80601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001601554610dc3919061531e565b8152602001908152602001600020549050919050565b60105481565b610dfa83838360405180602001604052806000815250611987565b505050565b600f5481565b6002600b541415610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4290615101565b60405180910390fd5b6002600b81905550600060155411610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f90614e61565b60405180910390fd5b600060165414610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed490614ce1565b60405180910390fd5b6000601760008481526020019081526020016000205414610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a90614d21565b60405180910390fd5b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f80610f776120bb565b8430468661191e565b73ffffffffffffffffffffffffffffffffffffffff1614610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd906150c1565b60405180910390fd5b60016017600084815260200190815260200160002081905550610ff8846124b6565b611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e90614cc1565b60405180910390fd5b6110486110426120bb565b856124dd565b611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e90615061565b60405180910390fd5b6001600c541415611171576013548311156110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90614ca1565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632b83cccd61111d6120bb565b8560016040518463ffffffff1660e01b815260040161113e93929190614bc8565b600060405180830381600087803b15801561115857600080fd5b505af115801561116c573d6000803e3d6000fd5b505050505b600084600f5461118191906152c4565b905060008111156111e4576111e3601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166111ba6120bb565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684612576565b5b84601460006111f16120bb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600160155461123c919061531e565b81526020019081526020016000206000828254611259919061523d565b925050819055508460106000828254611272919061523d565b9250508190555060005b858110156112a75761129461128f6120bb565b6125ff565b808061129f90615494565b91505061127c565b50506001600b8190555050505050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006112e7610b6e565b8210611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f906150a1565b60405180910390fd5b60088281548110611362577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61137c6120bb565b73ffffffffffffffffffffffffffffffffffffffff1661139a61184c565b73ffffffffffffffffffffffffffffffffffffffff16146113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e790614fa1565b60405180910390fd5b80601c9080519060200190611406929190613caa565b5050565b60165481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b090614f01565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90614ee1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115826120bb565b73ffffffffffffffffffffffffffffffffffffffff166115a061184c565b73ffffffffffffffffffffffffffffffffffffffff16146115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90614fa1565b60405180910390fd5b6116006000612622565b565b61160a6120bb565b73ffffffffffffffffffffffffffffffffffffffff1661162861184c565b73ffffffffffffffffffffffffffffffffffffffff161461167e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167590614fa1565b60405180910390fd5b600081519050601981601154611694919061523d565b111580156116b15750612710816011546116ae919061523d565b11155b6116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e790614f21565b60405180910390fd5b8060116000828254611702919061523d565b9250508190555060005b818110156117705761175d838281518110611750577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516125ff565b808061176890615494565b91505061170c565b505050565b61177d6120bb565b73ffffffffffffffffffffffffffffffffffffffff1661179b61184c565b73ffffffffffffffffffffffffffffffffffffffff16146117f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e890614fa1565b60405180910390fd5b600060165414611802576000611805565b60015b60ff166016819055507f723520dd5c4a47afb7ed5524b7b777a2300bdcf95cade0bf2afa9d582e66ee996001601654146040516118429190614bff565b60405180910390a1565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461188590615431565b80601f01602080910402602001604051908101604052809291908181526020018280546118b190615431565b80156118fe5780601f106118d3576101008083540402835291602001916118fe565b820191906000526020600020905b8154815290600101906020018083116118e157829003601f168201915b5050505050905090565b61191a6119136120bb565b83836126e8565b5050565b600061197c8686868660405160200161193a9493929190614b83565b604051602081830303815290604052805190602001206040516020016119609190614abf565b6040516020818303038152906040528051906020012083612855565b905095945050505050565b6119986119926120bb565b8361217c565b6119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce90615041565b60405180910390fd5b6119e38484848461287c565b50505050565b60606119f48261204f565b611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90614fe1565b60405180910390fd5b6000611a3d6128d8565b90506000815111611a5d5760405180602001604052806000815250611a88565b80611a678461296a565b604051602001611a78929190614a9b565b6040516020818303038152906040525b915050919050565b611a986120bb565b73ffffffffffffffffffffffffffffffffffffffff16611ab661184c565b73ffffffffffffffffffffffffffffffffffffffff1614611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390614fa1565b60405180910390fd5b600286108015611b1c5750600085115b8015611b285750600084115b8015611b485750612710611b3a610b6e565b86611b45919061523d565b11155b611b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7e90614dc1565b60405180910390fd5b60008614611c0057600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf690614e21565b60405180910390fd5b5b84841115611c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3a90615001565b60405180910390fd5b85600c8190555084600d8190555083600e8190555082600f81905550600060108190555060008614611c755781611c78565b60005b601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018614611cc7576000611cc9565b805b60138190555060156000815480929190611ce290615494565b9190505550505050505050565b600d5481565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d976120bb565b73ffffffffffffffffffffffffffffffffffffffff16611db561184c565b73ffffffffffffffffffffffffffffffffffffffff1614611e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0290614fa1565b60405180910390fd5b80601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e576120bb565b73ffffffffffffffffffffffffffffffffffffffff16611e7561184c565b73ffffffffffffffffffffffffffffffffffffffff1614611ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec290614fa1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3290614d81565b60405180910390fd5b611f4481612622565b50565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061203857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612048575061204782612b17565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661213683611410565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121878261204f565b6121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd90614ea1565b60405180910390fd5b60006121d183611410565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061224057508373ffffffffffffffffffffffffffffffffffffffff1661222884610911565b73ffffffffffffffffffffffffffffffffffffffff16145b8061225157506122508185611cfb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661227a82611410565b73ffffffffffffffffffffffffffffffffffffffff16146122d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c790614fc1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233790614de1565b60405180910390fd5b61234b838383612b81565b6123566000826120c3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123a6919061531e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123fd919061523d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080821180156124d65750600d54826010546124d3919061523d565b11155b9050919050565b6000600e5482601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001601554612533919061531e565b81526020019081526020016000205461254c919061523d565b1115801561256e575061271082612561610b6e565b61256b919061523d565b11155b905092915050565b6125f9846323b872dd60e01b85858560405160240161259793929190614b00565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c95565b50505050565b60006126128261260d610b6e565b612d5c565b905061261e8282612e7a565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274e90614e01565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128489190614bff565b60405180910390a3505050565b60008060006128648585612e98565b9150915061287181612f1b565b819250505092915050565b61288784848461225a565b6128938484848461326c565b6128d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c990614d61565b60405180910390fd5b50505050565b6060601c80546128e790615431565b80601f016020809104026020016040519081016040528092919081815260200182805461291390615431565b80156129605780601f1061293557610100808354040283529160200191612960565b820191906000526020600020905b81548152906001019060200180831161294357829003601f168201915b5050505050905090565b606060008214156129b2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b12565b600082905060005b600082146129e45780806129cd90615494565b915050600a826129dd9190615293565b91506129ba565b60008167ffffffffffffffff811115612a26577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a585781602001600182028036833780820191505090505b5090505b60008514612b0b57600182612a71919061531e565b9150600a85612a809190615515565b6030612a8c919061523d565b60f81b818381518110612ac8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b049190615293565b9450612a5c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b8c838383613403565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bcf57612bca81613408565b612c0e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c0d57612c0c8382613451565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c5157612c4c816135be565b612c90565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c8f57612c8e8282613701565b5b5b505050565b6000612cf7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137809092919063ffffffff16565b9050600081511115612d575780806020019051810190612d1791906141a8565b612d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4d906150e1565b60405180910390fd5b5b505050565b60008082612710612d6d919061531e565b905060008185444285604051602001612d899493929190614a36565b6040516020818303038152906040528051906020012060001c612dac9190615515565b905060008190506000601860008481526020019081526020016000205414612de557601860008381526020019081526020016000205490505b600060186000600186612df8919061531e565b8152602001908152602001600020541415612e3657600183612e1a919061531e565b6018600084815260200190815260200160002081905550612e6e565b60186000600185612e47919061531e565b81526020019081526020016000205460186000848152602001908152602001600020819055505b80935050505092915050565b612e94828260405180602001604052806000815250613798565b5050565b600080604183511415612eda5760008060006020860151925060408601519150606086015160001a9050612ece878285856137f3565b94509450505050612f14565b604083511415612f0b576000806020850151915060408501519050612f00868383613900565b935093505050612f14565b60006002915091505b9250929050565b60006004811115612f55577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612f8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612f9957613269565b60016004811115612fd3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561300c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561304d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304490614c81565b60405180910390fd5b60026004811115613087577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156130c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f890614d01565b60405180910390fd5b6003600481111561313b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613174577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156131b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ac90614e41565b60405180910390fd5b6004808111156131ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613227577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325f90614f41565b60405180910390fd5b5b50565b600061328d8473ffffffffffffffffffffffffffffffffffffffff1661394e565b156133f6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132b66120bb565b8786866040518563ffffffff1660e01b81526004016132d89493929190614b37565b602060405180830381600087803b1580156132f257600080fd5b505af192505050801561332357506040513d601f19601f8201168201806040525081019061332091906141fa565b60015b6133a6573d8060008114613353576040519150601f19603f3d011682016040523d82523d6000602084013e613358565b606091505b5060008151141561339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339590614d61565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133fb565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161345e846114c2565b613468919061531e565b905060006007600084815260200190815260200160002054905081811461354d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135d2919061531e565b9050600060096000848152602001908152602001600020549050600060088381548110613628577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613670577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061370c836114c2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b606061378f8484600085613961565b90509392505050565b6137a28383613a75565b6137af600084848461326c565b6137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e590614d61565b60405180910390fd5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561382e5760006003915091506138f7565b601b8560ff16141580156138465750601c8560ff1614155b156138585760006004915091506138f7565b60006001878787876040516000815260200160405260405161387d9493929190614c1a565b6020604051602081039080840390855afa15801561389f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156138ee576000600192509250506138f7565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613940878288856137f3565b935093505050935093915050565b600080823b905060008111915050919050565b6060824710156139a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399d90614e81565b60405180910390fd5b6139af8561394e565b6139ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139e590615081565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613a179190614a84565b60006040518083038185875af1925050503d8060008114613a54576040519150601f19603f3d011682016040523d82523d6000602084013e613a59565b606091505b5091509150613a69828286613c43565b92505050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613adc90614f61565b60405180910390fd5b613aee8161204f565b15613b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2590614da1565b60405180910390fd5b613b3a60008383612b81565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b8a919061523d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60608315613c5357829050613ca3565b600083511115613c665782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c9a9190614c5f565b60405180910390fd5b9392505050565b828054613cb690615431565b90600052602060002090601f016020900481019282613cd85760008555613d1f565b82601f10613cf157805160ff1916838001178555613d1f565b82800160010185558215613d1f579182015b82811115613d1e578251825591602001919060010190613d03565b5b509050613d2c9190613d30565b5090565b5b80821115613d49576000816000905550600101613d31565b5090565b6000613d60613d5b84615161565b61513c565b90508083825260208201905082856020860282011115613d7f57600080fd5b60005b85811015613daf5781613d958882613e35565b845260208401935060208301925050600181019050613d82565b5050509392505050565b6000613dcc613dc78461518d565b61513c565b905082815260208101848484011115613de457600080fd5b613def8482856153ef565b509392505050565b6000613e0a613e05846151be565b61513c565b905082815260208101848484011115613e2257600080fd5b613e2d8482856153ef565b509392505050565b600081359050613e4481615ee2565b92915050565b600082601f830112613e5b57600080fd5b8135613e6b848260208601613d4d565b91505092915050565b600081359050613e8381615ef9565b92915050565b600081519050613e9881615ef9565b92915050565b600081359050613ead81615f10565b92915050565b600081519050613ec281615f10565b92915050565b600082601f830112613ed957600080fd5b8135613ee9848260208601613db9565b91505092915050565b600082601f830112613f0357600080fd5b8135613f13848260208601613df7565b91505092915050565b600081359050613f2b81615f27565b92915050565b600060208284031215613f4357600080fd5b6000613f5184828501613e35565b91505092915050565b60008060408385031215613f6d57600080fd5b6000613f7b85828601613e35565b9250506020613f8c85828601613e35565b9150509250929050565b600080600060608486031215613fab57600080fd5b6000613fb986828701613e35565b9350506020613fca86828701613e35565b9250506040613fdb86828701613f1c565b9150509250925092565b60008060008060808587031215613ffb57600080fd5b600061400987828801613e35565b945050602061401a87828801613e35565b935050604061402b87828801613f1c565b925050606085013567ffffffffffffffff81111561404857600080fd5b61405487828801613ec8565b91505092959194509250565b6000806040838503121561407357600080fd5b600061408185828601613e35565b925050602061409285828601613e74565b9150509250929050565b600080604083850312156140af57600080fd5b60006140bd85828601613e35565b92505060206140ce85828601613f1c565b9150509250929050565b600080600080600060a086880312156140f057600080fd5b60006140fe88828901613e35565b955050602061410f88828901613f1c565b945050604061412088828901613e35565b935050606061413188828901613f1c565b925050608086013567ffffffffffffffff81111561414e57600080fd5b61415a88828901613ec8565b9150509295509295909350565b60006020828403121561417957600080fd5b600082013567ffffffffffffffff81111561419357600080fd5b61419f84828501613e4a565b91505092915050565b6000602082840312156141ba57600080fd5b60006141c884828501613e89565b91505092915050565b6000602082840312156141e357600080fd5b60006141f184828501613e9e565b91505092915050565b60006020828403121561420c57600080fd5b600061421a84828501613eb3565b91505092915050565b60006020828403121561423557600080fd5b600082013567ffffffffffffffff81111561424f57600080fd5b61425b84828501613ef2565b91505092915050565b60006020828403121561427657600080fd5b600061428484828501613f1c565b91505092915050565b600080600080608085870312156142a357600080fd5b60006142b187828801613f1c565b94505060206142c287828801613f1c565b93505060406142d387828801613f1c565b925050606085013567ffffffffffffffff8111156142f057600080fd5b6142fc87828801613ec8565b91505092959194509250565b60008060008060008060c0878903121561432157600080fd5b600061432f89828a01613f1c565b965050602061434089828a01613f1c565b955050604061435189828a01613f1c565b945050606061436289828a01613f1c565b935050608061437389828a01613e35565b92505060a061438489828a01613f1c565b9150509295509295509295565b61439a81615352565b82525050565b6143b16143ac82615352565b6154dd565b82525050565b6143c081615364565b82525050565b6143cf81615370565b82525050565b6143e66143e182615370565b6154ef565b82525050565b60006143f7826151ef565b6144018185615205565b93506144118185602086016153fe565b61441a81615602565b840191505092915050565b6000614430826151ef565b61443a8185615216565b935061444a8185602086016153fe565b80840191505092915050565b61445f816153dd565b82525050565b6000614470826151fa565b61447a8185615221565b935061448a8185602086016153fe565b61449381615602565b840191505092915050565b60006144a9826151fa565b6144b38185615232565b93506144c38185602086016153fe565b80840191505092915050565b60006144dc601883615221565b91506144e782615620565b602082019050919050565b60006144ff601e83615221565b915061450a82615649565b602082019050919050565b6000614522600e83615221565b915061452d82615672565b602082019050919050565b6000614545600b83615221565b91506145508261569b565b602082019050919050565b6000614568601f83615221565b9150614573826156c4565b602082019050919050565b600061458b601883615221565b9150614596826156ed565b602082019050919050565b60006145ae601c83615232565b91506145b982615716565b601c82019050919050565b60006145d1602b83615221565b91506145dc8261573f565b604082019050919050565b60006145f4603283615221565b91506145ff8261578e565b604082019050919050565b6000614617602683615221565b9150614622826157dd565b604082019050919050565b600061463a601c83615221565b91506146458261582c565b602082019050919050565b600061465d601583615221565b915061466882615855565b602082019050919050565b6000614680602483615221565b915061468b8261587e565b604082019050919050565b60006146a3601983615221565b91506146ae826158cd565b602082019050919050565b60006146c6601883615221565b91506146d1826158f6565b602082019050919050565b60006146e9602283615221565b91506146f48261591f565b604082019050919050565b600061470c601a83615221565b91506147178261596e565b602082019050919050565b600061472f602683615221565b915061473a82615997565b604082019050919050565b6000614752602c83615221565b915061475d826159e6565b604082019050919050565b6000614775603883615221565b915061478082615a35565b604082019050919050565b6000614798602a83615221565b91506147a382615a84565b604082019050919050565b60006147bb602983615221565b91506147c682615ad3565b604082019050919050565b60006147de601a83615221565b91506147e982615b22565b602082019050919050565b6000614801602283615221565b915061480c82615b4b565b604082019050919050565b6000614824602083615221565b915061482f82615b9a565b602082019050919050565b6000614847602c83615221565b915061485282615bc3565b604082019050919050565b600061486a602083615221565b915061487582615c12565b602082019050919050565b600061488d602983615221565b915061489882615c3b565b604082019050919050565b60006148b0602f83615221565b91506148bb82615c8a565b604082019050919050565b60006148d3601c83615221565b91506148de82615cd9565b602082019050919050565b60006148f6602183615221565b915061490182615d02565b604082019050919050565b6000614919603183615221565b915061492482615d51565b604082019050919050565b600061493c600b83615221565b915061494782615da0565b602082019050919050565b600061495f601d83615221565b915061496a82615dc9565b602082019050919050565b6000614982602c83615221565b915061498d82615df2565b604082019050919050565b60006149a5601083615221565b91506149b082615e41565b602082019050919050565b60006149c8602a83615221565b91506149d382615e6a565b604082019050919050565b60006149eb601f83615221565b91506149f682615eb9565b602082019050919050565b614a0a816153c6565b82525050565b614a21614a1c826153c6565b61550b565b82525050565b614a30816153d0565b82525050565b6000614a4282876143a0565b601482019150614a528286614a10565b602082019150614a628285614a10565b602082019150614a728284614a10565b60208201915081905095945050505050565b6000614a908284614425565b915081905092915050565b6000614aa7828561449e565b9150614ab3828461449e565b91508190509392505050565b6000614aca826145a1565b9150614ad682846143d5565b60208201915081905092915050565b6000602082019050614afa6000830184614391565b92915050565b6000606082019050614b156000830186614391565b614b226020830185614391565b614b2f6040830184614a01565b949350505050565b6000608082019050614b4c6000830187614391565b614b596020830186614391565b614b666040830185614a01565b8181036060830152614b7881846143ec565b905095945050505050565b6000608082019050614b986000830187614391565b614ba56020830186614a01565b614bb26040830185614391565b614bbf6060830184614a01565b95945050505050565b6000606082019050614bdd6000830186614391565b614bea6020830185614a01565b614bf76040830184614456565b949350505050565b6000602082019050614c1460008301846143b7565b92915050565b6000608082019050614c2f60008301876143c6565b614c3c6020830186614a27565b614c4960408301856143c6565b614c5660608301846143c6565b95945050505050565b60006020820190508181036000830152614c798184614465565b905092915050565b60006020820190508181036000830152614c9a816144cf565b9050919050565b60006020820190508181036000830152614cba816144f2565b9050919050565b60006020820190508181036000830152614cda81614515565b9050919050565b60006020820190508181036000830152614cfa81614538565b9050919050565b60006020820190508181036000830152614d1a8161455b565b9050919050565b60006020820190508181036000830152614d3a8161457e565b9050919050565b60006020820190508181036000830152614d5a816145c4565b9050919050565b60006020820190508181036000830152614d7a816145e7565b9050919050565b60006020820190508181036000830152614d9a8161460a565b9050919050565b60006020820190508181036000830152614dba8161462d565b9050919050565b60006020820190508181036000830152614dda81614650565b9050919050565b60006020820190508181036000830152614dfa81614673565b9050919050565b60006020820190508181036000830152614e1a81614696565b9050919050565b60006020820190508181036000830152614e3a816146b9565b9050919050565b60006020820190508181036000830152614e5a816146dc565b9050919050565b60006020820190508181036000830152614e7a816146ff565b9050919050565b60006020820190508181036000830152614e9a81614722565b9050919050565b60006020820190508181036000830152614eba81614745565b9050919050565b60006020820190508181036000830152614eda81614768565b9050919050565b60006020820190508181036000830152614efa8161478b565b9050919050565b60006020820190508181036000830152614f1a816147ae565b9050919050565b60006020820190508181036000830152614f3a816147d1565b9050919050565b60006020820190508181036000830152614f5a816147f4565b9050919050565b60006020820190508181036000830152614f7a81614817565b9050919050565b60006020820190508181036000830152614f9a8161483a565b9050919050565b60006020820190508181036000830152614fba8161485d565b9050919050565b60006020820190508181036000830152614fda81614880565b9050919050565b60006020820190508181036000830152614ffa816148a3565b9050919050565b6000602082019050818103600083015261501a816148c6565b9050919050565b6000602082019050818103600083015261503a816148e9565b9050919050565b6000602082019050818103600083015261505a8161490c565b9050919050565b6000602082019050818103600083015261507a8161492f565b9050919050565b6000602082019050818103600083015261509a81614952565b9050919050565b600060208201905081810360008301526150ba81614975565b9050919050565b600060208201905081810360008301526150da81614998565b9050919050565b600060208201905081810360008301526150fa816149bb565b9050919050565b6000602082019050818103600083015261511a816149de565b9050919050565b60006020820190506151366000830184614a01565b92915050565b6000615146615157565b90506151528282615463565b919050565b6000604051905090565b600067ffffffffffffffff82111561517c5761517b6155d3565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156151a8576151a76155d3565b5b6151b182615602565b9050602081019050919050565b600067ffffffffffffffff8211156151d9576151d86155d3565b5b6151e282615602565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615248826153c6565b9150615253836153c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561528857615287615546565b5b828201905092915050565b600061529e826153c6565b91506152a9836153c6565b9250826152b9576152b8615575565b5b828204905092915050565b60006152cf826153c6565b91506152da836153c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561531357615312615546565b5b828202905092915050565b6000615329826153c6565b9150615334836153c6565b92508282101561534757615346615546565b5b828203905092915050565b600061535d826153a6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006153e8826153c6565b9050919050565b82818337600083830152505050565b60005b8381101561541c578082015181840152602081019050615401565b8381111561542b576000848401525b50505050565b6000600282049050600182168061544957607f821691505b6020821081141561545d5761545c6155a4565b5b50919050565b61546c82615602565b810181811067ffffffffffffffff8211171561548b5761548a6155d3565b5b80604052505050565b600061549f826153c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154d2576154d1615546565b5b600182019050919050565b60006154e8826154f9565b9050919050565b6000819050919050565b600061550482615613565b9050919050565b6000819050919050565b6000615520826153c6565b915061552b836153c6565b92508261553b5761553a615575565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4d696e74696e672070617373206973206e6f74206170706c696361626c650000600082015250565b7f5761766520636f6d706c65746564000000000000000000000000000000000000600082015250565b7f4e6f7420696e2073616c65000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f5369676e6174757265496420616c726561647920757365640000000000000000600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c696420636f6e66696775726174696f6e0000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e76616c696420636f6e747261637420616464726573730000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206973206e6f7420636f6e66696775726564000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e672077696c6c2065786365656420737570706c79000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f496e76616c696420737570706c7920636f6e66696775726174696f6e00000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d617820616c6c6f776564000000000000000000000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5369676e6174757265206661696c656400000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615eeb81615352565b8114615ef657600080fd5b50565b615f0281615364565b8114615f0d57600080fd5b50565b615f198161537a565b8114615f2457600080fd5b50565b615f30816153c6565b8114615f3b57600080fd5b5056fea26469706673582212204f49747e8b913a482adc26d60a87f0829d3f09c512e4e72624f5486fe233637164736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000e21bc0e192b2a57c5f30da08ffa75b0fbb9e618b000000000000000000000000b31ef9e52d94d4120eb44fe1ddfde5b4654a65150000000000000000000000007dc051fae4dbfa346a206576db70e1f66a3c3c4b000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f6170692e646f7365746f6b656e2e636f6d2f6d657461646174612f73616e64626f782f6176617461722f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a47796d204120436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034741430000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025e5760003560e01c80634f6ccce711610146578063a22cb465116100c3578063d5878eaa11610087578063d5878eaa14610711578063df9740da1461072f578063e985e9c51461074d578063f02ae48f1461077d578063f2fde38b14610799578063f6b4dfb4146107b55761025e565b8063a22cb4651461065d578063a8b75a6e14610679578063b88d4fde146106a9578063c87b56dd146106c5578063ca460138146106f55761025e565b8063715018a61161010a578063715018a6146105f157806377fb63f1146105fb5780637d8966e4146106175780638da5cb5b1461062157806395d89b411461063f5761025e565b80634f6ccce71461052757806355f804b3146105575780635c975abb146105735780636352211e1461059157806370a08231146105c15761025e565b806324510043116101df5780633cc18aa6116101a35780633cc18aa6146104655780633e84aa5e1461049557806342842e0e146104b3578063433ad106146104cf5780634a9eee69146104ed5780634efa82b6146105095761025e565b806324510043146103ad578063283ca77c146103cb5780632f745c59146103fb57806334b35ac01461042b578063382a2914146104495761025e565b8063081812fc11610226578063081812fc1461030b578063095ea7b31461033b578063151370451461035757806318160ddd1461037357806323b872dd146103915761025e565b806301dbf7e01461026357806301ffc9a71461028157806305783126146102b15780630682bdbc146102cf57806306fdde03146102ed575b600080fd5b61026b6107d3565b6040516102789190615121565b60405180910390f35b61029b600480360381019061029691906141d1565b6107d9565b6040516102a89190614bff565b60405180910390f35b6102b9610853565b6040516102c69190615121565b60405180910390f35b6102d7610859565b6040516102e49190614ae5565b60405180910390f35b6102f561087f565b6040516103029190614c5f565b60405180910390f35b61032560048036038101906103209190614264565b610911565b6040516103329190614ae5565b60405180910390f35b6103556004803603810190610350919061409c565b610996565b005b610371600480360381019061036c9190613f31565b610aae565b005b61037b610b6e565b6040516103889190615121565b60405180910390f35b6103ab60048036038101906103a69190613f96565b610b7b565b005b6103b5610bdb565b6040516103c29190615121565b60405180910390f35b6103e560048036038101906103e0919061409c565b610be1565b6040516103f29190614bff565b60405180910390f35b6104156004803603810190610410919061409c565b610c06565b6040516104229190615121565b60405180910390f35b610433610cab565b6040516104409190615121565b60405180910390f35b610463600480360381019061045e9190613f31565b610cb1565b005b61047f600480360381019061047a9190613f31565b610d71565b60405161048c9190615121565b60405180910390f35b61049d610dd9565b6040516104aa9190615121565b60405180910390f35b6104cd60048036038101906104c89190613f96565b610ddf565b005b6104d7610dff565b6040516104e49190615121565b60405180910390f35b6105076004803603810190610502919061428d565b610e05565b005b6105116112b7565b60405161051e9190614ae5565b60405180910390f35b610541600480360381019061053c9190614264565b6112dd565b60405161054e9190615121565b60405180910390f35b610571600480360381019061056c9190614223565b611374565b005b61057b61140a565b6040516105889190615121565b60405180910390f35b6105ab60048036038101906105a69190614264565b611410565b6040516105b89190614ae5565b60405180910390f35b6105db60048036038101906105d69190613f31565b6114c2565b6040516105e89190615121565b60405180910390f35b6105f961157a565b005b61061560048036038101906106109190614167565b611602565b005b61061f611775565b005b61062961184c565b6040516106369190614ae5565b60405180910390f35b610647611876565b6040516106549190614c5f565b60405180910390f35b61067760048036038101906106729190614060565b611908565b005b610693600480360381019061068e91906140d8565b61191e565b6040516106a09190614ae5565b60405180910390f35b6106c360048036038101906106be9190613fe5565b611987565b005b6106df60048036038101906106da9190614264565b6119e9565b6040516106ec9190614c5f565b60405180910390f35b61070f600480360381019061070a9190614308565b611a90565b005b610719611cef565b6040516107269190615121565b60405180910390f35b610737611cf5565b6040516107449190615121565b60405180910390f35b61076760048036038101906107629190613f5a565b611cfb565b6040516107749190614bff565b60405180910390f35b61079760048036038101906107929190613f31565b611d8f565b005b6107b360048036038101906107ae9190613f31565b611e4f565b005b6107bd611f47565b6040516107ca9190614ae5565b60405180910390f35b600c5481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084c575061084b82611f6d565b5b9050919050565b60135481565b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000805461088e90615431565b80601f01602080910402602001604051908101604052809291908181526020018280546108ba90615431565b80156109075780601f106108dc57610100808354040283529160200191610907565b820191906000526020600020905b8154815290600101906020018083116108ea57829003601f168201915b5050505050905090565b600061091c8261204f565b61095b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095290614f81565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a182611410565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0990615021565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a316120bb565b73ffffffffffffffffffffffffffffffffffffffff161480610a605750610a5f81610a5a6120bb565b611cfb565b5b610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690614ec1565b60405180910390fd5b610aa983836120c3565b505050565b610ab66120bb565b73ffffffffffffffffffffffffffffffffffffffff16610ad461184c565b73ffffffffffffffffffffffffffffffffffffffff1614610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2190614fa1565b60405180910390fd5b80601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b610b8c610b866120bb565b8261217c565b610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc290615041565b60405180910390fd5b610bd683838361225a565b505050565b60115481565b6000610bec826124b6565b8015610bfe5750610bfd83836124dd565b5b905092915050565b6000610c11836114c2565b8210610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4990614d41565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60155481565b610cb96120bb565b73ffffffffffffffffffffffffffffffffffffffff16610cd761184c565b73ffffffffffffffffffffffffffffffffffffffff1614610d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2490614fa1565b60405180910390fd5b80601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001601554610dc3919061531e565b8152602001908152602001600020549050919050565b60105481565b610dfa83838360405180602001604052806000815250611987565b505050565b600f5481565b6002600b541415610e4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4290615101565b60405180910390fd5b6002600b81905550600060155411610e98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8f90614e61565b60405180910390fd5b600060165414610edd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed490614ce1565b60405180910390fd5b6000601760008481526020019081526020016000205414610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a90614d21565b60405180910390fd5b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610f80610f776120bb565b8430468661191e565b73ffffffffffffffffffffffffffffffffffffffff1614610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd906150c1565b60405180910390fd5b60016017600084815260200190815260200160002081905550610ff8846124b6565b611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e90614cc1565b60405180910390fd5b6110486110426120bb565b856124dd565b611087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107e90615061565b60405180910390fd5b6001600c541415611171576013548311156110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce90614ca1565b60405180910390fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632b83cccd61111d6120bb565b8560016040518463ffffffff1660e01b815260040161113e93929190614bc8565b600060405180830381600087803b15801561115857600080fd5b505af115801561116c573d6000803e3d6000fd5b505050505b600084600f5461118191906152c4565b905060008111156111e4576111e3601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166111ba6120bb565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684612576565b5b84601460006111f16120bb565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600160155461123c919061531e565b81526020019081526020016000206000828254611259919061523d565b925050819055508460106000828254611272919061523d565b9250508190555060005b858110156112a75761129461128f6120bb565b6125ff565b808061129f90615494565b91505061127c565b50506001600b8190555050505050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006112e7610b6e565b8210611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f906150a1565b60405180910390fd5b60088281548110611362577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61137c6120bb565b73ffffffffffffffffffffffffffffffffffffffff1661139a61184c565b73ffffffffffffffffffffffffffffffffffffffff16146113f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e790614fa1565b60405180910390fd5b80601c9080519060200190611406929190613caa565b5050565b60165481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b090614f01565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611533576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152a90614ee1565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6115826120bb565b73ffffffffffffffffffffffffffffffffffffffff166115a061184c565b73ffffffffffffffffffffffffffffffffffffffff16146115f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ed90614fa1565b60405180910390fd5b6116006000612622565b565b61160a6120bb565b73ffffffffffffffffffffffffffffffffffffffff1661162861184c565b73ffffffffffffffffffffffffffffffffffffffff161461167e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167590614fa1565b60405180910390fd5b600081519050601981601154611694919061523d565b111580156116b15750612710816011546116ae919061523d565b11155b6116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e790614f21565b60405180910390fd5b8060116000828254611702919061523d565b9250508190555060005b818110156117705761175d838281518110611750577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516125ff565b808061176890615494565b91505061170c565b505050565b61177d6120bb565b73ffffffffffffffffffffffffffffffffffffffff1661179b61184c565b73ffffffffffffffffffffffffffffffffffffffff16146117f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e890614fa1565b60405180910390fd5b600060165414611802576000611805565b60015b60ff166016819055507f723520dd5c4a47afb7ed5524b7b777a2300bdcf95cade0bf2afa9d582e66ee996001601654146040516118429190614bff565b60405180910390a1565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461188590615431565b80601f01602080910402602001604051908101604052809291908181526020018280546118b190615431565b80156118fe5780601f106118d3576101008083540402835291602001916118fe565b820191906000526020600020905b8154815290600101906020018083116118e157829003601f168201915b5050505050905090565b61191a6119136120bb565b83836126e8565b5050565b600061197c8686868660405160200161193a9493929190614b83565b604051602081830303815290604052805190602001206040516020016119609190614abf565b6040516020818303038152906040528051906020012083612855565b905095945050505050565b6119986119926120bb565b8361217c565b6119d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ce90615041565b60405180910390fd5b6119e38484848461287c565b50505050565b60606119f48261204f565b611a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2a90614fe1565b60405180910390fd5b6000611a3d6128d8565b90506000815111611a5d5760405180602001604052806000815250611a88565b80611a678461296a565b604051602001611a78929190614a9b565b6040516020818303038152906040525b915050919050565b611a986120bb565b73ffffffffffffffffffffffffffffffffffffffff16611ab661184c565b73ffffffffffffffffffffffffffffffffffffffff1614611b0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0390614fa1565b60405180910390fd5b600286108015611b1c5750600085115b8015611b285750600084115b8015611b485750612710611b3a610b6e565b86611b45919061523d565b11155b611b87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7e90614dc1565b60405180910390fd5b60008614611c0057600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf690614e21565b60405180910390fd5b5b84841115611c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3a90615001565b60405180910390fd5b85600c8190555084600d8190555083600e8190555082600f81905550600060108190555060008614611c755781611c78565b60005b601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018614611cc7576000611cc9565b805b60138190555060156000815480929190611ce290615494565b9190505550505050505050565b600d5481565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d976120bb565b73ffffffffffffffffffffffffffffffffffffffff16611db561184c565b73ffffffffffffffffffffffffffffffffffffffff1614611e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0290614fa1565b60405180910390fd5b80601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611e576120bb565b73ffffffffffffffffffffffffffffffffffffffff16611e7561184c565b73ffffffffffffffffffffffffffffffffffffffff1614611ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec290614fa1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3290614d81565b60405180910390fd5b611f4481612622565b50565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061203857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612048575061204782612b17565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661213683611410565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121878261204f565b6121c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bd90614ea1565b60405180910390fd5b60006121d183611410565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061224057508373ffffffffffffffffffffffffffffffffffffffff1661222884610911565b73ffffffffffffffffffffffffffffffffffffffff16145b8061225157506122508185611cfb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661227a82611410565b73ffffffffffffffffffffffffffffffffffffffff16146122d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c790614fc1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612340576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233790614de1565b60405180910390fd5b61234b838383612b81565b6123566000826120c3565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123a6919061531e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123fd919061523d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080821180156124d65750600d54826010546124d3919061523d565b11155b9050919050565b6000600e5482601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001601554612533919061531e565b81526020019081526020016000205461254c919061523d565b1115801561256e575061271082612561610b6e565b61256b919061523d565b11155b905092915050565b6125f9846323b872dd60e01b85858560405160240161259793929190614b00565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c95565b50505050565b60006126128261260d610b6e565b612d5c565b905061261e8282612e7a565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274e90614e01565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516128489190614bff565b60405180910390a3505050565b60008060006128648585612e98565b9150915061287181612f1b565b819250505092915050565b61288784848461225a565b6128938484848461326c565b6128d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c990614d61565b60405180910390fd5b50505050565b6060601c80546128e790615431565b80601f016020809104026020016040519081016040528092919081815260200182805461291390615431565b80156129605780601f1061293557610100808354040283529160200191612960565b820191906000526020600020905b81548152906001019060200180831161294357829003601f168201915b5050505050905090565b606060008214156129b2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b12565b600082905060005b600082146129e45780806129cd90615494565b915050600a826129dd9190615293565b91506129ba565b60008167ffffffffffffffff811115612a26577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a585781602001600182028036833780820191505090505b5090505b60008514612b0b57600182612a71919061531e565b9150600a85612a809190615515565b6030612a8c919061523d565b60f81b818381518110612ac8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b049190615293565b9450612a5c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b8c838383613403565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bcf57612bca81613408565b612c0e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c0d57612c0c8382613451565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c5157612c4c816135be565b612c90565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612c8f57612c8e8282613701565b5b5b505050565b6000612cf7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166137809092919063ffffffff16565b9050600081511115612d575780806020019051810190612d1791906141a8565b612d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4d906150e1565b60405180910390fd5b5b505050565b60008082612710612d6d919061531e565b905060008185444285604051602001612d899493929190614a36565b6040516020818303038152906040528051906020012060001c612dac9190615515565b905060008190506000601860008481526020019081526020016000205414612de557601860008381526020019081526020016000205490505b600060186000600186612df8919061531e565b8152602001908152602001600020541415612e3657600183612e1a919061531e565b6018600084815260200190815260200160002081905550612e6e565b60186000600185612e47919061531e565b81526020019081526020016000205460186000848152602001908152602001600020819055505b80935050505092915050565b612e94828260405180602001604052806000815250613798565b5050565b600080604183511415612eda5760008060006020860151925060408601519150606086015160001a9050612ece878285856137f3565b94509450505050612f14565b604083511415612f0b576000806020850151915060408501519050612f00868383613900565b935093505050612f14565b60006002915091505b9250929050565b60006004811115612f55577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612f8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612f9957613269565b60016004811115612fd3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561300c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561304d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304490614c81565b60405180910390fd5b60026004811115613087577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156130c0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f890614d01565b60405180910390fd5b6003600481111561313b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613174577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156131b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ac90614e41565b60405180910390fd5b6004808111156131ee577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613227577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161325f90614f41565b60405180910390fd5b5b50565b600061328d8473ffffffffffffffffffffffffffffffffffffffff1661394e565b156133f6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132b66120bb565b8786866040518563ffffffff1660e01b81526004016132d89493929190614b37565b602060405180830381600087803b1580156132f257600080fd5b505af192505050801561332357506040513d601f19601f8201168201806040525081019061332091906141fa565b60015b6133a6573d8060008114613353576040519150601f19603f3d011682016040523d82523d6000602084013e613358565b606091505b5060008151141561339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339590614d61565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133fb565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161345e846114c2565b613468919061531e565b905060006007600084815260200190815260200160002054905081811461354d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135d2919061531e565b9050600060096000848152602001908152602001600020549050600060088381548110613628577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613670577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061370c836114c2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b606061378f8484600085613961565b90509392505050565b6137a28383613a75565b6137af600084848461326c565b6137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e590614d61565b60405180910390fd5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561382e5760006003915091506138f7565b601b8560ff16141580156138465750601c8560ff1614155b156138585760006004915091506138f7565b60006001878787876040516000815260200160405260405161387d9493929190614c1a565b6020604051602081039080840390855afa15801561389f573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156138ee576000600192509250506138f7565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613940878288856137f3565b935093505050935093915050565b600080823b905060008111915050919050565b6060824710156139a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399d90614e81565b60405180910390fd5b6139af8561394e565b6139ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139e590615081565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613a179190614a84565b60006040518083038185875af1925050503d8060008114613a54576040519150601f19603f3d011682016040523d82523d6000602084013e613a59565b606091505b5091509150613a69828286613c43565b92505050949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613adc90614f61565b60405180910390fd5b613aee8161204f565b15613b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b2590614da1565b60405180910390fd5b613b3a60008383612b81565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613b8a919061523d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60608315613c5357829050613ca3565b600083511115613c665782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c9a9190614c5f565b60405180910390fd5b9392505050565b828054613cb690615431565b90600052602060002090601f016020900481019282613cd85760008555613d1f565b82601f10613cf157805160ff1916838001178555613d1f565b82800160010185558215613d1f579182015b82811115613d1e578251825591602001919060010190613d03565b5b509050613d2c9190613d30565b5090565b5b80821115613d49576000816000905550600101613d31565b5090565b6000613d60613d5b84615161565b61513c565b90508083825260208201905082856020860282011115613d7f57600080fd5b60005b85811015613daf5781613d958882613e35565b845260208401935060208301925050600181019050613d82565b5050509392505050565b6000613dcc613dc78461518d565b61513c565b905082815260208101848484011115613de457600080fd5b613def8482856153ef565b509392505050565b6000613e0a613e05846151be565b61513c565b905082815260208101848484011115613e2257600080fd5b613e2d8482856153ef565b509392505050565b600081359050613e4481615ee2565b92915050565b600082601f830112613e5b57600080fd5b8135613e6b848260208601613d4d565b91505092915050565b600081359050613e8381615ef9565b92915050565b600081519050613e9881615ef9565b92915050565b600081359050613ead81615f10565b92915050565b600081519050613ec281615f10565b92915050565b600082601f830112613ed957600080fd5b8135613ee9848260208601613db9565b91505092915050565b600082601f830112613f0357600080fd5b8135613f13848260208601613df7565b91505092915050565b600081359050613f2b81615f27565b92915050565b600060208284031215613f4357600080fd5b6000613f5184828501613e35565b91505092915050565b60008060408385031215613f6d57600080fd5b6000613f7b85828601613e35565b9250506020613f8c85828601613e35565b9150509250929050565b600080600060608486031215613fab57600080fd5b6000613fb986828701613e35565b9350506020613fca86828701613e35565b9250506040613fdb86828701613f1c565b9150509250925092565b60008060008060808587031215613ffb57600080fd5b600061400987828801613e35565b945050602061401a87828801613e35565b935050604061402b87828801613f1c565b925050606085013567ffffffffffffffff81111561404857600080fd5b61405487828801613ec8565b91505092959194509250565b6000806040838503121561407357600080fd5b600061408185828601613e35565b925050602061409285828601613e74565b9150509250929050565b600080604083850312156140af57600080fd5b60006140bd85828601613e35565b92505060206140ce85828601613f1c565b9150509250929050565b600080600080600060a086880312156140f057600080fd5b60006140fe88828901613e35565b955050602061410f88828901613f1c565b945050604061412088828901613e35565b935050606061413188828901613f1c565b925050608086013567ffffffffffffffff81111561414e57600080fd5b61415a88828901613ec8565b9150509295509295909350565b60006020828403121561417957600080fd5b600082013567ffffffffffffffff81111561419357600080fd5b61419f84828501613e4a565b91505092915050565b6000602082840312156141ba57600080fd5b60006141c884828501613e89565b91505092915050565b6000602082840312156141e357600080fd5b60006141f184828501613e9e565b91505092915050565b60006020828403121561420c57600080fd5b600061421a84828501613eb3565b91505092915050565b60006020828403121561423557600080fd5b600082013567ffffffffffffffff81111561424f57600080fd5b61425b84828501613ef2565b91505092915050565b60006020828403121561427657600080fd5b600061428484828501613f1c565b91505092915050565b600080600080608085870312156142a357600080fd5b60006142b187828801613f1c565b94505060206142c287828801613f1c565b93505060406142d387828801613f1c565b925050606085013567ffffffffffffffff8111156142f057600080fd5b6142fc87828801613ec8565b91505092959194509250565b60008060008060008060c0878903121561432157600080fd5b600061432f89828a01613f1c565b965050602061434089828a01613f1c565b955050604061435189828a01613f1c565b945050606061436289828a01613f1c565b935050608061437389828a01613e35565b92505060a061438489828a01613f1c565b9150509295509295509295565b61439a81615352565b82525050565b6143b16143ac82615352565b6154dd565b82525050565b6143c081615364565b82525050565b6143cf81615370565b82525050565b6143e66143e182615370565b6154ef565b82525050565b60006143f7826151ef565b6144018185615205565b93506144118185602086016153fe565b61441a81615602565b840191505092915050565b6000614430826151ef565b61443a8185615216565b935061444a8185602086016153fe565b80840191505092915050565b61445f816153dd565b82525050565b6000614470826151fa565b61447a8185615221565b935061448a8185602086016153fe565b61449381615602565b840191505092915050565b60006144a9826151fa565b6144b38185615232565b93506144c38185602086016153fe565b80840191505092915050565b60006144dc601883615221565b91506144e782615620565b602082019050919050565b60006144ff601e83615221565b915061450a82615649565b602082019050919050565b6000614522600e83615221565b915061452d82615672565b602082019050919050565b6000614545600b83615221565b91506145508261569b565b602082019050919050565b6000614568601f83615221565b9150614573826156c4565b602082019050919050565b600061458b601883615221565b9150614596826156ed565b602082019050919050565b60006145ae601c83615232565b91506145b982615716565b601c82019050919050565b60006145d1602b83615221565b91506145dc8261573f565b604082019050919050565b60006145f4603283615221565b91506145ff8261578e565b604082019050919050565b6000614617602683615221565b9150614622826157dd565b604082019050919050565b600061463a601c83615221565b91506146458261582c565b602082019050919050565b600061465d601583615221565b915061466882615855565b602082019050919050565b6000614680602483615221565b915061468b8261587e565b604082019050919050565b60006146a3601983615221565b91506146ae826158cd565b602082019050919050565b60006146c6601883615221565b91506146d1826158f6565b602082019050919050565b60006146e9602283615221565b91506146f48261591f565b604082019050919050565b600061470c601a83615221565b91506147178261596e565b602082019050919050565b600061472f602683615221565b915061473a82615997565b604082019050919050565b6000614752602c83615221565b915061475d826159e6565b604082019050919050565b6000614775603883615221565b915061478082615a35565b604082019050919050565b6000614798602a83615221565b91506147a382615a84565b604082019050919050565b60006147bb602983615221565b91506147c682615ad3565b604082019050919050565b60006147de601a83615221565b91506147e982615b22565b602082019050919050565b6000614801602283615221565b915061480c82615b4b565b604082019050919050565b6000614824602083615221565b915061482f82615b9a565b602082019050919050565b6000614847602c83615221565b915061485282615bc3565b604082019050919050565b600061486a602083615221565b915061487582615c12565b602082019050919050565b600061488d602983615221565b915061489882615c3b565b604082019050919050565b60006148b0602f83615221565b91506148bb82615c8a565b604082019050919050565b60006148d3601c83615221565b91506148de82615cd9565b602082019050919050565b60006148f6602183615221565b915061490182615d02565b604082019050919050565b6000614919603183615221565b915061492482615d51565b604082019050919050565b600061493c600b83615221565b915061494782615da0565b602082019050919050565b600061495f601d83615221565b915061496a82615dc9565b602082019050919050565b6000614982602c83615221565b915061498d82615df2565b604082019050919050565b60006149a5601083615221565b91506149b082615e41565b602082019050919050565b60006149c8602a83615221565b91506149d382615e6a565b604082019050919050565b60006149eb601f83615221565b91506149f682615eb9565b602082019050919050565b614a0a816153c6565b82525050565b614a21614a1c826153c6565b61550b565b82525050565b614a30816153d0565b82525050565b6000614a4282876143a0565b601482019150614a528286614a10565b602082019150614a628285614a10565b602082019150614a728284614a10565b60208201915081905095945050505050565b6000614a908284614425565b915081905092915050565b6000614aa7828561449e565b9150614ab3828461449e565b91508190509392505050565b6000614aca826145a1565b9150614ad682846143d5565b60208201915081905092915050565b6000602082019050614afa6000830184614391565b92915050565b6000606082019050614b156000830186614391565b614b226020830185614391565b614b2f6040830184614a01565b949350505050565b6000608082019050614b4c6000830187614391565b614b596020830186614391565b614b666040830185614a01565b8181036060830152614b7881846143ec565b905095945050505050565b6000608082019050614b986000830187614391565b614ba56020830186614a01565b614bb26040830185614391565b614bbf6060830184614a01565b95945050505050565b6000606082019050614bdd6000830186614391565b614bea6020830185614a01565b614bf76040830184614456565b949350505050565b6000602082019050614c1460008301846143b7565b92915050565b6000608082019050614c2f60008301876143c6565b614c3c6020830186614a27565b614c4960408301856143c6565b614c5660608301846143c6565b95945050505050565b60006020820190508181036000830152614c798184614465565b905092915050565b60006020820190508181036000830152614c9a816144cf565b9050919050565b60006020820190508181036000830152614cba816144f2565b9050919050565b60006020820190508181036000830152614cda81614515565b9050919050565b60006020820190508181036000830152614cfa81614538565b9050919050565b60006020820190508181036000830152614d1a8161455b565b9050919050565b60006020820190508181036000830152614d3a8161457e565b9050919050565b60006020820190508181036000830152614d5a816145c4565b9050919050565b60006020820190508181036000830152614d7a816145e7565b9050919050565b60006020820190508181036000830152614d9a8161460a565b9050919050565b60006020820190508181036000830152614dba8161462d565b9050919050565b60006020820190508181036000830152614dda81614650565b9050919050565b60006020820190508181036000830152614dfa81614673565b9050919050565b60006020820190508181036000830152614e1a81614696565b9050919050565b60006020820190508181036000830152614e3a816146b9565b9050919050565b60006020820190508181036000830152614e5a816146dc565b9050919050565b60006020820190508181036000830152614e7a816146ff565b9050919050565b60006020820190508181036000830152614e9a81614722565b9050919050565b60006020820190508181036000830152614eba81614745565b9050919050565b60006020820190508181036000830152614eda81614768565b9050919050565b60006020820190508181036000830152614efa8161478b565b9050919050565b60006020820190508181036000830152614f1a816147ae565b9050919050565b60006020820190508181036000830152614f3a816147d1565b9050919050565b60006020820190508181036000830152614f5a816147f4565b9050919050565b60006020820190508181036000830152614f7a81614817565b9050919050565b60006020820190508181036000830152614f9a8161483a565b9050919050565b60006020820190508181036000830152614fba8161485d565b9050919050565b60006020820190508181036000830152614fda81614880565b9050919050565b60006020820190508181036000830152614ffa816148a3565b9050919050565b6000602082019050818103600083015261501a816148c6565b9050919050565b6000602082019050818103600083015261503a816148e9565b9050919050565b6000602082019050818103600083015261505a8161490c565b9050919050565b6000602082019050818103600083015261507a8161492f565b9050919050565b6000602082019050818103600083015261509a81614952565b9050919050565b600060208201905081810360008301526150ba81614975565b9050919050565b600060208201905081810360008301526150da81614998565b9050919050565b600060208201905081810360008301526150fa816149bb565b9050919050565b6000602082019050818103600083015261511a816149de565b9050919050565b60006020820190506151366000830184614a01565b92915050565b6000615146615157565b90506151528282615463565b919050565b6000604051905090565b600067ffffffffffffffff82111561517c5761517b6155d3565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156151a8576151a76155d3565b5b6151b182615602565b9050602081019050919050565b600067ffffffffffffffff8211156151d9576151d86155d3565b5b6151e282615602565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615248826153c6565b9150615253836153c6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561528857615287615546565b5b828201905092915050565b600061529e826153c6565b91506152a9836153c6565b9250826152b9576152b8615575565b5b828204905092915050565b60006152cf826153c6565b91506152da836153c6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561531357615312615546565b5b828202905092915050565b6000615329826153c6565b9150615334836153c6565b92508282101561534757615346615546565b5b828203905092915050565b600061535d826153a6565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006153e8826153c6565b9050919050565b82818337600083830152505050565b60005b8381101561541c578082015181840152602081019050615401565b8381111561542b576000848401525b50505050565b6000600282049050600182168061544957607f821691505b6020821081141561545d5761545c6155a4565b5b50919050565b61546c82615602565b810181811067ffffffffffffffff8211171561548b5761548a6155d3565b5b80604052505050565b600061549f826153c6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156154d2576154d1615546565b5b600182019050919050565b60006154e8826154f9565b9050919050565b6000819050919050565b600061550482615613565b9050919050565b6000819050919050565b6000615520826153c6565b915061552b836153c6565b92508261553b5761553a615575565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f4d696e74696e672070617373206973206e6f74206170706c696361626c650000600082015250565b7f5761766520636f6d706c65746564000000000000000000000000000000000000600082015250565b7f4e6f7420696e2073616c65000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f5369676e6174757265496420616c726561647920757365640000000000000000600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f496e76616c696420636f6e66696775726174696f6e0000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e76616c696420636f6e747261637420616464726573730000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206973206e6f7420636f6e66696775726564000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e672077696c6c2065786365656420737570706c79000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f496e76616c696420737570706c7920636f6e66696775726174696f6e00000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d617820616c6c6f776564000000000000000000000000000000000000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5369676e6174757265206661696c656400000000000000000000000000000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b615eeb81615352565b8114615ef657600080fd5b50565b615f0281615364565b8114615f0d57600080fd5b50565b615f198161537a565b8114615f2457600080fd5b50565b615f30816153c6565b8114615f3b57600080fd5b5056fea26469706673582212204f49747e8b913a482adc26d60a87f0829d3f09c512e4e72624f5486fe233637164736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000e21bc0e192b2a57c5f30da08ffa75b0fbb9e618b000000000000000000000000b31ef9e52d94d4120eb44fe1ddfde5b4654a65150000000000000000000000007dc051fae4dbfa346a206576db70e1f66a3c3c4b000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f6170692e646f7365746f6b656e2e636f6d2f6d657461646174612f73616e64626f782f6176617461722f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a47796d204120436c75620000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034741430000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://api.dosetoken.com/metadata/sandbox/avatar/
Arg [1] : _name (string): Gym A Club
Arg [2] : _symbol (string): GAC
Arg [3] : _payeeWallet (address): 0xe21BC0E192b2A57C5f30Da08fFA75B0fbB9e618B
Arg [4] : _payoutToken (address): 0xb31eF9e52d94D4120eb44Fe1ddfDe5B4654A6515
Arg [5] : _signAddress (address): 0x7dC051faE4Dbfa346a206576Db70e1f66A3C3c4B
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 000000000000000000000000e21bc0e192b2a57c5f30da08ffa75b0fbb9e618b
Arg [4] : 000000000000000000000000b31ef9e52d94d4120eb44fe1ddfde5b4654a6515
Arg [5] : 0000000000000000000000007dc051fae4dbfa346a206576db70e1f66a3c3c4b
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [7] : 68747470733a2f2f6170692e646f7365746f6b656e2e636f6d2f6d6574616461
Arg [8] : 74612f73616e64626f782f6176617461722f0000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 47796d204120436c756200000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [12] : 4741430000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.