ERC-721
NFT
Overview
Max Total Supply
888 SHOGUNAPES
Holders
398
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SHOGUNAPESLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ShogunApes
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-12-13 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.17; /* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&##BBGGGGGGGGBB#&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&BGGGGGGGGGGGGGGGGGGGG#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&BGGGGGGGGGGGGGGGGGGGGGGG#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@BGGGGGGGGGGGGGGGGGGGGGGGGGGB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ &&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@BGGGGGGGGGGGGGGGGGGGGGGGGGGGGB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ #YJ5PGBB##&&@@@@@@@@@@@@@@@@@@@@@@BPGGGGGGGGGGGGGGGGGGGGGGGGGGGGPB@@@@@@@@@@@@@@@@@@@@@@@@@@@&@&@&G5 @@#GP55YYJYJYYYY55PPGGBBB###&&&&&&BGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGB&&&#BG&&&&@&&#&#&#&B&B&B&#@#@#&&#G @@@@@@@@@@&&##BBGGPP55YYYYJJJJJJJJJJYYYYYYYYYYYYYYYYYYYYYYYYYYJJJJJ??YJJ#@&#&#&#@&@&@&@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&&BPPP555555555555YYYYYY55555555555B##&&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&BGGGGGGGGGGGGGGGGGGGGGGGGGGGGB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@BGGGGGGGGGGGGGGGGGGGGGGGGGGB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&BGGGGGGGGGGGGGGGGGGGGGGG&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&BGGGGGGGGGGGGGGGGGGGB#&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#BGGBGGGGGGBBB#&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); } 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)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @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"); } } } library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } 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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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); } } 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. /// @solidity memory-safe-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. /// @solidity memory-safe-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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 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)); } } contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] += payment; _totalReleased += payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); _erc20Released[token][account] += payment; _erc20TotalReleased[token] += payment; SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } } /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @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, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } contract ShogunApes is Ownable, ERC721A, PaymentSplitter { using ECDSA for bytes32; using Strings for uint; address private signerAddressVIP; address private signerAddressWL; enum Step { Before, VIPSale, PublicSale, WhitelistSale, SoldOut, Reveal } string public baseURI; Step public sellingStep; uint private constant MAX_PUBLIC = 600; uint private constant MAX_VIP = 88; uint private constant MAX_WL = 200; uint public wlSalePrice = 0.01 ether; uint public publicSalePrice = 0.025 ether; mapping(address => uint) public mintedAmountNFTsperWalletWhitelistSale; mapping(address => uint) public mintedAmountNFTsperWalletVIPSale; mapping(address => uint) public mintedAmountNFTsperWalletPublicSale; uint public maxMintAmountPerVIP = 1; uint public maxMintAmountPerWhitelist = 1; uint public maxMintAmountPerPublic = 2; uint public maxAmountPerTxnPublic = 2; uint private teamLength; constructor(address[] memory _team, uint[] memory _teamShares, address _signerAddressVIP, address _signerAddressWL, string memory _baseURI) ERC721A("Shogun Apes", "SHOGUNAPES") PaymentSplitter(_team, _teamShares) { signerAddressVIP = _signerAddressVIP; signerAddressWL = _signerAddressWL; baseURI = _baseURI; teamLength = _team.length; } function mintForOpensea() external onlyOwner{ if(totalSupply() != 0) revert("Only one mint for deployer"); _mint(msg.sender, 1); } function VIPMint(uint _quantity, bytes calldata signature) external { if(sellingStep != Step.VIPSale) revert("VIP Mint is not open"); if(totalSupply() + _quantity > MAX_VIP) revert("Max supply for VIP exceeded"); if(signerAddressVIP != keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", bytes32(uint256(uint160(msg.sender))) ) ).recover(signature)) revert("You are not in VIP whitelist"); if(mintedAmountNFTsperWalletVIPSale[msg.sender] + _quantity > maxMintAmountPerVIP) revert("You can only get 1 NFT on the VIP Sale"); mintedAmountNFTsperWalletVIPSale[msg.sender] += _quantity; // The _numberMinted is incremented internally _mint(msg.sender, _quantity); } function publicSaleMint(uint _quantity) external payable { uint price = publicSalePrice; if(price <= 0) revert("Price is 0"); if(_quantity > maxAmountPerTxnPublic) revert("Max amount per txn is 2"); if(sellingStep != Step.PublicSale) revert("Public Mint not live."); if(totalSupply() + _quantity > (MAX_VIP + MAX_PUBLIC)) revert("Max supply exceeded for public exceeded"); if(msg.value < price * _quantity) revert("Not enough funds"); if(mintedAmountNFTsperWalletPublicSale[msg.sender] + _quantity > maxMintAmountPerPublic) revert("You can only get 2 NFT on the Public Sale"); mintedAmountNFTsperWalletPublicSale[msg.sender] += _quantity; _mint(msg.sender, _quantity); } function WLMint(uint _quantity, bytes calldata signature) external payable { uint price = wlSalePrice; if(price <= 0) revert("Price is 0"); if(sellingStep != Step.WhitelistSale) revert("WL Mint not live."); if(totalSupply() + _quantity > (MAX_VIP + MAX_PUBLIC + MAX_WL)) revert("Max supply exceeded for WL exceeded"); if(msg.value < price * _quantity) revert("Not enough funds"); if(signerAddressWL != keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", bytes32(uint256(uint160(msg.sender))) ) ).recover(signature)) revert("You are not in WL whitelist"); if(mintedAmountNFTsperWalletWhitelistSale[msg.sender] + _quantity > maxMintAmountPerWhitelist) revert("You can only get 1 NFT on the Whitelist Sale"); mintedAmountNFTsperWalletWhitelistSale[msg.sender] += _quantity; _mint(msg.sender, _quantity); } function currentState() external view returns (Step, uint, uint, uint, uint, uint, uint) { return (sellingStep, publicSalePrice, wlSalePrice, maxMintAmountPerVIP, maxMintAmountPerWhitelist, maxMintAmountPerPublic, maxAmountPerTxnPublic); } function changeWlSalePrice(uint256 new_price) external onlyOwner{ wlSalePrice = new_price; } function changePublicSalePrice(uint256 new_price) external onlyOwner{ publicSalePrice = new_price; } function setBaseUri(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setStep(uint _step) external onlyOwner { sellingStep = Step(_step); } function setMaxMintPerVIP(uint amount) external onlyOwner { maxMintAmountPerVIP = amount; } function setMaxMintPerWhitelist(uint amount) external onlyOwner{ maxMintAmountPerWhitelist = amount; } function setMaxMintPerPublic(uint amount) external onlyOwner{ maxMintAmountPerPublic = amount; } function setMaxTxnPublic(uint amount) external onlyOwner{ maxAmountPerTxnPublic = amount; } function getNumberMinted(address account) external view returns (uint256) { return _numberMinted(account); } function getNumberWLMinted(address account) external view returns (uint256) { return mintedAmountNFTsperWalletWhitelistSale[account]; } function getNumberVIPMinted(address account) external view returns (uint256) { return mintedAmountNFTsperWalletVIPSale[account]; } function getNumberPublicMinted(address account) external view returns (uint256) { return mintedAmountNFTsperWalletPublicSale[account]; } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, _toString(_tokenId), ".json")); } function releaseAll() external { for(uint i = 0 ; i < teamLength ; i++) { release(payable(payee(i))); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"},{"internalType":"address","name":"_signerAddressVIP","type":"address"},{"internalType":"address","name":"_signerAddressWL","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"VIPMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"WLMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"new_price","type":"uint256"}],"name":"changePublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"new_price","type":"uint256"}],"name":"changeWlSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentState","outputs":[{"internalType":"enum ShogunApes.Step","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberPublicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberVIPMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getNumberWLMinted","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":[],"name":"maxAmountPerTxnPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerVIP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintForOpensea","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletVIPSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedAmountNFTsperWalletWhitelistSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellingStep","outputs":[{"internalType":"enum ShogunApes.Step","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxMintPerWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTxnPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_step","type":"uint256"}],"name":"setStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052662386f26fc100006014556658d15e1762800060155560016019556001601a556002601b556002601c553480156200003b57600080fd5b5060405162003a0f38038062003a0f8339810160408190526200005e9162000637565b84846040518060400160405280600b81526020016a53686f67756e204170657360a81b8152506040518060400160405280600a81526020016953484f47554e4150455360b01b815250620000c1620000bb6200026960201b60201c565b6200026d565b6003620000cf8382620007e3565b506004620000de8282620007e3565b50600060015550508051825114620001585760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001ab5760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f2070617965657300000000000060448201526064016200014f565b60005b8251811015620002175762000202838281518110620001d157620001d1620008af565b6020026020010151838381518110620001ee57620001ee620008af565b6020026020010151620002bd60201b60201c565b806200020e81620008db565b915050620001ae565b5050601080546001600160a01b038087166001600160a01b0319928316179092556011805492861692909116919091179055506012620002588282620007e3565b50509251601d555062000913915050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200032a5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b60648201526084016200014f565b600081116200037c5760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a2073686172657320617265203000000060448201526064016200014f565b6001600160a01b0382166000908152600b602052604090205415620003f85760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b60648201526084016200014f565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b6020526040902081905560095462000462908290620008f7565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620004ec57620004ec620004ab565b604052919050565b60006001600160401b03821115620005105762000510620004ab565b5060051b60200190565b80516001600160a01b03811681146200053257600080fd5b919050565b600082601f8301126200054957600080fd5b81516020620005626200055c83620004f4565b620004c1565b82815260059290921b840181019181810190868411156200058257600080fd5b8286015b848110156200059f578051835291830191830162000586565b509695505050505050565b600082601f830112620005bc57600080fd5b81516001600160401b03811115620005d857620005d8620004ab565b6020620005ee601f8301601f19168201620004c1565b82815285828487010111156200060357600080fd5b60005b838110156200062357858101830151828201840152820162000606565b506000928101909101919091529392505050565b600080600080600060a086880312156200065057600080fd5b85516001600160401b03808211156200066857600080fd5b818801915088601f8301126200067d57600080fd5b81516020620006906200055c83620004f4565b82815260059290921b8401810191818101908c841115620006b057600080fd5b948201945b83861015620006d957620006c9866200051a565b82529482019490820190620006b5565b918b0151919950909350505080821115620006f357600080fd5b6200070189838a0162000537565b955062000711604089016200051a565b945062000721606089016200051a565b935060808801519150808211156200073857600080fd5b506200074788828901620005aa565b9150509295509295909350565b600181811c908216806200076957607f821691505b6020821081036200078a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007de57600081815260208120601f850160051c81016020861015620007b95750805b601f850160051c820191505b81811015620007da57828155600101620007c5565b5050505b505050565b81516001600160401b03811115620007ff57620007ff620004ab565b620008178162000810845462000754565b8462000790565b602080601f8311600181146200084f5760008415620008365750858301515b600019600386901b1c1916600185901b178555620007da565b600085815260208120601f198616915b8281101562000880578886015182559484019460019091019084016200085f565b50858210156200089f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620008f057620008f0620008c5565b5060010190565b808201808211156200090d576200090d620008c5565b92915050565b6130ec80620009236000396000f3fe6080604052600436106103795760003560e01c80638137b22e116101d1578063c45ac05011610102578063e33b7de3116100a0578063f2fde38b1161006f578063f2fde38b14610aec578063f8dcbddb14610b0c578063f9d0dd7014610b2c578063fbe0315314610b5957600080fd5b8063e33b7de314610a42578063e985e9c514610a57578063ea90047514610aa0578063ee70c7cb14610ad657600080fd5b8063cbccefb2116100dc578063cbccefb214610982578063ce7c2ac2146109a9578063d0cd8e69146109df578063d79779b214610a0c57600080fd5b8063c45ac0501461092d578063c87b56dd1461094d578063c893575a1461096d57600080fd5b80639b6860c81161016f578063a3f8eace11610149578063a3f8eace146108ad578063b3ab66b0146108cd578063b88d4fde146108e0578063b9bbe00a1461090057600080fd5b80639b6860c814610857578063a0bcfc7f1461086d578063a22cb4651461088d57600080fd5b80638b83209b116101ab5780638b83209b146107ce5780638da5cb5b146107ee57806395d89b411461080c5780639852595c1461082157600080fd5b80638137b22e146107785780638a02e3b91461078e5780638a59a7fd146107ae57600080fd5b806348b75044116102ab5780636352211e1161024957806370a082311161022357806370a08231146106f7578063715018a614610717578063734c66bd1461072c5780637f16053a1461074257600080fd5b80636352211e146106a25780636c0360eb146106c25780636fef70ba146106d757600080fd5b80634fda7285116102855780634fda72851461063a57806359d20e611461065a5780635b2fda671461067a5780635be7fde81461068d57600080fd5b806348b75044146105e457806349e949e7146106045780634ef22ea91461062457600080fd5b806318160ddd116103185780632cefffa7116102f25780632cefffa7146105535780633a98ef3914610569578063406072a91461057e57806342842e0e146105c457600080fd5b806318160ddd146104f0578063191655871461051357806323b872dd1461053357600080fd5b8063081812fc11610354578063081812fc14610440578063093cf9fe14610478578063095ea7b3146104985780630c3f6acf146104b857600080fd5b8062eb7013146103c757806301ffc9a7146103e957806306fdde031461041e57600080fd5b366103c2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103d357600080fd5b506103e76103e23660046128e6565b610b8f565b005b3480156103f557600080fd5b50610409610404366004612915565b610b9c565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b50610433610bee565b6040516104159190612982565b34801561044c57600080fd5b5061046061045b3660046128e6565b610c80565b6040516001600160a01b039091168152602001610415565b34801561048457600080fd5b506103e7610493366004612995565b610cc4565b3480156104a457600080fd5b506103e76104b3366004612a26565b610f30565b3480156104c457600080fd5b50601354601554601454601954601a54601b54601c546040516104159760ff1696959493929190612a8a565b3480156104fc57600080fd5b50600254600154035b604051908152602001610415565b34801561051f57600080fd5b506103e761052e366004612ac8565b610fd0565b34801561053f57600080fd5b506103e761054e366004612ae5565b6110c9565b34801561055f57600080fd5b50610505601a5481565b34801561057557600080fd5b50600954610505565b34801561058a57600080fd5b50610505610599366004612b26565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156105d057600080fd5b506103e76105df366004612ae5565b611262565b3480156105f057600080fd5b506103e76105ff366004612b26565b61127d565b34801561061057600080fd5b506103e761061f3660046128e6565b6113a0565b34801561063057600080fd5b50610505601b5481565b34801561064657600080fd5b506103e76106553660046128e6565b6113ad565b34801561066657600080fd5b506103e76106753660046128e6565b6113ba565b6103e7610688366004612995565b6113c7565b34801561069957600080fd5b506103e76116ba565b3480156106ae57600080fd5b506104606106bd3660046128e6565b6116e8565b3480156106ce57600080fd5b506104336116f3565b3480156106e357600080fd5b506103e76106f23660046128e6565b611781565b34801561070357600080fd5b50610505610712366004612ac8565b61178e565b34801561072357600080fd5b506103e76117dd565b34801561073857600080fd5b5061050560145481565b34801561074e57600080fd5b5061050561075d366004612ac8565b6001600160a01b031660009081526018602052604090205490565b34801561078457600080fd5b5061050560195481565b34801561079a57600080fd5b506103e76107a93660046128e6565b6117f1565b3480156107ba57600080fd5b506105056107c9366004612ac8565b6117fe565b3480156107da57600080fd5b506104606107e93660046128e6565b611829565b3480156107fa57600080fd5b506000546001600160a01b0316610460565b34801561081857600080fd5b50610433611859565b34801561082d57600080fd5b5061050561083c366004612ac8565b6001600160a01b03166000908152600c602052604090205490565b34801561086357600080fd5b5061050560155481565b34801561087957600080fd5b506103e7610888366004612beb565b611868565b34801561089957600080fd5b506103e76108a8366004612c42565b611880565b3480156108b957600080fd5b506105056108c8366004612ac8565b611915565b6103e76108db3660046128e6565b61195d565b3480156108ec57600080fd5b506103e76108fb366004612c70565b611bc6565b34801561090c57600080fd5b5061050561091b366004612ac8565b60186020526000908152604090205481565b34801561093957600080fd5b50610505610948366004612b26565b611c0a565b34801561095957600080fd5b506104336109683660046128e6565b611cd5565b34801561097957600080fd5b506103e7611d5e565b34801561098e57600080fd5b5060135461099c9060ff1681565b6040516104159190612cf0565b3480156109b557600080fd5b506105056109c4366004612ac8565b6001600160a01b03166000908152600b602052604090205490565b3480156109eb57600080fd5b506105056109fa366004612ac8565b60166020526000908152604090205481565b348015610a1857600080fd5b50610505610a27366004612ac8565b6001600160a01b03166000908152600e602052604090205490565b348015610a4e57600080fd5b50600a54610505565b348015610a6357600080fd5b50610409610a72366004612b26565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610aac57600080fd5b50610505610abb366004612ac8565b6001600160a01b031660009081526016602052604090205490565b348015610ae257600080fd5b50610505601c5481565b348015610af857600080fd5b506103e7610b07366004612ac8565b611dc4565b348015610b1857600080fd5b506103e7610b273660046128e6565b611e3a565b348015610b3857600080fd5b50610505610b47366004612ac8565b60176020526000908152604090205481565b348015610b6557600080fd5b50610505610b74366004612ac8565b6001600160a01b031660009081526017602052604090205490565b610b97611e78565b601a55565b60006301ffc9a760e01b6001600160e01b031983161480610bcd57506380ac58cd60e01b6001600160e01b03198316145b80610be85750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060038054610bfd90612cfe565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2990612cfe565b8015610c765780601f10610c4b57610100808354040283529160200191610c76565b820191906000526020600020905b815481529060010190602001808311610c5957829003601f168201915b5050505050905090565b6000610c8b82611ed2565b610ca8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600160135460ff166005811115610cdd57610cdd612a52565b14610d265760405162461bcd60e51b81526020600482015260146024820152732b24a81026b4b73a1034b9903737ba1037b832b760611b60448201526064015b60405180910390fd5b605883610d366002546001540390565b610d409190612d4e565b1115610d8e5760405162461bcd60e51b815260206004820152601b60248201527f4d617820737570706c7920666f722056495020657863656564656400000000006044820152606401610d1d565b610e2482828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610e009050565b60405160208183030381529060405280519060200120611efa90919063ffffffff16565b6010546001600160a01b03908116911614610e815760405162461bcd60e51b815260206004820152601c60248201527f596f7520617265206e6f7420696e205649502077686974656c697374000000006044820152606401610d1d565b60195433600090815260176020526040902054610e9f908590612d4e565b1115610efc5760405162461bcd60e51b815260206004820152602660248201527f596f752063616e206f6e6c79206765742031204e4654206f6e20746865205649604482015265502053616c6560d01b6064820152608401610d1d565b3360009081526017602052604081208054859290610f1b908490612d4e565b90915550610f2b90503384611f1e565b505050565b6000610f3b826116e8565b9050336001600160a01b03821614610f7457610f578133610a72565b610f74576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b60205260409020546110055760405162461bcd60e51b8152600401610d1d90612d61565b600061101082611915565b9050806000036110325760405162461bcd60e51b8152600401610d1d90612da7565b6001600160a01b0382166000908152600c60205260408120805483929061105a908490612d4e565b9250508190555080600a60008282546110739190612d4e565b909155506110839050828261201c565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b60006110d482612135565b9050836001600160a01b0316816001600160a01b0316146111075760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417611154576111378633610a72565b61115457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661117b57604051633a954ecd60e21b815260040160405180910390fd5b801561118657600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003611218576001840160008181526005602052604081205490036112165760015481146112165760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610f2b83838360405180602001604052806000815250611bc6565b6001600160a01b0381166000908152600b60205260409020546112b25760405162461bcd60e51b8152600401610d1d90612d61565b60006112be8383611c0a565b9050806000036112e05760405162461bcd60e51b8152600401610d1d90612da7565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290611317908490612d4e565b90915550506001600160a01b0383166000908152600e602052604081208054839290611344908490612d4e565b90915550611355905083838361219c565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6113a8611e78565b601b55565b6113b5611e78565b601555565b6113c2611e78565b601455565b601454806114045760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610d1d565b600360135460ff16600581111561141d5761141d612a52565b1461145e5760405162461bcd60e51b81526020600482015260116024820152702ba61026b4b73a103737ba103634bb329760791b6044820152606401610d1d565b60c861146d6102586058612d4e565b6114779190612d4e565b846114856002546001540390565b61148f9190612d4e565b11156114e95760405162461bcd60e51b815260206004820152602360248201527f4d617820737570706c7920657863656564656420666f7220574c20657863656560448201526219195960ea1b6064820152608401610d1d565b6114f38482612df2565b3410156115355760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610d1d565b6115a783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610e009050565b6011546001600160a01b039081169116146116045760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420696e20574c2077686974656c69737400000000006044820152606401610d1d565b601a5433600090815260166020526040902054611622908690612d4e565b11156116855760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206f6e6c79206765742031204e4654206f6e2074686520576860448201526b6974656c6973742053616c6560a01b6064820152608401610d1d565b33600090815260166020526040812080548692906116a4908490612d4e565b909155506116b490503385611f1e565b50505050565b60005b601d548110156116e5576116d361052e82611829565b806116dd81612e09565b9150506116bd565b50565b6000610be882612135565b6012805461170090612cfe565b80601f016020809104026020016040519081016040528092919081815260200182805461172c90612cfe565b80156117795780601f1061174e57610100808354040283529160200191611779565b820191906000526020600020905b81548152906001019060200180831161175c57829003601f168201915b505050505081565b611789611e78565b601955565b60006001600160a01b0382166117b7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6117e5611e78565b6117ef60006121ee565b565b6117f9611e78565b601c55565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16610be8565b6000600d828154811061183e5761183e612e22565b6000918252602090912001546001600160a01b031692915050565b606060048054610bfd90612cfe565b611870611e78565b601261187c8282612e7e565b5050565b336001600160a01b038316036118a95760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080611921600a5490565b61192b9047612d4e565b90506119568382611951866001600160a01b03166000908152600c602052604090205490565b61223e565b9392505050565b6015548061199a5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610d1d565b601c548211156119ec5760405162461bcd60e51b815260206004820152601760248201527f4d617820616d6f756e74207065722074786e20697320320000000000000000006044820152606401610d1d565b600260135460ff166005811115611a0557611a05612a52565b14611a4a5760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610d1d565b611a576102586058612d4e565b82611a656002546001540390565b611a6f9190612d4e565b1115611acd5760405162461bcd60e51b815260206004820152602760248201527f4d617820737570706c7920657863656564656420666f72207075626c696320656044820152661e18d95959195960ca1b6064820152608401610d1d565b611ad78282612df2565b341015611b195760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610d1d565b601b5433600090815260186020526040902054611b37908490612d4e565b1115611b975760405162461bcd60e51b815260206004820152602960248201527f596f752063616e206f6e6c79206765742032204e4654206f6e20746865205075604482015268626c69632053616c6560b81b6064820152608401610d1d565b3360009081526018602052604081208054849290611bb6908490612d4e565b9091555061187c90503383611f1e565b611bd18484846110c9565b6001600160a01b0383163b156116b457611bed8484848461227c565b6116b4576040516368d2bf6b60e11b815260040160405180910390fd5b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611c69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8d9190612f3e565b611c979190612d4e565b6001600160a01b038086166000908152600f6020908152604080832093881683529290522054909150611ccd908490839061223e565b949350505050565b6060611ce082611ed2565b611d2c5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610d1d565b6012611d3783612367565b604051602001611d48929190612f57565b6040516020818303038152906040529050919050565b611d66611e78565b60025460015414611db95760405162461bcd60e51b815260206004820152601a60248201527f4f6e6c79206f6e65206d696e7420666f72206465706c6f7965720000000000006044820152606401610d1d565b6117ef336001611f1e565b611dcc611e78565b6001600160a01b038116611e315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d1d565b6116e5816121ee565b611e42611e78565b806005811115611e5457611e54612a52565b6013805460ff19166001836005811115611e7057611e70612a52565b021790555050565b6000546001600160a01b031633146117ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d1d565b600060015482108015610be8575050600090815260056020526040902054600160e01b161590565b6000806000611f0985856123b6565b91509150611f1681612424565b509392505050565b6001546000829003611f435760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611ff257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611fba565b508160000361201357604051622e076360e81b815260040160405180910390fd5b60015550505050565b8047101561206c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d1d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120b9576040519150601f19603f3d011682016040523d82523d6000602084013e6120be565b606091505b5050905080610f2b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d1d565b6000816001548110156121835760008181526005602052604081205490600160e01b82169003612181575b80600003611956575060001901600081815260056020526040902054612160565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f2b9084906125da565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b6020526040812054909183916122689086612df2565b6122729190612fee565b611ccd9190613010565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906122b1903390899088908890600401613023565b6020604051808303816000875af19250505080156122ec575060408051601f3d908101601f191682019092526122e991810190613060565b60015b61234a573d80801561231a576040519150601f19603f3d011682016040523d82523d6000602084013e61231f565b606091505b508051600003612342576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b80156123a457600183039250600a81066030018353600a9004612386565b50819003601f19909101908152919050565b60008082516041036123ec5760208301516040840151606085015160001a6123e0878285856126ac565b9450945050505061241d565b8251604003612415576020830151604084015161240a868383612799565b93509350505061241d565b506000905060025b9250929050565b600081600481111561243857612438612a52565b036124405750565b600181600481111561245457612454612a52565b036124a15760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610d1d565b60028160048111156124b5576124b5612a52565b036125025760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610d1d565b600381600481111561251657612516612a52565b0361256e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610d1d565b600481600481111561258257612582612a52565b036116e55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610d1d565b600061262f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127d29092919063ffffffff16565b805190915015610f2b578080602001905181019061264d919061307d565b610f2b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d1d565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156126e35750600090506003612790565b8460ff16601b141580156126fb57508460ff16601c14155b1561270c5750600090506004612790565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612760573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661278957600060019250925050612790565b9150600090505b94509492505050565b6000806001600160ff1b038316816127b660ff86901c601b612d4e565b90506127c4878288856126ac565b935093505050935093915050565b6060611ccd8484600085856001600160a01b0385163b6128345760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d1d565b600080866001600160a01b03168587604051612850919061309a565b60006040518083038185875af1925050503d806000811461288d576040519150601f19603f3d011682016040523d82523d6000602084013e612892565b606091505b50915091506128a28282866128ad565b979650505050505050565b606083156128bc575081611956565b8251156128cc5782518084602001fd5b8160405162461bcd60e51b8152600401610d1d9190612982565b6000602082840312156128f857600080fd5b5035919050565b6001600160e01b0319811681146116e557600080fd5b60006020828403121561292757600080fd5b8135611956816128ff565b60005b8381101561294d578181015183820152602001612935565b50506000910152565b6000815180845261296e816020860160208601612932565b601f01601f19169290920160200192915050565b6020815260006119566020830184612956565b6000806000604084860312156129aa57600080fd5b83359250602084013567ffffffffffffffff808211156129c957600080fd5b818601915086601f8301126129dd57600080fd5b8135818111156129ec57600080fd5b8760208285010111156129fe57600080fd5b6020830194508093505050509250925092565b6001600160a01b03811681146116e557600080fd5b60008060408385031215612a3957600080fd5b8235612a4481612a11565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b60068110612a8657634e487b7160e01b600052602160045260246000fd5b9052565b60e08101612a98828a612a68565b8760208301528660408301528560608301528460808301528360a08301528260c083015298975050505050505050565b600060208284031215612ada57600080fd5b813561195681612a11565b600080600060608486031215612afa57600080fd5b8335612b0581612a11565b92506020840135612b1581612a11565b929592945050506040919091013590565b60008060408385031215612b3957600080fd5b8235612b4481612a11565b91506020830135612b5481612a11565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612b9057612b90612b5f565b604051601f8501601f19908116603f01168101908282118183101715612bb857612bb8612b5f565b81604052809350858152868686011115612bd157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612bfd57600080fd5b813567ffffffffffffffff811115612c1457600080fd5b8201601f81018413612c2557600080fd5b611ccd84823560208401612b75565b80151581146116e557600080fd5b60008060408385031215612c5557600080fd5b8235612c6081612a11565b91506020830135612b5481612c34565b60008060008060808587031215612c8657600080fd5b8435612c9181612a11565b93506020850135612ca181612a11565b925060408501359150606085013567ffffffffffffffff811115612cc457600080fd5b8501601f81018713612cd557600080fd5b612ce487823560208401612b75565b91505092959194509250565b60208101610be88284612a68565b600181811c90821680612d1257607f821691505b602082108103612d3257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610be857610be8612d38565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b8082028115828204841417610be857610be8612d38565b600060018201612e1b57612e1b612d38565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610f2b57600081815260208120601f850160051c81016020861015612e5f5750805b601f850160051c820191505b8181101561125a57828155600101612e6b565b815167ffffffffffffffff811115612e9857612e98612b5f565b612eac81612ea68454612cfe565b84612e38565b602080601f831160018114612ee15760008415612ec95750858301515b600019600386901b1c1916600185901b17855561125a565b600085815260208120601f198616915b82811015612f1057888601518255948401946001909101908401612ef1565b5085821015612f2e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612f5057600080fd5b5051919050565b6000808454612f6581612cfe565b60018281168015612f7d5760018114612f9257612fc1565b60ff1984168752821515830287019450612fc1565b8860005260208060002060005b85811015612fb85781548a820152908401908201612f9f565b50505082870194505b505050508351612fd5818360208801612932565b64173539b7b760d91b9101908152600501949350505050565b60008261300b57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610be857610be8612d38565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061305690830184612956565b9695505050505050565b60006020828403121561307257600080fd5b8151611956816128ff565b60006020828403121561308f57600080fd5b815161195681612c34565b600082516130ac818460208701612932565b919091019291505056fea26469706673582212203f4266d53acfbe642cf3015a0c8db867a14725ac72209e595fd8507f9d1d430664736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000d88306b19a660836379dab1845624b3a879989170000000000000000000000006d5cffbcbef82b9e7e302a195ffdb282c188addb00000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000bb93e4bb4645c4d9edb9beea5c2d36b5453c4b1c000000000000000000000000cefdf1cc994a3d469708edbc816956b91a06c612000000000000000000000000541727265c0558ec0b39d3885584b48af450b1ff000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000fa000000000000000000000000000000000000000000000000000000000000025800000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569686464736a776e7371366a6b6d77366f6e376379616c78763633646a736d6e69346c6265687032693672793571683472697570612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103795760003560e01c80638137b22e116101d1578063c45ac05011610102578063e33b7de3116100a0578063f2fde38b1161006f578063f2fde38b14610aec578063f8dcbddb14610b0c578063f9d0dd7014610b2c578063fbe0315314610b5957600080fd5b8063e33b7de314610a42578063e985e9c514610a57578063ea90047514610aa0578063ee70c7cb14610ad657600080fd5b8063cbccefb2116100dc578063cbccefb214610982578063ce7c2ac2146109a9578063d0cd8e69146109df578063d79779b214610a0c57600080fd5b8063c45ac0501461092d578063c87b56dd1461094d578063c893575a1461096d57600080fd5b80639b6860c81161016f578063a3f8eace11610149578063a3f8eace146108ad578063b3ab66b0146108cd578063b88d4fde146108e0578063b9bbe00a1461090057600080fd5b80639b6860c814610857578063a0bcfc7f1461086d578063a22cb4651461088d57600080fd5b80638b83209b116101ab5780638b83209b146107ce5780638da5cb5b146107ee57806395d89b411461080c5780639852595c1461082157600080fd5b80638137b22e146107785780638a02e3b91461078e5780638a59a7fd146107ae57600080fd5b806348b75044116102ab5780636352211e1161024957806370a082311161022357806370a08231146106f7578063715018a614610717578063734c66bd1461072c5780637f16053a1461074257600080fd5b80636352211e146106a25780636c0360eb146106c25780636fef70ba146106d757600080fd5b80634fda7285116102855780634fda72851461063a57806359d20e611461065a5780635b2fda671461067a5780635be7fde81461068d57600080fd5b806348b75044146105e457806349e949e7146106045780634ef22ea91461062457600080fd5b806318160ddd116103185780632cefffa7116102f25780632cefffa7146105535780633a98ef3914610569578063406072a91461057e57806342842e0e146105c457600080fd5b806318160ddd146104f0578063191655871461051357806323b872dd1461053357600080fd5b8063081812fc11610354578063081812fc14610440578063093cf9fe14610478578063095ea7b3146104985780630c3f6acf146104b857600080fd5b8062eb7013146103c757806301ffc9a7146103e957806306fdde031461041e57600080fd5b366103c2577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b3480156103d357600080fd5b506103e76103e23660046128e6565b610b8f565b005b3480156103f557600080fd5b50610409610404366004612915565b610b9c565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b50610433610bee565b6040516104159190612982565b34801561044c57600080fd5b5061046061045b3660046128e6565b610c80565b6040516001600160a01b039091168152602001610415565b34801561048457600080fd5b506103e7610493366004612995565b610cc4565b3480156104a457600080fd5b506103e76104b3366004612a26565b610f30565b3480156104c457600080fd5b50601354601554601454601954601a54601b54601c546040516104159760ff1696959493929190612a8a565b3480156104fc57600080fd5b50600254600154035b604051908152602001610415565b34801561051f57600080fd5b506103e761052e366004612ac8565b610fd0565b34801561053f57600080fd5b506103e761054e366004612ae5565b6110c9565b34801561055f57600080fd5b50610505601a5481565b34801561057557600080fd5b50600954610505565b34801561058a57600080fd5b50610505610599366004612b26565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b3480156105d057600080fd5b506103e76105df366004612ae5565b611262565b3480156105f057600080fd5b506103e76105ff366004612b26565b61127d565b34801561061057600080fd5b506103e761061f3660046128e6565b6113a0565b34801561063057600080fd5b50610505601b5481565b34801561064657600080fd5b506103e76106553660046128e6565b6113ad565b34801561066657600080fd5b506103e76106753660046128e6565b6113ba565b6103e7610688366004612995565b6113c7565b34801561069957600080fd5b506103e76116ba565b3480156106ae57600080fd5b506104606106bd3660046128e6565b6116e8565b3480156106ce57600080fd5b506104336116f3565b3480156106e357600080fd5b506103e76106f23660046128e6565b611781565b34801561070357600080fd5b50610505610712366004612ac8565b61178e565b34801561072357600080fd5b506103e76117dd565b34801561073857600080fd5b5061050560145481565b34801561074e57600080fd5b5061050561075d366004612ac8565b6001600160a01b031660009081526018602052604090205490565b34801561078457600080fd5b5061050560195481565b34801561079a57600080fd5b506103e76107a93660046128e6565b6117f1565b3480156107ba57600080fd5b506105056107c9366004612ac8565b6117fe565b3480156107da57600080fd5b506104606107e93660046128e6565b611829565b3480156107fa57600080fd5b506000546001600160a01b0316610460565b34801561081857600080fd5b50610433611859565b34801561082d57600080fd5b5061050561083c366004612ac8565b6001600160a01b03166000908152600c602052604090205490565b34801561086357600080fd5b5061050560155481565b34801561087957600080fd5b506103e7610888366004612beb565b611868565b34801561089957600080fd5b506103e76108a8366004612c42565b611880565b3480156108b957600080fd5b506105056108c8366004612ac8565b611915565b6103e76108db3660046128e6565b61195d565b3480156108ec57600080fd5b506103e76108fb366004612c70565b611bc6565b34801561090c57600080fd5b5061050561091b366004612ac8565b60186020526000908152604090205481565b34801561093957600080fd5b50610505610948366004612b26565b611c0a565b34801561095957600080fd5b506104336109683660046128e6565b611cd5565b34801561097957600080fd5b506103e7611d5e565b34801561098e57600080fd5b5060135461099c9060ff1681565b6040516104159190612cf0565b3480156109b557600080fd5b506105056109c4366004612ac8565b6001600160a01b03166000908152600b602052604090205490565b3480156109eb57600080fd5b506105056109fa366004612ac8565b60166020526000908152604090205481565b348015610a1857600080fd5b50610505610a27366004612ac8565b6001600160a01b03166000908152600e602052604090205490565b348015610a4e57600080fd5b50600a54610505565b348015610a6357600080fd5b50610409610a72366004612b26565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610aac57600080fd5b50610505610abb366004612ac8565b6001600160a01b031660009081526016602052604090205490565b348015610ae257600080fd5b50610505601c5481565b348015610af857600080fd5b506103e7610b07366004612ac8565b611dc4565b348015610b1857600080fd5b506103e7610b273660046128e6565b611e3a565b348015610b3857600080fd5b50610505610b47366004612ac8565b60176020526000908152604090205481565b348015610b6557600080fd5b50610505610b74366004612ac8565b6001600160a01b031660009081526017602052604090205490565b610b97611e78565b601a55565b60006301ffc9a760e01b6001600160e01b031983161480610bcd57506380ac58cd60e01b6001600160e01b03198316145b80610be85750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060038054610bfd90612cfe565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2990612cfe565b8015610c765780601f10610c4b57610100808354040283529160200191610c76565b820191906000526020600020905b815481529060010190602001808311610c5957829003601f168201915b5050505050905090565b6000610c8b82611ed2565b610ca8576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600160135460ff166005811115610cdd57610cdd612a52565b14610d265760405162461bcd60e51b81526020600482015260146024820152732b24a81026b4b73a1034b9903737ba1037b832b760611b60448201526064015b60405180910390fd5b605883610d366002546001540390565b610d409190612d4e565b1115610d8e5760405162461bcd60e51b815260206004820152601b60248201527f4d617820737570706c7920666f722056495020657863656564656400000000006044820152606401610d1d565b610e2482828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610e009050565b60405160208183030381529060405280519060200120611efa90919063ffffffff16565b6010546001600160a01b03908116911614610e815760405162461bcd60e51b815260206004820152601c60248201527f596f7520617265206e6f7420696e205649502077686974656c697374000000006044820152606401610d1d565b60195433600090815260176020526040902054610e9f908590612d4e565b1115610efc5760405162461bcd60e51b815260206004820152602660248201527f596f752063616e206f6e6c79206765742031204e4654206f6e20746865205649604482015265502053616c6560d01b6064820152608401610d1d565b3360009081526017602052604081208054859290610f1b908490612d4e565b90915550610f2b90503384611f1e565b505050565b6000610f3b826116e8565b9050336001600160a01b03821614610f7457610f578133610a72565b610f74576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b60205260409020546110055760405162461bcd60e51b8152600401610d1d90612d61565b600061101082611915565b9050806000036110325760405162461bcd60e51b8152600401610d1d90612da7565b6001600160a01b0382166000908152600c60205260408120805483929061105a908490612d4e565b9250508190555080600a60008282546110739190612d4e565b909155506110839050828261201c565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b60006110d482612135565b9050836001600160a01b0316816001600160a01b0316146111075760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417611154576111378633610a72565b61115457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661117b57604051633a954ecd60e21b815260040160405180910390fd5b801561118657600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003611218576001840160008181526005602052604081205490036112165760015481146112165760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610f2b83838360405180602001604052806000815250611bc6565b6001600160a01b0381166000908152600b60205260409020546112b25760405162461bcd60e51b8152600401610d1d90612d61565b60006112be8383611c0a565b9050806000036112e05760405162461bcd60e51b8152600401610d1d90612da7565b6001600160a01b038084166000908152600f6020908152604080832093861683529290529081208054839290611317908490612d4e565b90915550506001600160a01b0383166000908152600e602052604081208054839290611344908490612d4e565b90915550611355905083838361219c565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6113a8611e78565b601b55565b6113b5611e78565b601555565b6113c2611e78565b601455565b601454806114045760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610d1d565b600360135460ff16600581111561141d5761141d612a52565b1461145e5760405162461bcd60e51b81526020600482015260116024820152702ba61026b4b73a103737ba103634bb329760791b6044820152606401610d1d565b60c861146d6102586058612d4e565b6114779190612d4e565b846114856002546001540390565b61148f9190612d4e565b11156114e95760405162461bcd60e51b815260206004820152602360248201527f4d617820737570706c7920657863656564656420666f7220574c20657863656560448201526219195960ea1b6064820152608401610d1d565b6114f38482612df2565b3410156115355760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610d1d565b6115a783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c019150610e009050565b6011546001600160a01b039081169116146116045760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420696e20574c2077686974656c69737400000000006044820152606401610d1d565b601a5433600090815260166020526040902054611622908690612d4e565b11156116855760405162461bcd60e51b815260206004820152602c60248201527f596f752063616e206f6e6c79206765742031204e4654206f6e2074686520576860448201526b6974656c6973742053616c6560a01b6064820152608401610d1d565b33600090815260166020526040812080548692906116a4908490612d4e565b909155506116b490503385611f1e565b50505050565b60005b601d548110156116e5576116d361052e82611829565b806116dd81612e09565b9150506116bd565b50565b6000610be882612135565b6012805461170090612cfe565b80601f016020809104026020016040519081016040528092919081815260200182805461172c90612cfe565b80156117795780601f1061174e57610100808354040283529160200191611779565b820191906000526020600020905b81548152906001019060200180831161175c57829003601f168201915b505050505081565b611789611e78565b601955565b60006001600160a01b0382166117b7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6117e5611e78565b6117ef60006121ee565b565b6117f9611e78565b601c55565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c16610be8565b6000600d828154811061183e5761183e612e22565b6000918252602090912001546001600160a01b031692915050565b606060048054610bfd90612cfe565b611870611e78565b601261187c8282612e7e565b5050565b336001600160a01b038316036118a95760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600080611921600a5490565b61192b9047612d4e565b90506119568382611951866001600160a01b03166000908152600c602052604090205490565b61223e565b9392505050565b6015548061199a5760405162461bcd60e51b815260206004820152600a6024820152690507269636520697320360b41b6044820152606401610d1d565b601c548211156119ec5760405162461bcd60e51b815260206004820152601760248201527f4d617820616d6f756e74207065722074786e20697320320000000000000000006044820152606401610d1d565b600260135460ff166005811115611a0557611a05612a52565b14611a4a5760405162461bcd60e51b8152602060048201526015602482015274283ab13634b19026b4b73a103737ba103634bb329760591b6044820152606401610d1d565b611a576102586058612d4e565b82611a656002546001540390565b611a6f9190612d4e565b1115611acd5760405162461bcd60e51b815260206004820152602760248201527f4d617820737570706c7920657863656564656420666f72207075626c696320656044820152661e18d95959195960ca1b6064820152608401610d1d565b611ad78282612df2565b341015611b195760405162461bcd60e51b815260206004820152601060248201526f4e6f7420656e6f7567682066756e647360801b6044820152606401610d1d565b601b5433600090815260186020526040902054611b37908490612d4e565b1115611b975760405162461bcd60e51b815260206004820152602960248201527f596f752063616e206f6e6c79206765742032204e4654206f6e20746865205075604482015268626c69632053616c6560b81b6064820152608401610d1d565b3360009081526018602052604081208054849290611bb6908490612d4e565b9091555061187c90503383611f1e565b611bd18484846110c9565b6001600160a01b0383163b156116b457611bed8484848461227c565b6116b4576040516368d2bf6b60e11b815260040160405180910390fd5b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611c69573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8d9190612f3e565b611c979190612d4e565b6001600160a01b038086166000908152600f6020908152604080832093881683529290522054909150611ccd908490839061223e565b949350505050565b6060611ce082611ed2565b611d2c5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610d1d565b6012611d3783612367565b604051602001611d48929190612f57565b6040516020818303038152906040529050919050565b611d66611e78565b60025460015414611db95760405162461bcd60e51b815260206004820152601a60248201527f4f6e6c79206f6e65206d696e7420666f72206465706c6f7965720000000000006044820152606401610d1d565b6117ef336001611f1e565b611dcc611e78565b6001600160a01b038116611e315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d1d565b6116e5816121ee565b611e42611e78565b806005811115611e5457611e54612a52565b6013805460ff19166001836005811115611e7057611e70612a52565b021790555050565b6000546001600160a01b031633146117ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d1d565b600060015482108015610be8575050600090815260056020526040902054600160e01b161590565b6000806000611f0985856123b6565b91509150611f1681612424565b509392505050565b6001546000829003611f435760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611ff257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611fba565b508160000361201357604051622e076360e81b815260040160405180910390fd5b60015550505050565b8047101561206c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610d1d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146120b9576040519150601f19603f3d011682016040523d82523d6000602084013e6120be565b606091505b5050905080610f2b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610d1d565b6000816001548110156121835760008181526005602052604081205490600160e01b82169003612181575b80600003611956575060001901600081815260056020526040902054612160565b505b604051636f96cda160e11b815260040160405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f2b9084906125da565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b6020526040812054909183916122689086612df2565b6122729190612fee565b611ccd9190613010565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906122b1903390899088908890600401613023565b6020604051808303816000875af19250505080156122ec575060408051601f3d908101601f191682019092526122e991810190613060565b60015b61234a573d80801561231a576040519150601f19603f3d011682016040523d82523d6000602084013e61231f565b606091505b508051600003612342576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b604080516080810191829052607f0190826030600a8206018353600a90045b80156123a457600183039250600a81066030018353600a9004612386565b50819003601f19909101908152919050565b60008082516041036123ec5760208301516040840151606085015160001a6123e0878285856126ac565b9450945050505061241d565b8251604003612415576020830151604084015161240a868383612799565b93509350505061241d565b506000905060025b9250929050565b600081600481111561243857612438612a52565b036124405750565b600181600481111561245457612454612a52565b036124a15760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610d1d565b60028160048111156124b5576124b5612a52565b036125025760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610d1d565b600381600481111561251657612516612a52565b0361256e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610d1d565b600481600481111561258257612582612a52565b036116e55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610d1d565b600061262f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166127d29092919063ffffffff16565b805190915015610f2b578080602001905181019061264d919061307d565b610f2b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d1d565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156126e35750600090506003612790565b8460ff16601b141580156126fb57508460ff16601c14155b1561270c5750600090506004612790565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612760573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661278957600060019250925050612790565b9150600090505b94509492505050565b6000806001600160ff1b038316816127b660ff86901c601b612d4e565b90506127c4878288856126ac565b935093505050935093915050565b6060611ccd8484600085856001600160a01b0385163b6128345760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d1d565b600080866001600160a01b03168587604051612850919061309a565b60006040518083038185875af1925050503d806000811461288d576040519150601f19603f3d011682016040523d82523d6000602084013e612892565b606091505b50915091506128a28282866128ad565b979650505050505050565b606083156128bc575081611956565b8251156128cc5782518084602001fd5b8160405162461bcd60e51b8152600401610d1d9190612982565b6000602082840312156128f857600080fd5b5035919050565b6001600160e01b0319811681146116e557600080fd5b60006020828403121561292757600080fd5b8135611956816128ff565b60005b8381101561294d578181015183820152602001612935565b50506000910152565b6000815180845261296e816020860160208601612932565b601f01601f19169290920160200192915050565b6020815260006119566020830184612956565b6000806000604084860312156129aa57600080fd5b83359250602084013567ffffffffffffffff808211156129c957600080fd5b818601915086601f8301126129dd57600080fd5b8135818111156129ec57600080fd5b8760208285010111156129fe57600080fd5b6020830194508093505050509250925092565b6001600160a01b03811681146116e557600080fd5b60008060408385031215612a3957600080fd5b8235612a4481612a11565b946020939093013593505050565b634e487b7160e01b600052602160045260246000fd5b60068110612a8657634e487b7160e01b600052602160045260246000fd5b9052565b60e08101612a98828a612a68565b8760208301528660408301528560608301528460808301528360a08301528260c083015298975050505050505050565b600060208284031215612ada57600080fd5b813561195681612a11565b600080600060608486031215612afa57600080fd5b8335612b0581612a11565b92506020840135612b1581612a11565b929592945050506040919091013590565b60008060408385031215612b3957600080fd5b8235612b4481612a11565b91506020830135612b5481612a11565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612b9057612b90612b5f565b604051601f8501601f19908116603f01168101908282118183101715612bb857612bb8612b5f565b81604052809350858152868686011115612bd157600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612bfd57600080fd5b813567ffffffffffffffff811115612c1457600080fd5b8201601f81018413612c2557600080fd5b611ccd84823560208401612b75565b80151581146116e557600080fd5b60008060408385031215612c5557600080fd5b8235612c6081612a11565b91506020830135612b5481612c34565b60008060008060808587031215612c8657600080fd5b8435612c9181612a11565b93506020850135612ca181612a11565b925060408501359150606085013567ffffffffffffffff811115612cc457600080fd5b8501601f81018713612cd557600080fd5b612ce487823560208401612b75565b91505092959194509250565b60208101610be88284612a68565b600181811c90821680612d1257607f821691505b602082108103612d3257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610be857610be8612d38565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b8082028115828204841417610be857610be8612d38565b600060018201612e1b57612e1b612d38565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610f2b57600081815260208120601f850160051c81016020861015612e5f5750805b601f850160051c820191505b8181101561125a57828155600101612e6b565b815167ffffffffffffffff811115612e9857612e98612b5f565b612eac81612ea68454612cfe565b84612e38565b602080601f831160018114612ee15760008415612ec95750858301515b600019600386901b1c1916600185901b17855561125a565b600085815260208120601f198616915b82811015612f1057888601518255948401946001909101908401612ef1565b5085821015612f2e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612f5057600080fd5b5051919050565b6000808454612f6581612cfe565b60018281168015612f7d5760018114612f9257612fc1565b60ff1984168752821515830287019450612fc1565b8860005260208060002060005b85811015612fb85781548a820152908401908201612f9f565b50505082870194505b505050508351612fd5818360208801612932565b64173539b7b760d91b9101908152600501949350505050565b60008261300b57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115610be857610be8612d38565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061305690830184612956565b9695505050505050565b60006020828403121561307257600080fd5b8151611956816128ff565b60006020828403121561308f57600080fd5b815161195681612c34565b600082516130ac818460208701612932565b919091019291505056fea26469706673582212203f4266d53acfbe642cf3015a0c8db867a14725ac72209e595fd8507f9d1d430664736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000d88306b19a660836379dab1845624b3a879989170000000000000000000000006d5cffbcbef82b9e7e302a195ffdb282c188addb00000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000003000000000000000000000000bb93e4bb4645c4d9edb9beea5c2d36b5453c4b1c000000000000000000000000cefdf1cc994a3d469708edbc816956b91a06c612000000000000000000000000541727265c0558ec0b39d3885584b48af450b1ff000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000fa000000000000000000000000000000000000000000000000000000000000025800000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569686464736a776e7371366a6b6d77366f6e376379616c78763633646a736d6e69346c6265687032693672793571683472697570612f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _team (address[]): 0xBb93E4bB4645C4d9Edb9bEEA5C2D36B5453c4B1c,0xCeFDF1cC994a3d469708edbc816956b91A06c612,0x541727265c0558Ec0B39D3885584B48aF450B1fF
Arg [1] : _teamShares (uint256[]): 250,600,150
Arg [2] : _signerAddressVIP (address): 0xd88306B19A660836379dAb1845624b3a87998917
Arg [3] : _signerAddressWL (address): 0x6d5cffBcbeF82B9E7E302A195fFDb282C188AddB
Arg [4] : _baseURI (string): ipfs://bafybeihddsjwnsq6jkmw6on7cyalxv63djsmni4lbehp2i6ry5qh4riupa/
-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 000000000000000000000000d88306b19a660836379dab1845624b3a87998917
Arg [3] : 0000000000000000000000006d5cffbcbef82b9e7e302a195ffdb282c188addb
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 000000000000000000000000bb93e4bb4645c4d9edb9beea5c2d36b5453c4b1c
Arg [7] : 000000000000000000000000cefdf1cc994a3d469708edbc816956b91a06c612
Arg [8] : 000000000000000000000000541727265c0558ec0b39d3885584b48af450b1ff
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 00000000000000000000000000000000000000000000000000000000000000fa
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000258
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [14] : 697066733a2f2f62616679626569686464736a776e7371366a6b6d77366f6e37
Arg [15] : 6379616c78763633646a736d6e69346c62656870326936727935716834726975
Arg [16] : 70612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
89915:6423:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43025:40;10285:10;43025:40;;;-1:-1:-1;;;;;206:32:1;;;188:51;;43055:9:0;270:2:1;255:18;;248:34;161:18;43025:40:0;;;;;;;89915:6423;;;;;94987:116;;;;;;;;;;-1:-1:-1;94987:116:0;;;;;:::i;:::-;;:::i;:::-;;57103:639;;;;;;;;;;-1:-1:-1;57103:639:0;;;;;:::i;:::-;;:::i;:::-;;;1029:14:1;;1022:22;1004:41;;992:2;977:18;57103:639:0;;;;;;;;58005:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;64488:218::-;;;;;;;;;;-1:-1:-1;64488:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1976:32:1;;;1958:51;;1946:2;1931:18;64488:218:0;1812:203:1;91537:834:0;;;;;;;;;;-1:-1:-1;91537:834:0;;;;;:::i;:::-;;:::i;63929:400::-;;;;;;;;;;-1:-1:-1;63929:400:0;;;;;:::i;:::-;;:::i;94169:253::-;;;;;;;;;;-1:-1:-1;94277:11:0;;94290:15;;94307:11;;94320:19;;94341:25;;94368:22;;94392:21;;94169:253;;;;94277:11;;;94290:15;94307:11;94320:19;94341:25;94368:22;94392:21;94169:253;:::i;53756:323::-;;;;;;;;;;-1:-1:-1;54030:12:0;;54014:13;;:28;53756:323;;;4288:25:1;;;4276:2;4261:18;53756:323:0;4142:177:1;45546:453:0;;;;;;;;;;-1:-1:-1;45546:453:0;;;;;:::i;:::-;;:::i;68195:2817::-;;;;;;;;;;-1:-1:-1;68195:2817:0;;;;;:::i;:::-;;:::i;90811:41::-;;;;;;;;;;;;;;;;43156:91;;;;;;;;;;-1:-1:-1;43227:12:0;;43156:91;;44285:135;;;;;;;;;;-1:-1:-1;44285:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;44382:21:0;;;44355:7;44382:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;44285:135;71108:185;;;;;;;;;;-1:-1:-1;71108:185:0;;;;;:::i;:::-;;:::i;46267:514::-;;;;;;;;;;-1:-1:-1;46267:514:0;;;;;:::i;:::-;;:::i;95111:110::-;;;;;;;;;;-1:-1:-1;95111:110:0;;;;;:::i;:::-;;:::i;90860:38::-;;;;;;;;;;;;;;;;94544:114;;;;;;;;;;-1:-1:-1;94544:114:0;;;;;:::i;:::-;;:::i;94430:106::-;;;;;;;;;;-1:-1:-1;94430:106:0;;;;;:::i;:::-;;:::i;93165:996::-;;;;;;:::i;:::-;;:::i;96194:141::-;;;;;;;;;;;;;:::i;59398:152::-;;;;;;;;;;-1:-1:-1;59398:152:0;;;;;:::i;:::-;;:::i;90261:21::-;;;;;;;;;;;;;:::i;94874:105::-;;;;;;;;;;-1:-1:-1;94874:105:0;;;;;:::i;:::-;;:::i;54940:233::-;;;;;;;;;;-1:-1:-1;54940:233:0;;;;;:::i;:::-;;:::i;31028:103::-;;;;;;;;;;;;;:::i;90452:36::-;;;;;;;;;;;;;;;;95781:150;;;;;;;;;;-1:-1:-1;95781:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;95879:44:0;95852:7;95879:44;;;:35;:44;;;;;;;95781:150;90769:35;;;;;;;;;;;;;;;;95229:105;;;;;;;;;;-1:-1:-1;95229:105:0;;;;;:::i;:::-;;:::i;95342:122::-;;;;;;;;;;-1:-1:-1;95342:122:0;;;;;:::i;:::-;;:::i;44511:100::-;;;;;;;;;;-1:-1:-1;44511:100:0;;;;;:::i;:::-;;:::i;30380:87::-;;;;;;;;;;-1:-1:-1;30426:7:0;30453:6;-1:-1:-1;;;;;30453:6:0;30380:87;;58181:104;;;;;;;;;;;;;:::i;44007:109::-;;;;;;;;;;-1:-1:-1;44007:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;44090:18:0;44063:7;44090:18;;;:9;:18;;;;;;;44007:109;90495:41;;;;;;;;;;;;;;;;94666:100;;;;;;;;;;-1:-1:-1;94666:100:0;;;;;:::i;:::-;;:::i;65046:308::-;;;;;;;;;;-1:-1:-1;65046:308:0;;;;;:::i;:::-;;:::i;44701:225::-;;;;;;;;;;-1:-1:-1;44701:225:0;;;;;:::i;:::-;;:::i;92379:778::-;;;;;;:::i;:::-;;:::i;71891:399::-;;;;;;;;;;-1:-1:-1;71891:399:0;;;;;:::i;:::-;;:::i;90693:67::-;;;;;;;;;;-1:-1:-1;90693:67:0;;;;;:::i;:::-;;;;;;;;;;;;;;45086:260;;;;;;;;;;-1:-1:-1;45086:260:0;;;;;:::i;:::-;;:::i;95939:247::-;;;;;;;;;;-1:-1:-1;95939:247:0;;;;;:::i;:::-;;:::i;91376:153::-;;;;;;;;;;;;;:::i;90291:23::-;;;;;;;;;;-1:-1:-1;90291:23:0;;;;;;;;;;;;;;;:::i;43803:105::-;;;;;;;;;;-1:-1:-1;43803:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;43884:16:0;43857:7;43884:16;;;:7;:16;;;;;;;43803:105;90545:70;;;;;;;;;;-1:-1:-1;90545:70:0;;;;;:::i;:::-;;;;;;;;;;;;;;43593:119;;;;;;;;;;-1:-1:-1;43593:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;43678:26:0;43651:7;43678:26;;;:19;:26;;;;;;;43593:119;43341:95;;;;;;;;;;-1:-1:-1;43414:14:0;;43341:95;;65511:164;;;;;;;;;;-1:-1:-1;65511:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;65632:25:0;;;65608:4;65632:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;65511:164;95472:149;;;;;;;;;;-1:-1:-1;95472:149:0;;;;;:::i;:::-;-1:-1:-1;;;;;95566:47:0;95539:7;95566:47;;;:38;:47;;;;;;;95472:149;90906:37;;;;;;;;;;;;;;;;31286:201;;;;;;;;;;-1:-1:-1;31286:201:0;;;;;:::i;:::-;;:::i;94774:92::-;;;;;;;;;;-1:-1:-1;94774:92:0;;;;;:::i;:::-;;:::i;90622:64::-;;;;;;;;;;-1:-1:-1;90622:64:0;;;;;:::i;:::-;;;;;;;;;;;;;;95629:144;;;;;;;;;;-1:-1:-1;95629:144:0;;;;;:::i;:::-;-1:-1:-1;;;;;95724:41:0;95697:7;95724:41;;;:32;:41;;;;;;;95629:144;94987:116;30266:13;:11;:13::i;:::-;95061:25:::1;:34:::0;94987:116::o;57103:639::-;57188:4;-1:-1:-1;;;;;;;;;57512:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;57589:25:0;;;57512:102;:179;;;-1:-1:-1;;;;;;;;;;57666:25:0;;;57512:179;57492:199;57103:639;-1:-1:-1;;57103:639:0:o;58005:100::-;58059:13;58092:5;58085:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58005:100;:::o;64488:218::-;64564:7;64589:16;64597:7;64589;:16::i;:::-;64584:64;;64614:34;;-1:-1:-1;;;64614:34:0;;;;;;;;;;;64584:64;-1:-1:-1;64668:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;64668:30:0;;64488:218::o;91537:834::-;91634:12;91619:11;;;;:27;;;;;;;;:::i;:::-;;91616:62;;91648:30;;-1:-1:-1;;;91648:30:0;;9688:2:1;91648:30:0;;;9670:21:1;9727:2;9707:18;;;9700:30;-1:-1:-1;;;9746:18:1;;;9739:50;9806:18;;91648:30:0;;;;;;;;91616:62;90400:2;91708:9;91692:13;54030:12;;54014:13;;:28;;53756:323;91692:13;:25;;;;:::i;:::-;:35;91689:77;;;91729:37;;-1:-1:-1;;;91729:37:0;;10299:2:1;91729:37:0;;;10281:21:1;10338:2;10318:18;;;10311:30;10377:29;10357:18;;;10350:57;10424:18;;91729:37:0;10097:351:1;91689:77:0;91800:194;91984:9;;91800:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;91824:140:0;;10695:66:1;91824:140:0;;;10683:79:1;91936:10:0;10778:12:1;;;10771:28;10815:12;;;-1:-1:-1;91824:140:0;;-1:-1:-1;10453:380:1;91824:140:0;;;;;;;;;;;;;91800:175;;;;;;:183;;:194;;;;:::i;:::-;91780:16;;-1:-1:-1;;;;;91780:16:0;;;:214;;;91777:257;;91996:38;;-1:-1:-1;;;91996:38:0;;11040:2:1;91996:38:0;;;11022:21:1;11079:2;11059:18;;;11052:30;11118;11098:18;;;11091:58;11166:18;;91996:38:0;10838:352:1;91777:257:0;92107:19;;92081:10;92048:44;;;;:32;:44;;;;;;:56;;92095:9;;92048:56;:::i;:::-;:78;92045:131;;;92128:48;;-1:-1:-1;;;92128:48:0;;11397:2:1;92128:48:0;;;11379:21:1;11436:2;11416:18;;;11409:30;11475:34;11455:18;;;11448:62;-1:-1:-1;;;11526:18:1;;;11519:36;11572:19;;92128:48:0;11195:402:1;92045:131:0;92234:10;92201:44;;;;:32;:44;;;;;:57;;92249:9;;92201:44;:57;;92249:9;;92201:57;:::i;:::-;;;;-1:-1:-1;92335:28:0;;-1:-1:-1;92341:10:0;92353:9;92335:5;:28::i;:::-;91537:834;;;:::o;63929:400::-;64010:13;64026:16;64034:7;64026;:16::i;:::-;64010:32;-1:-1:-1;10285:10:0;-1:-1:-1;;;;;64059:28:0;;;64055:175;;64107:44;64124:5;10285:10;65511:164;:::i;64107:44::-;64102:128;;64179:35;;-1:-1:-1;;;64179:35:0;;;;;;;;;;;64102:128;64242:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;64242:35:0;-1:-1:-1;;;;;64242:35:0;;;;;;;;;64293:28;;64242:24;;64293:28;;;;;;;63999:330;63929:400;;:::o;45546:453::-;-1:-1:-1;;;;;45622:16:0;;45641:1;45622:16;;;:7;:16;;;;;;45614:71;;;;-1:-1:-1;;;45614:71:0;;;;;;;:::i;:::-;45698:15;45716:19;45727:7;45716:10;:19::i;:::-;45698:37;;45756:7;45767:1;45756:12;45748:68;;;;-1:-1:-1;;;45748:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45829:18:0;;;;;;:9;:18;;;;;:29;;45851:7;;45829:18;:29;;45851:7;;45829:29;:::i;:::-;;;;;;;;45887:7;45869:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;45907:35:0;;-1:-1:-1;45925:7:0;45934;45907:17;:35::i;:::-;45958:33;;;-1:-1:-1;;;;;206:32:1;;188:51;;270:2;255:18;;248:34;;;45958:33:0;;161:18:1;45958:33:0;;;;;;;45603:396;45546:453;:::o;68195:2817::-;68329:27;68359;68378:7;68359:18;:27::i;:::-;68329:57;;68444:4;-1:-1:-1;;;;;68403:45:0;68419:19;-1:-1:-1;;;;;68403:45:0;;68399:86;;68457:28;;-1:-1:-1;;;68457:28:0;;;;;;;;;;;68399:86;68499:27;67309:24;;;:15;:24;;;;;67531:26;;10285:10;66934:30;;;-1:-1:-1;;;;;66627:28:0;;66912:20;;;66909:56;68685:180;;68778:43;68795:4;10285:10;65511:164;:::i;68778:43::-;68773:92;;68830:35;;-1:-1:-1;;;68830:35:0;;;;;;;;;;;68773:92;-1:-1:-1;;;;;68882:16:0;;68878:52;;68907:23;;-1:-1:-1;;;68907:23:0;;;;;;;;;;;68878:52;69079:15;69076:160;;;69219:1;69198:19;69191:30;69076:160;-1:-1:-1;;;;;69616:24:0;;;;;;;:18;:24;;;;;;69614:26;;-1:-1:-1;;69614:26:0;;;69685:22;;;;;;;;;69683:24;;-1:-1:-1;69683:24:0;;;62787:11;62762:23;62758:41;62745:63;-1:-1:-1;;;62745:63:0;69978:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;70273:47:0;;:52;;70269:627;;70378:1;70368:11;;70346:19;70501:30;;;:17;:30;;;;;;:35;;70497:384;;70639:13;;70624:11;:28;70620:242;;70786:30;;;;:17;:30;;;;;:52;;;70620:242;70327:569;70269:627;70943:7;70939:2;-1:-1:-1;;;;;70924:27:0;70933:4;-1:-1:-1;;;;;70924:27:0;;;;;;;;;;;70962:42;68318:2694;;;68195:2817;;;:::o;71108:185::-;71246:39;71263:4;71269:2;71273:7;71246:39;;;;;;;;;;;;:16;:39::i;46267:514::-;-1:-1:-1;;;;;46349:16:0;;46368:1;46349:16;;;:7;:16;;;;;;46341:71;;;;-1:-1:-1;;;46341:71:0;;;;;;;:::i;:::-;46425:15;46443:26;46454:5;46461:7;46443:10;:26::i;:::-;46425:44;;46490:7;46501:1;46490:12;46482:68;;;;-1:-1:-1;;;46482:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;46563:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;;;:41;;46597:7;;46563:21;:41;;46597:7;;46563:41;:::i;:::-;;;;-1:-1:-1;;;;;;;46615:26:0;;;;;;:19;:26;;;;;:37;;46645:7;;46615:26;:37;;46645:7;;46615:37;:::i;:::-;;;;-1:-1:-1;46665:47:0;;-1:-1:-1;46688:5:0;46695:7;46704;46665:22;:47::i;:::-;46728:45;;;-1:-1:-1;;;;;206:32:1;;;188:51;;270:2;255:18;;248:34;;;46728:45:0;;;;;161:18:1;46728:45:0;;;;;;;46330:451;46267:514;;:::o;95111:110::-;30266:13;:11;:13::i;:::-;95182:22:::1;:31:::0;95111:110::o;94544:114::-;30266:13;:11;:13::i;:::-;94623:15:::1;:27:::0;94544:114::o;94430:106::-;30266:13;:11;:13::i;:::-;94505:11:::1;:23:::0;94430:106::o;93165:996::-;93264:11;;93289:10;93286:35;;93301:20;;-1:-1:-1;;;93301:20:0;;12910:2:1;93301:20:0;;;12892:21:1;12949:2;12929:18;;;12922:30;-1:-1:-1;;;12968:18:1;;;12961:40;13018:18;;93301:20:0;12708:334:1;93286:35:0;93352:18;93337:11;;;;:33;;;;;;;;:::i;:::-;;93334:65;;93372:27;;-1:-1:-1;;;93372:27:0;;13249:2:1;93372:27:0;;;13231:21:1;13288:2;13268:18;;;13261:30;-1:-1:-1;;;13307:18:1;;;13300:47;13364:18;;93372:27:0;13047:341:1;93334:65:0;90440:3;93442:20;90358:3;90400:2;93442:20;:::i;:::-;:29;;;;:::i;:::-;93429:9;93413:13;54030:12;;54014:13;;:28;;53756:323;93413:13;:25;;;;:::i;:::-;:59;93410:109;;;93474:45;;-1:-1:-1;;;93474:45:0;;13595:2:1;93474:45:0;;;13577:21:1;13634:2;13614:18;;;13607:30;13673:34;13653:18;;;13646:62;-1:-1:-1;;;13724:18:1;;;13717:33;13767:19;;93474:45:0;13393:399:1;93410:109:0;93545:17;93553:9;93545:5;:17;:::i;:::-;93533:9;:29;93530:60;;;93564:26;;-1:-1:-1;;;93564:26:0;;14172:2:1;93564:26:0;;;14154:21:1;14211:2;14191:18;;;14184:30;-1:-1:-1;;;14230:18:1;;;14223:46;14286:18;;93564:26:0;13970:340:1;93530:60:0;93633:194;93817:9;;93633:194;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;93657:140:0;;10695:66:1;93657:140:0;;;10683:79:1;93769:10:0;10778:12:1;;;10771:28;10815:12;;;-1:-1:-1;93657:140:0;;-1:-1:-1;10453:380:1;93633:194:0;93614:15;;-1:-1:-1;;;;;93614:15:0;;;:213;;;93611:255;;93829:37;;-1:-1:-1;;;93829:37:0;;14517:2:1;93829:37:0;;;14499:21:1;14556:2;14536:18;;;14529:30;14595:29;14575:18;;;14568:57;14642:18;;93829:37:0;14315:351:1;93611:255:0;93945:25;;93919:10;93880:50;;;;:38;:50;;;;;;:62;;93933:9;;93880:62;:::i;:::-;:90;93877:149;;;93972:54;;-1:-1:-1;;;93972:54:0;;14873:2:1;93972:54:0;;;14855:21:1;14912:2;14892:18;;;14885:30;14951:34;14931:18;;;14924:62;-1:-1:-1;;;15002:18:1;;;14995:42;15054:19;;93972:54:0;14671:408:1;93877:149:0;94090:10;94051:50;;;;:38;:50;;;;;:63;;94105:9;;94051:50;:63;;94105:9;;94051:63;:::i;:::-;;;;-1:-1:-1;94125:28:0;;-1:-1:-1;94131:10:0;94143:9;94125:5;:28::i;:::-;93240:921;93165:996;;;:::o;96194:141::-;96240:6;96236:92;96257:10;;96253:1;:14;96236:92;;;96290:26;96306:8;96312:1;96306:5;:8::i;96290:26::-;96270:3;;;;:::i;:::-;;;;96236:92;;;;96194:141::o;59398:152::-;59470:7;59513:27;59532:7;59513:18;:27::i;90261:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;94874:105::-;30266:13;:11;:13::i;:::-;94943:19:::1;:28:::0;94874:105::o;54940:233::-;55012:7;-1:-1:-1;;;;;55036:19:0;;55032:60;;55064:28;;-1:-1:-1;;;55064:28:0;;;;;;;;;;;55032:60;-1:-1:-1;;;;;;55110:25:0;;;;;:18;:25;;;;;;49099:13;55110:55;;54940:233::o;31028:103::-;30266:13;:11;:13::i;:::-;31093:30:::1;31120:1;31093:18;:30::i;:::-;31028:103::o:0;95229:105::-;30266:13;:11;:13::i;:::-;95296:21:::1;:30:::0;95229:105::o;95342:122::-;-1:-1:-1;;;;;55344:25:0;;95407:7;55344:25;;;:18;:25;;49237:2;55344:25;;;;49099:13;55344:50;;55343:82;95434:22;55255:178;44511:100;44562:7;44589;44597:5;44589:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;44589:14:0;;44511:100;-1:-1:-1;;44511:100:0:o;58181:104::-;58237:13;58270:7;58263:14;;;;;:::i;94666:100::-;30266:13;:11;:13::i;:::-;94740:7:::1;:18;94750:8:::0;94740:7;:18:::1;:::i;:::-;;94666:100:::0;:::o;65046:308::-;10285:10;-1:-1:-1;;;;;65145:31:0;;;65141:61;;65185:17;;-1:-1:-1;;;65185:17:0;;;;;;;;;;;65141:61;10285:10;65215:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;65215:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;65215:60:0;;;;;;;;;;65291:55;;1004:41:1;;;65215:49:0;;10285:10;65291:55;;977:18:1;65291:55:0;;;;;;;65046:308;;:::o;44701:225::-;44759:7;44779:21;44827:15;43414:14;;;43341:95;44827:15;44803:39;;:21;:39;:::i;:::-;44779:63;;44860:58;44876:7;44885:13;44900:17;44909:7;-1:-1:-1;;;;;44090:18:0;44063:7;44090:18;;;:9;:18;;;;;;;44007:109;44900:17;44860:15;:58::i;:::-;44853:65;44701:225;-1:-1:-1;;;44701:225:0:o;92379:778::-;92460:15;;92489:10;92486:35;;92501:20;;-1:-1:-1;;;92501:20:0;;12910:2:1;92501:20:0;;;12892:21:1;12949:2;12929:18;;;12922:30;-1:-1:-1;;;12968:18:1;;;12961:40;13018:18;;92501:20:0;12708:334:1;92486:35:0;92549:21;;92537:9;:33;92534:71;;;92572:33;;-1:-1:-1;;;92572:33:0;;17762:2:1;92572:33:0;;;17744:21:1;17801:2;17781:18;;;17774:30;17840:25;17820:18;;;17813:53;17883:18;;92572:33:0;17560:347:1;92534:71:0;92636:15;92621:11;;;;:30;;;;;;;;:::i;:::-;;92618:66;;92653:31;;-1:-1:-1;;;92653:31:0;;18114:2:1;92653:31:0;;;18096:21:1;18153:2;18133:18;;;18126:30;-1:-1:-1;;;18172:18:1;;;18165:51;18233:18;;92653:31:0;17912:345:1;92618:66:0;92727:20;90358:3;90400:2;92727:20;:::i;:::-;92714:9;92698:13;54030:12;;54014:13;;:28;;53756:323;92698:13;:25;;;;:::i;:::-;:50;92695:104;;;92750:49;;-1:-1:-1;;;92750:49:0;;18464:2:1;92750:49:0;;;18446:21:1;18503:2;18483:18;;;18476:30;18542:34;18522:18;;;18515:62;-1:-1:-1;;;18593:18:1;;;18586:37;18640:19;;92750:49:0;18262:403:1;92695:104:0;92825:17;92833:9;92825:5;:17;:::i;:::-;92813:9;:29;92810:60;;;92844:26;;-1:-1:-1;;;92844:26:0;;14172:2:1;92844:26:0;;;14154:21:1;14211:2;14191:18;;;14184:30;-1:-1:-1;;;14230:18:1;;;14223:46;14286:18;;92844:26:0;13970:340:1;92810:60:0;92948:22;;92922:10;92886:47;;;;:35;:47;;;;;;:59;;92936:9;;92886:59;:::i;:::-;:84;92883:140;;;92972:51;;-1:-1:-1;;;92972:51:0;;18872:2:1;92972:51:0;;;18854:21:1;18911:2;18891:18;;;18884:30;18950:34;18930:18;;;18923:62;-1:-1:-1;;;19001:18:1;;;18994:39;19050:19;;92972:51:0;18670:405:1;92883:140:0;93084:10;93048:47;;;;:35;:47;;;;;:60;;93099:9;;93048:47;:60;;93099:9;;93048:60;:::i;:::-;;;;-1:-1:-1;93121:28:0;;-1:-1:-1;93127:10:0;93139:9;93121:5;:28::i;71891:399::-;72058:31;72071:4;72077:2;72081:7;72058:12;:31::i;:::-;-1:-1:-1;;;;;72104:14:0;;;:19;72100:183;;72143:56;72174:4;72180:2;72184:7;72193:5;72143:30;:56::i;:::-;72138:145;;72227:40;;-1:-1:-1;;;72227:40:0;;;;;;;;;;;45086:260;-1:-1:-1;;;;;43678:26:0;;45158:7;43678:26;;;:19;:26;;;;;;45158:7;;45202:30;;-1:-1:-1;;;45202:30:0;;45226:4;45202:30;;;1958:51:1;-1:-1:-1;;;;;45202:15:0;;;;;1931:18:1;;45202:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;44382:21:0;;;44355:7;44382:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;45178:77;;-1:-1:-1;45273:65:0;;45289:7;;45178:77;;44860:15;:58::i;45273:65::-;45266:72;45086:260;-1:-1:-1;;;;45086:260:0:o;95939:247::-;96010:13;96044:17;96052:8;96044:7;:17::i;:::-;96036:61;;;;-1:-1:-1;;;96036:61:0;;19471:2:1;96036:61:0;;;19453:21:1;19510:2;19490:18;;;19483:30;19549:33;19529:18;;;19522:61;19600:18;;96036:61:0;19269:355:1;96036:61:0;96139:7;96148:19;96158:8;96148:9;:19::i;:::-;96122:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;96108:70;;95939:247;;;:::o;91376:153::-;30266:13;:11;:13::i;:::-;54030:12;;54014:13;;91434:18;91431:59:::1;;91454:36;::::0;-1:-1:-1;;;91454:36:0;;21023:2:1;91454:36:0::1;::::0;::::1;21005:21:1::0;21062:2;21042:18;;;21035:30;21101:28;21081:18;;;21074:56;21147:18;;91454:36:0::1;20821:350:1::0;91431:59:0::1;91501:20;91507:10;91519:1;91501:5;:20::i;31286:201::-:0;30266:13;:11;:13::i;:::-;-1:-1:-1;;;;;31375:22:0;::::1;31367:73;;;::::0;-1:-1:-1;;;31367:73:0;;21378:2:1;31367:73:0::1;::::0;::::1;21360:21:1::0;21417:2;21397:18;;;21390:30;21456:34;21436:18;;;21429:62;-1:-1:-1;;;21507:18:1;;;21500:36;21553:19;;31367:73:0::1;21176:402:1::0;31367:73:0::1;31451:28;31470:8;31451:18;:28::i;94774:92::-:0;30266:13;:11;:13::i;:::-;94852:5:::1;94847:11;;;;;;;;:::i;:::-;94833;:25:::0;;-1:-1:-1;;94833:25:0::1;::::0;;::::1;::::0;::::1;;;;;;:::i;:::-;;;;;;94774:92:::0;:::o;30545:132::-;30426:7;30453:6;-1:-1:-1;;;;;30453:6:0;10285:10;30609:23;30601:68;;;;-1:-1:-1;;;30601:68:0;;21785:2:1;30601:68:0;;;21767:21:1;;;21804:18;;;21797:30;21863:34;21843:18;;;21836:62;21915:18;;30601:68:0;21583:356:1;65933:282:0;65998:4;66088:13;;66078:7;:23;66035:153;;;;-1:-1:-1;;66139:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;66139:44:0;:49;;65933:282::o;35968:231::-;36046:7;36067:17;36086:18;36108:27;36119:4;36125:9;36108:10;:27::i;:::-;36066:69;;;;36146:18;36158:5;36146:11;:18::i;:::-;-1:-1:-1;36182:9:0;35968:231;-1:-1:-1;;;35968:231:0:o;75552:2454::-;75648:13;;75625:20;75676:13;;;75672:44;;75698:18;;-1:-1:-1;;;75698:18:0;;;;;;;;;;;75672:44;-1:-1:-1;;;;;76204:22:0;;;;;;:18;:22;;;;49237:2;76204:22;;;:71;;76242:32;76230:45;;76204:71;;;76518:31;;;:17;:31;;;;;-1:-1:-1;63218:15:0;;63192:24;63188:46;62787:11;62762:23;62758:41;62755:52;62745:63;;76518:173;;76753:23;;;;76518:31;;76204:22;;77252:25;76204:22;;77105:335;77520:1;77506:12;77502:20;77460:346;77561:3;77552:7;77549:16;77460:346;;77779:7;77769:8;77766:1;77739:25;77736:1;77733;77728:59;77614:1;77601:15;77460:346;;;77464:77;77839:8;77851:1;77839:13;77835:45;;77861:19;;-1:-1:-1;;;77861:19:0;;;;;;;;;;;77835:45;77897:13;:19;-1:-1:-1;91537:834:0;;;:::o;4113:317::-;4228:6;4203:21;:31;;4195:73;;;;-1:-1:-1;;;4195:73:0;;22146:2:1;4195:73:0;;;22128:21:1;22185:2;22165:18;;;22158:30;22224:31;22204:18;;;22197:59;22273:18;;4195:73:0;21944:353:1;4195:73:0;4282:12;4300:9;-1:-1:-1;;;;;4300:14:0;4322:6;4300:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4281:52;;;4352:7;4344:78;;;;-1:-1:-1;;;4344:78:0;;22714:2:1;4344:78:0;;;22696:21:1;22753:2;22733:18;;;22726:30;22792:34;22772:18;;;22765:62;22863:28;22843:18;;;22836:56;22909:19;;4344:78:0;22512:422:1;60553:1275:0;60620:7;60655;60757:13;;60750:4;:20;60746:1015;;;60795:14;60812:23;;;:17;:23;;;;;;;-1:-1:-1;;;60901:24:0;;:29;;60897:845;;61566:113;61573:6;61583:1;61573:11;61566:113;;-1:-1:-1;;;61644:6:0;61626:25;;;;:17;:25;;;;;;61566:113;;60897:845;60772:989;60746:1015;61789:31;;-1:-1:-1;;;61789:31:0;;;;;;;;;;;23715:211;23859:58;;;-1:-1:-1;;;;;206:32:1;;23859:58:0;;;188:51:1;255:18;;;;248:34;;;23859:58:0;;;;;;;;;;161:18:1;;;;23859:58:0;;;;;;;;-1:-1:-1;;;;;23859:58:0;-1:-1:-1;;;23859:58:0;;;23832:86;;23852:5;;23832:19;:86::i;31647:191::-;31721:16;31740:6;;-1:-1:-1;;;;;31757:17:0;;;-1:-1:-1;;;;;;31757:17:0;;;;;;31790:40;;31740:6;;;;;;;31790:40;;31721:16;31790:40;31710:128;31647:191;:::o;46959:248::-;47169:12;;-1:-1:-1;;;;;47149:16:0;;47105:7;47149:16;;;:7;:16;;;;;;47105:7;;47184:15;;47133:32;;:13;:32;:::i;:::-;47132:49;;;;:::i;:::-;:67;;;;:::i;74374:716::-;74558:88;;-1:-1:-1;;;74558:88:0;;74537:4;;-1:-1:-1;;;;;74558:45:0;;;;;:88;;10285:10;;74625:4;;74631:7;;74640:5;;74558:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74558:88:0;;;;;;;;-1:-1:-1;;74558:88:0;;;;;;;;;;;;:::i;:::-;;;74554:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74841:6;:13;74858:1;74841:18;74837:235;;74887:40;;-1:-1:-1;;;74887:40:0;;;;;;;;;;;74837:235;75030:6;75024:13;75015:6;75011:2;75007:15;75000:38;74554:529;-1:-1:-1;;;;;;74717:64:0;-1:-1:-1;;;74717:64:0;;-1:-1:-1;74374:716:0;;;;;;:::o;87906:2002::-;88383:4;88377:11;;88390:3;88373:21;;88468:17;;;;89164:11;;;89043:5;89330:2;89344;89334:13;;89326:22;89164:11;89313:36;89385:2;89375:13;;88935:731;89404:4;88935:731;;;89595:1;89590:3;89586:11;89579:18;;89646:2;89640:4;89636:13;89632:2;89628:22;89623:3;89615:36;89499:2;89489:13;;88935:731;;;-1:-1:-1;89696:13:0;;;-1:-1:-1;;89811:12:0;;;89871:19;;;89811:12;87906:2002;-1:-1:-1;87906:2002:0:o;33762:1404::-;33843:7;33852:12;34077:9;:16;34097:2;34077:22;34073:1086;;34421:4;34406:20;;34400:27;34471:4;34456:20;;34450:27;34529:4;34514:20;;34508:27;34116:9;34500:36;34572:25;34583:4;34500:36;34400:27;34450;34572:10;:25::i;:::-;34565:32;;;;;;;;;34073:1086;34619:9;:16;34639:2;34619:22;34615:544;;34942:4;34927:20;;34921:27;34993:4;34978:20;;34972:27;35035:23;35046:4;34921:27;34972;35035:10;:23::i;:::-;35028:30;;;;;;;;34615:544;-1:-1:-1;35107:1:0;;-1:-1:-1;35111:35:0;34615:544;33762:1404;;;;;:::o;32033:643::-;32111:20;32102:5;:29;;;;;;;;:::i;:::-;;32098:571;;32033:643;:::o;32098:571::-;32209:29;32200:5;:38;;;;;;;;:::i;:::-;;32196:473;;32255:34;;-1:-1:-1;;;32255:34:0;;24244:2:1;32255:34:0;;;24226:21:1;24283:2;24263:18;;;24256:30;24322:26;24302:18;;;24295:54;24366:18;;32255:34:0;24042:348:1;32196:473:0;32320:35;32311:5;:44;;;;;;;;:::i;:::-;;32307:362;;32372:41;;-1:-1:-1;;;32372:41:0;;24597:2:1;32372:41:0;;;24579:21:1;24636:2;24616:18;;;24609:30;24675:33;24655:18;;;24648:61;24726:18;;32372:41:0;24395:355:1;32307:362:0;32444:30;32435:5;:39;;;;;;;;:::i;:::-;;32431:238;;32491:44;;-1:-1:-1;;;32491:44:0;;24957:2:1;32491:44:0;;;24939:21:1;24996:2;24976:18;;;24969:30;25035:34;25015:18;;;25008:62;-1:-1:-1;;;25086:18:1;;;25079:32;25128:19;;32491:44:0;24755:398:1;32431:238:0;32566:30;32557:5;:39;;;;;;;;:::i;:::-;;32553:116;;32613:44;;-1:-1:-1;;;32613:44:0;;25360:2:1;32613:44:0;;;25342:21:1;25399:2;25379:18;;;25372:30;25438:34;25418:18;;;25411:62;-1:-1:-1;;;25489:18:1;;;25482:32;25531:19;;32613:44:0;25158:398:1;26782:716:0;27206:23;27232:69;27260:4;27232:69;;;;;;;;;;;;;;;;;27240:5;-1:-1:-1;;;;;27232:27:0;;;:69;;;;;:::i;:::-;27316:17;;27206:95;;-1:-1:-1;27316:21:0;27312:179;;27413:10;27402:30;;;;;;;;;;;;:::i;:::-;27394:85;;;;-1:-1:-1;;;27394:85:0;;26013:2:1;27394:85:0;;;25995:21:1;26052:2;26032:18;;;26025:30;26091:34;26071:18;;;26064:62;-1:-1:-1;;;26142:18:1;;;26135:40;26192:19;;27394:85:0;25811:406:1;37420:1632:0;37551:7;;38485:66;38472:79;;38468:163;;;-1:-1:-1;38584:1:0;;-1:-1:-1;38588:30:0;38568:51;;38468:163;38645:1;:7;;38650:2;38645:7;;:18;;;;;38656:1;:7;;38661:2;38656:7;;38645:18;38641:102;;;-1:-1:-1;38696:1:0;;-1:-1:-1;38700:30:0;38680:51;;38641:102;38857:24;;;38840:14;38857:24;;;;;;;;;26449:25:1;;;26522:4;26510:17;;26490:18;;;26483:45;;;;26544:18;;;26537:34;;;26587:18;;;26580:34;;;38857:24:0;;26421:19:1;;38857:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38857:24:0;;-1:-1:-1;;38857:24:0;;;-1:-1:-1;;;;;;;38896:20:0;;38892:103;;38949:1;38953:29;38933:50;;;;;;;38892:103;39015:6;-1:-1:-1;39023:20:0;;-1:-1:-1;37420:1632:0;;;;;;;;:::o;36462:344::-;36576:7;;-1:-1:-1;;;;;36622:80:0;;36576:7;36729:25;36745:3;36730:18;;;36752:2;36729:25;:::i;:::-;36713:42;;36773:25;36784:4;36790:1;36793;36796;36773:10;:25::i;:::-;36766:32;;;;;;36462:344;;;;;;:::o;5597:229::-;5734:12;5766:52;5788:6;5796:4;5802:1;5805:12;5734;-1:-1:-1;;;;;3147:19:0;;;7004:60;;;;-1:-1:-1;;;7004:60:0;;27234:2:1;7004:60:0;;;27216:21:1;27273:2;27253:18;;;27246:30;27312:31;27292:18;;;27285:59;27361:18;;7004:60:0;27032:353:1;7004:60:0;7078:12;7092:23;7119:6;-1:-1:-1;;;;;7119:11:0;7138:5;7145:4;7119:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7077:73;;;;7168:51;7185:7;7194:10;7206:12;7168:16;:51::i;:::-;7161:58;6717:510;-1:-1:-1;;;;;;;6717:510:0:o;9403:762::-;9553:12;9582:7;9578:580;;;-1:-1:-1;9613:10:0;9606:17;;9578:580;9727:17;;:21;9723:424;;9975:10;9969:17;10036:15;10023:10;10019:2;10015:19;10008:44;9723:424;10118:12;10111:20;;-1:-1:-1;;;10111:20:0;;;;;;;;:::i;293:180:1:-;352:6;405:2;393:9;384:7;380:23;376:32;373:52;;;421:1;418;411:12;373:52;-1:-1:-1;444:23:1;;293:180;-1:-1:-1;293:180:1:o;478:131::-;-1:-1:-1;;;;;;552:32:1;;542:43;;532:71;;599:1;596;589:12;614:245;672:6;725:2;713:9;704:7;700:23;696:32;693:52;;;741:1;738;731:12;693:52;780:9;767:23;799:30;823:5;799:30;:::i;1056:250::-;1141:1;1151:113;1165:6;1162:1;1159:13;1151:113;;;1241:11;;;1235:18;1222:11;;;1215:39;1187:2;1180:10;1151:113;;;-1:-1:-1;;1298:1:1;1280:16;;1273:27;1056:250::o;1311:271::-;1353:3;1391:5;1385:12;1418:6;1413:3;1406:19;1434:76;1503:6;1496:4;1491:3;1487:14;1480:4;1473:5;1469:16;1434:76;:::i;:::-;1564:2;1543:15;-1:-1:-1;;1539:29:1;1530:39;;;;1571:4;1526:50;;1311:271;-1:-1:-1;;1311:271:1:o;1587:220::-;1736:2;1725:9;1718:21;1699:4;1756:45;1797:2;1786:9;1782:18;1774:6;1756:45;:::i;2020:659::-;2099:6;2107;2115;2168:2;2156:9;2147:7;2143:23;2139:32;2136:52;;;2184:1;2181;2174:12;2136:52;2220:9;2207:23;2197:33;;2281:2;2270:9;2266:18;2253:32;2304:18;2345:2;2337:6;2334:14;2331:34;;;2361:1;2358;2351:12;2331:34;2399:6;2388:9;2384:22;2374:32;;2444:7;2437:4;2433:2;2429:13;2425:27;2415:55;;2466:1;2463;2456:12;2415:55;2506:2;2493:16;2532:2;2524:6;2521:14;2518:34;;;2548:1;2545;2538:12;2518:34;2593:7;2588:2;2579:6;2575:2;2571:15;2567:24;2564:37;2561:57;;;2614:1;2611;2604:12;2561:57;2645:2;2641;2637:11;2627:21;;2667:6;2657:16;;;;;2020:659;;;;;:::o;2684:131::-;-1:-1:-1;;;;;2759:31:1;;2749:42;;2739:70;;2805:1;2802;2795:12;2820:315;2888:6;2896;2949:2;2937:9;2928:7;2924:23;2920:32;2917:52;;;2965:1;2962;2955:12;2917:52;3004:9;2991:23;3023:31;3048:5;3023:31;:::i;:::-;3073:5;3125:2;3110:18;;;;3097:32;;-1:-1:-1;;;2820:315:1:o;3140:127::-;3201:10;3196:3;3192:20;3189:1;3182:31;3232:4;3229:1;3222:15;3256:4;3253:1;3246:15;3272:232;3348:1;3341:5;3338:12;3328:143;;3393:10;3388:3;3384:20;3381:1;3374:31;3428:4;3425:1;3418:15;3456:4;3453:1;3446:15;3328:143;3480:18;;3272:232::o;3509:628::-;3818:3;3803:19;;3831:39;3807:9;3852:6;3831:39;:::i;:::-;3906:6;3901:2;3890:9;3886:18;3879:34;3949:6;3944:2;3933:9;3929:18;3922:34;3992:6;3987:2;3976:9;3972:18;3965:34;4036:6;4030:3;4019:9;4015:19;4008:35;4080:6;4074:3;4063:9;4059:19;4052:35;4124:6;4118:3;4107:9;4103:19;4096:35;3509:628;;;;;;;;;;:::o;4324:255::-;4391:6;4444:2;4432:9;4423:7;4419:23;4415:32;4412:52;;;4460:1;4457;4450:12;4412:52;4499:9;4486:23;4518:31;4543:5;4518:31;:::i;4584:456::-;4661:6;4669;4677;4730:2;4718:9;4709:7;4705:23;4701:32;4698:52;;;4746:1;4743;4736:12;4698:52;4785:9;4772:23;4804:31;4829:5;4804:31;:::i;:::-;4854:5;-1:-1:-1;4911:2:1;4896:18;;4883:32;4924:33;4883:32;4924:33;:::i;:::-;4584:456;;4976:7;;-1:-1:-1;;;5030:2:1;5015:18;;;;5002:32;;4584:456::o;5045:402::-;5127:6;5135;5188:2;5176:9;5167:7;5163:23;5159:32;5156:52;;;5204:1;5201;5194:12;5156:52;5243:9;5230:23;5262:31;5287:5;5262:31;:::i;:::-;5312:5;-1:-1:-1;5369:2:1;5354:18;;5341:32;5382:33;5341:32;5382:33;:::i;:::-;5434:7;5424:17;;;5045:402;;;;;:::o;5704:127::-;5765:10;5760:3;5756:20;5753:1;5746:31;5796:4;5793:1;5786:15;5820:4;5817:1;5810:15;5836:632;5901:5;5931:18;5972:2;5964:6;5961:14;5958:40;;;5978:18;;:::i;:::-;6053:2;6047:9;6021:2;6107:15;;-1:-1:-1;;6103:24:1;;;6129:2;6099:33;6095:42;6083:55;;;6153:18;;;6173:22;;;6150:46;6147:72;;;6199:18;;:::i;:::-;6239:10;6235:2;6228:22;6268:6;6259:15;;6298:6;6290;6283:22;6338:3;6329:6;6324:3;6320:16;6317:25;6314:45;;;6355:1;6352;6345:12;6314:45;6405:6;6400:3;6393:4;6385:6;6381:17;6368:44;6460:1;6453:4;6444:6;6436;6432:19;6428:30;6421:41;;;;5836:632;;;;;:::o;6473:451::-;6542:6;6595:2;6583:9;6574:7;6570:23;6566:32;6563:52;;;6611:1;6608;6601:12;6563:52;6651:9;6638:23;6684:18;6676:6;6673:30;6670:50;;;6716:1;6713;6706:12;6670:50;6739:22;;6792:4;6784:13;;6780:27;-1:-1:-1;6770:55:1;;6821:1;6818;6811:12;6770:55;6844:74;6910:7;6905:2;6892:16;6887:2;6883;6879:11;6844:74;:::i;6929:118::-;7015:5;7008:13;7001:21;6994:5;6991:32;6981:60;;7037:1;7034;7027:12;7052:382;7117:6;7125;7178:2;7166:9;7157:7;7153:23;7149:32;7146:52;;;7194:1;7191;7184:12;7146:52;7233:9;7220:23;7252:31;7277:5;7252:31;:::i;:::-;7302:5;-1:-1:-1;7359:2:1;7344:18;;7331:32;7372:30;7331:32;7372:30;:::i;7439:795::-;7534:6;7542;7550;7558;7611:3;7599:9;7590:7;7586:23;7582:33;7579:53;;;7628:1;7625;7618:12;7579:53;7667:9;7654:23;7686:31;7711:5;7686:31;:::i;:::-;7736:5;-1:-1:-1;7793:2:1;7778:18;;7765:32;7806:33;7765:32;7806:33;:::i;:::-;7858:7;-1:-1:-1;7912:2:1;7897:18;;7884:32;;-1:-1:-1;7967:2:1;7952:18;;7939:32;7994:18;7983:30;;7980:50;;;8026:1;8023;8016:12;7980:50;8049:22;;8102:4;8094:13;;8090:27;-1:-1:-1;8080:55:1;;8131:1;8128;8121:12;8080:55;8154:74;8220:7;8215:2;8202:16;8197:2;8193;8189:11;8154:74;:::i;:::-;8144:84;;;7439:795;;;;;;;:::o;8239:198::-;8380:2;8365:18;;8392:39;8369:9;8413:6;8392:39;:::i;9101:380::-;9180:1;9176:12;;;;9223;;;9244:61;;9298:4;9290:6;9286:17;9276:27;;9244:61;9351:2;9343:6;9340:14;9320:18;9317:38;9314:161;;9397:10;9392:3;9388:20;9385:1;9378:31;9432:4;9429:1;9422:15;9460:4;9457:1;9450:15;9314:161;;9101:380;;;:::o;9835:127::-;9896:10;9891:3;9887:20;9884:1;9877:31;9927:4;9924:1;9917:15;9951:4;9948:1;9941:15;9967:125;10032:9;;;10053:10;;;10050:36;;;10066:18;;:::i;11602:402::-;11804:2;11786:21;;;11843:2;11823:18;;;11816:30;11882:34;11877:2;11862:18;;11855:62;-1:-1:-1;;;11948:2:1;11933:18;;11926:36;11994:3;11979:19;;11602:402::o;12009:407::-;12211:2;12193:21;;;12250:2;12230:18;;;12223:30;12289:34;12284:2;12269:18;;12262:62;-1:-1:-1;;;12355:2:1;12340:18;;12333:41;12406:3;12391:19;;12009:407::o;13797:168::-;13870:9;;;13901;;13918:15;;;13912:22;;13898:37;13888:71;;13939:18;;:::i;15084:135::-;15123:3;15144:17;;;15141:43;;15164:18;;:::i;:::-;-1:-1:-1;15211:1:1;15200:13;;15084:135::o;15224:127::-;15285:10;15280:3;15276:20;15273:1;15266:31;15316:4;15313:1;15306:15;15340:4;15337:1;15330:15;15482:545;15584:2;15579:3;15576:11;15573:448;;;15620:1;15645:5;15641:2;15634:17;15690:4;15686:2;15676:19;15760:2;15748:10;15744:19;15741:1;15737:27;15731:4;15727:38;15796:4;15784:10;15781:20;15778:47;;;-1:-1:-1;15819:4:1;15778:47;15874:2;15869:3;15865:12;15862:1;15858:20;15852:4;15848:31;15838:41;;15929:82;15947:2;15940:5;15937:13;15929:82;;;15992:17;;;15973:1;15962:13;15929:82;;16203:1352;16329:3;16323:10;16356:18;16348:6;16345:30;16342:56;;;16378:18;;:::i;:::-;16407:97;16497:6;16457:38;16489:4;16483:11;16457:38;:::i;:::-;16451:4;16407:97;:::i;:::-;16559:4;;16623:2;16612:14;;16640:1;16635:663;;;;17342:1;17359:6;17356:89;;;-1:-1:-1;17411:19:1;;;17405:26;17356:89;-1:-1:-1;;16160:1:1;16156:11;;;16152:24;16148:29;16138:40;16184:1;16180:11;;;16135:57;17458:81;;16605:944;;16635:663;15429:1;15422:14;;;15466:4;15453:18;;-1:-1:-1;;16671:20:1;;;16789:236;16803:7;16800:1;16797:14;16789:236;;;16892:19;;;16886:26;16871:42;;16984:27;;;;16952:1;16940:14;;;;16819:19;;16789:236;;;16793:3;17053:6;17044:7;17041:19;17038:201;;;17114:19;;;17108:26;-1:-1:-1;;17197:1:1;17193:14;;;17209:3;17189:24;17185:37;17181:42;17166:58;17151:74;;17038:201;-1:-1:-1;;;;;17285:1:1;17269:14;;;17265:22;17252:36;;-1:-1:-1;16203:1352:1:o;19080:184::-;19150:6;19203:2;19191:9;19182:7;19178:23;19174:32;19171:52;;;19219:1;19216;19209:12;19171:52;-1:-1:-1;19242:16:1;;19080:184;-1:-1:-1;19080:184:1:o;19629:1187::-;19906:3;19935:1;19968:6;19962:13;19998:36;20024:9;19998:36;:::i;:::-;20053:1;20070:18;;;20097:133;;;;20244:1;20239:356;;;;20063:532;;20097:133;-1:-1:-1;;20130:24:1;;20118:37;;20203:14;;20196:22;20184:35;;20175:45;;;-1:-1:-1;20097:133:1;;20239:356;20270:6;20267:1;20260:17;20300:4;20345:2;20342:1;20332:16;20370:1;20384:165;20398:6;20395:1;20392:13;20384:165;;;20476:14;;20463:11;;;20456:35;20519:16;;;;20413:10;;20384:165;;;20388:3;;;20578:6;20573:3;20569:16;20562:23;;20063:532;;;;;20626:6;20620:13;20642:68;20701:8;20696:3;20689:4;20681:6;20677:17;20642:68;:::i;:::-;-1:-1:-1;;;20732:18:1;;20759:22;;;20808:1;20797:13;;19629:1187;-1:-1:-1;;;;19629:1187:1:o;22939:217::-;22979:1;23005;22995:132;;23049:10;23044:3;23040:20;23037:1;23030:31;23084:4;23081:1;23074:15;23112:4;23109:1;23102:15;22995:132;-1:-1:-1;23141:9:1;;22939:217::o;23161:128::-;23228:9;;;23249:11;;;23246:37;;;23263:18;;:::i;23294:489::-;-1:-1:-1;;;;;23563:15:1;;;23545:34;;23615:15;;23610:2;23595:18;;23588:43;23662:2;23647:18;;23640:34;;;23710:3;23705:2;23690:18;;23683:31;;;23488:4;;23731:46;;23757:19;;23749:6;23731:46;:::i;:::-;23723:54;23294:489;-1:-1:-1;;;;;;23294:489:1:o;23788:249::-;23857:6;23910:2;23898:9;23889:7;23885:23;23881:32;23878:52;;;23926:1;23923;23916:12;23878:52;23958:9;23952:16;23977:30;24001:5;23977:30;:::i;25561:245::-;25628:6;25681:2;25669:9;25660:7;25656:23;25652:32;25649:52;;;25697:1;25694;25687:12;25649:52;25729:9;25723:16;25748:28;25770:5;25748:28;:::i;27390:287::-;27519:3;27557:6;27551:13;27573:66;27632:6;27627:3;27620:4;27612:6;27608:17;27573:66;:::i;:::-;27655:16;;;;;27390:287;-1:-1:-1;;27390:287:1:o
Swarm Source
ipfs://3f4266d53acfbe642cf3015a0c8db867a14725ac72209e595fd8507f9d1d4306
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.