ETH Price: $3,333.01 (-1.31%)

Contract

0xe2e93eF89F92c5aA811938B03ac1e02d638EF0Ff
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint145697142022-04-12 8:37:36986 days ago1649752656IN
0xe2e93eF8...d638EF0Ff
0 ETH0.0153894727.6955912
Mint145678252022-04-12 1:28:47986 days ago1649726927IN
0xe2e93eF8...d638EF0Ff
0 ETH0.0259707547.160212
Mint145675442022-04-12 0:20:54986 days ago1649722854IN
0xe2e93eF8...d638EF0Ff
0 ETH0.0324846658.7753428
Mint145333932022-04-06 16:32:26991 days ago1649262746IN
0xe2e93eF8...d638EF0Ff
0 ETH0.0424777773.6483153
Set Sale Active145332552022-04-06 16:02:13991 days ago1649260933IN
0xe2e93eF8...d638EF0Ff
0 ETH0.02642883117.95217218
Grant Role145329942022-04-06 14:58:07991 days ago1649257087IN
0xe2e93eF8...d638EF0Ff
0 ETH0.003607270.07141976
Grant Role145329942022-04-06 14:58:07991 days ago1649257087IN
0xe2e93eF8...d638EF0Ff
0 ETH0.003607270.07141976
Create Project145329892022-04-06 14:56:28991 days ago1649256988IN
0xe2e93eF8...d638EF0Ff
0 ETH0.0853520565.79156289

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CommunityMinter2

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : CommunityMinter2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/IObscuraCommunity.sol"; 
import "./interfaces/IObscuraOnetimeMintPass.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "./randomiser.sol";
import "./interfaces/IRNG2.sol";


import "hardhat/console.sol";

// Community
// 10 photographers, 15 photos
// 30 mint passes
//
// on sale start we allocate who gets what
// pre-allocated array of pass => []photographer
//
// saleStart :
// [numMintPasses]randoms requested, 1 per mintpass
// split into 16 randoms of which 6 are used
// #1 used to get random allocation of []photographer
// #2 - #6 used to get a random item from each
//
// platformMintingReserve relates to number of passes reserved for platform

contract IMinter {
    mapping(uint256 => mapping(uint256 => bool)) public mpToTokenClaimed;
}

