@paraswap/dex-lib 4.0.4 → 4.0.5-fluid-dex-pool-discovery-issue.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.
- package/build/abi/fluid-dex/fluid-dex.abi.json +579 -25
- package/build/dex/fluid-dex/constants.d.ts +1 -0
- package/build/dex/fluid-dex/constants.js +5 -0
- package/build/dex/fluid-dex/constants.js.map +1 -0
- package/build/dex/fluid-dex/fluid-dex-liquidity-proxy.d.ts +2 -1
- package/build/dex/fluid-dex/fluid-dex-liquidity-proxy.js +2 -0
- package/build/dex/fluid-dex/fluid-dex-liquidity-proxy.js.map +1 -1
- package/build/dex/fluid-dex/fluid-dex-pool.d.ts +19 -21
- package/build/dex/fluid-dex/fluid-dex-pool.js +48 -62
- package/build/dex/fluid-dex/fluid-dex-pool.js.map +1 -1
- package/build/dex/fluid-dex/fluid-dex.d.ts +21 -2
- package/build/dex/fluid-dex/fluid-dex.js +108 -35
- package/build/dex/fluid-dex/fluid-dex.js.map +1 -1
- package/build/dex/fluid-dex/types.d.ts +3 -1
- package/package.json +1 -1
- package/src/abi/fluid-dex/fluid-dex.abi.json +581 -25
- package/src/dex/fluid-dex/constants.ts +1 -0
- package/src/dex/fluid-dex/fluid-dex-e2e.test.ts +17 -0
- package/src/dex/fluid-dex/fluid-dex-events.test.ts +55 -5
- package/src/dex/fluid-dex/fluid-dex-liquidity-proxy.ts +5 -3
- package/src/dex/fluid-dex/fluid-dex-pool.ts +139 -0
- package/src/dex/fluid-dex/fluid-dex.ts +226 -68
- package/src/dex/fluid-dex/types.ts +3 -1
- package/tests/constants-e2e.ts +5 -0
package/tests/constants-e2e.ts
CHANGED
|
@@ -131,6 +131,10 @@ export const Tokens: {
|
|
|
131
131
|
addBalance: balancesFn,
|
|
132
132
|
addAllowance: allowedFn,
|
|
133
133
|
},
|
|
134
|
+
INST: {
|
|
135
|
+
address: '0x6f40d4A6237C257fff2dB00FA0510DeEECd303eb',
|
|
136
|
+
decimals: 18,
|
|
137
|
+
},
|
|
134
138
|
aEthUSDC: {
|
|
135
139
|
address: '0x98c23e9d8f34fefb1b7bd6a91b7ff122f4e16f5c',
|
|
136
140
|
decimals: 6,
|
|
@@ -1681,6 +1685,7 @@ export const Holders: {
|
|
|
1681
1685
|
SKY: '0x0ddda327A6614130CCb20bc0097313A282176A01',
|
|
1682
1686
|
MKR: '0xe9aAA7A9DDc0877626C1779AbC29993aD89A6c1f',
|
|
1683
1687
|
ETHx: '0xFCC1A2c71F01B7f58Ed538a6B4AAa5A0724eB5A6',
|
|
1688
|
+
INST: '0xe2Dd506477D4792A7E811D2E93D44CeBa82c668B',
|
|
1684
1689
|
// Idle tokens
|
|
1685
1690
|
AA_wstETH: '0xd7C1b48877A7dFA7D51cf1144c89C0A3F134F935',
|
|
1686
1691
|
'AA_idle_cpPOR-USDC': '0x085c8eaccA6911fE60aE3f8FbAe5F3012E3A05Ec',
|