JBTiered721FundingCycleMetadataResolver
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
Name | Type | Description |
---|---|---|
_metadata | JBTiered721FundingCycleMetadata | The metadata to validate and pack. |
Returns
Name | Type | Description |
---|---|---|
packed | uint256 | The 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
Name | Type | Description |
---|---|---|
_packedMetadata | uint8 | The packed metadata to expand. |
Returns
Name | Type | Description |
---|---|---|
metadata | JBTiered721FundingCycleMetadata | The tiered 721 metadata object. |