ROJIVerseRoyaltiesStorage

ROJIVerseRoyaltiesStorage

Contains the state for the ROJI Verse royalties. This allows facets to retrieve royalties based on tiers and a fallback option.

Layout

keccak256(abi.encode(uint256(keccak256("io.roji.platform.rojiVerse.facets.ROJIVerseRoyaltiesStorage")) - 1)) & ~bytes32(uint256(0xff));

struct Layout {
  mapping(uint256 => struct Royalty) tierToRoyaltiesBPS;
  uint16 royaltyBPS;
  address royaltyReceiver;
}

STORAGE_SLOT

bytes32 STORAGE_SLOT

layout

function layout() internal pure returns (struct ROJIVerseRoyaltiesStorage.Layout l)

Was this helpful?