MCPcopy
hub / github.com/Uniswap/v2-core / factoryFixture

Function factoryFixture

test/shared/fixtures.ts:19–22  ·  view source on GitHub ↗
(_: Web3Provider, [wallet]: Wallet[])

Source from the content-addressed store, hash-verified

17}
18
19export async function factoryFixture(_: Web3Provider, [wallet]: Wallet[]): Promise<FactoryFixture> {
20 const factory = await deployContract(wallet, UniswapV2Factory, [wallet.address], overrides)
21 return { factory }
22}
23
24interface PairFixture extends FactoryFixture {
25 token0: Contract

Callers 1

pairFixtureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected