@typus/typus-perp-sdk 1.1.18 → 1.1.19-stake-pool-v2-a
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/src/api/sentio.js +1 -1
- package/dist/src/fetch.d.ts +2 -2
- package/dist/src/fetch.js +40 -38
- package/dist/src/index.js +1 -1
- package/dist/src/typus_stake_pool/admin/functions.d.ts +22 -22
- package/dist/src/typus_stake_pool/admin/functions.js +56 -56
- package/dist/src/typus_stake_pool/admin/structs.d.ts +216 -208
- package/dist/src/typus_stake_pool/admin/structs.js +286 -254
- package/dist/src/typus_stake_pool/init.js +18 -15
- package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +135 -113
- package/dist/src/typus_stake_pool/stake-pool/functions.js +202 -173
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +1393 -1243
- package/dist/src/typus_stake_pool/stake-pool/structs.js +2488 -2098
- package/dist/src/user/tlp.d.ts +1 -0
- package/dist/src/user/tlp.js +3 -3
- package/package.json +1 -1
|
@@ -38,29 +38,32 @@ var admin = __importStar(require("./admin/structs"));
|
|
|
38
38
|
var stakePool = __importStar(require("./stake-pool/structs"));
|
|
39
39
|
function registerClasses(loader) {
|
|
40
40
|
loader.register(admin.Version);
|
|
41
|
-
loader.register(admin.FeeInfo);
|
|
42
41
|
loader.register(admin.FeePool);
|
|
42
|
+
loader.register(admin.FeeInfo);
|
|
43
43
|
loader.register(admin.SendFeeEvent);
|
|
44
|
-
loader.register(stakePool.
|
|
45
|
-
loader.register(stakePool.
|
|
46
|
-
loader.register(stakePool.ActivateIncentiveTokenEvent);
|
|
47
|
-
loader.register(stakePool.AddIncentiveTokenEvent);
|
|
48
|
-
loader.register(stakePool.DeactivateIncentiveTokenEvent);
|
|
49
|
-
loader.register(stakePool.DeactivatingShares);
|
|
50
|
-
loader.register(stakePool.DepositIncentiveEvent);
|
|
51
|
-
loader.register(stakePool.HarvestPerUserShareEvent);
|
|
44
|
+
loader.register(stakePool.StakePoolRegistry);
|
|
45
|
+
loader.register(stakePool.StakePool);
|
|
52
46
|
loader.register(stakePool.Incentive);
|
|
47
|
+
loader.register(stakePool.StakePoolInfo);
|
|
48
|
+
loader.register(stakePool.StakePoolConfig);
|
|
53
49
|
loader.register(stakePool.IncentiveConfig);
|
|
54
50
|
loader.register(stakePool.IncentiveInfo);
|
|
55
51
|
loader.register(stakePool.LpUserShare);
|
|
52
|
+
loader.register(stakePool.DeactivatingShares);
|
|
56
53
|
loader.register(stakePool.NewStakePoolEvent);
|
|
54
|
+
loader.register(stakePool.AutoCompoundEvent);
|
|
55
|
+
loader.register(stakePool.AddIncentiveTokenEvent);
|
|
56
|
+
loader.register(stakePool.DeactivateIncentiveTokenEvent);
|
|
57
|
+
loader.register(stakePool.ActivateIncentiveTokenEvent);
|
|
57
58
|
loader.register(stakePool.RemoveIncentiveTokenEvent);
|
|
59
|
+
loader.register(stakePool.UpdateUnlockCountdownTsMsEvent);
|
|
60
|
+
loader.register(stakePool.UpdateIncentiveConfigEvent);
|
|
61
|
+
loader.register(stakePool.DepositIncentiveEvent);
|
|
62
|
+
loader.register(stakePool.WithdrawIncentiveEvent);
|
|
58
63
|
loader.register(stakePool.StakeEvent);
|
|
59
|
-
loader.register(stakePool.
|
|
60
|
-
loader.register(stakePool.
|
|
61
|
-
loader.register(stakePool.
|
|
62
|
-
loader.register(stakePool.StakePoolRegistry);
|
|
64
|
+
loader.register(stakePool.UpdatePoolInfoU64PaddingEvent);
|
|
65
|
+
loader.register(stakePool.SnapshotEvent);
|
|
66
|
+
loader.register(stakePool.UnsubscribeEvent);
|
|
63
67
|
loader.register(stakePool.UnstakeEvent);
|
|
64
|
-
loader.register(stakePool.
|
|
65
|
-
loader.register(stakePool.UpdateUnlockCountdownTsMsEvent);
|
|
68
|
+
loader.register(stakePool.HarvestPerUserShareEvent);
|
|
66
69
|
}
|
|
@@ -1,161 +1,137 @@
|
|
|
1
1
|
import { Transaction, TransactionArgument, TransactionObjectInput } from "@mysten/sui/transactions";
|
|
2
|
-
export
|
|
2
|
+
export declare function init(tx: Transaction, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
3
|
+
export interface NewStakePoolArgs {
|
|
3
4
|
version: TransactionObjectInput;
|
|
4
5
|
registry: TransactionObjectInput;
|
|
5
|
-
|
|
6
|
+
unlockCountdownTsMs: bigint | TransactionArgument;
|
|
6
7
|
}
|
|
7
|
-
export declare function
|
|
8
|
-
export interface
|
|
8
|
+
export declare function newStakePool(tx: Transaction, typeArg: string, args: NewStakePoolArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
9
|
+
export interface MigrateToStakedTlpArgs {
|
|
9
10
|
version: TransactionObjectInput;
|
|
10
11
|
registry: TransactionObjectInput;
|
|
11
12
|
index: bigint | TransactionArgument;
|
|
12
|
-
periodIncentiveAmount: bigint | TransactionArgument;
|
|
13
|
-
incentiveIntervalTsMs: bigint | TransactionArgument;
|
|
14
|
-
clock: TransactionObjectInput;
|
|
15
13
|
}
|
|
16
|
-
export declare function
|
|
17
|
-
export interface
|
|
14
|
+
export declare function migrateToStakedTlp(tx: Transaction, typeArg: string, args: MigrateToStakedTlpArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
15
|
+
export interface AddLpUserSharesV2Args {
|
|
18
16
|
version: TransactionObjectInput;
|
|
19
17
|
registry: TransactionObjectInput;
|
|
20
18
|
index: bigint | TransactionArgument;
|
|
21
|
-
clock: TransactionObjectInput;
|
|
22
19
|
}
|
|
23
|
-
export declare function
|
|
24
|
-
export interface
|
|
25
|
-
stakePool: TransactionObjectInput;
|
|
26
|
-
incentiveToken: TransactionObjectInput;
|
|
27
|
-
lpUserShare: TransactionObjectInput;
|
|
28
|
-
}
|
|
29
|
-
export declare function calculateIncentive(tx: Transaction, args: CalculateIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
30
|
-
export interface CreateUserLastIncentiveTsMsArgs {
|
|
31
|
-
stakePool: TransactionObjectInput;
|
|
32
|
-
currentTsMs: bigint | TransactionArgument;
|
|
33
|
-
}
|
|
34
|
-
export declare function createUserLastIncentiveTsMs(tx: Transaction, args: CreateUserLastIncentiveTsMsArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
35
|
-
export interface DeactivateIncentiveTokenArgs {
|
|
20
|
+
export declare function addLpUserSharesV2(tx: Transaction, args: AddLpUserSharesV2Args, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
21
|
+
export interface MigrateLpUserSharesV2Args {
|
|
36
22
|
version: TransactionObjectInput;
|
|
37
23
|
registry: TransactionObjectInput;
|
|
38
24
|
index: bigint | TransactionArgument;
|
|
25
|
+
user: string | TransactionArgument;
|
|
39
26
|
}
|
|
40
|
-
export declare function
|
|
41
|
-
export interface
|
|
27
|
+
export declare function migrateLpUserSharesV2(tx: Transaction, args: MigrateLpUserSharesV2Args, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
28
|
+
export interface RemoveLpUserSharesV1Args {
|
|
42
29
|
version: TransactionObjectInput;
|
|
43
30
|
registry: TransactionObjectInput;
|
|
44
31
|
index: bigint | TransactionArgument;
|
|
45
|
-
coin: TransactionObjectInput;
|
|
46
|
-
}
|
|
47
|
-
export declare function depositIncentive(tx: Transaction, typeArg: string, args: DepositIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
48
|
-
export declare function deprecated(tx: Transaction, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
49
|
-
export interface GetIncentiveArgs {
|
|
50
|
-
stakePool: TransactionObjectInput;
|
|
51
|
-
tokenType: TransactionObjectInput;
|
|
52
32
|
}
|
|
53
|
-
export declare function
|
|
54
|
-
export declare function
|
|
55
|
-
export
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
tokenType: TransactionObjectInput;
|
|
59
|
-
}
|
|
60
|
-
export declare function getMutIncentive(tx: Transaction, args: GetMutIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
61
|
-
export interface GetMutStakePoolArgs {
|
|
62
|
-
id: TransactionObjectInput;
|
|
33
|
+
export declare function removeLpUserSharesV1(tx: Transaction, args: RemoveLpUserSharesV1Args, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
34
|
+
export declare function isAutoCompound(tx: Transaction, userShare: TransactionObjectInput, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
35
|
+
export interface AutoCompoundArgs {
|
|
36
|
+
version: TransactionObjectInput;
|
|
37
|
+
registry: TransactionObjectInput;
|
|
63
38
|
index: bigint | TransactionArgument;
|
|
39
|
+
clock: TransactionObjectInput;
|
|
64
40
|
}
|
|
65
|
-
export declare function
|
|
66
|
-
export interface
|
|
67
|
-
|
|
41
|
+
export declare function autoCompound(tx: Transaction, typeArg: string, args: AutoCompoundArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
42
|
+
export interface AddIncentiveTokenArgs {
|
|
43
|
+
version: TransactionObjectInput;
|
|
44
|
+
registry: TransactionObjectInput;
|
|
68
45
|
index: bigint | TransactionArgument;
|
|
46
|
+
periodIncentiveAmount: bigint | TransactionArgument;
|
|
47
|
+
incentiveIntervalTsMs: bigint | TransactionArgument;
|
|
48
|
+
clock: TransactionObjectInput;
|
|
69
49
|
}
|
|
70
|
-
export declare function
|
|
71
|
-
export interface
|
|
72
|
-
|
|
73
|
-
user: string | TransactionArgument;
|
|
74
|
-
}
|
|
75
|
-
export declare function getUserShareIds(tx: Transaction, args: GetUserShareIdsArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
76
|
-
export interface GetUserSharesArgs {
|
|
50
|
+
export declare function addIncentiveToken(tx: Transaction, typeArg: string, args: AddIncentiveTokenArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
51
|
+
export interface DeactivateIncentiveTokenArgs {
|
|
52
|
+
version: TransactionObjectInput;
|
|
77
53
|
registry: TransactionObjectInput;
|
|
78
54
|
index: bigint | TransactionArgument;
|
|
79
|
-
user: string | TransactionArgument;
|
|
80
55
|
}
|
|
81
|
-
export declare function
|
|
82
|
-
export interface
|
|
56
|
+
export declare function deactivateIncentiveToken(tx: Transaction, typeArg: string, args: DeactivateIncentiveTokenArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
57
|
+
export interface ActivateIncentiveTokenArgs {
|
|
83
58
|
version: TransactionObjectInput;
|
|
84
59
|
registry: TransactionObjectInput;
|
|
85
60
|
index: bigint | TransactionArgument;
|
|
86
|
-
userShareId: bigint | TransactionArgument;
|
|
87
|
-
clock: TransactionObjectInput;
|
|
88
61
|
}
|
|
89
|
-
export declare function
|
|
90
|
-
export interface
|
|
91
|
-
stakePool: TransactionObjectInput;
|
|
92
|
-
lpUserShare: TransactionObjectInput;
|
|
93
|
-
}
|
|
94
|
-
export declare function harvestProgressUpdated(tx: Transaction, args: HarvestProgressUpdatedArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
95
|
-
export declare function init(tx: Transaction, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
96
|
-
export interface MigrateToStakedTlpArgs {
|
|
62
|
+
export declare function activateIncentiveToken(tx: Transaction, typeArg: string, args: ActivateIncentiveTokenArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
63
|
+
export interface RemoveIncentiveTokenArgs {
|
|
97
64
|
version: TransactionObjectInput;
|
|
98
65
|
registry: TransactionObjectInput;
|
|
99
66
|
index: bigint | TransactionArgument;
|
|
100
67
|
}
|
|
101
|
-
export declare function
|
|
102
|
-
export
|
|
103
|
-
export interface NewStakePoolArgs {
|
|
68
|
+
export declare function removeIncentiveToken(tx: Transaction, typeArg: string, args: RemoveIncentiveTokenArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
69
|
+
export interface UpdateUnlockCountdownTsMsArgs {
|
|
104
70
|
version: TransactionObjectInput;
|
|
105
71
|
registry: TransactionObjectInput;
|
|
72
|
+
index: bigint | TransactionArgument;
|
|
106
73
|
unlockCountdownTsMs: bigint | TransactionArgument;
|
|
107
74
|
}
|
|
108
|
-
export declare function
|
|
109
|
-
export interface
|
|
110
|
-
|
|
111
|
-
|
|
75
|
+
export declare function updateUnlockCountdownTsMs(tx: Transaction, args: UpdateUnlockCountdownTsMsArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
76
|
+
export interface UpdateIncentiveConfigArgs {
|
|
77
|
+
version: TransactionObjectInput;
|
|
78
|
+
registry: TransactionObjectInput;
|
|
79
|
+
index: bigint | TransactionArgument;
|
|
80
|
+
clock: TransactionObjectInput;
|
|
81
|
+
periodIncentiveAmount: bigint | TransactionArgument | TransactionArgument | null;
|
|
82
|
+
incentiveIntervalTsMs: bigint | TransactionArgument | TransactionArgument | null;
|
|
83
|
+
u64Padding: Array<bigint | TransactionArgument> | TransactionArgument | TransactionArgument | null;
|
|
112
84
|
}
|
|
113
|
-
export declare function
|
|
114
|
-
export interface
|
|
85
|
+
export declare function updateIncentiveConfig(tx: Transaction, typeArg: string, args: UpdateIncentiveConfigArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
86
|
+
export interface AllocateIncentiveArgs {
|
|
115
87
|
version: TransactionObjectInput;
|
|
116
88
|
registry: TransactionObjectInput;
|
|
117
89
|
index: bigint | TransactionArgument;
|
|
90
|
+
clock: TransactionObjectInput;
|
|
118
91
|
}
|
|
119
|
-
export declare function
|
|
120
|
-
export interface
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
92
|
+
export declare function allocateIncentive(tx: Transaction, args: AllocateIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
93
|
+
export interface DepositIncentiveArgs {
|
|
94
|
+
version: TransactionObjectInput;
|
|
95
|
+
registry: TransactionObjectInput;
|
|
96
|
+
index: bigint | TransactionArgument;
|
|
97
|
+
coin: TransactionObjectInput;
|
|
124
98
|
}
|
|
125
|
-
export declare function
|
|
126
|
-
export interface
|
|
99
|
+
export declare function depositIncentive(tx: Transaction, typeArg: string, args: DepositIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
100
|
+
export interface WithdrawIncentiveV2Args {
|
|
127
101
|
version: TransactionObjectInput;
|
|
128
102
|
registry: TransactionObjectInput;
|
|
129
|
-
typusEcosystemVersion: TransactionObjectInput;
|
|
130
|
-
typusUserRegistry: TransactionObjectInput;
|
|
131
103
|
index: bigint | TransactionArgument;
|
|
132
|
-
|
|
104
|
+
amount: bigint | TransactionArgument | TransactionArgument | null;
|
|
133
105
|
clock: TransactionObjectInput;
|
|
134
106
|
}
|
|
135
|
-
export declare function
|
|
107
|
+
export declare function withdrawIncentiveV2(tx: Transaction, typeArg: string, args: WithdrawIncentiveV2Args, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
136
108
|
export interface StakeArgs {
|
|
137
109
|
version: TransactionObjectInput;
|
|
138
110
|
registry: TransactionObjectInput;
|
|
139
111
|
index: bigint | TransactionArgument;
|
|
140
112
|
lpToken: TransactionObjectInput;
|
|
141
|
-
|
|
113
|
+
isAutoCompound: bigint | TransactionArgument | TransactionArgument | null;
|
|
142
114
|
clock: TransactionObjectInput;
|
|
143
115
|
}
|
|
144
116
|
export declare function stake(tx: Transaction, typeArg: string, args: StakeArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
145
|
-
export interface
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
117
|
+
export interface UpdatePoolInfoU64PaddingArgs {
|
|
118
|
+
version: TransactionObjectInput;
|
|
119
|
+
registry: TransactionObjectInput;
|
|
120
|
+
index: bigint | TransactionArgument;
|
|
121
|
+
tlpPrice: bigint | TransactionArgument;
|
|
122
|
+
usdPerExp: bigint | TransactionArgument;
|
|
149
123
|
}
|
|
150
|
-
export declare function
|
|
151
|
-
export interface
|
|
124
|
+
export declare function updatePoolInfoU64Padding(tx: Transaction, args: UpdatePoolInfoU64PaddingArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
125
|
+
export interface SnapshotArgs {
|
|
152
126
|
version: TransactionObjectInput;
|
|
153
127
|
registry: TransactionObjectInput;
|
|
128
|
+
typusEcosystemVersion: TransactionObjectInput;
|
|
129
|
+
typusUserRegistry: TransactionObjectInput;
|
|
154
130
|
index: bigint | TransactionArgument;
|
|
155
131
|
userShareId: bigint | TransactionArgument;
|
|
156
132
|
clock: TransactionObjectInput;
|
|
157
133
|
}
|
|
158
|
-
export declare function
|
|
134
|
+
export declare function snapshot(tx: Transaction, args: SnapshotArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
159
135
|
export interface UnsubscribeArgs {
|
|
160
136
|
version: TransactionObjectInput;
|
|
161
137
|
registry: TransactionObjectInput;
|
|
@@ -165,43 +141,89 @@ export interface UnsubscribeArgs {
|
|
|
165
141
|
clock: TransactionObjectInput;
|
|
166
142
|
}
|
|
167
143
|
export declare function unsubscribe(tx: Transaction, typeArg: string, args: UnsubscribeArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
168
|
-
export interface
|
|
144
|
+
export interface UnstakeArgs {
|
|
169
145
|
version: TransactionObjectInput;
|
|
170
146
|
registry: TransactionObjectInput;
|
|
171
147
|
index: bigint | TransactionArgument;
|
|
148
|
+
userShareId: bigint | TransactionArgument;
|
|
172
149
|
clock: TransactionObjectInput;
|
|
173
|
-
periodIncentiveAmount: bigint | TransactionArgument | TransactionArgument | null;
|
|
174
|
-
incentiveIntervalTsMs: bigint | TransactionArgument | TransactionArgument | null;
|
|
175
|
-
u64Padding: Array<bigint | TransactionArgument> | TransactionArgument | TransactionArgument | null;
|
|
176
150
|
}
|
|
177
|
-
export declare function
|
|
178
|
-
export interface
|
|
151
|
+
export declare function unstake(tx: Transaction, typeArg: string, args: UnstakeArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
152
|
+
export interface UpdateLastIncentivePriceIndexArgs {
|
|
153
|
+
lpUserShare: TransactionObjectInput;
|
|
154
|
+
incentiveToken: TransactionObjectInput;
|
|
155
|
+
currentIncentiveIndex: bigint | TransactionArgument;
|
|
156
|
+
}
|
|
157
|
+
export declare function updateLastIncentivePriceIndex(tx: Transaction, args: UpdateLastIncentivePriceIndexArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
158
|
+
export interface LogHarvestedAmountArgs {
|
|
159
|
+
userShare: TransactionObjectInput;
|
|
160
|
+
incentiveValue: bigint | TransactionArgument;
|
|
161
|
+
}
|
|
162
|
+
export declare function logHarvestedAmount(tx: Transaction, args: LogHarvestedAmountArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
163
|
+
export interface HarvestPerUserShareArgs {
|
|
179
164
|
version: TransactionObjectInput;
|
|
180
165
|
registry: TransactionObjectInput;
|
|
181
166
|
index: bigint | TransactionArgument;
|
|
182
|
-
|
|
183
|
-
|
|
167
|
+
userShareId: bigint | TransactionArgument;
|
|
168
|
+
clock: TransactionObjectInput;
|
|
184
169
|
}
|
|
185
|
-
export declare function
|
|
186
|
-
export interface
|
|
187
|
-
|
|
170
|
+
export declare function harvestPerUserShare(tx: Transaction, typeArg: string, args: HarvestPerUserShareArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
171
|
+
export interface CalculateIncentiveArgs {
|
|
172
|
+
currentIncentiveIndex: bigint | TransactionArgument;
|
|
173
|
+
incentiveToken: TransactionObjectInput;
|
|
174
|
+
lpUserShare: TransactionObjectInput;
|
|
175
|
+
}
|
|
176
|
+
export declare function calculateIncentive(tx: Transaction, args: CalculateIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
177
|
+
export interface HarvestProgressUpdatedArgs {
|
|
178
|
+
current: TransactionObjectInput;
|
|
179
|
+
user: TransactionObjectInput;
|
|
180
|
+
}
|
|
181
|
+
export declare function harvestProgressUpdated(tx: Transaction, args: HarvestProgressUpdatedArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
182
|
+
export declare function multiplier(tx: Transaction, decimal: bigint | TransactionArgument, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
183
|
+
export interface GetUserSharesArgs {
|
|
188
184
|
registry: TransactionObjectInput;
|
|
189
185
|
index: bigint | TransactionArgument;
|
|
190
|
-
|
|
186
|
+
user: string | TransactionArgument;
|
|
191
187
|
}
|
|
192
|
-
export declare function
|
|
193
|
-
export interface
|
|
194
|
-
version: TransactionObjectInput;
|
|
188
|
+
export declare function getUserShares(tx: Transaction, args: GetUserSharesArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
189
|
+
export interface GetUserSharesByUserShareIdArgs {
|
|
195
190
|
registry: TransactionObjectInput;
|
|
196
191
|
index: bigint | TransactionArgument;
|
|
197
|
-
|
|
192
|
+
userShareId: bigint | TransactionArgument;
|
|
198
193
|
}
|
|
199
|
-
export declare function
|
|
200
|
-
export interface
|
|
194
|
+
export declare function getUserSharesByUserShareId(tx: Transaction, args: GetUserSharesByUserShareIdArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
195
|
+
export interface GetStakePoolArgs {
|
|
196
|
+
id: TransactionObjectInput;
|
|
197
|
+
index: bigint | TransactionArgument;
|
|
198
|
+
}
|
|
199
|
+
export declare function getStakePool(tx: Transaction, args: GetStakePoolArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
200
|
+
export interface GetMutStakePoolArgs {
|
|
201
|
+
id: TransactionObjectInput;
|
|
202
|
+
index: bigint | TransactionArgument;
|
|
203
|
+
}
|
|
204
|
+
export declare function getMutStakePool(tx: Transaction, args: GetMutStakePoolArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
205
|
+
export declare function getIncentiveTokens(tx: Transaction, stakePool: TransactionObjectInput, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
206
|
+
export interface GetIncentiveArgs {
|
|
207
|
+
stakePool: TransactionObjectInput;
|
|
208
|
+
tokenType: TransactionObjectInput;
|
|
209
|
+
}
|
|
210
|
+
export declare function getIncentive(tx: Transaction, args: GetIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
211
|
+
export interface GetMutIncentiveArgs {
|
|
212
|
+
stakePool: TransactionObjectInput;
|
|
213
|
+
tokenType: TransactionObjectInput;
|
|
214
|
+
}
|
|
215
|
+
export declare function getMutIncentive(tx: Transaction, args: GetMutIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
216
|
+
export interface RemoveIncentiveArgs {
|
|
217
|
+
stakePool: TransactionObjectInput;
|
|
218
|
+
tokenType: TransactionObjectInput;
|
|
219
|
+
}
|
|
220
|
+
export declare function removeIncentive(tx: Transaction, args: RemoveIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
221
|
+
export declare function getLastIncentivePriceIndex(tx: Transaction, stakePool: TransactionObjectInput, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
222
|
+
export interface WithdrawIncentiveArgs {
|
|
201
223
|
version: TransactionObjectInput;
|
|
202
224
|
registry: TransactionObjectInput;
|
|
203
225
|
index: bigint | TransactionArgument;
|
|
204
226
|
amount: bigint | TransactionArgument | TransactionArgument | null;
|
|
205
|
-
clock: TransactionObjectInput;
|
|
206
227
|
}
|
|
207
|
-
export declare function
|
|
228
|
+
export declare function withdrawIncentive(tx: Transaction, typeArg: string, args: WithdrawIncentiveArgs, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|
|
229
|
+
export declare function deprecated(tx: Transaction, published_at?: string): import("@mysten/sui/transactions").TransactionResult;
|