Skip to content

Commit 8adc753

Browse files
committed
fix: pool events pool address
1 parent 74519ff commit 8adc753

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/sdk/sdk-legacy/core/transactions.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ interface AddLiquidityProps extends EVMTxProps {
115115
amount: bigint;
116116
token: Address;
117117
poolName: string;
118+
address: Address;
118119

119120
tokensList: Record<Address, TokenData>;
120121
}
@@ -123,12 +124,14 @@ export class TxAddLiquidity extends EVMTx {
123124
readonly amount: bigint;
124125
readonly token: TokenData;
125126
readonly poolName: string;
127+
readonly address: Address;
126128

127129
constructor(opts: AddLiquidityProps) {
128130
super(opts);
129131
this.amount = opts.amount;
130132
this.token = opts.tokensList[opts.token];
131133
this.poolName = opts.poolName;
134+
this.address = opts.address;
132135
}
133136

134137
_toString() {
@@ -152,6 +155,7 @@ interface RemoveLiquidityProps extends EVMTxProps {
152155
amount: bigint;
153156
token: Address;
154157
poolName: string;
158+
address: Address;
155159

156160
tokensList: Record<Address, TokenData>;
157161
}
@@ -160,12 +164,14 @@ export class TxRemoveLiquidity extends EVMTx {
160164
readonly amount: bigint;
161165
readonly token: TokenData;
162166
readonly poolName: string;
167+
readonly address: Address;
163168

164169
constructor(opts: RemoveLiquidityProps) {
165170
super(opts);
166171
this.amount = opts.amount;
167172
this.token = opts.tokensList[opts.token];
168173
this.poolName = opts.poolName;
174+
this.address = opts.address;
169175
}
170176

171177
_toString() {

0 commit comments

Comments
 (0)