@wardenswap/bestrate-sdk-beta 2.10.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +3 -2
- package/dist/index.es.d.ts +3 -2
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -8,7 +8,8 @@ declare enum BESTRATE_NETWORK {
|
|
8
8
|
polygon = "polygon",
|
9
9
|
ethereum = "ethereum",
|
10
10
|
avalanche = "avalanche",
|
11
|
-
optimism = "optimism"
|
11
|
+
optimism = "optimism",
|
12
|
+
base = "base"
|
12
13
|
}
|
13
14
|
type TokenInfo = {
|
14
15
|
address: string;
|
@@ -765,7 +766,7 @@ declare class WardenBestRate {
|
|
765
766
|
* @param amountIn Amount of src asset to be traded
|
766
767
|
* @param gasPrice Amount of gas price per unit in native currency (18 decimals)
|
767
768
|
* e.g. BSC = BNB, Polygon = MATIC, Ethereum = ETH. For L2 chains,
|
768
|
-
* this is
|
769
|
+
* this is price per byte of data.
|
769
770
|
* @param opts Options for getting quote
|
770
771
|
* @returns Trading routes which provide the best rate
|
771
772
|
*/
|
package/dist/index.es.d.ts
CHANGED
@@ -8,7 +8,8 @@ declare enum BESTRATE_NETWORK {
|
|
8
8
|
polygon = "polygon",
|
9
9
|
ethereum = "ethereum",
|
10
10
|
avalanche = "avalanche",
|
11
|
-
optimism = "optimism"
|
11
|
+
optimism = "optimism",
|
12
|
+
base = "base"
|
12
13
|
}
|
13
14
|
type TokenInfo = {
|
14
15
|
address: string;
|
@@ -765,7 +766,7 @@ declare class WardenBestRate {
|
|
765
766
|
* @param amountIn Amount of src asset to be traded
|
766
767
|
* @param gasPrice Amount of gas price per unit in native currency (18 decimals)
|
767
768
|
* e.g. BSC = BNB, Polygon = MATIC, Ethereum = ETH. For L2 chains,
|
768
|
-
* this is
|
769
|
+
* this is price per byte of data.
|
769
770
|
* @param opts Options for getting quote
|
770
771
|
* @returns Trading routes which provide the best rate
|
771
772
|
*/
|