Skip to main content

AtomicManualParty

Used to create a Party from scratch without a crowdfund. Initializes the Party with an array of members and their voting powers.

Code​

AtomicManualParty.sol

Functions​

createParty​

Atomically creates the party and distributes the party cards

function createParty(
Party partyImpl,
Party.PartyOptions memory opts,
IERC721[] memory preciousTokens,
uint256[] memory preciousTokenIds,
uint40 rageQuitTimestamp,
address[] memory partyMembers,
uint96[] memory partyMemberVotingPowers
) public returns (Party party);

createPartyWithMetadata​

Atomically creates the party and distributes the party cards with metadata

function createPartyWithMetadata(
Party partyImpl,
Party.PartyOptions memory opts,
IERC721[] memory preciousTokens,
uint256[] memory preciousTokenIds,
uint40 rageQuitTimestamp,
MetadataProvider provider,
bytes memory metadata,
address[] memory partyMembers,
uint96[] memory partyMemberVotingPowers
) external returns (Party party);