ETH Price: $3,716.57 (+3.41%)

Token

ERC-20: Arise (ARISE)
 

Overview

Max Total Supply

200 ARISE

Holders

61

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 ARISE
0x7700946ddbcFd7D09FB9Db9D17CC32C2f3bd89CB
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Arise

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion, MIT license
File 1 of 24 : Arise.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import {IDiamondCut} from "./interfaces/IDiamondCut.sol";
import {LivelyDiamond} from "./LivelyDiamond.sol";

/// @custom:security-contact [email protected]
contract Arise is LivelyDiamond {
    constructor(
        IDiamondCut.FacetCut[] memory _diamondCut,
        LivelyDiamond.DiamondArgs memory _args
    ) payable LivelyDiamond(_diamondCut, _args) {}
}

File 2 of 24 : IDiamondCut.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
/******************************************************************************/

interface IDiamondCut {
    enum FacetCutAction {
        Add,
        Replace,
        Remove
    }
    // Add=0, Replace=1, Remove=2

    struct FacetCut {
        address facetAddress;
        FacetCutAction action;
        bytes4[] functionSelectors;
    }

    /// @notice Add/replace/remove any number of functions and optionally execute
    ///         a function with delegatecall
    /// @param _diamondCut Contains the facet addresses and function selectors
    /// @param _init The address of the contract or facet to execute _calldata
    /// @param _calldata A function call, including function selector and arguments
    ///                  _calldata is executed with delegatecall on _init
    function diamondCut(
        FacetCut[] calldata _diamondCut,
        address _init,
        bytes calldata _calldata
    ) external;

    event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);
}

File 3 of 24 : LivelyDiamond.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import {AppStorage, RoyaltyInfo, Edition} from "./libraries/LibAppStorage.sol";
import {LibDiamond} from "./libraries/LibDiamond.sol";
import {IDiamondCut} from "./interfaces/IDiamondCut.sol";
import {IDiamondLoupe} from "./interfaces/IDiamondLoupe.sol";
import {Shared} from "./libraries/Shared.sol";
import {IERC173} from "./interfaces/IERC173.sol";
import {IERC165} from "./interfaces/IERC165.sol";
import {IERC721} from "./interfaces/IERC721.sol";
import {IERC721Metadata} from "./interfaces/IERC721Metadata.sol";
import {IAccessControl} from "@openzeppelin/contracts/access/IAccessControl.sol";
import {LibDiamondEtherscan} from "./libraries/LibDiamondEtherscan.sol";

import "hardhat/console.sol";

error PaymentSplitterMismatch();
error PaymentSplitterNoPayees();

/// @custom:security-contact [email protected]
contract LivelyDiamond {
    AppStorage internal s;

    struct DiamondArgs {
        uint256 _price;
        uint256 _maxSupply;
        uint256 _maxMintPerTx;
        uint256 _maxMintPerAddress;
        address _secondaryPayee;
        address _owner;
        uint96 _secondaryPoints;
        address[] _payees; // primary
        uint256[] _shares; // primary
        string _name;
        string _symbol;
        string _contractURI;
        string _baseTokenUri;
        bool _airdrop;
        bool _allowListEnabled;
        bool _isPriceUSD;
        bool _automaticUSDConversion;
        bool _isSoulbound;
        Edition[] _editions;
    }

    constructor(
        IDiamondCut.FacetCut[] memory _diamondCut,
        DiamondArgs memory _args
    ) payable {
        uint256 payeesLength;
        uint256 sharesLength = _args._shares.length;
        if (!_args._airdrop) {
            payeesLength = _args._payees.length;
            if (payeesLength != sharesLength) {
                revert PaymentSplitterMismatch();
            }

            if (payeesLength == 0) {
                revert PaymentSplitterNoPayees();
            }
        }

        LibDiamond.diamondCut(_diamondCut, address(0), new bytes(0));
        LibDiamond.setContractOwner(_args._owner);

        // adding ERC165 data
        LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();

        ds.supportedInterfaces[type(IERC165).interfaceId] = true;
        ds.supportedInterfaces[type(IDiamondCut).interfaceId] = true;
        ds.supportedInterfaces[type(IDiamondLoupe).interfaceId] = true;
        ds.supportedInterfaces[type(IERC173).interfaceId] = true;
        ds.supportedInterfaces[type(IERC721).interfaceId] = true;
        ds.supportedInterfaces[type(IERC721Metadata).interfaceId] = true;
        ds.supportedInterfaces[type(IAccessControl).interfaceId] = true;

        // Initialize Data
        // s.paused = false; // Defaults to false
        // s.currentIndex = 0; // Defaults to 0
        s.name = _args._name;
        s.symbol = _args._symbol;
        s.airdrop = _args._airdrop;
        s.maxSupply = _args._maxSupply;
        s.isPriceUSD = _args._isPriceUSD;
        s.isSoulbound = _args._isSoulbound;
        s.contractURI = _args._contractURI;
        s.maxMintPerTx = _args._maxMintPerTx;
        s.baseTokenUri = _args._baseTokenUri;
        s.price = _args._airdrop ? 0 : _args._price;
        s.allowListEnabled = _args._allowListEnabled;
        s.maxMintPerAddress = _args._maxMintPerAddress;
        s.automaticUSDConversion = _args._automaticUSDConversion;

        // Initialize PaymentSplitter information
        for (uint256 i = 0; i < sharesLength; ) {
            Shared._addPayee(_args._payees[i], _args._shares[i]);
            // Gas Optimization
            unchecked {
                ++i;
            }
        }

        // Set Royalty Info
        s.defaultRoyaltyInfo = RoyaltyInfo(
            _args._secondaryPayee,
            _args._secondaryPoints
        );

        // Access Control Roles
        s.DEFAULT_ADMIN_ROLE = 0x00;
        s.OWNER_ROLE = keccak256("OWNER_ROLE");

        Shared._grantRole(s.DEFAULT_ADMIN_ROLE, msg.sender);
        Shared._grantRole(s.OWNER_ROLE, msg.sender);

        // Editions
        uint256 editionsLength = _args._editions.length;
        if (editionsLength > 0) {
            s.editionsEnabled = true;
            for (uint256 i = 0; i < editionsLength; ) {
                Edition memory _edition = _args._editions[i];

                Shared.createEdition(
                    _edition.name,
                    _edition.maxSupply,
                    _edition.price
                );

                unchecked {
                    ++i;
                }
            }
        }

        // Set implementation slot
        LibDiamondEtherscan._setDummyImplementation(
            0x71D964BC6e1Cc017eE05E012B8B70eCA9d049C85
        );
    }

    // Find facet for function that is called and execute the
    // function if a facet is found and return any value.
    fallback() external payable {
        LibDiamond.DiamondStorage storage ds;
        bytes32 position = LibDiamond.DIAMOND_STORAGE_POSITION;
        // get diamond storage
        assembly {
            ds.slot := position
        }
        // get facet from function selector
        address facet = address(bytes20(ds.facets[msg.sig]));
        require(facet != address(0), "Diamond: Function does not exist");
        // Execute external function from facet using delegatecall and return any value.
        assembly {
            // copy function selector and any arguments
            calldatacopy(0, 0, calldatasize())
            // execute function call using the facet
            let result := delegatecall(gas(), facet, 0, calldatasize(), 0, 0)
            // get any return value
            returndatacopy(0, 0, returndatasize())
            // return any return value or error back to the caller
            switch result
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    receive() external payable {
        emit Shared.PaymentReceived(msg.sender, msg.value);
    }
}

File 4 of 24 : LibAppStorage.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// pragma experimental ABIEncoderV2;
import {LibDiamond} from "../libraries/LibDiamond.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {AccessControl} from "../abstracts/AccessControl.sol";

struct TokenApprovalRef {
    address value;
}

struct RoyaltyInfo {
    address receiver;
    uint96 royaltyFraction;
}

struct RoleData {
    mapping(address => bool) members;
    bytes32 adminRole;
}

struct Edition {
    string name;
    uint256 maxSupply;
    uint256 totalSupply;
    uint256 price;
}

// TODO: Minimum savings from packing the struct. But would require redeployin all facets. Probably not worth it.abi
// TODO: Revert back to old structure and add new items to the end?
struct AppStorage {
    /**
     * @dev ERC721A Section
     */
    // The tokenId of the next token to be minted.
    uint256 currentIndex;
    // The number of tokens burned.
    uint256 burnCounter;
    // Token name
    string name;
    // Token symbol
    string symbol;
    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) packedOwnerships;
    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) packedAddressData;
    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) tokenApprovals;
    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) operatorApprovals;
    /**
     * @dev PaymentSplitter Section
     */
    uint256 totalShares;
    uint256 totalReleased;
    mapping(address => uint256) shares;
    mapping(address => uint256) released;
    address[] payees;
    mapping(IERC20 => uint256) erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) erc20Released;
    bool isPriceUSD;
    bool automaticUSDConversion;
    /**
     * @dev Royalty/ERC2981/ContractURI Section
     */
    RoyaltyInfo defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) tokenRoyaltyInfo;
    string contractURI;
    address secondaryPayee;
    uint256 secondaryPoints;
    /**
     * @dev Custom ERC721A Variables
     */
    uint256 price;
    uint256 maxSupply;
    string baseTokenUri;
    bool airdrop;
    bool paused;
    uint256 maxMintPerTx;
    uint256 maxMintPerAddress;
    // Allow list
    bytes32 allowListRoot;
    bool allowListEnabled;
    /**
     * @dev Access Control
     */
    mapping(bytes32 => RoleData) roles;
    bytes32 DEFAULT_ADMIN_ROLE;
    bytes32 OWNER_ROLE;
    /**
     * @dev Editions
     */
    bool editionsEnabled;
    Edition[] editionsByIndex; // Editions
    mapping(uint256 => uint256) tokenEdition; // idToken => editionIndex
    /**
     * @dev Soulbound!!
     */
    bool isSoulbound;
}

library LibAppStorage {
    function diamondStorage() internal pure returns (AppStorage storage ds) {
        assembly {
            ds.slot := 0
        }
    }

    function abs(int256 x) internal pure returns (uint256) {
        return uint256(x >= 0 ? x : -x);
    }
}

File 5 of 24 : LibDiamond.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
pragma experimental ABIEncoderV2;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamond Standard: https://eips.ethereum.org/EIPS/eip-2535
*
* This is gas optimized by reducing storage reads and storage writes.
* This code is as complex as it is to reduce gas costs.
/******************************************************************************/

import "../interfaces/IDiamondCut.sol";

