Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,659 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 17515952 | 523 days ago | IN | 0 ETH | 0.00200941 | ||||
Approve | 17515946 | 523 days ago | IN | 0 ETH | 0.00190864 | ||||
Set Approval For... | 16959406 | 601 days ago | IN | 0 ETH | 0.00113207 | ||||
Set Approval For... | 16904243 | 609 days ago | IN | 0 ETH | 0.0008971 | ||||
Withdraw | 16793427 | 624 days ago | IN | 0 ETH | 0.00142108 | ||||
Mint | 16792107 | 625 days ago | IN | 0.01 ETH | 0.00148935 | ||||
Mint | 16792107 | 625 days ago | IN | 0 ETH | 0.00132074 | ||||
Mint | 16792107 | 625 days ago | IN | 0 ETH | 0.00132074 | ||||
Mint | 16739036 | 632 days ago | IN | 0 ETH | 0.00132074 | ||||
Mint | 16739035 | 632 days ago | IN | 0 ETH | 0.00132074 | ||||
Mint | 16739034 | 632 days ago | IN | 0 ETH | 0.00132074 | ||||
Mint | 16739034 | 632 days ago | IN | 0 ETH | 0.00126454 | ||||
Mint | 16739033 | 632 days ago | IN | 0 ETH | 0.00126454 | ||||
Mint | 16739033 | 632 days ago | IN | 0 ETH | 0.00126454 | ||||
Mint | 16726417 | 634 days ago | IN | 0.01 ETH | 0.00049338 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00132074 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00132074 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00132074 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00126454 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00126454 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00126454 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00109593 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00109593 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00106783 | ||||
Mint | 16719883 | 635 days ago | IN | 0 ETH | 0.00106783 |
Latest 11 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16793427 | 624 days ago | 5.28 ETH | ||||
16687722 | 639 days ago | 0.01 ETH | ||||
16687722 | 639 days ago | 0.01 ETH | ||||
16687722 | 639 days ago | 0.01 ETH | ||||
16687722 | 639 days ago | 0.01 ETH | ||||
16687722 | 639 days ago | 0.01 ETH | ||||
16687720 | 639 days ago | 0.02 ETH | ||||
16687720 | 639 days ago | 0.02 ETH | ||||
16687720 | 639 days ago | 0.02 ETH | ||||
16687720 | 639 days ago | 0.02 ETH | ||||
16687720 | 639 days ago | 0.02 ETH |
Loading...
Loading
Contract Name:
StreetDawgs
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-02-18 */ /* ____ _____ ____ _____ _____ _____ / ___|_ _| _ \| ____| ____|_ _| \___ \ | | | |_) | _| | _| | | ___) || | | _ <| |___| |___ | | |____/ |_|_|_| \_\_____|_____|_|_| | _ \ / \ \ / / ___| / ___| | | | |/ _ \ \ /\ / / | _ \___ \ | |_| / ___ \ V V /| |_| | ___) | |____/_/ \_\_/\_/ \____| |____/ Site: https://streetdawgs.xyz/ Twitter: https://twitter.com/StreetDawgs_ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&@@@@@@@@@@@@@@@BG5JJYP&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#Y?JP#@@@@@@@@@@@@PJ5G5?77JP55YJJB@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#BPYJJYY5G##BGGPPPPG57J5GPG5J??J????J@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@GP5YYYJJYYJJ??JJJJJJJJJJJ5G555PPY?????J#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&PYY55?77???JJJJYYJJJJJJJJYPP5555GGY???PG@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&####BBBBBBBGBBBBBBBGGGGGGGGGPYYYJJ?JY5GGGP555#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B5YJJJJ??????77777777777???JJP#GGGGPPJ7?JY555#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B^ .:^^^^^~!!!!!!!!!!~~~^:. 7&PPPGGBP??777J&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@&##&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&~:77??Y55YJ??????????????7!^?#GYYJJ??JYYYJ7G@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@#GGGB#B&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@J!7?5GP55YGPJ?!7777777777777YBJ7?????????5PP@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&&&&&&&&BB#@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@&##&#PY5GG#BGB&@&&@@B#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#PPPP5J????PG5J7!!!!!!!!!!7YGY?????????JY55G#&@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&#GP5555YYYYY5G5PB@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@5JYYYY5GG55BBBBBBBBBGG#&&@@@@@@@@@@@@@@@@@@@@@@@@@@@&&&#G5J??????????5G5YJ77!77?JY5P5J??????????J5P#&@@@@@@@@@@@@@@@@@@@@@@@@@@&G5YYYYYYY5PPPPPPPPPGBB#@@@@@@@@@@@@@@ @@@@@@@@@@@@@@&5JJYPGPGGYJJY5PPGBBGBBBBBB@@@@@@@@@@@@@@@@@@@@@@@&BGGGGGGPPY!!77??????YG5555555Y?7!~~!7???????????5#@@@@@@@@@@@@@@@@@@@@@@@@@@B55555555555PGGGGBBBG5PBB&@@@@@@@@@@@@@ @@@@@@@@@@@@@@&P5PGGPGPYYJJJJJ7!7JJYP5PPPP&@@@@@@@@@@@@@@@@@@@@&BBPPPG#PPGBP^:^^~!77??J55Y?!^^!^:::::^~7??????????G@@@@@@@@@@@@@@@@@@@@@@@@#P55555555GGGGGGGGGGGGBBPPB#@@@@@@@@@@@@@ @@@@@@@@@@&&&@@#PY5GP5JJJJJY?!!~~!?JJJJJ7!5@@@@@@@@@@@@@@@@@@@@@&GBGGPBGGP5?^::::::^^~!!~^::7Y7^::::::::!JJ????????G@@@@@@@@@@@@@@@@@@@@@@&P55555Y55J?JY55PPGGGGGGGBGB@@@@@@@@@@@@@@ @@@@@@@@@@@&&####B5YJJJJJJJJ!7777!!??JY?7YG@@@@@@@@@@@@@@@@@@@@@@!!PBBGG?^::::::::::::::::^JJ^::^::::::::~?YYYYYYJJJ5B&@@@@@@@@@@@@@@@@@@@&P7?YYJYY?77!J?JJJJYY5PBBG&@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@&#PYJJJJJJJJYJ7YGGP7!7JY5GG#@@@@@@@@@@@@@@@@@@@@@@#!:~?5?^::::::::::::::::!J?~7?7~^^~~^:::::^^!7?JPB##&@@@@@@@@@@@@@@@@@@@@@#JYYYJJ77GBJJ!JYYYYJJJY5#@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@&#G5YJJJJYYYYYYJ?7!7?JYYYYYYPG#&&@@@@@@@@@@@@&#BBBBGJ^^!5J!~~~~^^^^:::::^77~^^~~^^~?557!77?JJJY5PB&@@@@@@@@@@@@@@@@@@@@@@@@&BYYYYYJ7?555?JYYYYYYYYYYP#&@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@&5JJJJJYJ?7!!77?JYYYYYJJ?7JPPPGPGB&@@@@@@@@#BBPPPPPGGGGG~:::^^~!7?77777!^.::~!?YP#&@&#P55PP555555Y5P#@@@@@@@@@@@@@@@@&##BG5JJYYYYYJ??JJJJJJJYYYYYYYG&@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@&PJJYYYY?~~~~~!?7~7??7!!~~~JPPGGPGG&@@@@@@@@@@@@@@@@@@@@5!!!!!7777777777!5B#&&@@@@@@@@#B5YJ5PYYYYY5B&@@@@@@@@@@@@@@@@BGPGGPG577??JJYYJ77?!!!7?JYYJJJY&@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@&G55YYY?!~~~~~~!!J?~~~~~~~~~~~7PG57P@@@@@@@@@@@@@@@@@@@@@@BJY5PGBBGP5YJ?7YB#@@@@@&##BGP5GBPPG5YYYYB@@@@@@@@@@@@@@@@@@@#5PGG5J7!!!!!777!?J7!!!!!7JYYYYY5#@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@#PY???777?J?J5???!~~~~!!!~~!Y77P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#P5YYY55BPPBG55PPPPPGGGPPG5YYYYB#&@@@@@@@@@@@@@@@@@@@57J5?!!!!!!!!!7JJ?J77!!!!!7?Y5G##@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@&PPBB###B#@@@@&#BY??JYP?~::^7G&&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@BP5YYYGGPGGPGGGGPPPPGPYYYYPBBBGB&@@@@@@@@@@@@@@@@@@#5PY???JJ???JJYPBB###GPGB##&&@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@&55PPPGB#PPB#&@@@@P?J5PPP5YJY&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&#GGGG5JPGPBGPPPPPPGGPYJY5PBB##BPPPG#&@@@@@@@@@@@@@@@&B&J77?JJJJJ?5&@@@@@&G#@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@&GGPPP55555YJ???JJP&G#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&BPPGPGG5YBPBBPPPPPPPYYY5GBBBB#BBPPPP55PG#&@@@@@@@@@@@&P@@@&&@@@@&&##GPP5YJ?^JBBB#&&@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@B5555PPGGGGPP5Y?JYY5PG&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@GP5G#PPPG5YBP#GPPPP55PPBBBBGGGB#BBPPPPPPP55PB&@@@@@@@@@#G#@@@@@@@@&#?~YJ7~:. ~BBBB#BB#@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@GYYY55PYYYY55PGYYGG5?55P&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&PPG#G5PPPGPBGBGGGGBBBBGGPPPPPP##BBPPPPPPPPP5P&@@@@@@@@@@@&@@@@@@&##P^7GBJ!~~?BBBB##BBBB&@@@@@@@@@@@@@@ @@@@@@@@@@@@@&PYYY5GGB55YYYYYP5?Y5P7Y5GG&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&GBBBB5GG5PP&#BGGGGPPPPP5PPB#G5PB#BBP5PPPPPPPG&@@@@@@@@@@@@@@@@@@@###5^?BB~.~!Y#BB###BBBBB&@@@@@@@@@@@@@ @@@@@@@@@@@@#5YYYYPGBBP5YYYYYPP?Y5G75PGG5&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#PPBB#P5G#P5B##GPPPPPPPPPGBBGPPPPG#BBGGGBB##BB#&@@@@@@@@@@@@@@@@@@B###J.PPG^ ~BBB#BB#BBBBBB&@@@@@@@@@@@@ @@@@@@@@@@@#YYYYYY5GGBBG5YYYY5G5Y5GPY55G5P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@GPBBB#PPGB#PGB#BPPPPPPPBBBPPPPPPPG##BBBB#BBBBBBB&@@@@@@@@@@@@@@@@#B#&#Y!GGG: :GBB#BBB##BBBBBB&@@@@@@@@@@@ */ pragma solidity ^0.8.0; library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } } pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); } pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } pragma solidity ^0.8.13; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} } // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } } // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _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) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _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); } } // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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); } } // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * 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 payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @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 payable; /** * @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); } // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @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 { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). 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 public _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.selector); 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.selector); 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 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; return packed; } } // Otherwise, the data exists and is not burned. We can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. return packed; } } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); 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 { _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].value`. 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 payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable 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 payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _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.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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.selector); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) _revert(bytes4(0)); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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.selector); 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 str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } } pragma solidity >=0.8.0 <0.9.0; contract StreetDawgs is ERC721A, Ownable, ReentrancyGuard, DefaultOperatorFilterer { using Strings for uint256; string public dawgMetadata; string public hiddenDoggoMetadata; uint256 public maxDawgs; uint256 public maxDawgsPerWallet; uint256 public maxFreeDawgs; string public dawgSuffix = '.json'; bytes32 public doggoRoot; bool public dawgsPaused = true; bool public letTheDawgsOut = false; mapping(address => bool) freeWhitelistDawgs; mapping(address => bool) freeDawgs; constructor( uint256 _maxDawgs, uint256 _maxFreeDawgs, string memory _dawgMetadata, string memory _hiddenDawgMetadata ) ERC721A("StreetDawgs", "StreetDawgs") { maxDawgs = _maxDawgs; maxFreeDawgs = _maxFreeDawgs; dawgMetadata = _dawgMetadata; hiddenDoggoMetadata = _hiddenDawgMetadata; _safeMint(msg.sender, 1); } function devMint(uint256 qty) public onlyOwner { _safeMint(msg.sender, qty); } /** @dev Gets price based on current supply // tokens 0 - 1000 ~~~~~~~~~~~~~ free // tokens 1001 - 2000 ~~~~~~~~~~ .001 eth // tokens 2001 - 4000 ~~~~~~~~~~ .002 eth // tokens 4001 - 6000 ~~~~~~~~~~ .003 eth */ function getPrice() public view returns (uint256) { uint256 minted = totalSupply(); uint256 cost = 0; if (minted < maxFreeDawgs) { cost = 0; } else if (minted < 2000) { // 2000 cost = 0.001 ether; } else if (minted < 4000) { // 4000 cost = 0.002 ether; } else if (minted < 6000) { // 6000 cost = 0.003 ether; } else { cost = 0.004 ether; } return cost; } /** @dev To burn a street dawg... but why? */ function burnDawg(uint256 tokenId) external { require(ownerOf(tokenId) == _msgSender(), "You do not own this Street Dawg"); _burn(tokenId, true); } /** @dev Check minter's street cred */ modifier checkStreetCred(uint256 _mintAmount) { require(_mintAmount <= 10, "Max 10 per transaction"); require(totalSupply() + _mintAmount <= maxDawgs, 'Max Supply Exceeded!'); _; } /** @dev Mint a Street Dawg */ function mint(uint256 _mintAmount) public payable checkStreetCred(_mintAmount) nonReentrant { require(!dawgsPaused, 'The Street Dawgs have not been released!'); uint256 price = getPrice(); uint256 _maxPerWallet = 10; // Default maximum per transaction if (price == 0) { _maxPerWallet = 1; } if ((msg.value >= _mintAmount * price) && price != 0) { } else { require( _numberMinted(msg.sender) + _mintAmount <= _maxPerWallet, "Free mint claimed!" ); } require(msg.value >= _mintAmount * price, 'Insufficient Funds!'); _safeMint(_msgSender(), _mintAmount); } /** @dev Street Dawgs first ID 1 */ function _startTokenId() internal view virtual override returns (uint256) { return 1; } /** @dev Sets the token URI */ function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (letTheDawgsOut == false) { return hiddenDoggoMetadata; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, "/", _tokenId.toString(), dawgSuffix)) : ''; } /** @dev WHO LET THE DOGS OUT??? */ function setLetTheDawgsOut(bool _state) public onlyOwner { letTheDawgsOut = _state; } /** @dev Set merkle root for whitelist */ function setDoggoRoot(bytes32 root) external onlyOwner { doggoRoot = root; } /** @dev Unrevealed metadata url */ function setHiddenDoggoMetadata(string memory _hiddenMetadataUri) public onlyOwner { hiddenDoggoMetadata = _hiddenMetadataUri; } /** @dev Set the uri suffix */ function setUriPrefix(string memory _dawgMetadata) public onlyOwner { dawgMetadata = _dawgMetadata; } /** @dev Set the uri suffix (i.e .json) */ function setDawgSuffix(string memory _uriSuffix) public onlyOwner { dawgSuffix = _uriSuffix; } /** @dev Set sale is active (dawgsPaused / unpaused) */ function setDawgsPaused(bool _state) public onlyOwner { dawgsPaused = _state; } /** @dev Set max supply for the collection */ function setMaxDawgSupply(uint256 _maxDawgs) public onlyOwner { maxDawgs = _maxDawgs; } function withdraw() public onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } function _baseURI() internal view virtual override returns (string memory) { return dawgMetadata; } /** @dev OpenSea */ function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_maxDawgs","type":"uint256"},{"internalType":"uint256","name":"_maxFreeDawgs","type":"uint256"},{"internalType":"string","name":"_dawgMetadata","type":"string"},{"internalType":"string","name":"_hiddenDawgMetadata","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_currentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnDawg","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dawgMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dawgSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dawgsPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"doggoRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenDoggoMetadata","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"letTheDawgsOut","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDawgs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDawgsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeDawgs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"payable","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":"payable","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":"_uriSuffix","type":"string"}],"name":"setDawgSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setDawgsPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setDoggoRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenDoggoMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setLetTheDawgsOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDawgs","type":"uint256"}],"name":"setMaxDawgSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_dawgMetadata","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526005608090815264173539b7b760d91b60a052600f90620000269082620005d2565b506011805461ffff191660011790553480156200004257600080fd5b506040516200289638038062002896833981016040819052620000659162000755565b733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600b81526020016a537472656574446177677360a81b8152506040518060400160405280600b81526020016a537472656574446177677360a81b8152508160029081620000d59190620005d2565b506003620000e48282620005d2565b5050600160005550620000f73362000282565b60016009556daaeb6d7670e522a718067333cd4e3b15620002415780156200018f57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200017057600080fd5b505af115801562000185573d6000803e3d6000fd5b5050505062000241565b6001600160a01b03821615620001e05760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000155565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200022757600080fd5b505af11580156200023c573d6000803e3d6000fd5b505050505b5050600c849055600e839055600a6200025b8382620005d2565b50600b6200026a8282620005d2565b5062000278336001620002d4565b505050506200085c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002f6828260405180602001604052806000815250620002fa60201b60201c565b5050565b62000306838362000371565b6001600160a01b0383163b156200036c576000548281035b6001810190620003349060009087908662000437565b6200034b576200034b6368d2bf6b60e11b62000524565b8181106200031e578160005414620003695762000369600062000524565b50505b505050565b600080549082900362000390576200039063b562e8dd60e01b62000524565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b17811790915580845260059092528220805468010000000000000001860201905590819003620003f157620003f1622e076360e81b62000524565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103620003f6575060005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200046e903390899088908890600401620007d3565b6020604051808303816000875af1925050508015620004ac575060408051601f3d908101601f19168201909252620004a99181019062000829565b60015b62000507573d808015620004dd576040519150601f19603f3d011682016040523d82523d6000602084013e620004e2565b606091505b508051600003620004ff57620004ff6368d2bf6b60e11b62000524565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8060005260046000fd5b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200055957607f821691505b6020821081036200057a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200036c57600081815260208120601f850160051c81016020861015620005a95750805b601f850160051c820191505b81811015620005ca57828155600101620005b5565b505050505050565b81516001600160401b03811115620005ee57620005ee6200052e565b6200060681620005ff845462000544565b8462000580565b602080601f8311600181146200063e5760008415620006255750858301515b600019600386901b1c1916600185901b178555620005ca565b600085815260208120601f198616915b828110156200066f578886015182559484019460019091019084016200064e565b50858210156200068e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b83811015620006bb578181015183820152602001620006a1565b50506000910152565b600082601f830112620006d657600080fd5b81516001600160401b0380821115620006f357620006f36200052e565b604051601f8301601f19908116603f011681019082821181831017156200071e576200071e6200052e565b816040528381528660208588010111156200073857600080fd5b6200074b8460208301602089016200069e565b9695505050505050565b600080600080608085870312156200076c57600080fd5b84516020860151604087015191955093506001600160401b03808211156200079357600080fd5b620007a188838901620006c4565b93506060870151915080821115620007b857600080fd5b50620007c787828801620006c4565b91505092959194509250565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620008128160a08501602087016200069e565b601f01601f19169190910160a00195945050505050565b6000602082840312156200083c57600080fd5b81516001600160e01b0319811681146200085557600080fd5b9392505050565b61202a806200086c6000396000f3fe60806040526004361061023b5760003560e01c8063873860221161012e578063a22cb465116100ab578063e6a41e331161006f578063e6a41e331461061b578063e985e9c51461063b578063edd3153c1461065b578063f2fde38b14610671578063f9d986e91461069157600080fd5b8063a22cb46514610593578063a681bf3a146105b3578063b61ca40e146105d3578063b88d4fde146105e8578063c87b56dd146105fb57600080fd5b80639855065e116100f25780639855065e1461052157806398d5fdca14610540578063991bab341461055557806399c248a71461056b578063a0712d681461058057600080fd5b806387386022146104ac578063877d7b05146104c25780638da5cb5b146104d85780639451c99a146104f657806395d89b411461050c57600080fd5b80633ccfd60b116101bc5780636352211e116101805780636352211e1461041757806363f5d1921461043757806370a0823114610457578063715018a6146104775780637ec4a6591461048c57600080fd5b80633ccfd60b1461038d57806341f43434146103a257806342842e0e146103c45780634875af54146103d75780635b770f6c146103f757600080fd5b806323b872dd1161020357806323b872dd1461030b5780632818cb7d1461031e578063283a8eb01461033e57806330d964af14610358578063375a069a1461036d57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf57806318160ddd146102e4575b600080fd5b34801561024c57600080fd5b5061026061025b366004611a2c565b6106b1565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610703565b60405161026c9190611a99565b3480156102a357600080fd5b506102b76102b2366004611aac565b610795565b6040516001600160a01b03909116815260200161026c565b6102e26102dd366004611adc565b6107d0565b005b3480156102f057600080fd5b5060015460005403600019015b60405190815260200161026c565b6102e2610319366004611b06565b6107e9565b34801561032a57600080fd5b506102e2610339366004611bce565b610814565b34801561034a57600080fd5b506011546102609060ff1681565b34801561036457600080fd5b5061028a61082c565b34801561037957600080fd5b506102e2610388366004611aac565b6108ba565b34801561039957600080fd5b506102e26108cf565b3480156103ae57600080fd5b506102b76daaeb6d7670e522a718067333cd4e81565b6102e26103d2366004611b06565b610948565b3480156103e357600080fd5b506102e26103f2366004611c25565b61096d565b34801561040357600080fd5b506102e2610412366004611aac565b610988565b34801561042357600080fd5b506102b7610432366004611aac565b610995565b34801561044357600080fd5b506102e2610452366004611aac565b6109a0565b34801561046357600080fd5b506102fd610472366004611c42565b610a10565b34801561048357600080fd5b506102e2610a56565b34801561049857600080fd5b506102e26104a7366004611bce565b610a6a565b3480156104b857600080fd5b506102fd600d5481565b3480156104ce57600080fd5b506102fd60105481565b3480156104e457600080fd5b506008546001600160a01b03166102b7565b34801561050257600080fd5b506102fd60005481565b34801561051857600080fd5b5061028a610a7e565b34801561052d57600080fd5b5060115461026090610100900460ff1681565b34801561054c57600080fd5b506102fd610a8d565b34801561056157600080fd5b506102fd600e5481565b34801561057757600080fd5b5061028a610b10565b6102e261058e366004611aac565b610b1d565b34801561059f57600080fd5b506102e26105ae366004611c5d565b610d3d565b3480156105bf57600080fd5b506102e26105ce366004611bce565b610d51565b3480156105df57600080fd5b5061028a610d65565b6102e26105f6366004611c94565b610d72565b34801561060757600080fd5b5061028a610616366004611aac565b610d9f565b34801561062757600080fd5b506102e2610636366004611c25565b610f13565b34801561064757600080fd5b50610260610656366004611d10565b610f35565b34801561066757600080fd5b506102fd600c5481565b34801561067d57600080fd5b506102e261068c366004611c42565b610f63565b34801561069d57600080fd5b506102e26106ac366004611aac565b610fd9565b60006301ffc9a760e01b6001600160e01b0319831614806106e257506380ac58cd60e01b6001600160e01b03198316145b806106fd5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461071290611d43565b80601f016020809104026020016040519081016040528092919081815260200182805461073e90611d43565b801561078b5780601f106107605761010080835404028352916020019161078b565b820191906000526020600020905b81548152906001019060200180831161076e57829003601f168201915b5050505050905090565b60006107a082610fe6565b6107b4576107b46333d1c03960e21b61101b565b506000908152600660205260409020546001600160a01b031690565b816107da81611025565b6107e483836110de565b505050565b826001600160a01b03811633146108035761080333611025565b61080e8484846110ea565b50505050565b61081c611259565b600f6108288282611dcb565b5050565b600f805461083990611d43565b80601f016020809104026020016040519081016040528092919081815260200182805461086590611d43565b80156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b505050505081565b6108c2611259565b6108cc33826112b3565b50565b6108d7611259565b60006108eb6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610935576040519150601f19603f3d011682016040523d82523d6000602084013e61093a565b606091505b50509050806108cc57600080fd5b826001600160a01b03811633146109625761096233611025565b61080e8484846112cd565b610975611259565b6011805460ff1916911515919091179055565b610990611259565b601055565b60006106fd826112e8565b336109aa82610995565b6001600160a01b031614610a055760405162461bcd60e51b815260206004820152601f60248201527f596f7520646f206e6f74206f776e20746869732053747265657420446177670060448201526064015b60405180910390fd5b6108cc816001611362565b60006001600160a01b038216610a3057610a306323d3ad8160e21b61101b565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a5e611259565b610a6860006114a3565b565b610a72611259565b600a6108288282611dcb565b60606003805461071290611d43565b600080610aa36001546000546000199190030190565b90506000600e54821015610ab9575060006106fd565b6107d0821015610ad1575066038d7ea4c680006106fd565b610fa0821015610ae9575066071afd498d00006106fd565b611770821015610b015750660aa87bee5380006106fd565b50660e35fa931a000092915050565b600b805461083990611d43565b80600a811115610b685760405162461bcd60e51b815260206004820152601660248201527526b0bc101898103832b9103a3930b739b0b1ba34b7b760511b60448201526064016109fc565b600c546001546000548391900360001901610b839190611ea1565b1115610bc85760405162461bcd60e51b81526020600482015260146024820152734d617820537570706c792045786365656465642160601b60448201526064016109fc565b610bd06114f5565b60115460ff1615610c345760405162461bcd60e51b815260206004820152602860248201527f546865205374726565742044617767732068617665206e6f74206265656e2072604482015267656c65617365642160c01b60648201526084016109fc565b6000610c3e610a8d565b9050600a6000829003610c4f575060015b610c598285611eb4565b3410158015610c6757508115155b610cd8573360009081526005602052604090819020548291610c959187911c67ffffffffffffffff16611ea1565b1115610cd85760405162461bcd60e51b815260206004820152601260248201527146726565206d696e7420636c61696d65642160701b60448201526064016109fc565b610ce28285611eb4565b341015610d275760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742046756e64732160681b60448201526064016109fc565b610d3133856112b3565b50506108286001600955565b81610d4781611025565b6107e4838361154e565b610d59611259565b600b6108288282611dcb565b600a805461083990611d43565b836001600160a01b0381163314610d8c57610d8c33611025565b610d98858585856115ba565b5050505050565b6060610daa82610fe6565b610e0e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109fc565b601154610100900460ff161515600003610eb457600b8054610e2f90611d43565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5b90611d43565b8015610ea85780601f10610e7d57610100808354040283529160200191610ea8565b820191906000526020600020905b815481529060010190602001808311610e8b57829003601f168201915b50505050509050919050565b6000610ebe6115f5565b90506000815111610ede5760405180602001604052806000815250610f0c565b80610ee884611604565b600f604051602001610efc93929190611ecb565b6040516020818303038152906040525b9392505050565b610f1b611259565b601180549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f6b611259565b6001600160a01b038116610fd05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109fc565b6108cc816114a3565b610fe1611259565b600c55565b600081600111158015610ffa575060005482105b80156106fd575050600090815260046020526040902054600160e01b161590565b8060005260046000fd5b6daaeb6d7670e522a718067333cd4e3b156108cc57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611092573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b69190611f7d565b6108cc57604051633b79c77360e21b81526001600160a01b03821660048201526024016109fc565b61082882826001611697565b60006110f5826112e8565b6001600160a01b03948516949091508116841461111b5761111b62a1148160e81b61101b565b600082815260066020526040902080546111478187335b6001600160a01b039081169116811491141790565b611169576111558633610f35565b61116957611169632ce44b5f60e11b61101b565b801561117457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611206576001840160008181526004602052604081205490036112045760005481146112045760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361125057611250633a954ecd60e21b61101b565b50505050505050565b6008546001600160a01b03163314610a685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109fc565b61082882826040518060200160405280600081525061173a565b6107e483838360405180602001604052806000815250610d72565b600081600111611352575060008181526004602052604081205490600160e01b82169003611352578060000361134d57600054821061133157611331636f96cda160e11b61101b565b5b50600019016000818152600460205260409020548015611332575b919050565b61134d636f96cda160e11b61101b565b600061136d836112e8565b90508060008061138b86600090815260066020526040902080549091565b9150915084156113c2576113a0818433611132565b6113c2576113ae8333610f35565b6113c2576113c2632ce44b5f60e11b61101b565b80156113cd57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361145b576001860160008181526004602052604081205490036114595760005481146114595760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002600954036115475760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109fc565b6002600955565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115c58484846107e9565b6001600160a01b0383163b1561080e576115e18484848461179c565b61080e5761080e6368d2bf6b60e11b61101b565b6060600a805461071290611d43565b606060006116118361187f565b600101905060008167ffffffffffffffff81111561163157611631611b42565b6040519080825280601f01601f19166020018201604052801561165b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461166557509392505050565b60006116a283610995565b90508180156116ba5750336001600160a01b03821614155b156116dd576116c98133610f35565b6116dd576116dd6367d9dca160e11b61101b565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6117448383611957565b6001600160a01b0383163b156107e4576000548281035b61176e600086838060010194508661179c565b611782576117826368d2bf6b60e11b61101b565b81811061175b578160005414610d9857610d98600061101b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117d1903390899088908890600401611f9a565b6020604051808303816000875af192505050801561180c575060408051601f3d908101601f1916820190925261180991810190611fd7565b60015b611861573d80801561183a576040519150601f19603f3d011682016040523d82523d6000602084013e61183f565b606091505b508051600003611859576118596368d2bf6b60e11b61101b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106118be5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118ea576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061190857662386f26fc10000830492506010015b6305f5e1008310611920576305f5e100830492506008015b612710831061193457612710830492506004015b60648310611946576064830492506002015b600a83106106fd5760010192915050565b60008054908290036119735761197363b562e8dd60e01b61101b565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036119d1576119d1622e076360e81b61101b565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036119d6575060005550505050565b6001600160e01b0319811681146108cc57600080fd5b600060208284031215611a3e57600080fd5b8135610f0c81611a16565b60005b83811015611a64578181015183820152602001611a4c565b50506000910152565b60008151808452611a85816020860160208601611a49565b601f01601f19169290920160200192915050565b602081526000610f0c6020830184611a6d565b600060208284031215611abe57600080fd5b5035919050565b80356001600160a01b038116811461134d57600080fd5b60008060408385031215611aef57600080fd5b611af883611ac5565b946020939093013593505050565b600080600060608486031215611b1b57600080fd5b611b2484611ac5565b9250611b3260208501611ac5565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b7357611b73611b42565b604051601f8501601f19908116603f01168101908282118183101715611b9b57611b9b611b42565b81604052809350858152868686011115611bb457600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611be057600080fd5b813567ffffffffffffffff811115611bf757600080fd5b8201601f81018413611c0857600080fd5b61187784823560208401611b58565b80151581146108cc57600080fd5b600060208284031215611c3757600080fd5b8135610f0c81611c17565b600060208284031215611c5457600080fd5b610f0c82611ac5565b60008060408385031215611c7057600080fd5b611c7983611ac5565b91506020830135611c8981611c17565b809150509250929050565b60008060008060808587031215611caa57600080fd5b611cb385611ac5565b9350611cc160208601611ac5565b925060408501359150606085013567ffffffffffffffff811115611ce457600080fd5b8501601f81018713611cf557600080fd5b611d0487823560208401611b58565b91505092959194509250565b60008060408385031215611d2357600080fd5b611d2c83611ac5565b9150611d3a60208401611ac5565b90509250929050565b600181811c90821680611d5757607f821691505b602082108103611d7757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156107e457600081815260208120601f850160051c81016020861015611da45750805b601f850160051c820191505b81811015611dc357828155600101611db0565b505050505050565b815167ffffffffffffffff811115611de557611de5611b42565b611df981611df38454611d43565b84611d7d565b602080601f831160018114611e2e5760008415611e165750858301515b600019600386901b1c1916600185901b178555611dc3565b600085815260208120601f198616915b82811015611e5d57888601518255948401946001909101908401611e3e565b5085821015611e7b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808201808211156106fd576106fd611e8b565b80820281158282048414176106fd576106fd611e8b565b600084516020611ede8285838a01611a49565b8184019150602f60f81b825260018651611efd81838601858b01611a49565b8654930192600090611f0e81611d43565b8184168015611f245760018114611f3d57611f6d565b60ff198316878601528115158202870185019350611f6d565b896000528560002060005b83811015611f63578154898201880152908601908701611f48565b5050848288010193505b50919a9950505050505050505050565b600060208284031215611f8f57600080fd5b8151610f0c81611c17565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fcd90830184611a6d565b9695505050505050565b600060208284031215611fe957600080fd5b8151610f0c81611a1656fea264697066735822122040e24ff32e231707894e49d20707fef7105f9908661e0bbaeee6ed6cfd52091564736f6c63430008110033000000000000000000000000000000000000000000000000000000000000177000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000003d68747470733a2f2f7075622d38633864356634353830643134343638613735356232383636646134396139662e72322e6465762f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000000000016100000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061023b5760003560e01c8063873860221161012e578063a22cb465116100ab578063e6a41e331161006f578063e6a41e331461061b578063e985e9c51461063b578063edd3153c1461065b578063f2fde38b14610671578063f9d986e91461069157600080fd5b8063a22cb46514610593578063a681bf3a146105b3578063b61ca40e146105d3578063b88d4fde146105e8578063c87b56dd146105fb57600080fd5b80639855065e116100f25780639855065e1461052157806398d5fdca14610540578063991bab341461055557806399c248a71461056b578063a0712d681461058057600080fd5b806387386022146104ac578063877d7b05146104c25780638da5cb5b146104d85780639451c99a146104f657806395d89b411461050c57600080fd5b80633ccfd60b116101bc5780636352211e116101805780636352211e1461041757806363f5d1921461043757806370a0823114610457578063715018a6146104775780637ec4a6591461048c57600080fd5b80633ccfd60b1461038d57806341f43434146103a257806342842e0e146103c45780634875af54146103d75780635b770f6c146103f757600080fd5b806323b872dd1161020357806323b872dd1461030b5780632818cb7d1461031e578063283a8eb01461033e57806330d964af14610358578063375a069a1461036d57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf57806318160ddd146102e4575b600080fd5b34801561024c57600080fd5b5061026061025b366004611a2c565b6106b1565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610703565b60405161026c9190611a99565b3480156102a357600080fd5b506102b76102b2366004611aac565b610795565b6040516001600160a01b03909116815260200161026c565b6102e26102dd366004611adc565b6107d0565b005b3480156102f057600080fd5b5060015460005403600019015b60405190815260200161026c565b6102e2610319366004611b06565b6107e9565b34801561032a57600080fd5b506102e2610339366004611bce565b610814565b34801561034a57600080fd5b506011546102609060ff1681565b34801561036457600080fd5b5061028a61082c565b34801561037957600080fd5b506102e2610388366004611aac565b6108ba565b34801561039957600080fd5b506102e26108cf565b3480156103ae57600080fd5b506102b76daaeb6d7670e522a718067333cd4e81565b6102e26103d2366004611b06565b610948565b3480156103e357600080fd5b506102e26103f2366004611c25565b61096d565b34801561040357600080fd5b506102e2610412366004611aac565b610988565b34801561042357600080fd5b506102b7610432366004611aac565b610995565b34801561044357600080fd5b506102e2610452366004611aac565b6109a0565b34801561046357600080fd5b506102fd610472366004611c42565b610a10565b34801561048357600080fd5b506102e2610a56565b34801561049857600080fd5b506102e26104a7366004611bce565b610a6a565b3480156104b857600080fd5b506102fd600d5481565b3480156104ce57600080fd5b506102fd60105481565b3480156104e457600080fd5b506008546001600160a01b03166102b7565b34801561050257600080fd5b506102fd60005481565b34801561051857600080fd5b5061028a610a7e565b34801561052d57600080fd5b5060115461026090610100900460ff1681565b34801561054c57600080fd5b506102fd610a8d565b34801561056157600080fd5b506102fd600e5481565b34801561057757600080fd5b5061028a610b10565b6102e261058e366004611aac565b610b1d565b34801561059f57600080fd5b506102e26105ae366004611c5d565b610d3d565b3480156105bf57600080fd5b506102e26105ce366004611bce565b610d51565b3480156105df57600080fd5b5061028a610d65565b6102e26105f6366004611c94565b610d72565b34801561060757600080fd5b5061028a610616366004611aac565b610d9f565b34801561062757600080fd5b506102e2610636366004611c25565b610f13565b34801561064757600080fd5b50610260610656366004611d10565b610f35565b34801561066757600080fd5b506102fd600c5481565b34801561067d57600080fd5b506102e261068c366004611c42565b610f63565b34801561069d57600080fd5b506102e26106ac366004611aac565b610fd9565b60006301ffc9a760e01b6001600160e01b0319831614806106e257506380ac58cd60e01b6001600160e01b03198316145b806106fd5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461071290611d43565b80601f016020809104026020016040519081016040528092919081815260200182805461073e90611d43565b801561078b5780601f106107605761010080835404028352916020019161078b565b820191906000526020600020905b81548152906001019060200180831161076e57829003601f168201915b5050505050905090565b60006107a082610fe6565b6107b4576107b46333d1c03960e21b61101b565b506000908152600660205260409020546001600160a01b031690565b816107da81611025565b6107e483836110de565b505050565b826001600160a01b03811633146108035761080333611025565b61080e8484846110ea565b50505050565b61081c611259565b600f6108288282611dcb565b5050565b600f805461083990611d43565b80601f016020809104026020016040519081016040528092919081815260200182805461086590611d43565b80156108b25780601f10610887576101008083540402835291602001916108b2565b820191906000526020600020905b81548152906001019060200180831161089557829003601f168201915b505050505081565b6108c2611259565b6108cc33826112b3565b50565b6108d7611259565b60006108eb6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610935576040519150601f19603f3d011682016040523d82523d6000602084013e61093a565b606091505b50509050806108cc57600080fd5b826001600160a01b03811633146109625761096233611025565b61080e8484846112cd565b610975611259565b6011805460ff1916911515919091179055565b610990611259565b601055565b60006106fd826112e8565b336109aa82610995565b6001600160a01b031614610a055760405162461bcd60e51b815260206004820152601f60248201527f596f7520646f206e6f74206f776e20746869732053747265657420446177670060448201526064015b60405180910390fd5b6108cc816001611362565b60006001600160a01b038216610a3057610a306323d3ad8160e21b61101b565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a5e611259565b610a6860006114a3565b565b610a72611259565b600a6108288282611dcb565b60606003805461071290611d43565b600080610aa36001546000546000199190030190565b90506000600e54821015610ab9575060006106fd565b6107d0821015610ad1575066038d7ea4c680006106fd565b610fa0821015610ae9575066071afd498d00006106fd565b611770821015610b015750660aa87bee5380006106fd565b50660e35fa931a000092915050565b600b805461083990611d43565b80600a811115610b685760405162461bcd60e51b815260206004820152601660248201527526b0bc101898103832b9103a3930b739b0b1ba34b7b760511b60448201526064016109fc565b600c546001546000548391900360001901610b839190611ea1565b1115610bc85760405162461bcd60e51b81526020600482015260146024820152734d617820537570706c792045786365656465642160601b60448201526064016109fc565b610bd06114f5565b60115460ff1615610c345760405162461bcd60e51b815260206004820152602860248201527f546865205374726565742044617767732068617665206e6f74206265656e2072604482015267656c65617365642160c01b60648201526084016109fc565b6000610c3e610a8d565b9050600a6000829003610c4f575060015b610c598285611eb4565b3410158015610c6757508115155b610cd8573360009081526005602052604090819020548291610c959187911c67ffffffffffffffff16611ea1565b1115610cd85760405162461bcd60e51b815260206004820152601260248201527146726565206d696e7420636c61696d65642160701b60448201526064016109fc565b610ce28285611eb4565b341015610d275760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742046756e64732160681b60448201526064016109fc565b610d3133856112b3565b50506108286001600955565b81610d4781611025565b6107e4838361154e565b610d59611259565b600b6108288282611dcb565b600a805461083990611d43565b836001600160a01b0381163314610d8c57610d8c33611025565b610d98858585856115ba565b5050505050565b6060610daa82610fe6565b610e0e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109fc565b601154610100900460ff161515600003610eb457600b8054610e2f90611d43565b80601f0160208091040260200160405190810160405280929190818152602001828054610e5b90611d43565b8015610ea85780601f10610e7d57610100808354040283529160200191610ea8565b820191906000526020600020905b815481529060010190602001808311610e8b57829003601f168201915b50505050509050919050565b6000610ebe6115f5565b90506000815111610ede5760405180602001604052806000815250610f0c565b80610ee884611604565b600f604051602001610efc93929190611ecb565b6040516020818303038152906040525b9392505050565b610f1b611259565b601180549115156101000261ff0019909216919091179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f6b611259565b6001600160a01b038116610fd05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109fc565b6108cc816114a3565b610fe1611259565b600c55565b600081600111158015610ffa575060005482105b80156106fd575050600090815260046020526040902054600160e01b161590565b8060005260046000fd5b6daaeb6d7670e522a718067333cd4e3b156108cc57604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611092573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b69190611f7d565b6108cc57604051633b79c77360e21b81526001600160a01b03821660048201526024016109fc565b61082882826001611697565b60006110f5826112e8565b6001600160a01b03948516949091508116841461111b5761111b62a1148160e81b61101b565b600082815260066020526040902080546111478187335b6001600160a01b039081169116811491141790565b611169576111558633610f35565b61116957611169632ce44b5f60e11b61101b565b801561117457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003611206576001840160008181526004602052604081205490036112045760005481146112045760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361125057611250633a954ecd60e21b61101b565b50505050505050565b6008546001600160a01b03163314610a685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109fc565b61082882826040518060200160405280600081525061173a565b6107e483838360405180602001604052806000815250610d72565b600081600111611352575060008181526004602052604081205490600160e01b82169003611352578060000361134d57600054821061133157611331636f96cda160e11b61101b565b5b50600019016000818152600460205260409020548015611332575b919050565b61134d636f96cda160e11b61101b565b600061136d836112e8565b90508060008061138b86600090815260066020526040902080549091565b9150915084156113c2576113a0818433611132565b6113c2576113ae8333610f35565b6113c2576113c2632ce44b5f60e11b61101b565b80156113cd57600082555b6001600160a01b038316600081815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b8516900361145b576001860160008181526004602052604081205490036114595760005481146114595760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6002600954036115475760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109fc565b6002600955565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115c58484846107e9565b6001600160a01b0383163b1561080e576115e18484848461179c565b61080e5761080e6368d2bf6b60e11b61101b565b6060600a805461071290611d43565b606060006116118361187f565b600101905060008167ffffffffffffffff81111561163157611631611b42565b6040519080825280601f01601f19166020018201604052801561165b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461166557509392505050565b60006116a283610995565b90508180156116ba5750336001600160a01b03821614155b156116dd576116c98133610f35565b6116dd576116dd6367d9dca160e11b61101b565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6117448383611957565b6001600160a01b0383163b156107e4576000548281035b61176e600086838060010194508661179c565b611782576117826368d2bf6b60e11b61101b565b81811061175b578160005414610d9857610d98600061101b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117d1903390899088908890600401611f9a565b6020604051808303816000875af192505050801561180c575060408051601f3d908101601f1916820190925261180991810190611fd7565b60015b611861573d80801561183a576040519150601f19603f3d011682016040523d82523d6000602084013e61183f565b606091505b508051600003611859576118596368d2bf6b60e11b61101b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106118be5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118ea576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061190857662386f26fc10000830492506010015b6305f5e1008310611920576305f5e100830492506008015b612710831061193457612710830492506004015b60648310611946576064830492506002015b600a83106106fd5760010192915050565b60008054908290036119735761197363b562e8dd60e01b61101b565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036119d1576119d1622e076360e81b61101b565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036119d6575060005550505050565b6001600160e01b0319811681146108cc57600080fd5b600060208284031215611a3e57600080fd5b8135610f0c81611a16565b60005b83811015611a64578181015183820152602001611a4c565b50506000910152565b60008151808452611a85816020860160208601611a49565b601f01601f19169290920160200192915050565b602081526000610f0c6020830184611a6d565b600060208284031215611abe57600080fd5b5035919050565b80356001600160a01b038116811461134d57600080fd5b60008060408385031215611aef57600080fd5b611af883611ac5565b946020939093013593505050565b600080600060608486031215611b1b57600080fd5b611b2484611ac5565b9250611b3260208501611ac5565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b7357611b73611b42565b604051601f8501601f19908116603f01168101908282118183101715611b9b57611b9b611b42565b81604052809350858152868686011115611bb457600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611be057600080fd5b813567ffffffffffffffff811115611bf757600080fd5b8201601f81018413611c0857600080fd5b61187784823560208401611b58565b80151581146108cc57600080fd5b600060208284031215611c3757600080fd5b8135610f0c81611c17565b600060208284031215611c5457600080fd5b610f0c82611ac5565b60008060408385031215611c7057600080fd5b611c7983611ac5565b91506020830135611c8981611c17565b809150509250929050565b60008060008060808587031215611caa57600080fd5b611cb385611ac5565b9350611cc160208601611ac5565b925060408501359150606085013567ffffffffffffffff811115611ce457600080fd5b8501601f81018713611cf557600080fd5b611d0487823560208401611b58565b91505092959194509250565b60008060408385031215611d2357600080fd5b611d2c83611ac5565b9150611d3a60208401611ac5565b90509250929050565b600181811c90821680611d5757607f821691505b602082108103611d7757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156107e457600081815260208120601f850160051c81016020861015611da45750805b601f850160051c820191505b81811015611dc357828155600101611db0565b505050505050565b815167ffffffffffffffff811115611de557611de5611b42565b611df981611df38454611d43565b84611d7d565b602080601f831160018114611e2e5760008415611e165750858301515b600019600386901b1c1916600185901b178555611dc3565b600085815260208120601f198616915b82811015611e5d57888601518255948401946001909101908401611e3e565b5085821015611e7b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808201808211156106fd576106fd611e8b565b80820281158282048414176106fd576106fd611e8b565b600084516020611ede8285838a01611a49565b8184019150602f60f81b825260018651611efd81838601858b01611a49565b8654930192600090611f0e81611d43565b8184168015611f245760018114611f3d57611f6d565b60ff198316878601528115158202870185019350611f6d565b896000528560002060005b83811015611f63578154898201880152908601908701611f48565b5050848288010193505b50919a9950505050505050505050565b600060208284031215611f8f57600080fd5b8151610f0c81611c17565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fcd90830184611a6d565b9695505050505050565b600060208284031215611fe957600080fd5b8151610f0c81611a1656fea264697066735822122040e24ff32e231707894e49d20707fef7105f9908661e0bbaeee6ed6cfd52091564736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000177000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000003d68747470733a2f2f7075622d38633864356634353830643134343638613735356232383636646134396139662e72322e6465762f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000000000016100000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _maxDawgs (uint256): 6000
Arg [1] : _maxFreeDawgs (uint256): 1000
Arg [2] : _dawgMetadata (string): https://pub-8c8d5f4580d14468a755b2866da49a9f.r2.dev/metadata/
Arg [3] : _hiddenDawgMetadata (string): a
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000001770
Arg [1] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [4] : 000000000000000000000000000000000000000000000000000000000000003d
Arg [5] : 68747470733a2f2f7075622d3863386435663435383064313434363861373535
Arg [6] : 6232383636646134396139662e72322e6465762f6d657461646174612f000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [8] : 6100000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
89162:5799:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54554:639;;;;;;;;;;-1:-1:-1;54554:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;54554:639:0;;;;;;;;55456:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;61883:227::-;;;;;;;;;;-1:-1:-1;61883:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;61883:227:0;1533:203:1;94233:159:0;;;;;;:::i;:::-;;:::i;:::-;;51198:323;;;;;;;;;;-1:-1:-1;92157:1:0;51472:12;51259:7;51456:13;:28;-1:-1:-1;;51456:46:0;51198:323;;;2324:25:1;;;2312:2;2297:18;51198:323:0;2178:177:1;94398:165:0;;;;;;:::i;:::-;;:::i;93350:102::-;;;;;;;;;;-1:-1:-1;93350:102:0;;;;;:::i;:::-;;:::i;89516:30::-;;;;;;;;;;-1:-1:-1;89516:30:0;;;;;;;;89448:34;;;;;;;;;;;;;:::i;90062:86::-;;;;;;;;;;-1:-1:-1;90062:86:0;;;;;:::i;:::-;;:::i;93772:139::-;;;;;;;;;;;;;:::i;12346:143::-;;;;;;;;;;;;12446:42;12346:143;;94569:173;;;;;;:::i;:::-;;:::i;93523:87::-;;;;;;;;;;-1:-1:-1;93523:87:0;;;;;:::i;:::-;;:::i;92862:88::-;;;;;;;;;;-1:-1:-1;92862:88:0;;;;;:::i;:::-;;:::i;56858:152::-;;;;;;;;;;-1:-1:-1;56858:152:0;;;;;:::i;:::-;;:::i;90902:160::-;;;;;;;;;;-1:-1:-1;90902:160:0;;;;;:::i;:::-;;:::i;52382:242::-;;;;;;;;;;-1:-1:-1;52382:242:0;;;;;:::i;:::-;;:::i;35412:103::-;;;;;;;;;;;;;:::i;93183:109::-;;;;;;;;;;-1:-1:-1;93183:109:0;;;;;:::i;:::-;;:::i;89379:32::-;;;;;;;;;;;;;;;;89487:24;;;;;;;;;;;;;;;;34764:87;;;;;;;;;;-1:-1:-1;34837:6:0;;-1:-1:-1;;;;;34837:6:0;34764:87;;48855:28;;;;;;;;;;;;;;;;55632:104;;;;;;;;;;;;;:::i;89551:34::-;;;;;;;;;;-1:-1:-1;89551:34:0;;;;;;;;;;;90394:447;;;;;;;;;;;;;:::i;89416:27::-;;;;;;;;;;;;;;;;89313:33;;;;;;;;;;;;;:::i;91360:658::-;;;;;;:::i;:::-;;:::i;94057:170::-;;;;;;;;;;-1:-1:-1;94057:170:0;;;;;:::i;:::-;;:::i;93001:136::-;;;;;;;;;;-1:-1:-1;93001:136:0;;;;;:::i;:::-;;:::i;89282:26::-;;;;;;;;;;;;;:::i;94748:210::-;;;;;;:::i;:::-;;:::i;92210:451::-;;;;;;;;;;-1:-1:-1;92210:451:0;;;;;:::i;:::-;;:::i;92712:93::-;;;;;;;;;;-1:-1:-1;92712:93:0;;;;;:::i;:::-;;:::i;62841:164::-;;;;;;;;;;-1:-1:-1;62841:164:0;;;;;:::i;:::-;;:::i;89351:23::-;;;;;;;;;;;;;;;;35670:201;;;;;;;;;;-1:-1:-1;35670:201:0;;;;;:::i;:::-;;:::i;93671:95::-;;;;;;;;;;-1:-1:-1;93671:95:0;;;;;:::i;:::-;;:::i;54554:639::-;54639:4;-1:-1:-1;;;;;;;;;54963:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;55040:25:0;;;54963:102;:179;;;-1:-1:-1;;;;;;;;;;55117:25:0;;;54963:179;54943:199;54554:639;-1:-1:-1;;54554:639:0:o;55456:100::-;55510:13;55543:5;55536:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55456:100;:::o;61883:227::-;61959:7;61984:16;61992:7;61984;:16::i;:::-;61979:73;;62002:50;-1:-1:-1;;;62002:7:0;:50::i;:::-;-1:-1:-1;62072:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;62072:30:0;;61883:227::o;94233:159::-;94337:8;13867:30;13888:8;13867:20;:30::i;:::-;94354:32:::1;94368:8;94378:7;94354:13;:32::i;:::-;94233:159:::0;;;:::o;94398:165::-;94507:4;-1:-1:-1;;;;;13687:18:0;;13695:10;13687:18;13683:83;;13722:32;13743:10;13722:20;:32::i;:::-;94520:37:::1;94539:4;94545:2;94549:7;94520:18;:37::i;:::-;94398:165:::0;;;;:::o;93350:102::-;34650:13;:11;:13::i;:::-;93423:10:::1;:23;93436:10:::0;93423;:23:::1;:::i;:::-;;93350:102:::0;:::o;89448:34::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;90062:86::-;34650:13;:11;:13::i;:::-;90116:26:::1;90126:10;90138:3;90116:9;:26::i;:::-;90062:86:::0;:::o;93772:139::-;34650:13;:11;:13::i;:::-;93819:7:::1;93840;34837:6:::0;;-1:-1:-1;;;;;34837:6:0;;34764:87;93840:7:::1;-1:-1:-1::0;;;;;93832:21:0::1;93861;93832:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93818:69;;;93902:2;93894:11;;;::::0;::::1;94569:173:::0;94682:4;-1:-1:-1;;;;;13687:18:0;;13695:10;13687:18;13683:83;;13722:32;13743:10;13722:20;:32::i;:::-;94695:41:::1;94718:4;94724:2;94728:7;94695:22;:41::i;93523:87::-:0;34650:13;:11;:13::i;:::-;93584:11:::1;:20:::0;;-1:-1:-1;;93584:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;93523:87::o;92862:88::-;34650:13;:11;:13::i;:::-;92926:9:::1;:16:::0;92862:88::o;56858:152::-;56930:7;56973:27;56992:7;56973:18;:27::i;90902:160::-;33450:10;90961:16;90969:7;90961;:16::i;:::-;-1:-1:-1;;;;;90961:32:0;;90953:76;;;;-1:-1:-1;;;90953:76:0;;9342:2:1;90953:76:0;;;9324:21:1;9381:2;9361:18;;;9354:30;9420:33;9400:18;;;9393:61;9471:18;;90953:76:0;;;;;;;;;91036:20;91042:7;91051:4;91036:5;:20::i;52382:242::-;52454:7;-1:-1:-1;;;;;52478:19:0;;52474:69;;52499:44;-1:-1:-1;;;52499:7:0;:44::i;:::-;-1:-1:-1;;;;;;52561:25:0;;;;;:18;:25;;;;;;46542:13;52561:55;;52382:242::o;35412:103::-;34650:13;:11;:13::i;:::-;35477:30:::1;35504:1;35477:18;:30::i;:::-;35412:103::o:0;93183:109::-;34650:13;:11;:13::i;:::-;93258:12:::1;:28;93273:13:::0;93258:12;:28:::1;:::i;55632:104::-:0;55688:13;55721:7;55714:14;;;;;:::i;90394:447::-;90435:7;90451:14;90468:13;92157:1;51472:12;51259:7;51456:13;-1:-1:-1;;51456:28:0;;;:46;;51198:323;90468:13;90451:30;;90488:12;90524;;90515:6;:21;90511:307;;;-1:-1:-1;90556:1:0;90511:307;;;90584:4;90575:6;:13;90571:247;;;-1:-1:-1;90616:11:0;90571:247;;;90654:4;90645:6;:13;90641:177;;;-1:-1:-1;90686:11:0;90641:177;;;90724:4;90715:6;:13;90711:107;;;-1:-1:-1;90756:11:0;90711:107;;;-1:-1:-1;90799:11:0;90831:4;90394:447;-1:-1:-1;;90394:447:0:o;89313:33::-;;;;;;;:::i;91360:658::-;91426:11;91192:2;91177:11;:17;;91169:52;;;;-1:-1:-1;;;91169:52:0;;9702:2:1;91169:52:0;;;9684:21:1;9741:2;9721:18;;;9714:30;-1:-1:-1;;;9760:18:1;;;9753:52;9822:18;;91169:52:0;9500:346:1;91169:52:0;91267:8;;92157:1;51472:12;51259:7;51456:13;91252:11;;51456:28;;-1:-1:-1;;51456:46:0;91236:27;;;;:::i;:::-;:39;;91228:72;;;;-1:-1:-1;;;91228:72:0;;10315:2:1;91228:72:0;;;10297:21:1;10354:2;10334:18;;;10327:30;-1:-1:-1;;;10373:18:1;;;10366:50;10433:18;;91228:72:0;10113:344:1;91228:72:0;17055:21:::1;:19;:21::i;:::-;91468:11:::2;::::0;::::2;;91467:12;91459:65;;;::::0;-1:-1:-1;;;91459:65:0;;10664:2:1;91459:65:0::2;::::0;::::2;10646:21:1::0;10703:2;10683:18;;;10676:30;10742:34;10722:18;;;10715:62;-1:-1:-1;;;10793:18:1;;;10786:38;10841:19;;91459:65:0::2;10462:404:1::0;91459:65:0::2;91533:13;91549:10;:8;:10::i;:::-;91533:26:::0;-1:-1:-1;91590:2:0::2;91566:21;91638:10:::0;;;91634:50:::2;;-1:-1:-1::0;91675:1:0::2;91634:50;91710:19;91724:5:::0;91710:11;:19:::2;:::i;:::-;91697:9;:32;;91696:48;;;;-1:-1:-1::0;91734:10:0;;::::2;91696:48;91692:199;;91801:10;52767:7:::0;52795:25;;;:18;:25;;46680:2;52795:25;;;;;91830:13;;91787:39:::2;::::0;91815:11;;52795:50;46542:13;52794:82;91787:39:::2;:::i;:::-;:56;;91769:114;;;::::0;-1:-1:-1;;;91769:114:0;;11246:2:1;91769:114:0::2;::::0;::::2;11228:21:1::0;11285:2;11265:18;;;11258:30;-1:-1:-1;;;11304:18:1;;;11297:48;11362:18;;91769:114:0::2;11044:342:1::0;91769:114:0::2;91926:19;91940:5:::0;91926:11;:19:::2;:::i;:::-;91913:9;:32;;91905:64;;;::::0;-1:-1:-1;;;91905:64:0;;11593:2:1;91905:64:0::2;::::0;::::2;11575:21:1::0;11632:2;11612:18;;;11605:30;-1:-1:-1;;;11651:18:1;;;11644:49;11710:18;;91905:64:0::2;11391:343:1::0;91905:64:0::2;91976:36;33450:10:::0;92000:11:::2;91976:9;:36::i;:::-;91452:566;;17099:20:::1;16493:1:::0;17619:7;:22;17436:213;94057:170;94161:8;13867:30;13888:8;13867:20;:30::i;:::-;94178:43:::1;94202:8;94212;94178:23;:43::i;93001:136::-:0;34650:13;:11;:13::i;:::-;93091:19:::1;:40;93113:18:::0;93091:19;:40:::1;:::i;89282:26::-:0;;;;;;;:::i;94748:210::-;94889:4;-1:-1:-1;;;;;13687:18:0;;13695:10;13687:18;13683:83;;13722:32;13743:10;13722:20;:32::i;:::-;94905:47:::1;94928:4;94934:2;94938:7;94947:4;94905:22;:47::i;:::-;94748:210:::0;;;;;:::o;92210:451::-;92284:13;92314:17;92322:8;92314:7;:17::i;:::-;92306:77;;;;-1:-1:-1;;;92306:77:0;;11941:2:1;92306:77:0;;;11923:21:1;11980:2;11960:18;;;11953:30;12019:34;11999:18;;;11992:62;-1:-1:-1;;;12070:18:1;;;12063:45;12125:19;;92306:77:0;11739:411:1;92306:77:0;92396:14;;;;;;;:23;;92414:5;92396:23;92392:72;;92437:19;92430:26;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92210:451;;;:::o;92392:72::-;92472:28;92503:10;:8;:10::i;:::-;92472:41;;92558:1;92533:14;92527:28;:32;:128;;;;;;;;;;;;;;;;;92591:14;92612:19;:8;:17;:19::i;:::-;92633:10;92574:70;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;92527:128;92520:135;92210:451;-1:-1:-1;;;92210:451:0:o;92712:93::-;34650:13;:11;:13::i;:::-;92776:14:::1;:23:::0;;;::::1;;;;-1:-1:-1::0;;92776:23:0;;::::1;::::0;;;::::1;::::0;;92712:93::o;62841:164::-;-1:-1:-1;;;;;62962:25:0;;;62938:4;62962:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;62841:164::o;35670:201::-;34650:13;:11;:13::i;:::-;-1:-1:-1;;;;;35759:22:0;::::1;35751:73;;;::::0;-1:-1:-1;;;35751:73:0;;13776:2:1;35751:73:0::1;::::0;::::1;13758:21:1::0;13815:2;13795:18;;;13788:30;13854:34;13834:18;;;13827:62;-1:-1:-1;;;13905:18:1;;;13898:36;13951:19;;35751:73:0::1;13574:402:1::0;35751:73:0::1;35835:28;35854:8;35835:18;:28::i;93671:95::-:0;34650:13;:11;:13::i;:::-;93740:8:::1;:20:::0;93671:95::o;63263:282::-;63328:4;63384:7;92157:1;63365:26;;:66;;;;;63418:13;;63408:7;:23;63365:66;:153;;;;-1:-1:-1;;63469:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;63469:44:0;:49;;63263:282::o;88955:165::-;89056:13;89050:4;89043:27;89097:4;89091;89084:18;13925:419;12446:42;14116:45;:49;14112:225;;14187:67;;-1:-1:-1;;;14187:67:0;;14238:4;14187:67;;;14193:34:1;-1:-1:-1;;;;;14263:15:1;;14243:18;;;14236:43;12446:42:0;;14187;;14128:18:1;;14187:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;14182:144;;14282:28;;-1:-1:-1;;;14282:28:0;;-1:-1:-1;;;;;1697:32:1;;14282:28:0;;;1679:51:1;1652:18;;14282:28:0;1533:203:1;61600:124:0;61689:27;61698:2;61702:7;61711:4;61689:8;:27::i;65531:3523::-;65673:27;65703;65722:7;65703:18;:27::i;:::-;-1:-1:-1;;;;;65858:22:0;;;;65673:57;;-1:-1:-1;65918:45:0;;;;65914:95;;65965:44;-1:-1:-1;;;65965:7:0;:44::i;:::-;66023:27;64639:24;;;:15;:24;;;;;64867:26;;66214:68;64867:26;66256:4;33450:10;66262:19;-1:-1:-1;;;;;64113:32:0;;;63957:28;;64242:20;;64264:30;;64239:56;;63654:659;66214:68;66209:189;;66302:43;66319:4;33450:10;62841:164;:::i;66302:43::-;66297:101;;66347:51;-1:-1:-1;;;66347:7:0;:51::i;:::-;66547:15;66544:160;;;66687:1;66666:19;66659:30;66544:160;-1:-1:-1;;;;;67084:24:0;;;;;;;:18;:24;;;;;;67082:26;;-1:-1:-1;;67082:26:0;;;67153:22;;;;;;;;;67151:24;;-1:-1:-1;67151:24:0;;;60702:11;60677:23;60673:41;60660:63;-1:-1:-1;;;60660:63:0;67446:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;67741:47:0;;:52;;67737:627;;67846:1;67836:11;;67814:19;67969:30;;;:17;:30;;;;;;:35;;67965:384;;68107:13;;68092:11;:28;68088:242;;68254:30;;;;:17;:30;;;;;:52;;;68088:242;67795:569;67737:627;-1:-1:-1;;;;;68496:20:0;;68876:7;68496:20;68806:4;68748:25;68477:16;;68613:299;68937:8;68949:1;68937:13;68933:58;;68952:39;-1:-1:-1;;;68952:7:0;:39::i;:::-;65662:3392;;;;65531:3523;;;:::o;34929:132::-;34837:6;;-1:-1:-1;;;;;34837:6:0;33450:10;34993:23;34985:68;;;;-1:-1:-1;;;34985:68:0;;14742:2:1;34985:68:0;;;14724:21:1;;;14761:18;;;14754:30;14820:34;14800:18;;;14793:62;14872:18;;34985:68:0;14540:356:1;79470:112:0;79547:27;79557:2;79561:8;79547:27;;;;;;;;;;;;:9;:27::i;69150:193::-;69296:39;69313:4;69319:2;69323:7;69296:39;;;;;;;;;;;;:16;:39::i;58013:1730::-;58080:14;58130:7;92157:1;58111:26;58107:1571;;-1:-1:-1;58163:26:0;;;;:17;:26;;;;;;;-1:-1:-1;;;58239:24:0;;:29;;58235:1432;;58378:6;58388:1;58378:11;58374:990;;58429:13;;58418:7;:24;58414:77;;58444:47;-1:-1:-1;;;58444:7:0;:47::i;:::-;59088:257;-1:-1:-1;;;59192:9:0;59174:28;;;;:17;:28;;;;;;59256:25;;59088:257;59256:25;;58013:1730;;;:::o;58235:1432::-;59688:47;-1:-1:-1;;;59688:7:0;:47::i;81447:3090::-;81527:27;81557;81576:7;81557:18;:27::i;:::-;81527:57;-1:-1:-1;81527:57:0;81597:12;;81719:35;81746:7;64528:27;64639:24;;;:15;:24;;;;;64867:26;;64639:24;;64426:485;81719:35;81662:92;;;;81771:13;81767:325;;;81892:68;81917:15;81934:4;33450:10;81940:19;33370:98;81892:68;81887:193;;81984:43;82001:4;33450:10;62841:164;:::i;81984:43::-;81979:101;;82029:51;-1:-1:-1;;;82029:7:0;:51::i;:::-;82248:15;82245:160;;;82388:1;82367:19;82360:30;82245:160;-1:-1:-1;;;;;83007:24:0;;;;;;:18;:24;;;;;:60;;83035:32;83007:60;;;60702:11;60677:23;60673:41;60660:63;-1:-1:-1;;;60660:63:0;83305:26;;;;:17;:26;;;;;:205;;;;-1:-1:-1;;;83630:47:0;;:52;;83626:627;;83735:1;83725:11;;83703:19;83858:30;;;:17;:30;;;;;;:35;;83854:384;;83996:13;;83981:11;:28;83977:242;;84143:30;;;;:17;:30;;;;;:52;;;83977:242;83684:569;83626:627;84281:35;;84308:7;;84304:1;;-1:-1:-1;;;;;84281:35:0;;;;;84304:1;;84281:35;-1:-1:-1;;84504:12:0;:14;;;;;;-1:-1:-1;;;;81447:3090:0:o;36031:191::-;36124:6;;;-1:-1:-1;;;;;36141:17:0;;;-1:-1:-1;;;;;;36141:17:0;;;;;;;36174:40;;36124:6;;;36141:17;36124:6;;36174:40;;36105:16;;36174:40;36094:128;36031:191;:::o;17135:293::-;16537:1;17269:7;;:19;17261:63;;;;-1:-1:-1;;;17261:63:0;;15103:2:1;17261:63:0;;;15085:21:1;15142:2;15122:18;;;15115:30;15181:33;15161:18;;;15154:61;15232:18;;17261:63:0;14901:355:1;17261:63:0;16537:1;17402:7;:18;17135:293::o;62450:234::-;33450:10;62545:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;62545:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;62545:60:0;;;;;;;;;;62621:55;;540:41:1;;;62545:49:0;;33450:10;62621:55;;513:18:1;62621:55:0;;;;;;;62450:234;;:::o;69941:416::-;70116:31;70129:4;70135:2;70139:7;70116:12;:31::i;:::-;-1:-1:-1;;;;;70162:14:0;;;:19;70158:192;;70201:56;70232:4;70238:2;70242:7;70251:5;70201:30;:56::i;:::-;70196:154;;70278:56;-1:-1:-1;;;70278:7:0;:56::i;93915:107::-;93975:13;94004:12;93997:19;;;;;:::i;30851:716::-;30907:13;30958:14;30975:17;30986:5;30975:10;:17::i;:::-;30995:1;30975:21;30958:38;;31011:20;31045:6;31034:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31034:18:0;-1:-1:-1;31011:41:0;-1:-1:-1;31176:28:0;;;31192:2;31176:28;31233:288;-1:-1:-1;;31265:5:0;-1:-1:-1;;;31402:2:0;31391:14;;31386:30;31265:5;31373:44;31463:2;31454:11;;;-1:-1:-1;31484:21:0;31233:288;31484:21;-1:-1:-1;31542:6:0;30851:716;-1:-1:-1;;;30851:716:0:o;80388:474::-;80517:13;80533:16;80541:7;80533;:16::i;:::-;80517:32;;80566:13;:45;;;;-1:-1:-1;33450:10:0;-1:-1:-1;;;;;80583:28:0;;;;80566:45;80562:201;;;80631:44;80648:5;33450:10;62841:164;:::i;80631:44::-;80626:137;;80696:51;-1:-1:-1;;;80696:7:0;:51::i;:::-;80775:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;80775:35:0;-1:-1:-1;;;;;80775:35:0;;;;;;;;;80826:28;;80775:24;;80826:28;;;;;;;80506:356;80388:474;;;:::o;78678:708::-;78809:19;78815:2;78819:8;78809:5;:19::i;:::-;-1:-1:-1;;;;;78870:14:0;;;:19;78866:502;;78910:11;78924:13;78972:14;;;79005:242;79036:62;79075:1;79079:2;79083:7;;;;;;79092:5;79036:30;:62::i;:::-;79031:176;;79127:56;-1:-1:-1;;;79127:7:0;:56::i;:::-;79242:3;79234:5;:11;79005:242;;79329:3;79312:13;;:20;79308:44;;79334:18;79349:1;79334:7;:18::i;72441:691::-;72625:88;;-1:-1:-1;;;72625:88:0;;72604:4;;-1:-1:-1;;;;;72625:45:0;;;;;:88;;33450:10;;72692:4;;72698:7;;72707:5;;72625:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72625:88:0;;;;;;;;-1:-1:-1;;72625:88:0;;;;;;;;;;;;:::i;:::-;;;72621:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72908:6;:13;72925:1;72908:18;72904:115;;72947:56;-1:-1:-1;;;72947:7:0;:56::i;:::-;73091:6;73085:13;73076:6;73072:2;73068:15;73061:38;72621:504;-1:-1:-1;;;;;;72784:64:0;-1:-1:-1;;;72784:64:0;;-1:-1:-1;72621:504:0;72441:691;;;;;;:::o;27771:922::-;27824:7;;-1:-1:-1;;;27902:15:0;;27898:102;;-1:-1:-1;;;27938:15:0;;;-1:-1:-1;27982:2:0;27972:12;27898:102;28027:6;28018:5;:15;28014:102;;28063:6;28054:15;;;-1:-1:-1;28098:2:0;28088:12;28014:102;28143:6;28134:5;:15;28130:102;;28179:6;28170:15;;;-1:-1:-1;28214:2:0;28204:12;28130:102;28259:5;28250;:14;28246:99;;28294:5;28285:14;;;-1:-1:-1;28328:1:0;28318:11;28246:99;28372:5;28363;:14;28359:99;;28407:5;28398:14;;;-1:-1:-1;28441:1:0;28431:11;28359:99;28485:5;28476;:14;28472:99;;28520:5;28511:14;;;-1:-1:-1;28554:1:0;28544:11;28472:99;28598:5;28589;:14;28585:66;;28634:1;28624:11;28679:6;27771:922;-1:-1:-1;;27771:922:0:o;73594:2305::-;73667:20;73690:13;;;73718;;;73714:53;;73733:34;-1:-1:-1;;;73733:7:0;:34::i;:::-;74280:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;60528:28:0;;60702:11;60677:23;60673:41;61146:1;61133:15;;61107:24;61103:46;60670:52;60660:63;;74280:173;;;74671:22;;;:18;:22;;;;;:71;;74709:32;74697:45;;74671:71;;;60528:28;74932:13;;;74928:54;;74947:35;-1:-1:-1;;;74947:7:0;:35::i;:::-;75013:23;;;:12;75098:676;75517:7;75473:8;75428:1;75362:25;75299:1;75234;75203:358;75769:3;75756:9;;;;;;:16;75098:676;;-1:-1:-1;75790:13:0;:19;-1:-1:-1;94233:159:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:127::-;2754:10;2749:3;2745:20;2742:1;2735:31;2785:4;2782:1;2775:15;2809:4;2806:1;2799:15;2825:632;2890:5;2920:18;2961:2;2953:6;2950:14;2947:40;;;2967:18;;:::i;:::-;3042:2;3036:9;3010:2;3096:15;;-1:-1:-1;;3092:24:1;;;3118:2;3088:33;3084:42;3072:55;;;3142:18;;;3162:22;;;3139:46;3136:72;;;3188:18;;:::i;:::-;3228:10;3224:2;3217:22;3257:6;3248:15;;3287:6;3279;3272:22;3327:3;3318:6;3313:3;3309:16;3306:25;3303:45;;;3344:1;3341;3334:12;3303:45;3394:6;3389:3;3382:4;3374:6;3370:17;3357:44;3449:1;3442:4;3433:6;3425;3421:19;3417:30;3410:41;;;;2825:632;;;;;:::o;3462:451::-;3531:6;3584:2;3572:9;3563:7;3559:23;3555:32;3552:52;;;3600:1;3597;3590:12;3552:52;3640:9;3627:23;3673:18;3665:6;3662:30;3659:50;;;3705:1;3702;3695:12;3659:50;3728:22;;3781:4;3773:13;;3769:27;-1:-1:-1;3759:55:1;;3810:1;3807;3800:12;3759:55;3833:74;3899:7;3894:2;3881:16;3876:2;3872;3868:11;3833:74;:::i;4157:118::-;4243:5;4236:13;4229:21;4222:5;4219:32;4209:60;;4265:1;4262;4255:12;4280:241;4336:6;4389:2;4377:9;4368:7;4364:23;4360:32;4357:52;;;4405:1;4402;4395:12;4357:52;4444:9;4431:23;4463:28;4485:5;4463:28;:::i;4711:186::-;4770:6;4823:2;4811:9;4802:7;4798:23;4794:32;4791:52;;;4839:1;4836;4829:12;4791:52;4862:29;4881:9;4862:29;:::i;5084:315::-;5149:6;5157;5210:2;5198:9;5189:7;5185:23;5181:32;5178:52;;;5226:1;5223;5216:12;5178:52;5249:29;5268:9;5249:29;:::i;:::-;5239:39;;5328:2;5317:9;5313:18;5300:32;5341:28;5363:5;5341:28;:::i;:::-;5388:5;5378:15;;;5084:315;;;;;:::o;5404:667::-;5499:6;5507;5515;5523;5576:3;5564:9;5555:7;5551:23;5547:33;5544:53;;;5593:1;5590;5583:12;5544:53;5616:29;5635:9;5616:29;:::i;:::-;5606:39;;5664:38;5698:2;5687:9;5683:18;5664:38;:::i;:::-;5654:48;;5749:2;5738:9;5734:18;5721:32;5711:42;;5804:2;5793:9;5789:18;5776:32;5831:18;5823:6;5820:30;5817:50;;;5863:1;5860;5853:12;5817:50;5886:22;;5939:4;5931:13;;5927:27;-1:-1:-1;5917:55:1;;5968:1;5965;5958:12;5917:55;5991:74;6057:7;6052:2;6039:16;6034:2;6030;6026:11;5991:74;:::i;:::-;5981:84;;;5404:667;;;;;;;:::o;6076:260::-;6144:6;6152;6205:2;6193:9;6184:7;6180:23;6176:32;6173:52;;;6221:1;6218;6211:12;6173:52;6244:29;6263:9;6244:29;:::i;:::-;6234:39;;6292:38;6326:2;6315:9;6311:18;6292:38;:::i;:::-;6282:48;;6076:260;;;;;:::o;6341:380::-;6420:1;6416:12;;;;6463;;;6484:61;;6538:4;6530:6;6526:17;6516:27;;6484:61;6591:2;6583:6;6580:14;6560:18;6557:38;6554:161;;6637:10;6632:3;6628:20;6625:1;6618:31;6672:4;6669:1;6662:15;6700:4;6697:1;6690:15;6554:161;;6341:380;;;:::o;6852:545::-;6954:2;6949:3;6946:11;6943:448;;;6990:1;7015:5;7011:2;7004:17;7060:4;7056:2;7046:19;7130:2;7118:10;7114:19;7111:1;7107:27;7101:4;7097:38;7166:4;7154:10;7151:20;7148:47;;;-1:-1:-1;7189:4:1;7148:47;7244:2;7239:3;7235:12;7232:1;7228:20;7222:4;7218:31;7208:41;;7299:82;7317:2;7310:5;7307:13;7299:82;;;7362:17;;;7343:1;7332:13;7299:82;;;7303:3;;;6852:545;;;:::o;7573:1352::-;7699:3;7693:10;7726:18;7718:6;7715:30;7712:56;;;7748:18;;:::i;:::-;7777:97;7867:6;7827:38;7859:4;7853:11;7827:38;:::i;:::-;7821:4;7777:97;:::i;:::-;7929:4;;7993:2;7982:14;;8010:1;8005:663;;;;8712:1;8729:6;8726:89;;;-1:-1:-1;8781:19:1;;;8775:26;8726:89;-1:-1:-1;;7530:1:1;7526:11;;;7522:24;7518:29;7508:40;7554:1;7550:11;;;7505:57;8828:81;;7975:944;;8005:663;6799:1;6792:14;;;6836:4;6823:18;;-1:-1:-1;;8041:20:1;;;8159:236;8173:7;8170:1;8167:14;8159:236;;;8262:19;;;8256:26;8241:42;;8354:27;;;;8322:1;8310:14;;;;8189:19;;8159:236;;;8163:3;8423:6;8414:7;8411:19;8408:201;;;8484:19;;;8478:26;-1:-1:-1;;8567:1:1;8563:14;;;8579:3;8559:24;8555:37;8551:42;8536:58;8521:74;;8408:201;-1:-1:-1;;;;;8655:1:1;8639:14;;;8635:22;8622:36;;-1:-1:-1;7573:1352:1:o;9851:127::-;9912:10;9907:3;9903:20;9900:1;9893:31;9943:4;9940:1;9933:15;9967:4;9964:1;9957:15;9983:125;10048:9;;;10069:10;;;10066:36;;;10082:18;;:::i;10871:168::-;10944:9;;;10975;;10992:15;;;10986:22;;10972:37;10962:71;;11013:18;;:::i;12155:1414::-;12480:3;12518:6;12512:13;12544:4;12557:64;12614:6;12609:3;12604:2;12596:6;12592:15;12557:64;:::i;:::-;12652:6;12647:3;12643:16;12630:29;;-1:-1:-1;;;12675:5:1;12668:18;12705:1;12737:6;12731:13;12753:77;12821:8;12816:2;12809:5;12805:14;12800:2;12792:6;12788:15;12753:77;:::i;:::-;12916:13;;12849:20;;;12889:1;;12954:36;12916:13;12954:36;:::i;:::-;13006:18;;;13033:153;;;;13200:1;13195:349;;;;12999:545;;13033:153;-1:-1:-1;;13074:24:1;;13061:11;;;13054:45;13152:16;;13145:24;13131:39;;13123:48;;13119:57;;;-1:-1:-1;13033:153:1;;13195:349;13226:6;13223:1;13216:17;13274:2;13271:1;13261:16;13299:1;13313:175;13327:8;13324:1;13321:15;13313:175;;;13415:14;;13398:10;;;13394:19;;13387:43;13458:16;;;;13344:10;;13313:175;;;13317:3;;13531:2;13520:8;13516:2;13512:17;13508:26;13501:33;;12999:545;-1:-1:-1;13560:3:1;;12155:1414;-1:-1:-1;;;;;;;;;;12155:1414:1:o;14290:245::-;14357:6;14410:2;14398:9;14389:7;14385:23;14381:32;14378:52;;;14426:1;14423;14416:12;14378:52;14458:9;14452:16;14477:28;14499:5;14477:28;:::i;15393:489::-;-1:-1:-1;;;;;15662:15:1;;;15644:34;;15714:15;;15709:2;15694:18;;15687:43;15761:2;15746:18;;15739:34;;;15809:3;15804:2;15789:18;;15782:31;;;15587:4;;15830:46;;15856:19;;15848:6;15830:46;:::i;:::-;15822:54;15393:489;-1:-1:-1;;;;;;15393:489:1:o;15887:249::-;15956:6;16009:2;15997:9;15988:7;15984:23;15980:32;15977:52;;;16025:1;16022;16015:12;15977:52;16057:9;16051:16;16076:30;16100:5;16076:30;:::i
Swarm Source
ipfs://40e24ff32e231707894e49d20707fef7105f9908661e0bbaeee6ed6cfd520915
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.