Skip to main content

JBTiered721FundingCycleMetadataResolver

Git Source

Utility library to parse and store tiered 721 funding cycle metadata.

Functions

transfersPaused

function transfersPaused(uint256 _data) internal pure returns (bool);

mintingReservesPaused

function mintingReservesPaused(uint256 _data) internal pure returns (bool);

packTiered721FundingCycleMetadata

Pack the tiered 721 funding cycle metadata.

function packTiered721FundingCycleMetadata(JBTiered721FundingCycleMetadata memory _metadata)
internal
pure
returns (uint256 packed);

Parameters

NameTypeDescription
_metadataJBTiered721FundingCycleMetadataThe metadata to validate and pack.

Returns

NameTypeDescription
packeduint256The packed uint256 of all tiered 721 metadata params.

expandMetadata

Expand the tiered 721 funding cycle metadata.

function expandMetadata(uint8 _packedMetadata)
internal
pure
returns (JBTiered721FundingCycleMetadata memory metadata);

Parameters

NameTypeDescription
_packedMetadatauint8The packed metadata to expand.

Returns

NameTypeDescription
metadataJBTiered721FundingCycleMetadataThe tiered 721 metadata object.