@super-protocol/sdk-js 3.17.1 → 3.18.0
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 +80 -16
- package/dist/cjs/contracts/abi.js +106 -22
- 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 +80 -16
- package/dist/mjs/contracts/abi.js +104 -20
- 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
|
@@ -41,6 +41,7 @@ export declare const DepositConfiscated: "DepositConfiscated";
|
|
|
41
41
|
export declare const RewardConfiscated: "RewardConfiscated";
|
|
42
42
|
export declare const RewardTokenChanged: "RewardTokenChanged";
|
|
43
43
|
export declare const StorageLocked: "StorageLocked";
|
|
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 RewardTokenChanged | typeof StorageLocked | 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
|
+
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 RewardTokenChanged | typeof StorageLocked | 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";
|
|
@@ -7469,6 +7493,16 @@ export declare const abi: readonly [{
|
|
|
7469
7493
|
}];
|
|
7470
7494
|
readonly name: "StorageLocked";
|
|
7471
7495
|
readonly type: "event";
|
|
7496
|
+
}, {
|
|
7497
|
+
readonly anonymous: false;
|
|
7498
|
+
readonly inputs: readonly [{
|
|
7499
|
+
readonly indexed: true;
|
|
7500
|
+
readonly internalType: "bool";
|
|
7501
|
+
readonly name: "value";
|
|
7502
|
+
readonly type: "bool";
|
|
7503
|
+
}];
|
|
7504
|
+
readonly name: "TeeRewardsEnabled";
|
|
7505
|
+
readonly type: "event";
|
|
7472
7506
|
}, {
|
|
7473
7507
|
readonly anonymous: false;
|
|
7474
7508
|
readonly inputs: readonly [{
|
|
@@ -7952,6 +7986,16 @@ export declare const abi: readonly [{
|
|
|
7952
7986
|
readonly outputs: readonly [];
|
|
7953
7987
|
readonly stateMutability: "nonpayable";
|
|
7954
7988
|
readonly type: "function";
|
|
7989
|
+
}, {
|
|
7990
|
+
readonly inputs: readonly [{
|
|
7991
|
+
readonly internalType: "bool";
|
|
7992
|
+
readonly name: "value";
|
|
7993
|
+
readonly type: "bool";
|
|
7994
|
+
}];
|
|
7995
|
+
readonly name: "setupTeeRewards";
|
|
7996
|
+
readonly outputs: readonly [];
|
|
7997
|
+
readonly stateMutability: "nonpayable";
|
|
7998
|
+
readonly type: "function";
|
|
7955
7999
|
}, {
|
|
7956
8000
|
readonly inputs: readonly [{
|
|
7957
8001
|
readonly internalType: "bool";
|
|
@@ -9768,6 +9812,41 @@ export declare const abi: readonly [{
|
|
|
9768
9812
|
}];
|
|
9769
9813
|
readonly name: "DiamondCut";
|
|
9770
9814
|
readonly type: "event";
|
|
9815
|
+
}, {
|
|
9816
|
+
readonly anonymous: false;
|
|
9817
|
+
readonly inputs: readonly [{
|
|
9818
|
+
readonly indexed: true;
|
|
9819
|
+
readonly internalType: "address";
|
|
9820
|
+
readonly name: "previousOwner";
|
|
9821
|
+
readonly type: "address";
|
|
9822
|
+
}, {
|
|
9823
|
+
readonly indexed: true;
|
|
9824
|
+
readonly internalType: "address";
|
|
9825
|
+
readonly name: "newOwner";
|
|
9826
|
+
readonly type: "address";
|
|
9827
|
+
}];
|
|
9828
|
+
readonly name: "OwnershipTransferred";
|
|
9829
|
+
readonly type: "event";
|
|
9830
|
+
}, {
|
|
9831
|
+
readonly inputs: readonly [];
|
|
9832
|
+
readonly name: "deployer";
|
|
9833
|
+
readonly outputs: readonly [{
|
|
9834
|
+
readonly internalType: "address";
|
|
9835
|
+
readonly name: "";
|
|
9836
|
+
readonly type: "address";
|
|
9837
|
+
}];
|
|
9838
|
+
readonly stateMutability: "view";
|
|
9839
|
+
readonly type: "function";
|
|
9840
|
+
}, {
|
|
9841
|
+
readonly inputs: readonly [];
|
|
9842
|
+
readonly name: "deploymentBlockNumber";
|
|
9843
|
+
readonly outputs: readonly [{
|
|
9844
|
+
readonly internalType: "uint64";
|
|
9845
|
+
readonly name: "";
|
|
9846
|
+
readonly type: "uint64";
|
|
9847
|
+
}];
|
|
9848
|
+
readonly stateMutability: "view";
|
|
9849
|
+
readonly type: "function";
|
|
9771
9850
|
}, {
|
|
9772
9851
|
readonly inputs: readonly [{
|
|
9773
9852
|
readonly components: readonly [{
|
|
@@ -9894,21 +9973,6 @@ export declare const abi: readonly [{
|
|
|
9894
9973
|
}];
|
|
9895
9974
|
readonly stateMutability: "view";
|
|
9896
9975
|
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
9976
|
}, {
|
|
9913
9977
|
readonly inputs: readonly [];
|
|
9914
9978
|
readonly name: "owner";
|