šŸŽ‰ Welcome to PartyFinance documentation!
Protocol
Contracts
interfaces
party
IPartyActions

IPartyActions

Contains party methods that can be called by anyone

Permissionless Party actions

joinParty

function joinParty(address user, uint256 amount, struct LibSignatures.Allocation allocation, struct LibSignatures.Sig approval) external

Joins and deposits into the party

For private parties, the joiner must have an accepted join request by a manager. The user must not be a member and the party must be opened In case the party has set a token gating, it will perform the check to ensure the user holds sufficient funds

Parameters

NameTypeDescription
useraddressUser address that will be joining the party
amountuint256Deposit amount in denomination asset
allocationstruct LibSignatures.AllocationDesired allocation of the deposit
approvalstruct LibSignatures.SigVerified sentinel signature of the desired deposit