@super-protocol/sdk-js 4.0.9 → 4.0.11
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/certificates/oids.d.ts +1 -1
- package/dist/cjs/certificates/oids.js +2 -2
- package/dist/cjs/contracts/abi.d.ts +300 -105
- package/dist/cjs/contracts/abi.js +374 -119
- package/dist/cjs/models/TCB.d.ts +1 -1
- package/dist/cjs/models/TCB.js +3 -2
- package/dist/cjs/staticModels/CertificatesManager.d.ts +1 -1
- package/dist/cjs/staticModels/CertificatesManager.js +4 -9
- package/dist/cjs/staticModels/ProviderRewards.d.ts +1 -1
- package/dist/cjs/staticModels/ProviderRewards.js +9 -5
- package/dist/cjs/tee/TeeCertificateService.js +1 -1
- package/dist/cjs/types/Consensus.d.ts +0 -1
- package/dist/cjs/types/ProviderRewards.d.ts +1 -0
- package/dist/mjs/certificates/oids.d.ts +1 -1
- package/dist/mjs/certificates/oids.js +2 -2
- package/dist/mjs/contracts/abi.d.ts +300 -105
- package/dist/mjs/contracts/abi.js +372 -117
- package/dist/mjs/models/TCB.d.ts +1 -1
- package/dist/mjs/models/TCB.js +3 -2
- package/dist/mjs/staticModels/CertificatesManager.d.ts +1 -1
- package/dist/mjs/staticModels/CertificatesManager.js +4 -9
- package/dist/mjs/staticModels/ProviderRewards.d.ts +1 -1
- package/dist/mjs/staticModels/ProviderRewards.js +9 -5
- package/dist/mjs/tee/TeeCertificateService.js +1 -1
- package/dist/mjs/types/Consensus.d.ts +0 -1
- package/dist/mjs/types/ProviderRewards.d.ts +1 -0
- package/package.json +1 -1
|
@@ -10,6 +10,6 @@ exports.spOidMap = {
|
|
|
10
10
|
regions: '2.25.10000006',
|
|
11
11
|
contentHash: '2.25.10000007',
|
|
12
12
|
encryptedEnvelopedAccess: '2.25.10000008',
|
|
13
|
-
|
|
13
|
+
accessFingerprint: '2.25.10000009',
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2lkcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jZXJ0aWZpY2F0ZXMvb2lkcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBYSxRQUFBLFFBQVEsR0FBRztJQUN0QixPQUFPLEVBQUUsZUFBZSxFQUFFLCtCQUErQjtJQUN6RCxPQUFPLEVBQUUsZUFBZTtJQUN4QixZQUFZLEVBQUUsZUFBZTtJQUM3Qiw0QkFBNEIsRUFBRSxlQUFlO0lBQzdDLFVBQVUsRUFBRSxlQUFlO0lBQzNCLE9BQU8sRUFBRSxlQUFlO0lBQ3hCLFdBQVcsRUFBRSxlQUFlO0lBQzVCLHdCQUF3QixFQUFFLGVBQWU7SUFDekMsaUJBQWlCLEVBQUUsZUFBZTtDQUNuQyxDQUFDIn0=
|
|
@@ -42,8 +42,9 @@ export declare const ProviderSecurityDepoUnlocked: "ProviderSecurityDepoUnlocked
|
|
|
42
42
|
export declare const ProviderViolationRateIncremented: "ProviderViolationRateIncremented";
|
|
43
43
|
export declare const DepositConfiscated: "DepositConfiscated";
|
|
44
44
|
export declare const RewardConfiscated: "RewardConfiscated";
|
|
45
|
-
export declare const RewardTokenChanged: "RewardTokenChanged";
|
|
46
45
|
export declare const StorageLocked: "StorageLocked";
|
|
46
|
+
export declare const TeeRewardTokenChanged: "TeeRewardTokenChanged";
|
|
47
|
+
export declare const TeeRewardsEnabled: "TeeRewardsEnabled";
|
|
47
48
|
export declare const TokenInfoUpdated: "TokenInfoUpdated";
|
|
48
49
|
export declare const TokenRemoved: "TokenRemoved";
|
|
49
50
|
export declare const ValueRewardsEnabled: "ValueRewardsEnabled";
|
|
@@ -70,7 +71,7 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
70
71
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
71
72
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
72
73
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
73
|
-
export type AbiEvent = typeof MrEnclaveBlacklisted | typeof MrSignerBlacklisted | typeof SerialNumberBlacklisted | typeof SetRootCert | typeof EntityAdded | typeof EntityUpdated | typeof TeeEntryAdded | 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
|
|
74
|
+
export type AbiEvent = typeof MrEnclaveBlacklisted | typeof MrSignerBlacklisted | typeof SerialNumberBlacklisted | typeof SetRootCert | typeof EntityAdded | typeof EntityUpdated | typeof TeeEntryAdded | 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 AddSwarmCandidate | typeof RevokeSwarmAddress | typeof SwarmAccessTransferred | 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;
|
|
74
75
|
export declare const abi: readonly [{
|
|
75
76
|
readonly inputs: readonly [{
|
|
76
77
|
readonly internalType: "uint256";
|
|
@@ -667,7 +668,7 @@ export declare const abi: readonly [{
|
|
|
667
668
|
readonly name: "certType";
|
|
668
669
|
readonly type: "uint8";
|
|
669
670
|
}];
|
|
670
|
-
readonly internalType: "struct CertificatesManagerStorageAccessor.
|
|
671
|
+
readonly internalType: "struct CertificatesManagerStorageAccessor.CreatedCertArgs";
|
|
671
672
|
readonly name: "certData";
|
|
672
673
|
readonly type: "tuple";
|
|
673
674
|
}];
|
|
@@ -752,9 +753,9 @@ export declare const abi: readonly [{
|
|
|
752
753
|
readonly inputs: readonly [];
|
|
753
754
|
readonly name: "getEntry";
|
|
754
755
|
readonly outputs: readonly [{
|
|
755
|
-
readonly internalType: "bytes";
|
|
756
|
+
readonly internalType: "bytes[]";
|
|
756
757
|
readonly name: "";
|
|
757
|
-
readonly type: "bytes";
|
|
758
|
+
readonly type: "bytes[]";
|
|
758
759
|
}];
|
|
759
760
|
readonly stateMutability: "view";
|
|
760
761
|
readonly type: "function";
|
|
@@ -882,9 +883,9 @@ export declare const abi: readonly [{
|
|
|
882
883
|
readonly type: "function";
|
|
883
884
|
}, {
|
|
884
885
|
readonly inputs: readonly [{
|
|
885
|
-
readonly internalType: "bytes";
|
|
886
|
-
readonly name: "
|
|
887
|
-
readonly type: "bytes";
|
|
886
|
+
readonly internalType: "bytes[]";
|
|
887
|
+
readonly name: "teeEntryCertsChain";
|
|
888
|
+
readonly type: "bytes[]";
|
|
888
889
|
}];
|
|
889
890
|
readonly name: "setTeeEntryCert";
|
|
890
891
|
readonly outputs: readonly [];
|
|
@@ -6000,6 +6001,10 @@ export declare const abi: readonly [{
|
|
|
6000
6001
|
readonly type: "event";
|
|
6001
6002
|
}, {
|
|
6002
6003
|
readonly inputs: readonly [{
|
|
6004
|
+
readonly internalType: "address";
|
|
6005
|
+
readonly name: "token";
|
|
6006
|
+
readonly type: "address";
|
|
6007
|
+
}, {
|
|
6003
6008
|
readonly internalType: "uint256";
|
|
6004
6009
|
readonly name: "amount";
|
|
6005
6010
|
readonly type: "uint256";
|
|
@@ -6122,6 +6127,16 @@ export declare const abi: readonly [{
|
|
|
6122
6127
|
}];
|
|
6123
6128
|
readonly stateMutability: "nonpayable";
|
|
6124
6129
|
readonly type: "function";
|
|
6130
|
+
}, {
|
|
6131
|
+
readonly inputs: readonly [{
|
|
6132
|
+
readonly internalType: "uint256";
|
|
6133
|
+
readonly name: "amount";
|
|
6134
|
+
readonly type: "uint256";
|
|
6135
|
+
}];
|
|
6136
|
+
readonly name: "addTeeConsensusReward";
|
|
6137
|
+
readonly outputs: readonly [];
|
|
6138
|
+
readonly stateMutability: "nonpayable";
|
|
6139
|
+
readonly type: "function";
|
|
6125
6140
|
}, {
|
|
6126
6141
|
readonly inputs: readonly [{
|
|
6127
6142
|
readonly components: readonly [{
|
|
@@ -6136,6 +6151,10 @@ export declare const abi: readonly [{
|
|
|
6136
6151
|
readonly internalType: "uint256";
|
|
6137
6152
|
readonly name: "previousValuableEpochPosition";
|
|
6138
6153
|
readonly type: "uint256";
|
|
6154
|
+
}, {
|
|
6155
|
+
readonly internalType: "address";
|
|
6156
|
+
readonly name: "token";
|
|
6157
|
+
readonly type: "address";
|
|
6139
6158
|
}];
|
|
6140
6159
|
readonly internalType: "struct ClaimRewardsArgs[]";
|
|
6141
6160
|
readonly name: "args";
|
|
@@ -6159,6 +6178,10 @@ export declare const abi: readonly [{
|
|
|
6159
6178
|
readonly internalType: "uint256";
|
|
6160
6179
|
readonly name: "previousValuableEpochPosition";
|
|
6161
6180
|
readonly type: "uint256";
|
|
6181
|
+
}, {
|
|
6182
|
+
readonly internalType: "address";
|
|
6183
|
+
readonly name: "token";
|
|
6184
|
+
readonly type: "address";
|
|
6162
6185
|
}];
|
|
6163
6186
|
readonly internalType: "struct ClaimRewardsArgs";
|
|
6164
6187
|
readonly name: "args";
|
|
@@ -6322,17 +6345,26 @@ export declare const abi: readonly [{
|
|
|
6322
6345
|
readonly type: "function";
|
|
6323
6346
|
}, {
|
|
6324
6347
|
readonly inputs: readonly [{
|
|
6325
|
-
readonly
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6348
|
+
readonly components: readonly [{
|
|
6349
|
+
readonly internalType: "uint256";
|
|
6350
|
+
readonly name: "epochIndex";
|
|
6351
|
+
readonly type: "uint256";
|
|
6352
|
+
}, {
|
|
6353
|
+
readonly internalType: "uint256";
|
|
6354
|
+
readonly name: "offerId";
|
|
6355
|
+
readonly type: "uint256";
|
|
6356
|
+
}, {
|
|
6357
|
+
readonly internalType: "uint256";
|
|
6358
|
+
readonly name: "previousValuableEpochPosition";
|
|
6359
|
+
readonly type: "uint256";
|
|
6360
|
+
}, {
|
|
6361
|
+
readonly internalType: "address";
|
|
6362
|
+
readonly name: "token";
|
|
6363
|
+
readonly type: "address";
|
|
6364
|
+
}];
|
|
6365
|
+
readonly internalType: "struct ClaimRewardsArgs";
|
|
6366
|
+
readonly name: "args";
|
|
6367
|
+
readonly type: "tuple";
|
|
6336
6368
|
}];
|
|
6337
6369
|
readonly name: "getValueReward";
|
|
6338
6370
|
readonly outputs: readonly [{
|
|
@@ -6389,6 +6421,10 @@ export declare const abi: readonly [{
|
|
|
6389
6421
|
readonly internalType: "uint256";
|
|
6390
6422
|
readonly name: "valueOfferId";
|
|
6391
6423
|
readonly type: "uint256";
|
|
6424
|
+
}, {
|
|
6425
|
+
readonly internalType: "address";
|
|
6426
|
+
readonly name: "token";
|
|
6427
|
+
readonly type: "address";
|
|
6392
6428
|
}];
|
|
6393
6429
|
readonly name: "isValueClaimAvailable";
|
|
6394
6430
|
readonly outputs: readonly [{
|
|
@@ -6591,7 +6627,7 @@ export declare const abi: readonly [{
|
|
|
6591
6627
|
readonly type: "uint256";
|
|
6592
6628
|
}, {
|
|
6593
6629
|
readonly internalType: "uint256";
|
|
6594
|
-
readonly name: "
|
|
6630
|
+
readonly name: "valueReward_DEPRECATED";
|
|
6595
6631
|
readonly type: "uint256";
|
|
6596
6632
|
}, {
|
|
6597
6633
|
readonly internalType: "uint128";
|
|
@@ -6627,7 +6663,7 @@ export declare const abi: readonly [{
|
|
|
6627
6663
|
readonly type: "uint16";
|
|
6628
6664
|
}, {
|
|
6629
6665
|
readonly internalType: "bool";
|
|
6630
|
-
readonly name: "
|
|
6666
|
+
readonly name: "updateTeeEpochReward";
|
|
6631
6667
|
readonly type: "bool";
|
|
6632
6668
|
}, {
|
|
6633
6669
|
readonly components: readonly [{
|
|
@@ -6704,6 +6740,10 @@ export declare const abi: readonly [{
|
|
|
6704
6740
|
readonly internalType: "struct ConsensusBenchmarkPriceMultipliers";
|
|
6705
6741
|
readonly name: "penaltyPriceMultipliers";
|
|
6706
6742
|
readonly type: "tuple";
|
|
6743
|
+
}, {
|
|
6744
|
+
readonly internalType: "uint256";
|
|
6745
|
+
readonly name: "lastUpdatedEpochIndex";
|
|
6746
|
+
readonly type: "uint256";
|
|
6707
6747
|
}];
|
|
6708
6748
|
readonly internalType: "struct Epoch";
|
|
6709
6749
|
readonly name: "";
|
|
@@ -6717,68 +6757,131 @@ export declare const abi: readonly [{
|
|
|
6717
6757
|
readonly name: "epochIndex";
|
|
6718
6758
|
readonly type: "uint256";
|
|
6719
6759
|
}];
|
|
6720
|
-
readonly name: "
|
|
6760
|
+
readonly name: "getEpochTeeRewardParams";
|
|
6721
6761
|
readonly outputs: readonly [{
|
|
6722
|
-
readonly internalType: "uint256";
|
|
6723
|
-
readonly name: "teeReward";
|
|
6724
|
-
readonly type: "uint256";
|
|
6725
|
-
}, {
|
|
6726
|
-
readonly internalType: "uint256";
|
|
6727
|
-
readonly name: "valueReward";
|
|
6728
|
-
readonly type: "uint256";
|
|
6729
|
-
}, {
|
|
6730
|
-
readonly internalType: "uint256";
|
|
6731
|
-
readonly name: "compensation";
|
|
6732
|
-
readonly type: "uint256";
|
|
6733
|
-
}, {
|
|
6734
6762
|
readonly components: readonly [{
|
|
6735
|
-
readonly internalType: "
|
|
6736
|
-
readonly name: "
|
|
6737
|
-
readonly type: "
|
|
6738
|
-
}, {
|
|
6739
|
-
readonly internalType: "uint128";
|
|
6740
|
-
readonly name: "ramMultiplier";
|
|
6741
|
-
readonly type: "uint128";
|
|
6763
|
+
readonly internalType: "uint256";
|
|
6764
|
+
readonly name: "teeReward";
|
|
6765
|
+
readonly type: "uint256";
|
|
6742
6766
|
}, {
|
|
6743
|
-
readonly internalType: "
|
|
6744
|
-
readonly name: "
|
|
6745
|
-
readonly type: "
|
|
6767
|
+
readonly internalType: "uint256";
|
|
6768
|
+
readonly name: "compensation";
|
|
6769
|
+
readonly type: "uint256";
|
|
6746
6770
|
}, {
|
|
6747
|
-
readonly
|
|
6748
|
-
|
|
6749
|
-
|
|
6771
|
+
readonly components: readonly [{
|
|
6772
|
+
readonly internalType: "uint128";
|
|
6773
|
+
readonly name: "cpuMultiplier";
|
|
6774
|
+
readonly type: "uint128";
|
|
6775
|
+
}, {
|
|
6776
|
+
readonly internalType: "uint128";
|
|
6777
|
+
readonly name: "ramMultiplier";
|
|
6778
|
+
readonly type: "uint128";
|
|
6779
|
+
}, {
|
|
6780
|
+
readonly internalType: "uint128";
|
|
6781
|
+
readonly name: "gpuMultiplier";
|
|
6782
|
+
readonly type: "uint128";
|
|
6783
|
+
}, {
|
|
6784
|
+
readonly internalType: "uint128";
|
|
6785
|
+
readonly name: "diskMultiplier";
|
|
6786
|
+
readonly type: "uint128";
|
|
6787
|
+
}, {
|
|
6788
|
+
readonly internalType: "uint128";
|
|
6789
|
+
readonly name: "networkMultiplier";
|
|
6790
|
+
readonly type: "uint128";
|
|
6791
|
+
}];
|
|
6792
|
+
readonly internalType: "struct ConsensusBenchmarkPriceMultipliers";
|
|
6793
|
+
readonly name: "priceMultipliers";
|
|
6794
|
+
readonly type: "tuple";
|
|
6750
6795
|
}, {
|
|
6751
|
-
readonly
|
|
6752
|
-
|
|
6753
|
-
|
|
6796
|
+
readonly components: readonly [{
|
|
6797
|
+
readonly internalType: "uint128";
|
|
6798
|
+
readonly name: "cpu";
|
|
6799
|
+
readonly type: "uint128";
|
|
6800
|
+
}, {
|
|
6801
|
+
readonly internalType: "uint128";
|
|
6802
|
+
readonly name: "ram";
|
|
6803
|
+
readonly type: "uint128";
|
|
6804
|
+
}, {
|
|
6805
|
+
readonly internalType: "uint128";
|
|
6806
|
+
readonly name: "gpu";
|
|
6807
|
+
readonly type: "uint128";
|
|
6808
|
+
}, {
|
|
6809
|
+
readonly internalType: "uint128";
|
|
6810
|
+
readonly name: "disk";
|
|
6811
|
+
readonly type: "uint128";
|
|
6812
|
+
}, {
|
|
6813
|
+
readonly internalType: "uint128";
|
|
6814
|
+
readonly name: "network";
|
|
6815
|
+
readonly type: "uint128";
|
|
6816
|
+
}];
|
|
6817
|
+
readonly internalType: "struct ConsensusPrices";
|
|
6818
|
+
readonly name: "consensusPrices";
|
|
6819
|
+
readonly type: "tuple";
|
|
6754
6820
|
}];
|
|
6755
|
-
readonly internalType: "struct
|
|
6756
|
-
readonly name: "
|
|
6821
|
+
readonly internalType: "struct TeeRewardParams";
|
|
6822
|
+
readonly name: "teeRewardParams";
|
|
6757
6823
|
readonly type: "tuple";
|
|
6824
|
+
}];
|
|
6825
|
+
readonly stateMutability: "view";
|
|
6826
|
+
readonly type: "function";
|
|
6827
|
+
}, {
|
|
6828
|
+
readonly inputs: readonly [{
|
|
6829
|
+
readonly internalType: "uint256";
|
|
6830
|
+
readonly name: "epochIndex";
|
|
6831
|
+
readonly type: "uint256";
|
|
6758
6832
|
}, {
|
|
6833
|
+
readonly internalType: "address";
|
|
6834
|
+
readonly name: "token";
|
|
6835
|
+
readonly type: "address";
|
|
6836
|
+
}];
|
|
6837
|
+
readonly name: "getEpochValueParams";
|
|
6838
|
+
readonly outputs: readonly [{
|
|
6759
6839
|
readonly components: readonly [{
|
|
6760
|
-
readonly internalType: "
|
|
6761
|
-
readonly name: "
|
|
6762
|
-
readonly type: "
|
|
6840
|
+
readonly internalType: "uint256";
|
|
6841
|
+
readonly name: "valueReward";
|
|
6842
|
+
readonly type: "uint256";
|
|
6763
6843
|
}, {
|
|
6764
|
-
readonly internalType: "
|
|
6765
|
-
readonly name: "
|
|
6766
|
-
readonly type: "
|
|
6844
|
+
readonly internalType: "address";
|
|
6845
|
+
readonly name: "rewardToken";
|
|
6846
|
+
readonly type: "address";
|
|
6767
6847
|
}, {
|
|
6768
|
-
readonly internalType: "
|
|
6769
|
-
readonly name: "
|
|
6770
|
-
readonly type: "
|
|
6848
|
+
readonly internalType: "bool";
|
|
6849
|
+
readonly name: "isInitialized";
|
|
6850
|
+
readonly type: "bool";
|
|
6851
|
+
}];
|
|
6852
|
+
readonly internalType: "struct EpochValueParams";
|
|
6853
|
+
readonly name: "";
|
|
6854
|
+
readonly type: "tuple";
|
|
6855
|
+
}];
|
|
6856
|
+
readonly stateMutability: "view";
|
|
6857
|
+
readonly type: "function";
|
|
6858
|
+
}, {
|
|
6859
|
+
readonly inputs: readonly [{
|
|
6860
|
+
readonly internalType: "uint256";
|
|
6861
|
+
readonly name: "epochIndex";
|
|
6862
|
+
readonly type: "uint256";
|
|
6863
|
+
}, {
|
|
6864
|
+
readonly internalType: "address";
|
|
6865
|
+
readonly name: "token";
|
|
6866
|
+
readonly type: "address";
|
|
6867
|
+
}];
|
|
6868
|
+
readonly name: "getEpochValueReward";
|
|
6869
|
+
readonly outputs: readonly [{
|
|
6870
|
+
readonly components: readonly [{
|
|
6871
|
+
readonly internalType: "uint256";
|
|
6872
|
+
readonly name: "valueReward";
|
|
6873
|
+
readonly type: "uint256";
|
|
6771
6874
|
}, {
|
|
6772
|
-
readonly internalType: "
|
|
6773
|
-
readonly name: "
|
|
6774
|
-
readonly type: "
|
|
6875
|
+
readonly internalType: "address";
|
|
6876
|
+
readonly name: "rewardToken";
|
|
6877
|
+
readonly type: "address";
|
|
6775
6878
|
}, {
|
|
6776
|
-
readonly internalType: "
|
|
6777
|
-
readonly name: "
|
|
6778
|
-
readonly type: "
|
|
6879
|
+
readonly internalType: "bool";
|
|
6880
|
+
readonly name: "isInitialized";
|
|
6881
|
+
readonly type: "bool";
|
|
6779
6882
|
}];
|
|
6780
|
-
readonly internalType: "struct
|
|
6781
|
-
readonly name: "
|
|
6883
|
+
readonly internalType: "struct EpochValueParams";
|
|
6884
|
+
readonly name: "";
|
|
6782
6885
|
readonly type: "tuple";
|
|
6783
6886
|
}];
|
|
6784
6887
|
readonly stateMutability: "view";
|
|
@@ -6806,7 +6909,11 @@ export declare const abi: readonly [{
|
|
|
6806
6909
|
readonly stateMutability: "view";
|
|
6807
6910
|
readonly type: "function";
|
|
6808
6911
|
}, {
|
|
6809
|
-
readonly inputs: readonly [
|
|
6912
|
+
readonly inputs: readonly [{
|
|
6913
|
+
readonly internalType: "address";
|
|
6914
|
+
readonly name: "token";
|
|
6915
|
+
readonly type: "address";
|
|
6916
|
+
}];
|
|
6810
6917
|
readonly name: "getRewardAccounting";
|
|
6811
6918
|
readonly outputs: readonly [{
|
|
6812
6919
|
readonly components: readonly [{
|
|
@@ -6941,6 +7048,29 @@ export declare const abi: readonly [{
|
|
|
6941
7048
|
}];
|
|
6942
7049
|
readonly stateMutability: "view";
|
|
6943
7050
|
readonly type: "function";
|
|
7051
|
+
}, {
|
|
7052
|
+
readonly inputs: readonly [];
|
|
7053
|
+
readonly name: "getTeeRewardAccounting";
|
|
7054
|
+
readonly outputs: readonly [{
|
|
7055
|
+
readonly components: readonly [{
|
|
7056
|
+
readonly internalType: "uint256";
|
|
7057
|
+
readonly name: "debtRewardAmount";
|
|
7058
|
+
readonly type: "uint256";
|
|
7059
|
+
}, {
|
|
7060
|
+
readonly internalType: "uint256";
|
|
7061
|
+
readonly name: "claimedAmount";
|
|
7062
|
+
readonly type: "uint256";
|
|
7063
|
+
}, {
|
|
7064
|
+
readonly internalType: "uint256";
|
|
7065
|
+
readonly name: "addedAmount";
|
|
7066
|
+
readonly type: "uint256";
|
|
7067
|
+
}];
|
|
7068
|
+
readonly internalType: "struct ProviderRewardsStorageAccessor.RewardAccounting";
|
|
7069
|
+
readonly name: "";
|
|
7070
|
+
readonly type: "tuple";
|
|
7071
|
+
}];
|
|
7072
|
+
readonly stateMutability: "view";
|
|
7073
|
+
readonly type: "function";
|
|
6944
7074
|
}, {
|
|
6945
7075
|
readonly inputs: readonly [{
|
|
6946
7076
|
readonly internalType: "uint256";
|
|
@@ -7001,16 +7131,16 @@ export declare const abi: readonly [{
|
|
|
7001
7131
|
readonly type: "bool";
|
|
7002
7132
|
}, {
|
|
7003
7133
|
readonly internalType: "bool";
|
|
7004
|
-
readonly name: "
|
|
7134
|
+
readonly name: "cacheSaved";
|
|
7005
7135
|
readonly type: "bool";
|
|
7006
7136
|
}, {
|
|
7007
|
-
readonly internalType: "
|
|
7008
|
-
readonly name: "
|
|
7009
|
-
readonly type: "
|
|
7137
|
+
readonly internalType: "uint16";
|
|
7138
|
+
readonly name: "calculationRewardShare";
|
|
7139
|
+
readonly type: "uint16";
|
|
7010
7140
|
}, {
|
|
7011
|
-
readonly internalType: "
|
|
7012
|
-
readonly name: "
|
|
7013
|
-
readonly type: "
|
|
7141
|
+
readonly internalType: "uint16";
|
|
7142
|
+
readonly name: "calculationGhostRewardShare";
|
|
7143
|
+
readonly type: "uint16";
|
|
7014
7144
|
}, {
|
|
7015
7145
|
readonly internalType: "uint128";
|
|
7016
7146
|
readonly name: "runningCommissionPrice";
|
|
@@ -7019,6 +7149,14 @@ export declare const abi: readonly [{
|
|
|
7019
7149
|
readonly internalType: "int128";
|
|
7020
7150
|
readonly name: "commissionDelta";
|
|
7021
7151
|
readonly type: "int128";
|
|
7152
|
+
}, {
|
|
7153
|
+
readonly internalType: "uint256";
|
|
7154
|
+
readonly name: "commissionCache";
|
|
7155
|
+
readonly type: "uint256";
|
|
7156
|
+
}, {
|
|
7157
|
+
readonly internalType: "uint256";
|
|
7158
|
+
readonly name: "ghostCommissionCache";
|
|
7159
|
+
readonly type: "uint256";
|
|
7022
7160
|
}];
|
|
7023
7161
|
readonly internalType: "struct ProviderRewardsStorageAccessor.ValueOffer";
|
|
7024
7162
|
readonly name: "";
|
|
@@ -7032,20 +7170,11 @@ export declare const abi: readonly [{
|
|
|
7032
7170
|
readonly name: "valueOfferId";
|
|
7033
7171
|
readonly type: "uint256";
|
|
7034
7172
|
}];
|
|
7035
|
-
readonly name: "
|
|
7173
|
+
readonly name: "getValueValuableEpochs";
|
|
7036
7174
|
readonly outputs: readonly [{
|
|
7037
|
-
readonly
|
|
7038
|
-
readonly internalType: "uint32[]";
|
|
7039
|
-
readonly name: "valuableEpochs";
|
|
7040
|
-
readonly type: "uint32[]";
|
|
7041
|
-
}, {
|
|
7042
|
-
readonly internalType: "uint256";
|
|
7043
|
-
readonly name: "remainReward_DEPRECATED";
|
|
7044
|
-
readonly type: "uint256";
|
|
7045
|
-
}];
|
|
7046
|
-
readonly internalType: "struct ProviderRewardsStorageAccessor.ValueOfferState";
|
|
7175
|
+
readonly internalType: "uint32[]";
|
|
7047
7176
|
readonly name: "";
|
|
7048
|
-
readonly type: "
|
|
7177
|
+
readonly type: "uint32[]";
|
|
7049
7178
|
}];
|
|
7050
7179
|
readonly stateMutability: "view";
|
|
7051
7180
|
readonly type: "function";
|
|
@@ -7766,6 +7895,16 @@ export declare const abi: readonly [{
|
|
|
7766
7895
|
}];
|
|
7767
7896
|
readonly stateMutability: "nonpayable";
|
|
7768
7897
|
readonly type: "function";
|
|
7898
|
+
}, {
|
|
7899
|
+
readonly anonymous: false;
|
|
7900
|
+
readonly inputs: readonly [{
|
|
7901
|
+
readonly indexed: false;
|
|
7902
|
+
readonly internalType: "bool";
|
|
7903
|
+
readonly name: "isLocked";
|
|
7904
|
+
readonly type: "bool";
|
|
7905
|
+
}];
|
|
7906
|
+
readonly name: "StorageLocked";
|
|
7907
|
+
readonly type: "event";
|
|
7769
7908
|
}, {
|
|
7770
7909
|
readonly anonymous: false;
|
|
7771
7910
|
readonly inputs: readonly [{
|
|
@@ -7779,17 +7918,17 @@ export declare const abi: readonly [{
|
|
|
7779
7918
|
readonly name: "token";
|
|
7780
7919
|
readonly type: "address";
|
|
7781
7920
|
}];
|
|
7782
|
-
readonly name: "
|
|
7921
|
+
readonly name: "TeeRewardTokenChanged";
|
|
7783
7922
|
readonly type: "event";
|
|
7784
7923
|
}, {
|
|
7785
7924
|
readonly anonymous: false;
|
|
7786
7925
|
readonly inputs: readonly [{
|
|
7787
|
-
readonly indexed:
|
|
7926
|
+
readonly indexed: true;
|
|
7788
7927
|
readonly internalType: "bool";
|
|
7789
|
-
readonly name: "
|
|
7928
|
+
readonly name: "value";
|
|
7790
7929
|
readonly type: "bool";
|
|
7791
7930
|
}];
|
|
7792
|
-
readonly name: "
|
|
7931
|
+
readonly name: "TeeRewardsEnabled";
|
|
7793
7932
|
readonly type: "event";
|
|
7794
7933
|
}, {
|
|
7795
7934
|
readonly anonymous: false;
|
|
@@ -8043,6 +8182,14 @@ export declare const abi: readonly [{
|
|
|
8043
8182
|
readonly internalType: "uint256";
|
|
8044
8183
|
readonly name: "storageRequestFee";
|
|
8045
8184
|
readonly type: "uint256";
|
|
8185
|
+
}, {
|
|
8186
|
+
readonly internalType: "uint256";
|
|
8187
|
+
readonly name: "distributableAnnualAmount";
|
|
8188
|
+
readonly type: "uint256";
|
|
8189
|
+
}, {
|
|
8190
|
+
readonly internalType: "address";
|
|
8191
|
+
readonly name: "rewardToken";
|
|
8192
|
+
readonly type: "address";
|
|
8046
8193
|
}];
|
|
8047
8194
|
readonly internalType: "struct TokenInfo";
|
|
8048
8195
|
readonly name: "tokenInfo";
|
|
@@ -8055,12 +8202,20 @@ export declare const abi: readonly [{
|
|
|
8055
8202
|
readonly stateMutability: "view";
|
|
8056
8203
|
readonly type: "function";
|
|
8057
8204
|
}, {
|
|
8058
|
-
readonly inputs: readonly [
|
|
8205
|
+
readonly inputs: readonly [{
|
|
8206
|
+
readonly internalType: "address";
|
|
8207
|
+
readonly name: "token";
|
|
8208
|
+
readonly type: "address";
|
|
8209
|
+
}];
|
|
8059
8210
|
readonly name: "getValueRewardPerEpoch";
|
|
8060
8211
|
readonly outputs: readonly [{
|
|
8061
8212
|
readonly internalType: "uint256";
|
|
8062
8213
|
readonly name: "valueReward";
|
|
8063
8214
|
readonly type: "uint256";
|
|
8215
|
+
}, {
|
|
8216
|
+
readonly internalType: "address";
|
|
8217
|
+
readonly name: "rewardToken";
|
|
8218
|
+
readonly type: "address";
|
|
8064
8219
|
}];
|
|
8065
8220
|
readonly stateMutability: "view";
|
|
8066
8221
|
readonly type: "function";
|
|
@@ -8239,7 +8394,7 @@ export declare const abi: readonly [{
|
|
|
8239
8394
|
readonly name: "token";
|
|
8240
8395
|
readonly type: "address";
|
|
8241
8396
|
}];
|
|
8242
|
-
readonly name: "
|
|
8397
|
+
readonly name: "setTeeRewardToken";
|
|
8243
8398
|
readonly outputs: readonly [];
|
|
8244
8399
|
readonly stateMutability: "nonpayable";
|
|
8245
8400
|
readonly type: "function";
|
|
@@ -8265,6 +8420,14 @@ export declare const abi: readonly [{
|
|
|
8265
8420
|
readonly internalType: "uint256";
|
|
8266
8421
|
readonly name: "storageRequestFee";
|
|
8267
8422
|
readonly type: "uint256";
|
|
8423
|
+
}, {
|
|
8424
|
+
readonly internalType: "uint256";
|
|
8425
|
+
readonly name: "distributableAnnualAmount";
|
|
8426
|
+
readonly type: "uint256";
|
|
8427
|
+
}, {
|
|
8428
|
+
readonly internalType: "address";
|
|
8429
|
+
readonly name: "rewardToken";
|
|
8430
|
+
readonly type: "address";
|
|
8268
8431
|
}];
|
|
8269
8432
|
readonly internalType: "struct TokenInfo[]";
|
|
8270
8433
|
readonly name: "tokens";
|
|
@@ -8274,6 +8437,16 @@ export declare const abi: readonly [{
|
|
|
8274
8437
|
readonly outputs: readonly [];
|
|
8275
8438
|
readonly stateMutability: "nonpayable";
|
|
8276
8439
|
readonly type: "function";
|
|
8440
|
+
}, {
|
|
8441
|
+
readonly inputs: readonly [{
|
|
8442
|
+
readonly internalType: "bool";
|
|
8443
|
+
readonly name: "value";
|
|
8444
|
+
readonly type: "bool";
|
|
8445
|
+
}];
|
|
8446
|
+
readonly name: "setupTeeRewards";
|
|
8447
|
+
readonly outputs: readonly [];
|
|
8448
|
+
readonly stateMutability: "nonpayable";
|
|
8449
|
+
readonly type: "function";
|
|
8277
8450
|
}, {
|
|
8278
8451
|
readonly inputs: readonly [{
|
|
8279
8452
|
readonly internalType: "bool";
|
|
@@ -8384,6 +8557,16 @@ export declare const abi: readonly [{
|
|
|
8384
8557
|
readonly outputs: readonly [];
|
|
8385
8558
|
readonly stateMutability: "nonpayable";
|
|
8386
8559
|
readonly type: "function";
|
|
8560
|
+
}, {
|
|
8561
|
+
readonly inputs: readonly [];
|
|
8562
|
+
readonly name: "getSwarmAddress";
|
|
8563
|
+
readonly outputs: readonly [{
|
|
8564
|
+
readonly internalType: "address";
|
|
8565
|
+
readonly name: "";
|
|
8566
|
+
readonly type: "address";
|
|
8567
|
+
}];
|
|
8568
|
+
readonly stateMutability: "view";
|
|
8569
|
+
readonly type: "function";
|
|
8387
8570
|
}, {
|
|
8388
8571
|
readonly inputs: readonly [{
|
|
8389
8572
|
readonly internalType: "uint256";
|
|
@@ -8487,16 +8670,6 @@ export declare const abi: readonly [{
|
|
|
8487
8670
|
readonly outputs: readonly [];
|
|
8488
8671
|
readonly stateMutability: "nonpayable";
|
|
8489
8672
|
readonly type: "function";
|
|
8490
|
-
}, {
|
|
8491
|
-
readonly inputs: readonly [];
|
|
8492
|
-
readonly name: "swarmAddress";
|
|
8493
|
-
readonly outputs: readonly [{
|
|
8494
|
-
readonly internalType: "address";
|
|
8495
|
-
readonly name: "";
|
|
8496
|
-
readonly type: "address";
|
|
8497
|
-
}];
|
|
8498
|
-
readonly stateMutability: "view";
|
|
8499
|
-
readonly type: "function";
|
|
8500
8673
|
}, {
|
|
8501
8674
|
readonly anonymous: false;
|
|
8502
8675
|
readonly inputs: readonly [{
|
|
@@ -9375,6 +9548,28 @@ export declare const abi: readonly [{
|
|
|
9375
9548
|
}];
|
|
9376
9549
|
readonly stateMutability: "nonpayable";
|
|
9377
9550
|
readonly type: "function";
|
|
9551
|
+
}, {
|
|
9552
|
+
readonly inputs: readonly [{
|
|
9553
|
+
readonly internalType: "uint256";
|
|
9554
|
+
readonly name: "amount";
|
|
9555
|
+
readonly type: "uint256";
|
|
9556
|
+
}, {
|
|
9557
|
+
readonly internalType: "address";
|
|
9558
|
+
readonly name: "tokenFrom";
|
|
9559
|
+
readonly type: "address";
|
|
9560
|
+
}, {
|
|
9561
|
+
readonly internalType: "address";
|
|
9562
|
+
readonly name: "tokenTo";
|
|
9563
|
+
readonly type: "address";
|
|
9564
|
+
}];
|
|
9565
|
+
readonly name: "convert";
|
|
9566
|
+
readonly outputs: readonly [{
|
|
9567
|
+
readonly internalType: "uint256";
|
|
9568
|
+
readonly name: "";
|
|
9569
|
+
readonly type: "uint256";
|
|
9570
|
+
}];
|
|
9571
|
+
readonly stateMutability: "view";
|
|
9572
|
+
readonly type: "function";
|
|
9378
9573
|
}, {
|
|
9379
9574
|
readonly anonymous: false;
|
|
9380
9575
|
readonly inputs: readonly [{
|