pancakeswap-dump
v1.0.70
Published
Static set of addresses (PancakeSwap Ethereum mainnet)
Readme
pancakeswap-dump
Static set of addresses (PancakeSwap Ethereum mainnet). New pairs updates happen every hour at GitHub Action update.yml via uniswap-v2-loader
Data:
dump_pairs.bin148 Kb+dump_tokens.bin147 Kb+dump_p2tt.bin45 Kb+
Output format
load and subscribe` methods return collection of pools/pairs.
[
...
{
id: 13,
pair: '0x29ba6dddcc17513855fcd3f710be89b50cf17e5b',
token0: '0xbec299f79fe8edf9f7374113d576f9b7c008b154',
token1: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2'
},
...
]where:
13- pair/pool index at factory contract
0x29ba6dddcc17513855fcd3f710be89b50cf17e5b- FLAKE/WETH AMM contract address
0xbec299f79fe8edf9f7374113d576f9b7c008b154- FLAKE ERC-20 token contract address
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2- WETH ERC-20 token contract address
API
Same implementation as other Uniswap v2 based protocols.
Base API reference: uniswap-v2-loader.
Predefined filename with value dump & csv: false.
Usage CLI/API:
> node -e "require('pancakeswap-dump').load().then(pairs => console.log(pairs.length))"
> 7537