@nexusmutual/sdk 0.4.8 → 0.4.9
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/data/abis/Assessment.json +102 -0
- package/dist/data/abis/Cover.json +18 -0
- package/dist/data/abis/StakingPool.json +17 -173
- package/dist/data/abis/StakingProducts.json +75 -1
- package/dist/data/abis/StakingViewer.json +30 -0
- package/dist/data/abis/TokenController.json +77 -18
- package/dist/data/addresses.json +1 -1
- package/dist/data/product-types.json +7 -0
- package/dist/data/products.json +1 -1
- package/dist/index.d.mts +510 -309
- package/dist/index.d.ts +510 -309
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.d.mts
CHANGED
|
@@ -3980,7 +3980,7 @@ var products = [
|
|
|
3980
3980
|
"USDC"
|
|
3981
3981
|
],
|
|
3982
3982
|
isPrivate: false,
|
|
3983
|
-
timestamp:
|
|
3983
|
+
timestamp: 1722950807
|
|
3984
3984
|
},
|
|
3985
3985
|
{
|
|
3986
3986
|
id: 220,
|
|
@@ -4183,6 +4183,13 @@ var productTypes = [
|
|
|
4183
4183
|
name: "Sherlock Bug Bounty",
|
|
4184
4184
|
gracePeriod: 3024000,
|
|
4185
4185
|
claimMethod: 0
|
|
4186
|
+
},
|
|
4187
|
+
{
|
|
4188
|
+
id: 16,
|
|
4189
|
+
coverWordingURL: "https://api.nexusmutual.io/ipfs/QmQLh2wNDD2b2RGg9rNFbyrQwxqTthrTNaTsHenZnRg6u6",
|
|
4190
|
+
name: "DeFi Pass",
|
|
4191
|
+
gracePeriod: 3024000,
|
|
4192
|
+
claimMethod: 0
|
|
4186
4193
|
}
|
|
4187
4194
|
];
|
|
4188
4195
|
|
|
@@ -4300,6 +4307,74 @@ declare const nexusSdk: {
|
|
|
4300
4307
|
}];
|
|
4301
4308
|
readonly stateMutability: "nonpayable";
|
|
4302
4309
|
readonly type: "constructor";
|
|
4310
|
+
}, {
|
|
4311
|
+
readonly inputs: readonly [];
|
|
4312
|
+
readonly name: "AcceptVoteRequired";
|
|
4313
|
+
readonly type: "error";
|
|
4314
|
+
}, {
|
|
4315
|
+
readonly inputs: readonly [];
|
|
4316
|
+
readonly name: "AlreadyVoted";
|
|
4317
|
+
readonly type: "error";
|
|
4318
|
+
}, {
|
|
4319
|
+
readonly inputs: readonly [];
|
|
4320
|
+
readonly name: "AssessmentIdsIpfsLengthMismatch";
|
|
4321
|
+
readonly type: "error";
|
|
4322
|
+
}, {
|
|
4323
|
+
readonly inputs: readonly [];
|
|
4324
|
+
readonly name: "AssessmentIdsVotesLengthMismatch";
|
|
4325
|
+
readonly type: "error";
|
|
4326
|
+
}, {
|
|
4327
|
+
readonly inputs: readonly [{
|
|
4328
|
+
readonly internalType: "uint256";
|
|
4329
|
+
readonly name: "maxUnstakeAmount";
|
|
4330
|
+
readonly type: "uint256";
|
|
4331
|
+
}];
|
|
4332
|
+
readonly name: "InvalidAmount";
|
|
4333
|
+
readonly type: "error";
|
|
4334
|
+
}, {
|
|
4335
|
+
readonly inputs: readonly [];
|
|
4336
|
+
readonly name: "InvalidMerkleProof";
|
|
4337
|
+
readonly type: "error";
|
|
4338
|
+
}, {
|
|
4339
|
+
readonly inputs: readonly [];
|
|
4340
|
+
readonly name: "NoWithdrawableRewards";
|
|
4341
|
+
readonly type: "error";
|
|
4342
|
+
}, {
|
|
4343
|
+
readonly inputs: readonly [{
|
|
4344
|
+
readonly internalType: "address";
|
|
4345
|
+
readonly name: "nonMember";
|
|
4346
|
+
readonly type: "address";
|
|
4347
|
+
}];
|
|
4348
|
+
readonly name: "NotMember";
|
|
4349
|
+
readonly type: "error";
|
|
4350
|
+
}, {
|
|
4351
|
+
readonly inputs: readonly [];
|
|
4352
|
+
readonly name: "OnlyTokenController";
|
|
4353
|
+
readonly type: "error";
|
|
4354
|
+
}, {
|
|
4355
|
+
readonly inputs: readonly [{
|
|
4356
|
+
readonly internalType: "uint256";
|
|
4357
|
+
readonly name: "lockupExpiry";
|
|
4358
|
+
readonly type: "uint256";
|
|
4359
|
+
}];
|
|
4360
|
+
readonly name: "StakeLockedForAssessment";
|
|
4361
|
+
readonly type: "error";
|
|
4362
|
+
}, {
|
|
4363
|
+
readonly inputs: readonly [{
|
|
4364
|
+
readonly internalType: "uint256";
|
|
4365
|
+
readonly name: "lockupExpiry";
|
|
4366
|
+
readonly type: "uint256";
|
|
4367
|
+
}];
|
|
4368
|
+
readonly name: "StakeLockedForGovernance";
|
|
4369
|
+
readonly type: "error";
|
|
4370
|
+
}, {
|
|
4371
|
+
readonly inputs: readonly [];
|
|
4372
|
+
readonly name: "StakeRequired";
|
|
4373
|
+
readonly type: "error";
|
|
4374
|
+
}, {
|
|
4375
|
+
readonly inputs: readonly [];
|
|
4376
|
+
readonly name: "VotingClosed";
|
|
4377
|
+
readonly type: "error";
|
|
4303
4378
|
}, {
|
|
4304
4379
|
readonly anonymous: false;
|
|
4305
4380
|
readonly inputs: readonly [{
|
|
@@ -4782,6 +4857,16 @@ declare const nexusSdk: {
|
|
|
4782
4857
|
readonly outputs: readonly [];
|
|
4783
4858
|
readonly stateMutability: "nonpayable";
|
|
4784
4859
|
readonly type: "function";
|
|
4860
|
+
}, {
|
|
4861
|
+
readonly inputs: readonly [{
|
|
4862
|
+
readonly internalType: "address";
|
|
4863
|
+
readonly name: "staker";
|
|
4864
|
+
readonly type: "address";
|
|
4865
|
+
}];
|
|
4866
|
+
readonly name: "unstakeAllFor";
|
|
4867
|
+
readonly outputs: readonly [];
|
|
4868
|
+
readonly stateMutability: "nonpayable";
|
|
4869
|
+
readonly type: "function";
|
|
4785
4870
|
}, {
|
|
4786
4871
|
readonly inputs: readonly [{
|
|
4787
4872
|
readonly internalType: "enum IAssessment.UintParams[]";
|
|
@@ -5017,6 +5102,10 @@ declare const nexusSdk: {
|
|
|
5017
5102
|
readonly inputs: readonly [];
|
|
5018
5103
|
readonly name: "OnlyOwnerOrApproved";
|
|
5019
5104
|
readonly type: "error";
|
|
5105
|
+
}, {
|
|
5106
|
+
readonly inputs: readonly [];
|
|
5107
|
+
readonly name: "OnlySwapOperator";
|
|
5108
|
+
readonly type: "error";
|
|
5020
5109
|
}, {
|
|
5021
5110
|
readonly inputs: readonly [];
|
|
5022
5111
|
readonly name: "PriceExceedsMaxPremiumInAsset";
|
|
@@ -5620,6 +5709,16 @@ declare const nexusSdk: {
|
|
|
5620
5709
|
}];
|
|
5621
5710
|
readonly stateMutability: "view";
|
|
5622
5711
|
readonly type: "function";
|
|
5712
|
+
}, {
|
|
5713
|
+
readonly inputs: readonly [{
|
|
5714
|
+
readonly internalType: "uint256[][][]";
|
|
5715
|
+
readonly name: "tokenIds";
|
|
5716
|
+
readonly type: "uint256[][][]";
|
|
5717
|
+
}];
|
|
5718
|
+
readonly name: "updateStakingPoolsRewardShares";
|
|
5719
|
+
readonly outputs: readonly [];
|
|
5720
|
+
readonly stateMutability: "nonpayable";
|
|
5721
|
+
readonly type: "function";
|
|
5623
5722
|
}, {
|
|
5624
5723
|
readonly inputs: readonly [{
|
|
5625
5724
|
readonly internalType: "uint256";
|
|
@@ -17648,16 +17747,6 @@ declare const nexusSdk: {
|
|
|
17648
17747
|
}];
|
|
17649
17748
|
readonly name: "DepositExtended";
|
|
17650
17749
|
readonly type: "event";
|
|
17651
|
-
}, {
|
|
17652
|
-
readonly anonymous: false;
|
|
17653
|
-
readonly inputs: readonly [{
|
|
17654
|
-
readonly indexed: false;
|
|
17655
|
-
readonly internalType: "string";
|
|
17656
|
-
readonly name: "ipfsDescriptionHash";
|
|
17657
|
-
readonly type: "string";
|
|
17658
|
-
}];
|
|
17659
|
-
readonly name: "PoolDescriptionSet";
|
|
17660
|
-
readonly type: "event";
|
|
17661
17750
|
}, {
|
|
17662
17751
|
readonly anonymous: false;
|
|
17663
17752
|
readonly inputs: readonly [{
|
|
@@ -17863,26 +17952,6 @@ declare const nexusSdk: {
|
|
|
17863
17952
|
}];
|
|
17864
17953
|
readonly stateMutability: "view";
|
|
17865
17954
|
readonly type: "function";
|
|
17866
|
-
}, {
|
|
17867
|
-
readonly inputs: readonly [];
|
|
17868
|
-
readonly name: "REWARD_BONUS_PER_TRANCHE_DENOMINATOR";
|
|
17869
|
-
readonly outputs: readonly [{
|
|
17870
|
-
readonly internalType: "uint256";
|
|
17871
|
-
readonly name: "";
|
|
17872
|
-
readonly type: "uint256";
|
|
17873
|
-
}];
|
|
17874
|
-
readonly stateMutability: "view";
|
|
17875
|
-
readonly type: "function";
|
|
17876
|
-
}, {
|
|
17877
|
-
readonly inputs: readonly [];
|
|
17878
|
-
readonly name: "REWARD_BONUS_PER_TRANCHE_RATIO";
|
|
17879
|
-
readonly outputs: readonly [{
|
|
17880
|
-
readonly internalType: "uint256";
|
|
17881
|
-
readonly name: "";
|
|
17882
|
-
readonly type: "uint256";
|
|
17883
|
-
}];
|
|
17884
|
-
readonly stateMutability: "view";
|
|
17885
|
-
readonly type: "function";
|
|
17886
17955
|
}, {
|
|
17887
17956
|
readonly inputs: readonly [];
|
|
17888
17957
|
readonly name: "TRANCHE_DURATION";
|
|
@@ -17938,46 +18007,6 @@ declare const nexusSdk: {
|
|
|
17938
18007
|
readonly outputs: readonly [];
|
|
17939
18008
|
readonly stateMutability: "nonpayable";
|
|
17940
18009
|
readonly type: "function";
|
|
17941
|
-
}, {
|
|
17942
|
-
readonly inputs: readonly [{
|
|
17943
|
-
readonly internalType: "uint256";
|
|
17944
|
-
readonly name: "initialStakeShares";
|
|
17945
|
-
readonly type: "uint256";
|
|
17946
|
-
}, {
|
|
17947
|
-
readonly internalType: "uint256";
|
|
17948
|
-
readonly name: "stakeSharesIncrease";
|
|
17949
|
-
readonly type: "uint256";
|
|
17950
|
-
}, {
|
|
17951
|
-
readonly internalType: "uint256";
|
|
17952
|
-
readonly name: "initialTrancheId";
|
|
17953
|
-
readonly type: "uint256";
|
|
17954
|
-
}, {
|
|
17955
|
-
readonly internalType: "uint256";
|
|
17956
|
-
readonly name: "newTrancheId";
|
|
17957
|
-
readonly type: "uint256";
|
|
17958
|
-
}, {
|
|
17959
|
-
readonly internalType: "uint256";
|
|
17960
|
-
readonly name: "blockTimestamp";
|
|
17961
|
-
readonly type: "uint256";
|
|
17962
|
-
}];
|
|
17963
|
-
readonly name: "calculateNewRewardShares";
|
|
17964
|
-
readonly outputs: readonly [{
|
|
17965
|
-
readonly internalType: "uint256";
|
|
17966
|
-
readonly name: "";
|
|
17967
|
-
readonly type: "uint256";
|
|
17968
|
-
}];
|
|
17969
|
-
readonly stateMutability: "pure";
|
|
17970
|
-
readonly type: "function";
|
|
17971
|
-
}, {
|
|
17972
|
-
readonly inputs: readonly [];
|
|
17973
|
-
readonly name: "coverContract";
|
|
17974
|
-
readonly outputs: readonly [{
|
|
17975
|
-
readonly internalType: "address";
|
|
17976
|
-
readonly name: "";
|
|
17977
|
-
readonly type: "address";
|
|
17978
|
-
}];
|
|
17979
|
-
readonly stateMutability: "view";
|
|
17980
|
-
readonly type: "function";
|
|
17981
18010
|
}, {
|
|
17982
18011
|
readonly inputs: readonly [{
|
|
17983
18012
|
readonly internalType: "uint256";
|
|
@@ -18081,7 +18110,7 @@ declare const nexusSdk: {
|
|
|
18081
18110
|
readonly type: "uint256";
|
|
18082
18111
|
}, {
|
|
18083
18112
|
readonly internalType: "uint256";
|
|
18084
|
-
readonly name: "
|
|
18113
|
+
readonly name: "targetTrancheId";
|
|
18085
18114
|
readonly type: "uint256";
|
|
18086
18115
|
}, {
|
|
18087
18116
|
readonly internalType: "uint256";
|
|
@@ -18369,10 +18398,6 @@ declare const nexusSdk: {
|
|
|
18369
18398
|
readonly internalType: "uint256";
|
|
18370
18399
|
readonly name: "_poolId";
|
|
18371
18400
|
readonly type: "uint256";
|
|
18372
|
-
}, {
|
|
18373
|
-
readonly internalType: "string";
|
|
18374
|
-
readonly name: "ipfsDescriptionHash";
|
|
18375
|
-
readonly type: "string";
|
|
18376
18401
|
}];
|
|
18377
18402
|
readonly name: "initialize";
|
|
18378
18403
|
readonly outputs: readonly [];
|
|
@@ -18408,16 +18433,6 @@ declare const nexusSdk: {
|
|
|
18408
18433
|
}];
|
|
18409
18434
|
readonly stateMutability: "view";
|
|
18410
18435
|
readonly type: "function";
|
|
18411
|
-
}, {
|
|
18412
|
-
readonly inputs: readonly [];
|
|
18413
|
-
readonly name: "masterContract";
|
|
18414
|
-
readonly outputs: readonly [{
|
|
18415
|
-
readonly internalType: "contract INXMMaster";
|
|
18416
|
-
readonly name: "";
|
|
18417
|
-
readonly type: "address";
|
|
18418
|
-
}];
|
|
18419
|
-
readonly stateMutability: "view";
|
|
18420
|
-
readonly type: "function";
|
|
18421
18436
|
}, {
|
|
18422
18437
|
readonly inputs: readonly [{
|
|
18423
18438
|
readonly internalType: "bytes[]";
|
|
@@ -18432,16 +18447,6 @@ declare const nexusSdk: {
|
|
|
18432
18447
|
}];
|
|
18433
18448
|
readonly stateMutability: "nonpayable";
|
|
18434
18449
|
readonly type: "function";
|
|
18435
|
-
}, {
|
|
18436
|
-
readonly inputs: readonly [];
|
|
18437
|
-
readonly name: "nxm";
|
|
18438
|
-
readonly outputs: readonly [{
|
|
18439
|
-
readonly internalType: "contract INXMToken";
|
|
18440
|
-
readonly name: "";
|
|
18441
|
-
readonly type: "address";
|
|
18442
|
-
}];
|
|
18443
|
-
readonly stateMutability: "view";
|
|
18444
|
-
readonly type: "function";
|
|
18445
18450
|
}, {
|
|
18446
18451
|
readonly inputs: readonly [{
|
|
18447
18452
|
readonly internalType: "bool";
|
|
@@ -18545,16 +18550,6 @@ declare const nexusSdk: {
|
|
|
18545
18550
|
}];
|
|
18546
18551
|
readonly stateMutability: "view";
|
|
18547
18552
|
readonly type: "function";
|
|
18548
|
-
}, {
|
|
18549
|
-
readonly inputs: readonly [{
|
|
18550
|
-
readonly internalType: "string";
|
|
18551
|
-
readonly name: "ipfsDescriptionHash";
|
|
18552
|
-
readonly type: "string";
|
|
18553
|
-
}];
|
|
18554
|
-
readonly name: "setPoolDescription";
|
|
18555
|
-
readonly outputs: readonly [];
|
|
18556
|
-
readonly stateMutability: "nonpayable";
|
|
18557
|
-
readonly type: "function";
|
|
18558
18553
|
}, {
|
|
18559
18554
|
readonly inputs: readonly [{
|
|
18560
18555
|
readonly internalType: "uint256";
|
|
@@ -18575,36 +18570,6 @@ declare const nexusSdk: {
|
|
|
18575
18570
|
readonly outputs: readonly [];
|
|
18576
18571
|
readonly stateMutability: "nonpayable";
|
|
18577
18572
|
readonly type: "function";
|
|
18578
|
-
}, {
|
|
18579
|
-
readonly inputs: readonly [];
|
|
18580
|
-
readonly name: "stakingNFT";
|
|
18581
|
-
readonly outputs: readonly [{
|
|
18582
|
-
readonly internalType: "contract IStakingNFT";
|
|
18583
|
-
readonly name: "";
|
|
18584
|
-
readonly type: "address";
|
|
18585
|
-
}];
|
|
18586
|
-
readonly stateMutability: "view";
|
|
18587
|
-
readonly type: "function";
|
|
18588
|
-
}, {
|
|
18589
|
-
readonly inputs: readonly [];
|
|
18590
|
-
readonly name: "stakingProducts";
|
|
18591
|
-
readonly outputs: readonly [{
|
|
18592
|
-
readonly internalType: "contract IStakingProducts";
|
|
18593
|
-
readonly name: "";
|
|
18594
|
-
readonly type: "address";
|
|
18595
|
-
}];
|
|
18596
|
-
readonly stateMutability: "view";
|
|
18597
|
-
readonly type: "function";
|
|
18598
|
-
}, {
|
|
18599
|
-
readonly inputs: readonly [];
|
|
18600
|
-
readonly name: "tokenController";
|
|
18601
|
-
readonly outputs: readonly [{
|
|
18602
|
-
readonly internalType: "contract ITokenController";
|
|
18603
|
-
readonly name: "";
|
|
18604
|
-
readonly type: "address";
|
|
18605
|
-
}];
|
|
18606
|
-
readonly stateMutability: "view";
|
|
18607
|
-
readonly type: "function";
|
|
18608
18573
|
}, {
|
|
18609
18574
|
readonly inputs: readonly [{
|
|
18610
18575
|
readonly internalType: "uint256";
|
|
@@ -18623,6 +18588,20 @@ declare const nexusSdk: {
|
|
|
18623
18588
|
}];
|
|
18624
18589
|
readonly stateMutability: "view";
|
|
18625
18590
|
readonly type: "function";
|
|
18591
|
+
}, {
|
|
18592
|
+
readonly inputs: readonly [{
|
|
18593
|
+
readonly internalType: "uint256";
|
|
18594
|
+
readonly name: "trancheId";
|
|
18595
|
+
readonly type: "uint256";
|
|
18596
|
+
}, {
|
|
18597
|
+
readonly internalType: "uint256[]";
|
|
18598
|
+
readonly name: "tokenIds";
|
|
18599
|
+
readonly type: "uint256[]";
|
|
18600
|
+
}];
|
|
18601
|
+
readonly name: "updateRewardsShares";
|
|
18602
|
+
readonly outputs: readonly [];
|
|
18603
|
+
readonly stateMutability: "nonpayable";
|
|
18604
|
+
readonly type: "function";
|
|
18626
18605
|
}, {
|
|
18627
18606
|
readonly inputs: readonly [{
|
|
18628
18607
|
readonly internalType: "uint256";
|
|
@@ -18752,6 +18731,10 @@ declare const nexusSdk: {
|
|
|
18752
18731
|
readonly inputs: readonly [];
|
|
18753
18732
|
readonly name: "InvalidProductType";
|
|
18754
18733
|
readonly type: "error";
|
|
18734
|
+
}, {
|
|
18735
|
+
readonly inputs: readonly [];
|
|
18736
|
+
readonly name: "IpfsHashRequired";
|
|
18737
|
+
readonly type: "error";
|
|
18755
18738
|
}, {
|
|
18756
18739
|
readonly inputs: readonly [];
|
|
18757
18740
|
readonly name: "MustRecalculateEffectiveWeight";
|
|
@@ -19250,7 +19233,7 @@ declare const nexusSdk: {
|
|
|
19250
19233
|
readonly type: "tuple[]";
|
|
19251
19234
|
}, {
|
|
19252
19235
|
readonly internalType: "string";
|
|
19253
|
-
readonly name: "
|
|
19236
|
+
readonly name: "ipfsHash";
|
|
19254
19237
|
readonly type: "string";
|
|
19255
19238
|
}];
|
|
19256
19239
|
readonly name: "createStakingPool";
|
|
@@ -19321,6 +19304,34 @@ declare const nexusSdk: {
|
|
|
19321
19304
|
}];
|
|
19322
19305
|
readonly stateMutability: "view";
|
|
19323
19306
|
readonly type: "function";
|
|
19307
|
+
}, {
|
|
19308
|
+
readonly inputs: readonly [{
|
|
19309
|
+
readonly internalType: "uint256";
|
|
19310
|
+
readonly name: "poolId";
|
|
19311
|
+
readonly type: "uint256";
|
|
19312
|
+
}];
|
|
19313
|
+
readonly name: "getPoolManager";
|
|
19314
|
+
readonly outputs: readonly [{
|
|
19315
|
+
readonly internalType: "address";
|
|
19316
|
+
readonly name: "";
|
|
19317
|
+
readonly type: "address";
|
|
19318
|
+
}];
|
|
19319
|
+
readonly stateMutability: "view";
|
|
19320
|
+
readonly type: "function";
|
|
19321
|
+
}, {
|
|
19322
|
+
readonly inputs: readonly [{
|
|
19323
|
+
readonly internalType: "uint256";
|
|
19324
|
+
readonly name: "poolId";
|
|
19325
|
+
readonly type: "uint256";
|
|
19326
|
+
}];
|
|
19327
|
+
readonly name: "getPoolMetadata";
|
|
19328
|
+
readonly outputs: readonly [{
|
|
19329
|
+
readonly internalType: "string";
|
|
19330
|
+
readonly name: "ipfsHash";
|
|
19331
|
+
readonly type: "string";
|
|
19332
|
+
}];
|
|
19333
|
+
readonly stateMutability: "view";
|
|
19334
|
+
readonly type: "function";
|
|
19324
19335
|
}, {
|
|
19325
19336
|
readonly inputs: readonly [{
|
|
19326
19337
|
readonly internalType: "uint256";
|
|
@@ -19523,6 +19534,30 @@ declare const nexusSdk: {
|
|
|
19523
19534
|
readonly outputs: readonly [];
|
|
19524
19535
|
readonly stateMutability: "nonpayable";
|
|
19525
19536
|
readonly type: "function";
|
|
19537
|
+
}, {
|
|
19538
|
+
readonly inputs: readonly [{
|
|
19539
|
+
readonly internalType: "string[]";
|
|
19540
|
+
readonly name: "ipfsHashes";
|
|
19541
|
+
readonly type: "string[]";
|
|
19542
|
+
}];
|
|
19543
|
+
readonly name: "setInitialMetadata";
|
|
19544
|
+
readonly outputs: readonly [];
|
|
19545
|
+
readonly stateMutability: "nonpayable";
|
|
19546
|
+
readonly type: "function";
|
|
19547
|
+
}, {
|
|
19548
|
+
readonly inputs: readonly [{
|
|
19549
|
+
readonly internalType: "uint256";
|
|
19550
|
+
readonly name: "poolId";
|
|
19551
|
+
readonly type: "uint256";
|
|
19552
|
+
}, {
|
|
19553
|
+
readonly internalType: "string";
|
|
19554
|
+
readonly name: "ipfsHash";
|
|
19555
|
+
readonly type: "string";
|
|
19556
|
+
}];
|
|
19557
|
+
readonly name: "setPoolMetadata";
|
|
19558
|
+
readonly outputs: readonly [];
|
|
19559
|
+
readonly stateMutability: "nonpayable";
|
|
19560
|
+
readonly type: "function";
|
|
19526
19561
|
}, {
|
|
19527
19562
|
readonly inputs: readonly [{
|
|
19528
19563
|
readonly internalType: "uint256";
|
|
@@ -19738,6 +19773,10 @@ declare const nexusSdk: {
|
|
|
19738
19773
|
readonly internalType: "uint256";
|
|
19739
19774
|
readonly name: "currentAPY";
|
|
19740
19775
|
readonly type: "uint256";
|
|
19776
|
+
}, {
|
|
19777
|
+
readonly internalType: "string";
|
|
19778
|
+
readonly name: "metadataIpfsHash";
|
|
19779
|
+
readonly type: "string";
|
|
19741
19780
|
}];
|
|
19742
19781
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
19743
19782
|
readonly name: "pools";
|
|
@@ -19781,6 +19820,10 @@ declare const nexusSdk: {
|
|
|
19781
19820
|
readonly internalType: "uint256";
|
|
19782
19821
|
readonly name: "currentAPY";
|
|
19783
19822
|
readonly type: "uint256";
|
|
19823
|
+
}, {
|
|
19824
|
+
readonly internalType: "string";
|
|
19825
|
+
readonly name: "metadataIpfsHash";
|
|
19826
|
+
readonly type: "string";
|
|
19784
19827
|
}];
|
|
19785
19828
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
19786
19829
|
readonly name: "";
|
|
@@ -19825,6 +19868,10 @@ declare const nexusSdk: {
|
|
|
19825
19868
|
readonly internalType: "uint256";
|
|
19826
19869
|
readonly name: "currentAPY";
|
|
19827
19870
|
readonly type: "uint256";
|
|
19871
|
+
}, {
|
|
19872
|
+
readonly internalType: "string";
|
|
19873
|
+
readonly name: "metadataIpfsHash";
|
|
19874
|
+
readonly type: "string";
|
|
19828
19875
|
}];
|
|
19829
19876
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
19830
19877
|
readonly name: "pools";
|
|
@@ -20060,6 +20107,10 @@ declare const nexusSdk: {
|
|
|
20060
20107
|
readonly internalType: "uint256";
|
|
20061
20108
|
readonly name: "currentAPY";
|
|
20062
20109
|
readonly type: "uint256";
|
|
20110
|
+
}, {
|
|
20111
|
+
readonly internalType: "string";
|
|
20112
|
+
readonly name: "metadataIpfsHash";
|
|
20113
|
+
readonly type: "string";
|
|
20063
20114
|
}];
|
|
20064
20115
|
readonly internalType: "struct IStakingViewer.Pool";
|
|
20065
20116
|
readonly name: "pool";
|
|
@@ -20142,6 +20193,10 @@ declare const nexusSdk: {
|
|
|
20142
20193
|
readonly internalType: "uint256";
|
|
20143
20194
|
readonly name: "currentAPY";
|
|
20144
20195
|
readonly type: "uint256";
|
|
20196
|
+
}, {
|
|
20197
|
+
readonly internalType: "string";
|
|
20198
|
+
readonly name: "metadataIpfsHash";
|
|
20199
|
+
readonly type: "string";
|
|
20145
20200
|
}];
|
|
20146
20201
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
20147
20202
|
readonly name: "pools";
|
|
@@ -20185,6 +20240,10 @@ declare const nexusSdk: {
|
|
|
20185
20240
|
readonly internalType: "uint256";
|
|
20186
20241
|
readonly name: "currentAPY";
|
|
20187
20242
|
readonly type: "uint256";
|
|
20243
|
+
}, {
|
|
20244
|
+
readonly internalType: "string";
|
|
20245
|
+
readonly name: "metadataIpfsHash";
|
|
20246
|
+
readonly type: "string";
|
|
20188
20247
|
}];
|
|
20189
20248
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
20190
20249
|
readonly name: "pools";
|
|
@@ -21328,6 +21387,10 @@ declare const nexusSdk: {
|
|
|
21328
21387
|
readonly internalType: "address";
|
|
21329
21388
|
readonly name: "tokenAddress";
|
|
21330
21389
|
readonly type: "address";
|
|
21390
|
+
}, {
|
|
21391
|
+
readonly internalType: "address";
|
|
21392
|
+
readonly name: "stakingNFTAddress";
|
|
21393
|
+
readonly type: "address";
|
|
21331
21394
|
}];
|
|
21332
21395
|
readonly stateMutability: "nonpayable";
|
|
21333
21396
|
readonly type: "constructor";
|
|
@@ -21876,6 +21939,16 @@ declare const nexusSdk: {
|
|
|
21876
21939
|
readonly outputs: readonly [];
|
|
21877
21940
|
readonly stateMutability: "nonpayable";
|
|
21878
21941
|
readonly type: "function";
|
|
21942
|
+
}, {
|
|
21943
|
+
readonly inputs: readonly [];
|
|
21944
|
+
readonly name: "stakingNFT";
|
|
21945
|
+
readonly outputs: readonly [{
|
|
21946
|
+
readonly internalType: "contract IStakingNFT";
|
|
21947
|
+
readonly name: "";
|
|
21948
|
+
readonly type: "address";
|
|
21949
|
+
}];
|
|
21950
|
+
readonly stateMutability: "view";
|
|
21951
|
+
readonly type: "function";
|
|
21879
21952
|
}, {
|
|
21880
21953
|
readonly inputs: readonly [];
|
|
21881
21954
|
readonly name: "stakingPoolFactory";
|
|
@@ -22056,45 +22129,76 @@ declare const nexusSdk: {
|
|
|
22056
22129
|
readonly type: "function";
|
|
22057
22130
|
}, {
|
|
22058
22131
|
readonly inputs: readonly [{
|
|
22059
|
-
readonly
|
|
22060
|
-
|
|
22061
|
-
|
|
22132
|
+
readonly components: readonly [{
|
|
22133
|
+
readonly internalType: "bool";
|
|
22134
|
+
readonly name: "stake";
|
|
22135
|
+
readonly type: "bool";
|
|
22136
|
+
}, {
|
|
22137
|
+
readonly internalType: "bool";
|
|
22138
|
+
readonly name: "rewards";
|
|
22139
|
+
readonly type: "bool";
|
|
22140
|
+
}];
|
|
22141
|
+
readonly internalType: "struct ITokenController.WithdrawAssessment";
|
|
22142
|
+
readonly name: "withdrawAssessment";
|
|
22143
|
+
readonly type: "tuple";
|
|
22062
22144
|
}, {
|
|
22063
|
-
readonly
|
|
22064
|
-
|
|
22065
|
-
|
|
22145
|
+
readonly components: readonly [{
|
|
22146
|
+
readonly internalType: "uint256";
|
|
22147
|
+
readonly name: "tokenId";
|
|
22148
|
+
readonly type: "uint256";
|
|
22149
|
+
}, {
|
|
22150
|
+
readonly internalType: "uint256[]";
|
|
22151
|
+
readonly name: "trancheIds";
|
|
22152
|
+
readonly type: "uint256[]";
|
|
22153
|
+
}];
|
|
22154
|
+
readonly internalType: "struct ITokenController.StakingPoolDeposit[]";
|
|
22155
|
+
readonly name: "stakingPoolDeposits";
|
|
22156
|
+
readonly type: "tuple[]";
|
|
22157
|
+
}, {
|
|
22158
|
+
readonly components: readonly [{
|
|
22159
|
+
readonly internalType: "uint256";
|
|
22160
|
+
readonly name: "poolId";
|
|
22161
|
+
readonly type: "uint256";
|
|
22162
|
+
}, {
|
|
22163
|
+
readonly internalType: "uint256[]";
|
|
22164
|
+
readonly name: "trancheIds";
|
|
22165
|
+
readonly type: "uint256[]";
|
|
22166
|
+
}];
|
|
22167
|
+
readonly internalType: "struct ITokenController.StakingPoolManagerReward[]";
|
|
22168
|
+
readonly name: "stakingPoolManagerRewards";
|
|
22169
|
+
readonly type: "tuple[]";
|
|
22066
22170
|
}, {
|
|
22067
22171
|
readonly internalType: "uint256";
|
|
22068
|
-
readonly name: "
|
|
22172
|
+
readonly name: "assessmentRewardsBatchSize";
|
|
22069
22173
|
readonly type: "uint256";
|
|
22070
22174
|
}, {
|
|
22071
22175
|
readonly internalType: "uint256";
|
|
22072
|
-
readonly name: "
|
|
22176
|
+
readonly name: "govRewardsBatchSize";
|
|
22073
22177
|
readonly type: "uint256";
|
|
22074
22178
|
}];
|
|
22075
|
-
readonly name: "
|
|
22179
|
+
readonly name: "withdrawNXM";
|
|
22076
22180
|
readonly outputs: readonly [];
|
|
22077
22181
|
readonly stateMutability: "nonpayable";
|
|
22078
22182
|
readonly type: "function";
|
|
22079
22183
|
}, {
|
|
22080
22184
|
readonly inputs: readonly [{
|
|
22081
22185
|
readonly internalType: "address";
|
|
22082
|
-
readonly name: "
|
|
22186
|
+
readonly name: "to";
|
|
22083
22187
|
readonly type: "address";
|
|
22084
22188
|
}, {
|
|
22085
|
-
readonly internalType: "
|
|
22086
|
-
readonly name: "
|
|
22087
|
-
readonly type: "
|
|
22189
|
+
readonly internalType: "uint256";
|
|
22190
|
+
readonly name: "stakeToWithdraw";
|
|
22191
|
+
readonly type: "uint256";
|
|
22088
22192
|
}, {
|
|
22089
|
-
readonly internalType: "
|
|
22090
|
-
readonly name: "
|
|
22091
|
-
readonly type: "
|
|
22193
|
+
readonly internalType: "uint256";
|
|
22194
|
+
readonly name: "rewardsToWithdraw";
|
|
22195
|
+
readonly type: "uint256";
|
|
22092
22196
|
}, {
|
|
22093
22197
|
readonly internalType: "uint256";
|
|
22094
|
-
readonly name: "
|
|
22198
|
+
readonly name: "poolId";
|
|
22095
22199
|
readonly type: "uint256";
|
|
22096
22200
|
}];
|
|
22097
|
-
readonly name: "
|
|
22201
|
+
readonly name: "withdrawNXMStakeAndRewards";
|
|
22098
22202
|
readonly outputs: readonly [];
|
|
22099
22203
|
readonly stateMutability: "nonpayable";
|
|
22100
22204
|
readonly type: "function";
|
|
@@ -22471,6 +22575,74 @@ declare const nexusSdk: {
|
|
|
22471
22575
|
}];
|
|
22472
22576
|
readonly stateMutability: "nonpayable";
|
|
22473
22577
|
readonly type: "constructor";
|
|
22578
|
+
}, {
|
|
22579
|
+
readonly inputs: readonly [];
|
|
22580
|
+
readonly name: "AcceptVoteRequired";
|
|
22581
|
+
readonly type: "error";
|
|
22582
|
+
}, {
|
|
22583
|
+
readonly inputs: readonly [];
|
|
22584
|
+
readonly name: "AlreadyVoted";
|
|
22585
|
+
readonly type: "error";
|
|
22586
|
+
}, {
|
|
22587
|
+
readonly inputs: readonly [];
|
|
22588
|
+
readonly name: "AssessmentIdsIpfsLengthMismatch";
|
|
22589
|
+
readonly type: "error";
|
|
22590
|
+
}, {
|
|
22591
|
+
readonly inputs: readonly [];
|
|
22592
|
+
readonly name: "AssessmentIdsVotesLengthMismatch";
|
|
22593
|
+
readonly type: "error";
|
|
22594
|
+
}, {
|
|
22595
|
+
readonly inputs: readonly [{
|
|
22596
|
+
readonly internalType: "uint256";
|
|
22597
|
+
readonly name: "maxUnstakeAmount";
|
|
22598
|
+
readonly type: "uint256";
|
|
22599
|
+
}];
|
|
22600
|
+
readonly name: "InvalidAmount";
|
|
22601
|
+
readonly type: "error";
|
|
22602
|
+
}, {
|
|
22603
|
+
readonly inputs: readonly [];
|
|
22604
|
+
readonly name: "InvalidMerkleProof";
|
|
22605
|
+
readonly type: "error";
|
|
22606
|
+
}, {
|
|
22607
|
+
readonly inputs: readonly [];
|
|
22608
|
+
readonly name: "NoWithdrawableRewards";
|
|
22609
|
+
readonly type: "error";
|
|
22610
|
+
}, {
|
|
22611
|
+
readonly inputs: readonly [{
|
|
22612
|
+
readonly internalType: "address";
|
|
22613
|
+
readonly name: "nonMember";
|
|
22614
|
+
readonly type: "address";
|
|
22615
|
+
}];
|
|
22616
|
+
readonly name: "NotMember";
|
|
22617
|
+
readonly type: "error";
|
|
22618
|
+
}, {
|
|
22619
|
+
readonly inputs: readonly [];
|
|
22620
|
+
readonly name: "OnlyTokenController";
|
|
22621
|
+
readonly type: "error";
|
|
22622
|
+
}, {
|
|
22623
|
+
readonly inputs: readonly [{
|
|
22624
|
+
readonly internalType: "uint256";
|
|
22625
|
+
readonly name: "lockupExpiry";
|
|
22626
|
+
readonly type: "uint256";
|
|
22627
|
+
}];
|
|
22628
|
+
readonly name: "StakeLockedForAssessment";
|
|
22629
|
+
readonly type: "error";
|
|
22630
|
+
}, {
|
|
22631
|
+
readonly inputs: readonly [{
|
|
22632
|
+
readonly internalType: "uint256";
|
|
22633
|
+
readonly name: "lockupExpiry";
|
|
22634
|
+
readonly type: "uint256";
|
|
22635
|
+
}];
|
|
22636
|
+
readonly name: "StakeLockedForGovernance";
|
|
22637
|
+
readonly type: "error";
|
|
22638
|
+
}, {
|
|
22639
|
+
readonly inputs: readonly [];
|
|
22640
|
+
readonly name: "StakeRequired";
|
|
22641
|
+
readonly type: "error";
|
|
22642
|
+
}, {
|
|
22643
|
+
readonly inputs: readonly [];
|
|
22644
|
+
readonly name: "VotingClosed";
|
|
22645
|
+
readonly type: "error";
|
|
22474
22646
|
}, {
|
|
22475
22647
|
readonly anonymous: false;
|
|
22476
22648
|
readonly inputs: readonly [{
|
|
@@ -22953,6 +23125,16 @@ declare const nexusSdk: {
|
|
|
22953
23125
|
readonly outputs: readonly [];
|
|
22954
23126
|
readonly stateMutability: "nonpayable";
|
|
22955
23127
|
readonly type: "function";
|
|
23128
|
+
}, {
|
|
23129
|
+
readonly inputs: readonly [{
|
|
23130
|
+
readonly internalType: "address";
|
|
23131
|
+
readonly name: "staker";
|
|
23132
|
+
readonly type: "address";
|
|
23133
|
+
}];
|
|
23134
|
+
readonly name: "unstakeAllFor";
|
|
23135
|
+
readonly outputs: readonly [];
|
|
23136
|
+
readonly stateMutability: "nonpayable";
|
|
23137
|
+
readonly type: "function";
|
|
22956
23138
|
}, {
|
|
22957
23139
|
readonly inputs: readonly [{
|
|
22958
23140
|
readonly internalType: "enum IAssessment.UintParams[]";
|
|
@@ -23188,6 +23370,10 @@ declare const nexusSdk: {
|
|
|
23188
23370
|
readonly inputs: readonly [];
|
|
23189
23371
|
readonly name: "OnlyOwnerOrApproved";
|
|
23190
23372
|
readonly type: "error";
|
|
23373
|
+
}, {
|
|
23374
|
+
readonly inputs: readonly [];
|
|
23375
|
+
readonly name: "OnlySwapOperator";
|
|
23376
|
+
readonly type: "error";
|
|
23191
23377
|
}, {
|
|
23192
23378
|
readonly inputs: readonly [];
|
|
23193
23379
|
readonly name: "PriceExceedsMaxPremiumInAsset";
|
|
@@ -23791,6 +23977,16 @@ declare const nexusSdk: {
|
|
|
23791
23977
|
}];
|
|
23792
23978
|
readonly stateMutability: "view";
|
|
23793
23979
|
readonly type: "function";
|
|
23980
|
+
}, {
|
|
23981
|
+
readonly inputs: readonly [{
|
|
23982
|
+
readonly internalType: "uint256[][][]";
|
|
23983
|
+
readonly name: "tokenIds";
|
|
23984
|
+
readonly type: "uint256[][][]";
|
|
23985
|
+
}];
|
|
23986
|
+
readonly name: "updateStakingPoolsRewardShares";
|
|
23987
|
+
readonly outputs: readonly [];
|
|
23988
|
+
readonly stateMutability: "nonpayable";
|
|
23989
|
+
readonly type: "function";
|
|
23794
23990
|
}, {
|
|
23795
23991
|
readonly inputs: readonly [{
|
|
23796
23992
|
readonly internalType: "uint256";
|
|
@@ -35901,16 +36097,6 @@ declare const nexusSdk: {
|
|
|
35901
36097
|
}];
|
|
35902
36098
|
readonly name: "DepositExtended";
|
|
35903
36099
|
readonly type: "event";
|
|
35904
|
-
}, {
|
|
35905
|
-
readonly anonymous: false;
|
|
35906
|
-
readonly inputs: readonly [{
|
|
35907
|
-
readonly indexed: false;
|
|
35908
|
-
readonly internalType: "string";
|
|
35909
|
-
readonly name: "ipfsDescriptionHash";
|
|
35910
|
-
readonly type: "string";
|
|
35911
|
-
}];
|
|
35912
|
-
readonly name: "PoolDescriptionSet";
|
|
35913
|
-
readonly type: "event";
|
|
35914
36100
|
}, {
|
|
35915
36101
|
readonly anonymous: false;
|
|
35916
36102
|
readonly inputs: readonly [{
|
|
@@ -36116,26 +36302,6 @@ declare const nexusSdk: {
|
|
|
36116
36302
|
}];
|
|
36117
36303
|
readonly stateMutability: "view";
|
|
36118
36304
|
readonly type: "function";
|
|
36119
|
-
}, {
|
|
36120
|
-
readonly inputs: readonly [];
|
|
36121
|
-
readonly name: "REWARD_BONUS_PER_TRANCHE_DENOMINATOR";
|
|
36122
|
-
readonly outputs: readonly [{
|
|
36123
|
-
readonly internalType: "uint256";
|
|
36124
|
-
readonly name: "";
|
|
36125
|
-
readonly type: "uint256";
|
|
36126
|
-
}];
|
|
36127
|
-
readonly stateMutability: "view";
|
|
36128
|
-
readonly type: "function";
|
|
36129
|
-
}, {
|
|
36130
|
-
readonly inputs: readonly [];
|
|
36131
|
-
readonly name: "REWARD_BONUS_PER_TRANCHE_RATIO";
|
|
36132
|
-
readonly outputs: readonly [{
|
|
36133
|
-
readonly internalType: "uint256";
|
|
36134
|
-
readonly name: "";
|
|
36135
|
-
readonly type: "uint256";
|
|
36136
|
-
}];
|
|
36137
|
-
readonly stateMutability: "view";
|
|
36138
|
-
readonly type: "function";
|
|
36139
36305
|
}, {
|
|
36140
36306
|
readonly inputs: readonly [];
|
|
36141
36307
|
readonly name: "TRANCHE_DURATION";
|
|
@@ -36191,46 +36357,6 @@ declare const nexusSdk: {
|
|
|
36191
36357
|
readonly outputs: readonly [];
|
|
36192
36358
|
readonly stateMutability: "nonpayable";
|
|
36193
36359
|
readonly type: "function";
|
|
36194
|
-
}, {
|
|
36195
|
-
readonly inputs: readonly [{
|
|
36196
|
-
readonly internalType: "uint256";
|
|
36197
|
-
readonly name: "initialStakeShares";
|
|
36198
|
-
readonly type: "uint256";
|
|
36199
|
-
}, {
|
|
36200
|
-
readonly internalType: "uint256";
|
|
36201
|
-
readonly name: "stakeSharesIncrease";
|
|
36202
|
-
readonly type: "uint256";
|
|
36203
|
-
}, {
|
|
36204
|
-
readonly internalType: "uint256";
|
|
36205
|
-
readonly name: "initialTrancheId";
|
|
36206
|
-
readonly type: "uint256";
|
|
36207
|
-
}, {
|
|
36208
|
-
readonly internalType: "uint256";
|
|
36209
|
-
readonly name: "newTrancheId";
|
|
36210
|
-
readonly type: "uint256";
|
|
36211
|
-
}, {
|
|
36212
|
-
readonly internalType: "uint256";
|
|
36213
|
-
readonly name: "blockTimestamp";
|
|
36214
|
-
readonly type: "uint256";
|
|
36215
|
-
}];
|
|
36216
|
-
readonly name: "calculateNewRewardShares";
|
|
36217
|
-
readonly outputs: readonly [{
|
|
36218
|
-
readonly internalType: "uint256";
|
|
36219
|
-
readonly name: "";
|
|
36220
|
-
readonly type: "uint256";
|
|
36221
|
-
}];
|
|
36222
|
-
readonly stateMutability: "pure";
|
|
36223
|
-
readonly type: "function";
|
|
36224
|
-
}, {
|
|
36225
|
-
readonly inputs: readonly [];
|
|
36226
|
-
readonly name: "coverContract";
|
|
36227
|
-
readonly outputs: readonly [{
|
|
36228
|
-
readonly internalType: "address";
|
|
36229
|
-
readonly name: "";
|
|
36230
|
-
readonly type: "address";
|
|
36231
|
-
}];
|
|
36232
|
-
readonly stateMutability: "view";
|
|
36233
|
-
readonly type: "function";
|
|
36234
36360
|
}, {
|
|
36235
36361
|
readonly inputs: readonly [{
|
|
36236
36362
|
readonly internalType: "uint256";
|
|
@@ -36334,7 +36460,7 @@ declare const nexusSdk: {
|
|
|
36334
36460
|
readonly type: "uint256";
|
|
36335
36461
|
}, {
|
|
36336
36462
|
readonly internalType: "uint256";
|
|
36337
|
-
readonly name: "
|
|
36463
|
+
readonly name: "targetTrancheId";
|
|
36338
36464
|
readonly type: "uint256";
|
|
36339
36465
|
}, {
|
|
36340
36466
|
readonly internalType: "uint256";
|
|
@@ -36622,10 +36748,6 @@ declare const nexusSdk: {
|
|
|
36622
36748
|
readonly internalType: "uint256";
|
|
36623
36749
|
readonly name: "_poolId";
|
|
36624
36750
|
readonly type: "uint256";
|
|
36625
|
-
}, {
|
|
36626
|
-
readonly internalType: "string";
|
|
36627
|
-
readonly name: "ipfsDescriptionHash";
|
|
36628
|
-
readonly type: "string";
|
|
36629
36751
|
}];
|
|
36630
36752
|
readonly name: "initialize";
|
|
36631
36753
|
readonly outputs: readonly [];
|
|
@@ -36661,16 +36783,6 @@ declare const nexusSdk: {
|
|
|
36661
36783
|
}];
|
|
36662
36784
|
readonly stateMutability: "view";
|
|
36663
36785
|
readonly type: "function";
|
|
36664
|
-
}, {
|
|
36665
|
-
readonly inputs: readonly [];
|
|
36666
|
-
readonly name: "masterContract";
|
|
36667
|
-
readonly outputs: readonly [{
|
|
36668
|
-
readonly internalType: "contract INXMMaster";
|
|
36669
|
-
readonly name: "";
|
|
36670
|
-
readonly type: "address";
|
|
36671
|
-
}];
|
|
36672
|
-
readonly stateMutability: "view";
|
|
36673
|
-
readonly type: "function";
|
|
36674
36786
|
}, {
|
|
36675
36787
|
readonly inputs: readonly [{
|
|
36676
36788
|
readonly internalType: "bytes[]";
|
|
@@ -36685,16 +36797,6 @@ declare const nexusSdk: {
|
|
|
36685
36797
|
}];
|
|
36686
36798
|
readonly stateMutability: "nonpayable";
|
|
36687
36799
|
readonly type: "function";
|
|
36688
|
-
}, {
|
|
36689
|
-
readonly inputs: readonly [];
|
|
36690
|
-
readonly name: "nxm";
|
|
36691
|
-
readonly outputs: readonly [{
|
|
36692
|
-
readonly internalType: "contract INXMToken";
|
|
36693
|
-
readonly name: "";
|
|
36694
|
-
readonly type: "address";
|
|
36695
|
-
}];
|
|
36696
|
-
readonly stateMutability: "view";
|
|
36697
|
-
readonly type: "function";
|
|
36698
36800
|
}, {
|
|
36699
36801
|
readonly inputs: readonly [{
|
|
36700
36802
|
readonly internalType: "bool";
|
|
@@ -36798,16 +36900,6 @@ declare const nexusSdk: {
|
|
|
36798
36900
|
}];
|
|
36799
36901
|
readonly stateMutability: "view";
|
|
36800
36902
|
readonly type: "function";
|
|
36801
|
-
}, {
|
|
36802
|
-
readonly inputs: readonly [{
|
|
36803
|
-
readonly internalType: "string";
|
|
36804
|
-
readonly name: "ipfsDescriptionHash";
|
|
36805
|
-
readonly type: "string";
|
|
36806
|
-
}];
|
|
36807
|
-
readonly name: "setPoolDescription";
|
|
36808
|
-
readonly outputs: readonly [];
|
|
36809
|
-
readonly stateMutability: "nonpayable";
|
|
36810
|
-
readonly type: "function";
|
|
36811
36903
|
}, {
|
|
36812
36904
|
readonly inputs: readonly [{
|
|
36813
36905
|
readonly internalType: "uint256";
|
|
@@ -36828,36 +36920,6 @@ declare const nexusSdk: {
|
|
|
36828
36920
|
readonly outputs: readonly [];
|
|
36829
36921
|
readonly stateMutability: "nonpayable";
|
|
36830
36922
|
readonly type: "function";
|
|
36831
|
-
}, {
|
|
36832
|
-
readonly inputs: readonly [];
|
|
36833
|
-
readonly name: "stakingNFT";
|
|
36834
|
-
readonly outputs: readonly [{
|
|
36835
|
-
readonly internalType: "contract IStakingNFT";
|
|
36836
|
-
readonly name: "";
|
|
36837
|
-
readonly type: "address";
|
|
36838
|
-
}];
|
|
36839
|
-
readonly stateMutability: "view";
|
|
36840
|
-
readonly type: "function";
|
|
36841
|
-
}, {
|
|
36842
|
-
readonly inputs: readonly [];
|
|
36843
|
-
readonly name: "stakingProducts";
|
|
36844
|
-
readonly outputs: readonly [{
|
|
36845
|
-
readonly internalType: "contract IStakingProducts";
|
|
36846
|
-
readonly name: "";
|
|
36847
|
-
readonly type: "address";
|
|
36848
|
-
}];
|
|
36849
|
-
readonly stateMutability: "view";
|
|
36850
|
-
readonly type: "function";
|
|
36851
|
-
}, {
|
|
36852
|
-
readonly inputs: readonly [];
|
|
36853
|
-
readonly name: "tokenController";
|
|
36854
|
-
readonly outputs: readonly [{
|
|
36855
|
-
readonly internalType: "contract ITokenController";
|
|
36856
|
-
readonly name: "";
|
|
36857
|
-
readonly type: "address";
|
|
36858
|
-
}];
|
|
36859
|
-
readonly stateMutability: "view";
|
|
36860
|
-
readonly type: "function";
|
|
36861
36923
|
}, {
|
|
36862
36924
|
readonly inputs: readonly [{
|
|
36863
36925
|
readonly internalType: "uint256";
|
|
@@ -36876,6 +36938,20 @@ declare const nexusSdk: {
|
|
|
36876
36938
|
}];
|
|
36877
36939
|
readonly stateMutability: "view";
|
|
36878
36940
|
readonly type: "function";
|
|
36941
|
+
}, {
|
|
36942
|
+
readonly inputs: readonly [{
|
|
36943
|
+
readonly internalType: "uint256";
|
|
36944
|
+
readonly name: "trancheId";
|
|
36945
|
+
readonly type: "uint256";
|
|
36946
|
+
}, {
|
|
36947
|
+
readonly internalType: "uint256[]";
|
|
36948
|
+
readonly name: "tokenIds";
|
|
36949
|
+
readonly type: "uint256[]";
|
|
36950
|
+
}];
|
|
36951
|
+
readonly name: "updateRewardsShares";
|
|
36952
|
+
readonly outputs: readonly [];
|
|
36953
|
+
readonly stateMutability: "nonpayable";
|
|
36954
|
+
readonly type: "function";
|
|
36879
36955
|
}, {
|
|
36880
36956
|
readonly inputs: readonly [{
|
|
36881
36957
|
readonly internalType: "uint256";
|
|
@@ -36923,6 +36999,10 @@ declare const nexusSdk: {
|
|
|
36923
36999
|
readonly inputs: readonly [];
|
|
36924
37000
|
readonly name: "InvalidProductType";
|
|
36925
37001
|
readonly type: "error";
|
|
37002
|
+
}, {
|
|
37003
|
+
readonly inputs: readonly [];
|
|
37004
|
+
readonly name: "IpfsHashRequired";
|
|
37005
|
+
readonly type: "error";
|
|
36926
37006
|
}, {
|
|
36927
37007
|
readonly inputs: readonly [];
|
|
36928
37008
|
readonly name: "MustRecalculateEffectiveWeight";
|
|
@@ -37421,7 +37501,7 @@ declare const nexusSdk: {
|
|
|
37421
37501
|
readonly type: "tuple[]";
|
|
37422
37502
|
}, {
|
|
37423
37503
|
readonly internalType: "string";
|
|
37424
|
-
readonly name: "
|
|
37504
|
+
readonly name: "ipfsHash";
|
|
37425
37505
|
readonly type: "string";
|
|
37426
37506
|
}];
|
|
37427
37507
|
readonly name: "createStakingPool";
|
|
@@ -37492,6 +37572,34 @@ declare const nexusSdk: {
|
|
|
37492
37572
|
}];
|
|
37493
37573
|
readonly stateMutability: "view";
|
|
37494
37574
|
readonly type: "function";
|
|
37575
|
+
}, {
|
|
37576
|
+
readonly inputs: readonly [{
|
|
37577
|
+
readonly internalType: "uint256";
|
|
37578
|
+
readonly name: "poolId";
|
|
37579
|
+
readonly type: "uint256";
|
|
37580
|
+
}];
|
|
37581
|
+
readonly name: "getPoolManager";
|
|
37582
|
+
readonly outputs: readonly [{
|
|
37583
|
+
readonly internalType: "address";
|
|
37584
|
+
readonly name: "";
|
|
37585
|
+
readonly type: "address";
|
|
37586
|
+
}];
|
|
37587
|
+
readonly stateMutability: "view";
|
|
37588
|
+
readonly type: "function";
|
|
37589
|
+
}, {
|
|
37590
|
+
readonly inputs: readonly [{
|
|
37591
|
+
readonly internalType: "uint256";
|
|
37592
|
+
readonly name: "poolId";
|
|
37593
|
+
readonly type: "uint256";
|
|
37594
|
+
}];
|
|
37595
|
+
readonly name: "getPoolMetadata";
|
|
37596
|
+
readonly outputs: readonly [{
|
|
37597
|
+
readonly internalType: "string";
|
|
37598
|
+
readonly name: "ipfsHash";
|
|
37599
|
+
readonly type: "string";
|
|
37600
|
+
}];
|
|
37601
|
+
readonly stateMutability: "view";
|
|
37602
|
+
readonly type: "function";
|
|
37495
37603
|
}, {
|
|
37496
37604
|
readonly inputs: readonly [{
|
|
37497
37605
|
readonly internalType: "uint256";
|
|
@@ -37694,6 +37802,30 @@ declare const nexusSdk: {
|
|
|
37694
37802
|
readonly outputs: readonly [];
|
|
37695
37803
|
readonly stateMutability: "nonpayable";
|
|
37696
37804
|
readonly type: "function";
|
|
37805
|
+
}, {
|
|
37806
|
+
readonly inputs: readonly [{
|
|
37807
|
+
readonly internalType: "string[]";
|
|
37808
|
+
readonly name: "ipfsHashes";
|
|
37809
|
+
readonly type: "string[]";
|
|
37810
|
+
}];
|
|
37811
|
+
readonly name: "setInitialMetadata";
|
|
37812
|
+
readonly outputs: readonly [];
|
|
37813
|
+
readonly stateMutability: "nonpayable";
|
|
37814
|
+
readonly type: "function";
|
|
37815
|
+
}, {
|
|
37816
|
+
readonly inputs: readonly [{
|
|
37817
|
+
readonly internalType: "uint256";
|
|
37818
|
+
readonly name: "poolId";
|
|
37819
|
+
readonly type: "uint256";
|
|
37820
|
+
}, {
|
|
37821
|
+
readonly internalType: "string";
|
|
37822
|
+
readonly name: "ipfsHash";
|
|
37823
|
+
readonly type: "string";
|
|
37824
|
+
}];
|
|
37825
|
+
readonly name: "setPoolMetadata";
|
|
37826
|
+
readonly outputs: readonly [];
|
|
37827
|
+
readonly stateMutability: "nonpayable";
|
|
37828
|
+
readonly type: "function";
|
|
37697
37829
|
}, {
|
|
37698
37830
|
readonly inputs: readonly [{
|
|
37699
37831
|
readonly internalType: "uint256";
|
|
@@ -37909,6 +38041,10 @@ declare const nexusSdk: {
|
|
|
37909
38041
|
readonly internalType: "uint256";
|
|
37910
38042
|
readonly name: "currentAPY";
|
|
37911
38043
|
readonly type: "uint256";
|
|
38044
|
+
}, {
|
|
38045
|
+
readonly internalType: "string";
|
|
38046
|
+
readonly name: "metadataIpfsHash";
|
|
38047
|
+
readonly type: "string";
|
|
37912
38048
|
}];
|
|
37913
38049
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
37914
38050
|
readonly name: "pools";
|
|
@@ -37952,6 +38088,10 @@ declare const nexusSdk: {
|
|
|
37952
38088
|
readonly internalType: "uint256";
|
|
37953
38089
|
readonly name: "currentAPY";
|
|
37954
38090
|
readonly type: "uint256";
|
|
38091
|
+
}, {
|
|
38092
|
+
readonly internalType: "string";
|
|
38093
|
+
readonly name: "metadataIpfsHash";
|
|
38094
|
+
readonly type: "string";
|
|
37955
38095
|
}];
|
|
37956
38096
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
37957
38097
|
readonly name: "";
|
|
@@ -37996,6 +38136,10 @@ declare const nexusSdk: {
|
|
|
37996
38136
|
readonly internalType: "uint256";
|
|
37997
38137
|
readonly name: "currentAPY";
|
|
37998
38138
|
readonly type: "uint256";
|
|
38139
|
+
}, {
|
|
38140
|
+
readonly internalType: "string";
|
|
38141
|
+
readonly name: "metadataIpfsHash";
|
|
38142
|
+
readonly type: "string";
|
|
37999
38143
|
}];
|
|
38000
38144
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
38001
38145
|
readonly name: "pools";
|
|
@@ -38231,6 +38375,10 @@ declare const nexusSdk: {
|
|
|
38231
38375
|
readonly internalType: "uint256";
|
|
38232
38376
|
readonly name: "currentAPY";
|
|
38233
38377
|
readonly type: "uint256";
|
|
38378
|
+
}, {
|
|
38379
|
+
readonly internalType: "string";
|
|
38380
|
+
readonly name: "metadataIpfsHash";
|
|
38381
|
+
readonly type: "string";
|
|
38234
38382
|
}];
|
|
38235
38383
|
readonly internalType: "struct IStakingViewer.Pool";
|
|
38236
38384
|
readonly name: "pool";
|
|
@@ -38313,6 +38461,10 @@ declare const nexusSdk: {
|
|
|
38313
38461
|
readonly internalType: "uint256";
|
|
38314
38462
|
readonly name: "currentAPY";
|
|
38315
38463
|
readonly type: "uint256";
|
|
38464
|
+
}, {
|
|
38465
|
+
readonly internalType: "string";
|
|
38466
|
+
readonly name: "metadataIpfsHash";
|
|
38467
|
+
readonly type: "string";
|
|
38316
38468
|
}];
|
|
38317
38469
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
38318
38470
|
readonly name: "pools";
|
|
@@ -38356,6 +38508,10 @@ declare const nexusSdk: {
|
|
|
38356
38508
|
readonly internalType: "uint256";
|
|
38357
38509
|
readonly name: "currentAPY";
|
|
38358
38510
|
readonly type: "uint256";
|
|
38511
|
+
}, {
|
|
38512
|
+
readonly internalType: "string";
|
|
38513
|
+
readonly name: "metadataIpfsHash";
|
|
38514
|
+
readonly type: "string";
|
|
38359
38515
|
}];
|
|
38360
38516
|
readonly internalType: "struct IStakingViewer.Pool[]";
|
|
38361
38517
|
readonly name: "pools";
|
|
@@ -39499,6 +39655,10 @@ declare const nexusSdk: {
|
|
|
39499
39655
|
readonly internalType: "address";
|
|
39500
39656
|
readonly name: "tokenAddress";
|
|
39501
39657
|
readonly type: "address";
|
|
39658
|
+
}, {
|
|
39659
|
+
readonly internalType: "address";
|
|
39660
|
+
readonly name: "stakingNFTAddress";
|
|
39661
|
+
readonly type: "address";
|
|
39502
39662
|
}];
|
|
39503
39663
|
readonly stateMutability: "nonpayable";
|
|
39504
39664
|
readonly type: "constructor";
|
|
@@ -40047,6 +40207,16 @@ declare const nexusSdk: {
|
|
|
40047
40207
|
readonly outputs: readonly [];
|
|
40048
40208
|
readonly stateMutability: "nonpayable";
|
|
40049
40209
|
readonly type: "function";
|
|
40210
|
+
}, {
|
|
40211
|
+
readonly inputs: readonly [];
|
|
40212
|
+
readonly name: "stakingNFT";
|
|
40213
|
+
readonly outputs: readonly [{
|
|
40214
|
+
readonly internalType: "contract IStakingNFT";
|
|
40215
|
+
readonly name: "";
|
|
40216
|
+
readonly type: "address";
|
|
40217
|
+
}];
|
|
40218
|
+
readonly stateMutability: "view";
|
|
40219
|
+
readonly type: "function";
|
|
40050
40220
|
}, {
|
|
40051
40221
|
readonly inputs: readonly [];
|
|
40052
40222
|
readonly name: "stakingPoolFactory";
|
|
@@ -40227,45 +40397,76 @@ declare const nexusSdk: {
|
|
|
40227
40397
|
readonly type: "function";
|
|
40228
40398
|
}, {
|
|
40229
40399
|
readonly inputs: readonly [{
|
|
40230
|
-
readonly
|
|
40231
|
-
|
|
40232
|
-
|
|
40400
|
+
readonly components: readonly [{
|
|
40401
|
+
readonly internalType: "bool";
|
|
40402
|
+
readonly name: "stake";
|
|
40403
|
+
readonly type: "bool";
|
|
40404
|
+
}, {
|
|
40405
|
+
readonly internalType: "bool";
|
|
40406
|
+
readonly name: "rewards";
|
|
40407
|
+
readonly type: "bool";
|
|
40408
|
+
}];
|
|
40409
|
+
readonly internalType: "struct ITokenController.WithdrawAssessment";
|
|
40410
|
+
readonly name: "withdrawAssessment";
|
|
40411
|
+
readonly type: "tuple";
|
|
40233
40412
|
}, {
|
|
40234
|
-
readonly
|
|
40235
|
-
|
|
40236
|
-
|
|
40413
|
+
readonly components: readonly [{
|
|
40414
|
+
readonly internalType: "uint256";
|
|
40415
|
+
readonly name: "tokenId";
|
|
40416
|
+
readonly type: "uint256";
|
|
40417
|
+
}, {
|
|
40418
|
+
readonly internalType: "uint256[]";
|
|
40419
|
+
readonly name: "trancheIds";
|
|
40420
|
+
readonly type: "uint256[]";
|
|
40421
|
+
}];
|
|
40422
|
+
readonly internalType: "struct ITokenController.StakingPoolDeposit[]";
|
|
40423
|
+
readonly name: "stakingPoolDeposits";
|
|
40424
|
+
readonly type: "tuple[]";
|
|
40425
|
+
}, {
|
|
40426
|
+
readonly components: readonly [{
|
|
40427
|
+
readonly internalType: "uint256";
|
|
40428
|
+
readonly name: "poolId";
|
|
40429
|
+
readonly type: "uint256";
|
|
40430
|
+
}, {
|
|
40431
|
+
readonly internalType: "uint256[]";
|
|
40432
|
+
readonly name: "trancheIds";
|
|
40433
|
+
readonly type: "uint256[]";
|
|
40434
|
+
}];
|
|
40435
|
+
readonly internalType: "struct ITokenController.StakingPoolManagerReward[]";
|
|
40436
|
+
readonly name: "stakingPoolManagerRewards";
|
|
40437
|
+
readonly type: "tuple[]";
|
|
40237
40438
|
}, {
|
|
40238
40439
|
readonly internalType: "uint256";
|
|
40239
|
-
readonly name: "
|
|
40440
|
+
readonly name: "assessmentRewardsBatchSize";
|
|
40240
40441
|
readonly type: "uint256";
|
|
40241
40442
|
}, {
|
|
40242
40443
|
readonly internalType: "uint256";
|
|
40243
|
-
readonly name: "
|
|
40444
|
+
readonly name: "govRewardsBatchSize";
|
|
40244
40445
|
readonly type: "uint256";
|
|
40245
40446
|
}];
|
|
40246
|
-
readonly name: "
|
|
40447
|
+
readonly name: "withdrawNXM";
|
|
40247
40448
|
readonly outputs: readonly [];
|
|
40248
40449
|
readonly stateMutability: "nonpayable";
|
|
40249
40450
|
readonly type: "function";
|
|
40250
40451
|
}, {
|
|
40251
40452
|
readonly inputs: readonly [{
|
|
40252
40453
|
readonly internalType: "address";
|
|
40253
|
-
readonly name: "
|
|
40454
|
+
readonly name: "to";
|
|
40254
40455
|
readonly type: "address";
|
|
40255
40456
|
}, {
|
|
40256
|
-
readonly internalType: "
|
|
40257
|
-
readonly name: "
|
|
40258
|
-
readonly type: "
|
|
40457
|
+
readonly internalType: "uint256";
|
|
40458
|
+
readonly name: "stakeToWithdraw";
|
|
40459
|
+
readonly type: "uint256";
|
|
40259
40460
|
}, {
|
|
40260
|
-
readonly internalType: "
|
|
40261
|
-
readonly name: "
|
|
40262
|
-
readonly type: "
|
|
40461
|
+
readonly internalType: "uint256";
|
|
40462
|
+
readonly name: "rewardsToWithdraw";
|
|
40463
|
+
readonly type: "uint256";
|
|
40263
40464
|
}, {
|
|
40264
40465
|
readonly internalType: "uint256";
|
|
40265
|
-
readonly name: "
|
|
40466
|
+
readonly name: "poolId";
|
|
40266
40467
|
readonly type: "uint256";
|
|
40267
40468
|
}];
|
|
40268
|
-
readonly name: "
|
|
40469
|
+
readonly name: "withdrawNXMStakeAndRewards";
|
|
40269
40470
|
readonly outputs: readonly [];
|
|
40270
40471
|
readonly stateMutability: "nonpayable";
|
|
40271
40472
|
readonly type: "function";
|