Fraction ProtocolbuybackStorage

BuybackStorage

Contains the storage in case there is buyback skeleton in the project.

Contains obligation to each fraction which is the amount that each fraction purchased should get paid on a buyback

STORAGE_SLOT

bytes32 STORAGE_SLOT

================================================== STORAGE =================================================

Unique identifier for the storage slot where the Layout struct is stored. Derived from the ERC7201 formula. STORAGE_SLOT: 0x1d23f1d046cbc46d9b04df1a3de01e5b74be2bae900754e4ea3e235068eedf00

Layout

struct Layout {
  mapping(uint256 => uint256) obligationToEachFractionPerId;
}

layout

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

Retrieves a reference to the Layout struct stored at a specified storage slot

On this page