library LibDiamond {
    bytes32 constant DIAMOND_STORAGE_POSITION =
        keccak256("diamond.standard.diamond.storage");

    struct DiamondStorage {
        // maps function selectors to the facets that execute the functions.
        // and maps the selectors to their position in the selectorSlots array.
        // func selector => address facet, selector position
        mapping(bytes4 => bytes32) facets;
        // array of slots of function selectors.
        // each slot holds 8 function selectors.
        mapping(uint256 => bytes32) selectorSlots;
        // The number of function selectors in selectorSlots
        uint16 selectorCount;
        // Used to query if a contract implements an interface.
        // Used to implement ERC-165.
        mapping(bytes4 => bool) supportedInterfaces;
        // owner of the contract
        address contractOwner;
    }

    function diamondStorage()
        internal
        pure
        returns (DiamondStorage storage ds)
    {
        bytes32 position = DIAMOND_STORAGE_POSITION;
        assembly {
            ds.slot := position
        }
    }

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    function setContractOwner(address _newOwner) internal {
        DiamondStorage storage ds = diamondStorage();
        address previousOwner = ds.contractOwner;
        ds.contractOwner = _newOwner;
        emit OwnershipTransferred(previousOwner, _newOwner);
    }

    function contractOwner() internal view returns (address contractOwner_) {
        contractOwner_ = diamondStorage().contractOwner;
    }

    function enforceIsContractOwner() internal view {
        require(
            msg.sender == diamondStorage().contractOwner,
            "LibDiamond: Must be contract owner"
        );
    }

    event DiamondCut(
        IDiamondCut.FacetCut[] _diamondCut,
        address _init,
        bytes _calldata
    );

    bytes32 constant CLEAR_ADDRESS_MASK =
        bytes32(uint256(0xffffffffffffffffffffffff));
    bytes32 constant CLEAR_SELECTOR_MASK = bytes32(uint256(0xffffffff << 224));

    // Internal function version of diamondCut
    // This code is almost the same as the external diamondCut,
    // except it is using 'Facet[] memory _diamondCut' instead of
    // 'Facet[] calldata _diamondCut'.
    // The code is duplicated to prevent copying calldata to memory which
    // causes an error for a two dimensional array.
    function diamondCut(
        IDiamondCut.FacetCut[] memory _diamondCut,
        address _init,
        bytes memory _calldata
    ) internal {
        DiamondStorage storage ds = diamondStorage();
        uint256 originalSelectorCount = ds.selectorCount;
        uint256 selectorCount = originalSelectorCount;
        bytes32 selectorSlot;
        // Check if last selector slot is not full
        if (selectorCount & 7 > 0) {
            // get last selectorSlot
            selectorSlot = ds.selectorSlots[selectorCount >> 3];
        }
        // loop through diamond cut
        for (
            uint256 facetIndex;
            facetIndex < _diamondCut.length;
            facetIndex++
        ) {
            (selectorCount, selectorSlot) = addReplaceRemoveFacetSelectors(
                selectorCount,
                selectorSlot,
                _diamondCut[facetIndex].facetAddress,
                _diamondCut[facetIndex].action,
                _diamondCut[facetIndex].functionSelectors
            );
        }
        if (selectorCount != originalSelectorCount) {
            ds.selectorCount = uint16(selectorCount);
        }
        // If last selector slot is not full
        if (selectorCount & 7 > 0) {
            ds.selectorSlots[selectorCount >> 3] = selectorSlot;
        }
        emit DiamondCut(_diamondCut, _init, _calldata);
        initializeDiamondCut(_init, _calldata);
    }

    function addReplaceRemoveFacetSelectors(
        uint256 _selectorCount,
        bytes32 _selectorSlot,
        address _newFacetAddress,
        IDiamondCut.FacetCutAction _action,
        bytes4[] memory _selectors
    ) internal returns (uint256, bytes32) {
        DiamondStorage storage ds = diamondStorage();
        require(
            _selectors.length > 0,
            "LibDiamondCut: No selectors in facet to cut"
        );
        if (_action == IDiamondCut.FacetCutAction.Add) {
            enforceHasContractCode(
                _newFacetAddress,
                "LibDiamondCut: Add facet has no code"
            );
            for (
                uint256 selectorIndex;
                selectorIndex < _selectors.length;
                selectorIndex++
            ) {
                bytes4 selector = _selectors[selectorIndex];
                bytes32 oldFacet = ds.facets[selector];
                require(
                    address(bytes20(oldFacet)) == address(0),
                    "LibDiamondCut: Can't add function that already exists"
                );
                // add facet for selector
                ds.facets[selector] =
                    bytes20(_newFacetAddress) |
                    bytes32(_selectorCount);
                uint256 selectorInSlotPosition = (_selectorCount & 7) << 5;
                // clear selector position in slot and add selector
                _selectorSlot =
                    (_selectorSlot &
                        ~(CLEAR_SELECTOR_MASK >> selectorInSlotPosition)) |
                    (bytes32(selector) >> selectorInSlotPosition);
                // if slot is full then write it to storage
                if (selectorInSlotPosition == 224) {
                    ds.selectorSlots[_selectorCount >> 3] = _selectorSlot;
                    _selectorSlot = 0;
                }
                _selectorCount++;
            }
        } else if (_action == IDiamondCut.FacetCutAction.Replace) {
            enforceHasContractCode(
                _newFacetAddress,
                "LibDiamondCut: Replace facet has no code"
            );
            for (
                uint256 selectorIndex;
                selectorIndex < _selectors.length;
                selectorIndex++
            ) {
                bytes4 selector = _selectors[selectorIndex];
                bytes32 oldFacet = ds.facets[selector];
                address oldFacetAddress = address(bytes20(oldFacet));
                // only useful if immutable functions exist
                require(
                    oldFacetAddress != address(this),
                    "LibDiamondCut: Can't replace immutable function"
                );
                require(
                    oldFacetAddress != _newFacetAddress,
                    "LibDiamondCut: Can't replace function with same function"
                );
                require(
                    oldFacetAddress != address(0),
                    "LibDiamondCut: Can't replace function that doesn't exist"
                );
                // replace old facet address
                ds.facets[selector] =
                    (oldFacet & CLEAR_ADDRESS_MASK) |
                    bytes20(_newFacetAddress);
            }
        } else if (_action == IDiamondCut.FacetCutAction.Remove) {
            require(
                _newFacetAddress == address(0),
                "LibDiamondCut: Remove facet address must be address(0)"
            );
            uint256 selectorSlotCount = _selectorCount >> 3;
            uint256 selectorInSlotIndex = _selectorCount & 7;
            for (
                uint256 selectorIndex;
                selectorIndex < _selectors.length;
                selectorIndex++
            ) {
                if (_selectorSlot == 0) {
                    // get last selectorSlot
                    selectorSlotCount--;
                    _selectorSlot = ds.selectorSlots[selectorSlotCount];
                    selectorInSlotIndex = 7;
                } else {
                    selectorInSlotIndex--;
                }
                bytes4 lastSelector;
                uint256 oldSelectorsSlotCount;
                uint256 oldSelectorInSlotPosition;
                // adding a block here prevents stack too deep error
                {
                    bytes4 selector = _selectors[selectorIndex];
                    bytes32 oldFacet = ds.facets[selector];
                    require(
                        address(bytes20(oldFacet)) != address(0),
                        "LibDiamondCut: Can't remove function that doesn't exist"
                    );
                    // only useful if immutable functions exist
                    require(
                        address(bytes20(oldFacet)) != address(this),
                        "LibDiamondCut: Can't remove immutable function"
                    );
                    // replace selector with last selector in ds.facets
                    // gets the last selector
                    lastSelector = bytes4(
                        _selectorSlot << (selectorInSlotIndex << 5)
                    );
                    if (lastSelector != selector) {
                        // update last selector slot position info
                        ds.facets[lastSelector] =
                            (oldFacet & CLEAR_ADDRESS_MASK) |
                            bytes20(ds.facets[lastSelector]);
                    }
                    delete ds.facets[selector];
                    uint256 oldSelectorCount = uint16(uint256(oldFacet));
                    oldSelectorsSlotCount = oldSelectorCount >> 3;
                    oldSelectorInSlotPosition = (oldSelectorCount & 7) << 5;
                }
                if (oldSelectorsSlotCount != selectorSlotCount) {
                    bytes32 oldSelectorSlot = ds.selectorSlots[
                        oldSelectorsSlotCount
                    ];
                    // clears the selector we are deleting and puts the last selector in its place.
                    oldSelectorSlot =
                        (oldSelectorSlot &
                            ~(CLEAR_SELECTOR_MASK >>
                                oldSelectorInSlotPosition)) |
                        (bytes32(lastSelector) >> oldSelectorInSlotPosition);
                    // update storage with the modified slot
                    ds.selectorSlots[oldSelectorsSlotCount] = oldSelectorSlot;
                } else {
                    // clears the selector we are deleting and puts the last selector in its place.
                    _selectorSlot =
                        (_selectorSlot &
                            ~(CLEAR_SELECTOR_MASK >>
                                oldSelectorInSlotPosition)) |
                        (bytes32(lastSelector) >> oldSelectorInSlotPosition);
                }
                if (selectorInSlotIndex == 0) {
                    delete ds.selectorSlots[selectorSlotCount];
                    _selectorSlot = 0;
                }
            }
            _selectorCount = selectorSlotCount * 8 + selectorInSlotIndex;
        } else {
            revert("LibDiamondCut: Incorrect FacetCutAction");
        }
        return (_selectorCount, _selectorSlot);
    }

    function initializeDiamondCut(address _init, bytes memory _calldata)
        internal
    {
        if (_init == address(0)) {
            require(
                _calldata.length == 0,
                "LibDiamondCut: _init is address(0) but_calldata is not empty"
            );
        } else {
            require(
                _calldata.length > 0,
                "LibDiamondCut: _calldata is empty but _init is not address(0)"
            );
            if (_init != address(this)) {
                enforceHasContractCode(
                    _init,
                    "LibDiamondCut: _init address has no code"
                );
            }
            (bool success, bytes memory error) = _init.delegatecall(_calldata);
            if (!success) {
                if (error.length > 0) {
                    // bubble up the error
                    revert(string(error));
                } else {
                    revert("LibDiamondCut: _init function reverted");
                }
            }
        }
    }

    function enforceHasContractCode(
        address _contract,
        string memory _errorMessage
    ) internal view {
        uint256 contractSize;
        assembly {
            contractSize := extcodesize(_contract)
        }
        require(contractSize > 0, _errorMessage);
    }
}

File 6 of 24 : IDiamondLoupe.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
/******************************************************************************/

// A loupe is a small magnifying glass used to look at diamonds.
// These functions look at diamonds
interface IDiamondLoupe {
    /// These functions are expected to be called frequently
    /// by tools.

    struct Facet {
        address facetAddress;
        bytes4[] functionSelectors;
    }

    /// @notice Gets all facet addresses and their four byte function selectors.
    /// @return facets_ Facet
    function facets() external view returns (Facet[] memory facets_);

    /// @notice Gets all the function selectors supported by a specific facet.
    /// @param _facet The facet address.
    /// @return facetFunctionSelectors_
    function facetFunctionSelectors(address _facet)
        external
        view
        returns (bytes4[] memory facetFunctionSelectors_);

    /// @notice Get all the facet addresses used by a diamond.
    /// @return facetAddresses_
    function facetAddresses()
        external
        view
        returns (address[] memory facetAddresses_);

    /// @notice Gets the facet that supports the given selector.
    /// @dev If facet is not found return address(0).
    /// @param _functionSelector The function selector.
    /// @return facetAddress_ The facet address.
    function facetAddress(bytes4 _functionSelector)
        external
        view
        returns (address facetAddress_);
}

File 7 of 24 : Shared.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import {LibDiamond} from "./LibDiamond.sol";
import {AppStorage, LibAppStorage, Edition} from "./LibAppStorage.sol";

library Shared {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReceived(address from, uint256 amount);
    event RoleGranted(
        bytes32 indexed role,
        address indexed account,
        address indexed sender
    );
    event EditionCreate(
        uint256 editionIndex,
        string name,
        uint256 price,
        uint256 maxSupply
    );

    error PaymentSplitterAccountAddressZero();
    error PaymentSplitterSharesZero();
    error PaymentSplitterAccountHasShares();
    error EditionsDisabled();
    error NameRequired();

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param _shares The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 _shares) internal {
        LibDiamond.enforceIsContractOwner();
        AppStorage storage s = LibAppStorage.diamondStorage();

        if (account == address(0)) {
            revert PaymentSplitterAccountAddressZero();
        }

        if (_shares == 0) {
            revert PaymentSplitterSharesZero();
        }

        if (s.shares[account] > 0) {
            revert PaymentSplitterAccountHasShares();
        }

        s.payees.push(account);
        s.shares[account] = _shares;
        s.totalShares = s.totalShares + _shares;
        emit PayeeAdded(account, _shares);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal {
        LibDiamond.enforceIsContractOwner();
        AppStorage storage s = LibAppStorage.diamondStorage();

        if (!hasRole(role, account)) {
            s.roles[role].members[account] = true;
            emit RoleGranted(role, account, msg.sender);
        }
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account)
        internal
        view
        returns (bool)
    {
        AppStorage storage s = LibAppStorage.diamondStorage();
        return s.roles[role].members[account];
    }

    function createEdition(
        string memory _name,
        uint256 _maxSupply,
        uint256 _price
    ) internal {
        LibDiamond.enforceIsContractOwner();
        AppStorage storage s = LibAppStorage.diamondStorage();
        if (!s.editionsEnabled) revert EditionsDisabled();
        if (bytes(_name).length == 0) revert NameRequired();

        uint256 index = s.editionsByIndex.length;

        Edition memory _edition = Edition({
            name: _name,
            maxSupply: _maxSupply,
            price: _price,
            totalSupply: 0
        });

        s.editionsByIndex.push(_edition);
        s.maxSupply = s.maxSupply + _maxSupply;

        emit EditionCreate(index, _name, _price, _maxSupply);
    }
}

File 8 of 24 : IERC173.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/// @title ERC-173 Contract Ownership Standard
///  Note: the ERC-165 identifier for this interface is 0x7f5828d0
/* is ERC165 */
interface IERC173 {
    /// @dev This emits when ownership of a contract changes.
    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    /// @notice Get the address of the owner
    /// @return owner_ The address of the owner.
    function owner() external view returns (address owner_);

    /// @notice Set the address of the new owner of the contract
    /// @dev Set _newOwner to address(0) to renounce any ownership.
    /// @param _newOwner The address of the new owner of the contract
    function transferOwnership(address _newOwner) external;
}

File 9 of 24 : IERC165.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

interface IERC165 {
    /// @notice Query if a contract implements an interface
    /// @param interfaceId The interface identifier, as specified in ERC-165
    /// @dev Interface identification is specified in ERC-165. This function
    ///  uses less than 30,000 gas.
    /// @return `true` if the contract implements `interfaceID` and
    ///  `interfaceID` is not 0xffffffff, `false` otherwise
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 10 of 24 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 * NOTE: These modified OpenZeppelin interfaces are required because inheritance from IERC165 is not supported in Diamonds. There's another mechanism for that.
 */
interface IERC721 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed tokenId
    );

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(
        address indexed owner,
        address indexed approved,
        uint256 indexed tokenId
    );

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(
        address indexed owner,
        address indexed operator,
        bool approved
    );

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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 11 of 24 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.9;

import "./IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 12 of 24 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// 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 13 of 24 : LibDiamondEtherscan.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/StorageSlot.sol";

library LibDiamondEtherscan {
    /**
     * @dev Storage slot with the address of the current dummy-implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1
     */
    bytes32 internal constant IMPLEMENTATION_SLOT =
        0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
    bytes32 internal constant _ADMIN_SLOT =
        0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    function _setDummyImplementation(address implementationAddress) internal {
        StorageSlot
            .getAddressSlot(IMPLEMENTATION_SLOT)
            .value = implementationAddress;
    }

    function _dummyImplementation() internal view returns (address) {
        return StorageSlot.getAddressSlot(IMPLEMENTATION_SLOT).value;
    }
}

File 14 of 24 : console.sol
// SPDX-License-Identifier: MIT
pragma solidity >= 0.4.22 <0.9.0;

