import { JSBI } from '@materia/sdk'// import JSBI from 'jsbi'
The default export from jsbi.
import { BigintIsh } from '@materia/sdk'// type BigintIsh = JSBI | bigint | string
A union type comprised of all types that can be cast to a JSBI instance.
import { ChainId } from '@materia/sdk'// enum ChainId {// MAINNET = 1,// ROPSTEN = 3,// RINKEBY = 4,// GÖRLI = 5,// KOVAN = 42// }
A enum denominating supported chain IDs.
import { TradeType } from '@materia/sdk'// enum TradeType {// EXACT_INPUT,// EXACT_OUTPUT// }
A enum denominating supported trade types.
import { Rounding } from '@materia/sdk'// enum Rounding {// ROUND_DOWN,// ROUND_HALF_UP,// ROUND_UP// }
A enum denominating supported rounding options.
import { FACTORY_ADDRESS } from '@materia/sdk'
The factory address.
import { ORCHESTRATOR_ADDRESS } from '@materia/sdk'
The orchestrator address.
import { INIT_CODE_HASH } from '@materia/sdk'
See Pair Addresses.
import { MINIMUM_LIQUIDITY } from '@materia/sdk'
See Minimum Liquidity.
import { ADD_LIQUIDITY_ACTION_SAFE_TRANSFER_TOKEN } from '@materia/sdk'
The safeTransfer addLiquidity operation number used in the orchestrator onERC1155Received callback. The value is 1.
import { SWAP_ACTION_EXACT_TOKENS_FOR_TOKENS } from '@materia/sdk'
The swapExactTokensForTokens operation number used in the orchestrator onERC1155Received callback. The value is 2.
import { SWAP_ACTION_TOKENS_FOR_EXACT_TOKENS } from '@materia/sdk'
The swapTokensForExactTokens operation number used in the orchestrator onERC1155Received callback. The value is 3.
import { SWAP_ACTION_EXACT_TOKENS_FOR_ETH } from '@materia/sdk'
The swapExactTokensForETH operation number used in the orchestrator onERC1155Received callback. The value is 4.
import { SWAP_ACTION_TOKENS_FOR_EXACT_ETH } from '@materia/sdk'
The swapTokensForExactETH operation number used in the orchestrator onERC1155Received callback. The value is 5.
import { InsufficientReservesError } from '@materia/sdk'
import { InsufficientInputAmountError } from '@materia/sdk'
import { IETH } from '@materia/sdk'
An object whose values are IETH Token instances, indexed by ChainId. IETH is the representation of Ethereum in the EthItem ecosystem.