@super-protocol/sdk-js 3.18.0 → 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 +270 -96
- package/dist/cjs/contracts/abi.js +337 -109
- package/dist/mjs/contracts/abi.d.ts +270 -96
- package/dist/mjs/contracts/abi.js +336 -108
- package/package.json +1 -1
|
@@ -39,8 +39,8 @@ 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
44
|
export declare const TeeRewardsEnabled: "TeeRewardsEnabled";
|
|
45
45
|
export declare const TokenInfoUpdated: "TokenInfoUpdated";
|
|
46
46
|
export declare const TokenRemoved: "TokenRemoved";
|
|
@@ -65,7 +65,7 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
65
65
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
66
66
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
67
67
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
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
|
|
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;
|
|
69
69
|
export declare const abi: readonly [{
|
|
70
70
|
readonly inputs: readonly [{
|
|
71
71
|
readonly internalType: "uint256";
|
|
@@ -5702,6 +5702,10 @@ export declare const abi: readonly [{
|
|
|
5702
5702
|
readonly type: "event";
|
|
5703
5703
|
}, {
|
|
5704
5704
|
readonly inputs: readonly [{
|
|
5705
|
+
readonly internalType: "address";
|
|
5706
|
+
readonly name: "token";
|
|
5707
|
+
readonly type: "address";
|
|
5708
|
+
}, {
|
|
5705
5709
|
readonly internalType: "uint256";
|
|
5706
5710
|
readonly name: "amount";
|
|
5707
5711
|
readonly type: "uint256";
|
|
@@ -5824,6 +5828,16 @@ export declare const abi: readonly [{
|
|
|
5824
5828
|
}];
|
|
5825
5829
|
readonly stateMutability: "nonpayable";
|
|
5826
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";
|
|
5827
5841
|
}, {
|
|
5828
5842
|
readonly inputs: readonly [{
|
|
5829
5843
|
readonly components: readonly [{
|
|
@@ -5838,6 +5852,10 @@ export declare const abi: readonly [{
|
|
|
5838
5852
|
readonly internalType: "uint256";
|
|
5839
5853
|
readonly name: "previousValuableEpochPosition";
|
|
5840
5854
|
readonly type: "uint256";
|
|
5855
|
+
}, {
|
|
5856
|
+
readonly internalType: "address";
|
|
5857
|
+
readonly name: "token";
|
|
5858
|
+
readonly type: "address";
|
|
5841
5859
|
}];
|
|
5842
5860
|
readonly internalType: "struct ClaimRewardsArgs[]";
|
|
5843
5861
|
readonly name: "args";
|
|
@@ -5861,6 +5879,10 @@ export declare const abi: readonly [{
|
|
|
5861
5879
|
readonly internalType: "uint256";
|
|
5862
5880
|
readonly name: "previousValuableEpochPosition";
|
|
5863
5881
|
readonly type: "uint256";
|
|
5882
|
+
}, {
|
|
5883
|
+
readonly internalType: "address";
|
|
5884
|
+
readonly name: "token";
|
|
5885
|
+
readonly type: "address";
|
|
5864
5886
|
}];
|
|
5865
5887
|
readonly internalType: "struct ClaimRewardsArgs";
|
|
5866
5888
|
readonly name: "args";
|
|
@@ -6024,17 +6046,26 @@ export declare const abi: readonly [{
|
|
|
6024
6046
|
readonly type: "function";
|
|
6025
6047
|
}, {
|
|
6026
6048
|
readonly inputs: readonly [{
|
|
6027
|
-
readonly
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
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";
|
|
6038
6069
|
}];
|
|
6039
6070
|
readonly name: "getValueReward";
|
|
6040
6071
|
readonly outputs: readonly [{
|
|
@@ -6091,6 +6122,10 @@ export declare const abi: readonly [{
|
|
|
6091
6122
|
readonly internalType: "uint256";
|
|
6092
6123
|
readonly name: "valueOfferId";
|
|
6093
6124
|
readonly type: "uint256";
|
|
6125
|
+
}, {
|
|
6126
|
+
readonly internalType: "address";
|
|
6127
|
+
readonly name: "token";
|
|
6128
|
+
readonly type: "address";
|
|
6094
6129
|
}];
|
|
6095
6130
|
readonly name: "isValueClaimAvailable";
|
|
6096
6131
|
readonly outputs: readonly [{
|
|
@@ -6293,7 +6328,7 @@ export declare const abi: readonly [{
|
|
|
6293
6328
|
readonly type: "uint256";
|
|
6294
6329
|
}, {
|
|
6295
6330
|
readonly internalType: "uint256";
|
|
6296
|
-
readonly name: "
|
|
6331
|
+
readonly name: "valueReward_DEPRECATED";
|
|
6297
6332
|
readonly type: "uint256";
|
|
6298
6333
|
}, {
|
|
6299
6334
|
readonly internalType: "uint128";
|
|
@@ -6329,7 +6364,7 @@ export declare const abi: readonly [{
|
|
|
6329
6364
|
readonly type: "uint16";
|
|
6330
6365
|
}, {
|
|
6331
6366
|
readonly internalType: "bool";
|
|
6332
|
-
readonly name: "
|
|
6367
|
+
readonly name: "updateTeeEpochReward";
|
|
6333
6368
|
readonly type: "bool";
|
|
6334
6369
|
}, {
|
|
6335
6370
|
readonly components: readonly [{
|
|
@@ -6406,6 +6441,10 @@ export declare const abi: readonly [{
|
|
|
6406
6441
|
readonly internalType: "struct ConsensusBenchmarkPriceMultipliers";
|
|
6407
6442
|
readonly name: "penaltyPriceMultipliers";
|
|
6408
6443
|
readonly type: "tuple";
|
|
6444
|
+
}, {
|
|
6445
|
+
readonly internalType: "uint256";
|
|
6446
|
+
readonly name: "lastUpdatedEpochIndex";
|
|
6447
|
+
readonly type: "uint256";
|
|
6409
6448
|
}];
|
|
6410
6449
|
readonly internalType: "struct Epoch";
|
|
6411
6450
|
readonly name: "";
|
|
@@ -6419,68 +6458,131 @@ export declare const abi: readonly [{
|
|
|
6419
6458
|
readonly name: "epochIndex";
|
|
6420
6459
|
readonly type: "uint256";
|
|
6421
6460
|
}];
|
|
6422
|
-
readonly name: "
|
|
6461
|
+
readonly name: "getEpochTeeRewardParams";
|
|
6423
6462
|
readonly outputs: readonly [{
|
|
6424
|
-
readonly internalType: "uint256";
|
|
6425
|
-
readonly name: "teeReward";
|
|
6426
|
-
readonly type: "uint256";
|
|
6427
|
-
}, {
|
|
6428
|
-
readonly internalType: "uint256";
|
|
6429
|
-
readonly name: "valueReward";
|
|
6430
|
-
readonly type: "uint256";
|
|
6431
|
-
}, {
|
|
6432
|
-
readonly internalType: "uint256";
|
|
6433
|
-
readonly name: "compensation";
|
|
6434
|
-
readonly type: "uint256";
|
|
6435
|
-
}, {
|
|
6436
6463
|
readonly components: readonly [{
|
|
6437
|
-
readonly internalType: "
|
|
6438
|
-
readonly name: "
|
|
6439
|
-
readonly type: "
|
|
6440
|
-
}, {
|
|
6441
|
-
readonly internalType: "uint128";
|
|
6442
|
-
readonly name: "ramMultiplier";
|
|
6443
|
-
readonly type: "uint128";
|
|
6464
|
+
readonly internalType: "uint256";
|
|
6465
|
+
readonly name: "teeReward";
|
|
6466
|
+
readonly type: "uint256";
|
|
6444
6467
|
}, {
|
|
6445
|
-
readonly internalType: "
|
|
6446
|
-
readonly name: "
|
|
6447
|
-
readonly type: "
|
|
6468
|
+
readonly internalType: "uint256";
|
|
6469
|
+
readonly name: "compensation";
|
|
6470
|
+
readonly type: "uint256";
|
|
6448
6471
|
}, {
|
|
6449
|
-
readonly
|
|
6450
|
-
|
|
6451
|
-
|
|
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";
|
|
6452
6496
|
}, {
|
|
6453
|
-
readonly
|
|
6454
|
-
|
|
6455
|
-
|
|
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";
|
|
6456
6521
|
}];
|
|
6457
|
-
readonly internalType: "struct
|
|
6458
|
-
readonly name: "
|
|
6522
|
+
readonly internalType: "struct TeeRewardParams";
|
|
6523
|
+
readonly name: "teeRewardParams";
|
|
6459
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";
|
|
6460
6533
|
}, {
|
|
6534
|
+
readonly internalType: "address";
|
|
6535
|
+
readonly name: "token";
|
|
6536
|
+
readonly type: "address";
|
|
6537
|
+
}];
|
|
6538
|
+
readonly name: "getEpochValueParams";
|
|
6539
|
+
readonly outputs: readonly [{
|
|
6461
6540
|
readonly components: readonly [{
|
|
6462
|
-
readonly internalType: "
|
|
6463
|
-
readonly name: "
|
|
6464
|
-
readonly type: "
|
|
6541
|
+
readonly internalType: "uint256";
|
|
6542
|
+
readonly name: "valueReward";
|
|
6543
|
+
readonly type: "uint256";
|
|
6465
6544
|
}, {
|
|
6466
|
-
readonly internalType: "
|
|
6467
|
-
readonly name: "
|
|
6468
|
-
readonly type: "
|
|
6545
|
+
readonly internalType: "address";
|
|
6546
|
+
readonly name: "rewardToken";
|
|
6547
|
+
readonly type: "address";
|
|
6469
6548
|
}, {
|
|
6470
|
-
readonly internalType: "
|
|
6471
|
-
readonly name: "
|
|
6472
|
-
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";
|
|
6473
6575
|
}, {
|
|
6474
|
-
readonly internalType: "
|
|
6475
|
-
readonly name: "
|
|
6476
|
-
readonly type: "
|
|
6576
|
+
readonly internalType: "address";
|
|
6577
|
+
readonly name: "rewardToken";
|
|
6578
|
+
readonly type: "address";
|
|
6477
6579
|
}, {
|
|
6478
|
-
readonly internalType: "
|
|
6479
|
-
readonly name: "
|
|
6480
|
-
readonly type: "
|
|
6580
|
+
readonly internalType: "bool";
|
|
6581
|
+
readonly name: "isInitialized";
|
|
6582
|
+
readonly type: "bool";
|
|
6481
6583
|
}];
|
|
6482
|
-
readonly internalType: "struct
|
|
6483
|
-
readonly name: "
|
|
6584
|
+
readonly internalType: "struct EpochValueParams";
|
|
6585
|
+
readonly name: "";
|
|
6484
6586
|
readonly type: "tuple";
|
|
6485
6587
|
}];
|
|
6486
6588
|
readonly stateMutability: "view";
|
|
@@ -6508,7 +6610,11 @@ export declare const abi: readonly [{
|
|
|
6508
6610
|
readonly stateMutability: "view";
|
|
6509
6611
|
readonly type: "function";
|
|
6510
6612
|
}, {
|
|
6511
|
-
readonly inputs: readonly [
|
|
6613
|
+
readonly inputs: readonly [{
|
|
6614
|
+
readonly internalType: "address";
|
|
6615
|
+
readonly name: "token";
|
|
6616
|
+
readonly type: "address";
|
|
6617
|
+
}];
|
|
6512
6618
|
readonly name: "getRewardAccounting";
|
|
6513
6619
|
readonly outputs: readonly [{
|
|
6514
6620
|
readonly components: readonly [{
|
|
@@ -6643,6 +6749,29 @@ export declare const abi: readonly [{
|
|
|
6643
6749
|
}];
|
|
6644
6750
|
readonly stateMutability: "view";
|
|
6645
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";
|
|
6646
6775
|
}, {
|
|
6647
6776
|
readonly inputs: readonly [{
|
|
6648
6777
|
readonly internalType: "uint256";
|
|
@@ -6703,16 +6832,16 @@ export declare const abi: readonly [{
|
|
|
6703
6832
|
readonly type: "bool";
|
|
6704
6833
|
}, {
|
|
6705
6834
|
readonly internalType: "bool";
|
|
6706
|
-
readonly name: "
|
|
6835
|
+
readonly name: "cacheSaved";
|
|
6707
6836
|
readonly type: "bool";
|
|
6708
6837
|
}, {
|
|
6709
|
-
readonly internalType: "
|
|
6710
|
-
readonly name: "
|
|
6711
|
-
readonly type: "
|
|
6838
|
+
readonly internalType: "uint16";
|
|
6839
|
+
readonly name: "calculationRewardShare";
|
|
6840
|
+
readonly type: "uint16";
|
|
6712
6841
|
}, {
|
|
6713
|
-
readonly internalType: "
|
|
6714
|
-
readonly name: "
|
|
6715
|
-
readonly type: "
|
|
6842
|
+
readonly internalType: "uint16";
|
|
6843
|
+
readonly name: "calculationGhostRewardShare";
|
|
6844
|
+
readonly type: "uint16";
|
|
6716
6845
|
}, {
|
|
6717
6846
|
readonly internalType: "uint128";
|
|
6718
6847
|
readonly name: "runningCommissionPrice";
|
|
@@ -6721,6 +6850,14 @@ export declare const abi: readonly [{
|
|
|
6721
6850
|
readonly internalType: "int128";
|
|
6722
6851
|
readonly name: "commissionDelta";
|
|
6723
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";
|
|
6724
6861
|
}];
|
|
6725
6862
|
readonly internalType: "struct ProviderRewardsStorageAccessor.ValueOffer";
|
|
6726
6863
|
readonly name: "";
|
|
@@ -6734,20 +6871,11 @@ export declare const abi: readonly [{
|
|
|
6734
6871
|
readonly name: "valueOfferId";
|
|
6735
6872
|
readonly type: "uint256";
|
|
6736
6873
|
}];
|
|
6737
|
-
readonly name: "
|
|
6874
|
+
readonly name: "getValueValuableEpochs";
|
|
6738
6875
|
readonly outputs: readonly [{
|
|
6739
|
-
readonly
|
|
6740
|
-
readonly internalType: "uint32[]";
|
|
6741
|
-
readonly name: "valuableEpochs";
|
|
6742
|
-
readonly type: "uint32[]";
|
|
6743
|
-
}, {
|
|
6744
|
-
readonly internalType: "uint256";
|
|
6745
|
-
readonly name: "remainReward_DEPRECATED";
|
|
6746
|
-
readonly type: "uint256";
|
|
6747
|
-
}];
|
|
6748
|
-
readonly internalType: "struct ProviderRewardsStorageAccessor.ValueOfferState";
|
|
6876
|
+
readonly internalType: "uint32[]";
|
|
6749
6877
|
readonly name: "";
|
|
6750
|
-
readonly type: "
|
|
6878
|
+
readonly type: "uint32[]";
|
|
6751
6879
|
}];
|
|
6752
6880
|
readonly stateMutability: "view";
|
|
6753
6881
|
readonly type: "function";
|
|
@@ -7468,6 +7596,16 @@ export declare const abi: readonly [{
|
|
|
7468
7596
|
}];
|
|
7469
7597
|
readonly stateMutability: "nonpayable";
|
|
7470
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";
|
|
7471
7609
|
}, {
|
|
7472
7610
|
readonly anonymous: false;
|
|
7473
7611
|
readonly inputs: readonly [{
|
|
@@ -7481,17 +7619,7 @@ export declare const abi: readonly [{
|
|
|
7481
7619
|
readonly name: "token";
|
|
7482
7620
|
readonly type: "address";
|
|
7483
7621
|
}];
|
|
7484
|
-
readonly name: "
|
|
7485
|
-
readonly type: "event";
|
|
7486
|
-
}, {
|
|
7487
|
-
readonly anonymous: false;
|
|
7488
|
-
readonly inputs: readonly [{
|
|
7489
|
-
readonly indexed: false;
|
|
7490
|
-
readonly internalType: "bool";
|
|
7491
|
-
readonly name: "isLocked";
|
|
7492
|
-
readonly type: "bool";
|
|
7493
|
-
}];
|
|
7494
|
-
readonly name: "StorageLocked";
|
|
7622
|
+
readonly name: "TeeRewardTokenChanged";
|
|
7495
7623
|
readonly type: "event";
|
|
7496
7624
|
}, {
|
|
7497
7625
|
readonly anonymous: false;
|
|
@@ -7755,6 +7883,14 @@ export declare const abi: readonly [{
|
|
|
7755
7883
|
readonly internalType: "uint256";
|
|
7756
7884
|
readonly name: "storageRequestFee";
|
|
7757
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";
|
|
7758
7894
|
}];
|
|
7759
7895
|
readonly internalType: "struct TokenInfo";
|
|
7760
7896
|
readonly name: "tokenInfo";
|
|
@@ -7767,12 +7903,20 @@ export declare const abi: readonly [{
|
|
|
7767
7903
|
readonly stateMutability: "view";
|
|
7768
7904
|
readonly type: "function";
|
|
7769
7905
|
}, {
|
|
7770
|
-
readonly inputs: readonly [
|
|
7906
|
+
readonly inputs: readonly [{
|
|
7907
|
+
readonly internalType: "address";
|
|
7908
|
+
readonly name: "token";
|
|
7909
|
+
readonly type: "address";
|
|
7910
|
+
}];
|
|
7771
7911
|
readonly name: "getValueRewardPerEpoch";
|
|
7772
7912
|
readonly outputs: readonly [{
|
|
7773
7913
|
readonly internalType: "uint256";
|
|
7774
7914
|
readonly name: "valueReward";
|
|
7775
7915
|
readonly type: "uint256";
|
|
7916
|
+
}, {
|
|
7917
|
+
readonly internalType: "address";
|
|
7918
|
+
readonly name: "rewardToken";
|
|
7919
|
+
readonly type: "address";
|
|
7776
7920
|
}];
|
|
7777
7921
|
readonly stateMutability: "view";
|
|
7778
7922
|
readonly type: "function";
|
|
@@ -7951,7 +8095,7 @@ export declare const abi: readonly [{
|
|
|
7951
8095
|
readonly name: "token";
|
|
7952
8096
|
readonly type: "address";
|
|
7953
8097
|
}];
|
|
7954
|
-
readonly name: "
|
|
8098
|
+
readonly name: "setTeeRewardToken";
|
|
7955
8099
|
readonly outputs: readonly [];
|
|
7956
8100
|
readonly stateMutability: "nonpayable";
|
|
7957
8101
|
readonly type: "function";
|
|
@@ -7977,6 +8121,14 @@ export declare const abi: readonly [{
|
|
|
7977
8121
|
readonly internalType: "uint256";
|
|
7978
8122
|
readonly name: "storageRequestFee";
|
|
7979
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";
|
|
7980
8132
|
}];
|
|
7981
8133
|
readonly internalType: "struct TokenInfo[]";
|
|
7982
8134
|
readonly name: "tokens";
|
|
@@ -8884,6 +9036,28 @@ export declare const abi: readonly [{
|
|
|
8884
9036
|
}];
|
|
8885
9037
|
readonly stateMutability: "nonpayable";
|
|
8886
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";
|
|
8887
9061
|
}, {
|
|
8888
9062
|
readonly anonymous: false;
|
|
8889
9063
|
readonly inputs: readonly [{
|