@uniswap/sdk-core 7.7.0 → 7.7.2

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.
Files changed (246) hide show
  1. package/dist/{cjs/src/addresses.d.ts → addresses.d.ts} +58 -58
  2. package/dist/{cjs/src/chains.d.ts → chains.d.ts} +44 -44
  3. package/dist/{cjs/src/constants.d.ts → constants.d.ts} +12 -12
  4. package/dist/{esm/src/entities → entities}/baseCurrency.d.ts +49 -49
  5. package/dist/{cjs/src/entities → entities}/currency.d.ts +3 -3
  6. package/dist/{esm/src/entities → entities}/ether.d.ts +13 -13
  7. package/dist/{cjs/src/entities → entities}/fractions/currencyAmount.d.ts +31 -31
  8. package/dist/{esm/src/entities → entities}/fractions/fraction.d.ts +24 -24
  9. package/dist/{cjs/src/entities → entities}/fractions/index.d.ts +4 -4
  10. package/dist/{types/src/entities → entities}/fractions/percent.d.ts +14 -14
  11. package/dist/{cjs/src/entities → entities}/fractions/price.d.ts +38 -38
  12. package/dist/{esm/src/entities → entities}/index.d.ts +6 -6
  13. package/dist/{esm/src/entities → entities}/nativeCurrency.d.ts +8 -8
  14. package/dist/{cjs/src/entities → entities}/token.d.ts +48 -48
  15. package/dist/{types/src/entities → entities}/weth9.d.ts +7 -7
  16. package/dist/{esm/src/index.d.ts → index.d.ts} +5 -5
  17. package/dist/index.js +8 -0
  18. package/dist/sdk-core.cjs.development.js +1118 -0
  19. package/dist/sdk-core.cjs.development.js.map +1 -0
  20. package/dist/sdk-core.cjs.production.min.js +2 -0
  21. package/dist/sdk-core.cjs.production.min.js.map +1 -0
  22. package/dist/sdk-core.esm.js +1079 -0
  23. package/dist/sdk-core.esm.js.map +1 -0
  24. package/dist/{cjs/src/utils → utils}/computePriceImpact.d.ts +8 -8
  25. package/dist/{cjs/src/utils → utils}/computeZksyncCreate2Address.d.ts +2 -2
  26. package/dist/{esm/src/utils → utils}/index.d.ts +5 -5
  27. package/dist/{cjs/src/utils → utils}/sortedInsert.d.ts +1 -1
  28. package/dist/{types/src/utils → utils}/sqrt.d.ts +7 -7
  29. package/dist/{esm/src/utils → utils}/validateAndParseAddress.d.ts +10 -10
  30. package/package.json +16 -28
  31. package/dist/cjs/src/addresses.js +0 -433
  32. package/dist/cjs/src/addresses.js.map +0 -1
  33. package/dist/cjs/src/addresses.test.d.ts +0 -1
  34. package/dist/cjs/src/addresses.test.js +0 -41
  35. package/dist/cjs/src/addresses.test.js.map +0 -1
  36. package/dist/cjs/src/chains.js +0 -79
  37. package/dist/cjs/src/chains.js.map +0 -1
  38. package/dist/cjs/src/constants.js +0 -18
  39. package/dist/cjs/src/constants.js.map +0 -1
  40. package/dist/cjs/src/entities/baseCurrency.d.ts +0 -49
  41. package/dist/cjs/src/entities/baseCurrency.js +0 -27
  42. package/dist/cjs/src/entities/baseCurrency.js.map +0 -1
  43. package/dist/cjs/src/entities/currency.js +0 -3
  44. package/dist/cjs/src/entities/currency.js.map +0 -1
  45. package/dist/cjs/src/entities/currency.test.d.ts +0 -1
  46. package/dist/cjs/src/entities/currency.test.js +0 -27
  47. package/dist/cjs/src/entities/currency.test.js.map +0 -1
  48. package/dist/cjs/src/entities/ether.d.ts +0 -13
  49. package/dist/cjs/src/entities/ether.js +0 -30
  50. package/dist/cjs/src/entities/ether.js.map +0 -1
  51. package/dist/cjs/src/entities/ether.test.d.ts +0 -1
  52. package/dist/cjs/src/entities/ether.test.js +0 -19
  53. package/dist/cjs/src/entities/ether.test.js.map +0 -1
  54. package/dist/cjs/src/entities/fractions/currencyAmount.js +0 -72
  55. package/dist/cjs/src/entities/fractions/currencyAmount.js.map +0 -1
  56. package/dist/cjs/src/entities/fractions/currencyAmount.test.d.ts +0 -1
  57. package/dist/cjs/src/entities/fractions/currencyAmount.test.js +0 -99
  58. package/dist/cjs/src/entities/fractions/currencyAmount.test.js.map +0 -1
  59. package/dist/cjs/src/entities/fractions/fraction.d.ts +0 -24
  60. package/dist/cjs/src/entities/fractions/fraction.js +0 -104
  61. package/dist/cjs/src/entities/fractions/fraction.js.map +0 -1
  62. package/dist/cjs/src/entities/fractions/fraction.test.d.ts +0 -1
  63. package/dist/cjs/src/entities/fractions/fraction.test.js +0 -86
  64. package/dist/cjs/src/entities/fractions/fraction.test.js.map +0 -1
  65. package/dist/cjs/src/entities/fractions/index.js +0 -12
  66. package/dist/cjs/src/entities/fractions/index.js.map +0 -1
  67. package/dist/cjs/src/entities/fractions/percent.d.ts +0 -14
  68. package/dist/cjs/src/entities/fractions/percent.js +0 -43
  69. package/dist/cjs/src/entities/fractions/percent.js.map +0 -1
  70. package/dist/cjs/src/entities/fractions/percent.test.d.ts +0 -1
  71. package/dist/cjs/src/entities/fractions/percent.test.js +0 -53
  72. package/dist/cjs/src/entities/fractions/percent.test.js.map +0 -1
  73. package/dist/cjs/src/entities/fractions/price.js +0 -73
  74. package/dist/cjs/src/entities/fractions/price.js.map +0 -1
  75. package/dist/cjs/src/entities/fractions/price.test.d.ts +0 -1
  76. package/dist/cjs/src/entities/fractions/price.test.js +0 -58
  77. package/dist/cjs/src/entities/fractions/price.test.js.map +0 -1
  78. package/dist/cjs/src/entities/index.d.ts +0 -6
  79. package/dist/cjs/src/entities/index.js +0 -10
  80. package/dist/cjs/src/entities/index.js.map +0 -1
  81. package/dist/cjs/src/entities/nativeCurrency.d.ts +0 -8
  82. package/dist/cjs/src/entities/nativeCurrency.js +0 -16
  83. package/dist/cjs/src/entities/nativeCurrency.js.map +0 -1
  84. package/dist/cjs/src/entities/token.js +0 -69
  85. package/dist/cjs/src/entities/token.js.map +0 -1
  86. package/dist/cjs/src/entities/token.test.d.ts +0 -1
  87. package/dist/cjs/src/entities/token.test.js +0 -74
  88. package/dist/cjs/src/entities/token.test.js.map +0 -1
  89. package/dist/cjs/src/entities/weth9.d.ts +0 -7
  90. package/dist/cjs/src/entities/weth9.js +0 -35
  91. package/dist/cjs/src/entities/weth9.js.map +0 -1
  92. package/dist/cjs/src/index.d.ts +0 -5
  93. package/dist/cjs/src/index.js +0 -9
  94. package/dist/cjs/src/index.js.map +0 -1
  95. package/dist/cjs/src/utils/computePriceImpact.js +0 -18
  96. package/dist/cjs/src/utils/computePriceImpact.js.map +0 -1
  97. package/dist/cjs/src/utils/computePriceImpact.test.d.ts +0 -1
  98. package/dist/cjs/src/utils/computePriceImpact.test.js +0 -20
  99. package/dist/cjs/src/utils/computePriceImpact.test.js.map +0 -1
  100. package/dist/cjs/src/utils/computeZksyncCreate2Address.js +0 -15
  101. package/dist/cjs/src/utils/computeZksyncCreate2Address.js.map +0 -1
  102. package/dist/cjs/src/utils/index.d.ts +0 -5
  103. package/dist/cjs/src/utils/index.js +0 -14
  104. package/dist/cjs/src/utils/index.js.map +0 -1
  105. package/dist/cjs/src/utils/sortedInsert.js +0 -38
  106. package/dist/cjs/src/utils/sortedInsert.js.map +0 -1
  107. package/dist/cjs/src/utils/sortedInsert.test.d.ts +0 -1
  108. package/dist/cjs/src/utils/sortedInsert.test.js +0 -60
  109. package/dist/cjs/src/utils/sortedInsert.test.js.map +0 -1
  110. package/dist/cjs/src/utils/sqrt.d.ts +0 -7
  111. package/dist/cjs/src/utils/sqrt.js +0 -32
  112. package/dist/cjs/src/utils/sqrt.js.map +0 -1
  113. package/dist/cjs/src/utils/sqrt.test.d.ts +0 -1
  114. package/dist/cjs/src/utils/sqrt.test.js +0 -26
  115. package/dist/cjs/src/utils/sqrt.test.js.map +0 -1
  116. package/dist/cjs/src/utils/validateAndParseAddress.d.ts +0 -10
  117. package/dist/cjs/src/utils/validateAndParseAddress.js +0 -31
  118. package/dist/cjs/src/utils/validateAndParseAddress.js.map +0 -1
  119. package/dist/cjs/src/utils/validateAndParseAddress.test.d.ts +0 -1
  120. package/dist/cjs/src/utils/validateAndParseAddress.test.js +0 -32
  121. package/dist/cjs/src/utils/validateAndParseAddress.test.js.map +0 -1
  122. package/dist/esm/src/addresses.d.ts +0 -58
  123. package/dist/esm/src/addresses.js +0 -429
  124. package/dist/esm/src/addresses.js.map +0 -1
  125. package/dist/esm/src/addresses.test.d.ts +0 -1
  126. package/dist/esm/src/addresses.test.js +0 -39
  127. package/dist/esm/src/addresses.test.js.map +0 -1
  128. package/dist/esm/src/chains.d.ts +0 -44
  129. package/dist/esm/src/chains.js +0 -76
  130. package/dist/esm/src/chains.js.map +0 -1
  131. package/dist/esm/src/constants.d.ts +0 -12
  132. package/dist/esm/src/constants.js +0 -14
  133. package/dist/esm/src/constants.js.map +0 -1
  134. package/dist/esm/src/entities/baseCurrency.js +0 -22
  135. package/dist/esm/src/entities/baseCurrency.js.map +0 -1
  136. package/dist/esm/src/entities/currency.d.ts +0 -3
  137. package/dist/esm/src/entities/currency.js +0 -2
  138. package/dist/esm/src/entities/currency.js.map +0 -1
  139. package/dist/esm/src/entities/currency.test.d.ts +0 -1
  140. package/dist/esm/src/entities/currency.test.js +0 -25
  141. package/dist/esm/src/entities/currency.test.js.map +0 -1
  142. package/dist/esm/src/entities/ether.js +0 -25
  143. package/dist/esm/src/entities/ether.js.map +0 -1
  144. package/dist/esm/src/entities/ether.test.d.ts +0 -1
  145. package/dist/esm/src/entities/ether.test.js +0 -17
  146. package/dist/esm/src/entities/ether.test.js.map +0 -1
  147. package/dist/esm/src/entities/fractions/currencyAmount.d.ts +0 -31
  148. package/dist/esm/src/entities/fractions/currencyAmount.js +0 -67
  149. package/dist/esm/src/entities/fractions/currencyAmount.js.map +0 -1
  150. package/dist/esm/src/entities/fractions/currencyAmount.test.d.ts +0 -1
  151. package/dist/esm/src/entities/fractions/currencyAmount.test.js +0 -96
  152. package/dist/esm/src/entities/fractions/currencyAmount.test.js.map +0 -1
  153. package/dist/esm/src/entities/fractions/fraction.js +0 -99
  154. package/dist/esm/src/entities/fractions/fraction.js.map +0 -1
  155. package/dist/esm/src/entities/fractions/fraction.test.d.ts +0 -1
  156. package/dist/esm/src/entities/fractions/fraction.test.js +0 -83
  157. package/dist/esm/src/entities/fractions/fraction.test.js.map +0 -1
  158. package/dist/esm/src/entities/fractions/index.d.ts +0 -4
  159. package/dist/esm/src/entities/fractions/index.js +0 -5
  160. package/dist/esm/src/entities/fractions/index.js.map +0 -1
  161. package/dist/esm/src/entities/fractions/percent.d.ts +0 -14
  162. package/dist/esm/src/entities/fractions/percent.js +0 -38
  163. package/dist/esm/src/entities/fractions/percent.js.map +0 -1
  164. package/dist/esm/src/entities/fractions/percent.test.d.ts +0 -1
  165. package/dist/esm/src/entities/fractions/percent.test.js +0 -51
  166. package/dist/esm/src/entities/fractions/percent.test.js.map +0 -1
  167. package/dist/esm/src/entities/fractions/price.d.ts +0 -38
  168. package/dist/esm/src/entities/fractions/price.js +0 -68
  169. package/dist/esm/src/entities/fractions/price.js.map +0 -1
  170. package/dist/esm/src/entities/fractions/price.test.d.ts +0 -1
  171. package/dist/esm/src/entities/fractions/price.test.js +0 -56
  172. package/dist/esm/src/entities/fractions/price.test.js.map +0 -1
  173. package/dist/esm/src/entities/index.js +0 -7
  174. package/dist/esm/src/entities/index.js.map +0 -1
  175. package/dist/esm/src/entities/nativeCurrency.js +0 -12
  176. package/dist/esm/src/entities/nativeCurrency.js.map +0 -1
  177. package/dist/esm/src/entities/token.d.ts +0 -48
  178. package/dist/esm/src/entities/token.js +0 -64
  179. package/dist/esm/src/entities/token.js.map +0 -1
  180. package/dist/esm/src/entities/token.test.d.ts +0 -1
  181. package/dist/esm/src/entities/token.test.js +0 -72
  182. package/dist/esm/src/entities/token.test.js.map +0 -1
  183. package/dist/esm/src/entities/weth9.d.ts +0 -7
  184. package/dist/esm/src/entities/weth9.js +0 -32
  185. package/dist/esm/src/entities/weth9.js.map +0 -1
  186. package/dist/esm/src/index.js +0 -6
  187. package/dist/esm/src/index.js.map +0 -1
  188. package/dist/esm/src/utils/computePriceImpact.d.ts +0 -8
  189. package/dist/esm/src/utils/computePriceImpact.js +0 -14
  190. package/dist/esm/src/utils/computePriceImpact.js.map +0 -1
  191. package/dist/esm/src/utils/computePriceImpact.test.d.ts +0 -1
  192. package/dist/esm/src/utils/computePriceImpact.test.js +0 -18
  193. package/dist/esm/src/utils/computePriceImpact.test.js.map +0 -1
  194. package/dist/esm/src/utils/computeZksyncCreate2Address.d.ts +0 -2
  195. package/dist/esm/src/utils/computeZksyncCreate2Address.js +0 -11
  196. package/dist/esm/src/utils/computeZksyncCreate2Address.js.map +0 -1
  197. package/dist/esm/src/utils/index.js +0 -6
  198. package/dist/esm/src/utils/index.js.map +0 -1
  199. package/dist/esm/src/utils/sortedInsert.d.ts +0 -1
  200. package/dist/esm/src/utils/sortedInsert.js +0 -33
  201. package/dist/esm/src/utils/sortedInsert.js.map +0 -1
  202. package/dist/esm/src/utils/sortedInsert.test.d.ts +0 -1
  203. package/dist/esm/src/utils/sortedInsert.test.js +0 -58
  204. package/dist/esm/src/utils/sortedInsert.test.js.map +0 -1
  205. package/dist/esm/src/utils/sqrt.d.ts +0 -7
  206. package/dist/esm/src/utils/sqrt.js +0 -27
  207. package/dist/esm/src/utils/sqrt.js.map +0 -1
  208. package/dist/esm/src/utils/sqrt.test.d.ts +0 -1
  209. package/dist/esm/src/utils/sqrt.test.js +0 -23
  210. package/dist/esm/src/utils/sqrt.test.js.map +0 -1
  211. package/dist/esm/src/utils/validateAndParseAddress.js +0 -26
  212. package/dist/esm/src/utils/validateAndParseAddress.js.map +0 -1
  213. package/dist/esm/src/utils/validateAndParseAddress.test.d.ts +0 -1
  214. package/dist/esm/src/utils/validateAndParseAddress.test.js +0 -30
  215. package/dist/esm/src/utils/validateAndParseAddress.test.js.map +0 -1
  216. package/dist/types/src/addresses.d.ts +0 -58
  217. package/dist/types/src/addresses.test.d.ts +0 -1
  218. package/dist/types/src/chains.d.ts +0 -44
  219. package/dist/types/src/constants.d.ts +0 -12
  220. package/dist/types/src/entities/baseCurrency.d.ts +0 -49
  221. package/dist/types/src/entities/currency.d.ts +0 -3
  222. package/dist/types/src/entities/currency.test.d.ts +0 -1
  223. package/dist/types/src/entities/ether.d.ts +0 -13
  224. package/dist/types/src/entities/ether.test.d.ts +0 -1
  225. package/dist/types/src/entities/fractions/currencyAmount.d.ts +0 -31
  226. package/dist/types/src/entities/fractions/currencyAmount.test.d.ts +0 -1
  227. package/dist/types/src/entities/fractions/fraction.d.ts +0 -24
  228. package/dist/types/src/entities/fractions/fraction.test.d.ts +0 -1
  229. package/dist/types/src/entities/fractions/index.d.ts +0 -4
  230. package/dist/types/src/entities/fractions/percent.test.d.ts +0 -1
  231. package/dist/types/src/entities/fractions/price.d.ts +0 -38
  232. package/dist/types/src/entities/fractions/price.test.d.ts +0 -1
  233. package/dist/types/src/entities/index.d.ts +0 -6
  234. package/dist/types/src/entities/nativeCurrency.d.ts +0 -8
  235. package/dist/types/src/entities/token.d.ts +0 -48
  236. package/dist/types/src/entities/token.test.d.ts +0 -1
  237. package/dist/types/src/index.d.ts +0 -5
  238. package/dist/types/src/utils/computePriceImpact.d.ts +0 -8
  239. package/dist/types/src/utils/computePriceImpact.test.d.ts +0 -1
  240. package/dist/types/src/utils/computeZksyncCreate2Address.d.ts +0 -2
  241. package/dist/types/src/utils/index.d.ts +0 -5
  242. package/dist/types/src/utils/sortedInsert.d.ts +0 -1
  243. package/dist/types/src/utils/sortedInsert.test.d.ts +0 -1
  244. package/dist/types/src/utils/sqrt.test.d.ts +0 -1
  245. package/dist/types/src/utils/validateAndParseAddress.d.ts +0 -10
  246. package/dist/types/src/utils/validateAndParseAddress.test.d.ts +0 -1
