@cityofzion/bs-neo3 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +0,0 @@
1
- import { Token } from '@cityofzion/blockchain-service';
2
- import BigNumber from 'bignumber.js';
3
- import { BSNeo3NetworkId } from './BSNeo3Constants';
4
- export type FlamingoSwapScriptHashes = {
5
- flamingoSwapRouter: string;
6
- flamingoPairWhiteList: string;
7
- flamingoFactory: string;
8
- };
9
- export type FlamingoSwapPoolInfo = {
10
- symbol: string;
11
- decimals: number;
12
- hash: string;
13
- tokens: Token[];
14
- };
15
- export type FlamingoSwapPools = {
16
- [key: string]: FlamingoSwapPoolInfo;
17
- };
18
- export type FlamingoSwapTokens = {
19
- [key: string]: Token;
20
- };
21
- export declare const BLOCKCHAIN_WSS_URL = "wss://rpc10.n3.nspcc.ru:10331/ws";
22
- export declare class FlamingoSwapConstants {
23
- static readonly BN_0: BigNumber;
24
- static readonly BN_1: BigNumber;
25
- static readonly BN_997: BigNumber;
26
- static readonly BN_1000: BigNumber;
27
- static readonly FEE_RATE: BigNumber;
28
- static readonly UNWRAPPING_FEE = 0.001;
29
- static readonly TESTNET_FLAMINGO_SWAP_TOKENS: FlamingoSwapTokens;
30
- static readonly MAINNET_FLAMINGO_SWAP_TOKENS: FlamingoSwapTokens;
31
- static readonly FLAMINGO_SWAP_TOKENS: Record<BSNeo3NetworkId, FlamingoSwapTokens>;
32
- static readonly FLAMINGO_SWAP_SCRIPT_HASHES: Partial<Record<BSNeo3NetworkId, FlamingoSwapScriptHashes>>;
33
- static readonly TESTNET_FLAMINGO_SWAP_POOLS: FlamingoSwapPools;
34
- static readonly MAINNET_FLAMINGO_SWAP_POOLS: FlamingoSwapPools;
35
- static readonly FLAMINGO_SWAP_POOLS: Record<BSNeo3NetworkId, FlamingoSwapPools>;
36
- }