Skip to main content
Version: v2.x

Minimal Anti Collusion Infrastructure (MACI) / linkPoseidonLibraries

Function: linkPoseidonLibraries()

linkPoseidonLibraries(poseidonT3ContractAddress, poseidonT4ContractAddress, poseidonT5ContractAddress, poseidonT6ContractAddress): TallyLibraryAddresses | MessageProcessorLibraryAddresses | MACILibraryAddresses | PollFactoryLibraryAddresses

Defined in: packages/contracts/build/tasks/helpers/abi.d.ts:14

Create linked contract addresses object

Parameters

poseidonT3ContractAddress

string

PoseidonT3 contract address

poseidonT4ContractAddress

string

PoseidonT4 contract address

poseidonT5ContractAddress

string

PoseidonT5 contract address

poseidonT6ContractAddress

string

PoseidonT6 contract address

Returns

TallyLibraryAddresses | MessageProcessorLibraryAddresses | MACILibraryAddresses | PollFactoryLibraryAddresses