Tradegen
Search…
Other Exports

JSBI

The default export from jsbi.
1
import { JSBI } from '@tradegen/sdk'
2
// import JSBI from 'jsbi'
Copied!

BigintIsh

A union type comprised of all types that can be cast to a JSBI instance.
1
import { BigintIsh } from '@tradegen/sdk'
2
// type BigintIsh = JSBI | bigint | string
Copied!

ChainId

An enum denominating supported chain IDs.
1
import { ChainId } from '@tradegen/sdk'
2
// enum ChainId {
3
// MAINNET = 42220,
4
// ALFAJORES = 44787,
5
// BAKLAVA = 62320,
6
// }
Copied!

Rounding

An enum denominating supported rounding options.
1
import { Rounding } from '@tradegen/sdk'
2
// enum Rounding {
3
// ROUND_DOWN,
4
// ROUND_HALF_UP,
5
// ROUND_UP
6
// }
Copied!

SETTINGS_ADDRESS_ALFAJORES

Address of 'Settings' contract on Alfajores.
1
import { SETTINGS_ADDRESS_ALFAJORES } from '@tradegen/sdk'
Copied!

POOL_FACTORY_ADDRESS_ALFAJORES

Address of 'PoolFactory' contract on Alfajores.
1
import { POOL_FACTORY_ADDRESS_ALFAJORES } from '@tradegen/sdk'
Copied!

BASE_UBESWAP_ADAPTER_ADDRESS_ALFAJORES

Address of 'BaseUbeswapAdapter' contract on Alfajores.
1
import { BASE_UBESWAP_ADAPTER_ADDRESS_ALFAJORES } from '@tradegen/sdk'
Copied!
Last modified 5mo ago