library console {
 address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67);

 function _sendLogPayload(bytes memory payload) private view {
  uint256 payloadLength = payload.length;
  address consoleAddress = CONSOLE_ADDRESS;
  assembly {
   let payloadStart := add(payload, 32)
   let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0)
  }
 }

 function log() internal view {
  _sendLogPayload(abi.encodeWithSignature("log()"));
 }

 function logInt(int256 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(int256)", p0));
 }

 function logUint(uint256 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
 }

 function logString(string memory p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string)", p0));
 }

 function logBool(bool p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
 }

 function logAddress(address p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address)", p0));
 }

 function logBytes(bytes memory p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0));
 }

 function logBytes1(bytes1 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0));
 }

 function logBytes2(bytes2 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0));
 }

 function logBytes3(bytes3 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0));
 }

 function logBytes4(bytes4 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0));
 }

 function logBytes5(bytes5 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0));
 }

 function logBytes6(bytes6 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0));
 }

 function logBytes7(bytes7 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0));
 }

 function logBytes8(bytes8 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0));
 }

 function logBytes9(bytes9 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0));
 }

 function logBytes10(bytes10 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0));
 }

 function logBytes11(bytes11 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0));
 }

 function logBytes12(bytes12 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0));
 }

 function logBytes13(bytes13 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0));
 }

 function logBytes14(bytes14 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0));
 }

 function logBytes15(bytes15 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0));
 }

 function logBytes16(bytes16 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0));
 }

 function logBytes17(bytes17 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0));
 }

 function logBytes18(bytes18 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0));
 }

 function logBytes19(bytes19 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0));
 }

 function logBytes20(bytes20 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0));
 }

 function logBytes21(bytes21 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0));
 }

 function logBytes22(bytes22 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0));
 }

 function logBytes23(bytes23 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0));
 }

 function logBytes24(bytes24 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0));
 }

 function logBytes25(bytes25 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0));
 }

 function logBytes26(bytes26 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0));
 }

 function logBytes27(bytes27 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0));
 }

 function logBytes28(bytes28 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0));
 }

 function logBytes29(bytes29 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0));
 }

 function logBytes30(bytes30 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0));
 }

 function logBytes31(bytes31 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0));
 }

 function logBytes32(bytes32 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0));
 }

 function log(uint256 p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256)", p0));
 }

 function log(string memory p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string)", p0));
 }

 function log(bool p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool)", p0));
 }

 function log(address p0) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address)", p0));
 }

 function log(uint256 p0, uint256 p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256)", p0, p1));
 }

 function log(uint256 p0, string memory p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string)", p0, p1));
 }

 function log(uint256 p0, bool p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool)", p0, p1));
 }

 function log(uint256 p0, address p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address)", p0, p1));
 }

 function log(string memory p0, uint256 p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256)", p0, p1));
 }

 function log(string memory p0, string memory p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1));
 }

 function log(string memory p0, bool p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1));
 }

 function log(string memory p0, address p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1));
 }

 function log(bool p0, uint256 p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256)", p0, p1));
 }

 function log(bool p0, string memory p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1));
 }

 function log(bool p0, bool p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1));
 }

 function log(bool p0, address p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1));
 }

 function log(address p0, uint256 p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256)", p0, p1));
 }

 function log(address p0, string memory p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1));
 }

 function log(address p0, bool p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1));
 }

 function log(address p0, address p1) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1));
 }

 function log(uint256 p0, uint256 p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256)", p0, p1, p2));
 }

 function log(uint256 p0, uint256 p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string)", p0, p1, p2));
 }

 function log(uint256 p0, uint256 p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool)", p0, p1, p2));
 }

 function log(uint256 p0, uint256 p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address)", p0, p1, p2));
 }

 function log(uint256 p0, string memory p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256)", p0, p1, p2));
 }

 function log(uint256 p0, string memory p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string)", p0, p1, p2));
 }

 function log(uint256 p0, string memory p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool)", p0, p1, p2));
 }

 function log(uint256 p0, string memory p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address)", p0, p1, p2));
 }

 function log(uint256 p0, bool p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256)", p0, p1, p2));
 }

 function log(uint256 p0, bool p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string)", p0, p1, p2));
 }

 function log(uint256 p0, bool p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool)", p0, p1, p2));
 }

 function log(uint256 p0, bool p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address)", p0, p1, p2));
 }

 function log(uint256 p0, address p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256)", p0, p1, p2));
 }

 function log(uint256 p0, address p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string)", p0, p1, p2));
 }

 function log(uint256 p0, address p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool)", p0, p1, p2));
 }

 function log(uint256 p0, address p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address)", p0, p1, p2));
 }

 function log(string memory p0, uint256 p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256)", p0, p1, p2));
 }

 function log(string memory p0, uint256 p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string)", p0, p1, p2));
 }

 function log(string memory p0, uint256 p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool)", p0, p1, p2));
 }

 function log(string memory p0, uint256 p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address)", p0, p1, p2));
 }

 function log(string memory p0, string memory p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256)", p0, p1, p2));
 }

 function log(string memory p0, string memory p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2));
 }

 function log(string memory p0, string memory p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2));
 }

 function log(string memory p0, string memory p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2));
 }

 function log(string memory p0, bool p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256)", p0, p1, p2));
 }

 function log(string memory p0, bool p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2));
 }

 function log(string memory p0, bool p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2));
 }

 function log(string memory p0, bool p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2));
 }

 function log(string memory p0, address p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256)", p0, p1, p2));
 }

 function log(string memory p0, address p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2));
 }

 function log(string memory p0, address p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2));
 }

 function log(string memory p0, address p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2));
 }

 function log(bool p0, uint256 p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256)", p0, p1, p2));
 }

 function log(bool p0, uint256 p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string)", p0, p1, p2));
 }

 function log(bool p0, uint256 p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool)", p0, p1, p2));
 }

 function log(bool p0, uint256 p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address)", p0, p1, p2));
 }

 function log(bool p0, string memory p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256)", p0, p1, p2));
 }

 function log(bool p0, string memory p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2));
 }

 function log(bool p0, string memory p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2));
 }

 function log(bool p0, string memory p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2));
 }

 function log(bool p0, bool p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256)", p0, p1, p2));
 }

 function log(bool p0, bool p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2));
 }

 function log(bool p0, bool p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2));
 }

 function log(bool p0, bool p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2));
 }

 function log(bool p0, address p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256)", p0, p1, p2));
 }

 function log(bool p0, address p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2));
 }

 function log(bool p0, address p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2));
 }

 function log(bool p0, address p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2));
 }

 function log(address p0, uint256 p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256)", p0, p1, p2));
 }

 function log(address p0, uint256 p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string)", p0, p1, p2));
 }

 function log(address p0, uint256 p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool)", p0, p1, p2));
 }

 function log(address p0, uint256 p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address)", p0, p1, p2));
 }

 function log(address p0, string memory p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256)", p0, p1, p2));
 }

 function log(address p0, string memory p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2));
 }

 function log(address p0, string memory p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2));
 }

 function log(address p0, string memory p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2));
 }

 function log(address p0, bool p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256)", p0, p1, p2));
 }

 function log(address p0, bool p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2));
 }

 function log(address p0, bool p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2));
 }

 function log(address p0, bool p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2));
 }

 function log(address p0, address p1, uint256 p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256)", p0, p1, p2));
 }

 function log(address p0, address p1, string memory p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2));
 }

 function log(address p0, address p1, bool p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2));
 }

 function log(address p0, address p1, address p2) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2));
 }

 function log(uint256 p0, uint256 p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,uint256,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,string,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,bool,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, uint256 p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,uint256,address,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,uint256,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,string,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,bool,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, string memory p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,string,address,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,uint256,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,string,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,bool,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, bool p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,bool,address,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,uint256,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,string,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,bool,address)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,uint256)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,string)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,bool)", p0, p1, p2, p3));
 }

 function log(uint256 p0, address p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(uint256,address,address,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,uint256,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,string,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,bool,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, uint256 p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,uint256,address,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,uint256,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, string memory p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint256,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, bool p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,uint256,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint256)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3));
 }

 function log(string memory p0, address p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,string)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,uint256,address)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,string)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,string,address)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,string)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,bool,address)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,string)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, uint256 p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,uint256,address,address)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,string)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint256,address)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, string memory p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,string)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint256,address)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, bool p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,string)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint256,address)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint256)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3));
 }

 function log(bool p0, address p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,string)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,bool)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,uint256,address)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,string)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,bool)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,string,address)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,string)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,bool)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,bool,address)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,string)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,bool)", p0, p1, p2, p3));
 }

 function log(address p0, uint256 p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,uint256,address,address)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,string)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,bool)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,uint256,address)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3));
 }

 function log(address p0, string memory p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,string)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,bool)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint256,address)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3));
 }

 function log(address p0, bool p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, uint256 p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, uint256 p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,string)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, uint256 p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,bool)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, uint256 p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,uint256,address)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, string memory p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, string memory p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, string memory p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, string memory p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, bool p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, bool p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, bool p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, bool p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, address p2, uint256 p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint256)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, address p2, string memory p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, address p2, bool p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3));
 }

 function log(address p0, address p1, address p2, address p3) internal view {
  _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3));
 }

}

File 15 of 24 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 16 of 24 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/IAccessControl.sol";
import {Context} from "@openzeppelin/contracts/utils/Context.sol";
import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
import {AppStorage} from "../libraries/LibAppStorage.sol";
import {Shared} from "../libraries/Shared.sol";
import {Pausable} from "../abstracts/Pausable.sol";

