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
Name | Type | Description |
---|---|---|
allocation | struct LibSignatures.Allocation | Desired allocation of the swap |
approval | struct LibSignatures.Sig | Verified 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
Name | Type | Description |
---|---|---|
kickingMember | address | address of the member to be kicked |
allocation | struct LibSignatures.Allocation | desired allocation of the withdraw |
approval | struct LibSignatures.Sig | verified sentinel signature of the desired kick |
liquidate | bool | whether 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
Name | Type | Description |
---|---|---|
_tokenGates | struct TokenGate[] | Array of TokenGate structs |