contract CommunityMinter2 is AccessControl, randomiser {
    bytes32 public constant MODERATOR_ROLE = keccak256("MODERATOR_ROLE");
    uint256 private constant DIVIDER = 10**5;
    uint256 private nextProjectId ;
    uint256 private nextRandom;
    uint256 private defaultRoyalty = 10;
    IObscuraCommunity private communityToken;
    IObscuraOnetimeMintPass private mintPass;
    address                                      public obscuraTreasury;
    string                                       public defaultCID;

    mapping(uint256 => CommunityProject)         public projects;
    mapping(uint256 => uint256)                  public tokenIdToProject;
    mapping(uint256 => mapping(uint256 => bool)) public mpToTokenClaimed;
    mapping(uint256 => uint256)                  public mpToProjectClaimedCount;
    mapping(uint256 => mapping(uint256 => bool)) public projectToTokenClaimed;
    mapping(uint256 => uint256)                  public projectToRequest;

    mapping (uint256 => uint256)                requestToProject;
    mapping (uint256 => uint256[])              projectRandoms;


    IRNG2                                       rng;


    constructor(
        address deployedCommunity,
        address deployedMintPass,
        address admin,
        address payable _obscuraTreasury,
        IRNG2   _rng
    ) randomiser(1) {
        communityToken = IObscuraCommunity(deployedCommunity);
        mintPass = IObscuraOnetimeMintPass(deployedMintPass);
        _setupRole(DEFAULT_ADMIN_ROLE, admin);
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
         _setupRole(MODERATOR_ROLE, admin);
        _setupRole(MODERATOR_ROLE, msg.sender);
        obscuraTreasury = _obscuraTreasury;
        rng = _rng;
    }

    function createProject(
        string memory _projectName,
        uint256 allowedPassId,
        uint16 _numberOfArtists,
        uint16 _photosPerArtist,
        uint16 _platformMintingReserve, 
        uint16 _numberOfPasses,
        uint16 _numberPerPass,
        uint256[] memory _photographerAllocation,
        string memory cid
    ) external onlyRole(MODERATOR_ROLE) {
        uint16 maxTokens = _photosPerArtist*_numberOfArtists;
        require(maxTokens < DIVIDER, "Cannot exceed 100,000");
        require(bytes(_projectName).length > 0, "Project name missing");

        uint256 projectId = nextProjectId += 1;

        uint256 randomID  = nextRandom + 1;
        

        projects[projectId] = CommunityProject({
            numberOfArtists : _numberOfArtists,
            photosPerArtist : _photosPerArtist,
            platformMintingReserve: _platformMintingReserve,
            platformMinted : 0,
            publicMinted : 0,
            projectName: _projectName,
            isSaleActive: false,
            royalty: defaultRoyalty,
            allowedPassId: allowedPassId,
            firstRandom : randomID,
            numberOfPasses : _numberOfPasses,
            photographerAllocation : _photographerAllocation,
            numberPerPass : _numberPerPass
        });

        setNumTokensLeft(randomID, _numberOfPasses);
        for (uint j = 0; j < _numberOfArtists; j++) {
            console.log("set R(",randomID+j,") to ",_photosPerArtist);
            setNumTokensLeft(randomID+j+1, _photosPerArtist);
        }

        communityToken.createProject(_projectName,_photosPerArtist,cid);
    }

    function latestProject() external view returns (uint256) {
        return nextProjectId;
    }

    function updateRand(IRNG2   _rng) external onlyRole(DEFAULT_ADMIN_ROLE) {
        rng = _rng;
    }


    function mint(uint256 projectId) external {

        CommunityProject memory project = projects[projectId];
        require(project.numberOfArtists > 0, "Project doesn't exist");
        require(project.isSaleActive, "Mint is not open yet");
        require(projectRandoms[projectId].length > 0, "waiting for CL");

        uint256 publicMinted = projects[projectId].publicMinted += 1;
        require(
            publicMinted <= project.numberOfPasses - project.platformMintingReserve,
            "All public sale tokens have been minted"
        );

        uint256 mintPassBalance = mintPass.balanceOf(msg.sender);
        require(mintPassBalance > 0, "User has no season pass");
        uint256 allowedPassId = project.allowedPassId;

        uint256 mintPassTokenId;
        for (uint256 i = 0; i < mintPassBalance; i++) {
            uint256 mpTokenId = mintPass.tokenOfOwnerByIndex(msg.sender, i);
            uint256 mpTokenPassId = mintPass.getTokenIdToPass(mpTokenId);

            // return mint pass token ID if allowed pass ID and user owned token's pass ID are the same.
            if (
                allowedPassId == mpTokenPassId &&
                !mpToTokenClaimed[projectId][mpTokenId]
            ) {
                mintPassTokenId = mpTokenId;
            }
        }
        require( 
            !mpToTokenClaimed[projectId][mintPassTokenId],
            "All user mint passes have already been claimed"
        );

        uint256 passId = mintPass.getTokenIdToPass(mintPassTokenId);
        require(
            project.allowedPassId == passId,
            "No pass ID or ineligible pass ID"
        );
        mpToTokenClaimed[projectId][mintPassTokenId] = true;
        mpToProjectClaimedCount[projectId] += 1;

        console.log("mintpass found",mintPassTokenId);

        uint256 random16 = projectRandoms[projectId][mintPassTokenId % DIVIDER];

        uint256 pAllocation = randomTokenURI(project.firstRandom, random16 & 0xff) - 1; // function is 1 based
        console.log("pAllocation",pAllocation);
        uint256 allocation = project.photographerAllocation[pAllocation];
        console.log("allocation",pAllocation, allocation);
        random16 = random16 >> 0;
        uint32[] memory tokenz = new uint32[](project.numberPerPass) ;
        for (uint j = 0; j < project.numberPerPass; j++) {
                uint photographerID = (allocation & 0xff) - 1;
                console.log("photographerID",photographerID);
                allocation = allocation >> 8;
                console.log("random ID" , project.firstRandom + photographerID + 1);
                uint tokenInProject = randomTokenURI(project.firstRandom + photographerID + 1, random16 & 0xff);
                uint32 tokenID = uint32((project.photosPerArtist * photographerID) + tokenInProject);
                random16 = random16 >> 8;
                tokenz[j] = tokenID;
        }

        communityToken.mintBatch(msg.sender, projectId, tokenz); 
        
        mintPass.redeemToken(mintPassTokenId);
    }

    

    function setSaleActive(uint256 projectId, bool isSaleActive)
        external
        onlyRole(MODERATOR_ROLE)
    {
        projects[projectId].isSaleActive = isSaleActive;
        if (projectToRequest[projectId] == 0){
            uint256 requestID = rng.requestRandomWordsWithCallback(projects[projectId].numberOfPasses, 0);
            requestToProject[requestID] = projectId;
            console.log("r2p");
            projectToRequest[projectId] = requestID;
            console.log("p2r");
        }
    }

    function isSalePublic(uint256 projectId)
        external
        view
        returns (bool active)
    {
        return projects[projectId].isSaleActive;
    }


    function setProjectCID(uint256 projectId, string calldata cid)
        external
        onlyRole(MODERATOR_ROLE)
    {
        communityToken.setProjectCID(projectId, cid);
    }

    function setTokenCID(uint256 tokenId, string calldata cid)
        external
        onlyRole(MODERATOR_ROLE)
    {
        communityToken.setTokenCID(tokenId, cid);
    }

    function setDefaultCID(string calldata _defaultCID)
        external
        onlyRole(MODERATOR_ROLE)
    {
        communityToken.setDefaultPendingCID(_defaultCID);
    }

    function withdraw() public onlyRole(MODERATOR_ROLE) {
        uint256 balance = address(this).balance;
        (bool success, ) = payable(obscuraTreasury).call{value: balance}("");
        require(success, "Withdraw: unable to send value");
    }


    struct CommunityProject {
        uint16 numberOfArtists;
        uint16 photosPerArtist;      
        uint16 publicMinted;
        uint16 platformMinted;
        uint16 platformMintingReserve; // number of MINTS reserved for obscura use. Cannot be public Minted
        uint16 numberOfPasses;          // number of passes issued
        uint16 numberPerPass;           // number of NFTS pass holder gets
        uint256[] photographerAllocation;

        uint256 royalty;
        uint256 allowedPassId;
        bool isSaleActive;
        string projectName;
        uint256 firstRandom;
    }



    function multi_process(uint256[] memory randomWords, uint256 _requestId) external {
        require(msg.sender == address(rng),"Unauthorised Requestor");
        uint256 projectID = requestToProject[_requestId];
        projectRandoms[projectID] = randomWords;
    }


    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 14 : IObscuraCommunity.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IObscuraCommunity {
    function mintTo(
        address to,
        uint256 projectId,
        uint256 tokenId
    ) external;

    function mintBatch( // passes burden to the minter to allocate the tokenIds
        address to,
        uint256 projectId,
        uint32[] memory  tokenIDs
    ) external;

    function setProjectCID(uint256 projectId, string calldata cid) external;

    function setTokenCID(uint256 tokenId, string calldata cid) external;

    function setDefaultPendingCID(string calldata defaultPendingCID) external;

    function createProject(
        string memory artist,
        uint16 photosPerArtist,
        string memory cid
    ) external;
}

File 3 of 14 : IObscuraOnetimeMintPass.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

interface IObscuraOnetimeMintPass is IERC721Enumerable {
    function mintTo(address to, uint256 projectId) external;

    function isSalePublic(uint256 passId) external view returns (bool active);

    function getPassPrice(uint256 passId) external view returns (uint256 price);

    function getPassMaxTokens(uint256 passId)
        external
        view
        returns (uint256 maxTokens);

    function getTokenIdToPass(uint256 tokenId)
        external
        view
        returns (uint256 passId);
    
    function redeemToken(uint256 tokenId) external;
}

File 4 of 14 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.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, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @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 {
        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 override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    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.
     */
    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`.
     */
    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.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 14 : randomiser.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

//import "hardhat/console.sol";


contract randomiser {

    struct random_tool {
        bool        substituted;
        uint128     value;
    }

    mapping(uint => uint)                          num_tokens_left;
    mapping(uint => mapping (uint => random_tool)) random_eyes;
    uint256                             immutable  startsWithZero;

    constructor(uint256 oneIfStartsWithZero) {
        startsWithZero = oneIfStartsWithZero;
    }

    function getTID(uint256 projectID, uint256 pos) internal view returns (uint128){
        random_tool memory data = random_eyes[projectID][pos];
        if (!data.substituted) return uint128(pos);
        return data.value;
    }

    function randomTokenURI(uint256 projectID, uint256 rand) internal returns (uint256) {
        uint256 ntl = num_tokens_left[projectID];
        require(ntl > 0,"All tokens taken");
        uint256 nt = (rand % ntl--);
        random_tool memory data = random_eyes[projectID][nt];

        uint128 endval = getTID(projectID,ntl);
        random_eyes[projectID][nt] = random_tool( true,endval);
        num_tokens_left[projectID] = ntl;

        if (data.substituted) return data.value+startsWithZero;
        return nt+startsWithZero;
    }

    function setNumTokensLeft(uint256 projectID, uint256 num) internal {
        num_tokens_left[projectID] = num;
    }

    function numLeft(uint projectID) external view returns (uint) {
        return num_tokens_left[projectID];
    }

}

File 6 of 14 : IRNG2.sol
pragma solidity ^0.8.7;

interface IRNG2 {
    function requestRandomNumber( ) external returns (uint256);
    function requestRandomNumberWithCallback( ) external returns (uint256);
    function isRequestComplete(uint256 requestId) external view returns (bool isCompleted);
    function randomNumber(uint256 requestId) external view returns (uint256 randomNum);
    function setAuth(address user, bool grant) external;
    function requestRandomWords(uint32 numberOfWords, uint speed) external returns (uint256);
    function requestRandomWordsWithCallback(uint32 numberOfWords, uint speed) external returns (uint256);
}

File 7 of 14 : 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(int p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(int)", p0));
	}

	function logUint(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", 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(uint p0) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint)", 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(uint p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1));
	}

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

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

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

	function log(string memory p0, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,uint)", 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, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint)", 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, uint p1) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint)", 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(uint p0, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2));
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	function log(string memory p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", 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, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", 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, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", 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, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2));
	}

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

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

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

	function log(bool p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", 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, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", 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, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", 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, uint p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2));
	}

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

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

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

	function log(address p0, string memory p1, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", 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, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", 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, uint p2) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", 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(uint p0, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3));
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	function log(string memory p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", 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, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3));
	}

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

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

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

	function log(string memory p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", 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, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3));
	}

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

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

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

	function log(string memory p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", 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, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3));
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	function log(bool p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", 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, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3));
	}

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

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

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

	function log(bool p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", 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, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3));
	}

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

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

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

	function log(bool p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", 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, uint p1, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3));
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	function log(address p0, string memory p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", 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, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3));
	}

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

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

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

	function log(address p0, bool p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", 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, uint p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3));
	}

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

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

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

	function log(address p0, address p1, string memory p2, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", 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, uint p3) internal view {
		_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", 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 8 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 9 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 10 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 11 of 14 : 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 12 of 14 : 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 13 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 14 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"deployedCommunity","type":"address"},{"internalType":"address","name":"deployedMintPass","type":"address"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"address payable","name":"_obscuraTreasury","type":"address"},{"internalType":"contract IRNG2","name":"_rng","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MODERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_projectName","type":"string"},{"internalType":"uint256","name":"allowedPassId","type":"uint256"},{"internalType":"uint16","name":"_numberOfArtists","type":"uint16"},{"internalType":"uint16","name":"_photosPerArtist","type":"uint16"},{"internalType":"uint16","name":"_platformMintingReserve","type":"uint16"},{"internalType":"uint16","name":"_numberOfPasses","type":"uint16"},{"internalType":"uint16","name":"_numberPerPass","type":"uint16"},{"internalType":"uint256[]","name":"_photographerAllocation","type":"uint256[]"},{"internalType":"string","name":"cid","type":"string"}],"name":"createProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultCID","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"isSalePublic","outputs":[{"internalType":"bool","name":"active","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestProject","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mpToProjectClaimedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"mpToTokenClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"},{"internalType":"uint256","name":"_requestId","type":"uint256"}],"name":"multi_process","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectID","type":"uint256"}],"name":"numLeft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"obscuraTreasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectToRequest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"projectToTokenClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"projects","outputs":[{"internalType":"uint16","name":"numberOfArtists","type":"uint16"},{"internalType":"uint16","name":"photosPerArtist","type":"uint16"},{"internalType":"uint16","name":"publicMinted","type":"uint16"},{"internalType":"uint16","name":"platformMinted","type":"uint16"},{"internalType":"uint16","name":"platformMintingReserve","type":"uint16"},{"internalType":"uint16","name":"numberOfPasses","type":"uint16"},{"internalType":"uint16","name":"numberPerPass","type":"uint16"},{"internalType":"uint256","name":"royalty","type":"uint256"},{"internalType":"uint256","name":"allowedPassId","type":"uint256"},{"internalType":"bool","name":"isSaleActive","type":"bool"},{"internalType":"string","name":"projectName","type":"string"},{"internalType":"uint256","name":"firstRandom","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_defaultCID","type":"string"}],"name":"setDefaultCID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"string","name":"cid","type":"string"}],"name":"setProjectCID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"bool","name":"isSaleActive","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"cid","type":"string"}],"name":"setTokenCID","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToProject","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IRNG2","name":"_rng","type":"address"}],"name":"updateRand","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052600a6005553480156200001657600080fd5b5060405162002cd038038062002cd08339810160408190526200003991620001a4565b6001608052600680546001600160a01b038088166001600160a01b03199283161790925560078054928716929091169190911790556200007b600084620000f4565b62000088600033620000f4565b620000a360008051602062002cb083398151915284620000f4565b620000be60008051602062002cb083398151915233620000f4565b600880546001600160a01b039384166001600160a01b03199182161790915560128054929093169116179055506200023d915050565b62000100828262000104565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000100576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001603390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600080600080600060a08688031215620001bd57600080fd5b8551620001ca8162000224565b6020870151909550620001dd8162000224565b6040870151909450620001f08162000224565b6060870151909350620002038162000224565b6080870151909250620002168162000224565b809150509295509295909350565b6001600160a01b03811681146200023a57600080fd5b50565b608051612a506200026060003960008181611d3f0152611d860152612a506000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636be2676a116100f9578063d547741f11610097578063ef978aaf11610071578063ef978aaf1461042e578063f2a0301b14610441578063f45b366414610454578063f631e8f61461047457600080fd5b8063d547741f146103d0578063e4abae0d146103e3578063ed37130c1461040e57600080fd5b80637fc95d8f116100d35780637fc95d8f1461038f57806391d14854146103a2578063a0712d68146103b5578063a217fddf146103c857600080fd5b80636be2676a1461035457806370a0311b14610367578063797669c91461037a57600080fd5b8063248a9ca31161016657806336568abe1161014057806336568abe146103045780633ccfd60b146103175780633ffdba1f1461031f5780635121f31c1461033f57600080fd5b8063248a9ca3146102c657806324d2b0c6146102e95780632f2ff15d146102f157600080fd5b8063114fd514116101a2578063114fd5141461024a5780631a1cf7891461025f5780631b322ccb1461028d5780631babf544146102a057600080fd5b806301ffc9a7146101c95780630f5f4073146101f1578063107046bd1461021f575b600080fd5b6101dc6101d7366004612318565b6104a2565b60405190151581526020015b60405180910390f35b6101dc6101ff366004612516565b600c60209081526000928352604080842090915290825290205460ff1681565b61023261022d3660046122cf565b6104b3565b6040516101e89c9b9a99989796959493929190612751565b61025d61025836600461235f565b6105be565b005b61027f61026d3660046122cf565b600d6020526000908152604090205481565b6040519081526020016101e8565b61025d61029b3660046124ca565b610640565b6101dc6102ae3660046122cf565b6000908152600a602052604090206004015460ff1690565b61027f6102d43660046122cf565b60009081526020819052604090206001015490565b60035461027f565b61025d6102ff3660046122e8565b6106c5565b61025d6103123660046122e8565b6106f0565b61025d610773565b61027f61032d3660046122cf565b60009081526001602052604090205490565b610347610833565b6040516101e89190612681565b61025d6103623660046123a1565b6108c1565b61025d6103753660046124ca565b610ce5565b61027f6000805160206129fb83398151915281565b61025d61039d36600461228a565b610d32565b6101dc6103b03660046122e8565b610db4565b61025d6103c33660046122cf565b610ddd565b61027f600081565b61025d6103de3660046122e8565b611848565b6008546103f6906001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61027f61041c3660046122cf565b600f6020526000908152604090205481565b61025d61043c3660046124a0565b61186e565b61025d61044f366004612342565b6119be565b61027f6104623660046122cf565b600b6020526000908152604090205481565b6101dc610482366004612516565b600e60209081526000928352604080842090915290825290205460ff1681565b60006104ad826119ed565b92915050565b600a602052600090815260409020805460028201546003830154600484015460058501805461ffff80871697620100008804821697640100000000810483169766010000000000008204841697600160401b8304851697600160501b8404861697600160601b909404909516959194909360ff9091169290916105359061292b565b80601f01602080910402602001604051908101604052809291908181526020018280546105619061292b565b80156105ae5780601f10610583576101008083540402835291602001916105ae565b820191906000526020600020905b81548152906001019060200180831161059157829003601f168201915b505050505090806006015490508c565b6000805160206129fb8339815191526105d78133611a22565b600654604051635e9bdb1160e01b81526001600160a01b0390911690635e9bdb11906106099086908690600401612665565b600060405180830381600087803b15801561062357600080fd5b505af1158015610637573d6000803e3d6000fd5b50505050505050565b6000805160206129fb8339815191526106598133611a22565b600654604051631b322ccb60e01b81526001600160a01b0390911690631b322ccb9061068d908790879087906004016127d3565b600060405180830381600087803b1580156106a757600080fd5b505af11580156106bb573d6000803e3d6000fd5b5050505050505050565b6000828152602081905260409020600101546106e18133611a22565b6106eb8383611a86565b505050565b6001600160a01b03811633146107655760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61076f8282611b0a565b5050565b6000805160206129fb83398151915261078c8133611a22565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d80600081146107dd576040519150601f19603f3d011682016040523d82523d6000602084013e6107e2565b606091505b50509050806106eb5760405162461bcd60e51b815260206004820152601e60248201527f57697468647261773a20756e61626c6520746f2073656e642076616c75650000604482015260640161075c565b600980546108409061292b565b80601f016020809104026020016040519081016040528092919081815260200182805461086c9061292b565b80156108b95780601f1061088e576101008083540402835291602001916108b9565b820191906000526020600020905b81548152906001019060200180831161089c57829003601f168201915b505050505081565b6000805160206129fb8339815191526108da8133611a22565b60006108e68989612865565b9050620186a08161ffff16106109365760405162461bcd60e51b8152602060048201526015602482015274043616e6e6f7420657863656564203130302c30303605c1b604482015260640161075c565b60008b511161097e5760405162461bcd60e51b815260206004820152601460248201527350726f6a656374206e616d65206d697373696e6760601b604482015260640161075c565b6000600160036000828254610993919061284d565b9250508190559050600060045460016109ac919061284d565b9050604051806101a001604052808c61ffff1681526020018b61ffff168152602001600061ffff168152602001600061ffff1681526020018a61ffff1681526020018961ffff1681526020018861ffff16815260200187815260200160055481526020018d81526020016000151581526020018e815260200182815250600a600084815260200190815260200160002060008201518160000160006101000a81548161ffff021916908361ffff16021790555060208201518160000160026101000a81548161ffff021916908361ffff16021790555060408201518160000160046101000a81548161ffff021916908361ffff16021790555060608201518160000160066101000a81548161ffff021916908361ffff16021790555060808201518160000160086101000a81548161ffff021916908361ffff16021790555060a082015181600001600a6101000a81548161ffff021916908361ffff16021790555060c082015181600001600c6101000a81548161ffff021916908361ffff16021790555060e0820151816001019080519060200190610b4d929190612061565b506101008201516002820155610120820151600382015561014082015160048201805460ff19169115159190911790556101608201518051610b999160058401916020909101906120ac565b506101809190910151600690910155600081815260016020526040812061ffff8a1690555b8b61ffff16811015610c5e576040805180820190915260068152650e6cae840a4560d31b6020820152610c1d90610bf5838561284d565b60405180604001604052806005815260200164014903a37960dd1b8152508e61ffff16611b6f565b610c4c610c2a828461284d565b610c3590600161284d565b8c61ffff1660009182526001602052604090912055565b80610c5681612966565b915050610bbe565b50600660009054906101000a90046001600160a01b03166001600160a01b0316630fd3a7498e8c886040518463ffffffff1660e01b8152600401610ca493929190612694565b600060405180830381600087803b158015610cbe57600080fd5b505af1158015610cd2573d6000803e3d6000fd5b5050505050505050505050505050505050565b6000805160206129fb833981519152610cfe8133611a22565b6006546040516370a0311b60e01b81526001600160a01b03909116906370a0311b9061068d908790879087906004016127d3565b6012546001600160a01b03163314610d855760405162461bcd60e51b81526020600482015260166024820152752ab730baba3437b934b9b2b2102932b8bab2b9ba37b960511b604482015260640161075c565b6000818152601060209081526040808320548084526011835292208451610dae92860190612061565b50505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000818152600a6020908152604080832081516101a081018352815461ffff808216835262010000820481168387015264010000000082048116838601526601000000000000820481166060840152600160401b820481166080840152600160501b8204811660a0840152600160601b9091041660c08201526001820180548451818702810187019095528085529194929360e0860193909290830182828015610ea657602002820191906000526020600020905b815481526020019060010190808311610e92575b50505091835250506002820154602082015260038201546040820152600482015460ff1615156060820152600582018054608090920191610ee69061292b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f129061292b565b8015610f5f5780601f10610f3457610100808354040283529160200191610f5f565b820191906000526020600020905b815481529060010190602001808311610f4257829003601f168201915b5050505050815260200160068201548152505090506000816000015161ffff1611610fc45760405162461bcd60e51b8152602060048201526015602482015274141c9bda9958dd08191bd95cdb89dd08195e1a5cdd605a1b604482015260640161075c565b80610140015161100d5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081bdc195b881e595d60621b604482015260640161075c565b6000828152601160205260409020546110595760405162461bcd60e51b815260206004820152600e60248201526d1dd85a5d1a5b99c8199bdc8810d360921b604482015260640161075c565b6000828152600a60205260408120805460019190600490611087908490640100000000900461ffff16612827565b92506101000a81548161ffff021916908361ffff160217905561ffff16905081608001518260a001516110ba91906128ae565b61ffff1681111561111d5760405162461bcd60e51b815260206004820152602760248201527f416c6c207075626c69632073616c6520746f6b656e732068617665206265656e604482015266081b5a5b9d195960ca1b606482015260840161075c565b6007546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561116157600080fd5b505afa158015611175573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111999190612487565b9050600081116111eb5760405162461bcd60e51b815260206004820152601760248201527f5573657220686173206e6f20736561736f6e2070617373000000000000000000604482015260640161075c565b6101208301516000805b8381101561134b57600754604051632f745c5960e01b8152336004820152602481018390526000916001600160a01b031690632f745c599060440160206040518083038186803b15801561124857600080fd5b505afa15801561125c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112809190612487565b600754604051630475d66560e41b8152600481018390529192506000916001600160a01b039091169063475d66509060240160206040518083038186803b1580156112ca57600080fd5b505afa1580156112de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113029190612487565b9050808514801561132d57506000898152600c6020908152604080832085845290915290205460ff16155b15611336578193505b5050808061134390612966565b9150506111f5565b506000868152600c6020908152604080832084845290915290205460ff16156113cd5760405162461bcd60e51b815260206004820152602e60248201527f416c6c2075736572206d696e7420706173736573206861766520616c7265616460448201526d1e481899595b8818db185a5b595960921b606482015260840161075c565b600754604051630475d66560e41b8152600481018390526000916001600160a01b03169063475d66509060240160206040518083038186803b15801561141257600080fd5b505afa158015611426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144a9190612487565b905080866101200151146114a05760405162461bcd60e51b815260206004820181905260248201527f4e6f2070617373204944206f7220696e656c696769626c652070617373204944604482015260640161075c565b6000878152600c602090815260408083208584528252808320805460ff191660019081179091558a8452600d90925282208054919290916114e290849061284d565b909155505060408051808201909152600e81526d1b5a5b9d1c185cdcc8199bdd5b9960921b60208201526115169083611bb8565b6000878152601160205260408120611531620186a085612981565b81548110611541576115416129b9565b90600052602060002001549050600060016115648961018001518460ff16611bfd565b61156e91906128d1565b905061159d6040518060400160405280600b81526020016a3820b63637b1b0ba34b7b760a91b81525082611bb8565b60008860e0015182815181106115b5576115b56129b9565b602002602001015190506115ec6040518060400160405280600a81526020016930b63637b1b0ba34b7b760b11b8152508383611db6565b60c089015160009061ffff1667ffffffffffffffff811115611610576116106129cf565b604051908082528060200260200182016040528015611639578160200160208202803683370190505b50905060005b8a60c0015161ffff1681101561177757600061165f600160ff86166128d1565b90506116916040518060400160405280600e81526020016d1c1a1bdd1bd9dc985c1a195c925160921b81525082611bb8565b600884901c93506116de604051806040016040528060098152602001681c985b991bdb48125160ba1b815250828e61018001516116ce919061284d565b6116d990600161284d565b611bb8565b6000611708828e61018001516116f4919061284d565b6116ff90600161284d565b8860ff16611bfd565b9050600081838f6020015161ffff16611721919061288f565b61172b919061284d565b9050600888901c975080858581518110611747576117476129b9565b602002602001019063ffffffff16908163ffffffff1681525050505050808061176f90612966565b91505061163f565b5060065460405163036feba160e61b81526001600160a01b039091169063dbfae840906117ac9033908f908690600401612602565b600060405180830381600087803b1580156117c657600080fd5b505af11580156117da573d6000803e3d6000fd5b505060075460405162982a6160e11b8152600481018a90526001600160a01b03909116925063013054c29150602401600060405180830381600087803b15801561182357600080fd5b505af1158015611837573d6000803e3d6000fd5b505050505050505050505050505050565b6000828152602081905260409020600101546118648133611a22565b6106eb8383611b0a565b6000805160206129fb8339815191526118878133611a22565b6000838152600a60209081526040808320600401805460ff1916861515179055600f9091529020546106eb576012546000848152600a6020526040808220549051630c8b973960e31b8152600160501b90910461ffff1660048201526024810182905290916001600160a01b03169063645cb9c890604401602060405180830381600087803b15801561191957600080fd5b505af115801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190612487565b6000818152601060209081526040918290208790558151808301909252600382526207232760ec1b9082015290915061198990611dfd565b6000848152600f60209081526040918290208390558151808301909252600382526238193960e91b90820152610dae90611dfd565b60006119ca8133611a22565b50601280546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b03198216637965db0b60e01b14806104ad57506301ffc9a760e01b6001600160e01b03198316146104ad565b611a2c8282610db4565b61076f57611a44816001600160a01b03166014611e43565b611a4f836020611e43565b604051602001611a6092919061258d565b60408051601f198184030181529082905262461bcd60e51b825261075c91600401612681565b611a908282610db4565b61076f576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611ac63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611b148282610db4565b1561076f576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610dae84848484604051602401611b8994939291906126ef565b60408051601f198184030181529190526020810180516001600160e01b031663a0c4b22560e01b179052611fe6565b61076f8282604051602401611bce9291906126cd565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b179052611fe6565b60008281526001602052604081205480611c4c5760405162461bcd60e51b815260206004820152601060248201526f20b636103a37b5b2b739903a30b5b2b760811b604482015260640161075c565b600081611c5881612914565b9250611c649085612981565b6000868152600260209081526040808320848452825280832081518083019092525460ff81161515825261010090046001600160801b031691810191909152919250611cb08785612007565b60408051808201825260018082526001600160801b03848116602080850191825260008e8152600282528681208b8252825286812095518654935170ffffffffffffffffffffffffffffffffff1990941690151570ffffffffffffffffffffffffffffffff001916176101009390941692909202929092179093558b83525220859055825190915015611d81577f000000000000000000000000000000000000000000000000000000000000000082602001516001600160801b0316611d76919061284d565b9450505050506104ad565b611dab7f00000000000000000000000000000000000000000000000000000000000000008461284d565b979650505050505050565b6106eb838383604051602401611dce9392919061272c565b60408051601f198184030181529190526020810180516001600160e01b031663969cdd0360e01b179052611fe6565b611e4081604051602401611e119190612681565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b179052611fe6565b50565b60606000611e5283600261288f565b611e5d90600261284d565b67ffffffffffffffff811115611e7557611e756129cf565b6040519080825280601f01601f191660200182016040528015611e9f576020820181803683370190505b509050600360fc1b81600081518110611eba57611eba6129b9565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611ee957611ee96129b9565b60200101906001600160f81b031916908160001a9053506000611f0d84600261288f565b611f1890600161284d565b90505b6001811115611f90576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611f4c57611f4c6129b9565b1a60f81b828281518110611f6257611f626129b9565b60200101906001600160f81b031916908160001a90535060049490941c93611f8981612914565b9050611f1b565b508315611fdf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161075c565b9392505050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b6000828152600260209081526040808320848452825280832081518083019092525460ff811615158083526101009091046001600160801b0316928201929092529061205657829150506104ad565b602001519392505050565b82805482825590600052602060002090810192821561209c579160200282015b8281111561209c578251825591602001919060010190612081565b506120a892915061211f565b5090565b8280546120b89061292b565b90600052602060002090601f0160209004810192826120da576000855561209c565b82601f106120f357805160ff191683800117855561209c565b8280016001018555821561209c579182018281111561209c578251825591602001919060010190612081565b5b808211156120a85760008155600101612120565b600082601f83011261214557600080fd5b8135602067ffffffffffffffff821115612161576121616129cf565b8160051b6121708282016127f6565b83815282810190868401838801850189101561218b57600080fd5b600093505b858410156121ae578035835260019390930192918401918401612190565b50979650505050505050565b60008083601f8401126121cc57600080fd5b50813567ffffffffffffffff8111156121e457600080fd5b6020830191508360208285010111156121fc57600080fd5b9250929050565b600082601f83011261221457600080fd5b813567ffffffffffffffff81111561222e5761222e6129cf565b612241601f8201601f19166020016127f6565b81815284602083860101111561225657600080fd5b816020850160208301376000918101602001919091529392505050565b803561ffff8116811461228557600080fd5b919050565b6000806040838503121561229d57600080fd5b823567ffffffffffffffff8111156122b457600080fd5b6122c085828601612134565b95602094909401359450505050565b6000602082840312156122e157600080fd5b5035919050565b600080604083850312156122fb57600080fd5b82359150602083013561230d816129e5565b809150509250929050565b60006020828403121561232a57600080fd5b81356001600160e01b031981168114611fdf57600080fd5b60006020828403121561235457600080fd5b8135611fdf816129e5565b6000806020838503121561237257600080fd5b823567ffffffffffffffff81111561238957600080fd5b612395858286016121ba565b90969095509350505050565b60008060008060008060008060006101208a8c0312156123c057600080fd5b893567ffffffffffffffff808211156123d857600080fd5b6123e48d838e01612203565b9a5060208c013599506123f960408d01612273565b985061240760608d01612273565b975061241560808d01612273565b965061242360a08d01612273565b955061243160c08d01612273565b945060e08c013591508082111561244757600080fd5b6124538d838e01612134565b93506101008c013591508082111561246a57600080fd5b506124778c828d01612203565b9150509295985092959850929598565b60006020828403121561249957600080fd5b5051919050565b600080604083850312156124b357600080fd5b823591506020830135801515811461230d57600080fd5b6000806000604084860312156124df57600080fd5b83359250602084013567ffffffffffffffff8111156124fd57600080fd5b612509868287016121ba565b9497909650939450505050565b6000806040838503121561252957600080fd5b50508035926020909101359150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600081518084526125798160208601602086016128e8565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516125c58160178501602088016128e8565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516125f68160288401602088016128e8565b01602801949350505050565b6001600160a01b038416815260208082018490526060604083018190528351908301819052600091848101916080850190845b8181101561265757845163ffffffff1683529383019391830191600101612635565b509098975050505050505050565b602081526000612679602083018486612538565b949350505050565b602081526000611fdf6020830184612561565b6060815260006126a76060830186612561565b61ffff8516602084015282810360408401526126c38185612561565b9695505050505050565b6040815260006126e06040830185612561565b90508260208301529392505050565b6080815260006127026080830187612561565b856020840152828103604084015261271a8186612561565b91505082606083015295945050505050565b60608152600061273f6060830186612561565b60208301949094525060400152919050565b600061ffff808f168352808e166020840152808d166040840152808c166060840152808b166080840152808a1660a084015280891660c0840152508660e0830152856101008301528415156101208301526101806101408301526127b9610180830185612561565b9050826101608301529d9c50505050505050505050505050565b8381526040602082015260006127ed604083018486612538565b95945050505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561281f5761281f6129cf565b604052919050565b600061ffff808316818516808303821115612844576128446129a3565b01949350505050565b60008219821115612860576128606129a3565b500190565b600061ffff80831681851681830481118215151615612886576128866129a3565b02949350505050565b60008160001904831182151516156128a9576128a96129a3565b500290565b600061ffff838116908316818110156128c9576128c96129a3565b039392505050565b6000828210156128e3576128e36129a3565b500390565b60005b838110156129035781810151838201526020016128eb565b83811115610dae5750506000910152565b600081612923576129236129a3565b506000190190565b600181811c9082168061293f57607f821691505b6020821081141561296057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561297a5761297a6129a3565b5060010190565b60008261299e57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611e4057600080fdfe71f3d55856e4058ed06ee057d79ada615f65cdf5f9ee88181b914225088f834fa2646970667358221220c36ebb3c7173a650bf10a2a68b496da5ad822ffc43d58b063ba15ce517e1445f64736f6c6343000807003371f3d55856e4058ed06ee057d79ada615f65cdf5f9ee88181b914225088f834f000000000000000000000000d705b41d5d5fff1b688bd5d7dd5baf52d50b72690000000000000000000000008f4912dd141d0c4b0c9884ba8fde6f07abfa8826000000000000000000000000138bda96fb56c4263efb3ee29aaf1df377adca24000000000000000000000000b94404c28feaa59f8a3939d53e6b2901266fa52900000000000000000000000016931fe45f6c9c94c66eb17e64cdfa2514146bae

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636be2676a116100f9578063d547741f11610097578063ef978aaf11610071578063ef978aaf1461042e578063f2a0301b14610441578063f45b366414610454578063f631e8f61461047457600080fd5b8063d547741f146103d0578063e4abae0d146103e3578063ed37130c1461040e57600080fd5b80637fc95d8f116100d35780637fc95d8f1461038f57806391d14854146103a2578063a0712d68146103b5578063a217fddf146103c857600080fd5b80636be2676a1461035457806370a0311b14610367578063797669c91461037a57600080fd5b8063248a9ca31161016657806336568abe1161014057806336568abe146103045780633ccfd60b146103175780633ffdba1f1461031f5780635121f31c1461033f57600080fd5b8063248a9ca3146102c657806324d2b0c6146102e95780632f2ff15d146102f157600080fd5b8063114fd514116101a2578063114fd5141461024a5780631a1cf7891461025f5780631b322ccb1461028d5780631babf544146102a057600080fd5b806301ffc9a7146101c95780630f5f4073146101f1578063107046bd1461021f575b600080fd5b6101dc6101d7366004612318565b6104a2565b60405190151581526020015b60405180910390f35b6101dc6101ff366004612516565b600c60209081526000928352604080842090915290825290205460ff1681565b61023261022d3660046122cf565b6104b3565b6040516101e89c9b9a99989796959493929190612751565b61025d61025836600461235f565b6105be565b005b61027f61026d3660046122cf565b600d6020526000908152604090205481565b6040519081526020016101e8565b61025d61029b3660046124ca565b610640565b6101dc6102ae3660046122cf565b6000908152600a602052604090206004015460ff1690565b61027f6102d43660046122cf565b60009081526020819052604090206001015490565b60035461027f565b61025d6102ff3660046122e8565b6106c5565b61025d6103123660046122e8565b6106f0565b61025d610773565b61027f61032d3660046122cf565b60009081526001602052604090205490565b610347610833565b6040516101e89190612681565b61025d6103623660046123a1565b6108c1565b61025d6103753660046124ca565b610ce5565b61027f6000805160206129fb83398151915281565b61025d61039d36600461228a565b610d32565b6101dc6103b03660046122e8565b610db4565b61025d6103c33660046122cf565b610ddd565b61027f600081565b61025d6103de3660046122e8565b611848565b6008546103f6906001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61027f61041c3660046122cf565b600f6020526000908152604090205481565b61025d61043c3660046124a0565b61186e565b61025d61044f366004612342565b6119be565b61027f6104623660046122cf565b600b6020526000908152604090205481565b6101dc610482366004612516565b600e60209081526000928352604080842090915290825290205460ff1681565b60006104ad826119ed565b92915050565b600a602052600090815260409020805460028201546003830154600484015460058501805461ffff80871697620100008804821697640100000000810483169766010000000000008204841697600160401b8304851697600160501b8404861697600160601b909404909516959194909360ff9091169290916105359061292b565b80601f01602080910402602001604051908101604052809291908181526020018280546105619061292b565b80156105ae5780601f10610583576101008083540402835291602001916105ae565b820191906000526020600020905b81548152906001019060200180831161059157829003601f168201915b505050505090806006015490508c565b6000805160206129fb8339815191526105d78133611a22565b600654604051635e9bdb1160e01b81526001600160a01b0390911690635e9bdb11906106099086908690600401612665565b600060405180830381600087803b15801561062357600080fd5b505af1158015610637573d6000803e3d6000fd5b50505050505050565b6000805160206129fb8339815191526106598133611a22565b600654604051631b322ccb60e01b81526001600160a01b0390911690631b322ccb9061068d908790879087906004016127d3565b600060405180830381600087803b1580156106a757600080fd5b505af11580156106bb573d6000803e3d6000fd5b5050505050505050565b6000828152602081905260409020600101546106e18133611a22565b6106eb8383611a86565b505050565b6001600160a01b03811633146107655760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b61076f8282611b0a565b5050565b6000805160206129fb83398151915261078c8133611a22565b60085460405147916000916001600160a01b039091169083908381818185875af1925050503d80600081146107dd576040519150601f19603f3d011682016040523d82523d6000602084013e6107e2565b606091505b50509050806106eb5760405162461bcd60e51b815260206004820152601e60248201527f57697468647261773a20756e61626c6520746f2073656e642076616c75650000604482015260640161075c565b600980546108409061292b565b80601f016020809104026020016040519081016040528092919081815260200182805461086c9061292b565b80156108b95780601f1061088e576101008083540402835291602001916108b9565b820191906000526020600020905b81548152906001019060200180831161089c57829003601f168201915b505050505081565b6000805160206129fb8339815191526108da8133611a22565b60006108e68989612865565b9050620186a08161ffff16106109365760405162461bcd60e51b8152602060048201526015602482015274043616e6e6f7420657863656564203130302c30303605c1b604482015260640161075c565b60008b511161097e5760405162461bcd60e51b815260206004820152601460248201527350726f6a656374206e616d65206d697373696e6760601b604482015260640161075c565b6000600160036000828254610993919061284d565b9250508190559050600060045460016109ac919061284d565b9050604051806101a001604052808c61ffff1681526020018b61ffff168152602001600061ffff168152602001600061ffff1681526020018a61ffff1681526020018961ffff1681526020018861ffff16815260200187815260200160055481526020018d81526020016000151581526020018e815260200182815250600a600084815260200190815260200160002060008201518160000160006101000a81548161ffff021916908361ffff16021790555060208201518160000160026101000a81548161ffff021916908361ffff16021790555060408201518160000160046101000a81548161ffff021916908361ffff16021790555060608201518160000160066101000a81548161ffff021916908361ffff16021790555060808201518160000160086101000a81548161ffff021916908361ffff16021790555060a082015181600001600a6101000a81548161ffff021916908361ffff16021790555060c082015181600001600c6101000a81548161ffff021916908361ffff16021790555060e0820151816001019080519060200190610b4d929190612061565b506101008201516002820155610120820151600382015561014082015160048201805460ff19169115159190911790556101608201518051610b999160058401916020909101906120ac565b506101809190910151600690910155600081815260016020526040812061ffff8a1690555b8b61ffff16811015610c5e576040805180820190915260068152650e6cae840a4560d31b6020820152610c1d90610bf5838561284d565b60405180604001604052806005815260200164014903a37960dd1b8152508e61ffff16611b6f565b610c4c610c2a828461284d565b610c3590600161284d565b8c61ffff1660009182526001602052604090912055565b80610c5681612966565b915050610bbe565b50600660009054906101000a90046001600160a01b03166001600160a01b0316630fd3a7498e8c886040518463ffffffff1660e01b8152600401610ca493929190612694565b600060405180830381600087803b158015610cbe57600080fd5b505af1158015610cd2573d6000803e3d6000fd5b5050505050505050505050505050505050565b6000805160206129fb833981519152610cfe8133611a22565b6006546040516370a0311b60e01b81526001600160a01b03909116906370a0311b9061068d908790879087906004016127d3565b6012546001600160a01b03163314610d855760405162461bcd60e51b81526020600482015260166024820152752ab730baba3437b934b9b2b2102932b8bab2b9ba37b960511b604482015260640161075c565b6000818152601060209081526040808320548084526011835292208451610dae92860190612061565b50505050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6000818152600a6020908152604080832081516101a081018352815461ffff808216835262010000820481168387015264010000000082048116838601526601000000000000820481166060840152600160401b820481166080840152600160501b8204811660a0840152600160601b9091041660c08201526001820180548451818702810187019095528085529194929360e0860193909290830182828015610ea657602002820191906000526020600020905b815481526020019060010190808311610e92575b50505091835250506002820154602082015260038201546040820152600482015460ff1615156060820152600582018054608090920191610ee69061292b565b80601f0160208091040260200160405190810160405280929190818152602001828054610f129061292b565b8015610f5f5780601f10610f3457610100808354040283529160200191610f5f565b820191906000526020600020905b815481529060010190602001808311610f4257829003601f168201915b5050505050815260200160068201548152505090506000816000015161ffff1611610fc45760405162461bcd60e51b8152602060048201526015602482015274141c9bda9958dd08191bd95cdb89dd08195e1a5cdd605a1b604482015260640161075c565b80610140015161100d5760405162461bcd60e51b8152602060048201526014602482015273135a5b9d081a5cc81b9bdd081bdc195b881e595d60621b604482015260640161075c565b6000828152601160205260409020546110595760405162461bcd60e51b815260206004820152600e60248201526d1dd85a5d1a5b99c8199bdc8810d360921b604482015260640161075c565b6000828152600a60205260408120805460019190600490611087908490640100000000900461ffff16612827565b92506101000a81548161ffff021916908361ffff160217905561ffff16905081608001518260a001516110ba91906128ae565b61ffff1681111561111d5760405162461bcd60e51b815260206004820152602760248201527f416c6c207075626c69632073616c6520746f6b656e732068617665206265656e604482015266081b5a5b9d195960ca1b606482015260840161075c565b6007546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561116157600080fd5b505afa158015611175573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111999190612487565b9050600081116111eb5760405162461bcd60e51b815260206004820152601760248201527f5573657220686173206e6f20736561736f6e2070617373000000000000000000604482015260640161075c565b6101208301516000805b8381101561134b57600754604051632f745c5960e01b8152336004820152602481018390526000916001600160a01b031690632f745c599060440160206040518083038186803b15801561124857600080fd5b505afa15801561125c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112809190612487565b600754604051630475d66560e41b8152600481018390529192506000916001600160a01b039091169063475d66509060240160206040518083038186803b1580156112ca57600080fd5b505afa1580156112de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113029190612487565b9050808514801561132d57506000898152600c6020908152604080832085845290915290205460ff16155b15611336578193505b5050808061134390612966565b9150506111f5565b506000868152600c6020908152604080832084845290915290205460ff16156113cd5760405162461bcd60e51b815260206004820152602e60248201527f416c6c2075736572206d696e7420706173736573206861766520616c7265616460448201526d1e481899595b8818db185a5b595960921b606482015260840161075c565b600754604051630475d66560e41b8152600481018390526000916001600160a01b03169063475d66509060240160206040518083038186803b15801561141257600080fd5b505afa158015611426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144a9190612487565b905080866101200151146114a05760405162461bcd60e51b815260206004820181905260248201527f4e6f2070617373204944206f7220696e656c696769626c652070617373204944604482015260640161075c565b6000878152600c602090815260408083208584528252808320805460ff191660019081179091558a8452600d90925282208054919290916114e290849061284d565b909155505060408051808201909152600e81526d1b5a5b9d1c185cdcc8199bdd5b9960921b60208201526115169083611bb8565b6000878152601160205260408120611531620186a085612981565b81548110611541576115416129b9565b90600052602060002001549050600060016115648961018001518460ff16611bfd565b61156e91906128d1565b905061159d6040518060400160405280600b81526020016a3820b63637b1b0ba34b7b760a91b81525082611bb8565b60008860e0015182815181106115b5576115b56129b9565b602002602001015190506115ec6040518060400160405280600a81526020016930b63637b1b0ba34b7b760b11b8152508383611db6565b60c089015160009061ffff1667ffffffffffffffff811115611610576116106129cf565b604051908082528060200260200182016040528015611639578160200160208202803683370190505b50905060005b8a60c0015161ffff1681101561177757600061165f600160ff86166128d1565b90506116916040518060400160405280600e81526020016d1c1a1bdd1bd9dc985c1a195c925160921b81525082611bb8565b600884901c93506116de604051806040016040528060098152602001681c985b991bdb48125160ba1b815250828e61018001516116ce919061284d565b6116d990600161284d565b611bb8565b6000611708828e61018001516116f4919061284d565b6116ff90600161284d565b8860ff16611bfd565b9050600081838f6020015161ffff16611721919061288f565b61172b919061284d565b9050600888901c975080858581518110611747576117476129b9565b602002602001019063ffffffff16908163ffffffff1681525050505050808061176f90612966565b91505061163f565b5060065460405163036feba160e61b81526001600160a01b039091169063dbfae840906117ac9033908f908690600401612602565b600060405180830381600087803b1580156117c657600080fd5b505af11580156117da573d6000803e3d6000fd5b505060075460405162982a6160e11b8152600481018a90526001600160a01b03909116925063013054c29150602401600060405180830381600087803b15801561182357600080fd5b505af1158015611837573d6000803e3d6000fd5b505050505050505050505050505050565b6000828152602081905260409020600101546118648133611a22565b6106eb8383611b0a565b6000805160206129fb8339815191526118878133611a22565b6000838152600a60209081526040808320600401805460ff1916861515179055600f9091529020546106eb576012546000848152600a6020526040808220549051630c8b973960e31b8152600160501b90910461ffff1660048201526024810182905290916001600160a01b03169063645cb9c890604401602060405180830381600087803b15801561191957600080fd5b505af115801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190612487565b6000818152601060209081526040918290208790558151808301909252600382526207232760ec1b9082015290915061198990611dfd565b6000848152600f60209081526040918290208390558151808301909252600382526238193960e91b90820152610dae90611dfd565b60006119ca8133611a22565b50601280546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b03198216637965db0b60e01b14806104ad57506301ffc9a760e01b6001600160e01b03198316146104ad565b611a2c8282610db4565b61076f57611a44816001600160a01b03166014611e43565b611a4f836020611e43565b604051602001611a6092919061258d565b60408051601f198184030181529082905262461bcd60e51b825261075c91600401612681565b611a908282610db4565b61076f576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055611ac63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b611b148282610db4565b1561076f576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610dae84848484604051602401611b8994939291906126ef565b60408051601f198184030181529190526020810180516001600160e01b031663a0c4b22560e01b179052611fe6565b61076f8282604051602401611bce9291906126cd565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b179052611fe6565b60008281526001602052604081205480611c4c5760405162461bcd60e51b815260206004820152601060248201526f20b636103a37b5b2b739903a30b5b2b760811b604482015260640161075c565b600081611c5881612914565b9250611c649085612981565b6000868152600260209081526040808320848452825280832081518083019092525460ff81161515825261010090046001600160801b031691810191909152919250611cb08785612007565b60408051808201825260018082526001600160801b03848116602080850191825260008e8152600282528681208b8252825286812095518654935170ffffffffffffffffffffffffffffffffff1990941690151570ffffffffffffffffffffffffffffffff001916176101009390941692909202929092179093558b83525220859055825190915015611d81577f000000000000000000000000000000000000000000000000000000000000000182602001516001600160801b0316611d76919061284d565b9450505050506104ad565b611dab7f00000000000000000000000000000000000000000000000000000000000000018461284d565b979650505050505050565b6106eb838383604051602401611dce9392919061272c565b60408051601f198184030181529190526020810180516001600160e01b031663969cdd0360e01b179052611fe6565b611e4081604051602401611e119190612681565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b179052611fe6565b50565b60606000611e5283600261288f565b611e5d90600261284d565b67ffffffffffffffff811115611e7557611e756129cf565b6040519080825280601f01601f191660200182016040528015611e9f576020820181803683370190505b509050600360fc1b81600081518110611eba57611eba6129b9565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611ee957611ee96129b9565b60200101906001600160f81b031916908160001a9053506000611f0d84600261288f565b611f1890600161284d565b90505b6001811115611f90576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611f4c57611f4c6129b9565b1a60f81b828281518110611f6257611f626129b9565b60200101906001600160f81b031916908160001a90535060049490941c93611f8981612914565b9050611f1b565b508315611fdf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161075c565b9392505050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b6000828152600260209081526040808320848452825280832081518083019092525460ff811615158083526101009091046001600160801b0316928201929092529061205657829150506104ad565b602001519392505050565b82805482825590600052602060002090810192821561209c579160200282015b8281111561209c578251825591602001919060010190612081565b506120a892915061211f565b5090565b8280546120b89061292b565b90600052602060002090601f0160209004810192826120da576000855561209c565b82601f106120f357805160ff191683800117855561209c565b8280016001018555821561209c579182018281111561209c578251825591602001919060010190612081565b5b808211156120a85760008155600101612120565b600082601f83011261214557600080fd5b8135602067ffffffffffffffff821115612161576121616129cf565b8160051b6121708282016127f6565b83815282810190868401838801850189101561218b57600080fd5b600093505b858410156121ae578035835260019390930192918401918401612190565b50979650505050505050565b60008083601f8401126121cc57600080fd5b50813567ffffffffffffffff8111156121e457600080fd5b6020830191508360208285010111156121fc57600080fd5b9250929050565b600082601f83011261221457600080fd5b813567ffffffffffffffff81111561222e5761222e6129cf565b612241601f8201601f19166020016127f6565b81815284602083860101111561225657600080fd5b816020850160208301376000918101602001919091529392505050565b803561ffff8116811461228557600080fd5b919050565b6000806040838503121561229d57600080fd5b823567ffffffffffffffff8111156122b457600080fd5b6122c085828601612134565b95602094909401359450505050565b6000602082840312156122e157600080fd5b5035919050565b600080604083850312156122fb57600080fd5b82359150602083013561230d816129e5565b809150509250929050565b60006020828403121561232a57600080fd5b81356001600160e01b031981168114611fdf57600080fd5b60006020828403121561235457600080fd5b8135611fdf816129e5565b6000806020838503121561237257600080fd5b823567ffffffffffffffff81111561238957600080fd5b612395858286016121ba565b90969095509350505050565b60008060008060008060008060006101208a8c0312156123c057600080fd5b893567ffffffffffffffff808211156123d857600080fd5b6123e48d838e01612203565b9a5060208c013599506123f960408d01612273565b985061240760608d01612273565b975061241560808d01612273565b965061242360a08d01612273565b955061243160c08d01612273565b945060e08c013591508082111561244757600080fd5b6124538d838e01612134565b93506101008c013591508082111561246a57600080fd5b506124778c828d01612203565b9150509295985092959850929598565b60006020828403121561249957600080fd5b5051919050565b600080604083850312156124b357600080fd5b823591506020830135801515811461230d57600080fd5b6000806000604084860312156124df57600080fd5b83359250602084013567ffffffffffffffff8111156124fd57600080fd5b612509868287016121ba565b9497909650939450505050565b6000806040838503121561252957600080fd5b50508035926020909101359150565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600081518084526125798160208601602086016128e8565b601f01601f19169290920160200192915050565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516125c58160178501602088016128e8565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516125f68160288401602088016128e8565b01602801949350505050565b6001600160a01b038416815260208082018490526060604083018190528351908301819052600091848101916080850190845b8181101561265757845163ffffffff1683529383019391830191600101612635565b509098975050505050505050565b602081526000612679602083018486612538565b949350505050565b602081526000611fdf6020830184612561565b6060815260006126a76060830186612561565b61ffff8516602084015282810360408401526126c38185612561565b9695505050505050565b6040815260006126e06040830185612561565b90508260208301529392505050565b6080815260006127026080830187612561565b856020840152828103604084015261271a8186612561565b91505082606083015295945050505050565b60608152600061273f6060830186612561565b60208301949094525060400152919050565b600061ffff808f168352808e166020840152808d166040840152808c166060840152808b166080840152808a1660a084015280891660c0840152508660e0830152856101008301528415156101208301526101806101408301526127b9610180830185612561565b9050826101608301529d9c50505050505050505050505050565b8381526040602082015260006127ed604083018486612538565b95945050505050565b604051601f8201601f1916810167ffffffffffffffff8111828210171561281f5761281f6129cf565b604052919050565b600061ffff808316818516808303821115612844576128446129a3565b01949350505050565b60008219821115612860576128606129a3565b500190565b600061ffff80831681851681830481118215151615612886576128866129a3565b02949350505050565b60008160001904831182151516156128a9576128a96129a3565b500290565b600061ffff838116908316818110156128c9576128c96129a3565b039392505050565b6000828210156128e3576128e36129a3565b500390565b60005b838110156129035781810151838201526020016128eb565b83811115610dae5750506000910152565b600081612923576129236129a3565b506000190190565b600181811c9082168061293f57607f821691505b6020821081141561296057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561297a5761297a6129a3565b5060010190565b60008261299e57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114611e4057600080fdfe71f3d55856e4058ed06ee057d79ada615f65cdf5f9ee88181b914225088f834fa2646970667358221220c36ebb3c7173a650bf10a2a68b496da5ad822ffc43d58b063ba15ce517e1445f64736f6c63430008070033

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

000000000000000000000000d705b41d5d5fff1b688bd5d7dd5baf52d50b72690000000000000000000000008f4912dd141d0c4b0c9884ba8fde6f07abfa8826000000000000000000000000138bda96fb56c4263efb3ee29aaf1df377adca24000000000000000000000000b94404c28feaa59f8a3939d53e6b2901266fa52900000000000000000000000016931fe45f6c9c94c66eb17e64cdfa2514146bae

-----Decoded View---------------
Arg [0] : deployedCommunity (address): 0xD705B41d5D5fff1B688bD5d7Dd5Baf52D50b7269
Arg [1] : deployedMintPass (address): 0x8f4912dD141D0C4b0c9884bA8fDe6f07ABfA8826
Arg [2] : admin (address): 0x138bDA96FB56C4263Efb3ee29aaF1Df377ADCa24
Arg [3] : _obscuraTreasury (address): 0xb94404C28FeAA59f8A3939d53E6b2901266Fa529
Arg [4] : _rng (address): 0x16931fE45f6C9C94c66Eb17e64Cdfa2514146Bae

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000d705b41d5d5fff1b688bd5d7dd5baf52d50b7269
Arg [1] : 0000000000000000000000008f4912dd141d0c4b0c9884ba8fde6f07abfa8826
Arg [2] : 000000000000000000000000138bda96fb56c4263efb3ee29aaf1df377adca24
Arg [3] : 000000000000000000000000b94404c28feaa59f8a3939d53e6b2901266fa529
Arg [4] : 00000000000000000000000016931fe45f6c9c94c66eb17e64cdfa2514146bae


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.