Fraction ProtocolsubSkeletonFacetsNID
MarginCallSubSkeletonNID
Implementation of MarginCall Sub-Skeleton with NID gating integration.
UnauthorizedInitialization
Thrown when trying to initialize from non admin account.
MarginAdded
initializeMarginCallSubSkeleton
Initialize MarginCall SubSkeleton
Parameters
Name | Type | Description |
---|---|---|
signer_ | address | The address of the designated off-chain service that signs the transactions (NexeraID). |
addMargin
AddMargin gated with NID signature verification
Called by users to avoid liquidation by adding margin
Parameters
Name | Type | Description |
---|---|---|
campaignId | uint256 | The ID of the associated fractions |
packetsMarginAmount | uint256 | The amount to add as margin |