/**
 * @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, Pausable {
    /**
     * @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 Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account)
        public
        view
        virtual
        override
        returns (bool)
    {
        return s.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 s.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);
        s.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)) {
            s.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)) {
            s.roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 17 of 24 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 18 of 24 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 19 of 24 : Address.sol
// SPDX-License-Identifier: MIT
// 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 20 of 24 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 21 of 24 : Strings.sol
// SPDX-License-Identifier: MIT
// 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 22 of 24 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)
// Modified for Diamond compatibility

pragma solidity ^0.8.9;

import {Modifiers} from "../libraries/Modifiers.sol";

/**
 * @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 Modifiers {
    /**
     * @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 s._paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    // constructor() {
    //     s._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() internal view virtual returns (bool) {
        return s.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 {
        s.paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        s.paused = false;
        emit Unpaused(_msgSender());
    }
}

File 23 of 24 : Modifiers.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import {LibDiamond} from "../libraries/LibDiamond.sol";
import {Context} from "@openzeppelin/contracts/utils/Context.sol";
import {AppStorage} from "../libraries/LibAppStorage.sol";
import {Shared} from "./Shared.sol";

abstract contract Modifiers is Context {
    AppStorage internal s;

    error InvalidOwner();

    modifier onlyOwner() {
        LibDiamond.DiamondStorage storage ds = LibDiamond.diamondStorage();

        // Check if role is admin or owner from AccessControl or DiamondStore contract owner. Need to clean up.
        if (
            !Shared.hasRole(s.DEFAULT_ADMIN_ROLE, _msgSender()) &&
            !Shared.hasRole(s.OWNER_ROLE, _msgSender()) &&
            _msgSender() != ds.contractOwner
        ) revert InvalidOwner();

        _;
    }
}

File 24 of 24 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"enum IDiamondCut.FacetCutAction","name":"action","type":"uint8"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"internalType":"struct IDiamondCut.FacetCut[]","name":"_diamondCut","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"_price","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerTx","type":"uint256"},{"internalType":"uint256","name":"_maxMintPerAddress","type":"uint256"},{"internalType":"address","name":"_secondaryPayee","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint96","name":"_secondaryPoints","type":"uint96"},{"internalType":"address[]","name":"_payees","type":"address[]"},{"internalType":"uint256[]","name":"_shares","type":"uint256[]"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"string","name":"_baseTokenUri","type":"string"},{"internalType":"bool","name":"_airdrop","type":"bool"},{"internalType":"bool","name":"_allowListEnabled","type":"bool"},{"internalType":"bool","name":"_isPriceUSD","type":"bool"},{"internalType":"bool","name":"_automaticUSDConversion","type":"bool"},{"internalType":"bool","name":"_isSoulbound","type":"bool"},{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct Edition[]","name":"_editions","type":"tuple[]"}],"internalType":"struct LivelyDiamond.DiamondArgs","name":"_args","type":"tuple"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"EditionsDisabled","type":"error"},{"inputs":[],"name":"NameRequired","type":"error"},{"inputs":[],"name":"PaymentSplitterAccountAddressZero","type":"error"},{"inputs":[],"name":"PaymentSplitterAccountHasShares","type":"error"},{"inputs":[],"name":"PaymentSplitterMismatch","type":"error"},{"inputs":[],"name":"PaymentSplitterNoPayees","type":"error"},{"inputs":[],"name":"PaymentSplitterSharesZero","type":"error"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

60806040526040516200355938038062003559833981016040819052620000269162001a8f565b8181600080826101000151519050826101a001516200008a578260e00151519150808214620000685760405163a43cf65560e01b815260040160405180910390fd5b816000036200008a5760405163ab2a6e3d60e01b815260040160405180910390fd5b60408051600080825260208201909252620000b29186916200044960201b620000e91760201c565b620000cc8360a00151620005b760201b620002391760201c565b6000620000e36200061960201b620002991760201c565b6301ffc9a760e01b60009081526003820160205260408082208054600160ff1991821681179092556307e4c70760e21b845282842080548216831790556348e2b09360e01b845282842080548216831790556307f5828d60e41b845282842080548216831790556380ac58cd60e01b84528284208054821683179055635b5e139f60e01b84528284208054821683179055637965db0b60e01b84529190922080549091169091179055610120850151909150600290620001a4908262001cd5565b50610140840151600390620001ba908262001cd5565b506101a08401516018805491151560ff1992831617905560208501516016556101e0850151600f8054911515918316919091179055610220850151602380549115159190921617905561016084015160129062000218908262001cd5565b50604084015160195561018084015160179062000236908262001cd5565b50836101a001516200024a5783516200024d565b60005b6015556101c0840151601c805460ff19169115159190911790556060840151601a55610200840151600f805461ff0019166101009215159290920291909117905560005b82811015620002fb57620002f28560e001518281518110620002b757620002b762001da1565b60200260200101518661010001518381518110620002d957620002d962001da1565b60200260200101516200063d60201b620002ab1760201c565b60010162000291565b506040805180820190915260808501516001600160a01b031680825260c08601516001600160601b03166020928301819052600160a01b02176010556000601e8190557fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e601f5562000378913390620003ce62000791821b17901c565b620003946000601f0154336200079160201b620003ce1760201c565b61024084015151801562000411576020805460ff1916600117905560005b818110156200040f5760008661024001518281518110620003d757620003d762001da1565b60200260200101519050620004058160000151826020015183606001516200082f60201b620004451760201c565b50600101620003b2565b505b6200043b7371d964bc6e1cc017ee05e012b8b70eca9d049c856200097860201b620005601760201c565b505050505050505062001fee565b60006200045562000619565b600281015490915061ffff811690819060009060071615620004895750600381901c60009081526001840160205260409020545b60005b875181101562000525576200050b83838a8481518110620004b157620004b162001da1565b6020026020010151600001518b8581518110620004d257620004d262001da1565b6020026020010151602001518c8681518110620004f357620004f362001da1565b602002602001015160400151620009d360201b60201c565b9093509150806200051c8162001dcd565b9150506200048c565b50828214620005425760028401805461ffff191661ffff84161790555b60078216156200056557600382901c600090815260018501602052604090208190555b7f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6738787876040516200059a9392919062001e2d565b60405180910390a1620005ae8686620011dc565b50505050505050565b6000620005c362000619565b6004810180546001600160a01b038581166001600160a01b031983168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b7fc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c90565b620006526200140160201b620005a11760201c565b6000620006696200147560201b620006111760201c565b90506001600160a01b0383166200069357604051633d8fdbc760e01b815260040160405180910390fd5b81600003620006b557604051631636e5cb60e31b815260040160405180910390fd5b6001600160a01b0383166000908152600a8201602052604090205415620006ef5760405163018e800d60e21b815260040160405180910390fd5b600c810180546001810182556000918252602080832090910180546001600160a01b0319166001600160a01b0387169081179091558252600a830190526040902082905560088101546200074590839062001f34565b6008820155604080516001600160a01b0385168152602081018490527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a1505050565b620007a66200140160201b620005a11760201c565b6000620007bd6200147560201b620006111760201c565b9050620007cb83836200147a565b6200082a576000838152601d8201602090815260408083206001600160a01b0386168085529252808320805460ff1916600117905551339286917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45b505050565b620008446200140160201b620005a11760201c565b60006200085b6200147560201b620006111760201c565b602081015490915060ff1662000884576040516332b5467d60e01b815260040160405180910390fd5b8351600003620008a757604051636cc61e7360e11b815260040160405180910390fd5b602181018054604080516080810182528781526020808201889052600092820183905260608201879052600184018555938252929020825191929182916004850201908190620008f8908262001cd5565b5060208201518160010155604082015181600201556060820151816003015550508483601601546200092b919062001f34565b60168401556040517f33c6c263146bd4d0ad841ad056195e1d850498744c31c4909de8f885db3987bd9062000968908490899088908a9062001f4a565b60405180910390a1505050505050565b80620009b27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b620014c560201b620006161760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b60008080620009e162000619565b9050600084511162000a4e5760405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b60648201526084015b60405180910390fd5b600085600281111562000a655762000a6562001de9565b0362000beb5762000a9086604051806060016040528060248152602001620034e560249139620014c8565b60005b845181101562000be457600085828151811062000ab45762000ab462001da1565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c1562000b575760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f60448201527f6e207468617420616c7265616479206578697374730000000000000000000000606482015260840162000a45565b6001600160e01b031980831660008181526020879052604090206001600160601b031960608d901b168e17905560e060058e901b811692831c199c909c1690821c179a81900362000bbc5760038c901c600090815260018601602052604081209b909b555b8b62000bc88162001dcd565b9c5050505050808062000bdb9062001dcd565b91505062000a93565b50620011d0565b600185600281111562000c025762000c0262001de9565b0362000e1b5762000c2d866040518060600160405280602881526020016200353160289139620014c8565b60005b845181101562000be457600085828151811062000c515762000c5162001da1565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c30810362000ce85760405162461bcd60e51b815260206004820152602f60248201527f4c69624469616d6f6e644375743a2043616e2774207265706c61636520696d6d60448201526e3aba30b1363290333ab731ba34b7b760891b606482015260840162000a45565b896001600160a01b0316816001600160a01b03160362000d605760405162461bcd60e51b81526020600482015260386024820152600080516020620034c583398151915260448201527f6374696f6e20776974682073616d652066756e6374696f6e0000000000000000606482015260840162000a45565b6001600160a01b03811662000dcd5760405162461bcd60e51b81526020600482015260386024820152600080516020620034c583398151915260448201527f6374696f6e207468617420646f65736e27742065786973740000000000000000606482015260840162000a45565b506001600160e01b031990911660009081526020849052604090206001600160601b03919091166001600160601b031960608a901b161790558062000e128162001dcd565b91505062000c30565b600285600281111562000e325762000e3262001de9565b0362001177576001600160a01b0386161562000eb75760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f7665206661636574206164647260448201527f657373206d757374206265206164647265737328302900000000000000000000606482015260840162000a45565b600388901c6007891660005b8651811015620011525760008a900362000f04578262000ee38162001f78565b60008181526001870160205260409020549b5093506007925062000f149050565b8162000f108162001f78565b9250505b6000806000808a858151811062000f2f5762000f2f62001da1565b6020908102919091018101516001600160e01b031981166000908152918a9052604090912054909150606081901c62000fd15760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e6360448201527f74696f6e207468617420646f65736e2774206578697374000000000000000000606482015260840162000a45565b30606082901c036200103d5760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b606482015260840162000a45565b600587901b8f901b94506001600160e01b0319808616908316146200108f576001600160e01b03198516600090815260208a90526040902080546001600160601b0319166001600160601b0383161790555b6001600160e01b031991909116600090815260208990526040812055600381901c611fff16925060051b60e0169050858214620010f6576000828152600188016020526040902080546001600160e01b031980841c19909116908516831c1790556200111a565b80836001600160e01b031916901c816001600160e01b031960001b901c198e16179c505b846000036200113957600086815260018801602052604081208190559c505b5050508080620011499062001dcd565b91505062000ec3565b50806200116183600862001f92565b6200116d919062001f34565b99505050620011d0565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b606482015260840162000a45565b50959694955050505050565b6001600160a01b0382166200126657805115620012625760405162461bcd60e51b815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527f3029206275745f63616c6c64617461206973206e6f7420656d70747900000000606482015260840162000a45565b5050565b6000815111620012df5760405162461bcd60e51b815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f742061646472657373283029000000606482015260840162000a45565b6001600160a01b0382163014620013155762001315826040518060600160405280602881526020016200350960289139620014c8565b600080836001600160a01b03168360405162001332919062001fb4565b600060405180830381855af49150503d80600081146200136f576040519150601f19603f3d011682016040523d82523d6000602084013e62001374565b606091505b509150915081620013fb57805115620013a3578060405162461bcd60e51b815260040162000a45919062001fd2565b60405162461bcd60e51b815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656044820152651d995c9d195960d21b606482015260840162000a45565b50505050565b6200140b62000619565b600401546001600160a01b03163314620014735760405162461bcd60e51b815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201526132b960f11b606482015260840162000a45565b565b600090565b600080620014926200147560201b620006111760201c565b6000858152601d909101602090815260408083206001600160a01b038716845290915290205460ff169150505b92915050565b90565b813b8181620013fb5760405162461bcd60e51b815260040162000a45919062001fd2565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715620015275762001527620014ec565b60405290565b60405161026081016001600160401b0381118282101715620015275762001527620014ec565b604051606081016001600160401b0381118282101715620015275762001527620014ec565b604051601f8201601f191681016001600160401b0381118282101715620015a357620015a3620014ec565b604052919050565b60006001600160401b03821115620015c757620015c7620014ec565b5060051b60200190565b80516001600160a01b0381168114620015e957600080fd5b919050565b80516001600160601b0381168114620015e957600080fd5b600082601f8301126200161857600080fd5b81516020620016316200162b83620015ab565b62001578565b82815260059290921b840181019181810190868411156200165157600080fd5b8286015b8481101562001677576200166981620015d1565b835291830191830162001655565b509695505050505050565b600082601f8301126200169457600080fd5b81516020620016a76200162b83620015ab565b82815260059290921b84018101918181019086841115620016c757600080fd5b8286015b84811015620016775780518352918301918301620016cb565b60005b8381101562001701578181015183820152602001620016e7565b50506000910152565b600082601f8301126200171c57600080fd5b81516001600160401b03811115620017385762001738620014ec565b6200174d601f8201601f191660200162001578565b8181528460208386010111156200176357600080fd5b62001776826020830160208701620016e4565b949350505050565b80518015158114620015e957600080fd5b600082601f830112620017a157600080fd5b81516020620017b46200162b83620015ab565b82815260059290921b84018101918181019086841115620017d457600080fd5b8286015b84811015620016775780516001600160401b0380821115620017fa5760008081fd5b908801906080828b03601f1901811315620018155760008081fd5b6200181f62001502565b8784015183811115620018325760008081fd5b620018428d8a838801016200170a565b8252506040848101518983015260608086015191830191909152919093015190830152508352918301918301620017d8565b600061026082840312156200188857600080fd5b620018926200152d565b905081518152602082015160208201526040820151604082015260608201516060820152620018c460808301620015d1565b6080820152620018d760a08301620015d1565b60a0820152620018ea60c08301620015ee565b60c082015260e08201516001600160401b03808211156200190a57600080fd5b620019188583860162001606565b60e0840152610100915081840151818111156200193457600080fd5b620019428682870162001682565b8385015250610120915081840151818111156200195e57600080fd5b6200196c868287016200170a565b8385015250610140915081840151818111156200198857600080fd5b62001996868287016200170a565b838501525061016091508184015181811115620019b257600080fd5b620019c0868287016200170a565b838501525061018091508184015181811115620019dc57600080fd5b620019ea868287016200170a565b83850152506101a0915062001a018285016200177e565b828401526101c0915062001a178285016200177e565b828401526101e0915062001a2d8285016200177e565b82840152610200915062001a438285016200177e565b82840152610220915062001a598285016200177e565b828401526102409150818401518181111562001a7457600080fd5b62001a82868287016200178f565b8385015250505092915050565b6000806040838503121562001aa357600080fd5b82516001600160401b038082111562001abb57600080fd5b818501915085601f83011262001ad057600080fd5b8151602062001ae36200162b83620015ab565b82815260059290921b8401810191818101908984111562001b0357600080fd5b8286015b8481101562001c135780518681111562001b2057600080fd5b87016060818d03601f1901121562001b3757600080fd5b62001b4162001553565b62001b4e868301620015d1565b815260408201516003811062001b6357600080fd5b8187015260608201518881111562001b7a57600080fd5b8083019250508c603f83011262001b9057600080fd5b8582015162001ba36200162b82620015ab565b81815260059190911b830160400190878101908f83111562001bc457600080fd5b6040850194505b8285101562001bfd5784516001600160e01b03198116811462001bed57600080fd5b8252938801939088019062001bcb565b6040840152505084525091830191830162001b07565b509188015191965090935050508082111562001c2e57600080fd5b5062001c3d8582860162001874565b9150509250929050565b600181811c9082168062001c5c57607f821691505b60208210810362001c7d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200082a57600081815260208120601f850160051c8101602086101562001cac5750805b601f850160051c820191505b8181101562001ccd5782815560010162001cb8565b505050505050565b81516001600160401b0381111562001cf15762001cf1620014ec565b62001d098162001d02845462001c47565b8462001c83565b602080601f83116001811462001d41576000841562001d285750858301515b600019600386901b1c1916600185901b17855562001ccd565b600085815260208120601f198616915b8281101562001d725788860151825594840194600190910190840162001d51565b508582101562001d915787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820162001de25762001de262001db7565b5060010190565b634e487b7160e01b600052602160045260246000fd5b6000815180845262001e19816020860160208601620016e4565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b8481101562001f0257898403607f19018652815180516001600160a01b0316855283810151898601906003811062001e9e57634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b8083101562001eec5783516001600160e01b031916825292860192600192909201919086019062001ec0565b5097850197955050509082019060010162001e56565b50506001600160a01b038a1690880152868103604088015262001f26818962001dff565b9a9950505050505050505050565b80820180821115620014bf57620014bf62001db7565b84815260806020820152600062001f65608083018662001dff565b6040830194909452506060015292915050565b60008162001f8a5762001f8a62001db7565b506000190190565b600081600019048311821515161562001faf5762001faf62001db7565b500290565b6000825162001fc8818460208701620016e4565b9190910192915050565b60208152600062001fe7602083018462001dff565b9392505050565b6114c78062001ffe6000396000f3fe608060405236610044577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770333460405161003a929190611011565b60405180910390a1005b600080356001600160e01b03191681526000805160206113fe8339815191526020819052604090912054819060601c806100c55760405162461bcd60e51b815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100e4573d6000f35b3d6000fd5b60006100f3610299565b600281015490915061ffff8116908190600090600716156101265750600381901c60009081526001840160205260409020545b60005b87518110156101ad5761019683838a84815181106101495761014961102a565b6020026020010151600001518b85815181106101675761016761102a565b6020026020010151602001518c86815181106101855761018561102a565b602002602001015160400151610619565b9093509150806101a581611056565b915050610129565b508282146101c95760028401805461ffff191661ffff84161790555b60078216156101eb57600382901c600090815260018501602052604090208190555b7f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67387878760405161021e939291906110d5565b60405180910390a16102308686610db1565b50505050505050565b6000610243610299565b6004810180546001600160a01b038581166001600160a01b031983168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b6000805160206113fe83398151915290565b6102b36105a1565b60006001600160a01b0383166102dc57604051633d8fdbc760e01b815260040160405180910390fd5b816000036102fd57604051631636e5cb60e31b815260040160405180910390fd5b6001600160a01b0383166000908152600a82016020526040902054156103365760405163018e800d60e21b815260040160405180910390fd5b600c810180546001810182556000918252602080832090910180546001600160a01b0319166001600160a01b0387169081179091558252600a8301905260409020829055600881015461038a9083906111d5565b60088201556040517f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac906103c19085908590611011565b60405180910390a1505050565b6103d66105a1565b60006103e28383610fc3565b610440576000838152601d8201602090815260408083206001600160a01b0386168085529252808320805460ff1916600117905551339286917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45b505050565b61044d6105a1565b60205460009060ff16610473576040516332b5467d60e01b815260040160405180910390fd5b835160000361049557604051636cc61e7360e11b815260040160405180910390fd5b6021810180546040805160808101825287815260208082018890526000928201839052606082018790526001840185559382529290208251919291829160048502019081906104e49082611286565b50602082015181600101556040820151816002015560608201518160030155505084836016015461051591906111d5565b60168401556040517f33c6c263146bd4d0ad841ad056195e1d850498744c31c4909de8f885db3987bd90610550908490899088908a90611345565b60405180910390a1505050505050565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6105a9610299565b600401546001600160a01b0316331461060f5760405162461bcd60e51b815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201526132b960f11b60648201526084016100bc565b565b600090565b90565b6000806000610626610299565b9050600084511161068d5760405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b60648201526084016100bc565b60008560028111156106a1576106a161106f565b0361080e576106c88660405180606001604052806024815260200161141e60249139610ff0565b60005b84518110156108085760008582815181106106e8576106e861102a565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c156107815760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f6044820152746e207468617420616c72656164792065786973747360581b60648201526084016100bc565b6001600160e01b031980831660008181526020879052604090206001600160601b031960608d901b168e17905560e060058e901b811692831c199c909c1690821c179a8190036107e55760038c901c600090815260018601602052604081209b909b555b8b6107ef81611056565b9c5050505050808061080090611056565b9150506106cb565b50610da5565b60018560028111156108225761082261106f565b03610a1e576108498660405180606001604052806028815260200161146a60289139610ff0565b60005b84518110156108085760008582815181106108695761086961102a565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c3081036108fe5760405162461bcd60e51b815260206004820152602f60248201527f4c69624469616d6f6e644375743a2043616e2774207265706c61636520696d6d60448201526e3aba30b1363290333ab731ba34b7b760891b60648201526084016100bc565b896001600160a01b0316816001600160a01b03160361096e5760405162461bcd60e51b815260206004820152603860248201526000805160206113de83398151915260448201527731ba34b7b7103bb4ba341039b0b6b290333ab731ba34b7b760411b60648201526084016100bc565b6001600160a01b0381166109d35760405162461bcd60e51b815260206004820152603860248201526000805160206113de83398151915260448201527718dd1a5bdb881d1a185d08191bd95cdb89dd08195e1a5cdd60421b60648201526084016100bc565b506001600160e01b031990911660009081526020849052604090206001600160601b03919091166001600160601b031960608a901b1617905580610a1681611056565b91505061084c565b6002856002811115610a3257610a3261106f565b03610d4d576001600160a01b03861615610aad5760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f76652066616365742061646472604482015275657373206d757374206265206164647265737328302960501b60648201526084016100bc565b600388901c6007891660005b8651811015610d2d5760008a9003610af55782610ad581611371565b60008181526001870160205260409020549b50935060079250610b039050565b81610aff81611371565b9250505b6000806000808a8581518110610b1b57610b1b61102a565b6020908102919091018101516001600160e01b031981166000908152918a9052604090912054909150606081901c610bb55760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e636044820152761d1a5bdb881d1a185d08191bd95cdb89dd08195e1a5cdd604a1b60648201526084016100bc565b30606082901c03610c1f5760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b60648201526084016100bc565b600587901b8f901b94506001600160e01b031980861690831614610c70576001600160e01b03198516600090815260208a90526040902080546001600160601b0319166001600160601b0383161790555b6001600160e01b031991909116600090815260208990526040812055600381901c611fff16925060051b60e0169050858214610cd5576000828152600188016020526040902080546001600160e01b031980841c19909116908516831c179055610cf9565b80836001600160e01b031916901c816001600160e01b031960001b901c198e16179c505b84600003610d1757600086815260018801602052604081208190559c505b5050508080610d2590611056565b915050610ab9565b5080610d3a836008611388565b610d4491906111d5565b99505050610da5565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b60648201526084016100bc565b50959694955050505050565b6001600160a01b038216610e3757805115610e335760405162461bcd60e51b815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527b3029206275745f63616c6c64617461206973206e6f7420656d70747960201b60648201526084016100bc565b5050565b6000815111610eae5760405162461bcd60e51b815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f74206164647265737328302900000060648201526084016100bc565b6001600160a01b0382163014610ee057610ee08260405180606001604052806028815260200161144260289139610ff0565b600080836001600160a01b031683604051610efb91906113a7565b600060405180830381855af49150503d8060008114610f36576040519150601f19603f3d011682016040523d82523d6000602084013e610f3b565b606091505b509150915081610fbd57805115610f66578060405162461bcd60e51b81526004016100bc91906113c3565b60405162461bcd60e51b815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656044820152651d995c9d195960d21b60648201526084016100bc565b50505050565b6000828152601d602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b813b8181610fbd5760405162461bcd60e51b81526004016100bc91906113c3565b6001600160a01b03929092168252602082015260400190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161106857611068611040565b5060010190565b634e487b7160e01b600052602160045260246000fd5b60005b838110156110a0578181015183820152602001611088565b50506000910152565b600081518084526110c1816020860160208601611085565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156111a557898403607f19018652815180516001600160a01b0316855283810151898601906003811061114457634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156111905783516001600160e01b0319168252928601926001929092019190860190611166565b509785019795505050908201906001016110fe565b50506001600160a01b038a169088015286810360408801526111c781896110a9565b9a9950505050505050505050565b80820180821115610fea57610fea611040565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061121257607f821691505b60208210810361123257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561044057600081815260208120601f850160051c8101602086101561125f5750805b601f850160051c820191505b8181101561127e5782815560010161126b565b505050505050565b81516001600160401b0381111561129f5761129f6111e8565b6112b3816112ad84546111fe565b84611238565b602080601f8311600181146112e857600084156112d05750858301515b600019600386901b1c1916600185901b17855561127e565b600085815260208120601f198616915b82811015611317578886015182559484019460019091019084016112f8565b50858210156113355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b84815260806020820152600061135e60808301866110a9565b6040830194909452506060015292915050565b60008161138057611380611040565b506000190190565b60008160001904831182151516156113a2576113a2611040565b500290565b600082516113b9818460208701611085565b9190910192915050565b6020815260006113d660208301846110a9565b939250505056fe4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756ec8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c4c69624469616d6f6e644375743a2041646420666163657420686173206e6f20636f64654c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a205265706c61636520666163657420686173206e6f20636f6465a2646970667358221220730928cb9ae7a34bece31475e51aab5d7db36c59704cc467f6bfd8fe56ebd5bc64736f6c634300081000334c69624469616d6f6e644375743a2043616e2774207265706c6163652066756e4c69624469616d6f6e644375743a2041646420666163657420686173206e6f20636f64654c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a205265706c61636520666163657420686173206e6f20636f6465000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000010e0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000007a0000000000000000000000000000000000000000000000000000000000000088000000000000000000000000000000000000000000000000000000000000009800000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000f000000000000000000000000005e3c85fb79ea1f9c4e5944a05924dedc45a36c810000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000011f931c1c0000000000000000000000000000000000000000000000000000000000000000000000000000000037087c7ac6a6d9510cd0c0a97e6484ca68f82d32000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000005cdffacc60000000000000000000000000000000000000000000000000000000052ef6b2c00000000000000000000000000000000000000000000000000000000adfca15e000000000000000000000000000000000000000000000000000000007a0ed6270000000000000000000000000000000000000000000000000000000001ffc9a7000000000000000000000000000000000000000000000000000000000000000000000000000000005b554df79c61acc5b9d7fcd54d24d56d80461210000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000009a217fddf00000000000000000000000000000000000000000000000000000000e58378bb00000000000000000000000000000000000000000000000000000000248a9ca3000000000000000000000000000000000000000000000000000000002f2ff15d0000000000000000000000000000000000000000000000000000000091d14854000000000000000000000000000000000000000000000000000000008da5cb5b0000000000000000000000000000000000000000000000000000000036568abe00000000000000000000000000000000000000000000000000000000d547741f00000000000000000000000000000000000000000000000000000000f2fde38b000000000000000000000000000000000000000000000000000000000000000000000000000000009a89f1d509df6afef4e7e120258422c6754a06e200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000c18f9b023000000000000000000000000000000000000000000000000000000008b83209b00000000000000000000000000000000000000000000000000000000a3f8eace00000000000000000000000000000000000000000000000000000000c45ac05000000000000000000000000000000000000000000000000000000000191655870000000000000000000000000000000000000000000000000000000048b7504400000000000000000000000000000000000000000000000000000000406072a9000000000000000000000000000000000000000000000000000000009852595c00000000000000000000000000000000000000000000000000000000ce7c2ac200000000000000000000000000000000000000000000000000000000d79779b200000000000000000000000000000000000000000000000000000000e33b7de3000000000000000000000000000000000000000000000000000000003a98ef39000000000000000000000000000000000000000000000000000000000000000000000000000000000ede0dbe3ab8df9c06d3226e65fd44983670fdfc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004e8a3d48500000000000000000000000000000000000000000000000000000000890c19e2000000000000000000000000000000000000000000000000000000002a55205a00000000000000000000000000000000000000000000000000000000c21b471b000000000000000000000000000000000000000000000000000000000000000000000000000000008231dfae5db6e74cd4f22eae31c28ee890c2cf460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000038456cb59000000000000000000000000000000000000000000000000000000005c975abb000000000000000000000000000000000000000000000000000000003f4ba83a00000000000000000000000000000000000000000000000000000000000000000000000000000000921743fa388d5bbd78c17a3a49e4bceecb57a94600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000422bd5c1c00000000000000000000000000000000000000000000000000000000834029ba00000000000000000000000000000000000000000000000000000000dc2fbaee0000000000000000000000000000000000000000000000000000000020351c010000000000000000000000000000000000000000000000000000000000000000000000000000000079b3d619061adb84383a9466893e0f2e0edabeda0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000029148a9c600000000000000000000000000000000000000000000000000000000c39aa07d0000000000000000000000000000000000000000000000000000000000000000000000000000000079063e421fe8e783905912d8666a808f19e26d370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000223884d63500000000000000000000000000000000000000000000000000000000095ea7b30000000000000000000000000000000000000000000000000000000070a082310000000000000000000000000000000000000000000000000000000042966c6800000000000000000000000000000000000000000000000000000000081812fc00000000000000000000000000000000000000000000000000000000e985e9c500000000000000000000000000000000000000000000000000000000f7eca6d000000000000000000000000000000000000000000000000000000000572849c400000000000000000000000000000000000000000000000000000000de7fcb1d00000000000000000000000000000000000000000000000000000000d5abeb010000000000000000000000000000000000000000000000000000000040c10f1900000000000000000000000000000000000000000000000000000000641ce140000000000000000000000000000000000000000000000000000000006a6278420000000000000000000000000000000000000000000000000000000006fdde03000000000000000000000000000000000000000000000000000000006352211e00000000000000000000000000000000000000000000000000000000a035b1fe0000000000000000000000000000000000000000000000000000000042842e0e00000000000000000000000000000000000000000000000000000000b88d4fde000000000000000000000000000000000000000000000000000000001111148700000000000000000000000000000000000000000000000000000000a22cb46500000000000000000000000000000000000000000000000000000000815e6ea100000000000000000000000000000000000000000000000000000000cff37ca2000000000000000000000000000000000000000000000000000000001e14d44b00000000000000000000000000000000000000000000000000000000616cdb1e000000000000000000000000000000000000000000000000000000006f8b44b000000000000000000000000000000000000000000000000000000000c47f00270000000000000000000000000000000000000000000000000000000091b7f5ed00000000000000000000000000000000000000000000000000000000df30e54b00000000000000000000000000000000000000000000000000000000b84c824600000000000000000000000000000000000000000000000000000000e0df5b6f0000000000000000000000000000000000000000000000000000000095d89b4100000000000000000000000000000000000000000000000000000000c87b56dd0000000000000000000000000000000000000000000000000000000018160ddd0000000000000000000000000000000000000000000000000000000023b872dd000000000000000000000000000000000000000000000000000000000000000000000000000000006d44ec2cdc0fb0bff43034420e7a8f9d86b42f700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000084d6d50fb00000000000000000000000000000000000000000000000000000000a1d4afa200000000000000000000000000000000000000000000000000000000869f759400000000000000000000000000000000000000000000000000000000156e29f60000000000000000000000000000000000000000000000000000000026a49e370000000000000000000000000000000000000000000000000000000037da577c00000000000000000000000000000000000000000000000000000000f7d9757700000000000000000000000000000000000000000000000000000000bd85b0390000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ce3a101f83470d275a750a6d8b9944fe8f2c2680000000000000000000000007e3e31dabeb69aa63ac3ce959f2d5f8da34b192600000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000048000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007ce3a101f83470d275a750a6d8b9944fe8f2c268000000000000000000000000a443d182c44703c4e823d252e8b1ac01f046108400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000005417269736500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054152495345000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f676f6c6976652e6c792f776562332f6d6574612f32623966313663632d373861662d346165352d613866612d626437393762336161646137000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f676f6c6976652e6c792f776562332f6d6574612f32623966313663632d373861662d346165352d613866612d6264373937623361616461372f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004380663abb80000000000000000000000000000000000000000000000000000000000000000005417269736500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001aa535d3d0c0000000000000000000000000000000000000000000000000000000000000000000c41726973652044656c7578650000000000000000000000000000000000000000

Deployed Bytecode

0x608060405236610044577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be770333460405161003a929190611011565b60405180910390a1005b600080356001600160e01b03191681526000805160206113fe8339815191526020819052604090912054819060601c806100c55760405162461bcd60e51b815260206004820181905260248201527f4469616d6f6e643a2046756e6374696f6e20646f6573206e6f7420657869737460448201526064015b60405180910390fd5b3660008037600080366000845af43d6000803e8080156100e4573d6000f35b3d6000fd5b60006100f3610299565b600281015490915061ffff8116908190600090600716156101265750600381901c60009081526001840160205260409020545b60005b87518110156101ad5761019683838a84815181106101495761014961102a565b6020026020010151600001518b85815181106101675761016761102a565b6020026020010151602001518c86815181106101855761018561102a565b602002602001015160400151610619565b9093509150806101a581611056565b915050610129565b508282146101c95760028401805461ffff191661ffff84161790555b60078216156101eb57600382901c600090815260018501602052604090208190555b7f8faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb67387878760405161021e939291906110d5565b60405180910390a16102308686610db1565b50505050505050565b6000610243610299565b6004810180546001600160a01b038581166001600160a01b031983168117909355604051939450169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b6000805160206113fe83398151915290565b6102b36105a1565b60006001600160a01b0383166102dc57604051633d8fdbc760e01b815260040160405180910390fd5b816000036102fd57604051631636e5cb60e31b815260040160405180910390fd5b6001600160a01b0383166000908152600a82016020526040902054156103365760405163018e800d60e21b815260040160405180910390fd5b600c810180546001810182556000918252602080832090910180546001600160a01b0319166001600160a01b0387169081179091558252600a8301905260409020829055600881015461038a9083906111d5565b60088201556040517f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac906103c19085908590611011565b60405180910390a1505050565b6103d66105a1565b60006103e28383610fc3565b610440576000838152601d8201602090815260408083206001600160a01b0386168085529252808320805460ff1916600117905551339286917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45b505050565b61044d6105a1565b60205460009060ff16610473576040516332b5467d60e01b815260040160405180910390fd5b835160000361049557604051636cc61e7360e11b815260040160405180910390fd5b6021810180546040805160808101825287815260208082018890526000928201839052606082018790526001840185559382529290208251919291829160048502019081906104e49082611286565b50602082015181600101556040820151816002015560608201518160030155505084836016015461051591906111d5565b60168401556040517f33c6c263146bd4d0ad841ad056195e1d850498744c31c4909de8f885db3987bd90610550908490899088908a90611345565b60405180910390a1505050505050565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6105a9610299565b600401546001600160a01b0316331461060f5760405162461bcd60e51b815260206004820152602260248201527f4c69624469616d6f6e643a204d75737420626520636f6e7472616374206f776e60448201526132b960f11b60648201526084016100bc565b565b600090565b90565b6000806000610626610299565b9050600084511161068d5760405162461bcd60e51b815260206004820152602b60248201527f4c69624469616d6f6e644375743a204e6f2073656c6563746f727320696e206660448201526a1858d95d081d1bc818dd5d60aa1b60648201526084016100bc565b60008560028111156106a1576106a161106f565b0361080e576106c88660405180606001604052806024815260200161141e60249139610ff0565b60005b84518110156108085760008582815181106106e8576106e861102a565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c156107815760405162461bcd60e51b815260206004820152603560248201527f4c69624469616d6f6e644375743a2043616e2774206164642066756e6374696f6044820152746e207468617420616c72656164792065786973747360581b60648201526084016100bc565b6001600160e01b031980831660008181526020879052604090206001600160601b031960608d901b168e17905560e060058e901b811692831c199c909c1690821c179a8190036107e55760038c901c600090815260018601602052604081209b909b555b8b6107ef81611056565b9c5050505050808061080090611056565b9150506106cb565b50610da5565b60018560028111156108225761082261106f565b03610a1e576108498660405180606001604052806028815260200161146a60289139610ff0565b60005b84518110156108085760008582815181106108695761086961102a565b6020908102919091018101516001600160e01b03198116600090815291859052604090912054909150606081901c3081036108fe5760405162461bcd60e51b815260206004820152602f60248201527f4c69624469616d6f6e644375743a2043616e2774207265706c61636520696d6d60448201526e3aba30b1363290333ab731ba34b7b760891b60648201526084016100bc565b896001600160a01b0316816001600160a01b03160361096e5760405162461bcd60e51b815260206004820152603860248201526000805160206113de83398151915260448201527731ba34b7b7103bb4ba341039b0b6b290333ab731ba34b7b760411b60648201526084016100bc565b6001600160a01b0381166109d35760405162461bcd60e51b815260206004820152603860248201526000805160206113de83398151915260448201527718dd1a5bdb881d1a185d08191bd95cdb89dd08195e1a5cdd60421b60648201526084016100bc565b506001600160e01b031990911660009081526020849052604090206001600160601b03919091166001600160601b031960608a901b1617905580610a1681611056565b91505061084c565b6002856002811115610a3257610a3261106f565b03610d4d576001600160a01b03861615610aad5760405162461bcd60e51b815260206004820152603660248201527f4c69624469616d6f6e644375743a2052656d6f76652066616365742061646472604482015275657373206d757374206265206164647265737328302960501b60648201526084016100bc565b600388901c6007891660005b8651811015610d2d5760008a9003610af55782610ad581611371565b60008181526001870160205260409020549b50935060079250610b039050565b81610aff81611371565b9250505b6000806000808a8581518110610b1b57610b1b61102a565b6020908102919091018101516001600160e01b031981166000908152918a9052604090912054909150606081901c610bb55760405162461bcd60e51b815260206004820152603760248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f76652066756e636044820152761d1a5bdb881d1a185d08191bd95cdb89dd08195e1a5cdd604a1b60648201526084016100bc565b30606082901c03610c1f5760405162461bcd60e51b815260206004820152602e60248201527f4c69624469616d6f6e644375743a2043616e27742072656d6f766520696d6d7560448201526d3a30b1363290333ab731ba34b7b760911b60648201526084016100bc565b600587901b8f901b94506001600160e01b031980861690831614610c70576001600160e01b03198516600090815260208a90526040902080546001600160601b0319166001600160601b0383161790555b6001600160e01b031991909116600090815260208990526040812055600381901c611fff16925060051b60e0169050858214610cd5576000828152600188016020526040902080546001600160e01b031980841c19909116908516831c179055610cf9565b80836001600160e01b031916901c816001600160e01b031960001b901c198e16179c505b84600003610d1757600086815260018801602052604081208190559c505b5050508080610d2590611056565b915050610ab9565b5080610d3a836008611388565b610d4491906111d5565b99505050610da5565b60405162461bcd60e51b815260206004820152602760248201527f4c69624469616d6f6e644375743a20496e636f727265637420466163657443756044820152663a20b1ba34b7b760c91b60648201526084016100bc565b50959694955050505050565b6001600160a01b038216610e3757805115610e335760405162461bcd60e51b815260206004820152603c60248201527f4c69624469616d6f6e644375743a205f696e697420697320616464726573732860448201527b3029206275745f63616c6c64617461206973206e6f7420656d70747960201b60648201526084016100bc565b5050565b6000815111610eae5760405162461bcd60e51b815260206004820152603d60248201527f4c69624469616d6f6e644375743a205f63616c6c6461746120697320656d707460448201527f7920627574205f696e6974206973206e6f74206164647265737328302900000060648201526084016100bc565b6001600160a01b0382163014610ee057610ee08260405180606001604052806028815260200161144260289139610ff0565b600080836001600160a01b031683604051610efb91906113a7565b600060405180830381855af49150503d8060008114610f36576040519150601f19603f3d011682016040523d82523d6000602084013e610f3b565b606091505b509150915081610fbd57805115610f66578060405162461bcd60e51b81526004016100bc91906113c3565b60405162461bcd60e51b815260206004820152602660248201527f4c69624469616d6f6e644375743a205f696e69742066756e6374696f6e2072656044820152651d995c9d195960d21b60648201526084016100bc565b50505050565b6000828152601d602090815260408083206001600160a01b038516845290915290205460ff165b92915050565b813b8181610fbd5760405162461bcd60e51b81526004016100bc91906113c3565b6001600160a01b03929092168252602082015260400190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161106857611068611040565b5060010190565b634e487b7160e01b600052602160045260246000fd5b60005b838110156110a0578181015183820152602001611088565b50506000910152565b600081518084526110c1816020860160208601611085565b601f01601f19169290920160200192915050565b60006060808301818452808751808352608092508286019150828160051b8701016020808b0160005b848110156111a557898403607f19018652815180516001600160a01b0316855283810151898601906003811061114457634e487b7160e01b600052602160045260246000fd5b868601526040918201519186018a905281519081905290840190600090898701905b808310156111905783516001600160e01b0319168252928601926001929092019190860190611166565b509785019795505050908201906001016110fe565b50506001600160a01b038a169088015286810360408801526111c781896110a9565b9a9950505050505050505050565b80820180821115610fea57610fea611040565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061121257607f821691505b60208210810361123257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561044057600081815260208120601f850160051c8101602086101561125f5750805b601f850160051c820191505b8181101561127e5782815560010161126b565b505050505050565b81516001600160401b0381111561129f5761129f6111e8565b6112b3816112ad84546111fe565b84611238565b602080601f8311600181146112e857600084156112d05750858301515b600019600386901b1c1916600185901b17855561127e565b600085815260208120601f198616915b82811015611317578886015182559484019460019091019084016112f8565b50858210156113355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b84815260806020820152600061135e60808301866110a9565b6040830194909452506060015292915050565b60008161138057611380611040565b506000190190565b60008160001904831182151516156113a2576113a2611040565b500290565b600082516113b9818460208701611085565b9190910192915050565b6020815260006113d660208301846110a9565b939250505056fe4c69624469616d6f6e644375743a2043616e2774207265706c6163652066756ec8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c4c69624469616d6f6e644375743a2041646420666163657420686173206e6f20636f64654c69624469616d6f6e644375743a205f696e6974206164647265737320686173206e6f20636f64654c69624469616d6f6e644375743a205265706c61636520666163657420686173206e6f20636f6465a2646970667358221220730928cb9ae7a34bece31475e51aab5d7db36c59704cc467f6bfd8fe56ebd5bc64736f6c63430008100033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000010e0000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000004a000000000000000000000000000000000000000000000000000000000000006a000000000000000000000000000000000000000000000000000000000000007a0000000000000000000000000000000000000000000000000000000000000088000000000000000000000000000000000000000000000000000000000000009800000000000000000000000000000000000000000000000000000000000000a400000000000000000000000000000000000000000000000000000000000000f000000000000000000000000005e3c85fb79ea1f9c4e5944a05924dedc45a36c810000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000011f931c1c0000000000000000000000000000000000000000000000000000000000000000000000000000000037087c7ac6a6d9510cd0c0a97e6484ca68f82d32000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000005cdffacc60000000000000000000000000000000000000000000000000000000052ef6b2c00000000000000000000000000000000000000000000000000000000adfca15e000000000000000000000000000000000000000000000000000000007a0ed6270000000000000000000000000000000000000000000000000000000001ffc9a7000000000000000000000000000000000000000000000000000000000000000000000000000000005b554df79c61acc5b9d7fcd54d24d56d80461210000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000009a217fddf00000000000000000000000000000000000000000000000000000000e58378bb00000000000000000000000000000000000000000000000000000000248a9ca3000000000000000000000000000000000000000000000000000000002f2ff15d0000000000000000000000000000000000000000000000000000000091d14854000000000000000000000000000000000000000000000000000000008da5cb5b0000000000000000000000000000000000000000000000000000000036568abe00000000000000000000000000000000000000000000000000000000d547741f00000000000000000000000000000000000000000000000000000000f2fde38b000000000000000000000000000000000000000000000000000000000000000000000000000000009a89f1d509df6afef4e7e120258422c6754a06e200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000c18f9b023000000000000000000000000000000000000000000000000000000008b83209b00000000000000000000000000000000000000000000000000000000a3f8eace00000000000000000000000000000000000000000000000000000000c45ac05000000000000000000000000000000000000000000000000000000000191655870000000000000000000000000000000000000000000000000000000048b7504400000000000000000000000000000000000000000000000000000000406072a9000000000000000000000000000000000000000000000000000000009852595c00000000000000000000000000000000000000000000000000000000ce7c2ac200000000000000000000000000000000000000000000000000000000d79779b200000000000000000000000000000000000000000000000000000000e33b7de3000000000000000000000000000000000000000000000000000000003a98ef39000000000000000000000000000000000000000000000000000000000000000000000000000000000ede0dbe3ab8df9c06d3226e65fd44983670fdfc000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000004e8a3d48500000000000000000000000000000000000000000000000000000000890c19e2000000000000000000000000000000000000000000000000000000002a55205a00000000000000000000000000000000000000000000000000000000c21b471b000000000000000000000000000000000000000000000000000000000000000000000000000000008231dfae5db6e74cd4f22eae31c28ee890c2cf460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000038456cb59000000000000000000000000000000000000000000000000000000005c975abb000000000000000000000000000000000000000000000000000000003f4ba83a00000000000000000000000000000000000000000000000000000000000000000000000000000000921743fa388d5bbd78c17a3a49e4bceecb57a94600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000422bd5c1c00000000000000000000000000000000000000000000000000000000834029ba00000000000000000000000000000000000000000000000000000000dc2fbaee0000000000000000000000000000000000000000000000000000000020351c010000000000000000000000000000000000000000000000000000000000000000000000000000000079b3d619061adb84383a9466893e0f2e0edabeda0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000029148a9c600000000000000000000000000000000000000000000000000000000c39aa07d0000000000000000000000000000000000000000000000000000000000000000000000000000000079063e421fe8e783905912d8666a808f19e26d370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000223884d63500000000000000000000000000000000000000000000000000000000095ea7b30000000000000000000000000000000000000000000000000000000070a082310000000000000000000000000000000000000000000000000000000042966c6800000000000000000000000000000000000000000000000000000000081812fc00000000000000000000000000000000000000000000000000000000e985e9c500000000000000000000000000000000000000000000000000000000f7eca6d000000000000000000000000000000000000000000000000000000000572849c400000000000000000000000000000000000000000000000000000000de7fcb1d00000000000000000000000000000000000000000000000000000000d5abeb010000000000000000000000000000000000000000000000000000000040c10f1900000000000000000000000000000000000000000000000000000000641ce140000000000000000000000000000000000000000000000000000000006a6278420000000000000000000000000000000000000000000000000000000006fdde03000000000000000000000000000000000000000000000000000000006352211e00000000000000000000000000000000000000000000000000000000a035b1fe0000000000000000000000000000000000000000000000000000000042842e0e00000000000000000000000000000000000000000000000000000000b88d4fde000000000000000000000000000000000000000000000000000000001111148700000000000000000000000000000000000000000000000000000000a22cb46500000000000000000000000000000000000000000000000000000000815e6ea100000000000000000000000000000000000000000000000000000000cff37ca2000000000000000000000000000000000000000000000000000000001e14d44b00000000000000000000000000000000000000000000000000000000616cdb1e000000000000000000000000000000000000000000000000000000006f8b44b000000000000000000000000000000000000000000000000000000000c47f00270000000000000000000000000000000000000000000000000000000091b7f5ed00000000000000000000000000000000000000000000000000000000df30e54b00000000000000000000000000000000000000000000000000000000b84c824600000000000000000000000000000000000000000000000000000000e0df5b6f0000000000000000000000000000000000000000000000000000000095d89b4100000000000000000000000000000000000000000000000000000000c87b56dd0000000000000000000000000000000000000000000000000000000018160ddd0000000000000000000000000000000000000000000000000000000023b872dd000000000000000000000000000000000000000000000000000000000000000000000000000000006d44ec2cdc0fb0bff43034420e7a8f9d86b42f700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000084d6d50fb00000000000000000000000000000000000000000000000000000000a1d4afa200000000000000000000000000000000000000000000000000000000869f759400000000000000000000000000000000000000000000000000000000156e29f60000000000000000000000000000000000000000000000000000000026a49e370000000000000000000000000000000000000000000000000000000037da577c00000000000000000000000000000000000000000000000000000000f7d9757700000000000000000000000000000000000000000000000000000000bd85b0390000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000007ce3a101f83470d275a750a6d8b9944fe8f2c2680000000000000000000000007e3e31dabeb69aa63ac3ce959f2d5f8da34b192600000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002c00000000000000000000000000000000000000000000000000000000000000320000000000000000000000000000000000000000000000000000000000000036000000000000000000000000000000000000000000000000000000000000003a0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000048000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007ce3a101f83470d275a750a6d8b9944fe8f2c268000000000000000000000000a443d182c44703c4e823d252e8b1ac01f046108400000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000005417269736500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054152495345000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f676f6c6976652e6c792f776562332f6d6574612f32623966313663632d373861662d346165352d613866612d626437393762336161646137000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f676f6c6976652e6c792f776562332f6d6574612f32623966313663632d373861662d346165352d613866612d6264373937623361616461372f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000960000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004380663abb80000000000000000000000000000000000000000000000000000000000000000005417269736500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001aa535d3d0c0000000000000000000000000000000000000000000000000000000000000000000c41726973652044656c7578650000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _diamondCut (tuple[]): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput],System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [1] : _args (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
186 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000010e0
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [6] : 00000000000000000000000000000000000000000000000000000000000004a0
Arg [7] : 00000000000000000000000000000000000000000000000000000000000006a0
Arg [8] : 00000000000000000000000000000000000000000000000000000000000007a0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000880
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000980
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000a40
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000f00
Arg [13] : 0000000000000000000000005e3c85fb79ea1f9c4e5944a05924dedc45a36c81
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [17] : 1f931c1c00000000000000000000000000000000000000000000000000000000
Arg [18] : 00000000000000000000000037087c7ac6a6d9510cd0c0a97e6484ca68f82d32
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [22] : cdffacc600000000000000000000000000000000000000000000000000000000
Arg [23] : 52ef6b2c00000000000000000000000000000000000000000000000000000000
Arg [24] : adfca15e00000000000000000000000000000000000000000000000000000000
Arg [25] : 7a0ed62700000000000000000000000000000000000000000000000000000000
Arg [26] : 01ffc9a700000000000000000000000000000000000000000000000000000000
Arg [27] : 0000000000000000000000005b554df79c61acc5b9d7fcd54d24d56d80461210
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [29] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [31] : a217fddf00000000000000000000000000000000000000000000000000000000
Arg [32] : e58378bb00000000000000000000000000000000000000000000000000000000
Arg [33] : 248a9ca300000000000000000000000000000000000000000000000000000000
Arg [34] : 2f2ff15d00000000000000000000000000000000000000000000000000000000
Arg [35] : 91d1485400000000000000000000000000000000000000000000000000000000
Arg [36] : 8da5cb5b00000000000000000000000000000000000000000000000000000000
Arg [37] : 36568abe00000000000000000000000000000000000000000000000000000000
Arg [38] : d547741f00000000000000000000000000000000000000000000000000000000
Arg [39] : f2fde38b00000000000000000000000000000000000000000000000000000000
Arg [40] : 0000000000000000000000009a89f1d509df6afef4e7e120258422c6754a06e2
Arg [41] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [42] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [43] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [44] : 18f9b02300000000000000000000000000000000000000000000000000000000
Arg [45] : 8b83209b00000000000000000000000000000000000000000000000000000000
Arg [46] : a3f8eace00000000000000000000000000000000000000000000000000000000
Arg [47] : c45ac05000000000000000000000000000000000000000000000000000000000
Arg [48] : 1916558700000000000000000000000000000000000000000000000000000000
Arg [49] : 48b7504400000000000000000000000000000000000000000000000000000000
Arg [50] : 406072a900000000000000000000000000000000000000000000000000000000
Arg [51] : 9852595c00000000000000000000000000000000000000000000000000000000
Arg [52] : ce7c2ac200000000000000000000000000000000000000000000000000000000
Arg [53] : d79779b200000000000000000000000000000000000000000000000000000000
Arg [54] : e33b7de300000000000000000000000000000000000000000000000000000000
Arg [55] : 3a98ef3900000000000000000000000000000000000000000000000000000000
Arg [56] : 0000000000000000000000000ede0dbe3ab8df9c06d3226e65fd44983670fdfc
Arg [57] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [58] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [59] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [60] : e8a3d48500000000000000000000000000000000000000000000000000000000
Arg [61] : 890c19e200000000000000000000000000000000000000000000000000000000
Arg [62] : 2a55205a00000000000000000000000000000000000000000000000000000000
Arg [63] : c21b471b00000000000000000000000000000000000000000000000000000000
Arg [64] : 0000000000000000000000008231dfae5db6e74cd4f22eae31c28ee890c2cf46
Arg [65] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [66] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [67] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [68] : 8456cb5900000000000000000000000000000000000000000000000000000000
Arg [69] : 5c975abb00000000000000000000000000000000000000000000000000000000
Arg [70] : 3f4ba83a00000000000000000000000000000000000000000000000000000000
Arg [71] : 000000000000000000000000921743fa388d5bbd78c17a3a49e4bceecb57a946
Arg [72] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [73] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [74] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [75] : 22bd5c1c00000000000000000000000000000000000000000000000000000000
Arg [76] : 834029ba00000000000000000000000000000000000000000000000000000000
Arg [77] : dc2fbaee00000000000000000000000000000000000000000000000000000000
Arg [78] : 20351c0100000000000000000000000000000000000000000000000000000000
Arg [79] : 00000000000000000000000079b3d619061adb84383a9466893e0f2e0edabeda
Arg [80] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [81] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [82] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [83] : 9148a9c600000000000000000000000000000000000000000000000000000000
Arg [84] : c39aa07d00000000000000000000000000000000000000000000000000000000
Arg [85] : 00000000000000000000000079063e421fe8e783905912d8666a808f19e26d37
Arg [86] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [87] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [88] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [89] : 3884d63500000000000000000000000000000000000000000000000000000000
Arg [90] : 095ea7b300000000000000000000000000000000000000000000000000000000
Arg [91] : 70a0823100000000000000000000000000000000000000000000000000000000
Arg [92] : 42966c6800000000000000000000000000000000000000000000000000000000
Arg [93] : 081812fc00000000000000000000000000000000000000000000000000000000
Arg [94] : e985e9c500000000000000000000000000000000000000000000000000000000
Arg [95] : f7eca6d000000000000000000000000000000000000000000000000000000000
Arg [96] : 572849c400000000000000000000000000000000000000000000000000000000
Arg [97] : de7fcb1d00000000000000000000000000000000000000000000000000000000
Arg [98] : d5abeb0100000000000000000000000000000000000000000000000000000000
Arg [99] : 40c10f1900000000000000000000000000000000000000000000000000000000
Arg [100] : 641ce14000000000000000000000000000000000000000000000000000000000
Arg [101] : 6a62784200000000000000000000000000000000000000000000000000000000
Arg [102] : 06fdde0300000000000000000000000000000000000000000000000000000000
Arg [103] : 6352211e00000000000000000000000000000000000000000000000000000000
Arg [104] : a035b1fe00000000000000000000000000000000000000000000000000000000
Arg [105] : 42842e0e00000000000000000000000000000000000000000000000000000000
Arg [106] : b88d4fde00000000000000000000000000000000000000000000000000000000
Arg [107] : 1111148700000000000000000000000000000000000000000000000000000000
Arg [108] : a22cb46500000000000000000000000000000000000000000000000000000000
Arg [109] : 815e6ea100000000000000000000000000000000000000000000000000000000
Arg [110] : cff37ca200000000000000000000000000000000000000000000000000000000
Arg [111] : 1e14d44b00000000000000000000000000000000000000000000000000000000
Arg [112] : 616cdb1e00000000000000000000000000000000000000000000000000000000
Arg [113] : 6f8b44b000000000000000000000000000000000000000000000000000000000
Arg [114] : c47f002700000000000000000000000000000000000000000000000000000000
Arg [115] : 91b7f5ed00000000000000000000000000000000000000000000000000000000
Arg [116] : df30e54b00000000000000000000000000000000000000000000000000000000
Arg [117] : b84c824600000000000000000000000000000000000000000000000000000000
Arg [118] : e0df5b6f00000000000000000000000000000000000000000000000000000000
Arg [119] : 95d89b4100000000000000000000000000000000000000000000000000000000
Arg [120] : c87b56dd00000000000000000000000000000000000000000000000000000000
Arg [121] : 18160ddd00000000000000000000000000000000000000000000000000000000
Arg [122] : 23b872dd00000000000000000000000000000000000000000000000000000000
Arg [123] : 0000000000000000000000006d44ec2cdc0fb0bff43034420e7a8f9d86b42f70
Arg [124] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [125] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [126] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [127] : 4d6d50fb00000000000000000000000000000000000000000000000000000000
Arg [128] : a1d4afa200000000000000000000000000000000000000000000000000000000
Arg [129] : 869f759400000000000000000000000000000000000000000000000000000000
Arg [130] : 156e29f600000000000000000000000000000000000000000000000000000000
Arg [131] : 26a49e3700000000000000000000000000000000000000000000000000000000
Arg [132] : 37da577c00000000000000000000000000000000000000000000000000000000
Arg [133] : f7d9757700000000000000000000000000000000000000000000000000000000
Arg [134] : bd85b03900000000000000000000000000000000000000000000000000000000
Arg [135] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [136] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [137] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [138] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [139] : 0000000000000000000000007ce3a101f83470d275a750a6d8b9944fe8f2c268
Arg [140] : 0000000000000000000000007e3e31dabeb69aa63ac3ce959f2d5f8da34b1926
Arg [141] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [142] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [143] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [144] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [145] : 0000000000000000000000000000000000000000000000000000000000000360
Arg [146] : 00000000000000000000000000000000000000000000000000000000000003a0
Arg [147] : 0000000000000000000000000000000000000000000000000000000000000400
Arg [148] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [149] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [150] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [151] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [152] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [153] : 0000000000000000000000000000000000000000000000000000000000000480
Arg [154] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [155] : 0000000000000000000000007ce3a101f83470d275a750a6d8b9944fe8f2c268
Arg [156] : 000000000000000000000000a443d182c44703c4e823d252e8b1ac01f0461084
Arg [157] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [158] : 0000000000000000000000000000000000000000000000000000000000001f40
Arg [159] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [160] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [161] : 4172697365000000000000000000000000000000000000000000000000000000
Arg [162] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [163] : 4152495345000000000000000000000000000000000000000000000000000000
Arg [164] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [165] : 68747470733a2f2f676f6c6976652e6c792f776562332f6d6574612f32623966
Arg [166] : 313663632d373861662d346165352d613866612d626437393762336161646137
Arg [167] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [168] : 68747470733a2f2f676f6c6976652e6c792f776562332f6d6574612f32623966
Arg [169] : 313663632d373861662d346165352d613866612d626437393762336161646137
Arg [170] : 2f00000000000000000000000000000000000000000000000000000000000000
Arg [171] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [172] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [173] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [174] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [175] : 0000000000000000000000000000000000000000000000000000000000000096
Arg [176] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [177] : 000000000000000000000000000000000000000000000000004380663abb8000
Arg [178] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [179] : 4172697365000000000000000000000000000000000000000000000000000000
Arg [180] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [181] : 0000000000000000000000000000000000000000000000000000000000000032
Arg [182] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [183] : 00000000000000000000000000000000000000000000000001aa535d3d0c0000
Arg [184] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [185] : 41726973652044656c7578650000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

214:201:8:-:0;;;;;;6093:45:9;6116:10;6128:9;6093:45;;;;;;;:::i;:::-;;;;;;;;214:201:8;;4975:36:9;5263:7;;-1:-1:-1;;;;;;5263:7:9;5253:18;;-1:-1:-1;;;;;;;;;;;5253:18:9;;;;;;;;;650:45:19;;5237:36:9;;;5283:64;;;;-1:-1:-1;;;5283:64:9;;604:2:24;5283:64:9;;;586:21:24;;;623:18;;;616:30;682:34;662:18;;;655:62;734:18;;5283:64:9;;;;;;;;;5544:14;5541:1;5538;5525:34;5688:1;5685;5669:14;5666:1;5659:5;5652;5639:51;5760:16;5757:1;5754;5739:38;5864:6;5883:66;;;;5998:16;5995:1;5988:27;5883:66;5918:16;5915:1;5908:27;3048:1410:19;3199:25;3227:16;:14;:16::i;:::-;3285;;;;3199:44;;-1:-1:-1;3285:16:19;;;;;;3253:29;;3467:1;3451:17;:21;3447:140;;-1:-1:-1;3574:1:19;3557:18;;;3540:36;;;;:16;;;:36;;;;;;3447:140;3650:18;3632:441;3695:11;:18;3682:10;:31;3632:441;;;3796:266;3844:13;3875:12;3905:11;3917:10;3905:23;;;;;;;;:::i;:::-;;;;;;;:36;;;3959:11;3971:10;3959:23;;;;;;;;:::i;:::-;;;;;;;:30;;;4007:11;4019:10;4007:23;;;;;;;;:::i;:::-;;;;;;;:41;;;3796:30;:266::i;:::-;3764:298;;-1:-1:-1;3764:298:19;-1:-1:-1;3727:12:19;;;;:::i;:::-;;;;3632:441;;;;4103:21;4086:13;:38;4082:109;;4140:16;;;:40;;-1:-1:-1;;4140:40:19;;;;;;;4082:109;4265:1;4249:17;;:21;4245:103;;4320:1;4303:18;;;4286:36;;;;:16;;;:36;;;;;:51;;;4245:103;4362:41;4373:11;4386:5;4393:9;4362:41;;;;;;;;:::i;:::-;;;;;;;;4413:38;4434:5;4441:9;4413:20;:38::i;:::-;3189:1269;;;;3048:1410;;;:::o;1800:264::-;1864:25;1892:16;:14;:16::i;:::-;1942;;;;;-1:-1:-1;;;;;1968:28:19;;;-1:-1:-1;;;;;;1968:28:19;;;;;;;2011:46;;1864:44;;-1:-1:-1;1942:16:19;;;;2011:46;;1918:21;;2011:46;1854:210;;1800:264;:::o;1457:225::-;-1:-1:-1;;;;;;;;;;;650:45:19;1457:225::o;932:632:22:-;1004:35;:33;:35::i;:::-;1049:20;-1:-1:-1;;;;;1117:21:22;;1113:94;;1161:35;;-1:-1:-1;;;1161:35:22;;;;;;;;;;;1113:94;1221:7;1232:1;1221:12;1217:77;;1256:27;;-1:-1:-1;;;1256:27:22;;;;;;;;;;;1217:77;-1:-1:-1;;;;;1308:17:22;;1328:1;1308:17;;;:8;;;:17;;;;;;:21;1304:92;;1352:33;;-1:-1:-1;;;1352:33:22;;;;;;;;;;;1304:92;1406:8;;;:22;;;;;;;-1:-1:-1;1406:22:22;;;;;;;;;;;;-1:-1:-1;;;;;;1406:22:22;-1:-1:-1;;;;;1406:22:22;;;;;;;;1438:17;;:8;;;:17;;;;;:27;;;1491:13;;;;:23;;1438:27;;1491:23;:::i;:::-;1475:13;;;:39;1529:28;;;;;;1540:7;;1549;;1529:28;:::i;:::-;;;;;;;;994:570;932:632;;:::o;1732:333::-;1802:35;:33;:35::i;:::-;1847:20;1916:22;1924:4;1930:7;1916;:22::i;:::-;1911:148;;1954:13;;;;:7;;;:13;;;;;;;;-1:-1:-1;;;;;1954:30:22;;;;;;;;;;:37;;-1:-1:-1;;1954:37:22;1987:4;1954:37;;;2010:38;2037:10;;1962:4;;2010:38;;1954:13;2010:38;1911:148;1792:273;1732:333;;:::o;2380:730::-;2509:35;:33;:35::i;:::-;2622:17;;2554:20;;2622:17;;2617:49;;2648:18;;-1:-1:-1;;;2648:18:22;;;;;;;;;;;2617:49;2686:5;2680:19;2703:1;2680:24;2676:51;;2713:14;;-1:-1:-1;;;2713:14:22;;;;;;;;;;;2676:51;2754:17;;;:24;;2815:134;;;;;;;;;;;;;;;;;;2738:13;2815:134;;;;;;;;;;;;2960:32;;;;;;;;;;;;;2754:24;;2815:134;;;2960:32;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;3030:10;3016:1;:11;;;:24;;;;:::i;:::-;3002:11;;;:38;3056:47;;;;;;3070:5;;3077;;3084:6;;3092:10;;3056:47;:::i;:::-;;;;;;;;2499:611;;;2380:730;;;:::o;577:193:20:-;384:66;660:103;;-1:-1:-1;;;;;;660:103:20;-1:-1:-1;;;;;660:103:20;;;;;;;;;;577:193::o;2212:190:19:-;2305:16;:14;:16::i;:::-;:30;;;-1:-1:-1;;;;;2305:30:19;2291:10;:44;2270:125;;;;-1:-1:-1;;;2270:125:19;;7416:2:24;2270:125:19;;;7398:21:24;7455:2;7435:18;;;7428:30;7494:34;7474:18;;;7467:62;-1:-1:-1;;;7545:18:24;;;7538:32;7587:19;;2270:125:19;7214:398:24;2270:125:19;2212:190::o;3256:133:18:-;3305:21;3256:133;:::o;1614:190:6:-;1784:4;1614:190::o;4464:7262:19:-;4705:7;4714;4733:25;4761:16;:14;:16::i;:::-;4733:44;;4828:1;4808:10;:17;:21;4787:111;;;;-1:-1:-1;;;4787:111:19;;7819:2:24;4787:111:19;;;7801:21:24;7858:2;7838:18;;;7831:30;7897:34;7877:18;;;7870:62;-1:-1:-1;;;7948:18:24;;;7941:41;7999:19;;4787:111:19;7617:407:24;4787:111:19;4923:30;4912:7;:41;;;;;;;;:::i;:::-;;4908:6764;;4969:126;5009:16;4969:126;;;;;;;;;;;;;;;;;:22;:126::i;:::-;5131:21;5109:1264;5186:10;:17;5170:13;:33;5109:1264;;;5269:15;5287:10;5298:13;5287:25;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;;5349:19:19;;5330:16;5349:19;;;;;;;;;;;;5287:25;;-1:-1:-1;5415:26:19;;;;:40;5386:164;;;;-1:-1:-1;;;5386:164:19;;8231:2:24;5386:164:19;;;8213:21:24;8270:2;8250:18;;;8243:30;8309:34;8289:18;;;8282:62;-1:-1:-1;;;8360:18:24;;;8353:51;8421:19;;5386:164:19;8029:417:24;5386:164:19;-1:-1:-1;;;;;;5610:19:19;;;5700:23;5610:19;;;;;;;;;;-1:-1:-1;;;;;;5652:25:19;;;;:71;;;5610:113;;5774:25;5798:1;5774:25;;;;;5964:45;;;5962:48;5922:88;;;;6035:43;;;5921:158;;6161:29;;;6157:168;;6249:1;6231:19;;;6214:37;;;;:16;;;:37;;;;;:53;;;;6157:168;6342:16;;;;:::i;:::-;;;;5251:1122;;;5221:15;;;;;:::i;:::-;;;;5109:1264;;;;4908:6764;;;6404:34;6393:7;:45;;;;;;;;:::i;:::-;;6389:5283;;6454:130;6494:16;6454:130;;;;;;;;;;;;;;;;;:22;:130::i;:::-;6620:21;6598:1110;6675:10;:17;6659:13;:33;6598:1110;;;6758:15;6776:10;6787:13;6776:25;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;;6838:19:19;;6819:16;6838:19;;;;;;;;;;;;6776:25;;-1:-1:-1;6901:26:19;;;;7061:4;7034:32;;7005:150;;;;-1:-1:-1;;;7005:150:19;;8653:2:24;7005:150:19;;;8635:21:24;8692:2;8672:18;;;8665:30;8731:34;8711:18;;;8704:62;-1:-1:-1;;;8782:18:24;;;8775:45;8837:19;;7005:150:19;8451:411:24;7005:150:19;7221:16;-1:-1:-1;;;;;7202:35:19;:15;-1:-1:-1;;;;;7202:35:19;;7173:162;;;;-1:-1:-1;;;7173:162:19;;9069:2:24;7173:162:19;;;9051:21:24;9108:2;9088:18;;;9081:30;-1:-1:-1;;;;;;;;;;;9127:18:24;;;9120:62;-1:-1:-1;;;9198:18:24;;;9191:54;9262:19;;7173:162:19;8867:420:24;7173:162:19;-1:-1:-1;;;;;7382:29:19;;7353:156;;;;-1:-1:-1;;;7353:156:19;;9494:2:24;7353:156:19;;;9476:21:24;9533:2;9513:18;;;9506:30;-1:-1:-1;;;;;;;;;;;9552:18:24;;;9545:62;-1:-1:-1;;;9623:18:24;;;9616:54;9687:19;;7353:156:19;9292:420:24;7353:156:19;-1:-1:-1;;;;;;;7572:19:19;;;2575:44;7572:19;;;;;;;;;;-1:-1:-1;;;;;7615:29:19;;;;-1:-1:-1;;;;;;7668:25:19;;;;7614:79;;7572:121;;6710:15;;;;:::i;:::-;;;;6598:1110;;6389:5283;7739:33;7728:7;:44;;;;;;;;:::i;:::-;;7724:3948;;-1:-1:-1;;;;;7813:30:19;;;7788:143;;;;-1:-1:-1;;;7788:143:19;;9919:2:24;7788:143:19;;;9901:21:24;9958:2;9938:18;;;9931:30;9997:34;9977:18;;;9970:62;-1:-1:-1;;;10048:18:24;;;10041:52;10110:19;;7788:143:19;9717:418:24;7788:143:19;7991:1;7973:19;;;8053:1;8036:18;;7945:25;8068:3440;8145:10;:17;8129:13;:33;8068:3440;;;8249:1;8232:18;;;8228:315;;8319:19;;;;:::i;:::-;8376:35;;;;:16;;;:35;;;;;;;-1:-1:-1;8319:19:19;-1:-1:-1;8455:1:19;;-1:-1:-1;8228:315:19;;-1:-1:-1;8228:315:19;;8503:21;;;;:::i;:::-;;;;8228:315;8560:19;8597:29;8644:33;8786:15;8804:10;8815:13;8804:25;;;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;;8870:19:19;;8851:16;8870:19;;;;;;;;;;;;8804:25;;-1:-1:-1;8944:26:19;;;;8911:178;;;;-1:-1:-1;;;8911:178:19;;10483:2:24;8911:178:19;;;10465:21:24;10522:2;10502:18;;;10495:30;10561:34;10541:18;;;10534:62;-1:-1:-1;;;10612:18:24;;;10605:53;10675:19;;8911:178:19;10281:419:24;8911:178:19;9246:4;9208:26;;;;:43;9175:172;;;;-1:-1:-1;;;9175:172:19;;10907:2:24;9175:172:19;;;10889:21:24;10946:2;10926:18;;;10919:30;10985:34;10965:18;;;10958:62;-1:-1:-1;;;11036:18:24;;;11029:44;11090:19;;9175:172:19;10705:410:24;9175:172:19;9575:1;9552:24;;;9534:43;;;;-1:-1:-1;;;;;;;9625:24:19;;;;;;;9621:294;;-1:-1:-1;;;;;;9868:23:19;;:9;:23;;;;;;;;;;;;-1:-1:-1;;;;;;9798:94:19;-1:-1:-1;;;;;9799:29:19;;9798:94;9744:148;;9621:294;-1:-1:-1;;;;;;9943:19:19;;;;:9;:19;;;;;;;;;;9936:26;10102:1;10082:21;;;;;;-1:-1:-1;10179:1:19;10153:27;;;;-1:-1:-1;10220:42:19;;;10216:1109;;10286:23;10312:85;;;:16;;;:85;;;;;;;-1:-1:-1;;;;;;10610:80:19;;;10608:83;10562:129;;;10720:21;;;:50;;10561:210;10854:57;;10216:1109;;;11280:25;11263:12;-1:-1:-1;;;;;11255:21:19;;:50;;11200:25;-1:-1:-1;;;;;;2664:35:19;;11145:80;;11143:83;11099:13;:127;11098:208;11058:248;;10216:1109;11346:19;11369:1;11346:24;11342:152;;11401:35;;;;:16;;;:35;;;;;11394:42;;;11401:35;-1:-1:-1;11342:152:19;8210:3298;;;8180:15;;;;;:::i;:::-;;;;8068:3440;;;-1:-1:-1;11562:19:19;11538:21;:17;11558:1;11538:21;:::i;:::-;:43;;;;:::i;:::-;11521:60;;7774:3818;;7724:3948;;;11612:49;;-1:-1:-1;;;11612:49:19;;11495:2:24;11612:49:19;;;11477:21:24;11534:2;11514:18;;;11507:30;11573:34;11553:18;;;11546:62;-1:-1:-1;;;11624:18:24;;;11617:37;11671:19;;11612:49:19;11293:403:24;7724:3948:19;-1:-1:-1;11689:14:19;;11705:13;;-1:-1:-1;;;;;4464:7262:19:o;11732:1033::-;-1:-1:-1;;;;;11836:19:19;;11832:927;;11896:16;;:21;11871:140;;;;-1:-1:-1;;;11871:140:19;;11903:2:24;11871:140:19;;;11885:21:24;11942:2;11922:18;;;11915:30;11981:34;11961:18;;;11954:62;-1:-1:-1;;;12032:18:24;;;12025:58;12100:19;;11871:140:19;11701:424:24;11871:140:19;11732:1033;;:::o;11832:927::-;12086:1;12067:9;:16;:20;12042:140;;;;-1:-1:-1;;;12042:140:19;;12332:2:24;12042:140:19;;;12314:21:24;12371:2;12351:18;;;12344:30;12410:34;12390:18;;;12383:62;12481:31;12461:18;;;12454:59;12530:19;;12042:140:19;12130:425:24;12042:140:19;-1:-1:-1;;;;;12200:22:19;;12217:4;12200:22;12196:192;;12242:131;12286:5;12242:131;;;;;;;;;;;;;;;;;:22;:131::i;:::-;12402:12;12416:18;12438:5;-1:-1:-1;;;;;12438:18:19;12457:9;12438:29;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12401:66;;;;12486:7;12481:268;;12517:12;;:16;12513:222;;12614:5;12600:21;;-1:-1:-1;;;12600:21:19;;;;;;;;:::i;12513:222::-;12668:48;;-1:-1:-1;;;12668:48:19;;13278:2:24;12668:48:19;;;13260:21:24;13317:2;13297:18;;;13290:30;13356:34;13336:18;;;13329:62;-1:-1:-1;;;13407:18:24;;;13400:36;13453:19;;12668:48:19;13076:402:24;12513:222:19;12028:731;;11732:1033;;:::o;2152:222:22:-;2247:4;2337:13;;;:7;:13;;;;;;;;-1:-1:-1;;;;;2337:30:22;;;;;;;;;;;;2152:222;;;;;:::o;12771:283:19:-;12966:22;;13033:13;13015:16;13007:40;;;;-1:-1:-1;;;13007:40:19;;;;;;;;:::i;123:274:24:-;-1:-1:-1;;;;;315:32:24;;;;297:51;;379:2;364:18;;357:34;285:2;270:18;;123:274::o;763:127::-;824:10;819:3;815:20;812:1;805:31;855:4;852:1;845:15;879:4;876:1;869:15;895:127;956:10;951:3;947:20;944:1;937:31;987:4;984:1;977:15;1011:4;1008:1;1001:15;1027:135;1066:3;1087:17;;;1084:43;;1107:18;;:::i;:::-;-1:-1:-1;1154:1:24;1143:13;;1027:135::o;1167:127::-;1228:10;1223:3;1219:20;1216:1;1209:31;1259:4;1256:1;1249:15;1283:4;1280:1;1273:15;1299:250;1384:1;1394:113;1408:6;1405:1;1402:13;1394:113;;;1484:11;;;1478:18;1465:11;;;1458:39;1430:2;1423:10;1394:113;;;-1:-1:-1;;1541:1:24;1523:16;;1516:27;1299:250::o;1554:270::-;1595:3;1633:5;1627:12;1660:6;1655:3;1648:19;1676:76;1745:6;1738:4;1733:3;1729:14;1722:4;1715:5;1711:16;1676:76;:::i;:::-;1806:2;1785:15;-1:-1:-1;;1781:29:24;1772:39;;;;1813:4;1768:50;;1554:270;-1:-1:-1;;1554:270:24:o;1829:2090::-;2097:4;2126:2;2166;2155:9;2151:18;2196:2;2185:9;2178:21;2219:6;2254;2248:13;2285:6;2277;2270:22;2311:3;2301:13;;2345:2;2334:9;2330:18;2323:25;;2407:2;2397:6;2394:1;2390:14;2379:9;2375:30;2371:39;2429:4;2468:2;2460:6;2456:15;2489:1;2499:1249;2513:6;2510:1;2507:13;2499:1249;;;2578:22;;;-1:-1:-1;;2574:37:24;2562:50;;2635:13;;2722:9;;-1:-1:-1;;;;;2718:35:24;2703:51;;2793:11;;;2787:18;2675:15;;;;2845:1;2828:19;;2818:170;;2898:10;2893:3;2889:20;2886:1;2879:31;2937:4;2934:1;2927:15;2969:4;2966:1;2959:15;2818:170;3008:15;;;3001:37;3061:4;3106:11;;;3100:18;3138:15;;;3131:27;;;3219:21;;3253:24;;;;3343:23;;;;-1:-1:-1;;3299:15:24;;;;3404:236;3420:8;3415:3;3412:17;3404:236;;;3501:15;;-1:-1:-1;;;;;;3497:42:24;3483:57;;3609:17;;;;3448:1;3439:11;;;;;3566:14;;;;3404:236;;;-1:-1:-1;3726:12:24;;;;3663:5;-1:-1:-1;;;3691:15:24;;;;2535:1;2528:9;2499:1249;;;-1:-1:-1;;;;;;;80:31:24;;3784:18;;;68:44;3841:22;;;3834:4;3819:20;;3812:52;3881:32;3845:6;3898;3881:32;:::i;:::-;3873:40;1829:2090;-1:-1:-1;;;;;;;;;;1829:2090:24:o;3924:125::-;3989:9;;;4010:10;;;4007:36;;;4023:18;;:::i;4054:127::-;4115:10;4110:3;4106:20;4103:1;4096:31;4146:4;4143:1;4136:15;4170:4;4167:1;4160:15;4186:380;4265:1;4261:12;;;;4308;;;4329:61;;4383:4;4375:6;4371:17;4361:27;;4329:61;4436:2;4428:6;4425:14;4405:18;4402:38;4399:161;;4482:10;4477:3;4473:20;4470:1;4463:31;4517:4;4514:1;4507:15;4545:4;4542:1;4535:15;4399:161;;4186:380;;;:::o;4697:545::-;4799:2;4794:3;4791:11;4788:448;;;4835:1;4860:5;4856:2;4849:17;4905:4;4901:2;4891:19;4975:2;4963:10;4959:19;4956:1;4952:27;4946:4;4942:38;5011:4;4999:10;4996:20;4993:47;;;-1:-1:-1;5034:4:24;4993:47;5089:2;5084:3;5080:12;5077:1;5073:20;5067:4;5063:31;5053:41;;5144:82;5162:2;5155:5;5152:13;5144:82;;;5207:17;;;5188:1;5177:13;5144:82;;;5148:3;;;4697:545;;;:::o;5418:1352::-;5538:10;;-1:-1:-1;;;;;5560:30:24;;5557:56;;;5593:18;;:::i;:::-;5622:97;5712:6;5672:38;5704:4;5698:11;5672:38;:::i;:::-;5666:4;5622:97;:::i;:::-;5774:4;;5838:2;5827:14;;5855:1;5850:663;;;;6557:1;6574:6;6571:89;;;-1:-1:-1;6626:19:24;;;6620:26;6571:89;-1:-1:-1;;5375:1:24;5371:11;;;5367:24;5363:29;5353:40;5399:1;5395:11;;;5350:57;6673:81;;5820:944;;5850:663;4644:1;4637:14;;;4681:4;4668:18;;-1:-1:-1;;5886:20:24;;;6004:236;6018:7;6015:1;6012:14;6004:236;;;6107:19;;;6101:26;6086:42;;6199:27;;;;6167:1;6155:14;;;;6034:19;;6004:236;;;6008:3;6268:6;6259:7;6256:19;6253:201;;;6329:19;;;6323:26;-1:-1:-1;;6412:1:24;6408:14;;;6424:3;6404:24;6400:37;6396:42;6381:58;6366:74;;6253:201;-1:-1:-1;;;;;6500:1:24;6484:14;;;6480:22;6467:36;;-1:-1:-1;5418:1352:24:o;6775:434::-;7008:6;6997:9;6990:25;7051:3;7046:2;7035:9;7031:18;7024:31;6971:4;7072:45;7112:3;7101:9;7097:19;7089:6;7072:45;:::i;:::-;7148:2;7133:18;;7126:34;;;;-1:-1:-1;7191:2:24;7176:18;7169:34;7064:53;6775:434;-1:-1:-1;;6775:434:24:o;10140:136::-;10179:3;10207:5;10197:39;;10216:18;;:::i;:::-;-1:-1:-1;;;10252:18:24;;10140:136::o;11120:168::-;11160:7;11226:1;11222;11218:6;11214:14;11211:1;11208:21;11203:1;11196:9;11189:17;11185:45;11182:71;;;11233:18;;:::i;:::-;-1:-1:-1;11273:9:24;;11120:168::o;12560:287::-;12689:3;12727:6;12721:13;12743:66;12802:6;12797:3;12790:4;12782:6;12778:17;12743:66;:::i;:::-;12825:16;;;;;12560:287;-1:-1:-1;;12560:287:24:o;12852:219::-;13001:2;12990:9;12983:21;12964:4;13021:44;13061:2;13050:9;13046:18;13038:6;13021:44;:::i;:::-;13013:52;12852:219;-1:-1:-1;;;12852:219:24:o

Swarm Source

ipfs://730928cb9ae7a34bece31475e51aab5d7db36c59704cc467f6bfd8fe56ebd5bc
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.