@stargatefinance/stg-evm-sdk-v2 2.0.0 → 2.0.2

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.
Files changed (165) hide show
  1. package/deployments/ault-mainnet/CreditMessaging.json +1501 -0
  2. package/deployments/ault-mainnet/FeeLibV1ETH.json +611 -0
  3. package/deployments/ault-mainnet/FeeLibV1USDC.json +611 -0
  4. package/deployments/ault-mainnet/OFTTokenETH.json +693 -0
  5. package/deployments/ault-mainnet/OFTWrapper.json +1506 -0
  6. package/deployments/ault-mainnet/StargateOFTETH.json +1989 -0
  7. package/deployments/ault-mainnet/StargateOFTUSDC.json +1978 -0
  8. package/deployments/ault-mainnet/TokenMessaging.json +2475 -0
  9. package/deployments/ault-mainnet/Treasurer.json +450 -0
  10. package/deployments/gensyn-mainnet/CreditMessaging.json +1501 -0
  11. package/deployments/gensyn-mainnet/FeeLibV1USDC.json +611 -0
  12. package/deployments/gensyn-mainnet/OFTWrapper.json +1506 -0
  13. package/deployments/gensyn-mainnet/StargateOFTUSDC.json +1978 -0
  14. package/deployments/gensyn-mainnet/TokenMessaging.json +2475 -0
  15. package/deployments/gensyn-mainnet/Treasurer.json +450 -0
  16. package/deployments/subtensorevm-mainnet/CreditMessaging.json +1501 -0
  17. package/deployments/subtensorevm-mainnet/FeeLibV1USDC.json +611 -0
  18. package/deployments/subtensorevm-mainnet/OFTWrapper.json +1506 -0
  19. package/deployments/subtensorevm-mainnet/StargateOFTUSDC.json +1978 -0
  20. package/deployments/subtensorevm-mainnet/TokenMessaging.json +2475 -0
  21. package/deployments/subtensorevm-mainnet/Treasurer.json +450 -0
  22. package/dist/deployed/CreditMessaging.cjs +9 -0
  23. package/dist/deployed/CreditMessaging.cjs.map +1 -1
  24. package/dist/deployed/CreditMessaging.mjs +9 -0
  25. package/dist/deployed/CreditMessaging.mjs.map +1 -1
  26. package/dist/deployed/FeeLibV1ETH.cjs +3 -0
  27. package/dist/deployed/FeeLibV1ETH.cjs.map +1 -1
  28. package/dist/deployed/FeeLibV1ETH.mjs +3 -0
  29. package/dist/deployed/FeeLibV1ETH.mjs.map +1 -1
  30. package/dist/deployed/FeeLibV1USDC.cjs +9 -0
  31. package/dist/deployed/FeeLibV1USDC.cjs.map +1 -1
  32. package/dist/deployed/FeeLibV1USDC.mjs +9 -0
  33. package/dist/deployed/FeeLibV1USDC.mjs.map +1 -1
  34. package/dist/deployed/OFTTokenETH.cjs +3 -0
  35. package/dist/deployed/OFTTokenETH.cjs.map +1 -1
  36. package/dist/deployed/OFTTokenETH.mjs +3 -0
  37. package/dist/deployed/OFTTokenETH.mjs.map +1 -1
  38. package/dist/deployed/OFTWrapper.cjs +9 -0
  39. package/dist/deployed/OFTWrapper.cjs.map +1 -1
  40. package/dist/deployed/OFTWrapper.mjs +9 -0
  41. package/dist/deployed/OFTWrapper.mjs.map +1 -1
  42. package/dist/deployed/StargateOFTETH.cjs +3 -0
  43. package/dist/deployed/StargateOFTETH.cjs.map +1 -1
  44. package/dist/deployed/StargateOFTETH.mjs +3 -0
  45. package/dist/deployed/StargateOFTETH.mjs.map +1 -1
  46. package/dist/deployed/StargateOFTUSDC.cjs +9 -0
  47. package/dist/deployed/StargateOFTUSDC.cjs.map +1 -1
  48. package/dist/deployed/StargateOFTUSDC.mjs +9 -0
  49. package/dist/deployed/StargateOFTUSDC.mjs.map +1 -1
  50. package/dist/deployed/TokenMessaging.cjs +9 -0
  51. package/dist/deployed/TokenMessaging.cjs.map +1 -1
  52. package/dist/deployed/TokenMessaging.mjs +9 -0
  53. package/dist/deployed/TokenMessaging.mjs.map +1 -1
  54. package/dist/deployed/Treasurer.cjs +9 -0
  55. package/dist/deployed/Treasurer.cjs.map +1 -1
  56. package/dist/deployed/Treasurer.mjs +9 -0
  57. package/dist/deployed/Treasurer.mjs.map +1 -1
  58. package/dist/deployed/contracts.cjs +63 -0
  59. package/dist/deployed/contracts.cjs.map +1 -1
  60. package/dist/deployed/contracts.mjs +63 -0
  61. package/dist/deployed/contracts.mjs.map +1 -1
  62. package/dist/deployed/index.cjs +63 -0
  63. package/dist/deployed/index.cjs.map +1 -1
  64. package/dist/deployed/index.mjs +63 -0
  65. package/dist/deployed/index.mjs.map +1 -1
  66. package/package.json +2 -2
  67. package/dist/deployed/OFTTokenETH.d.ts +0 -1
  68. package/dist/deployed/OFTWrapper-CJkBHR0d.d.mts +0 -1367
  69. package/dist/deployed/OFTWrapper-CJkBHR0d.d.ts +0 -1367
  70. package/dist/deployed/OFTWrapper.d.mts +0 -1
  71. package/dist/deployed/OFTWrapper.d.ts +0 -1
  72. package/dist/deployed/RewardLib-DZPcpNd5.d.mts +0 -115
  73. package/dist/deployed/RewardLib-DZPcpNd5.d.ts +0 -115
  74. package/dist/deployed/RewardLib.d.mts +0 -1
  75. package/dist/deployed/RewardLib.d.ts +0 -1
  76. package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.mts +0 -115
  77. package/dist/deployed/RewardRegistryLib-ChjkPjiF.d.ts +0 -115
  78. package/dist/deployed/RewardRegistryLib.d.mts +0 -1
  79. package/dist/deployed/RewardRegistryLib.d.ts +0 -1
  80. package/dist/deployed/RewardTokenMock-B_bipjnn.d.mts +0 -308
  81. package/dist/deployed/RewardTokenMock-B_bipjnn.d.ts +0 -308
  82. package/dist/deployed/RewardTokenMock.d.mts +0 -1
  83. package/dist/deployed/RewardTokenMock.d.ts +0 -1
  84. package/dist/deployed/StargateMultiRewarder-CI0gdC89.d.mts +0 -622
  85. package/dist/deployed/StargateMultiRewarder-CI0gdC89.d.ts +0 -622
  86. package/dist/deployed/StargateMultiRewarder.d.mts +0 -1
  87. package/dist/deployed/StargateMultiRewarder.d.ts +0 -1
  88. package/dist/deployed/StargateOFTETH-DXRoUssU.d.mts +0 -2514
  89. package/dist/deployed/StargateOFTETH-DXRoUssU.d.ts +0 -2514
  90. package/dist/deployed/StargateOFTETH.d.mts +0 -1
  91. package/dist/deployed/StargateOFTETH.d.ts +0 -1
  92. package/dist/deployed/StargateOFTEURC-DKulPApM.d.mts +0 -3683
  93. package/dist/deployed/StargateOFTEURC-DKulPApM.d.ts +0 -3683
  94. package/dist/deployed/StargateOFTEURC.d.mts +0 -1
  95. package/dist/deployed/StargateOFTEURC.d.ts +0 -1
  96. package/dist/deployed/StargateOFTUSDC-CWrgFwl8.d.mts +0 -4998
  97. package/dist/deployed/StargateOFTUSDC-CWrgFwl8.d.ts +0 -4998
  98. package/dist/deployed/StargateOFTUSDC.d.mts +0 -1
  99. package/dist/deployed/StargateOFTUSDC.d.ts +0 -1
  100. package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.mts +0 -2492
  101. package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.ts +0 -2492
  102. package/dist/deployed/StargateOFTUSDT.d.mts +0 -1
  103. package/dist/deployed/StargateOFTUSDT.d.ts +0 -1
  104. package/dist/deployed/StargatePoolETH-lOsiDbJC.d.mts +0 -1530
  105. package/dist/deployed/StargatePoolETH-lOsiDbJC.d.ts +0 -1530
  106. package/dist/deployed/StargatePoolETH.d.mts +0 -1
  107. package/dist/deployed/StargatePoolETH.d.ts +0 -1
  108. package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.mts +0 -1582
  109. package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.ts +0 -1582
  110. package/dist/deployed/StargatePoolEURC.d.mts +0 -1
  111. package/dist/deployed/StargatePoolEURC.d.ts +0 -1
  112. package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.mts +0 -1519
  113. package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.ts +0 -1519
  114. package/dist/deployed/StargatePoolMETIS.d.mts +0 -1
  115. package/dist/deployed/StargatePoolMETIS.d.ts +0 -1
  116. package/dist/deployed/StargatePoolNative-BKokoo5S.d.mts +0 -1568
  117. package/dist/deployed/StargatePoolNative-BKokoo5S.d.ts +0 -1568
  118. package/dist/deployed/StargatePoolNative.d.mts +0 -1
  119. package/dist/deployed/StargatePoolNative.d.ts +0 -1
  120. package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.mts +0 -1632
  121. package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.ts +0 -1632
  122. package/dist/deployed/StargatePoolUSDC.d.mts +0 -1
  123. package/dist/deployed/StargatePoolUSDC.d.ts +0 -1
  124. package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.mts +0 -1627
  125. package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.ts +0 -1627
  126. package/dist/deployed/StargatePoolUSDT.d.mts +0 -1
  127. package/dist/deployed/StargatePoolUSDT.d.ts +0 -1
  128. package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.mts +0 -1519
  129. package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.ts +0 -1519
  130. package/dist/deployed/StargatePoolmETH.d.mts +0 -1
  131. package/dist/deployed/StargatePoolmETH.d.ts +0 -1
  132. package/dist/deployed/StargateStaking-BL9axih_.d.mts +0 -459
  133. package/dist/deployed/StargateStaking-BL9axih_.d.ts +0 -459
  134. package/dist/deployed/StargateStaking.d.mts +0 -1
  135. package/dist/deployed/StargateStaking.d.ts +0 -1
  136. package/dist/deployed/TokenMessaging-ZthO1qUI.d.mts +0 -3180
  137. package/dist/deployed/TokenMessaging-ZthO1qUI.d.ts +0 -3180
  138. package/dist/deployed/TokenMessaging.d.mts +0 -1
  139. package/dist/deployed/TokenMessaging.d.ts +0 -1
  140. package/dist/deployed/Treasurer-DWulFNwl.d.mts +0 -456
  141. package/dist/deployed/Treasurer-DWulFNwl.d.ts +0 -456
  142. package/dist/deployed/Treasurer.d.mts +0 -1
  143. package/dist/deployed/Treasurer.d.ts +0 -1
  144. package/dist/deployed/USDCImpl-DN89Rpdz.d.mts +0 -1124
  145. package/dist/deployed/USDCImpl-DN89Rpdz.d.ts +0 -1124
  146. package/dist/deployed/USDCImpl.d.mts +0 -1
  147. package/dist/deployed/USDCImpl.d.ts +0 -1
  148. package/dist/deployed/USDCProxy-BsrYumZv.d.mts +0 -141
  149. package/dist/deployed/USDCProxy-BsrYumZv.d.ts +0 -141
  150. package/dist/deployed/USDCProxy.d.mts +0 -1
  151. package/dist/deployed/USDCProxy.d.ts +0 -1
  152. package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.mts +0 -73
  153. package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.ts +0 -73
  154. package/dist/deployed/USDCSignatureLib.d.mts +0 -1
  155. package/dist/deployed/USDCSignatureLib.d.ts +0 -1
  156. package/dist/deployed/USDT-DVAQjDdu.d.mts +0 -690
  157. package/dist/deployed/USDT-DVAQjDdu.d.ts +0 -690
  158. package/dist/deployed/USDT.d.mts +0 -1
  159. package/dist/deployed/USDT.d.ts +0 -1
  160. package/dist/deployed/contracts-B7q2Vree.d.mts +0 -68
  161. package/dist/deployed/contracts-CxuIbE1v.d.ts +0 -68
  162. package/dist/deployed/contracts.d.mts +0 -31
  163. package/dist/deployed/contracts.d.ts +0 -31
  164. package/dist/deployed/index.d.mts +0 -36
  165. package/dist/deployed/index.d.ts +0 -36
