@gearbox-protocol/sdk 0.0.4 → 0.0.5

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/lib/core/token.js CHANGED
@@ -113,6 +113,10 @@ exports.tokenDataByNetwork = {
113
113
  address: "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd",
114
114
  type: "stable"
115
115
  },
116
+ LUNA: {
117
+ address: "0xd2877702675e6ceb975b4a1dff9fb7baf4c91ea9",
118
+ type: "volatile"
119
+ },
116
120
  // YEARN TOKENS
117
121
  yvDAI: {
118
122
  address: "0xdA816459F1AB5631232FE5e97a05BBBb94970c95",
package/lib/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -1,5 +1,5 @@
1
- import { Multicall2 } from "../types/Multicall2";
2
1
  import { ethers } from "ethers";
2
+ import { Multicall2 } from "../types/Multicall2";
3
3
  export interface CallData<T extends ethers.utils.Interface> {
4
4
  method: keyof T["functions"];
5
5
  params?: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/core/token.ts CHANGED
@@ -142,6 +142,11 @@ export const tokenDataByNetwork: Record<
142
142
  type: "stable"
143
143
  },
144
144
 
145
+ LUNA: {
146
+ address: "0xd2877702675e6ceb975b4a1dff9fb7baf4c91ea9",
147
+ type: "volatile"
148
+ },
149
+
145
150
  // YEARN TOKENS
146
151
  yvDAI: {
147
152
  address: "0xdA816459F1AB5631232FE5e97a05BBBb94970c95",
@@ -1,5 +1,6 @@
1
- import { Multicall2 } from "../types/Multicall2";
2
1
  import { ethers } from "ethers";
2
+ import { Multicall2 } from "../types/Multicall2";
3
+
3
4
  import { Multicall2__factory } from "../types/factories/Multicall2__factory";
4
5
 
5
6
  export interface CallData<T extends ethers.utils.Interface> {