Fraction ProtocolsubSkeletonFacetsNID

TwoClickLiquidationSkeletonNID

Implementation of TwoClickLiquidationSkeleton for fractionalization protocol with NID gating integration.

two click because firstly the nft provided by the wrapper is forcefully unlocked and secondly after assets under nft are handled the obligation is returned MOSTLY FOR RWA USE CASES, where wrapped assets are twins of real world assets

InvalidBuybackBeforeForceUnlock

error InvalidBuybackBeforeForceUnlock(uint256 campaignId)

UnauthorizedInitialization

error UnauthorizedInitialization(address account)

Thrown when trying to initialize from non admin account.

ForceUnlockHappened

event ForceUnlockHappened(uint256 campaignId, address receiver)

BuyBackAfterLiquidation

event BuyBackAfterLiquidation(uint256 campaignId, address account)

initializeNonFundedSubSkeleton

function initializeNonFundedSubSkeleton(address signer_) external

Initialize NonFunded SubSkeleton

Parameters

NameTypeDescription
signer_addressThe address of the designated off-chain service that signs the transactions (NexeraID).

forcefullyUnlockWrappersNft

function forcefullyUnlockWrappersNft(uint256 campaignId) external

ForcefullyUnlockWrappersNft

Called by eligible party to forcefully unlock the wrapper's nft and handle it, so buyBack can occur

Parameters

NameTypeDescription
campaignIduint256The ID of the associated project

buyBackAfterLiquidation

function buyBackAfterLiquidation(uint256 campaignId) external

BuyBackAfterLiquidation

Called by eligible party to buyBack after handling the wrapper's nft

Parameters

NameTypeDescription
campaignIduint256The ID of the associated project

oracleHook

function oracleHook(uint256) external pure returns (bool)

OracleHook

This is the hook called by oracle when liquidation state is already reached and oracle checks back that liquidation state is still active. For current version liquidation is the last limit that a project can reach If price falls below obligation there is no handling for now Insurance pool feature will be added in the future Selector: 0xa90f93b8

On this page