@@ -1,622 +0,0 @@
1
- declare const addresses: {
2
- "abstract-mainnet": string;
3
- "arbitrum-mainnet": string;
4
- "arbsep-testnet": string;
5
- "aurora-mainnet": string;
6
- "avalanche-mainnet": string;
7
- "avalanche-testnet": string;
8
- "base-mainnet": string;
9
- "bsc-mainnet": string;
10
- "bsc-sandbox-local": string;
11
- "bsc-testnet": string;
12
- "coredao-mainnet": string;
13
- "doma-mainnet": string;
14
- "ethereum-mainnet": string;
15
- "ethereum-sandbox-local": string;
16
- "hemi-mainnet": string;
17
- "kava-mainnet": string;
18
- "lightlink-mainnet": string;
19
- "manta-mainnet": string;
20
- "mantle-mainnet": string;
21
- "mantlesep-testnet": string;
22
- "metis-mainnet": string;
23
- "monad-testnet": string;
24
- "optimism-mainnet": string;
25
- "optsep-testnet": string;
26
- "polygon-mainnet": string;
27
- "polygon-sandbox-local": string;
28
- "scroll-mainnet": string;
29
- "sei-mainnet": string;
30
- "sepolia-testnet": string;
31
- "soneium-mainnet": string;
32
- "sonic-mainnet": string;
33
- "sophon-mainnet": string;
34
- "zkconsensys-mainnet": string;
35
- };
36
- declare const transactionHashes: {
37
- "arbitrum-mainnet": string;
38
- "arbsep-testnet": string;
39
- "aurora-mainnet": string;
40
- "avalanche-mainnet": string;
41
- "avalanche-testnet": string;
42
- "base-mainnet": string;
43
- "bsc-mainnet": string;
44
- "bsc-sandbox-local": string;
45
- "bsc-testnet": string;
46
- "coredao-mainnet": string;
47
- "doma-mainnet": string;
48
- "ethereum-mainnet": string;
49
- "ethereum-sandbox-local": string;
50
- "hemi-mainnet": string;
51
- "kava-mainnet": string;
52
- "lightlink-mainnet": string;
53
- "manta-mainnet": string;
54
- "mantle-mainnet": string;
55
- "mantlesep-testnet": string;
56
- "metis-mainnet": string;
57
- "monad-testnet": string;
58
- "optimism-mainnet": string;
59
- "optsep-testnet": string;
60
- "polygon-mainnet": string;
61
- "polygon-sandbox-local": string;
62
- "scroll-mainnet": string;
63
- "sei-mainnet": string;
64
- "sepolia-testnet": string;
65
- "soneium-mainnet": string;
66
- "sonic-mainnet": string;
67
- "zkconsensys-mainnet": string;
68
- };
69
- declare const abi0: readonly [{
70
- readonly inputs: readonly [{
71
- readonly internalType: "contract IStargateStaking";
72
- readonly name: "_staking";
73
- readonly type: "address";
74
- }];
75
- readonly stateMutability: "nonpayable";
76
- readonly type: "constructor";
77
- }, {
78
- readonly inputs: readonly [{
79
- readonly internalType: "address";
80
- readonly name: "token";
81
- readonly type: "address";
82
- }];
83
- readonly name: "MultiRewarderDisconnectedStakingToken";
84
- readonly type: "error";
85
- }, {
86
- readonly inputs: readonly [{
87
- readonly internalType: "uint256";
88
- readonly name: "expected";
89
- readonly type: "uint256";
90
- }, {
91
- readonly internalType: "uint256";
92
- readonly name: "actual";
93
- readonly type: "uint256";
94
- }];
95
- readonly name: "MultiRewarderIncorrectNative";
96
- readonly type: "error";
97
- }, {
98
- readonly inputs: readonly [];
99
- readonly name: "MultiRewarderMaxActiveRewardTokens";
100
- readonly type: "error";
101
- }, {
102
- readonly inputs: readonly [];
103
- readonly name: "MultiRewarderMaxPoolsForRewardToken";
104
- readonly type: "error";
105
- }, {
106
- readonly inputs: readonly [{
107
- readonly internalType: "address";
108
- readonly name: "to";
109
- readonly type: "address";
110
- }, {
111
- readonly internalType: "uint256";
112
- readonly name: "amount";
113
- readonly type: "uint256";
114
- }];
115
- readonly name: "MultiRewarderNativeTransferFailed";
116
- readonly type: "error";
117
- }, {
118
- readonly inputs: readonly [{
119
- readonly internalType: "address";
120
- readonly name: "rewardToken";
121
- readonly type: "address";
122
- }];
123
- readonly name: "MultiRewarderPoolFinished";
124
- readonly type: "error";
125
- }, {
126
- readonly inputs: readonly [];
127
- readonly name: "MultiRewarderRenounceOwnershipDisabled";
128
- readonly type: "error";
129
- }, {
130
- readonly inputs: readonly [{
131
- readonly internalType: "uint256";
132
- readonly name: "start";
133
- readonly type: "uint256";
134
- }];
135
- readonly name: "MultiRewarderStartInPast";
136
- readonly type: "error";
137
- }, {
138
- readonly inputs: readonly [{
139
- readonly internalType: "address";
140
- readonly name: "caller";
141
- readonly type: "address";
142
- }];
143
- readonly name: "MultiRewarderUnauthorizedCaller";
144
- readonly type: "error";
145
- }, {
146
- readonly inputs: readonly [{
147
- readonly internalType: "address";
148
- readonly name: "token";
149
- readonly type: "address";
150
- }];
151
- readonly name: "MultiRewarderUnregisteredToken";
152
- readonly type: "error";
153
- }, {
154
- readonly inputs: readonly [];
155
- readonly name: "MultiRewarderZeroDuration";
156
- readonly type: "error";
157
- }, {
158
- readonly inputs: readonly [];
159
- readonly name: "MultiRewarderZeroRewardRate";
160
- readonly type: "error";
161
- }, {
162
- readonly inputs: readonly [{
163
- readonly internalType: "contract IERC20";
164
- readonly name: "stakingToken";
165
- readonly type: "address";
166
- }];
167
- readonly name: "RewarderAlreadyConnected";
168
- readonly type: "error";
169
- }, {
170
- readonly anonymous: false;
171
- readonly inputs: readonly [{
172
- readonly indexed: true;
173
- readonly internalType: "address";
174
- readonly name: "rewardToken";
175
- readonly type: "address";
176
- }, {
177
- readonly indexed: true;
178
- readonly internalType: "contract IERC20[]";
179
- readonly name: "stakeToken";
180
- readonly type: "address[]";
181
- }, {
182
- readonly indexed: false;
183
- readonly internalType: "uint48[]";
184
- readonly name: "allocPoint";
185
- readonly type: "uint48[]";
186
- }];
187
- readonly name: "AllocPointsSet";
188
- readonly type: "event";
189
- }, {
190
- readonly anonymous: false;
191
- readonly inputs: readonly [{
192
- readonly indexed: true;
193
- readonly internalType: "address";
194
- readonly name: "previousOwner";
195
- readonly type: "address";
196
- }, {
197
- readonly indexed: true;
198
- readonly internalType: "address";
199
- readonly name: "newOwner";
200
- readonly type: "address";
201
- }];
202
- readonly name: "OwnershipTransferred";
203
- readonly type: "event";
204
- }, {
205
- readonly anonymous: false;
206
- readonly inputs: readonly [{
207
- readonly indexed: true;
208
- readonly internalType: "address";
209
- readonly name: "rewardToken";
210
- readonly type: "address";
211
- }, {
212
- readonly indexed: true;
213
- readonly internalType: "contract IERC20";
214
- readonly name: "stakeToken";
215
- readonly type: "address";
216
- }];
217
- readonly name: "PoolRegistered";
218
- readonly type: "event";
219
- }, {
220
- readonly anonymous: false;
221
- readonly inputs: readonly [{
222
- readonly indexed: true;
223
- readonly internalType: "address";
224
- readonly name: "rewardToken";
225
- readonly type: "address";
226
- }, {
227
- readonly indexed: false;
228
- readonly internalType: "uint256";
229
- readonly name: "amountAdded";
230
- readonly type: "uint256";
231
- }, {
232
- readonly indexed: false;
233
- readonly internalType: "uint48";
234
- readonly name: "newEnd";
235
- readonly type: "uint48";
236
- }];
237
- readonly name: "RewardExtended";
238
- readonly type: "event";
239
- }, {
240
- readonly anonymous: false;
241
- readonly inputs: readonly [{
242
- readonly indexed: true;
243
- readonly internalType: "address";
244
- readonly name: "rewardToken";
245
- readonly type: "address";
246
- }];
247
- readonly name: "RewardRegistered";
248
- readonly type: "event";
249
- }, {
250
- readonly anonymous: false;
251
- readonly inputs: readonly [{
252
- readonly indexed: true;
253
- readonly internalType: "address";
254
- readonly name: "rewardToken";
255
- readonly type: "address";
256
- }, {
257
- readonly indexed: false;
258
- readonly internalType: "uint256";
259
- readonly name: "amountAdded";
260
- readonly type: "uint256";
261
- }, {
262
- readonly indexed: false;
263
- readonly internalType: "uint256";
264
- readonly name: "amountPeriod";
265
- readonly type: "uint256";
266
- }, {
267
- readonly indexed: false;
268
- readonly internalType: "uint48";
269
- readonly name: "start";
270
- readonly type: "uint48";
271
- }, {
272
- readonly indexed: false;
273
- readonly internalType: "uint48";
274
- readonly name: "duration";
275
- readonly type: "uint48";
276
- }];
277
- readonly name: "RewardSet";
278
- readonly type: "event";
279
- }, {
280
- readonly anonymous: false;
281
- readonly inputs: readonly [{
282
- readonly indexed: true;
283
- readonly internalType: "address";
284
- readonly name: "rewardToken";
285
- readonly type: "address";
286
- }, {
287
- readonly indexed: true;
288
- readonly internalType: "address";
289
- readonly name: "receiver";
290
- readonly type: "address";
291
- }, {
292
- readonly indexed: false;
293
- readonly internalType: "bool";
294
- readonly name: "pullTokens";
295
- readonly type: "bool";
296
- }];
297
- readonly name: "RewardStopped";
298
- readonly type: "event";
299
- }, {
300
- readonly anonymous: false;
301
- readonly inputs: readonly [{
302
- readonly indexed: true;
303
- readonly internalType: "contract IERC20";
304
- readonly name: "stakingToken";
305
- readonly type: "address";
306
- }];
307
- readonly name: "RewarderConnected";
308
- readonly type: "event";
309
- }, {
310
- readonly anonymous: false;
311
- readonly inputs: readonly [{
312
- readonly indexed: true;
313
- readonly internalType: "address";
314
- readonly name: "user";
315
- readonly type: "address";
316
- }, {
317
- readonly indexed: false;
318
- readonly internalType: "address[]";
319
- readonly name: "rewardTokens";
320
- readonly type: "address[]";
321
- }, {
322
- readonly indexed: false;
323
- readonly internalType: "uint256[]";
324
- readonly name: "amounts";
325
- readonly type: "uint256[]";
326
- }];
327
- readonly name: "RewardsClaimed";
328
- readonly type: "event";
329
- }, {
330
- readonly inputs: readonly [{
331
- readonly internalType: "address";
332
- readonly name: "rewardToken";
333
- readonly type: "address";
334
- }];
335
- readonly name: "allocPointsByReward";
336
- readonly outputs: readonly [{
337
- readonly internalType: "contract IERC20[]";
338
- readonly name: "";
339
- readonly type: "address[]";
340
- }, {
341
- readonly internalType: "uint48[]";
342
- readonly name: "";
343
- readonly type: "uint48[]";
344
- }];
345
- readonly stateMutability: "view";
346
- readonly type: "function";
347
- }, {
348
- readonly inputs: readonly [{
349
- readonly internalType: "contract IERC20";
350
- readonly name: "stakingToken";
351
- readonly type: "address";
352
- }];
353
- readonly name: "allocPointsByStake";
354
- readonly outputs: readonly [{
355
- readonly internalType: "address[]";
356
- readonly name: "";
357
- readonly type: "address[]";
358
- }, {
359
- readonly internalType: "uint48[]";
360
- readonly name: "";
361
- readonly type: "uint48[]";
362
- }];
363
- readonly stateMutability: "view";
364
- readonly type: "function";
365
- }, {
366
- readonly inputs: readonly [{
367
- readonly internalType: "contract IERC20";
368
- readonly name: "stakingToken";
369
- readonly type: "address";
370
- }];
371
- readonly name: "connect";
372
- readonly outputs: readonly [];
373
- readonly stateMutability: "nonpayable";
374
- readonly type: "function";
375
- }, {
376
- readonly inputs: readonly [{
377
- readonly internalType: "address";
378
- readonly name: "rewardToken";
379
- readonly type: "address";
380
- }, {
381
- readonly internalType: "uint256";
382
- readonly name: "amount";
383
- readonly type: "uint256";
384
- }];
385
- readonly name: "extendReward";
386
- readonly outputs: readonly [];
387
- readonly stateMutability: "payable";
388
- readonly type: "function";
389
- }, {
390
- readonly inputs: readonly [{
391
- readonly internalType: "contract IERC20";
392
- readonly name: "stakingToken";
393
- readonly type: "address";
394
- }, {
395
- readonly internalType: "address";
396
- readonly name: "user";
397
- readonly type: "address";
398
- }];
399
- readonly name: "getRewards";
400
- readonly outputs: readonly [{
401
- readonly internalType: "address[]";
402
- readonly name: "";
403
- readonly type: "address[]";
404
- }, {
405
- readonly internalType: "uint256[]";
406
- readonly name: "";
407
- readonly type: "uint256[]";
408
- }];
409
- readonly stateMutability: "view";
410
- readonly type: "function";
411
- }, {
412
- readonly inputs: readonly [{
413
- readonly internalType: "contract IERC20";
414
- readonly name: "stakingToken";
415
- readonly type: "address";
416
- }, {
417
- readonly internalType: "address";
418
- readonly name: "user";
419
- readonly type: "address";
420
- }, {
421
- readonly internalType: "uint256";
422
- readonly name: "oldStake";
423
- readonly type: "uint256";
424
- }, {
425
- readonly internalType: "uint256";
426
- readonly name: "oldSupply";
427
- readonly type: "uint256";
428
- }, {
429
- readonly internalType: "uint256";
430
- readonly name: "";
431
- readonly type: "uint256";
432
- }];
433
- readonly name: "onUpdate";
434
- readonly outputs: readonly [];
435
- readonly stateMutability: "nonpayable";
436
- readonly type: "function";
437
- }, {
438
- readonly inputs: readonly [];
439
- readonly name: "owner";
440
- readonly outputs: readonly [{
441
- readonly internalType: "address";
442
- readonly name: "";
443
- readonly type: "address";
444
- }];
445
- readonly stateMutability: "view";
446
- readonly type: "function";
447
- }, {
448
- readonly inputs: readonly [];
449
- readonly name: "renounceOwnership";
450
- readonly outputs: readonly [];
451
- readonly stateMutability: "view";
452
- readonly type: "function";
453
- }, {
454
- readonly inputs: readonly [{
455
- readonly internalType: "address";
456
- readonly name: "rewardToken";
457
- readonly type: "address";
458
- }];
459
- readonly name: "rewardDetails";
460
- readonly outputs: readonly [{
461
- readonly components: readonly [{
462
- readonly internalType: "uint256";
463
- readonly name: "rewardPerSec";
464
- readonly type: "uint256";
465
- }, {
466
- readonly internalType: "uint160";
467
- readonly name: "totalAllocPoints";
468
- readonly type: "uint160";
469
- }, {
470
- readonly internalType: "uint48";
471
- readonly name: "start";
472
- readonly type: "uint48";
473
- }, {
474
- readonly internalType: "uint48";
475
- readonly name: "end";
476
- readonly type: "uint48";
477
- }, {
478
- readonly internalType: "bool";
479
- readonly name: "exists";
480
- readonly type: "bool";
481
- }];
482
- readonly internalType: "struct IMultiRewarder.RewardDetails";
483
- readonly name: "";
484
- readonly type: "tuple";
485
- }];
486
- readonly stateMutability: "view";
487
- readonly type: "function";
488
- }, {
489
- readonly inputs: readonly [];
490
- readonly name: "rewardTokens";
491
- readonly outputs: readonly [{
492
- readonly internalType: "address[]";
493
- readonly name: "";
494
- readonly type: "address[]";
495
- }];
496
- readonly stateMutability: "view";
497
- readonly type: "function";
498
- }, {
499
- readonly inputs: readonly [{
500
- readonly internalType: "address";
501
- readonly name: "rewardToken";
502
- readonly type: "address";
503
- }, {
504
- readonly internalType: "contract IERC20[]";
505
- readonly name: "stakingTokens";
506
- readonly type: "address[]";
507
- }, {
508
- readonly internalType: "uint48[]";
509
- readonly name: "allocPoints";
510
- readonly type: "uint48[]";
511
- }];
512
- readonly name: "setAllocPoints";
513
- readonly outputs: readonly [];
514
- readonly stateMutability: "nonpayable";
515
- readonly type: "function";
516
- }, {
517
- readonly inputs: readonly [{
518
- readonly internalType: "address";
519
- readonly name: "rewardToken";
520
- readonly type: "address";
521
- }, {
522
- readonly internalType: "uint256";
523
- readonly name: "amount";
524
- readonly type: "uint256";
525
- }, {
526
- readonly internalType: "uint48";
527
- readonly name: "start";
528
- readonly type: "uint48";
529
- }, {
530
- readonly internalType: "uint48";
531
- readonly name: "duration";
532
- readonly type: "uint48";
533
- }];
534
- readonly name: "setReward";
535
- readonly outputs: readonly [];
536
- readonly stateMutability: "payable";
537
- readonly type: "function";
538
- }, {
539
- readonly inputs: readonly [];
540
- readonly name: "staking";
541
- readonly outputs: readonly [{
542
- readonly internalType: "contract IStargateStaking";
543
- readonly name: "";
544
- readonly type: "address";
545
- }];
546
- readonly stateMutability: "view";
547
- readonly type: "function";
548
- }, {
549
- readonly inputs: readonly [{
550
- readonly internalType: "address";
551
- readonly name: "rewardToken";
552
- readonly type: "address";
553
- }, {
554
- readonly internalType: "address";
555
- readonly name: "receiver";
556
- readonly type: "address";
557
- }, {
558
- readonly internalType: "bool";
559
- readonly name: "pullTokens";
560
- readonly type: "bool";
561
- }];
562
- readonly name: "stopReward";
563
- readonly outputs: readonly [];
564
- readonly stateMutability: "nonpayable";
565
- readonly type: "function";
566
- }, {
567
- readonly inputs: readonly [{
568
- readonly internalType: "address";
569
- readonly name: "newOwner";
570
- readonly type: "address";
571
- }];
572
- readonly name: "transferOwnership";
573
- readonly outputs: readonly [];
574
- readonly stateMutability: "nonpayable";
575
- readonly type: "function";
576
- }];
577
- type Abi0 = typeof abi0;
578
- type Abis = {
579
- "abstract-mainnet": Abi0;
580
- "arbitrum-mainnet": Abi0;
581
- "arbsep-testnet": Abi0;
582
- "aurora-mainnet": Abi0;
583
- "avalanche-mainnet": Abi0;
584
- "avalanche-testnet": Abi0;
585
- "base-mainnet": Abi0;
586
- "bsc-mainnet": Abi0;
587
- "bsc-sandbox-local": Abi0;
588
- "bsc-testnet": Abi0;
589
- "coredao-mainnet": Abi0;
590
- "doma-mainnet": Abi0;
591
- "ethereum-mainnet": Abi0;
592
- "ethereum-sandbox-local": Abi0;
593
- "hemi-mainnet": Abi0;
594
- "kava-mainnet": Abi0;
595
- "lightlink-mainnet": Abi0;
596
- "manta-mainnet": Abi0;
597
- "mantle-mainnet": Abi0;
598
- "mantlesep-testnet": Abi0;
599
- "metis-mainnet": Abi0;
600
- "monad-testnet": Abi0;
601
- "optimism-mainnet": Abi0;
602
- "optsep-testnet": Abi0;
603
- "polygon-mainnet": Abi0;
604
- "polygon-sandbox-local": Abi0;
605
- "scroll-mainnet": Abi0;
606
- "sei-mainnet": Abi0;
607
- "sepolia-testnet": Abi0;
608
- "soneium-mainnet": Abi0;
609
- "sonic-mainnet": Abi0;
610
- "sophon-mainnet": Abi0;
611
- "zkconsensys-mainnet": Abi0;
612
- };
613
- declare const abis: Abis;
614
-
615
- declare const StargateMultiRewarder_abis: typeof abis;
616
- declare const StargateMultiRewarder_addresses: typeof addresses;
617
- declare const StargateMultiRewarder_transactionHashes: typeof transactionHashes;
618
- declare namespace StargateMultiRewarder {
619
- export { StargateMultiRewarder_abis as abis, StargateMultiRewarder_addresses as addresses, StargateMultiRewarder_transactionHashes as transactionHashes };
620
- }
621
-
622
- export { StargateMultiRewarder as S, addresses as a, abis as b, transactionHashes as t };