@aurigami/sdk 1.5.7 → 1.5.8
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/package.json
CHANGED
package/src/SDK.ts
CHANGED
|
@@ -319,12 +319,11 @@ export class SdkReadWrite extends SdkRead {
|
|
|
319
319
|
* Claim PLY reward in all markets + staking pools
|
|
320
320
|
*/
|
|
321
321
|
public async claim(): Promise<TransactionResponse> {
|
|
322
|
-
return this.
|
|
322
|
+
return this._comptroller
|
|
323
323
|
.connect(this._networkConnection.signer!)
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
this.
|
|
327
|
-
ALL_STAKING_POOLS
|
|
324
|
+
['claimReward(uint8,address)'](
|
|
325
|
+
0,
|
|
326
|
+
await this._networkConnection.signer!.getAddress()
|
|
328
327
|
);
|
|
329
328
|
}
|
|
330
329
|
|