šŸŽ‰ Welcome to PartyFinance documentation!
Protocol
Contracts
Interfaces
Party
IPartyManagerActions

IPartyManagerActions

Contains party methods that can be called by any manager of the Party

Permissioned Party actions

swapToken

function swapToken(struct LibSignatures.Allocation allocation, struct LibSignatures.Sig approval) external

Swap a token with the party's fund

The user must be a manager. Only swaps a single asset.

Parameters

NameTypeDescription
allocationstruct LibSignatures.AllocationDesired allocation of the swap
approvalstruct LibSignatures.SigVerified sentinel signature of the desired swap

kickMember

function kickMember(address kickingMember, struct LibSignatures.Allocation allocation, struct LibSignatures.Sig approval, bool liquidate) external

Kick a member from the party

The user must be a manager

Parameters

NameTypeDescription
kickingMemberaddressaddress of the member to be kicked
allocationstruct LibSignatures.Allocationdesired allocation of the withdraw
approvalstruct LibSignatures.Sigverified sentinel signature of the desired kick
liquidateboolwhether to liquidate assets (convert all owned assets into denomination asset) or to transfer assets as it is

editTokenGates

function editTokenGates(struct TokenGate[] _tokenGates) external

Edits the token gating of the party

The user must be a manager

Parameters

NameTypeDescription
_tokenGatesstruct TokenGate[]Array of TokenGate structs