Contract Overview
Balance:
0 MATIC
MATIC Value:
$0.00
[ Download CSV Export ]
Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xE8CA04B6A982097Bce37F1E6c1D74Dc00191DF87
Contract Name:
Yakuza
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2022-11-23 */ // File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. * * [WARNING] * ==== * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable. * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info. * * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet. * ==== */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastValue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastValue; // Update the index for the moved value set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; /// @solidity memory-safe-assembly assembly { result := store } return result; } } // File: @openzeppelin/contracts/access/IAccessControl.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File: @openzeppelin/contracts/access/IAccessControlEnumerable.sol // OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable is IAccessControl { /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) external view returns (address); /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) external view returns (uint256); } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // 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); } } // File: @openzeppelin/contracts/security/Pausable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/access/AccessControl.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * May emit a {RoleGranted} event. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File: @openzeppelin/contracts/access/AccessControlEnumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {_grantRole} to track enumerable memberships */ function _grantRole(bytes32 role, address account) internal virtual override { super._grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {_revokeRole} to track enumerable memberships */ function _revokeRole(bytes32 role, address account) internal virtual override { super._revokeRole(role, account); _roleMembers[role].remove(account); } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @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 have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol) pragma solidity ^0.8.0; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _burn(tokenId); } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } // File: contracts/NFT/Yakuza.sol pragma solidity ^0.8.9; contract Yakuza is Context, AccessControlEnumerable, ERC721Enumerable, ERC721Burnable, ERC721Pausable, Ownable { using Counters for Counters.Counter; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; Counters.Counter private _tokenIdTracker; string private _baseTokenURI; uint256 private _startId; address private royaltyReceipient; uint256 private royaltyPercent; uint256 private maxPercent = 10000; mapping(address => uint256[]) ownedTokens; mapping(address => mapping(uint256 => uint256)) indexes; /** * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the * account that deploys the contract. * * Token URIs will be autogenerated based on `baseURI` and their token IDs. * See {ERC721-tokenURI}. */ constructor( string memory baseTokenURI, uint256 startId, address _royaltyReceipient, uint256 _royaltyPercent ) ERC721("OYABUN Yakuza", "OYABUN_YAKUZA") { _baseTokenURI = baseTokenURI; _startId = startId; royaltyPercent = _royaltyPercent; royaltyReceipient = _royaltyReceipient; _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(MINTER_ROLE, _msgSender()); _setupRole(PAUSER_ROLE, _msgSender()); _transferOwnership(_msgSender()); } function setRoyaltyPercent(uint256 newPercent) public onlyOwner { require(newPercent < maxPercent, "Yakuza: percent must be less than max"); royaltyPercent = newPercent; } function getOwnedTokens(address user, uint256 offset, uint256 count) public view returns(uint256[] memory) { require(offset + count <= ownedTokens[user].length, "Yakuza: user haven't enough tokens"); uint256[] memory result = new uint256[](count); for(uint256 i = 0; i < count; i += 1) { result[i] = ownedTokens[user][offset + i]; } return result; } function getOwnedTokensCount(address user) public view returns(uint256 result) { result = ownedTokens[user].length; } function _baseURI() internal view override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata _newBaseURI) public onlyOwner { _baseTokenURI = _newBaseURI; } /** * @dev Creates a new token for `to`. Its token ID will be automatically * assigned (and available on the emitted {IERC721-Transfer} event), and the token * URI autogenerated based on the base URI passed at construction. * * See {ERC721-_mint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. */ function mint(address to) public { require(hasRole(MINTER_ROLE, _msgSender()), "Yakuza: must have minter role to mint"); _mint(to, _startId + _tokenIdTracker.current()); _tokenIdTracker.increment(); } function mintBatch(address to, uint256 quantity) public { require(hasRole(MINTER_ROLE, _msgSender()), "Yakuza: must have minter role to mint"); for(uint i = 0; i < quantity; i += 1) { _mint(to, _startId + _tokenIdTracker.current()); _tokenIdTracker.increment(); } } function mintBulk(address[] calldata to, uint256[] calldata ids) public { require(to.length == ids.length, "Yakuza: array must be same length"); for(uint256 i = 0; i < to.length; i += 1) { require(ids[i] < _startId, "Yakuza: must be old token"); _mint(to[i], ids[i]); } } /** * @dev Pauses all token transfers. * * See {ERC721Pausable} and {Pausable-_pause}. * * Requirements: * * - the caller must have the `PAUSER_ROLE`. */ function pause() public { require(hasRole(PAUSER_ROLE, _msgSender()), "Yakuza: must have pauser role to pause"); _pause(); } /** * @dev Unpauses all token transfers. * * See {ERC721Pausable} and {Pausable-_unpause}. * * Requirements: * * - the caller must have the `PAUSER_ROLE`. */ function unpause() public { require(hasRole(PAUSER_ROLE, _msgSender()), "Yakuza: must have pauser role to unpause"); _unpause(); } function grantMinterRole(address minter) public onlyOwner { _grantRole(MINTER_ROLE, minter); } function revokeMinterRole(address minter) public onlyOwner { _revokeRole(MINTER_ROLE, minter); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721, ERC721Enumerable, ERC721Pausable) { super._beforeTokenTransfer(from, to, tokenId); if (from != address(0)) { delete indexes[from][tokenId]; uint256[] memory temp_owned_tokens = new uint256[](ownedTokens[from].length - 1); uint256 j = 0; for (uint256 i = 0; i < ownedTokens[from].length; i += 1) { if (ownedTokens[from][i] != tokenId) { temp_owned_tokens[j] = ownedTokens[from][i]; indexes[from][ownedTokens[from][i]] = j; j += 1; } } ownedTokens[from] = temp_owned_tokens; } if (to != address(0)) { uint256 index = ownedTokens[to].length; ownedTokens[to].push(tokenId); indexes[to][tokenId] = index; } } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { return (royaltyReceipient, _salePrice * royaltyPercent / maxPercent); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerable, ERC721, ERC721Enumerable) returns (bool) { return interfaceId == _INTERFACE_ID_ERC2981 || super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"address","name":"_royaltyReceipient","type":"address"},{"internalType":"uint256","name":"_royaltyPercent","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"offset","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"getOwnedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getOwnedTokensCount","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"grantMinterRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"mintBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"revokeMinterRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPercent","type":"uint256"}],"name":"setRoyaltyPercent","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526127106012553480156200001757600080fd5b506040516200353e3803806200353e8339810160408190526200003a9162000420565b6040518060400160405280600d81526020016c4f594142554e2059616b757a6160981b8152506040518060400160405280600d81526020016c4f594142554e5f59414b555a4160981b81525081600290805190602001906200009e92919062000347565b508051620000b490600390602084019062000347565b5050600c805460ff1916905550620000cc3362000188565b8351620000e190600e90602087019062000347565b50600f8390556011819055601080546001600160a01b0319166001600160a01b0384161790556200011b6000620001153390565b620001e2565b620001477f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620001e2565b620001737f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620001e2565b6200017e3362000188565b5050505062000560565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001ee8282620001f2565b5050565b6200020982826200023560201b620012701760201c565b600082815260016020908152604090912062000230918390620012f4620002d5821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16620001ee576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002913390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000620002ec836001600160a01b038416620002f5565b90505b92915050565b60008181526001830160205260408120546200033e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620002ef565b506000620002ef565b828054620003559062000523565b90600052602060002090601f016020900481019282620003795760008555620003c4565b82601f106200039457805160ff1916838001178555620003c4565b82800160010185558215620003c4579182015b82811115620003c4578251825591602001919060010190620003a7565b50620003d2929150620003d6565b5090565b5b80821115620003d25760008155600101620003d7565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200041b57600080fd5b919050565b600080600080608085870312156200043757600080fd5b84516001600160401b03808211156200044f57600080fd5b818701915087601f8301126200046457600080fd5b815181811115620004795762000479620003ed565b604051601f8201601f19908116603f01168101908382118183101715620004a457620004a4620003ed565b81604052828152602093508a84848701011115620004c157600080fd5b600091505b82821015620004e55784820184015181830185015290830190620004c6565b82821115620004f75760008484830101525b8098505050508087015194505050620005136040860162000403565b6060959095015193969295505050565b600181811c908216806200053857607f821691505b602082108114156200055a57634e487b7160e01b600052602260045260246000fd5b50919050565b612fce80620005706000396000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c806369e2f0fb116101515780639a4fc640116100c3578063ca15c87311610087578063ca15c87314610573578063d539139314610586578063d547741f1461059b578063e63ab1e9146105ae578063e985e9c5146105d5578063f2fde38b1461061157600080fd5b80639a4fc6401461051f578063a217fddf14610532578063a22cb4651461053a578063b88d4fde1461054d578063c87b56dd1461056057600080fd5b80637fd30df0116101155780637fd30df0146104c05780638456cb59146104d35780638da5cb5b146104db5780639010d07c146104f157806391d148541461050457806395d89b411461051757600080fd5b806369e2f0fb146104565780636a627842146104695780636ab299751461047c57806370a08231146104a5578063715018a6146104b857600080fd5b80632f2ff15d116101ea57806342842e0e116101ae57806342842e0e146103ec57806342966c68146103ff5780634f6ccce71461041257806355f804b3146104255780635c975abb146104385780636352211e1461044357600080fd5b80632f2ff15d146103985780632f745c59146103ab57806336568abe146103be5780633dd1eb61146103d15780633f4ba83a146103e457600080fd5b806318160ddd1161023157806318160ddd1461030b57806323b872dd1461031d578063248a9ca314610330578063248b71fc146103535780632a55205a1461036657600080fd5b806301ffc9a71461026e57806306fdde0314610296578063081812fc146102ab578063082a6569146102d6578063095ea7b3146102f6575b600080fd5b61028161027c3660046127dc565b610624565b60405190151581526020015b60405180910390f35b61029e61064f565b60405161028d9190612851565b6102be6102b9366004612864565b6106e1565b6040516001600160a01b03909116815260200161028d565b6102e96102e4366004612899565b610708565b60405161028d91906128cc565b610309610304366004612910565b610853565b005b600a545b60405190815260200161028d565b61030961032b36600461293a565b610969565b61030f61033e366004612864565b60009081526020819052604090206001015490565b610309610361366004612910565b61099b565b610379610374366004612976565b610a19565b604080516001600160a01b03909316835260208301919091520161028d565b6103096103a6366004612998565b610a53565b61030f6103b9366004612910565b610a78565b6103096103cc366004612998565b610b0e565b6103096103df3660046129c4565b610b8c565b610309610baf565b6103096103fa36600461293a565b610c40565b61030961040d366004612864565b610c5b565b61030f610420366004612864565b610c89565b6103096104333660046129df565b610d1c565b600c5460ff16610281565b6102be610451366004612864565b610d30565b6103096104643660046129c4565b610d90565b6103096104773660046129c4565b610db0565b61030f61048a3660046129c4565b6001600160a01b031660009081526013602052604090205490565b61030f6104b33660046129c4565b610dff565b610309610e85565b6103096104ce366004612a96565b610e97565b610309610fc5565b600c5461010090046001600160a01b03166102be565b6102be6104ff366004612976565b611052565b610281610512366004612998565b611071565b61029e61109a565b61030961052d366004612864565b6110a9565b61030f600081565b610309610548366004612b02565b611115565b61030961055b366004612b54565b611120565b61029e61056e366004612864565b611158565b61030f610581366004612864565b6111be565b61030f600080516020612f7983398151915281565b6103096105a9366004612998565b6111d5565b61030f7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6102816105e3366004612c30565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61030961061f3660046129c4565b6111fa565b60006001600160e01b0319821663152a902d60e11b1480610649575061064982611309565b92915050565b60606002805461065e90612c5a565b80601f016020809104026020016040519081016040528092919081815260200182805461068a90612c5a565b80156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b5050505050905090565b60006106ec8261132e565b506000908152600660205260409020546001600160a01b031690565b6001600160a01b03831660009081526013602052604090205460609061072e8385612cab565b111561078c5760405162461bcd60e51b815260206004820152602260248201527f59616b757a613a207573657220686176656e277420656e6f75676820746f6b656044820152616e7360f01b60648201526084015b60405180910390fd5b60008267ffffffffffffffff8111156107a7576107a7612b3e565b6040519080825280602002602001820160405280156107d0578160200160208202803683370190505b50905060005b8381101561084a576001600160a01b03861660009081526013602052604090206108008287612cab565b8154811061081057610810612cc3565b906000526020600020015482828151811061082d5761082d612cc3565b6020908102919091010152610843600182612cab565b90506107d6565b50949350505050565b600061085e82610d30565b9050806001600160a01b0316836001600160a01b031614156108cc5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610783565b336001600160a01b03821614806108e857506108e881336105e3565b61095a5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610783565b610964838361138d565b505050565b610974335b826113fb565b6109905760405162461bcd60e51b815260040161078390612cd9565b61096483838361147a565b6109b3600080516020612f7983398151915233611071565b6109cf5760405162461bcd60e51b815260040161078390612d27565b60005b81811015610964576109f9836109e7600d5490565b600f546109f49190612cab565b611621565b610a07600d80546001019055565b610a12600182612cab565b90506109d2565b60105460125460115460009283926001600160a01b0390911691610a3d9086612d6c565b610a479190612da1565b915091505b9250929050565b600082815260208190526040902060010154610a6e8161176f565b6109648383611779565b6000610a8383610dff565b8210610ae55760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610783565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b0381163314610b7e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610783565b610b88828261179b565b5050565b610b946117bd565b610bac600080516020612f7983398151915282611779565b50565b610bd97f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611071565b610c365760405162461bcd60e51b815260206004820152602860248201527f59616b757a613a206d75737420686176652070617573657220726f6c6520746f60448201526720756e706175736560c01b6064820152608401610783565b610c3e61181d565b565b61096483838360405180602001604052806000815250611120565b610c643361096e565b610c805760405162461bcd60e51b815260040161078390612cd9565b610bac8161186f565b6000610c94600a5490565b8210610cf75760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610783565b600a8281548110610d0a57610d0a612cc3565b90600052602060002001549050919050565b610d246117bd565b610964600e83836126f2565b6000818152600460205260408120546001600160a01b0316806106495760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610783565b610d986117bd565b610bac600080516020612f798339815191528261179b565b610dc8600080516020612f7983398151915233611071565b610de45760405162461bcd60e51b815260040161078390612d27565b610df1816109e7600d5490565b610bac600d80546001019055565b60006001600160a01b038216610e695760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610783565b506001600160a01b031660009081526005602052604090205490565b610e8d6117bd565b610c3e6000611916565b828114610ef05760405162461bcd60e51b815260206004820152602160248201527f59616b757a613a206172726179206d7573742062652073616d65206c656e67746044820152600d60fb1b6064820152608401610783565b60005b83811015610fbe57600f54838383818110610f1057610f10612cc3565b9050602002013510610f645760405162461bcd60e51b815260206004820152601960248201527f59616b757a613a206d757374206265206f6c6420746f6b656e000000000000006044820152606401610783565b610fac858583818110610f7957610f79612cc3565b9050602002016020810190610f8e91906129c4565b848484818110610fa057610fa0612cc3565b90506020020135611621565b610fb7600182612cab565b9050610ef3565b5050505050565b610fef7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33611071565b61104a5760405162461bcd60e51b815260206004820152602660248201527f59616b757a613a206d75737420686176652070617573657220726f6c6520746f60448201526520706175736560d01b6064820152608401610783565b610c3e611970565b600082815260016020526040812061106a90836119ad565b9392505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60606003805461065e90612c5a565b6110b16117bd565b60125481106111105760405162461bcd60e51b815260206004820152602560248201527f59616b757a613a2070657263656e74206d757374206265206c657373207468616044820152640dc40dac2f60db1b6064820152608401610783565b601155565b610b883383836119b9565b61112a33836113fb565b6111465760405162461bcd60e51b815260040161078390612cd9565b61115284848484611a88565b50505050565b60606111638261132e565b600061116d611abb565b9050600081511161118d576040518060200160405280600081525061106a565b8061119784611aca565b6040516020016111a8929190612db5565b6040516020818303038152906040529392505050565b600081815260016020526040812061064990611bc8565b6000828152602081905260409020600101546111f08161176f565b610964838361179b565b6112026117bd565b6001600160a01b0381166112675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610783565b610bac81611916565b61127a8282611071565b610b88576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556112b03390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061106a836001600160a01b038416611bd2565b60006001600160e01b0319821663780e9d6360e01b1480610649575061064982611c21565b6000818152600460205260409020546001600160a01b0316610bac5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610783565b600081815260066020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113c282610d30565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061140783610d30565b9050806001600160a01b0316846001600160a01b0316148061144e57506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b806114725750836001600160a01b0316611467846106e1565b6001600160a01b0316145b949350505050565b826001600160a01b031661148d82610d30565b6001600160a01b0316146114f15760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610783565b6001600160a01b0382166115535760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610783565b61155e838383611c61565b61156960008261138d565b6001600160a01b0383166000908152600560205260408120805460019290611592908490612de4565b90915550506001600160a01b03821660009081526005602052604081208054600192906115c0908490612cab565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166116775760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610783565b6000818152600460205260409020546001600160a01b0316156116dc5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610783565b6116e860008383611c61565b6001600160a01b0382166000908152600560205260408120805460019290611711908490612cab565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b610bac8133611eab565b6117838282611270565b600082815260016020526040902061096490826112f4565b6117a58282611f0f565b60008281526001602052604090206109649082611f74565b600c546001600160a01b03610100909104163314610c3e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610783565b611825611f89565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061187a82610d30565b905061188881600084611c61565b61189360008361138d565b6001600160a01b03811660009081526005602052604081208054600192906118bc908490612de4565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600c80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611978611fd2565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118523390565b600061106a8383612018565b816001600160a01b0316836001600160a01b03161415611a1b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610783565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611a9384848461147a565b611a9f84848484612042565b6111525760405162461bcd60e51b815260040161078390612dfb565b6060600e805461065e90612c5a565b606081611aee5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b185780611b0281612e4d565b9150611b119050600a83612da1565b9150611af2565b60008167ffffffffffffffff811115611b3357611b33612b3e565b6040519080825280601f01601f191660200182016040528015611b5d576020820181803683370190505b5090505b841561147257611b72600183612de4565b9150611b7f600a86612e68565b611b8a906030612cab565b60f81b818381518110611b9f57611b9f612cc3565b60200101906001600160f81b031916908160001a905350611bc1600a86612da1565b9450611b61565b6000610649825490565b6000818152600183016020526040812054611c1957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610649565b506000610649565b60006001600160e01b031982166380ac58cd60e01b1480611c5257506001600160e01b03198216635b5e139f60e01b145b8061064957506106498261214f565b611c6c838383612174565b6001600160a01b03831615611e56576001600160a01b038316600081815260146020908152604080832085845282528083208390559282526013905290812054611cb890600190612de4565b67ffffffffffffffff811115611cd057611cd0612b3e565b604051908082528060200260200182016040528015611cf9578160200160208202803683370190505b5090506000805b6001600160a01b038616600090815260136020526040902054811015611e28576001600160a01b0386166000908152601360205260409020805485919083908110611d4d57611d4d612cc3565b906000526020600020015414611e16576001600160a01b0386166000908152601360205260409020805482908110611d8757611d87612cc3565b9060005260206000200154838381518110611da457611da4612cc3565b6020908102919091018101919091526001600160a01b0387166000908152601482526040808220601390935281208054859392919085908110611de957611de9612cc3565b9060005260206000200154815260200190815260200160002081905550600182611e139190612cab565b91505b611e21600182612cab565b9050611d00565b506001600160a01b03851660009081526013602090815260409091208351611e5292850190612776565b5050505b6001600160a01b03821615610964576001600160a01b03821660008181526013602090815260408083208054600181018255908452828420810186905593835260148252808320858452909152902055505050565b611eb58282611071565b610b8857611ecd816001600160a01b031660146121e6565b611ed88360206121e6565b604051602001611ee9929190612e7c565b60408051601f198184030181529082905262461bcd60e51b825261078391600401612851565b611f198282611071565b15610b88576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061106a836001600160a01b038416612382565b600c5460ff16610c3e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610783565b600c5460ff1615610c3e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610783565b600082600001828154811061202f5761202f612cc3565b9060005260206000200154905092915050565b60006001600160a01b0384163b1561214457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612086903390899088908890600401612ef1565b602060405180830381600087803b1580156120a057600080fd5b505af19250505080156120d0575060408051601f3d908101601f191682019092526120cd91810190612f2e565b60015b61212a573d8080156120fe576040519150601f19603f3d011682016040523d82523d6000602084013e612103565b606091505b5080516121225760405162461bcd60e51b815260040161078390612dfb565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611472565b506001949350505050565b60006001600160e01b03198216635a05180f60e01b1480610649575061064982612475565b61217f8383836124aa565b600c5460ff16156109645760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610783565b606060006121f5836002612d6c565b612200906002612cab565b67ffffffffffffffff81111561221857612218612b3e565b6040519080825280601f01601f191660200182016040528015612242576020820181803683370190505b509050600360fc1b8160008151811061225d5761225d612cc3565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061228c5761228c612cc3565b60200101906001600160f81b031916908160001a90535060006122b0846002612d6c565b6122bb906001612cab565b90505b6001811115612333576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106122ef576122ef612cc3565b1a60f81b82828151811061230557612305612cc3565b60200101906001600160f81b031916908160001a90535060049490941c9361232c81612f4b565b90506122be565b50831561106a5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610783565b6000818152600183016020526040812054801561246b5760006123a6600183612de4565b85549091506000906123ba90600190612de4565b905081811461241f5760008660000182815481106123da576123da612cc3565b90600052602060002001549050808760000184815481106123fd576123fd612cc3565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061243057612430612f62565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610649565b6000915050610649565b60006001600160e01b03198216637965db0b60e01b148061064957506301ffc9a760e01b6001600160e01b0319831614610649565b6001600160a01b0383166125055761250081600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b612528565b816001600160a01b0316836001600160a01b031614612528576125288382612562565b6001600160a01b03821661253f57610964816125ff565b826001600160a01b0316826001600160a01b0316146109645761096482826126ae565b6000600161256f84610dff565b6125799190612de4565b6000838152600960205260409020549091508082146125cc576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a5460009061261190600190612de4565b6000838152600b6020526040812054600a805493945090928490811061263957612639612cc3565b9060005260206000200154905080600a838154811061265a5761265a612cc3565b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a80548061269257612692612f62565b6001900381819060005260206000200160009055905550505050565b60006126b983610dff565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b8280546126fe90612c5a565b90600052602060002090601f0160209004810192826127205760008555612766565b82601f106127395782800160ff19823516178555612766565b82800160010185558215612766579182015b8281111561276657823582559160200191906001019061274b565b506127729291506127b1565b5090565b828054828255906000526020600020908101928215612766579160200282015b82811115612766578251825591602001919060010190612796565b5b8082111561277257600081556001016127b2565b6001600160e01b031981168114610bac57600080fd5b6000602082840312156127ee57600080fd5b813561106a816127c6565b60005b838110156128145781810151838201526020016127fc565b838111156111525750506000910152565b6000815180845261283d8160208601602086016127f9565b601f01601f19169290920160200192915050565b60208152600061106a6020830184612825565b60006020828403121561287657600080fd5b5035919050565b80356001600160a01b038116811461289457600080fd5b919050565b6000806000606084860312156128ae57600080fd5b6128b78461287d565b95602085013595506040909401359392505050565b6020808252825182820181905260009190848201906040850190845b81811015612904578351835292840192918401916001016128e8565b50909695505050505050565b6000806040838503121561292357600080fd5b61292c8361287d565b946020939093013593505050565b60008060006060848603121561294f57600080fd5b6129588461287d565b92506129666020850161287d565b9150604084013590509250925092565b6000806040838503121561298957600080fd5b50508035926020909101359150565b600080604083850312156129ab57600080fd5b823591506129bb6020840161287d565b90509250929050565b6000602082840312156129d657600080fd5b61106a8261287d565b600080602083850312156129f257600080fd5b823567ffffffffffffffff80821115612a0a57600080fd5b818501915085601f830112612a1e57600080fd5b813581811115612a2d57600080fd5b866020828501011115612a3f57600080fd5b60209290920196919550909350505050565b60008083601f840112612a6357600080fd5b50813567ffffffffffffffff811115612a7b57600080fd5b6020830191508360208260051b8501011115610a4c57600080fd5b60008060008060408587031215612aac57600080fd5b843567ffffffffffffffff80821115612ac457600080fd5b612ad088838901612a51565b90965094506020870135915080821115612ae957600080fd5b50612af687828801612a51565b95989497509550505050565b60008060408385031215612b1557600080fd5b612b1e8361287d565b915060208301358015158114612b3357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215612b6a57600080fd5b612b738561287d565b9350612b816020860161287d565b925060408501359150606085013567ffffffffffffffff80821115612ba557600080fd5b818701915087601f830112612bb957600080fd5b813581811115612bcb57612bcb612b3e565b604051601f8201601f19908116603f01168101908382118183101715612bf357612bf3612b3e565b816040528281528a6020848701011115612c0c57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215612c4357600080fd5b612c4c8361287d565b91506129bb6020840161287d565b600181811c90821680612c6e57607f821691505b60208210811415612c8f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612cbe57612cbe612c95565b500190565b634e487b7160e01b600052603260045260246000fd5b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b60208082526025908201527f59616b757a613a206d7573742068617665206d696e74657220726f6c6520746f604082015264081b5a5b9d60da1b606082015260800190565b6000816000190483118215151615612d8657612d86612c95565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612db057612db0612d8b565b500490565b60008351612dc78184602088016127f9565b835190830190612ddb8183602088016127f9565b01949350505050565b600082821015612df657612df6612c95565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000600019821415612e6157612e61612c95565b5060010190565b600082612e7757612e77612d8b565b500690565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612eb48160178501602088016127f9565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612ee58160288401602088016127f9565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612f2490830184612825565b9695505050505050565b600060208284031215612f4057600080fd5b815161106a816127c6565b600081612f5a57612f5a612c95565b506000190190565b634e487b7160e01b600052603160045260246000fdfe9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6a2646970667358221220e2448faec7cfcf00da7444d16a67f398a3fb07bde7efa8be60a0e0330d40186a64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000b13000000000000000000000000d8e44325494cfda61b3dc08b080e1776970862bb00000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000003268747470733a2f2f6f796162756e2d67616d652d6170692e6865726f6b756170702e636f6d2f79616b757a612f6d6574612f0000000000000000000000000000
Deployed ByteCode Sourcemap
82926:6433:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89060:296;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;89060:296:0;;;;;;;;61680:100;;;:::i;:::-;;;;;;;:::i;63193:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;63193:171:0;1528:203:1;84705:412:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;62710:417::-;;;;;;:::i;:::-;;:::i;:::-;;77334:113;77422:10;:17;77334:113;;;3283:25:1;;;3271:2;3256:18;77334:113:0;3137:177:1;63893:336:0;;;;;;:::i;:::-;;:::i;46335:131::-;;;;;;:::i;:::-;46409:7;46436:12;;;;;;;;;;:22;;;;46335:131;86120:325;;;;;;:::i;:::-;;:::i;88778:210::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4464:32:1;;;4446:51;;4528:2;4513:18;;4506:34;;;;4419:18;88778:210:0;4272:274:1;46776:147:0;;;;;;:::i;:::-;;:::i;77002:256::-;;;;;;:::i;:::-;;:::i;47920:218::-;;;;;;:::i;:::-;;:::i;87524:108::-;;;;;;:::i;:::-;;:::i;87363:153::-;;;:::i;64300:185::-;;;;;;:::i;:::-;;:::i;75433:243::-;;;;;;:::i;:::-;;:::i;77524:233::-;;;;;;:::i;:::-;;:::i;85378:112::-;;;;;;:::i;:::-;;:::i;29387:86::-;29458:7;;;;29387:86;;61391:222;;;;;;:::i;:::-;;:::i;87640:110::-;;;;;;:::i;:::-;;:::i;85878:234::-;;;;;;:::i;:::-;;:::i;85125:131::-;;;;;;:::i;:::-;-1:-1:-1;;;;;85224:17:0;85188:14;85224:17;;;:11;:17;;;;;:24;;85125:131;61122:207;;;;;;:::i;:::-;;:::i;26897:103::-;;;:::i;86453:329::-;;;;;;:::i;:::-;;:::i;86997:147::-;;;:::i;26249:87::-;26322:6;;;;;-1:-1:-1;;;;;26322:6:0;26249:87;;51573:153;;;;;;:::i;:::-;;:::i;44795:147::-;;;;;;:::i;:::-;;:::i;61849:104::-;;;:::i;84503:194::-;;;;;;:::i;:::-;;:::i;43900:49::-;;43945:4;43900:49;;63436:155;;;;;;:::i;:::-;;:::i;64556:323::-;;;;;;:::i;:::-;;:::i;62024:281::-;;;;;;:::i;:::-;;:::i;51900:142::-;;;;;;:::i;:::-;;:::i;83119:62::-;;-1:-1:-1;;;;;;;;;;;83119:62:0;;47216:149;;;;;;:::i;:::-;;:::i;83188:62::-;;83226:24;83188:62;;63662:164;;;;;;:::i;:::-;-1:-1:-1;;;;;63783:25:0;;;63759:4;63783:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;63662:164;27155:201;;;;;;:::i;:::-;;:::i;89060:296::-;89241:4;-1:-1:-1;;;;;;89272:36:0;;-1:-1:-1;;;89272:36:0;;:76;;;89312:36;89336:11;89312:23;:36::i;:::-;89265:83;89060:296;-1:-1:-1;;89060:296:0:o;61680:100::-;61734:13;61767:5;61760:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61680:100;:::o;63193:171::-;63269:7;63289:23;63304:7;63289:14;:23::i;:::-;-1:-1:-1;63332:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;63332:24:0;;63193:171::o;84705:412::-;-1:-1:-1;;;;;84849:17:0;;;;;;:11;:17;;;;;:24;84794:16;;84831:14;84840:5;84831:6;:14;:::i;:::-;:42;;84823:89;;;;-1:-1:-1;;;84823:89:0;;9745:2:1;84823:89:0;;;9727:21:1;9784:2;9764:18;;;9757:30;9823:34;9803:18;;;9796:62;-1:-1:-1;;;9874:18:1;;;9867:32;9916:19;;84823:89:0;;;;;;;;;84923:23;84963:5;84949:20;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84949:20:0;;84923:46;;84984:9;84980:106;85003:5;84999:1;:9;84980:106;;;-1:-1:-1;;;;;85045:17:0;;;;;;:11;:17;;;;;85063:10;85072:1;85063:6;:10;:::i;:::-;85045:29;;;;;;;;:::i;:::-;;;;;;;;;85033:6;85040:1;85033:9;;;;;;;;:::i;:::-;;;;;;;;;;:41;85010:6;85015:1;85010:6;;:::i;:::-;;;84980:106;;;-1:-1:-1;85103:6:0;84705:412;-1:-1:-1;;;;84705:412:0:o;62710:417::-;62791:13;62807:23;62822:7;62807:14;:23::i;:::-;62791:39;;62855:5;-1:-1:-1;;;;;62849:11:0;:2;-1:-1:-1;;;;;62849:11:0;;;62841:57;;;;-1:-1:-1;;;62841:57:0;;10280:2:1;62841:57:0;;;10262:21:1;10319:2;10299:18;;;10292:30;10358:34;10338:18;;;10331:62;-1:-1:-1;;;10409:18:1;;;10402:31;10450:19;;62841:57:0;10078:397:1;62841:57:0;24880:10;-1:-1:-1;;;;;62933:21:0;;;;:62;;-1:-1:-1;62958:37:0;62975:5;24880:10;63662:164;:::i;62958:37::-;62911:174;;;;-1:-1:-1;;;62911:174:0;;10682:2:1;62911:174:0;;;10664:21:1;10721:2;10701:18;;;10694:30;10760:34;10740:18;;;10733:62;10831:32;10811:18;;;10804:60;10881:19;;62911:174:0;10480:426:1;62911:174:0;63098:21;63107:2;63111:7;63098:8;:21::i;:::-;62780:347;62710:417;;:::o;63893:336::-;64088:41;24880:10;64107:12;64121:7;64088:18;:41::i;:::-;64080:100;;;;-1:-1:-1;;;64080:100:0;;;;;;;:::i;:::-;64193:28;64203:4;64209:2;64213:7;64193:9;:28::i;86120:325::-;86195:34;-1:-1:-1;;;;;;;;;;;24880:10:0;44795:147;:::i;86195:34::-;86187:84;;;;-1:-1:-1;;;86187:84:0;;;;;;;:::i;:::-;86288:6;86284:154;86304:8;86300:1;:12;86284:154;;;86337:47;86343:2;86358:25;:15;21123:14;;21031:114;86358:25;86347:8;;:36;;;;:::i;:::-;86337:5;:47::i;:::-;86399:27;:15;21242:19;;21260:1;21242:19;;;21153:127;86399:27;86314:6;86319:1;86314:6;;:::i;:::-;;;86284:154;;88778:210;88920:17;;88969:10;;88952:14;;88860:16;;;;-1:-1:-1;;;;;88920:17:0;;;;88939:27;;:10;:27;:::i;:::-;:40;;;;:::i;:::-;88912:68;;;;88778:210;;;;;;:::o;46776:147::-;46409:7;46436:12;;;;;;;;;;:22;;;44391:16;44402:4;44391:10;:16::i;:::-;46890:25:::1;46901:4;46907:7;46890:10;:25::i;77002:256::-:0;77099:7;77135:23;77152:5;77135:16;:23::i;:::-;77127:5;:31;77119:87;;;;-1:-1:-1;;;77119:87:0;;12364:2:1;77119:87:0;;;12346:21:1;12403:2;12383:18;;;12376:30;12442:34;12422:18;;;12415:62;-1:-1:-1;;;12493:18:1;;;12486:41;12544:19;;77119:87:0;12162:407:1;77119:87:0;-1:-1:-1;;;;;;77224:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;77002:256::o;47920:218::-;-1:-1:-1;;;;;48016:23:0;;24880:10;48016:23;48008:83;;;;-1:-1:-1;;;48008:83:0;;12776:2:1;48008:83:0;;;12758:21:1;12815:2;12795:18;;;12788:30;12854:34;12834:18;;;12827:62;-1:-1:-1;;;12905:18:1;;;12898:45;12960:19;;48008:83:0;12574:411:1;48008:83:0;48104:26;48116:4;48122:7;48104:11;:26::i;:::-;47920:218;;:::o;87524:108::-;26135:13;:11;:13::i;:::-;87593:31:::1;-1:-1:-1::0;;;;;;;;;;;87617:6:0::1;87593:10;:31::i;:::-;87524:108:::0;:::o;87363:153::-;87408:34;83226:24;24880:10;44795:147;:::i;87408:34::-;87400:87;;;;-1:-1:-1;;;87400:87:0;;13192:2:1;87400:87:0;;;13174:21:1;13231:2;13211:18;;;13204:30;13270:34;13250:18;;;13243:62;-1:-1:-1;;;13321:18:1;;;13314:38;13369:19;;87400:87:0;12990:404:1;87400:87:0;87498:10;:8;:10::i;:::-;87363:153::o;64300:185::-;64438:39;64455:4;64461:2;64465:7;64438:39;;;;;;;;;;;;:16;:39::i;75433:243::-;75551:41;24880:10;75570:12;24800:98;75551:41;75543:100;;;;-1:-1:-1;;;75543:100:0;;;;;;;:::i;:::-;75654:14;75660:7;75654:5;:14::i;77524:233::-;77599:7;77635:30;77422:10;:17;;77334:113;77635:30;77627:5;:38;77619:95;;;;-1:-1:-1;;;77619:95:0;;13601:2:1;77619:95:0;;;13583:21:1;13640:2;13620:18;;;13613:30;13679:34;13659:18;;;13652:62;-1:-1:-1;;;13730:18:1;;;13723:42;13782:19;;77619:95:0;13399:408:1;77619:95:0;77732:10;77743:5;77732:17;;;;;;;;:::i;:::-;;;;;;;;;77725:24;;77524:233;;;:::o;85378:112::-;26135:13;:11;:13::i;:::-;85455:27:::1;:13;85471:11:::0;;85455:27:::1;:::i;61391:222::-:0;61463:7;61499:16;;;:7;:16;;;;;;-1:-1:-1;;;;;61499:16:0;61534:19;61526:56;;;;-1:-1:-1;;;61526:56:0;;14014:2:1;61526:56:0;;;13996:21:1;14053:2;14033:18;;;14026:30;-1:-1:-1;;;14072:18:1;;;14065:54;14136:18;;61526:56:0;13812:348:1;87640:110:0;26135:13;:11;:13::i;:::-;87710:32:::1;-1:-1:-1::0;;;;;;;;;;;87735:6:0::1;87710:11;:32::i;85878:234::-:0;85930:34;-1:-1:-1;;;;;;;;;;;24880:10:0;44795:147;:::i;85930:34::-;85922:84;;;;-1:-1:-1;;;85922:84:0;;;;;;;:::i;:::-;86019:47;86025:2;86040:25;:15;21123:14;;21031:114;86019:47;86077:27;:15;21242:19;;21260:1;21242:19;;;21153:127;61122:207;61194:7;-1:-1:-1;;;;;61222:19:0;;61214:73;;;;-1:-1:-1;;;61214:73:0;;14367:2:1;61214:73:0;;;14349:21:1;14406:2;14386:18;;;14379:30;14445:34;14425:18;;;14418:62;-1:-1:-1;;;14496:18:1;;;14489:39;14545:19;;61214:73:0;14165:405:1;61214:73:0;-1:-1:-1;;;;;;61305:16:0;;;;;:9;:16;;;;;;;61122:207::o;26897:103::-;26135:13;:11;:13::i;:::-;26962:30:::1;26989:1;26962:18;:30::i;86453:329::-:0;86544:23;;;86536:69;;;;-1:-1:-1;;;86536:69:0;;14777:2:1;86536:69:0;;;14759:21:1;14816:2;14796:18;;;14789:30;14855:34;14835:18;;;14828:62;-1:-1:-1;;;14906:18:1;;;14899:31;14947:19;;86536:69:0;14575:397:1;86536:69:0;86620:9;86616:159;86635:13;;;86616:159;;;86690:8;;86681:3;;86685:1;86681:6;;;;;;;:::i;:::-;;;;;;;:17;86673:55;;;;-1:-1:-1;;;86673:55:0;;15179:2:1;86673:55:0;;;15161:21:1;15218:2;15198:18;;;15191:30;15257:27;15237:18;;;15230:55;15302:18;;86673:55:0;14977:349:1;86673:55:0;86743:20;86749:2;;86752:1;86749:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;86756:3;;86760:1;86756:6;;;;;;;:::i;:::-;;;;;;;86743:5;:20::i;:::-;86650:6;86655:1;86650:6;;:::i;:::-;;;86616:159;;;;86453:329;;;;:::o;86997:147::-;87040:34;83226:24;24880:10;44795:147;:::i;87040:34::-;87032:85;;;;-1:-1:-1;;;87032:85:0;;15533:2:1;87032:85:0;;;15515:21:1;15572:2;15552:18;;;15545:30;15611:34;15591:18;;;15584:62;-1:-1:-1;;;15662:18:1;;;15655:36;15708:19;;87032:85:0;15331:402:1;87032:85:0;87128:8;:6;:8::i;51573:153::-;51663:7;51690:18;;;:12;:18;;;;;:28;;51712:5;51690:21;:28::i;:::-;51683:35;51573:153;-1:-1:-1;;;51573:153:0:o;44795:147::-;44881:4;44905:12;;;;;;;;;;;-1:-1:-1;;;;;44905:29:0;;;;;;;;;;;;;;;44795:147::o;61849:104::-;61905:13;61938:7;61931:14;;;;;:::i;84503:194::-;26135:13;:11;:13::i;:::-;84599:10:::1;;84586;:23;84578:73;;;::::0;-1:-1:-1;;;84578:73:0;;15940:2:1;84578:73:0::1;::::0;::::1;15922:21:1::0;15979:2;15959:18;;;15952:30;16018:34;15998:18;;;15991:62;-1:-1:-1;;;16069:18:1;;;16062:35;16114:19;;84578:73:0::1;15738:401:1::0;84578:73:0::1;84662:14;:27:::0;84503:194::o;63436:155::-;63531:52;24880:10;63564:8;63574;63531:18;:52::i;64556:323::-;64730:41;24880:10;64763:7;64730:18;:41::i;:::-;64722:100;;;;-1:-1:-1;;;64722:100:0;;;;;;;:::i;:::-;64833:38;64847:4;64853:2;64857:7;64866:4;64833:13;:38::i;:::-;64556:323;;;;:::o;62024:281::-;62097:13;62123:23;62138:7;62123:14;:23::i;:::-;62159:21;62183:10;:8;:10::i;:::-;62159:34;;62235:1;62217:7;62211:21;:25;:86;;;;;;;;;;;;;;;;;62263:7;62272:18;:7;:16;:18::i;:::-;62246:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;62204:93;62024:281;-1:-1:-1;;;62024:281:0:o;51900:142::-;51980:7;52007:18;;;:12;:18;;;;;:27;;:25;:27::i;47216:149::-;46409:7;46436:12;;;;;;;;;;:22;;;44391:16;44402:4;44391:10;:16::i;:::-;47331:26:::1;47343:4;47349:7;47331:11;:26::i;27155:201::-:0;26135:13;:11;:13::i;:::-;-1:-1:-1;;;;;27244:22:0;::::1;27236:73;;;::::0;-1:-1:-1;;;27236:73:0;;16821:2:1;27236:73:0::1;::::0;::::1;16803:21:1::0;16860:2;16840:18;;;16833:30;16899:34;16879:18;;;16872:62;-1:-1:-1;;;16950:18:1;;;16943:36;16996:19;;27236:73:0::1;16619:402:1::0;27236:73:0::1;27320:28;27339:8;27320:18;:28::i;49517:238::-:0;49601:22;49609:4;49615:7;49601;:22::i;:::-;49596:152;;49640:6;:12;;;;;;;;;;;-1:-1:-1;;;;;49640:29:0;;;;;;;;;:36;;-1:-1:-1;;49640:36:0;49672:4;49640:36;;;49723:12;24880:10;;24800:98;49723:12;-1:-1:-1;;;;;49696:40:0;49714:7;-1:-1:-1;;;;;49696:40:0;49708:4;49696:40;;;;;;;;;;49517:238;;:::o;8296:152::-;8366:4;8390:50;8395:3;-1:-1:-1;;;;;8415:23:0;;8390:4;:50::i;76694:224::-;76796:4;-1:-1:-1;;;;;;76820:50:0;;-1:-1:-1;;;76820:50:0;;:90;;;76874:36;76898:11;76874:23;:36::i;71168:135::-;66451:4;66475:16;;;:7;:16;;;;;;-1:-1:-1;;;;;66475:16:0;71242:53;;;;-1:-1:-1;;;71242:53:0;;14014:2:1;71242:53:0;;;13996:21:1;14053:2;14033:18;;;14026:30;-1:-1:-1;;;14072:18:1;;;14065:54;14136:18;;71242:53:0;13812:348:1;70447:174:0;70522:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;70522:29:0;-1:-1:-1;;;;;70522:29:0;;;;;;;;:24;;70576:23;70522:24;70576:14;:23::i;:::-;-1:-1:-1;;;;;70567:46:0;;;;;;;;;;;70447:174;;:::o;66680:264::-;66773:4;66790:13;66806:23;66821:7;66806:14;:23::i;:::-;66790:39;;66859:5;-1:-1:-1;;;;;66848:16:0;:7;-1:-1:-1;;;;;66848:16:0;;:52;;;-1:-1:-1;;;;;;63783:25:0;;;63759:4;63783:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;66868:32;66848:87;;;;66928:7;-1:-1:-1;;;;;66904:31:0;:20;66916:7;66904:11;:20::i;:::-;-1:-1:-1;;;;;66904:31:0;;66848:87;66840:96;66680:264;-1:-1:-1;;;;66680:264:0:o;69703:625::-;69862:4;-1:-1:-1;;;;;69835:31:0;:23;69850:7;69835:14;:23::i;:::-;-1:-1:-1;;;;;69835:31:0;;69827:81;;;;-1:-1:-1;;;69827:81:0;;17228:2:1;69827:81:0;;;17210:21:1;17267:2;17247:18;;;17240:30;17306:34;17286:18;;;17279:62;-1:-1:-1;;;17357:18:1;;;17350:35;17402:19;;69827:81:0;17026:401:1;69827:81:0;-1:-1:-1;;;;;69927:16:0;;69919:65;;;;-1:-1:-1;;;69919:65:0;;17634:2:1;69919:65:0;;;17616:21:1;17673:2;17653:18;;;17646:30;17712:34;17692:18;;;17685:62;-1:-1:-1;;;17763:18:1;;;17756:34;17807:19;;69919:65:0;17432:400:1;69919:65:0;69997:39;70018:4;70024:2;70028:7;69997:20;:39::i;:::-;70101:29;70118:1;70122:7;70101:8;:29::i;:::-;-1:-1:-1;;;;;70143:15:0;;;;;;:9;:15;;;;;:20;;70162:1;;70143:15;:20;;70162:1;;70143:20;:::i;:::-;;;;-1:-1:-1;;;;;;;70174:13:0;;;;;;:9;:13;;;;;:18;;70191:1;;70174:13;:18;;70191:1;;70174:18;:::i;:::-;;;;-1:-1:-1;;70203:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;70203:21:0;-1:-1:-1;;;;;70203:21:0;;;;;;;;;70242:27;;70203:16;;70242:27;;;;;;;62780:347;62710:417;;:::o;68278:439::-;-1:-1:-1;;;;;68358:16:0;;68350:61;;;;-1:-1:-1;;;68350:61:0;;18169:2:1;68350:61:0;;;18151:21:1;;;18188:18;;;18181:30;18247:34;18227:18;;;18220:62;18299:18;;68350:61:0;17967:356:1;68350:61:0;66451:4;66475:16;;;:7;:16;;;;;;-1:-1:-1;;;;;66475:16:0;:30;68422:58;;;;-1:-1:-1;;;68422:58:0;;18530:2:1;68422:58:0;;;18512:21:1;18569:2;18549:18;;;18542:30;18608;18588:18;;;18581:58;18656:18;;68422:58:0;18328:352:1;68422:58:0;68493:45;68522:1;68526:2;68530:7;68493:20;:45::i;:::-;-1:-1:-1;;;;;68551:13:0;;;;;;:9;:13;;;;;:18;;68568:1;;68551:13;:18;;68568:1;;68551:18;:::i;:::-;;;;-1:-1:-1;;68580:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;68580:21:0;-1:-1:-1;;;;;68580:21:0;;;;;;;;68619:33;;68580:16;;;68619:33;;68580:16;;68619:33;47920:218;;:::o;45246:105::-;45313:30;45324:4;24880:10;45313;:30::i;52135:169::-;52223:31;52240:4;52246:7;52223:16;:31::i;:::-;52265:18;;;;:12;:18;;;;;:31;;52288:7;52265:22;:31::i;52398:174::-;52487:32;52505:4;52511:7;52487:17;:32::i;:::-;52530:18;;;;:12;:18;;;;;:34;;52556:7;52530:25;:34::i;26414:132::-;26322:6;;-1:-1:-1;;;;;26322:6:0;;;;;24880:10;26478:23;26470:68;;;;-1:-1:-1;;;26470:68:0;;18887:2:1;26470:68:0;;;18869:21:1;;;18906:18;;;18899:30;18965:34;18945:18;;;18938:62;19017:18;;26470:68:0;18685:356:1;30242:120:0;29251:16;:14;:16::i;:::-;30301:7:::1;:15:::0;;-1:-1:-1;;30301:15:0::1;::::0;;30332:22:::1;24880:10:::0;30341:12:::1;30332:22;::::0;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;30332:22:0::1;;;;;;;30242:120::o:0;68946:420::-;69006:13;69022:23;69037:7;69022:14;:23::i;:::-;69006:39;;69058:48;69079:5;69094:1;69098:7;69058:20;:48::i;:::-;69147:29;69164:1;69168:7;69147:8;:29::i;:::-;-1:-1:-1;;;;;69189:16:0;;;;;;:9;:16;;;;;:21;;69209:1;;69189:16;:21;;69209:1;;69189:21;:::i;:::-;;;;-1:-1:-1;;69228:16:0;;;;:7;:16;;;;;;69221:23;;-1:-1:-1;;;;;;69221:23:0;;;69262:36;69236:7;;69228:16;-1:-1:-1;;;;;69262:36:0;;;;;69228:16;;69262:36;47920:218;;:::o;27516:191::-;27609:6;;;-1:-1:-1;;;;;27626:17:0;;;27609:6;27626:17;;;-1:-1:-1;;;;;;27626:17:0;;;;;;27659:40;;27609:6;;;;;;;;27659:40;;27590:16;;27659:40;27579:128;27516:191;:::o;29983:118::-;28992:19;:17;:19::i;:::-;30043:7:::1;:14:::0;;-1:-1:-1;;30043:14:0::1;30053:4;30043:14;::::0;;30073:20:::1;30080:12;24880:10:::0;;24800:98;9592:158;9666:7;9717:22;9721:3;9733:5;9717:3;:22::i;70764:315::-;70919:8;-1:-1:-1;;;;;70910:17:0;:5;-1:-1:-1;;;;;70910:17:0;;;70902:55;;;;-1:-1:-1;;;70902:55:0;;19248:2:1;70902:55:0;;;19230:21:1;19287:2;19267:18;;;19260:30;19326:27;19306:18;;;19299:55;19371:18;;70902:55:0;19046:349:1;70902:55:0;-1:-1:-1;;;;;70968:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;70968:46:0;;;;;;;;;;71030:41;;540::1;;;71030::0;;513:18:1;71030:41:0;;;;;;;70764:315;;;:::o;65760:313::-;65916:28;65926:4;65932:2;65936:7;65916:9;:28::i;:::-;65963:47;65986:4;65992:2;65996:7;66005:4;65963:22;:47::i;:::-;65955:110;;;;-1:-1:-1;;;65955:110:0;;;;;;;:::i;85264:106::-;85316:13;85349;85342:20;;;;;:::i;22054:723::-;22110:13;22331:10;22327:53;;-1:-1:-1;;22358:10:0;;;;;;;;;;;;-1:-1:-1;;;22358:10:0;;;;;22054:723::o;22327:53::-;22405:5;22390:12;22446:78;22453:9;;22446:78;;22479:8;;;;:::i;:::-;;-1:-1:-1;22502:10:0;;-1:-1:-1;22510:2:0;22502:10;;:::i;:::-;;;22446:78;;;22534:19;22566:6;22556:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22556:17:0;;22534:39;;22584:154;22591:10;;22584:154;;22618:11;22628:1;22618:11;;:::i;:::-;;-1:-1:-1;22687:10:0;22695:2;22687:5;:10;:::i;:::-;22674:24;;:2;:24;:::i;:::-;22661:39;;22644:6;22651;22644:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;22644:56:0;;;;;;;;-1:-1:-1;22715:11:0;22724:2;22715:11;;:::i;:::-;;;22584:154;;9121:117;9184:7;9211:19;9219:3;4605:18;;4522:109;2211:414;2274:4;4404:19;;;:12;;;:19;;;;;;2291:327;;-1:-1:-1;2334:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;2517:18;;2495:19;;;:12;;;:19;;;;;;:40;;;;2550:11;;2291:327;-1:-1:-1;2601:5:0;2594:12;;60753:305;60855:4;-1:-1:-1;;;;;;60892:40:0;;-1:-1:-1;;;60892:40:0;;:105;;-1:-1:-1;;;;;;;60949:48:0;;-1:-1:-1;;;60949:48:0;60892:105;:158;;;;61014:36;61038:11;61014:23;:36::i;87758:1012::-;87944:45;87971:4;87977:2;87981:7;87944:26;:45::i;:::-;-1:-1:-1;;;;;88004:18:0;;;88000:579;;-1:-1:-1;;;;;88046:13:0;;;;;;:7;:13;;;;;;;;:22;;;;;;;;88039:29;;;88136:17;;;:11;:17;;;;;:24;:28;;88163:1;;88136:28;:::i;:::-;88122:43;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88122:43:0;;88085:80;;88180:9;88213;88208:306;-1:-1:-1;;;;;88232:17:0;;;;;;:11;:17;;;;;:24;88228:28;;88208:306;;;-1:-1:-1;;;;;88289:17:0;;;;;;:11;:17;;;;;:20;;88313:7;;88289:17;88307:1;;88289:20;;;;;;:::i;:::-;;;;;;;;;:31;88285:214;;-1:-1:-1;;;;;88368:17:0;;;;;;:11;:17;;;;;:20;;88386:1;;88368:20;;;;;;:::i;:::-;;;;;;;;;88345:17;88363:1;88345:20;;;;;;;;:::i;:::-;;;;;;;;;;;:43;;;;-1:-1:-1;;;;;88411:13:0;;;;;;:7;:13;;;;;;88425:11;:17;;;;;:20;;88449:1;;88411:13;;88425:17;88443:1;;88425:20;;;;;;:::i;:::-;;;;;;;;;88411:35;;;;;;;;;;;:39;;;;88478:1;88473:6;;;;;:::i;:::-;;;88285:214;88258:6;88263:1;88258:6;;:::i;:::-;;;88208:306;;;-1:-1:-1;;;;;;88530:17:0;;;;;;:11;:17;;;;;;;;:37;;;;;;;;:::i;:::-;;88024:555;;88000:579;-1:-1:-1;;;;;88593:16:0;;;88589:174;;-1:-1:-1;;;;;88642:15:0;;88626:13;88642:15;;;:11;:15;;;;;;;;:22;;88679:29;;;;;;;;;;;;;;;;88723:11;;;:7;:11;;;;;:20;;;;;;;;:28;87758:1012;;;:::o;45641:505::-;45730:22;45738:4;45744:7;45730;:22::i;:::-;45725:414;;45918:41;45946:7;-1:-1:-1;;;;;45918:41:0;45956:2;45918:19;:41::i;:::-;46032:38;46060:4;46067:2;46032:19;:38::i;:::-;45823:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;45823:270:0;;;;;;;;;;-1:-1:-1;;;45769:358:0;;;;;;;:::i;49935:239::-;50019:22;50027:4;50033:7;50019;:22::i;:::-;50015:152;;;50090:5;50058:12;;;;;;;;;;;-1:-1:-1;;;;;50058:29:0;;;;;;;;;;:37;;-1:-1:-1;;50058:37:0;;;50115:40;24880:10;;50058:12;;50115:40;;50090:5;50115:40;49935:239;;:::o;8624:158::-;8697:4;8721:53;8729:3;-1:-1:-1;;;;;8749:23:0;;8721:7;:53::i;29731:108::-;29458:7;;;;29790:41;;;;-1:-1:-1;;;29790:41:0;;21069:2:1;29790:41:0;;;21051:21:1;21108:2;21088:18;;;21081:30;-1:-1:-1;;;21127:18:1;;;21120:50;21187:18;;29790:41:0;20867:344:1;29546:108:0;29458:7;;;;29616:9;29608:38;;;;-1:-1:-1;;;29608:38:0;;21418:2:1;29608:38:0;;;21400:21:1;21457:2;21437:18;;;21430:30;-1:-1:-1;;;21476:18:1;;;21469:46;21532:18;;29608:38:0;21216:340:1;4985:120:0;5052:7;5079:3;:11;;5091:5;5079:18;;;;;;;;:::i;:::-;;;;;;;;;5072:25;;4985:120;;;;:::o;71867:853::-;72021:4;-1:-1:-1;;;;;72042:13:0;;31897:19;:23;72038:675;;72078:71;;-1:-1:-1;;;72078:71:0;;-1:-1:-1;;;;;72078:36:0;;;;;:71;;24880:10;;72129:4;;72135:7;;72144:4;;72078:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72078:71:0;;;;;;;;-1:-1:-1;;72078:71:0;;;;;;;;;;;;:::i;:::-;;;72074:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72319:13:0;;72315:328;;72362:60;;-1:-1:-1;;;72362:60:0;;;;;;;:::i;72315:328::-;72593:6;72587:13;72578:6;72574:2;72570:15;72563:38;72074:584;-1:-1:-1;;;;;;72200:51:0;-1:-1:-1;;;72200:51:0;;-1:-1:-1;72193:58:0;;72038:675;-1:-1:-1;72697:4:0;71867:853;;;;;;:::o;50760:214::-;50845:4;-1:-1:-1;;;;;;50869:57:0;;-1:-1:-1;;;50869:57:0;;:97;;;50930:36;50954:11;50930:23;:36::i;74613:275::-;74757:45;74784:4;74790:2;74794:7;74757:26;:45::i;:::-;29458:7;;;;74823:9;74815:65;;;;-1:-1:-1;;;74815:65:0;;22511:2:1;74815:65:0;;;22493:21:1;22550:2;22530:18;;;22523:30;22589:34;22569:18;;;22562:62;-1:-1:-1;;;22640:18:1;;;22633:41;22691:19;;74815:65:0;22309:407:1;23355:451:0;23430:13;23456:19;23488:10;23492:6;23488:1;:10;:::i;:::-;:14;;23501:1;23488:14;:::i;:::-;23478:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23478:25:0;;23456:47;;-1:-1:-1;;;23514:6:0;23521:1;23514:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;23514:15:0;;;;;;;;;-1:-1:-1;;;23540:6:0;23547:1;23540:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;23540:15:0;;;;;;;;-1:-1:-1;23571:9:0;23583:10;23587:6;23583:1;:10;:::i;:::-;:14;;23596:1;23583:14;:::i;:::-;23571:26;;23566:135;23603:1;23599;:5;23566:135;;;-1:-1:-1;;;23651:5:0;23659:3;23651:11;23638:25;;;;;;;:::i;:::-;;;;23626:6;23633:1;23626:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;23626:37:0;;;;;;;;-1:-1:-1;23688:1:0;23678:11;;;;;23606:3;;;:::i;:::-;;;23566:135;;;-1:-1:-1;23719:10:0;;23711:55;;;;-1:-1:-1;;;23711:55:0;;23064:2:1;23711:55:0;;;23046:21:1;;;23083:18;;;23076:30;23142:34;23122:18;;;23115:62;23194:18;;23711:55:0;22862:356:1;2801:1420:0;2867:4;3006:19;;;:12;;;:19;;;;;;3042:15;;3038:1176;;3417:21;3441:14;3454:1;3441:10;:14;:::i;:::-;3490:18;;3417:38;;-1:-1:-1;3470:17:0;;3490:22;;3511:1;;3490:22;:::i;:::-;3470:42;;3546:13;3533:9;:26;3529:405;;3580:17;3600:3;:11;;3612:9;3600:22;;;;;;;;:::i;:::-;;;;;;;;;3580:42;;3754:9;3725:3;:11;;3737:13;3725:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3839:23;;;:12;;;:23;;;;;:36;;;3529:405;4015:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4110:3;:12;;:19;4123:5;4110:19;;;;;;;;;;;4103:26;;;4153:4;4146:11;;;;;;;3038:1176;4197:5;4190:12;;;;;44499:204;44584:4;-1:-1:-1;;;;;;44608:47:0;;-1:-1:-1;;;44608:47:0;;:87;;-1:-1:-1;;;;;;;;;;41867:40:0;;;44659:36;41758:157;78370:589;-1:-1:-1;;;;;78576:18:0;;78572:187;;78611:40;78643:7;79786:10;:17;;79759:24;;;;:15;:24;;;;;:44;;;79814:24;;;;;;;;;;;;79682:164;78611:40;78572:187;;;78681:2;-1:-1:-1;;;;;78673:10:0;:4;-1:-1:-1;;;;;78673:10:0;;78669:90;;78700:47;78733:4;78739:7;78700:32;:47::i;:::-;-1:-1:-1;;;;;78773:16:0;;78769:183;;78806:45;78843:7;78806:36;:45::i;78769:183::-;78879:4;-1:-1:-1;;;;;78873:10:0;:2;-1:-1:-1;;;;;78873:10:0;;78869:83;;78900:40;78928:2;78932:7;78900:27;:40::i;80473:988::-;80739:22;80789:1;80764:22;80781:4;80764:16;:22::i;:::-;:26;;;;:::i;:::-;80801:18;80822:26;;;:17;:26;;;;;;80739:51;;-1:-1:-1;80955:28:0;;;80951:328;;-1:-1:-1;;;;;81022:18:0;;81000:19;81022:18;;;:12;:18;;;;;;;;:34;;;;;;;;;81073:30;;;;;;:44;;;81190:30;;:17;:30;;;;;:43;;;80951:328;-1:-1:-1;81375:26:0;;;;:17;:26;;;;;;;;81368:33;;;-1:-1:-1;;;;;81419:18:0;;;;;:12;:18;;;;;:34;;;;;;;81412:41;80473:988::o;81756:1079::-;82034:10;:17;82009:22;;82034:21;;82054:1;;82034:21;:::i;:::-;82066:18;82087:24;;;:15;:24;;;;;;82460:10;:26;;82009:46;;-1:-1:-1;82087:24:0;;82009:46;;82460:26;;;;;;:::i;:::-;;;;;;;;;82438:48;;82524:11;82499:10;82510;82499:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;82604:28;;;:15;:28;;;;;;;:41;;;82776:24;;;;;82769:31;82811:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;81827:1008;;;81756:1079;:::o;79260:221::-;79345:14;79362:20;79379:2;79362:16;:20::i;:::-;-1:-1:-1;;;;;79393:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;79438:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;79260:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:322::-;1991:6;1999;2007;2060:2;2048:9;2039:7;2035:23;2031:32;2028:52;;;2076:1;2073;2066:12;2028:52;2099:29;2118:9;2099:29;:::i;:::-;2089:39;2175:2;2160:18;;2147:32;;-1:-1:-1;2226:2:1;2211:18;;;2198:32;;1914:322;-1:-1:-1;;;1914:322:1:o;2241:632::-;2412:2;2464:21;;;2534:13;;2437:18;;;2556:22;;;2383:4;;2412:2;2635:15;;;;2609:2;2594:18;;;2383:4;2678:169;2692:6;2689:1;2686:13;2678:169;;;2753:13;;2741:26;;2822:15;;;;2787:12;;;;2714:1;2707:9;2678:169;;;-1:-1:-1;2864:3:1;;2241:632;-1:-1:-1;;;;;;2241:632:1:o;2878:254::-;2946:6;2954;3007:2;2995:9;2986:7;2982:23;2978:32;2975:52;;;3023:1;3020;3013:12;2975:52;3046:29;3065:9;3046:29;:::i;:::-;3036:39;3122:2;3107:18;;;;3094:32;;-1:-1:-1;;;2878:254:1:o;3319:328::-;3396:6;3404;3412;3465:2;3453:9;3444:7;3440:23;3436:32;3433:52;;;3481:1;3478;3471:12;3433:52;3504:29;3523:9;3504:29;:::i;:::-;3494:39;;3552:38;3586:2;3575:9;3571:18;3552:38;:::i;:::-;3542:48;;3637:2;3626:9;3622:18;3609:32;3599:42;;3319:328;;;;;:::o;4019:248::-;4087:6;4095;4148:2;4136:9;4127:7;4123:23;4119:32;4116:52;;;4164:1;4161;4154:12;4116:52;-1:-1:-1;;4187:23:1;;;4257:2;4242:18;;;4229:32;;-1:-1:-1;4019:248:1:o;4551:254::-;4619:6;4627;4680:2;4668:9;4659:7;4655:23;4651:32;4648:52;;;4696:1;4693;4686:12;4648:52;4732:9;4719:23;4709:33;;4761:38;4795:2;4784:9;4780:18;4761:38;:::i;:::-;4751:48;;4551:254;;;;;:::o;4810:186::-;4869:6;4922:2;4910:9;4901:7;4897:23;4893:32;4890:52;;;4938:1;4935;4928:12;4890:52;4961:29;4980:9;4961:29;:::i;5001:592::-;5072:6;5080;5133:2;5121:9;5112:7;5108:23;5104:32;5101:52;;;5149:1;5146;5139:12;5101:52;5189:9;5176:23;5218:18;5259:2;5251:6;5248:14;5245:34;;;5275:1;5272;5265:12;5245:34;5313:6;5302:9;5298:22;5288:32;;5358:7;5351:4;5347:2;5343:13;5339:27;5329:55;;5380:1;5377;5370:12;5329:55;5420:2;5407:16;5446:2;5438:6;5435:14;5432:34;;;5462:1;5459;5452:12;5432:34;5507:7;5502:2;5493:6;5489:2;5485:15;5481:24;5478:37;5475:57;;;5528:1;5525;5518:12;5475:57;5559:2;5551:11;;;;;5581:6;;-1:-1:-1;5001:592:1;;-1:-1:-1;;;;5001:592:1:o;5598:367::-;5661:8;5671:6;5725:3;5718:4;5710:6;5706:17;5702:27;5692:55;;5743:1;5740;5733:12;5692:55;-1:-1:-1;5766:20:1;;5809:18;5798:30;;5795:50;;;5841:1;5838;5831:12;5795:50;5878:4;5870:6;5866:17;5854:29;;5938:3;5931:4;5921:6;5918:1;5914:14;5906:6;5902:27;5898:38;5895:47;5892:67;;;5955:1;5952;5945:12;5970:773;6092:6;6100;6108;6116;6169:2;6157:9;6148:7;6144:23;6140:32;6137:52;;;6185:1;6182;6175:12;6137:52;6225:9;6212:23;6254:18;6295:2;6287:6;6284:14;6281:34;;;6311:1;6308;6301:12;6281:34;6350:70;6412:7;6403:6;6392:9;6388:22;6350:70;:::i;:::-;6439:8;;-1:-1:-1;6324:96:1;-1:-1:-1;6527:2:1;6512:18;;6499:32;;-1:-1:-1;6543:16:1;;;6540:36;;;6572:1;6569;6562:12;6540:36;;6611:72;6675:7;6664:8;6653:9;6649:24;6611:72;:::i;:::-;5970:773;;;;-1:-1:-1;6702:8:1;-1:-1:-1;;;;5970:773:1:o;7001:347::-;7066:6;7074;7127:2;7115:9;7106:7;7102:23;7098:32;7095:52;;;7143:1;7140;7133:12;7095:52;7166:29;7185:9;7166:29;:::i;:::-;7156:39;;7245:2;7234:9;7230:18;7217:32;7292:5;7285:13;7278:21;7271:5;7268:32;7258:60;;7314:1;7311;7304:12;7258:60;7337:5;7327:15;;;7001:347;;;;;:::o;7353:127::-;7414:10;7409:3;7405:20;7402:1;7395:31;7445:4;7442:1;7435:15;7469:4;7466:1;7459:15;7485:1138;7580:6;7588;7596;7604;7657:3;7645:9;7636:7;7632:23;7628:33;7625:53;;;7674:1;7671;7664:12;7625:53;7697:29;7716:9;7697:29;:::i;:::-;7687:39;;7745:38;7779:2;7768:9;7764:18;7745:38;:::i;:::-;7735:48;;7830:2;7819:9;7815:18;7802:32;7792:42;;7885:2;7874:9;7870:18;7857:32;7908:18;7949:2;7941:6;7938:14;7935:34;;;7965:1;7962;7955:12;7935:34;8003:6;7992:9;7988:22;7978:32;;8048:7;8041:4;8037:2;8033:13;8029:27;8019:55;;8070:1;8067;8060:12;8019:55;8106:2;8093:16;8128:2;8124;8121:10;8118:36;;;8134:18;;:::i;:::-;8209:2;8203:9;8177:2;8263:13;;-1:-1:-1;;8259:22:1;;;8283:2;8255:31;8251:40;8239:53;;;8307:18;;;8327:22;;;8304:46;8301:72;;;8353:18;;:::i;:::-;8393:10;8389:2;8382:22;8428:2;8420:6;8413:18;8468:7;8463:2;8458;8454;8450:11;8446:20;8443:33;8440:53;;;8489:1;8486;8479:12;8440:53;8545:2;8540;8536;8532:11;8527:2;8519:6;8515:15;8502:46;8590:1;8585:2;8580;8572:6;8568:15;8564:24;8557:35;8611:6;8601:16;;;;;;;7485:1138;;;;;;;:::o;8628:260::-;8696:6;8704;8757:2;8745:9;8736:7;8732:23;8728:32;8725:52;;;8773:1;8770;8763:12;8725:52;8796:29;8815:9;8796:29;:::i;:::-;8786:39;;8844:38;8878:2;8867:9;8863:18;8844:38;:::i;8893:380::-;8972:1;8968:12;;;;9015;;;9036:61;;9090:4;9082:6;9078:17;9068:27;;9036:61;9143:2;9135:6;9132:14;9112:18;9109:38;9106:161;;;9189:10;9184:3;9180:20;9177:1;9170:31;9224:4;9221:1;9214:15;9252:4;9249:1;9242:15;9106:161;;8893:380;;;:::o;9278:127::-;9339:10;9334:3;9330:20;9327:1;9320:31;9370:4;9367:1;9360:15;9394:4;9391:1;9384:15;9410:128;9450:3;9481:1;9477:6;9474:1;9471:13;9468:39;;;9487:18;;:::i;:::-;-1:-1:-1;9523:9:1;;9410:128::o;9946:127::-;10007:10;10002:3;9998:20;9995:1;9988:31;10038:4;10035:1;10028:15;10062:4;10059:1;10052:15;10911:410;11113:2;11095:21;;;11152:2;11132:18;;;11125:30;11191:34;11186:2;11171:18;;11164:62;-1:-1:-1;;;11257:2:1;11242:18;;11235:44;11311:3;11296:19;;10911:410::o;11326:401::-;11528:2;11510:21;;;11567:2;11547:18;;;11540:30;11606:34;11601:2;11586:18;;11579:62;-1:-1:-1;;;11672:2:1;11657:18;;11650:35;11717:3;11702:19;;11326:401::o;11732:168::-;11772:7;11838:1;11834;11830:6;11826:14;11823:1;11820:21;11815:1;11808:9;11801:17;11797:45;11794:71;;;11845:18;;:::i;:::-;-1:-1:-1;11885:9:1;;11732:168::o;11905:127::-;11966:10;11961:3;11957:20;11954:1;11947:31;11997:4;11994:1;11987:15;12021:4;12018:1;12011:15;12037:120;12077:1;12103;12093:35;;12108:18;;:::i;:::-;-1:-1:-1;12142:9:1;;12037:120::o;16144:470::-;16323:3;16361:6;16355:13;16377:53;16423:6;16418:3;16411:4;16403:6;16399:17;16377:53;:::i;:::-;16493:13;;16452:16;;;;16515:57;16493:13;16452:16;16549:4;16537:17;;16515:57;:::i;:::-;16588:20;;16144:470;-1:-1:-1;;;;16144:470:1:o;17837:125::-;17877:4;17905:1;17902;17899:8;17896:34;;;17910:18;;:::i;:::-;-1:-1:-1;17947:9:1;;17837:125::o;19400:414::-;19602:2;19584:21;;;19641:2;19621:18;;;19614:30;19680:34;19675:2;19660:18;;19653:62;-1:-1:-1;;;19746:2:1;19731:18;;19724:48;19804:3;19789:19;;19400:414::o;19819:135::-;19858:3;-1:-1:-1;;19879:17:1;;19876:43;;;19899:18;;:::i;:::-;-1:-1:-1;19946:1:1;19935:13;;19819:135::o;19959:112::-;19991:1;20017;20007:35;;20022:18;;:::i;:::-;-1:-1:-1;20056:9:1;;19959:112::o;20076:786::-;20487:25;20482:3;20475:38;20457:3;20542:6;20536:13;20558:62;20613:6;20608:2;20603:3;20599:12;20592:4;20584:6;20580:17;20558:62;:::i;:::-;-1:-1:-1;;;20679:2:1;20639:16;;;20671:11;;;20664:40;20729:13;;20751:63;20729:13;20800:2;20792:11;;20785:4;20773:17;;20751:63;:::i;:::-;20834:17;20853:2;20830:26;;20076:786;-1:-1:-1;;;;20076:786:1:o;21561:489::-;-1:-1:-1;;;;;21830:15:1;;;21812:34;;21882:15;;21877:2;21862:18;;21855:43;21929:2;21914:18;;21907:34;;;21977:3;21972:2;21957:18;;21950:31;;;21755:4;;21998:46;;22024:19;;22016:6;21998:46;:::i;:::-;21990:54;21561:489;-1:-1:-1;;;;;;21561:489:1:o;22055:249::-;22124:6;22177:2;22165:9;22156:7;22152:23;22148:32;22145:52;;;22193:1;22190;22183:12;22145:52;22225:9;22219:16;22244:30;22268:5;22244:30;:::i;22721:136::-;22760:3;22788:5;22778:39;;22797:18;;:::i;:::-;-1:-1:-1;;;22833:18:1;;22721:136::o;23223:127::-;23284:10;23279:3;23275:20;23272:1;23265:31;23315:4;23312:1;23305:15;23339:4;23336:1;23329:15
Swarm Source
ipfs://e2448faec7cfcf00da7444d16a67f398a3fb07bde7efa8be60a0e0330d40186a
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.