Fraction ProtocolinternalFacetspurchasePhaseFacetsdoPurchaseFacetsonePartyTransferPackets
OnePartyTransferPacketsFacet
OnePartyTransferPacketsFacet
initDoPurchaseFacet
setAndCheckDoPurchase
doPurchase
Distributes the funding packets to eligible parties.
Parameters
Name | Type | Description |
---|---|---|
campaignId | uint256 | The ID of the targeted campaign. |
account | address | The account purchasing fractions. |
amountOfFractions | uint256 | The number of fractions being purchased. |
pricePerFraction | uint256 | The cost of a single fraction (in terms of input/funding packets). |