sushiswap-dump
v1.0.8
Published
Static set of addresses (SushiSwap Ethereum mainnet)
Readme
sushiswap-dump
Static set of addresses (SushiSwap Ethereum mainnet). New pairs updates happen every hour at GitHub Action update.yml via uniswap-v2-loader
Data:
dump_pairs.bin90 Kb+dump_tokens.bin76 Kb+dump_p2tt.bin27 Kb+
Output format
load and subscribe` methods return collection of pools/pairs.
[
...
{
id: 1,
pair: '0x06da0fd433c1a5d7a4faa01111c044910a184553',
token0: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
token1: '0xdac17f958d2ee523a2206206994597c13d831ec7'
},
...
]where:
1- pair/pool index at factory contract
0x06da0fd433c1a5d7a4faa01111c044910a184553- USDT/WETH AMM contract address
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2- WETH ERC-20 token contract address
0xdac17f958d2ee523a2206206994597c13d831ec7- USDT 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('sushiswap-dump').load().then(pairs => console.log(pairs.length))"
> 4557