@@ -1,58 +1,58 @@
1
- import { SupportedChainsType } from './chains';
2
- type AddressMap = {
3
- [chainId: number]: string;
4
- };
5
- type ChainAddresses = {
6
- v3CoreFactoryAddress: string;
7
- multicallAddress: string;
8
- quoterAddress: string;
9
- v3MigratorAddress?: string;
10
- nonfungiblePositionManagerAddress?: string;
11
- tickLensAddress?: string;
12
- swapRouter02Address?: string;
13
- mixedRouteQuoterV1Address?: string;
14
- mixedRouteQuoterV2Address?: string;
15
- v4PoolManagerAddress?: string;
16
- v4PositionManagerAddress?: string;
17
- v4StateView?: string;
18
- v4QuoterAddress?: string;
19
- };
20
- export declare const UNI_ADDRESSES: AddressMap;
21
- export declare const UNISWAP_NFT_AIRDROP_CLAIM_ADDRESS = "0x8B799381ac40b838BBA4131ffB26197C432AFe78";
22
- /**
23
- * @deprecated use V2_FACTORY_ADDRESSES instead
24
- */
25
- export declare const V2_FACTORY_ADDRESS = "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f";
26
- export declare const V2_FACTORY_ADDRESSES: AddressMap;
27
- /**
28
- * @deprecated use V2_ROUTER_ADDRESSES instead
29
- */
30
- export declare const V2_ROUTER_ADDRESS = "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D";
31
- export declare const V2_ROUTER_ADDRESSES: AddressMap;
32
- export declare const CHAIN_TO_ADDRESSES_MAP: Record<SupportedChainsType, ChainAddresses>;
33
- export declare const V3_CORE_FACTORY_ADDRESSES: AddressMap;
34
- export declare const V3_MIGRATOR_ADDRESSES: AddressMap;
35
- export declare const MULTICALL_ADDRESSES: AddressMap;
36
- /**
37
- * The oldest V0 governance address
38
- */
39
- export declare const GOVERNANCE_ALPHA_V0_ADDRESSES: AddressMap;
40
- /**
41
- * The older V1 governance address
42
- */
43
- export declare const GOVERNANCE_ALPHA_V1_ADDRESSES: AddressMap;
44
- /**
45
- * The latest governor bravo that is currently admin of timelock
46
- */
47
- export declare const GOVERNANCE_BRAVO_ADDRESSES: AddressMap;
48
- export declare const TIMELOCK_ADDRESSES: AddressMap;
49
- export declare const MERKLE_DISTRIBUTOR_ADDRESS: AddressMap;
50
- export declare const ARGENT_WALLET_DETECTOR_ADDRESS: AddressMap;
51
- export declare const QUOTER_ADDRESSES: AddressMap;
52
- export declare const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: AddressMap;
53
- export declare const ENS_REGISTRAR_ADDRESSES: AddressMap;
54
- export declare const SOCKS_CONTROLLER_ADDRESSES: AddressMap;
55
- export declare const TICK_LENS_ADDRESSES: AddressMap;
56
- export declare const MIXED_ROUTE_QUOTER_V1_ADDRESSES: AddressMap;
57
- export declare const SWAP_ROUTER_02_ADDRESSES: (chainId: number) => string;
58
- export {};
1
+ import { SupportedChainsType } from './chains';
2
+ declare type AddressMap = {
3
+ [chainId: number]: string;
4
+ };
5
+ declare type ChainAddresses = {
6
+ v3CoreFactoryAddress: string;
7
+ multicallAddress: string;
8
+ quoterAddress: string;
9
+ v3MigratorAddress?: string;
10
+ nonfungiblePositionManagerAddress?: string;
11
+ tickLensAddress?: string;
12
+ swapRouter02Address?: string;
13
+ mixedRouteQuoterV1Address?: string;
14
+ mixedRouteQuoterV2Address?: string;
15
+ v4PoolManagerAddress?: string;
16
+ v4PositionManagerAddress?: string;
17
+ v4StateView?: string;
18
+ v4QuoterAddress?: string;
19
+ };
20
+ export declare const UNI_ADDRESSES: AddressMap;
21
+ export declare const UNISWAP_NFT_AIRDROP_CLAIM_ADDRESS = "0x8B799381ac40b838BBA4131ffB26197C432AFe78";
22
+ /**
23
+ * @deprecated use V2_FACTORY_ADDRESSES instead
24
+ */
25
+ export declare const V2_FACTORY_ADDRESS = "0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f";
26
+ export declare const V2_FACTORY_ADDRESSES: AddressMap;
27
+ /**
28
+ * @deprecated use V2_ROUTER_ADDRESSES instead
29
+ */
30
+ export declare const V2_ROUTER_ADDRESS = "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D";
31
+ export declare const V2_ROUTER_ADDRESSES: AddressMap;
32
+ export declare const CHAIN_TO_ADDRESSES_MAP: Record<SupportedChainsType, ChainAddresses>;
33
+ export declare const V3_CORE_FACTORY_ADDRESSES: AddressMap;
34
+ export declare const V3_MIGRATOR_ADDRESSES: AddressMap;
35
+ export declare const MULTICALL_ADDRESSES: AddressMap;
36
+ /**
37
+ * The oldest V0 governance address
38
+ */
39
+ export declare const GOVERNANCE_ALPHA_V0_ADDRESSES: AddressMap;
40
+ /**
41
+ * The older V1 governance address
42
+ */
43
+ export declare const GOVERNANCE_ALPHA_V1_ADDRESSES: AddressMap;
44
+ /**
45
+ * The latest governor bravo that is currently admin of timelock
46
+ */
47
+ export declare const GOVERNANCE_BRAVO_ADDRESSES: AddressMap;
48
+ export declare const TIMELOCK_ADDRESSES: AddressMap;
49
+ export declare const MERKLE_DISTRIBUTOR_ADDRESS: AddressMap;
50
+ export declare const ARGENT_WALLET_DETECTOR_ADDRESS: AddressMap;
51
+ export declare const QUOTER_ADDRESSES: AddressMap;
52
+ export declare const NONFUNGIBLE_POSITION_MANAGER_ADDRESSES: AddressMap;
53
+ export declare const ENS_REGISTRAR_ADDRESSES: AddressMap;
54
+ export declare const SOCKS_CONTROLLER_ADDRESSES: AddressMap;
55
+ export declare const TICK_LENS_ADDRESSES: AddressMap;
56
+ export declare const MIXED_ROUTE_QUOTER_V1_ADDRESSES: AddressMap;
57
+ export declare const SWAP_ROUTER_02_ADDRESSES: (chainId: number) => string;
58
+ export {};
@@ -1,44 +1,44 @@
1
- export declare enum ChainId {
2
- MAINNET = 1,
3
- GOERLI = 5,
4
- SEPOLIA = 11155111,
5
- OPTIMISM = 10,
6
- OPTIMISM_GOERLI = 420,
7
- OPTIMISM_SEPOLIA = 11155420,
8
- ARBITRUM_ONE = 42161,
9
- ARBITRUM_GOERLI = 421613,
10
- ARBITRUM_SEPOLIA = 421614,
11
- POLYGON = 137,
12
- POLYGON_MUMBAI = 80001,
13
- CELO = 42220,
14
- CELO_ALFAJORES = 44787,
15
- GNOSIS = 100,
16
- MOONBEAM = 1284,
17
- BNB = 56,
18
- AVALANCHE = 43114,
19
- BASE_GOERLI = 84531,
20
- BASE_SEPOLIA = 84532,
21
- BASE = 8453,
22
- ZORA = 7777777,
23
- ZORA_SEPOLIA = 999999999,
24
- ROOTSTOCK = 30,
25
- BLAST = 81457,
26
- ZKSYNC = 324,
27
- WORLDCHAIN = 480,
28
- UNICHAIN_SEPOLIA = 1301,
29
- UNICHAIN = 130,
30
- MONAD_TESTNET = 10143,
31
- SONEIUM = 1868
32
- }
33
- export declare const SUPPORTED_CHAINS: readonly [ChainId.MAINNET, ChainId.OPTIMISM, ChainId.OPTIMISM_GOERLI, ChainId.OPTIMISM_SEPOLIA, ChainId.ARBITRUM_ONE, ChainId.ARBITRUM_GOERLI, ChainId.ARBITRUM_SEPOLIA, ChainId.POLYGON, ChainId.POLYGON_MUMBAI, ChainId.GOERLI, ChainId.SEPOLIA, ChainId.CELO_ALFAJORES, ChainId.CELO, ChainId.BNB, ChainId.AVALANCHE, ChainId.BASE, ChainId.BASE_GOERLI, ChainId.BASE_SEPOLIA, ChainId.ZORA, ChainId.ZORA_SEPOLIA, ChainId.ROOTSTOCK, ChainId.BLAST, ChainId.ZKSYNC, ChainId.WORLDCHAIN, ChainId.UNICHAIN_SEPOLIA, ChainId.UNICHAIN, ChainId.MONAD_TESTNET, ChainId.SONEIUM];
34
- export type SupportedChainsType = (typeof SUPPORTED_CHAINS)[number];
35
- export declare enum NativeCurrencyName {
36
- ETHER = "ETH",
37
- MATIC = "MATIC",
38
- CELO = "CELO",
39
- GNOSIS = "XDAI",
40
- MOONBEAM = "GLMR",
41
- BNB = "BNB",
42
- AVAX = "AVAX",
43
- ROOTSTOCK = "RBTC"
44
- }
1
+ export declare enum ChainId {
2
+ MAINNET = 1,
3
+ GOERLI = 5,
4
+ SEPOLIA = 11155111,
5
+ OPTIMISM = 10,
6
+ OPTIMISM_GOERLI = 420,
7
+ OPTIMISM_SEPOLIA = 11155420,
8
+ ARBITRUM_ONE = 42161,
9
+ ARBITRUM_GOERLI = 421613,
10
+ ARBITRUM_SEPOLIA = 421614,
11
+ POLYGON = 137,
12
+ POLYGON_MUMBAI = 80001,
13
+ CELO = 42220,
14
+ CELO_ALFAJORES = 44787,
15
+ GNOSIS = 100,
16
+ MOONBEAM = 1284,
17
+ BNB = 56,
18
+ AVALANCHE = 43114,
19
+ BASE_GOERLI = 84531,
20
+ BASE_SEPOLIA = 84532,
21
+ BASE = 8453,
22
+ ZORA = 7777777,
23
+ ZORA_SEPOLIA = 999999999,
24
+ ROOTSTOCK = 30,
25
+ BLAST = 81457,
26
+ ZKSYNC = 324,
27
+ WORLDCHAIN = 480,
28
+ UNICHAIN_SEPOLIA = 1301,
29
+ UNICHAIN = 130,
30
+ MONAD_TESTNET = 10143,
31
+ SONEIUM = 1868
32
+ }
33
+ export declare const SUPPORTED_CHAINS: readonly [ChainId.MAINNET, ChainId.OPTIMISM, ChainId.OPTIMISM_GOERLI, ChainId.OPTIMISM_SEPOLIA, ChainId.ARBITRUM_ONE, ChainId.ARBITRUM_GOERLI, ChainId.ARBITRUM_SEPOLIA, ChainId.POLYGON, ChainId.POLYGON_MUMBAI, ChainId.GOERLI, ChainId.SEPOLIA, ChainId.CELO_ALFAJORES, ChainId.CELO, ChainId.BNB, ChainId.AVALANCHE, ChainId.BASE, ChainId.BASE_GOERLI, ChainId.BASE_SEPOLIA, ChainId.ZORA, ChainId.ZORA_SEPOLIA, ChainId.ROOTSTOCK, ChainId.BLAST, ChainId.ZKSYNC, ChainId.WORLDCHAIN, ChainId.UNICHAIN_SEPOLIA, ChainId.UNICHAIN, ChainId.MONAD_TESTNET, ChainId.SONEIUM];
34
+ export declare type SupportedChainsType = (typeof SUPPORTED_CHAINS)[number];
35
+ export declare enum NativeCurrencyName {
36
+ ETHER = "ETH",
37
+ MATIC = "MATIC",
38
+ CELO = "CELO",
39
+ GNOSIS = "XDAI",
40
+ MOONBEAM = "GLMR",
41
+ BNB = "BNB",
42
+ AVAX = "AVAX",
43
+ ROOTSTOCK = "RBTC"
44
+ }
@@ -1,12 +1,12 @@
1
- import JSBI from 'jsbi';
2
- export type BigintIsh = JSBI | string | number;
3
- export declare enum TradeType {
4
- EXACT_INPUT = 0,
5
- EXACT_OUTPUT = 1
6
- }
7
- export declare enum Rounding {
8
- ROUND_DOWN = 0,
9
- ROUND_HALF_UP = 1,
10
- ROUND_UP = 2
11
- }
12
- export declare const MaxUint256: JSBI;
1
+ import JSBI from 'jsbi';
2
+ export declare type BigintIsh = JSBI | string | number;
3
+ export declare enum TradeType {
4
+ EXACT_INPUT = 0,
5
+ EXACT_OUTPUT = 1
6
+ }
7
+ export declare enum Rounding {
8
+ ROUND_DOWN = 0,
9
+ ROUND_HALF_UP = 1,
10
+ ROUND_UP = 2
11
+ }
12
+ export declare const MaxUint256: JSBI;
@@ -1,49 +1,49 @@
1
- import { Currency } from './currency';
2
- import { Token } from './token';
3
- /**
4
- * A currency is any fungible financial instrument, including Ether, all ERC20 tokens, and other chain-native currencies
5
- */
6
- export declare abstract class BaseCurrency {
7
- /**
8
- * Returns whether the currency is native to the chain and must be wrapped (e.g. Ether)
9
- */
10
- abstract readonly isNative: boolean;
11
- /**
12
- * Returns whether the currency is a token that is usable in Uniswap without wrapping
13
- */
14
- abstract readonly isToken: boolean;
15
- /**
16
- * The chain ID on which this currency resides
17
- */
18
- readonly chainId: number;
19
- /**
20
- * The decimals used in representing currency amounts
21
- */
22
- readonly decimals: number;
23
- /**
24
- * The symbol of the currency, i.e. a short textual non-unique identifier
25
- */
26
- readonly symbol?: string;
27
- /**
28
- * The name of the currency, i.e. a descriptive textual non-unique identifier
29
- */
30
- readonly name?: string;
31
- /**
32
- * Constructs an instance of the base class `BaseCurrency`.
33
- * @param chainId the chain ID on which this currency resides
34
- * @param decimals decimals of the currency
35
- * @param symbol symbol of the currency
36
- * @param name of the currency
37
- */
38
- protected constructor(chainId: number, decimals: number, symbol?: string, name?: string);
39
- /**
40
- * Returns whether this currency is functionally equivalent to the other currency
41
- * @param other the other currency
42
- */
43
- abstract equals(other: Currency): boolean;
44
- /**
45
- * Return the wrapped version of this currency that can be used with the Uniswap contracts. Currencies must
46
- * implement this to be used in Uniswap
47
- */
48
- abstract get wrapped(): Token;
49
- }
1
+ import { Currency } from './currency';
2
+ import { Token } from './token';
3
+ /**
4
+ * A currency is any fungible financial instrument, including Ether, all ERC20 tokens, and other chain-native currencies
5
+ */
6
+ export declare abstract class BaseCurrency {
7
+ /**
8
+ * Returns whether the currency is native to the chain and must be wrapped (e.g. Ether)
9
+ */
10
+ abstract readonly isNative: boolean;
11
+ /**
12
+ * Returns whether the currency is a token that is usable in Uniswap without wrapping
13
+ */
14
+ abstract readonly isToken: boolean;
15
+ /**
16
+ * The chain ID on which this currency resides
17
+ */
18
+ readonly chainId: number;
19
+ /**
20
+ * The decimals used in representing currency amounts
21
+ */
22
+ readonly decimals: number;
23
+ /**
24
+ * The symbol of the currency, i.e. a short textual non-unique identifier
25
+ */
26
+ readonly symbol?: string;
27
+ /**
28
+ * The name of the currency, i.e. a descriptive textual non-unique identifier
29
+ */
30
+ readonly name?: string;
31
+ /**
32
+ * Constructs an instance of the base class `BaseCurrency`.
33
+ * @param chainId the chain ID on which this currency resides
34
+ * @param decimals decimals of the currency
35
+ * @param symbol symbol of the currency
36
+ * @param name of the currency
37
+ */
38
+ protected constructor(chainId: number, decimals: number, symbol?: string, name?: string);
39
+ /**
40
+ * Returns whether this currency is functionally equivalent to the other currency
41
+ * @param other the other currency
42
+ */
43
+ abstract equals(other: Currency): boolean;
44
+ /**
45
+ * Return the wrapped version of this currency that can be used with the Uniswap contracts. Currencies must
46
+ * implement this to be used in Uniswap
47
+ */
48
+ abstract get wrapped(): Token;
49
+ }
@@ -1,3 +1,3 @@
1
- import { NativeCurrency } from './nativeCurrency';
2
- import { Token } from './token';
3
- export type Currency = NativeCurrency | Token;
1
+ import { NativeCurrency } from './nativeCurrency';
2
+ import { Token } from './token';
3
+ export declare type Currency = NativeCurrency | Token;
@@ -1,13 +1,13 @@
1
- import { Currency } from './currency';
2
- import { NativeCurrency } from './nativeCurrency';
3
- import { Token } from './token';
4
- /**
5
- * Ether is the main usage of a 'native' currency, i.e. for Ethereum mainnet and all testnets
6
- */
7
- export declare class Ether extends NativeCurrency {
8
- protected constructor(chainId: number);
9
- get wrapped(): Token;
10
- private static _etherCache;
11
- static onChain(chainId: number): Ether;
12
- equals(other: Currency): boolean;
13
- }
1
+ import { Currency } from './currency';
2
+ import { NativeCurrency } from './nativeCurrency';
3
+ import { Token } from './token';
4
+ /**
5
+ * Ether is the main usage of a 'native' currency, i.e. for Ethereum mainnet and all testnets
6
+ */
7
+ export declare class Ether extends NativeCurrency {
8
+ protected constructor(chainId: number);
9
+ get wrapped(): Token;
10
+ private static _etherCache;
11
+ static onChain(chainId: number): Ether;
12
+ equals(other: Currency): boolean;
13
+ }
@@ -1,31 +1,31 @@
1
- import JSBI from 'jsbi';
2
- import { Currency } from '../currency';
3
- import { Token } from '../token';
4
- import { Fraction } from './fraction';
5
- import { BigintIsh, Rounding } from '../../constants';
6
- export declare class CurrencyAmount<T extends Currency> extends Fraction {
7
- readonly currency: T;
8
- readonly decimalScale: JSBI;
9
- /**
10
- * Returns a new currency amount instance from the unitless amount of token, i.e. the raw amount
11
- * @param currency the currency in the amount
12
- * @param rawAmount the raw token or ether amount
13
- */
14
- static fromRawAmount<T extends Currency>(currency: T, rawAmount: BigintIsh): CurrencyAmount<T>;
15
- /**
16
- * Construct a currency amount with a denominator that is not equal to 1
17
- * @param currency the currency
18
- * @param numerator the numerator of the fractional token amount
19
- * @param denominator the denominator of the fractional token amount
20
- */
21
- static fromFractionalAmount<T extends Currency>(currency: T, numerator: BigintIsh, denominator: BigintIsh): CurrencyAmount<T>;
22
- protected constructor(currency: T, numerator: BigintIsh, denominator?: BigintIsh);
23
- add(other: CurrencyAmount<T>): CurrencyAmount<T>;
24
- subtract(other: CurrencyAmount<T>): CurrencyAmount<T>;
25
- multiply(other: Fraction | BigintIsh): CurrencyAmount<T>;
26
- divide(other: Fraction | BigintIsh): CurrencyAmount<T>;
27
- toSignificant(significantDigits?: number, format?: object, rounding?: Rounding): string;
28
- toFixed(decimalPlaces?: number, format?: object, rounding?: Rounding): string;
29
- toExact(format?: object): string;
30
- get wrapped(): CurrencyAmount<Token>;
31
- }
1
+ import JSBI from 'jsbi';
2
+ import { Currency } from '../currency';
3
+ import { Token } from '../token';
4
+ import { Fraction } from './fraction';
5
+ import { BigintIsh, Rounding } from '../../constants';
6
+ export declare class CurrencyAmount<T extends Currency> extends Fraction {
7
+ readonly currency: T;
8
+ readonly decimalScale: JSBI;
9
+ /**
10
+ * Returns a new currency amount instance from the unitless amount of token, i.e. the raw amount
11
+ * @param currency the currency in the amount
12
+ * @param rawAmount the raw token or ether amount
13
+ */
14
+ static fromRawAmount<T extends Currency>(currency: T, rawAmount: BigintIsh): CurrencyAmount<T>;
15
+ /**
16
+ * Construct a currency amount with a denominator that is not equal to 1
17
+ * @param currency the currency
18
+ * @param numerator the numerator of the fractional token amount
19
+ * @param denominator the denominator of the fractional token amount
20
+ */
21
+ static fromFractionalAmount<T extends Currency>(currency: T, numerator: BigintIsh, denominator: BigintIsh): CurrencyAmount<T>;
22
+ protected constructor(currency: T, numerator: BigintIsh, denominator?: BigintIsh);
23
+ add(other: CurrencyAmount<T>): CurrencyAmount<T>;
24
+ subtract(other: CurrencyAmount<T>): CurrencyAmount<T>;
25
+ multiply(other: Fraction | BigintIsh): CurrencyAmount<T>;
26
+ divide(other: Fraction | BigintIsh): CurrencyAmount<T>;
27
+ toSignificant(significantDigits?: number, format?: object, rounding?: Rounding): string;
28
+ toFixed(decimalPlaces?: number, format?: object, rounding?: Rounding): string;
29
+ toExact(format?: object): string;
30
+ get wrapped(): CurrencyAmount<Token>;
31
+ }
@@ -1,24 +1,24 @@
1
- import JSBI from 'jsbi';
2
- import { BigintIsh, Rounding } from '../../constants';
3
- export declare class Fraction {
4
- readonly numerator: JSBI;
5
- readonly denominator: JSBI;
6
- constructor(numerator: BigintIsh, denominator?: BigintIsh);
7
- private static tryParseFraction;
8
- get quotient(): JSBI;
9
- get remainder(): Fraction;
10
- invert(): Fraction;
11
- add(other: Fraction | BigintIsh): Fraction;
12
- subtract(other: Fraction | BigintIsh): Fraction;
13
- lessThan(other: Fraction | BigintIsh): boolean;
14
- equalTo(other: Fraction | BigintIsh): boolean;
15
- greaterThan(other: Fraction | BigintIsh): boolean;
16
- multiply(other: Fraction | BigintIsh): Fraction;
17
- divide(other: Fraction | BigintIsh): Fraction;
18
- toSignificant(significantDigits: number, format?: object, rounding?: Rounding): string;
19
- toFixed(decimalPlaces: number, format?: object, rounding?: Rounding): string;
20
- /**
21
- * Helper method for converting any super class back to a fraction
22
- */
23
- get asFraction(): Fraction;
24
- }
1
+ import JSBI from 'jsbi';
2
+ import { BigintIsh, Rounding } from '../../constants';
3
+ export declare class Fraction {
4
+ readonly numerator: JSBI;
5
+ readonly denominator: JSBI;
6
+ constructor(numerator: BigintIsh, denominator?: BigintIsh);
7
+ private static tryParseFraction;
8
+ get quotient(): JSBI;
9
+ get remainder(): Fraction;
10
+ invert(): Fraction;
11
+ add(other: Fraction | BigintIsh): Fraction;
12
+ subtract(other: Fraction | BigintIsh): Fraction;
13
+ lessThan(other: Fraction | BigintIsh): boolean;
14
+ equalTo(other: Fraction | BigintIsh): boolean;
15
+ greaterThan(other: Fraction | BigintIsh): boolean;
16
+ multiply(other: Fraction | BigintIsh): Fraction;
17
+ divide(other: Fraction | BigintIsh): Fraction;
18
+ toSignificant(significantDigits: number, format?: object, rounding?: Rounding): string;
19
+ toFixed(decimalPlaces: number, format?: object, rounding?: Rounding): string;
20
+ /**
21
+ * Helper method for converting any super class back to a fraction
22
+ */
23
+ get asFraction(): Fraction;
24
+ }
@@ -1,4 +1,4 @@
1
- export { CurrencyAmount } from './currencyAmount';
2
- export { Fraction } from './fraction';
3
- export { Percent } from './percent';
4
- export { Price } from './price';
1
+ export { CurrencyAmount } from './currencyAmount';
2
+ export { Fraction } from './fraction';
3
+ export { Percent } from './percent';
4
+ export { Price } from './price';
@@ -1,14 +1,14 @@
1
- import { BigintIsh, Rounding } from '../../constants';
2
- import { Fraction } from './fraction';
3
- export declare class Percent extends Fraction {
4
- /**
5
- * This boolean prevents a fraction from being interpreted as a Percent
6
- */
7
- readonly isPercent: true;
8
- add(other: Fraction | BigintIsh): Percent;
9
- subtract(other: Fraction | BigintIsh): Percent;
10
- multiply(other: Fraction | BigintIsh): Percent;
11
- divide(other: Fraction | BigintIsh): Percent;
12
- toSignificant(significantDigits?: number, format?: object, rounding?: Rounding): string;
13
- toFixed(decimalPlaces?: number, format?: object, rounding?: Rounding): string;
14
- }
1
+ import { BigintIsh, Rounding } from '../../constants';
2
+ import { Fraction } from './fraction';
3
+ export declare class Percent extends Fraction {
4
+ /**
5
+ * This boolean prevents a fraction from being interpreted as a Percent
6
+ */
7
+ readonly isPercent: true;
8
+ add(other: Fraction | BigintIsh): Percent;
9
+ subtract(other: Fraction | BigintIsh): Percent;
10
+ multiply(other: Fraction | BigintIsh): Percent;
11
+ divide(other: Fraction | BigintIsh): Percent;
12
+ toSignificant(significantDigits?: number, format?: object, rounding?: Rounding): string;
13
+ toFixed(decimalPlaces?: number, format?: object, rounding?: Rounding): string;
14
+ }
@@ -1,38 +1,38 @@
1
- import { BigintIsh, Rounding } from '../../constants';
2
- import { Currency } from '../currency';
3
- import { Fraction } from './fraction';
4
- import { CurrencyAmount } from './currencyAmount';
5
- export declare class Price<TBase extends Currency, TQuote extends Currency> extends Fraction {
6
- readonly baseCurrency: TBase;
7
- readonly quoteCurrency: TQuote;
8
- readonly scalar: Fraction;
9
- /**
10
- * Construct a price, either with the base and quote currency amount, or the
11
- * @param args
12
- */
13
- constructor(...args: [TBase, TQuote, BigintIsh, BigintIsh] | [{
14
- baseAmount: CurrencyAmount<TBase>;
15
- quoteAmount: CurrencyAmount<TQuote>;
16
- }]);
17
- /**
18
- * Flip the price, switching the base and quote currency
19
- */
20
- invert(): Price<TQuote, TBase>;
21
- /**
22
- * Multiply the price by another price, returning a new price. The other price must have the same base currency as this price's quote currency
23
- * @param other the other price
24
- */
25
- multiply<TOtherQuote extends Currency>(other: Price<TQuote, TOtherQuote>): Price<TBase, TOtherQuote>;
26
- /**
27
- * Return the amount of quote currency corresponding to a given amount of the base currency
28
- * @param currencyAmount the amount of base currency to quote against the price
29
- */
30
- quote(currencyAmount: CurrencyAmount<TBase>): CurrencyAmount<TQuote>;
31
- /**
32
- * Get the value scaled by decimals for formatting
33
- * @private
34
- */
35
- private get adjustedForDecimals();
36
- toSignificant(significantDigits?: number, format?: object, rounding?: Rounding): string;
37
- toFixed(decimalPlaces?: number, format?: object, rounding?: Rounding): string;
38
- }
1
+ import { BigintIsh, Rounding } from '../../constants';
2
+ import { Currency } from '../currency';
3
+ import { Fraction } from './fraction';
4
+ import { CurrencyAmount } from './currencyAmount';
5
+ export declare class Price<TBase extends Currency, TQuote extends Currency> extends Fraction {
6
+ readonly baseCurrency: TBase;
7
+ readonly quoteCurrency: TQuote;
8
+ readonly scalar: Fraction;
9
+ /**
10
+ * Construct a price, either with the base and quote currency amount, or the
11
+ * @param args
12
+ */
13
+ constructor(...args: [TBase, TQuote, BigintIsh, BigintIsh] | [{
14
+ baseAmount: CurrencyAmount<TBase>;
15
+ quoteAmount: CurrencyAmount<TQuote>;
16
+ }]);
17
+ /**
18
+ * Flip the price, switching the base and quote currency
19
+ */
20
+ invert(): Price<TQuote, TBase>;
21
+ /**
22
+ * Multiply the price by another price, returning a new price. The other price must have the same base currency as this price's quote currency
23
+ * @param other the other price
24
+ */
25
+ multiply<TOtherQuote extends Currency>(other: Price<TQuote, TOtherQuote>): Price<TBase, TOtherQuote>;
26
+ /**
27
+ * Return the amount of quote currency corresponding to a given amount of the base currency
28
+ * @param currencyAmount the amount of base currency to quote against the price
29
+ */
30
+ quote(currencyAmount: CurrencyAmount<TBase>): CurrencyAmount<TQuote>;
31
+ /**
32
+ * Get the value scaled by decimals for formatting
33
+ * @private
34
+ */
35
+ private get adjustedForDecimals();
36
+ toSignificant(significantDigits?: number, format?: object, rounding?: Rounding): string;
37
+ toFixed(decimalPlaces?: number, format?: object, rounding?: Rounding): string;
38
+ }
@@ -1,6 +1,6 @@
1
- export * from './fractions';
2
- export * from './currency';
3
- export * from './ether';
4
- export * from './nativeCurrency';
5
- export * from './token';
6
- export * from './weth9';
1
+ export * from './fractions';
2
+ export * from './currency';
3
+ export * from './ether';
4
+ export * from './nativeCurrency';
5
+ export * from './token';
6
+ export * from './weth9';
@@ -1,8 +1,8 @@
1
- import { BaseCurrency } from './baseCurrency';
2
- /**
3
- * Represents the native currency of the chain on which it resides, e.g.
4
- */
5
- export declare abstract class NativeCurrency extends BaseCurrency {
6
- readonly isNative: true;
7
- readonly isToken: false;
8
- }
1
+ import { BaseCurrency } from './baseCurrency';
2
+ /**
3
+ * Represents the native currency of the chain on which it resides, e.g.
4
+ */
5
+ export declare abstract class NativeCurrency extends BaseCurrency {
6
+ readonly isNative: true;
7
+ readonly isToken: false;
8
+ }