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

github.com/Uniswap/v2-core @v1.0.1 sqlite

repository ↗ · DeepWiki ↗ · release v1.0.1 ↗
12 symbols 37 edges 5 files 0 documented · 0%
README

Uniswap V2

Actions Status Version

In-depth documentation on Uniswap V2 is available at uniswap.org.

The built contract artifacts can be browsed via unpkg.com.

Local Development

The following assumes the use of node@>=10.

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

Extension points exported contracts — how you extend this code

FactoryFixture (Interface)
(no doc)
test/shared/fixtures.ts
PairFixture (Interface)
(no doc)
test/shared/fixtures.ts

Core symbols most depended-on inside this repo

expandTo18Decimals
called by 35
test/shared/utilities.ts
mineBlock
called by 5
test/shared/utilities.ts
encodePrice
called by 2
test/shared/utilities.ts
getDomainSeparator
called by 1
test/shared/utilities.ts
getCreate2Address
called by 1
test/shared/utilities.ts
getApprovalDigest
called by 1
test/shared/utilities.ts
factoryFixture
called by 1
test/shared/fixtures.ts
pairFixture
called by 0
test/shared/fixtures.ts

Shape

Function 10
Interface 2

Languages

TypeScript100%

Modules by API surface

test/shared/utilities.ts6 symbols
test/shared/fixtures.ts4 symbols
test/UniswapV2Pair.spec.ts1 symbols
test/UniswapV2Factory.spec.ts1 symbols

Dependencies from manifests, versioned

@types/chai4.2.6 · 1×
@types/mocha5.2.7 · 1×
chai4.2.0 · 1×
ethereum-waffle2.4.1 · 1×
ethereumjs-util6.2.0 · 1×
mocha6.2.2 · 1×
prettier1.19.1 · 1×
rimraf3.0.0 · 1×
solc0.5.16 · 1×
ts-node8.5.4 · 1×
typescript3.7.3 · 1×

For agents

$ claude mcp add v2-core \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact