radioshack-dump
v1.0.2
Published
Static set of addresses (RadioShack Ethereum mainnet)
Readme
radioshack-dump
Static set of addresses (RadioShack Ethereum mainnet). New pairs updates happen every hour at GitHub Action update.yml via uniswap-v2-loader
Data:
dump_pairs.bin1.6 Kb+dump_tokens.bin1.3 Kb+dump_p2tt.bin474 b+
Output format
load and subscribe` methods return collection of pools/pairs.
[
...
{
id: 8,
pair: '0x4c55011e3b909e3e8ec3b381d184260bf2c472bf',
token0: '0x45fdb1b92a649fb6a64ef1511d3ba5bf60044838',
token1: '0x7a5d3a9dcd33cb8d527f7b5f96eb4fef43d55636'
},
...
]where:
8- pair/pool index at factory contract
0x4c55011e3b909e3e8ec3b381d184260bf2c472bf- USDS/RADIO AMM contract address
0x45fdb1b92a649fb6a64ef1511d3ba5bf60044838- USDS ERC-20 token contract address
0x7a5d3a9dcd33cb8d527f7b5f96eb4fef43d55636- RADIO 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('radioshack-dump').load().then(pairs => console.log(pairs.length))"
> 79