@gearbox-protocol/sdk 12.6.4 → 12.6.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.
@@ -124,11 +124,13 @@ class TxAddLiquidity extends import_eventOrTx.EVMTx {
124
124
  amount;
125
125
  token;
126
126
  poolName;
127
+ address;
127
128
  constructor(opts) {
128
129
  super(opts);
129
130
  this.amount = opts.amount;
130
131
  this.token = opts.tokensList[opts.token];
131
132
  this.poolName = opts.poolName;
133
+ this.address = opts.address;
132
134
  }
133
135
  _toString() {
134
136
  const { title, decimals = 18 } = this.token;
@@ -148,11 +150,13 @@ class TxRemoveLiquidity extends import_eventOrTx.EVMTx {
148
150
  amount;
149
151
  token;
150
152
  poolName;
153
+ address;
151
154
  constructor(opts) {
152
155
  super(opts);
153
156
  this.amount = opts.amount;
154
157
  this.token = opts.tokensList[opts.token];
155
158
  this.poolName = opts.poolName;
159
+ this.address = opts.address;
156
160
  }
157
161
  _toString() {
158
162
  const { title, decimals = 18 } = this.token;
@@ -74,11 +74,13 @@ class TxAddLiquidity extends EVMTx {
74
74
  amount;
75
75
  token;
76
76
  poolName;
77
+ address;
77
78
  constructor(opts) {
78
79
  super(opts);
79
80
  this.amount = opts.amount;
80
81
  this.token = opts.tokensList[opts.token];
81
82
  this.poolName = opts.poolName;
83
+ this.address = opts.address;
82
84
  }
83
85
  _toString() {
84
86
  const { title, decimals = 18 } = this.token;
@@ -98,11 +100,13 @@ class TxRemoveLiquidity extends EVMTx {
98
100
  amount;
99
101
  token;
100
102
  poolName;
103
+ address;
101
104
  constructor(opts) {
102
105
  super(opts);
103
106
  this.amount = opts.amount;
104
107
  this.token = opts.tokensList[opts.token];
105
108
  this.poolName = opts.poolName;
109
+ this.address = opts.address;
106
110
  }
107
111
  _toString() {
108
112
  const { title, decimals = 18 } = this.token;
@@ -16,12 +16,14 @@ interface AddLiquidityProps extends EVMTxProps {
16
16
  amount: bigint;
17
17
  token: Address;
18
18
  poolName: string;
19
+ address: Address;
19
20
  tokensList: Record<Address, TokenData>;
20
21
  }
21
22
  export declare class TxAddLiquidity extends EVMTx {
22
23
  readonly amount: bigint;
23
24
  readonly token: TokenData;
24
25
  readonly poolName: string;
26
+ readonly address: Address;
25
27
  constructor(opts: AddLiquidityProps);
26
28
  _toString(): string;
27
29
  serialize(): TxSerialized;
@@ -30,12 +32,14 @@ interface RemoveLiquidityProps extends EVMTxProps {
30
32
  amount: bigint;
31
33
  token: Address;
32
34
  poolName: string;
35
+ address: Address;
33
36
  tokensList: Record<Address, TokenData>;
34
37
  }
35
38
  export declare class TxRemoveLiquidity extends EVMTx {
36
39
  readonly amount: bigint;
37
40
  readonly token: TokenData;
38
41
  readonly poolName: string;
42
+ readonly address: Address;
39
43
  constructor(opts: RemoveLiquidityProps);
40
44
  _toString(): string;
41
45
  serialize(): TxSerialized;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "12.6.4",
3
+ "version": "12.6.5",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/sdk/index.js",