AddPartyCardsAuthority
This contract is used to add new members to a Party. Must be an authority on the Party it is adding members to.
Code
Functions
addPartyCards
Atomically distributes new party cards and updates the total voting power as needed.
Caller must be the party and this contract must be an authority on the party
function addPartyCards(
address[] calldata newPartyMembers,
uint96[] calldata newPartyMemberVotingPowers,
address[] calldata initialDelegates
) external;
Parameters
Name | Type | Description |
---|---|---|
newPartyMembers | address[] | Addresses of the new party members (duplicates allowed) |
newPartyMemberVotingPowers | uint96[] | Voting powers for the new party cards |
initialDelegates | address[] | Initial delegates for the new party members. If the member already set a delegate this is ignored. |