@super-protocol/sdk-js 3.17.1 → 3.18.1
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/cjs/contracts/abi.d.ts +342 -104
- package/dist/cjs/contracts/abi.js +431 -119
- package/dist/cjs/index.d.ts +2 -0
- package/dist/cjs/index.js +6 -3
- package/dist/cjs/staticModels/Diamond.d.ts +6 -0
- package/dist/cjs/staticModels/Diamond.js +22 -0
- package/dist/cjs/tee/TeeCertificateService.js +1 -1
- package/dist/mjs/contracts/abi.d.ts +342 -104
- package/dist/mjs/contracts/abi.js +429 -117
- package/dist/mjs/index.d.ts +2 -0
- package/dist/mjs/index.js +3 -1
- package/dist/mjs/staticModels/Diamond.d.ts +6 -0
- package/dist/mjs/staticModels/Diamond.js +17 -0
- package/dist/mjs/tee/TeeCertificateService.js +1 -1
- package/package.json +1 -1
|
@@ -39,8 +39,9 @@ export declare const ProviderSecurityDepoUnlocked: "ProviderSecurityDepoUnlocked
|
|
|
39
39
|
export declare const ProviderViolationRateIncremented: "ProviderViolationRateIncremented";
|
|
40
40
|
export declare const DepositConfiscated: "DepositConfiscated";
|
|
41
41
|
export declare const RewardConfiscated: "RewardConfiscated";
|
|
42
|
-
export declare const RewardTokenChanged: "RewardTokenChanged";
|
|
43
42
|
export declare const StorageLocked: "StorageLocked";
|
|
43
|
+
export declare const TeeRewardTokenChanged: "TeeRewardTokenChanged";
|
|
44
|
+
export declare const TeeRewardsEnabled: "TeeRewardsEnabled";
|
|
44
45
|
export declare const TokenInfoUpdated: "TokenInfoUpdated";
|
|
45
46
|
export declare const TokenRemoved: "TokenRemoved";
|
|
46
47
|
export declare const ValueRewardsEnabled: "ValueRewardsEnabled";
|
|
@@ -64,7 +65,7 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
64
65
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
65
66
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
66
67
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
67
|
-
export type AbiEvent = typeof MrEnclaveBlacklisted | typeof MrSignerBlacklisted | typeof SerialNumberBlacklisted | typeof SetRootCert | typeof TcbAdded | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof ProfitWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof OfferVersionAdded | typeof OfferVersionDeleted | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderChangeWithdrawn | typeof OrderDepositRefilled | typeof OrderProfitWithdrawn | typeof OrderEncryptedResultUpdated | typeof OrderStarted | typeof OrderOptionsChangeRequested | typeof OrderOptionsChanged | typeof OrderSlotCountUpdateRequested | typeof OrderSlotCountUpdated | typeof RewardsClaimed | typeof SetValueOfferIgnored | typeof ProviderDepositTokenUpdated | typeof ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | typeof DepositConfiscated | typeof RewardConfiscated | typeof
|
|
68
|
+
export type AbiEvent = typeof MrEnclaveBlacklisted | typeof MrSignerBlacklisted | typeof SerialNumberBlacklisted | typeof SetRootCert | typeof TcbAdded | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof ProfitWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof OfferVersionAdded | typeof OfferVersionDeleted | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderChangeWithdrawn | typeof OrderDepositRefilled | typeof OrderProfitWithdrawn | typeof OrderEncryptedResultUpdated | typeof OrderStarted | typeof OrderOptionsChangeRequested | typeof OrderOptionsChanged | typeof OrderSlotCountUpdateRequested | typeof OrderSlotCountUpdated | typeof RewardsClaimed | typeof SetValueOfferIgnored | typeof ProviderDepositTokenUpdated | typeof ProviderModified | typeof ProviderRegistered | typeof ProviderSecurityDepoRefilled | typeof ProviderSecurityDepoUnlocked | typeof ProviderViolationRateIncremented | typeof DepositConfiscated | typeof RewardConfiscated | typeof StorageLocked | typeof TeeRewardTokenChanged | typeof TeeRewardsEnabled | typeof TokenInfoUpdated | typeof TokenRemoved | typeof ValueRewardsEnabled | typeof OptionAdded | typeof OptionDeleted | typeof OptionUpdated | typeof TeeSlotAdded | typeof TeeSlotDeleted | typeof TeeSlotUpdated | typeof TcbRewardUnlocked | typeof WarningMessage | typeof ValueSlotAdded | typeof ValueSlotDeleted | typeof ValueSlotUpdated | typeof DiamondCut | typeof OwnershipTransferred | typeof LoaderSecretAccessPublicKeySessionUpdated | typeof LoaderSessionKeyUpdated | typeof OfferResourceCreated | typeof OrderResourceCreated | typeof OfferStorageRequestCanceled | typeof OfferStorageRequestCreated | typeof SecretRequestCreated;
|
|
68
69
|
export declare const abi: readonly [{
|
|
69
70
|
readonly inputs: readonly [{
|
|
70
71
|
readonly internalType: "uint256";
|
|
@@ -930,6 +931,29 @@ export declare const abi: readonly [{
|
|
|
930
931
|
}];
|
|
931
932
|
readonly stateMutability: "view";
|
|
932
933
|
readonly type: "function";
|
|
934
|
+
}, {
|
|
935
|
+
readonly inputs: readonly [{
|
|
936
|
+
readonly internalType: "uint256";
|
|
937
|
+
readonly name: "teeOfferId";
|
|
938
|
+
readonly type: "uint256";
|
|
939
|
+
}];
|
|
940
|
+
readonly name: "getTeeOfferConsensusInfo";
|
|
941
|
+
readonly outputs: readonly [{
|
|
942
|
+
readonly components: readonly [{
|
|
943
|
+
readonly internalType: "uint256";
|
|
944
|
+
readonly name: "actualBlock";
|
|
945
|
+
readonly type: "uint256";
|
|
946
|
+
}, {
|
|
947
|
+
readonly internalType: "uint8";
|
|
948
|
+
readonly name: "forceTcbUpdate";
|
|
949
|
+
readonly type: "uint8";
|
|
950
|
+
}];
|
|
951
|
+
readonly internalType: "struct ConsensusStorageAccessor.TeeOfferConsensusInfo";
|
|
952
|
+
readonly name: "";
|
|
953
|
+
readonly type: "tuple";
|
|
954
|
+
}];
|
|
955
|
+
readonly stateMutability: "view";
|
|
956
|
+
readonly type: "function";
|
|
933
957
|
}, {
|
|
934
958
|
readonly inputs: readonly [{
|
|
935
959
|
readonly internalType: "uint256";
|
|
@@ -5678,6 +5702,10 @@ export declare const abi: readonly [{
|
|
|
5678
5702
|
readonly type: "event";
|
|
5679
5703
|
}, {
|
|
5680
5704
|
readonly inputs: readonly [{
|
|
5705
|
+
readonly internalType: "address";
|
|
5706
|
+
readonly name: "token";
|
|
5707
|
+
readonly type: "address";
|
|
5708
|
+
}, {
|
|
5681
5709
|
readonly internalType: "uint256";
|
|
5682
5710
|
readonly name: "amount";
|
|
5683
5711
|
readonly type: "uint256";
|
|
@@ -5800,6 +5828,16 @@ export declare const abi: readonly [{
|
|
|
5800
5828
|
}];
|
|
5801
5829
|
readonly stateMutability: "nonpayable";
|
|
5802
5830
|
readonly type: "function";
|
|
5831
|
+
}, {
|
|
5832
|
+
readonly inputs: readonly [{
|
|
5833
|
+
readonly internalType: "uint256";
|
|
5834
|
+
readonly name: "amount";
|
|
5835
|
+
readonly type: "uint256";
|
|
5836
|
+
}];
|
|
5837
|
+
readonly name: "addTeeConsensusReward";
|
|
5838
|
+
readonly outputs: readonly [];
|
|
5839
|
+
readonly stateMutability: "nonpayable";
|
|
5840
|
+
readonly type: "function";
|
|
5803
5841
|
}, {
|
|
5804
5842
|
readonly inputs: readonly [{
|
|
5805
5843
|
readonly components: readonly [{
|
|
@@ -5814,6 +5852,10 @@ export declare const abi: readonly [{
|
|
|
5814
5852
|
readonly internalType: "uint256";
|
|
5815
5853
|
readonly name: "previousValuableEpochPosition";
|
|
5816
5854
|
readonly type: "uint256";
|
|
5855
|
+
}, {
|
|
5856
|
+
readonly internalType: "address";
|
|
5857
|
+
readonly name: "token";
|
|
5858
|
+
readonly type: "address";
|
|
5817
5859
|
}];
|
|
5818
5860
|
readonly internalType: "struct ClaimRewardsArgs[]";
|
|
5819
5861
|
readonly name: "args";
|
|
@@ -5837,6 +5879,10 @@ export declare const abi: readonly [{
|
|
|
5837
5879
|
readonly internalType: "uint256";
|
|
5838
5880
|
readonly name: "previousValuableEpochPosition";
|
|
5839
5881
|
readonly type: "uint256";
|
|
5882
|
+
}, {
|
|
5883
|
+
readonly internalType: "address";
|
|
5884
|
+
readonly name: "token";
|
|
5885
|
+
readonly type: "address";
|
|
5840
5886
|
}];
|
|
5841
5887
|
readonly internalType: "struct ClaimRewardsArgs";
|
|
5842
5888
|
readonly name: "args";
|
|
@@ -6000,17 +6046,26 @@ export declare const abi: readonly [{
|
|
|
6000
6046
|
readonly type: "function";
|
|
6001
6047
|
}, {
|
|
6002
6048
|
readonly inputs: readonly [{
|
|
6003
|
-
readonly
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6049
|
+
readonly components: readonly [{
|
|
6050
|
+
readonly internalType: "uint256";
|
|
6051
|
+
readonly name: "epochIndex";
|
|
6052
|
+
readonly type: "uint256";
|
|
6053
|
+
}, {
|
|
6054
|
+
readonly internalType: "uint256";
|
|
6055
|
+
readonly name: "offerId";
|
|
6056
|
+
readonly type: "uint256";
|
|
6057
|
+
}, {
|
|
6058
|
+
readonly internalType: "uint256";
|
|
6059
|
+
readonly name: "previousValuableEpochPosition";
|
|
6060
|
+
readonly type: "uint256";
|
|
6061
|
+
}, {
|
|
6062
|
+
readonly internalType: "address";
|
|
6063
|
+
readonly name: "token";
|
|
6064
|
+
readonly type: "address";
|
|
6065
|
+
}];
|
|
6066
|
+
readonly internalType: "struct ClaimRewardsArgs";
|
|
6067
|
+
readonly name: "args";
|
|
6068
|
+
readonly type: "tuple";
|
|
6014
6069
|
}];
|
|
6015
6070
|
readonly name: "getValueReward";
|
|
6016
6071
|
readonly outputs: readonly [{
|
|
@@ -6067,6 +6122,10 @@ export declare const abi: readonly [{
|
|
|
6067
6122
|
readonly internalType: "uint256";
|
|
6068
6123
|
readonly name: "valueOfferId";
|
|
6069
6124
|
readonly type: "uint256";
|
|
6125
|
+
}, {
|
|
6126
|
+
readonly internalType: "address";
|
|
6127
|
+
readonly name: "token";
|
|
6128
|
+
readonly type: "address";
|
|
6070
6129
|
}];
|
|
6071
6130
|
readonly name: "isValueClaimAvailable";
|
|
6072
6131
|
readonly outputs: readonly [{
|
|
@@ -6269,7 +6328,7 @@ export declare const abi: readonly [{
|
|
|
6269
6328
|
readonly type: "uint256";
|
|
6270
6329
|
}, {
|
|
6271
6330
|
readonly internalType: "uint256";
|
|
6272
|
-
readonly name: "
|
|
6331
|
+
readonly name: "valueReward_DEPRECATED";
|
|
6273
6332
|
readonly type: "uint256";
|
|
6274
6333
|
}, {
|
|
6275
6334
|
readonly internalType: "uint128";
|
|
@@ -6305,7 +6364,7 @@ export declare const abi: readonly [{
|
|
|
6305
6364
|
readonly type: "uint16";
|
|
6306
6365
|
}, {
|
|
6307
6366
|
readonly internalType: "bool";
|
|
6308
|
-
readonly name: "
|
|
6367
|
+
readonly name: "updateTeeEpochReward";
|
|
6309
6368
|
readonly type: "bool";
|
|
6310
6369
|
}, {
|
|
6311
6370
|
readonly components: readonly [{
|
|
@@ -6382,6 +6441,10 @@ export declare const abi: readonly [{
|
|
|
6382
6441
|
readonly internalType: "struct ConsensusBenchmarkPriceMultipliers";
|
|
6383
6442
|
readonly name: "penaltyPriceMultipliers";
|
|
6384
6443
|
readonly type: "tuple";
|
|
6444
|
+
}, {
|
|
6445
|
+
readonly internalType: "uint256";
|
|
6446
|
+
readonly name: "lastUpdatedEpochIndex";
|
|
6447
|
+
readonly type: "uint256";
|
|
6385
6448
|
}];
|
|
6386
6449
|
readonly internalType: "struct Epoch";
|
|
6387
6450
|
readonly name: "";
|
|
@@ -6395,68 +6458,131 @@ export declare const abi: readonly [{
|
|
|
6395
6458
|
readonly name: "epochIndex";
|
|
6396
6459
|
readonly type: "uint256";
|
|
6397
6460
|
}];
|
|
6398
|
-
readonly name: "
|
|
6461
|
+
readonly name: "getEpochTeeRewardParams";
|
|
6399
6462
|
readonly outputs: readonly [{
|
|
6400
|
-
readonly internalType: "uint256";
|
|
6401
|
-
readonly name: "teeReward";
|
|
6402
|
-
readonly type: "uint256";
|
|
6403
|
-
}, {
|
|
6404
|
-
readonly internalType: "uint256";
|
|
6405
|
-
readonly name: "valueReward";
|
|
6406
|
-
readonly type: "uint256";
|
|
6407
|
-
}, {
|
|
6408
|
-
readonly internalType: "uint256";
|
|
6409
|
-
readonly name: "compensation";
|
|
6410
|
-
readonly type: "uint256";
|
|
6411
|
-
}, {
|
|
6412
6463
|
readonly components: readonly [{
|
|
6413
|
-
readonly internalType: "
|
|
6414
|
-
readonly name: "
|
|
6415
|
-
readonly type: "
|
|
6416
|
-
}, {
|
|
6417
|
-
readonly internalType: "uint128";
|
|
6418
|
-
readonly name: "ramMultiplier";
|
|
6419
|
-
readonly type: "uint128";
|
|
6464
|
+
readonly internalType: "uint256";
|
|
6465
|
+
readonly name: "teeReward";
|
|
6466
|
+
readonly type: "uint256";
|
|
6420
6467
|
}, {
|
|
6421
|
-
readonly internalType: "
|
|
6422
|
-
readonly name: "
|
|
6423
|
-
readonly type: "
|
|
6468
|
+
readonly internalType: "uint256";
|
|
6469
|
+
readonly name: "compensation";
|
|
6470
|
+
readonly type: "uint256";
|
|
6424
6471
|
}, {
|
|
6425
|
-
readonly
|
|
6426
|
-
|
|
6427
|
-
|
|
6472
|
+
readonly components: readonly [{
|
|
6473
|
+
readonly internalType: "uint128";
|
|
6474
|
+
readonly name: "cpuMultiplier";
|
|
6475
|
+
readonly type: "uint128";
|
|
6476
|
+
}, {
|
|
6477
|
+
readonly internalType: "uint128";
|
|
6478
|
+
readonly name: "ramMultiplier";
|
|
6479
|
+
readonly type: "uint128";
|
|
6480
|
+
}, {
|
|
6481
|
+
readonly internalType: "uint128";
|
|
6482
|
+
readonly name: "gpuMultiplier";
|
|
6483
|
+
readonly type: "uint128";
|
|
6484
|
+
}, {
|
|
6485
|
+
readonly internalType: "uint128";
|
|
6486
|
+
readonly name: "diskMultiplier";
|
|
6487
|
+
readonly type: "uint128";
|
|
6488
|
+
}, {
|
|
6489
|
+
readonly internalType: "uint128";
|
|
6490
|
+
readonly name: "networkMultiplier";
|
|
6491
|
+
readonly type: "uint128";
|
|
6492
|
+
}];
|
|
6493
|
+
readonly internalType: "struct ConsensusBenchmarkPriceMultipliers";
|
|
6494
|
+
readonly name: "priceMultipliers";
|
|
6495
|
+
readonly type: "tuple";
|
|
6428
6496
|
}, {
|
|
6429
|
-
readonly
|
|
6430
|
-
|
|
6431
|
-
|
|
6497
|
+
readonly components: readonly [{
|
|
6498
|
+
readonly internalType: "uint128";
|
|
6499
|
+
readonly name: "cpu";
|
|
6500
|
+
readonly type: "uint128";
|
|
6501
|
+
}, {
|
|
6502
|
+
readonly internalType: "uint128";
|
|
6503
|
+
readonly name: "ram";
|
|
6504
|
+
readonly type: "uint128";
|
|
6505
|
+
}, {
|
|
6506
|
+
readonly internalType: "uint128";
|
|
6507
|
+
readonly name: "gpu";
|
|
6508
|
+
readonly type: "uint128";
|
|
6509
|
+
}, {
|
|
6510
|
+
readonly internalType: "uint128";
|
|
6511
|
+
readonly name: "disk";
|
|
6512
|
+
readonly type: "uint128";
|
|
6513
|
+
}, {
|
|
6514
|
+
readonly internalType: "uint128";
|
|
6515
|
+
readonly name: "network";
|
|
6516
|
+
readonly type: "uint128";
|
|
6517
|
+
}];
|
|
6518
|
+
readonly internalType: "struct ConsensusPrices";
|
|
6519
|
+
readonly name: "consensusPrices";
|
|
6520
|
+
readonly type: "tuple";
|
|
6432
6521
|
}];
|
|
6433
|
-
readonly internalType: "struct
|
|
6434
|
-
readonly name: "
|
|
6522
|
+
readonly internalType: "struct TeeRewardParams";
|
|
6523
|
+
readonly name: "teeRewardParams";
|
|
6435
6524
|
readonly type: "tuple";
|
|
6525
|
+
}];
|
|
6526
|
+
readonly stateMutability: "view";
|
|
6527
|
+
readonly type: "function";
|
|
6528
|
+
}, {
|
|
6529
|
+
readonly inputs: readonly [{
|
|
6530
|
+
readonly internalType: "uint256";
|
|
6531
|
+
readonly name: "epochIndex";
|
|
6532
|
+
readonly type: "uint256";
|
|
6436
6533
|
}, {
|
|
6534
|
+
readonly internalType: "address";
|
|
6535
|
+
readonly name: "token";
|
|
6536
|
+
readonly type: "address";
|
|
6537
|
+
}];
|
|
6538
|
+
readonly name: "getEpochValueParams";
|
|
6539
|
+
readonly outputs: readonly [{
|
|
6437
6540
|
readonly components: readonly [{
|
|
6438
|
-
readonly internalType: "
|
|
6439
|
-
readonly name: "
|
|
6440
|
-
readonly type: "
|
|
6541
|
+
readonly internalType: "uint256";
|
|
6542
|
+
readonly name: "valueReward";
|
|
6543
|
+
readonly type: "uint256";
|
|
6441
6544
|
}, {
|
|
6442
|
-
readonly internalType: "
|
|
6443
|
-
readonly name: "
|
|
6444
|
-
readonly type: "
|
|
6545
|
+
readonly internalType: "address";
|
|
6546
|
+
readonly name: "rewardToken";
|
|
6547
|
+
readonly type: "address";
|
|
6445
6548
|
}, {
|
|
6446
|
-
readonly internalType: "
|
|
6447
|
-
readonly name: "
|
|
6448
|
-
readonly type: "
|
|
6549
|
+
readonly internalType: "bool";
|
|
6550
|
+
readonly name: "isInitialized";
|
|
6551
|
+
readonly type: "bool";
|
|
6552
|
+
}];
|
|
6553
|
+
readonly internalType: "struct EpochValueParams";
|
|
6554
|
+
readonly name: "";
|
|
6555
|
+
readonly type: "tuple";
|
|
6556
|
+
}];
|
|
6557
|
+
readonly stateMutability: "view";
|
|
6558
|
+
readonly type: "function";
|
|
6559
|
+
}, {
|
|
6560
|
+
readonly inputs: readonly [{
|
|
6561
|
+
readonly internalType: "uint256";
|
|
6562
|
+
readonly name: "epochIndex";
|
|
6563
|
+
readonly type: "uint256";
|
|
6564
|
+
}, {
|
|
6565
|
+
readonly internalType: "address";
|
|
6566
|
+
readonly name: "token";
|
|
6567
|
+
readonly type: "address";
|
|
6568
|
+
}];
|
|
6569
|
+
readonly name: "getEpochValueReward";
|
|
6570
|
+
readonly outputs: readonly [{
|
|
6571
|
+
readonly components: readonly [{
|
|
6572
|
+
readonly internalType: "uint256";
|
|
6573
|
+
readonly name: "valueReward";
|
|
6574
|
+
readonly type: "uint256";
|
|
6449
6575
|
}, {
|
|
6450
|
-
readonly internalType: "
|
|
6451
|
-
readonly name: "
|
|
6452
|
-
readonly type: "
|
|
6576
|
+
readonly internalType: "address";
|
|
6577
|
+
readonly name: "rewardToken";
|
|
6578
|
+
readonly type: "address";
|
|
6453
6579
|
}, {
|
|
6454
|
-
readonly internalType: "
|
|
6455
|
-
readonly name: "
|
|
6456
|
-
readonly type: "
|
|
6580
|
+
readonly internalType: "bool";
|
|
6581
|
+
readonly name: "isInitialized";
|
|
6582
|
+
readonly type: "bool";
|
|
6457
6583
|
}];
|
|
6458
|
-
readonly internalType: "struct
|
|
6459
|
-
readonly name: "
|
|
6584
|
+
readonly internalType: "struct EpochValueParams";
|
|
6585
|
+
readonly name: "";
|
|
6460
6586
|
readonly type: "tuple";
|
|
6461
6587
|
}];
|
|
6462
6588
|
readonly stateMutability: "view";
|
|
@@ -6484,7 +6610,11 @@ export declare const abi: readonly [{
|
|
|
6484
6610
|
readonly stateMutability: "view";
|
|
6485
6611
|
readonly type: "function";
|
|
6486
6612
|
}, {
|
|
6487
|
-
readonly inputs: readonly [
|
|
6613
|
+
readonly inputs: readonly [{
|
|
6614
|
+
readonly internalType: "address";
|
|
6615
|
+
readonly name: "token";
|
|
6616
|
+
readonly type: "address";
|
|
6617
|
+
}];
|
|
6488
6618
|
readonly name: "getRewardAccounting";
|
|
6489
6619
|
readonly outputs: readonly [{
|
|
6490
6620
|
readonly components: readonly [{
|
|
@@ -6619,6 +6749,29 @@ export declare const abi: readonly [{
|
|
|
6619
6749
|
}];
|
|
6620
6750
|
readonly stateMutability: "view";
|
|
6621
6751
|
readonly type: "function";
|
|
6752
|
+
}, {
|
|
6753
|
+
readonly inputs: readonly [];
|
|
6754
|
+
readonly name: "getTeeRewardAccounting";
|
|
6755
|
+
readonly outputs: readonly [{
|
|
6756
|
+
readonly components: readonly [{
|
|
6757
|
+
readonly internalType: "uint256";
|
|
6758
|
+
readonly name: "debtRewardAmount";
|
|
6759
|
+
readonly type: "uint256";
|
|
6760
|
+
}, {
|
|
6761
|
+
readonly internalType: "uint256";
|
|
6762
|
+
readonly name: "claimedAmount";
|
|
6763
|
+
readonly type: "uint256";
|
|
6764
|
+
}, {
|
|
6765
|
+
readonly internalType: "uint256";
|
|
6766
|
+
readonly name: "addedAmount";
|
|
6767
|
+
readonly type: "uint256";
|
|
6768
|
+
}];
|
|
6769
|
+
readonly internalType: "struct ProviderRewardsStorageAccessor.RewardAccounting";
|
|
6770
|
+
readonly name: "";
|
|
6771
|
+
readonly type: "tuple";
|
|
6772
|
+
}];
|
|
6773
|
+
readonly stateMutability: "view";
|
|
6774
|
+
readonly type: "function";
|
|
6622
6775
|
}, {
|
|
6623
6776
|
readonly inputs: readonly [{
|
|
6624
6777
|
readonly internalType: "uint256";
|
|
@@ -6679,16 +6832,16 @@ export declare const abi: readonly [{
|
|
|
6679
6832
|
readonly type: "bool";
|
|
6680
6833
|
}, {
|
|
6681
6834
|
readonly internalType: "bool";
|
|
6682
|
-
readonly name: "
|
|
6835
|
+
readonly name: "cacheSaved";
|
|
6683
6836
|
readonly type: "bool";
|
|
6684
6837
|
}, {
|
|
6685
|
-
readonly internalType: "
|
|
6686
|
-
readonly name: "
|
|
6687
|
-
readonly type: "
|
|
6838
|
+
readonly internalType: "uint16";
|
|
6839
|
+
readonly name: "calculationRewardShare";
|
|
6840
|
+
readonly type: "uint16";
|
|
6688
6841
|
}, {
|
|
6689
|
-
readonly internalType: "
|
|
6690
|
-
readonly name: "
|
|
6691
|
-
readonly type: "
|
|
6842
|
+
readonly internalType: "uint16";
|
|
6843
|
+
readonly name: "calculationGhostRewardShare";
|
|
6844
|
+
readonly type: "uint16";
|
|
6692
6845
|
}, {
|
|
6693
6846
|
readonly internalType: "uint128";
|
|
6694
6847
|
readonly name: "runningCommissionPrice";
|
|
@@ -6697,6 +6850,14 @@ export declare const abi: readonly [{
|
|
|
6697
6850
|
readonly internalType: "int128";
|
|
6698
6851
|
readonly name: "commissionDelta";
|
|
6699
6852
|
readonly type: "int128";
|
|
6853
|
+
}, {
|
|
6854
|
+
readonly internalType: "uint256";
|
|
6855
|
+
readonly name: "commissionCache";
|
|
6856
|
+
readonly type: "uint256";
|
|
6857
|
+
}, {
|
|
6858
|
+
readonly internalType: "uint256";
|
|
6859
|
+
readonly name: "ghostCommissionCache";
|
|
6860
|
+
readonly type: "uint256";
|
|
6700
6861
|
}];
|
|
6701
6862
|
readonly internalType: "struct ProviderRewardsStorageAccessor.ValueOffer";
|
|
6702
6863
|
readonly name: "";
|
|
@@ -6710,20 +6871,11 @@ export declare const abi: readonly [{
|
|
|
6710
6871
|
readonly name: "valueOfferId";
|
|
6711
6872
|
readonly type: "uint256";
|
|
6712
6873
|
}];
|
|
6713
|
-
readonly name: "
|
|
6874
|
+
readonly name: "getValueValuableEpochs";
|
|
6714
6875
|
readonly outputs: readonly [{
|
|
6715
|
-
readonly
|
|
6716
|
-
readonly internalType: "uint32[]";
|
|
6717
|
-
readonly name: "valuableEpochs";
|
|
6718
|
-
readonly type: "uint32[]";
|
|
6719
|
-
}, {
|
|
6720
|
-
readonly internalType: "uint256";
|
|
6721
|
-
readonly name: "remainReward_DEPRECATED";
|
|
6722
|
-
readonly type: "uint256";
|
|
6723
|
-
}];
|
|
6724
|
-
readonly internalType: "struct ProviderRewardsStorageAccessor.ValueOfferState";
|
|
6876
|
+
readonly internalType: "uint32[]";
|
|
6725
6877
|
readonly name: "";
|
|
6726
|
-
readonly type: "
|
|
6878
|
+
readonly type: "uint32[]";
|
|
6727
6879
|
}];
|
|
6728
6880
|
readonly stateMutability: "view";
|
|
6729
6881
|
readonly type: "function";
|
|
@@ -7444,6 +7596,16 @@ export declare const abi: readonly [{
|
|
|
7444
7596
|
}];
|
|
7445
7597
|
readonly stateMutability: "nonpayable";
|
|
7446
7598
|
readonly type: "function";
|
|
7599
|
+
}, {
|
|
7600
|
+
readonly anonymous: false;
|
|
7601
|
+
readonly inputs: readonly [{
|
|
7602
|
+
readonly indexed: false;
|
|
7603
|
+
readonly internalType: "bool";
|
|
7604
|
+
readonly name: "isLocked";
|
|
7605
|
+
readonly type: "bool";
|
|
7606
|
+
}];
|
|
7607
|
+
readonly name: "StorageLocked";
|
|
7608
|
+
readonly type: "event";
|
|
7447
7609
|
}, {
|
|
7448
7610
|
readonly anonymous: false;
|
|
7449
7611
|
readonly inputs: readonly [{
|
|
@@ -7457,17 +7619,17 @@ export declare const abi: readonly [{
|
|
|
7457
7619
|
readonly name: "token";
|
|
7458
7620
|
readonly type: "address";
|
|
7459
7621
|
}];
|
|
7460
|
-
readonly name: "
|
|
7622
|
+
readonly name: "TeeRewardTokenChanged";
|
|
7461
7623
|
readonly type: "event";
|
|
7462
7624
|
}, {
|
|
7463
7625
|
readonly anonymous: false;
|
|
7464
7626
|
readonly inputs: readonly [{
|
|
7465
|
-
readonly indexed:
|
|
7627
|
+
readonly indexed: true;
|
|
7466
7628
|
readonly internalType: "bool";
|
|
7467
|
-
readonly name: "
|
|
7629
|
+
readonly name: "value";
|
|
7468
7630
|
readonly type: "bool";
|
|
7469
7631
|
}];
|
|
7470
|
-
readonly name: "
|
|
7632
|
+
readonly name: "TeeRewardsEnabled";
|
|
7471
7633
|
readonly type: "event";
|
|
7472
7634
|
}, {
|
|
7473
7635
|
readonly anonymous: false;
|
|
@@ -7721,6 +7883,14 @@ export declare const abi: readonly [{
|
|
|
7721
7883
|
readonly internalType: "uint256";
|
|
7722
7884
|
readonly name: "storageRequestFee";
|
|
7723
7885
|
readonly type: "uint256";
|
|
7886
|
+
}, {
|
|
7887
|
+
readonly internalType: "uint256";
|
|
7888
|
+
readonly name: "distributableAnnualAmount";
|
|
7889
|
+
readonly type: "uint256";
|
|
7890
|
+
}, {
|
|
7891
|
+
readonly internalType: "address";
|
|
7892
|
+
readonly name: "rewardToken";
|
|
7893
|
+
readonly type: "address";
|
|
7724
7894
|
}];
|
|
7725
7895
|
readonly internalType: "struct TokenInfo";
|
|
7726
7896
|
readonly name: "tokenInfo";
|
|
@@ -7733,12 +7903,20 @@ export declare const abi: readonly [{
|
|
|
7733
7903
|
readonly stateMutability: "view";
|
|
7734
7904
|
readonly type: "function";
|
|
7735
7905
|
}, {
|
|
7736
|
-
readonly inputs: readonly [
|
|
7906
|
+
readonly inputs: readonly [{
|
|
7907
|
+
readonly internalType: "address";
|
|
7908
|
+
readonly name: "token";
|
|
7909
|
+
readonly type: "address";
|
|
7910
|
+
}];
|
|
7737
7911
|
readonly name: "getValueRewardPerEpoch";
|
|
7738
7912
|
readonly outputs: readonly [{
|
|
7739
7913
|
readonly internalType: "uint256";
|
|
7740
7914
|
readonly name: "valueReward";
|
|
7741
7915
|
readonly type: "uint256";
|
|
7916
|
+
}, {
|
|
7917
|
+
readonly internalType: "address";
|
|
7918
|
+
readonly name: "rewardToken";
|
|
7919
|
+
readonly type: "address";
|
|
7742
7920
|
}];
|
|
7743
7921
|
readonly stateMutability: "view";
|
|
7744
7922
|
readonly type: "function";
|
|
@@ -7917,7 +8095,7 @@ export declare const abi: readonly [{
|
|
|
7917
8095
|
readonly name: "token";
|
|
7918
8096
|
readonly type: "address";
|
|
7919
8097
|
}];
|
|
7920
|
-
readonly name: "
|
|
8098
|
+
readonly name: "setTeeRewardToken";
|
|
7921
8099
|
readonly outputs: readonly [];
|
|
7922
8100
|
readonly stateMutability: "nonpayable";
|
|
7923
8101
|
readonly type: "function";
|
|
@@ -7943,6 +8121,14 @@ export declare const abi: readonly [{
|
|
|
7943
8121
|
readonly internalType: "uint256";
|
|
7944
8122
|
readonly name: "storageRequestFee";
|
|
7945
8123
|
readonly type: "uint256";
|
|
8124
|
+
}, {
|
|
8125
|
+
readonly internalType: "uint256";
|
|
8126
|
+
readonly name: "distributableAnnualAmount";
|
|
8127
|
+
readonly type: "uint256";
|
|
8128
|
+
}, {
|
|
8129
|
+
readonly internalType: "address";
|
|
8130
|
+
readonly name: "rewardToken";
|
|
8131
|
+
readonly type: "address";
|
|
7946
8132
|
}];
|
|
7947
8133
|
readonly internalType: "struct TokenInfo[]";
|
|
7948
8134
|
readonly name: "tokens";
|
|
@@ -7952,6 +8138,16 @@ export declare const abi: readonly [{
|
|
|
7952
8138
|
readonly outputs: readonly [];
|
|
7953
8139
|
readonly stateMutability: "nonpayable";
|
|
7954
8140
|
readonly type: "function";
|
|
8141
|
+
}, {
|
|
8142
|
+
readonly inputs: readonly [{
|
|
8143
|
+
readonly internalType: "bool";
|
|
8144
|
+
readonly name: "value";
|
|
8145
|
+
readonly type: "bool";
|
|
8146
|
+
}];
|
|
8147
|
+
readonly name: "setupTeeRewards";
|
|
8148
|
+
readonly outputs: readonly [];
|
|
8149
|
+
readonly stateMutability: "nonpayable";
|
|
8150
|
+
readonly type: "function";
|
|
7955
8151
|
}, {
|
|
7956
8152
|
readonly inputs: readonly [{
|
|
7957
8153
|
readonly internalType: "bool";
|
|
@@ -8840,6 +9036,28 @@ export declare const abi: readonly [{
|
|
|
8840
9036
|
}];
|
|
8841
9037
|
readonly stateMutability: "nonpayable";
|
|
8842
9038
|
readonly type: "function";
|
|
9039
|
+
}, {
|
|
9040
|
+
readonly inputs: readonly [{
|
|
9041
|
+
readonly internalType: "uint256";
|
|
9042
|
+
readonly name: "amount";
|
|
9043
|
+
readonly type: "uint256";
|
|
9044
|
+
}, {
|
|
9045
|
+
readonly internalType: "address";
|
|
9046
|
+
readonly name: "tokenFrom";
|
|
9047
|
+
readonly type: "address";
|
|
9048
|
+
}, {
|
|
9049
|
+
readonly internalType: "address";
|
|
9050
|
+
readonly name: "tokenTo";
|
|
9051
|
+
readonly type: "address";
|
|
9052
|
+
}];
|
|
9053
|
+
readonly name: "convert";
|
|
9054
|
+
readonly outputs: readonly [{
|
|
9055
|
+
readonly internalType: "uint256";
|
|
9056
|
+
readonly name: "";
|
|
9057
|
+
readonly type: "uint256";
|
|
9058
|
+
}];
|
|
9059
|
+
readonly stateMutability: "view";
|
|
9060
|
+
readonly type: "function";
|
|
8843
9061
|
}, {
|
|
8844
9062
|
readonly anonymous: false;
|
|
8845
9063
|
readonly inputs: readonly [{
|
|
@@ -9768,6 +9986,41 @@ export declare const abi: readonly [{
|
|
|
9768
9986
|
}];
|
|
9769
9987
|
readonly name: "DiamondCut";
|
|
9770
9988
|
readonly type: "event";
|
|
9989
|
+
}, {
|
|
9990
|
+
readonly anonymous: false;
|
|
9991
|
+
readonly inputs: readonly [{
|
|
9992
|
+
readonly indexed: true;
|
|
9993
|
+
readonly internalType: "address";
|
|
9994
|
+
readonly name: "previousOwner";
|
|
9995
|
+
readonly type: "address";
|
|
9996
|
+
}, {
|
|
9997
|
+
readonly indexed: true;
|
|
9998
|
+
readonly internalType: "address";
|
|
9999
|
+
readonly name: "newOwner";
|
|
10000
|
+
readonly type: "address";
|
|
10001
|
+
}];
|
|
10002
|
+
readonly name: "OwnershipTransferred";
|
|
10003
|
+
readonly type: "event";
|
|
10004
|
+
}, {
|
|
10005
|
+
readonly inputs: readonly [];
|
|
10006
|
+
readonly name: "deployer";
|
|
10007
|
+
readonly outputs: readonly [{
|
|
10008
|
+
readonly internalType: "address";
|
|
10009
|
+
readonly name: "";
|
|
10010
|
+
readonly type: "address";
|
|
10011
|
+
}];
|
|
10012
|
+
readonly stateMutability: "view";
|
|
10013
|
+
readonly type: "function";
|
|
10014
|
+
}, {
|
|
10015
|
+
readonly inputs: readonly [];
|
|
10016
|
+
readonly name: "deploymentBlockNumber";
|
|
10017
|
+
readonly outputs: readonly [{
|
|
10018
|
+
readonly internalType: "uint64";
|
|
10019
|
+
readonly name: "";
|
|
10020
|
+
readonly type: "uint64";
|
|
10021
|
+
}];
|
|
10022
|
+
readonly stateMutability: "view";
|
|
10023
|
+
readonly type: "function";
|
|
9771
10024
|
}, {
|
|
9772
10025
|
readonly inputs: readonly [{
|
|
9773
10026
|
readonly components: readonly [{
|
|
@@ -9894,21 +10147,6 @@ export declare const abi: readonly [{
|
|
|
9894
10147
|
}];
|
|
9895
10148
|
readonly stateMutability: "view";
|
|
9896
10149
|
readonly type: "function";
|
|
9897
|
-
}, {
|
|
9898
|
-
readonly anonymous: false;
|
|
9899
|
-
readonly inputs: readonly [{
|
|
9900
|
-
readonly indexed: true;
|
|
9901
|
-
readonly internalType: "address";
|
|
9902
|
-
readonly name: "previousOwner";
|
|
9903
|
-
readonly type: "address";
|
|
9904
|
-
}, {
|
|
9905
|
-
readonly indexed: true;
|
|
9906
|
-
readonly internalType: "address";
|
|
9907
|
-
readonly name: "newOwner";
|
|
9908
|
-
readonly type: "address";
|
|
9909
|
-
}];
|
|
9910
|
-
readonly name: "OwnershipTransferred";
|
|
9911
|
-
readonly type: "event";
|
|
9912
10150
|
}, {
|
|
9913
10151
|
readonly inputs: readonly [];
|
|
9914
10152
|
readonly name: "owner";
|