@razorlabs/swap-sdk-core
Version:
🛠An SDK for building applications on top of RazorDEX.
42 lines • 1 kB
TypeScript
export type BigintIsh = bigint | number | string;
export declare enum TradeType {
EXACT_INPUT = 0,
EXACT_OUTPUT = 1
}
export declare enum Rounding {
ROUND_DOWN = 0,
ROUND_HALF_UP = 1,
ROUND_UP = 2
}
export declare enum ChainId {
MAINNET = 126,
BARDOCK_TESTNET = 250
}
export declare const MINIMUM_LIQUIDITY = 1000n;
export declare const ZERO = 0n;
export declare const ONE = 1n;
export declare const TWO = 2n;
export declare const THREE = 3n;
export declare const FIVE = 5n;
export declare const TEN = 10n;
export declare const _100 = 100n;
export declare const _9975 = 9975n;
export declare const _10000 = 10000n;
export declare const MaxU256: bigint;
export declare enum MoveType {
u8 = "u8",
u16 = "u16",
u32 = "u32",
u64 = "u64",
u128 = "u128",
u256 = "u256"
}
export declare const MOVE_TYPE_MAXIMA: {
u8: bigint;
u16: bigint;
u32: bigint;
u64: bigint;
u128: bigint;
u256: bigint;
};
//# sourceMappingURL=constants.d.ts.map