Fraction ProtocolsubSkeletonFacetswithdrawalSubSkeletons

WithdrawalRequestSubSkeleton

Implementation of withdrawal request sub skeleton for fractionalisation protocol.

InvalidZeroFractionsAmount

error InvalidZeroFractionsAmount()

WithdrawalRequested

event WithdrawalRequested(uint256 campaignId, address requester, uint256 amountOfFractions)

withdraw

function withdraw(uint256 campaignId, uint256 amountOfFractions, bytes withdrawalOperationData) external payable

Withdraw

Called by users to burn fractions and withdraw associated assets.

Parameters

NameTypeDescription
campaignIduint256The campaign id.
amountOfFractionsuint256The amount of fractions to be burnt.
withdrawalOperationDatabytesData needed for the withdrawals.

On this page