stackswap-front-api-test-02 1.1.17 → 1.1.18
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/dist/esm/stackswap/manager/staking.manager.d.ts +1 -1
- package/dist/esm/stackswap/manager/staking.manager.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/stackswap/manager/staking.manager.d.ts +1 -1
- package/dist/stackswap/manager/staking.manager.js +1 -1
- package/package.json +1 -1
- package/src/stackswap/manager/staking.manager.ts +1 -1
|
@@ -77,7 +77,7 @@ class StakingManager {
|
|
|
77
77
|
return { amount: '0', value: '0' };
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
async
|
|
80
|
+
async getUserInfoRound(cycle, user) {
|
|
81
81
|
try {
|
|
82
82
|
const options = (0, util_1.getReadOptions)(this.stackswap, this.stackswap.config.CONTRACT_NAME_STACKSWAP_STACKING(), 'get-staker-at-cycle-or-default', [
|
|
83
83
|
(0, transactions_1.uintCV)(cycle),
|
package/package.json
CHANGED
|
@@ -100,7 +100,7 @@ export class StakingManager {
|
|
|
100
100
|
return {amount: '0', value: '0'};
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
async
|
|
103
|
+
async getUserInfoRound(cycle: number | string, user: string) {
|
|
104
104
|
try{
|
|
105
105
|
// const poxl_token = contract_address.split('.');
|
|
106
106
|
const options = getReadOptions(this.stackswap, this.stackswap.config.CONTRACT_NAME_STACKSWAP_STACKING(), 'get-staker-at-cycle-or-default', [
|