@super-protocol/sdk-js 3.1.1 → 3.1.2-beta.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/constants.d.ts +1 -1
- package/dist/cjs/constants.js +19 -19
- package/dist/cjs/contracts/abi.d.ts +603 -428
- package/dist/cjs/contracts/abi.js +863 -637
- package/dist/cjs/contracts/tokenAbi.d.ts +361 -0
- package/dist/cjs/contracts/tokenAbi.js +469 -0
- package/dist/cjs/models/Order.d.ts +1 -1
- package/dist/cjs/models/Order.js +5 -6
- package/dist/cjs/models/Provider.d.ts +0 -1
- package/dist/cjs/models/Provider.js +1 -7
- package/dist/cjs/models/TCB.d.ts +1 -1
- package/dist/cjs/models/TCB.js +8 -3
- package/dist/cjs/staticModels/Deposits.d.ts +15 -1
- package/dist/cjs/staticModels/Deposits.js +48 -4
- package/dist/cjs/staticModels/Orders.d.ts +1 -0
- package/dist/cjs/staticModels/Orders.js +15 -1
- package/dist/cjs/staticModels/ProviderRewards.d.ts +3 -2
- package/dist/cjs/staticModels/ProviderRewards.js +27 -7
- package/dist/cjs/staticModels/SuperproToken.d.ts +38 -0
- package/dist/cjs/staticModels/SuperproToken.js +151 -3
- package/dist/cjs/types/Consensus.d.ts +10 -3
- package/dist/cjs/types/Consensus.js +1 -1
- package/dist/cjs/types/OrderUsage.d.ts +1 -0
- package/dist/cjs/types/ProviderRewards.d.ts +5 -0
- package/dist/cjs/types/ProviderRewards.js +3 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/cjs/types/index.js +2 -1
- package/dist/cjs/utils/helper.d.ts +2 -1
- package/dist/cjs/utils/helper.js +13 -2
- package/dist/cjs/utils/helpers/OrderArgsHelper.d.ts +2 -1
- package/dist/cjs/utils/helpers/OrderArgsHelper.js +25 -1
- package/dist/cjs/utils/helpers/index.d.ts +0 -1
- package/dist/cjs/utils/helpers/index.js +1 -2
- package/dist/mjs/constants.d.ts +1 -1
- package/dist/mjs/constants.js +19 -19
- package/dist/mjs/contracts/abi.d.ts +603 -428
- package/dist/mjs/contracts/abi.js +861 -635
- package/dist/mjs/contracts/tokenAbi.d.ts +361 -0
- package/dist/mjs/contracts/tokenAbi.js +466 -0
- package/dist/mjs/models/Order.d.ts +1 -1
- package/dist/mjs/models/Order.js +5 -6
- package/dist/mjs/models/Provider.d.ts +0 -1
- package/dist/mjs/models/Provider.js +1 -7
- package/dist/mjs/models/TCB.d.ts +1 -1
- package/dist/mjs/models/TCB.js +8 -3
- package/dist/mjs/staticModels/Deposits.d.ts +15 -1
- package/dist/mjs/staticModels/Deposits.js +48 -4
- package/dist/mjs/staticModels/Orders.d.ts +1 -0
- package/dist/mjs/staticModels/Orders.js +15 -1
- package/dist/mjs/staticModels/ProviderRewards.d.ts +3 -2
- package/dist/mjs/staticModels/ProviderRewards.js +28 -8
- package/dist/mjs/staticModels/SuperproToken.d.ts +38 -0
- package/dist/mjs/staticModels/SuperproToken.js +150 -2
- package/dist/mjs/types/Consensus.d.ts +10 -3
- package/dist/mjs/types/Consensus.js +1 -1
- package/dist/mjs/types/OrderUsage.d.ts +1 -0
- package/dist/mjs/types/ProviderRewards.d.ts +5 -0
- package/dist/mjs/types/ProviderRewards.js +2 -0
- package/dist/mjs/types/index.d.ts +1 -0
- package/dist/mjs/types/index.js +2 -1
- package/dist/mjs/utils/helper.d.ts +2 -1
- package/dist/mjs/utils/helper.js +11 -1
- package/dist/mjs/utils/helpers/OrderArgsHelper.d.ts +2 -1
- package/dist/mjs/utils/helpers/OrderArgsHelper.js +25 -1
- package/dist/mjs/utils/helpers/index.d.ts +0 -1
- package/dist/mjs/utils/helpers/index.js +1 -2
- package/package.json +1 -3
- package/dist/cjs/utils/helpers/calculateObjectHash.d.ts +0 -8
- package/dist/cjs/utils/helpers/calculateObjectHash.js +0 -25
- package/dist/mjs/utils/helpers/calculateObjectHash.d.ts +0 -8
- package/dist/mjs/utils/helpers/calculateObjectHash.js +0 -18
|
@@ -8,6 +8,7 @@ export declare const DepositPartLocked: "DepositPartLocked";
|
|
|
8
8
|
export declare const DepositPartUnlocked: "DepositPartUnlocked";
|
|
9
9
|
export declare const DepositReplenished: "DepositReplenished";
|
|
10
10
|
export declare const DepositWithdrawn: "DepositWithdrawn";
|
|
11
|
+
export declare const ProfitWithdrawn: "ProfitWithdrawn";
|
|
11
12
|
export declare const OfferCreated: "OfferCreated";
|
|
12
13
|
export declare const OfferDisabled: "OfferDisabled";
|
|
13
14
|
export declare const OfferEnabled: "OfferEnabled";
|
|
@@ -18,18 +19,18 @@ export declare const OrdersGroupCreated: "OrdersGroupCreated";
|
|
|
18
19
|
export declare const OrderCreated: "OrderCreated";
|
|
19
20
|
export declare const OrderStatusUpdated: "OrderStatusUpdated";
|
|
20
21
|
export declare const OrderAwaitingPaymentChanged: "OrderAwaitingPaymentChanged";
|
|
22
|
+
export declare const OrderChangeWithdrawn: "OrderChangeWithdrawn";
|
|
21
23
|
export declare const OrderDepositRefilled: "OrderDepositRefilled";
|
|
22
24
|
export declare const OrderOptionsDepositSpentChanged: "OrderOptionsDepositSpentChanged";
|
|
23
|
-
export declare const OrderProfitUnlocked: "OrderProfitUnlocked";
|
|
24
|
-
export declare const OrderChangeWithdrawn: "OrderChangeWithdrawn";
|
|
25
|
-
export declare const OrderEncryptedResultUpdated: "OrderEncryptedResultUpdated";
|
|
26
25
|
export declare const OrderProfitWithdrawn: "OrderProfitWithdrawn";
|
|
26
|
+
export declare const OrderEncryptedResultUpdated: "OrderEncryptedResultUpdated";
|
|
27
27
|
export declare const OrderStarted: "OrderStarted";
|
|
28
28
|
export declare const OrderOptionsChangeRequested: "OrderOptionsChangeRequested";
|
|
29
29
|
export declare const OrderOptionsChanged: "OrderOptionsChanged";
|
|
30
30
|
export declare const OrderSlotCountUpdateRequested: "OrderSlotCountUpdateRequested";
|
|
31
31
|
export declare const OrderSlotCountUpdated: "OrderSlotCountUpdated";
|
|
32
32
|
export declare const RewardsClaimed: "RewardsClaimed";
|
|
33
|
+
export declare const SetValueOfferIgnored: "SetValueOfferIgnored";
|
|
33
34
|
export declare const ProviderDepositTokenUpdated: "ProviderDepositTokenUpdated";
|
|
34
35
|
export declare const ProviderModified: "ProviderModified";
|
|
35
36
|
export declare const ProviderRegistered: "ProviderRegistered";
|
|
@@ -62,7 +63,7 @@ export declare const OrderResourceCreated: "OrderResourceCreated";
|
|
|
62
63
|
export declare const OfferStorageRequestCanceled: "OfferStorageRequestCanceled";
|
|
63
64
|
export declare const OfferStorageRequestCreated: "OfferStorageRequestCreated";
|
|
64
65
|
export declare const SecretRequestCreated: "SecretRequestCreated";
|
|
65
|
-
export type AbiEvent = typeof Approval | typeof Transfer | typeof TcbBenchmarkChanged | typeof TcbCompleted | typeof TcbInitialized | typeof TcbBanned | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof
|
|
66
|
+
export type AbiEvent = typeof Approval | typeof Transfer | typeof TcbBenchmarkChanged | typeof TcbCompleted | typeof TcbInitialized | typeof TcbBanned | typeof DepositPartLocked | typeof DepositPartUnlocked | typeof DepositReplenished | typeof DepositWithdrawn | typeof ProfitWithdrawn | typeof OfferCreated | typeof OfferDisabled | typeof OfferEnabled | typeof SetValueOfferRestrictions | typeof TeeOfferCreated | typeof TeeOfferViolationRateChanged | typeof OrdersGroupCreated | typeof OrderCreated | typeof OrderStatusUpdated | typeof OrderAwaitingPaymentChanged | typeof OrderChangeWithdrawn | typeof OrderDepositRefilled | typeof OrderOptionsDepositSpentChanged | 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 PrimaryTokenStatusChanged | typeof RewardTokenChanged | typeof TokenInfoUpdated | typeof TokenRemoved | 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 LoaderSecretPublicKeySessionUpdated | typeof LoaderSessionKeyUpdated | typeof OfferResourceCreated | typeof OrderResourceCreated | typeof OfferStorageRequestCanceled | typeof OfferStorageRequestCreated | typeof SecretRequestCreated;
|
|
66
67
|
export declare const abi: readonly [{
|
|
67
68
|
readonly anonymous: false;
|
|
68
69
|
readonly inputs: readonly [{
|
|
@@ -1208,6 +1209,21 @@ export declare const abi: readonly [{
|
|
|
1208
1209
|
}];
|
|
1209
1210
|
readonly name: "DepositWithdrawn";
|
|
1210
1211
|
readonly type: "event";
|
|
1212
|
+
}, {
|
|
1213
|
+
readonly anonymous: false;
|
|
1214
|
+
readonly inputs: readonly [{
|
|
1215
|
+
readonly indexed: true;
|
|
1216
|
+
readonly internalType: "address";
|
|
1217
|
+
readonly name: "owner";
|
|
1218
|
+
readonly type: "address";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly indexed: false;
|
|
1221
|
+
readonly internalType: "uint256";
|
|
1222
|
+
readonly name: "amount";
|
|
1223
|
+
readonly type: "uint256";
|
|
1224
|
+
}];
|
|
1225
|
+
readonly name: "ProfitWithdrawn";
|
|
1226
|
+
readonly type: "event";
|
|
1211
1227
|
}, {
|
|
1212
1228
|
readonly inputs: readonly [{
|
|
1213
1229
|
readonly internalType: "address";
|
|
@@ -1411,7 +1427,17 @@ export declare const abi: readonly [{
|
|
|
1411
1427
|
readonly name: "amount";
|
|
1412
1428
|
readonly type: "uint256";
|
|
1413
1429
|
}];
|
|
1414
|
-
readonly name: "
|
|
1430
|
+
readonly name: "withdrawDeposit";
|
|
1431
|
+
readonly outputs: readonly [];
|
|
1432
|
+
readonly stateMutability: "nonpayable";
|
|
1433
|
+
readonly type: "function";
|
|
1434
|
+
}, {
|
|
1435
|
+
readonly inputs: readonly [{
|
|
1436
|
+
readonly internalType: "address";
|
|
1437
|
+
readonly name: "tokenAddress";
|
|
1438
|
+
readonly type: "address";
|
|
1439
|
+
}];
|
|
1440
|
+
readonly name: "withdrawProfit";
|
|
1415
1441
|
readonly outputs: readonly [];
|
|
1416
1442
|
readonly stateMutability: "nonpayable";
|
|
1417
1443
|
readonly type: "function";
|
|
@@ -3597,6 +3623,26 @@ export declare const abi: readonly [{
|
|
|
3597
3623
|
}];
|
|
3598
3624
|
readonly name: "OrderAwaitingPaymentChanged";
|
|
3599
3625
|
readonly type: "event";
|
|
3626
|
+
}, {
|
|
3627
|
+
readonly anonymous: false;
|
|
3628
|
+
readonly inputs: readonly [{
|
|
3629
|
+
readonly indexed: true;
|
|
3630
|
+
readonly internalType: "address";
|
|
3631
|
+
readonly name: "consumer";
|
|
3632
|
+
readonly type: "address";
|
|
3633
|
+
}, {
|
|
3634
|
+
readonly indexed: true;
|
|
3635
|
+
readonly internalType: "uint256";
|
|
3636
|
+
readonly name: "orderId";
|
|
3637
|
+
readonly type: "uint256";
|
|
3638
|
+
}, {
|
|
3639
|
+
readonly indexed: false;
|
|
3640
|
+
readonly internalType: "uint256";
|
|
3641
|
+
readonly name: "change";
|
|
3642
|
+
readonly type: "uint256";
|
|
3643
|
+
}];
|
|
3644
|
+
readonly name: "OrderChangeWithdrawn";
|
|
3645
|
+
readonly type: "event";
|
|
3600
3646
|
}, {
|
|
3601
3647
|
readonly anonymous: false;
|
|
3602
3648
|
readonly inputs: readonly [{
|
|
@@ -3655,8 +3701,22 @@ export declare const abi: readonly [{
|
|
|
3655
3701
|
readonly name: "profit";
|
|
3656
3702
|
readonly type: "uint256";
|
|
3657
3703
|
}];
|
|
3658
|
-
readonly name: "
|
|
3704
|
+
readonly name: "OrderProfitWithdrawn";
|
|
3659
3705
|
readonly type: "event";
|
|
3706
|
+
}, {
|
|
3707
|
+
readonly inputs: readonly [{
|
|
3708
|
+
readonly internalType: "uint256[]";
|
|
3709
|
+
readonly name: "orderIds";
|
|
3710
|
+
readonly type: "uint256[]";
|
|
3711
|
+
}, {
|
|
3712
|
+
readonly internalType: "bool";
|
|
3713
|
+
readonly name: "directlyToProviderWallet";
|
|
3714
|
+
readonly type: "bool";
|
|
3715
|
+
}];
|
|
3716
|
+
readonly name: "claimOrdersProfitByList";
|
|
3717
|
+
readonly outputs: readonly [];
|
|
3718
|
+
readonly stateMutability: "nonpayable";
|
|
3719
|
+
readonly type: "function";
|
|
3660
3720
|
}, {
|
|
3661
3721
|
readonly inputs: readonly [{
|
|
3662
3722
|
readonly internalType: "uint256";
|
|
@@ -3680,18 +3740,14 @@ export declare const abi: readonly [{
|
|
|
3680
3740
|
readonly internalType: "uint256";
|
|
3681
3741
|
readonly name: "orderId";
|
|
3682
3742
|
readonly type: "uint256";
|
|
3683
|
-
}
|
|
3684
|
-
readonly name: "isOrderProfitAvailable";
|
|
3685
|
-
readonly outputs: readonly [{
|
|
3743
|
+
}, {
|
|
3686
3744
|
readonly internalType: "bool";
|
|
3687
|
-
readonly name: "
|
|
3745
|
+
readonly name: "directlyToProviderWallet";
|
|
3688
3746
|
readonly type: "bool";
|
|
3689
|
-
}, {
|
|
3690
|
-
readonly internalType: "uint256";
|
|
3691
|
-
readonly name: "profit";
|
|
3692
|
-
readonly type: "uint256";
|
|
3693
3747
|
}];
|
|
3694
|
-
readonly
|
|
3748
|
+
readonly name: "distributeOrderDepositByApp";
|
|
3749
|
+
readonly outputs: readonly [];
|
|
3750
|
+
readonly stateMutability: "nonpayable";
|
|
3695
3751
|
readonly type: "function";
|
|
3696
3752
|
}, {
|
|
3697
3753
|
readonly inputs: readonly [{
|
|
@@ -3735,50 +3791,6 @@ export declare const abi: readonly [{
|
|
|
3735
3791
|
readonly outputs: readonly [];
|
|
3736
3792
|
readonly stateMutability: "nonpayable";
|
|
3737
3793
|
readonly type: "function";
|
|
3738
|
-
}, {
|
|
3739
|
-
readonly inputs: readonly [{
|
|
3740
|
-
readonly internalType: "uint256";
|
|
3741
|
-
readonly name: "orderId";
|
|
3742
|
-
readonly type: "uint256";
|
|
3743
|
-
}];
|
|
3744
|
-
readonly name: "unlockProfit";
|
|
3745
|
-
readonly outputs: readonly [];
|
|
3746
|
-
readonly stateMutability: "nonpayable";
|
|
3747
|
-
readonly type: "function";
|
|
3748
|
-
}, {
|
|
3749
|
-
readonly inputs: readonly [{
|
|
3750
|
-
readonly internalType: "uint256[]";
|
|
3751
|
-
readonly name: "orderIds";
|
|
3752
|
-
readonly type: "uint256[]";
|
|
3753
|
-
}];
|
|
3754
|
-
readonly name: "unlockProfitByList";
|
|
3755
|
-
readonly outputs: readonly [{
|
|
3756
|
-
readonly internalType: "uint256";
|
|
3757
|
-
readonly name: "unlockedIndex";
|
|
3758
|
-
readonly type: "uint256";
|
|
3759
|
-
}];
|
|
3760
|
-
readonly stateMutability: "nonpayable";
|
|
3761
|
-
readonly type: "function";
|
|
3762
|
-
}, {
|
|
3763
|
-
readonly anonymous: false;
|
|
3764
|
-
readonly inputs: readonly [{
|
|
3765
|
-
readonly indexed: true;
|
|
3766
|
-
readonly internalType: "address";
|
|
3767
|
-
readonly name: "consumer";
|
|
3768
|
-
readonly type: "address";
|
|
3769
|
-
}, {
|
|
3770
|
-
readonly indexed: true;
|
|
3771
|
-
readonly internalType: "uint256";
|
|
3772
|
-
readonly name: "orderId";
|
|
3773
|
-
readonly type: "uint256";
|
|
3774
|
-
}, {
|
|
3775
|
-
readonly indexed: false;
|
|
3776
|
-
readonly internalType: "uint256";
|
|
3777
|
-
readonly name: "change";
|
|
3778
|
-
readonly type: "uint256";
|
|
3779
|
-
}];
|
|
3780
|
-
readonly name: "OrderChangeWithdrawn";
|
|
3781
|
-
readonly type: "event";
|
|
3782
3794
|
}, {
|
|
3783
3795
|
readonly anonymous: false;
|
|
3784
3796
|
readonly inputs: readonly [{
|
|
@@ -3799,26 +3811,6 @@ export declare const abi: readonly [{
|
|
|
3799
3811
|
}];
|
|
3800
3812
|
readonly name: "OrderEncryptedResultUpdated";
|
|
3801
3813
|
readonly type: "event";
|
|
3802
|
-
}, {
|
|
3803
|
-
readonly anonymous: false;
|
|
3804
|
-
readonly inputs: readonly [{
|
|
3805
|
-
readonly indexed: true;
|
|
3806
|
-
readonly internalType: "address";
|
|
3807
|
-
readonly name: "tokenReceiver";
|
|
3808
|
-
readonly type: "address";
|
|
3809
|
-
}, {
|
|
3810
|
-
readonly indexed: true;
|
|
3811
|
-
readonly internalType: "uint256";
|
|
3812
|
-
readonly name: "orderId";
|
|
3813
|
-
readonly type: "uint256";
|
|
3814
|
-
}, {
|
|
3815
|
-
readonly indexed: false;
|
|
3816
|
-
readonly internalType: "uint256";
|
|
3817
|
-
readonly name: "profit";
|
|
3818
|
-
readonly type: "uint256";
|
|
3819
|
-
}];
|
|
3820
|
-
readonly name: "OrderProfitWithdrawn";
|
|
3821
|
-
readonly type: "event";
|
|
3822
3814
|
}, {
|
|
3823
3815
|
readonly anonymous: false;
|
|
3824
3816
|
readonly inputs: readonly [{
|
|
@@ -4359,6 +4351,20 @@ export declare const abi: readonly [{
|
|
|
4359
4351
|
}];
|
|
4360
4352
|
readonly stateMutability: "view";
|
|
4361
4353
|
readonly type: "function";
|
|
4354
|
+
}, {
|
|
4355
|
+
readonly inputs: readonly [{
|
|
4356
|
+
readonly internalType: "uint256";
|
|
4357
|
+
readonly name: "orderId";
|
|
4358
|
+
readonly type: "uint256";
|
|
4359
|
+
}];
|
|
4360
|
+
readonly name: "getOrderChargeableProfitAmount";
|
|
4361
|
+
readonly outputs: readonly [{
|
|
4362
|
+
readonly internalType: "uint256";
|
|
4363
|
+
readonly name: "profit";
|
|
4364
|
+
readonly type: "uint256";
|
|
4365
|
+
}];
|
|
4366
|
+
readonly stateMutability: "view";
|
|
4367
|
+
readonly type: "function";
|
|
4362
4368
|
}, {
|
|
4363
4369
|
readonly inputs: readonly [{
|
|
4364
4370
|
readonly internalType: "uint256";
|
|
@@ -4469,6 +4475,10 @@ export declare const abi: readonly [{
|
|
|
4469
4475
|
readonly name: "getOrderSelectedUsage";
|
|
4470
4476
|
readonly outputs: readonly [{
|
|
4471
4477
|
readonly components: readonly [{
|
|
4478
|
+
readonly internalType: "uint256";
|
|
4479
|
+
readonly name: "slotId";
|
|
4480
|
+
readonly type: "uint256";
|
|
4481
|
+
}, {
|
|
4472
4482
|
readonly internalType: "uint32";
|
|
4473
4483
|
readonly name: "slotCount";
|
|
4474
4484
|
readonly type: "uint32";
|
|
@@ -4694,17 +4704,17 @@ export declare const abi: readonly [{
|
|
|
4694
4704
|
}, {
|
|
4695
4705
|
readonly anonymous: false;
|
|
4696
4706
|
readonly inputs: readonly [{
|
|
4697
|
-
readonly indexed:
|
|
4707
|
+
readonly indexed: true;
|
|
4698
4708
|
readonly internalType: "uint256";
|
|
4699
4709
|
readonly name: "epochIndex";
|
|
4700
4710
|
readonly type: "uint256";
|
|
4701
4711
|
}, {
|
|
4702
|
-
readonly indexed:
|
|
4712
|
+
readonly indexed: true;
|
|
4703
4713
|
readonly internalType: "uint256";
|
|
4704
4714
|
readonly name: "offerId";
|
|
4705
4715
|
readonly type: "uint256";
|
|
4706
4716
|
}, {
|
|
4707
|
-
readonly indexed:
|
|
4717
|
+
readonly indexed: false;
|
|
4708
4718
|
readonly internalType: "uint256";
|
|
4709
4719
|
readonly name: "amount";
|
|
4710
4720
|
readonly type: "uint256";
|
|
@@ -4716,6 +4726,21 @@ export declare const abi: readonly [{
|
|
|
4716
4726
|
}];
|
|
4717
4727
|
readonly name: "RewardsClaimed";
|
|
4718
4728
|
readonly type: "event";
|
|
4729
|
+
}, {
|
|
4730
|
+
readonly anonymous: false;
|
|
4731
|
+
readonly inputs: readonly [{
|
|
4732
|
+
readonly indexed: true;
|
|
4733
|
+
readonly internalType: "uint256";
|
|
4734
|
+
readonly name: "valueOfferId";
|
|
4735
|
+
readonly type: "uint256";
|
|
4736
|
+
}, {
|
|
4737
|
+
readonly indexed: true;
|
|
4738
|
+
readonly internalType: "bool";
|
|
4739
|
+
readonly name: "value";
|
|
4740
|
+
readonly type: "bool";
|
|
4741
|
+
}];
|
|
4742
|
+
readonly name: "SetValueOfferIgnored";
|
|
4743
|
+
readonly type: "event";
|
|
4719
4744
|
}, {
|
|
4720
4745
|
readonly inputs: readonly [{
|
|
4721
4746
|
readonly internalType: "uint256";
|
|
@@ -4756,17 +4781,45 @@ export declare const abi: readonly [{
|
|
|
4756
4781
|
readonly type: "function";
|
|
4757
4782
|
}, {
|
|
4758
4783
|
readonly inputs: readonly [{
|
|
4759
|
-
readonly
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4784
|
+
readonly components: readonly [{
|
|
4785
|
+
readonly internalType: "uint256";
|
|
4786
|
+
readonly name: "epochIndex";
|
|
4787
|
+
readonly type: "uint256";
|
|
4788
|
+
}, {
|
|
4789
|
+
readonly internalType: "uint256";
|
|
4790
|
+
readonly name: "offerId";
|
|
4791
|
+
readonly type: "uint256";
|
|
4792
|
+
}, {
|
|
4793
|
+
readonly internalType: "uint256";
|
|
4794
|
+
readonly name: "previousValuableEpochPosition";
|
|
4795
|
+
readonly type: "uint256";
|
|
4796
|
+
}];
|
|
4797
|
+
readonly internalType: "struct ClaimRewardsArgs[]";
|
|
4798
|
+
readonly name: "args";
|
|
4799
|
+
readonly type: "tuple[]";
|
|
4800
|
+
}];
|
|
4801
|
+
readonly name: "batchClaimRewards";
|
|
4802
|
+
readonly outputs: readonly [];
|
|
4803
|
+
readonly stateMutability: "nonpayable";
|
|
4804
|
+
readonly type: "function";
|
|
4805
|
+
}, {
|
|
4806
|
+
readonly inputs: readonly [{
|
|
4807
|
+
readonly components: readonly [{
|
|
4808
|
+
readonly internalType: "uint256";
|
|
4809
|
+
readonly name: "epochIndex";
|
|
4810
|
+
readonly type: "uint256";
|
|
4811
|
+
}, {
|
|
4812
|
+
readonly internalType: "uint256";
|
|
4813
|
+
readonly name: "offerId";
|
|
4814
|
+
readonly type: "uint256";
|
|
4815
|
+
}, {
|
|
4816
|
+
readonly internalType: "uint256";
|
|
4817
|
+
readonly name: "previousValuableEpochPosition";
|
|
4818
|
+
readonly type: "uint256";
|
|
4819
|
+
}];
|
|
4820
|
+
readonly internalType: "struct ClaimRewardsArgs";
|
|
4821
|
+
readonly name: "args";
|
|
4822
|
+
readonly type: "tuple";
|
|
4770
4823
|
}];
|
|
4771
4824
|
readonly name: "claimRewards";
|
|
4772
4825
|
readonly outputs: readonly [];
|
|
@@ -4831,25 +4884,143 @@ export declare const abi: readonly [{
|
|
|
4831
4884
|
}];
|
|
4832
4885
|
readonly stateMutability: "view";
|
|
4833
4886
|
readonly type: "function";
|
|
4887
|
+
}, {
|
|
4888
|
+
readonly inputs: readonly [];
|
|
4889
|
+
readonly name: "getCurrentEpochIndex";
|
|
4890
|
+
readonly outputs: readonly [{
|
|
4891
|
+
readonly internalType: "uint256";
|
|
4892
|
+
readonly name: "currentEpochIndex";
|
|
4893
|
+
readonly type: "uint256";
|
|
4894
|
+
}];
|
|
4895
|
+
readonly stateMutability: "nonpayable";
|
|
4896
|
+
readonly type: "function";
|
|
4834
4897
|
}, {
|
|
4835
4898
|
readonly inputs: readonly [{
|
|
4836
|
-
readonly internalType: "uint256
|
|
4837
|
-
readonly name: "
|
|
4838
|
-
readonly type: "uint256
|
|
4899
|
+
readonly internalType: "uint256";
|
|
4900
|
+
readonly name: "epochIndex";
|
|
4901
|
+
readonly type: "uint256";
|
|
4902
|
+
}];
|
|
4903
|
+
readonly name: "getEpochData";
|
|
4904
|
+
readonly outputs: readonly [{
|
|
4905
|
+
readonly internalType: "uint256";
|
|
4906
|
+
readonly name: "startTime";
|
|
4907
|
+
readonly type: "uint256";
|
|
4839
4908
|
}, {
|
|
4840
|
-
readonly internalType: "uint256
|
|
4841
|
-
readonly name: "
|
|
4842
|
-
readonly type: "uint256
|
|
4909
|
+
readonly internalType: "uint256";
|
|
4910
|
+
readonly name: "endTime";
|
|
4911
|
+
readonly type: "uint256";
|
|
4843
4912
|
}];
|
|
4844
|
-
readonly
|
|
4913
|
+
readonly stateMutability: "view";
|
|
4914
|
+
readonly type: "function";
|
|
4915
|
+
}, {
|
|
4916
|
+
readonly inputs: readonly [];
|
|
4917
|
+
readonly name: "getLastEpochIndex";
|
|
4845
4918
|
readonly outputs: readonly [{
|
|
4846
|
-
readonly
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4919
|
+
readonly internalType: "uint256";
|
|
4920
|
+
readonly name: "";
|
|
4921
|
+
readonly type: "uint256";
|
|
4922
|
+
}];
|
|
4923
|
+
readonly stateMutability: "view";
|
|
4924
|
+
readonly type: "function";
|
|
4925
|
+
}, {
|
|
4926
|
+
readonly inputs: readonly [{
|
|
4927
|
+
readonly internalType: "uint256";
|
|
4928
|
+
readonly name: "epochIndex";
|
|
4929
|
+
readonly type: "uint256";
|
|
4930
|
+
}, {
|
|
4931
|
+
readonly internalType: "uint256";
|
|
4932
|
+
readonly name: "teeOfferId";
|
|
4933
|
+
readonly type: "uint256";
|
|
4934
|
+
}];
|
|
4935
|
+
readonly name: "getTcbReward";
|
|
4936
|
+
readonly outputs: readonly [{
|
|
4937
|
+
readonly internalType: "uint256";
|
|
4938
|
+
readonly name: "reward";
|
|
4939
|
+
readonly type: "uint256";
|
|
4940
|
+
}];
|
|
4941
|
+
readonly stateMutability: "view";
|
|
4942
|
+
readonly type: "function";
|
|
4943
|
+
}, {
|
|
4944
|
+
readonly inputs: readonly [{
|
|
4945
|
+
readonly internalType: "uint256";
|
|
4946
|
+
readonly name: "epochIndex";
|
|
4947
|
+
readonly type: "uint256";
|
|
4948
|
+
}, {
|
|
4949
|
+
readonly internalType: "uint256";
|
|
4950
|
+
readonly name: "valueOfferId";
|
|
4951
|
+
readonly type: "uint256";
|
|
4952
|
+
}, {
|
|
4953
|
+
readonly internalType: "uint256";
|
|
4954
|
+
readonly name: "previousValuableEpochPosition";
|
|
4955
|
+
readonly type: "uint256";
|
|
4956
|
+
}];
|
|
4957
|
+
readonly name: "getValueReward";
|
|
4958
|
+
readonly outputs: readonly [{
|
|
4959
|
+
readonly internalType: "uint256";
|
|
4960
|
+
readonly name: "reward";
|
|
4961
|
+
readonly type: "uint256";
|
|
4962
|
+
}];
|
|
4963
|
+
readonly stateMutability: "view";
|
|
4964
|
+
readonly type: "function";
|
|
4965
|
+
}, {
|
|
4966
|
+
readonly inputs: readonly [{
|
|
4967
|
+
readonly internalType: "uint256";
|
|
4968
|
+
readonly name: "tcbReward";
|
|
4969
|
+
readonly type: "uint256";
|
|
4970
|
+
}];
|
|
4971
|
+
readonly name: "increaseClaimedByUnlockTcbReward";
|
|
4972
|
+
readonly outputs: readonly [];
|
|
4973
|
+
readonly stateMutability: "nonpayable";
|
|
4974
|
+
readonly type: "function";
|
|
4975
|
+
}, {
|
|
4976
|
+
readonly inputs: readonly [{
|
|
4977
|
+
readonly internalType: "uint256";
|
|
4978
|
+
readonly name: "compensation";
|
|
4979
|
+
readonly type: "uint256";
|
|
4980
|
+
}, {
|
|
4981
|
+
readonly internalType: "bool";
|
|
4982
|
+
readonly name: "updateRewardAccounting";
|
|
4983
|
+
readonly type: "bool";
|
|
4984
|
+
}];
|
|
4985
|
+
readonly name: "increaseNextEpochCompensation";
|
|
4986
|
+
readonly outputs: readonly [];
|
|
4987
|
+
readonly stateMutability: "nonpayable";
|
|
4988
|
+
readonly type: "function";
|
|
4989
|
+
}, {
|
|
4990
|
+
readonly inputs: readonly [{
|
|
4991
|
+
readonly internalType: "uint256";
|
|
4992
|
+
readonly name: "valueOfferId";
|
|
4993
|
+
readonly type: "uint256";
|
|
4994
|
+
}, {
|
|
4995
|
+
readonly internalType: "uint256";
|
|
4996
|
+
readonly name: "amount";
|
|
4997
|
+
readonly type: "uint256";
|
|
4998
|
+
}, {
|
|
4999
|
+
readonly internalType: "uint256";
|
|
5000
|
+
readonly name: "valueOrderId";
|
|
5001
|
+
readonly type: "uint256";
|
|
5002
|
+
}];
|
|
5003
|
+
readonly name: "increaseValueRemainReward";
|
|
5004
|
+
readonly outputs: readonly [];
|
|
5005
|
+
readonly stateMutability: "nonpayable";
|
|
5006
|
+
readonly type: "function";
|
|
5007
|
+
}, {
|
|
5008
|
+
readonly inputs: readonly [{
|
|
5009
|
+
readonly internalType: "uint256";
|
|
5010
|
+
readonly name: "epochIndex";
|
|
5011
|
+
readonly type: "uint256";
|
|
5012
|
+
}, {
|
|
5013
|
+
readonly internalType: "uint256";
|
|
5014
|
+
readonly name: "teeOfferId";
|
|
5015
|
+
readonly type: "uint256";
|
|
5016
|
+
}, {
|
|
5017
|
+
readonly components: readonly [{
|
|
5018
|
+
readonly internalType: "uint64";
|
|
5019
|
+
readonly name: "cpuSize";
|
|
5020
|
+
readonly type: "uint64";
|
|
5021
|
+
}, {
|
|
5022
|
+
readonly internalType: "uint64";
|
|
5023
|
+
readonly name: "ramSize";
|
|
4853
5024
|
readonly type: "uint64";
|
|
4854
5025
|
}, {
|
|
4855
5026
|
readonly internalType: "uint64";
|
|
@@ -4884,22 +5055,188 @@ export declare const abi: readonly [{
|
|
|
4884
5055
|
readonly name: "networkMark";
|
|
4885
5056
|
readonly type: "uint32";
|
|
4886
5057
|
}];
|
|
4887
|
-
readonly internalType: "struct ConsensusBenchmark
|
|
4888
|
-
readonly name: "
|
|
4889
|
-
readonly type: "tuple
|
|
5058
|
+
readonly internalType: "struct ConsensusBenchmark";
|
|
5059
|
+
readonly name: "benchmark";
|
|
5060
|
+
readonly type: "tuple";
|
|
5061
|
+
}, {
|
|
5062
|
+
readonly internalType: "uint256";
|
|
5063
|
+
readonly name: "tcbId";
|
|
5064
|
+
readonly type: "uint256";
|
|
5065
|
+
}];
|
|
5066
|
+
readonly name: "initializeTeeOffer";
|
|
5067
|
+
readonly outputs: readonly [];
|
|
5068
|
+
readonly stateMutability: "nonpayable";
|
|
5069
|
+
readonly type: "function";
|
|
5070
|
+
}, {
|
|
5071
|
+
readonly inputs: readonly [{
|
|
5072
|
+
readonly internalType: "uint256";
|
|
5073
|
+
readonly name: "epochIndex";
|
|
5074
|
+
readonly type: "uint256";
|
|
5075
|
+
}, {
|
|
5076
|
+
readonly internalType: "uint256";
|
|
5077
|
+
readonly name: "teeOfferId";
|
|
5078
|
+
readonly type: "uint256";
|
|
5079
|
+
}];
|
|
5080
|
+
readonly name: "isTcbClaimAvailable";
|
|
5081
|
+
readonly outputs: readonly [{
|
|
5082
|
+
readonly internalType: "bool";
|
|
5083
|
+
readonly name: "";
|
|
5084
|
+
readonly type: "bool";
|
|
4890
5085
|
}];
|
|
4891
5086
|
readonly stateMutability: "view";
|
|
4892
5087
|
readonly type: "function";
|
|
4893
5088
|
}, {
|
|
4894
|
-
readonly inputs: readonly [
|
|
4895
|
-
|
|
5089
|
+
readonly inputs: readonly [{
|
|
5090
|
+
readonly internalType: "uint256";
|
|
5091
|
+
readonly name: "epochIndex";
|
|
5092
|
+
readonly type: "uint256";
|
|
5093
|
+
}, {
|
|
5094
|
+
readonly internalType: "uint256";
|
|
5095
|
+
readonly name: "valueOfferId";
|
|
5096
|
+
readonly type: "uint256";
|
|
5097
|
+
}];
|
|
5098
|
+
readonly name: "isValueClaimAvailable";
|
|
4896
5099
|
readonly outputs: readonly [{
|
|
5100
|
+
readonly internalType: "bool";
|
|
5101
|
+
readonly name: "";
|
|
5102
|
+
readonly type: "bool";
|
|
5103
|
+
}];
|
|
5104
|
+
readonly stateMutability: "view";
|
|
5105
|
+
readonly type: "function";
|
|
5106
|
+
}, {
|
|
5107
|
+
readonly inputs: readonly [{
|
|
4897
5108
|
readonly internalType: "uint256";
|
|
4898
|
-
readonly name: "
|
|
5109
|
+
readonly name: "valueOfferId";
|
|
4899
5110
|
readonly type: "uint256";
|
|
5111
|
+
}, {
|
|
5112
|
+
readonly internalType: "bool";
|
|
5113
|
+
readonly name: "value";
|
|
5114
|
+
readonly type: "bool";
|
|
4900
5115
|
}];
|
|
5116
|
+
readonly name: "setValueOfferIgnoredMap";
|
|
5117
|
+
readonly outputs: readonly [];
|
|
4901
5118
|
readonly stateMutability: "nonpayable";
|
|
4902
5119
|
readonly type: "function";
|
|
5120
|
+
}, {
|
|
5121
|
+
readonly inputs: readonly [{
|
|
5122
|
+
readonly internalType: "uint256";
|
|
5123
|
+
readonly name: "valueOfferId";
|
|
5124
|
+
readonly type: "uint256";
|
|
5125
|
+
}, {
|
|
5126
|
+
readonly internalType: "int32";
|
|
5127
|
+
readonly name: "mark";
|
|
5128
|
+
readonly type: "int32";
|
|
5129
|
+
}, {
|
|
5130
|
+
readonly internalType: "uint256";
|
|
5131
|
+
readonly name: "orderFinalizationTime";
|
|
5132
|
+
readonly type: "uint256";
|
|
5133
|
+
}, {
|
|
5134
|
+
readonly internalType: "uint256";
|
|
5135
|
+
readonly name: "valueOrderId";
|
|
5136
|
+
readonly type: "uint256";
|
|
5137
|
+
}];
|
|
5138
|
+
readonly name: "updateValueMarks";
|
|
5139
|
+
readonly outputs: readonly [];
|
|
5140
|
+
readonly stateMutability: "nonpayable";
|
|
5141
|
+
readonly type: "function";
|
|
5142
|
+
}, {
|
|
5143
|
+
readonly inputs: readonly [{
|
|
5144
|
+
readonly components: readonly [{
|
|
5145
|
+
readonly internalType: "uint256";
|
|
5146
|
+
readonly name: "valueOfferId";
|
|
5147
|
+
readonly type: "uint256";
|
|
5148
|
+
}, {
|
|
5149
|
+
readonly internalType: "uint128";
|
|
5150
|
+
readonly name: "price";
|
|
5151
|
+
readonly type: "uint128";
|
|
5152
|
+
}, {
|
|
5153
|
+
readonly internalType: "enum PriceType";
|
|
5154
|
+
readonly name: "priceType";
|
|
5155
|
+
readonly type: "uint8";
|
|
5156
|
+
}, {
|
|
5157
|
+
readonly internalType: "uint256";
|
|
5158
|
+
readonly name: "date";
|
|
5159
|
+
readonly type: "uint256";
|
|
5160
|
+
}, {
|
|
5161
|
+
readonly internalType: "bool";
|
|
5162
|
+
readonly name: "isAutoCompleteOrder";
|
|
5163
|
+
readonly type: "bool";
|
|
5164
|
+
}, {
|
|
5165
|
+
readonly internalType: "bool";
|
|
5166
|
+
readonly name: "isStartOrder";
|
|
5167
|
+
readonly type: "bool";
|
|
5168
|
+
}];
|
|
5169
|
+
readonly internalType: "struct UpdateValueArgs";
|
|
5170
|
+
readonly name: "args";
|
|
5171
|
+
readonly type: "tuple";
|
|
5172
|
+
}, {
|
|
5173
|
+
readonly internalType: "uint256";
|
|
5174
|
+
readonly name: "valueOrderId";
|
|
5175
|
+
readonly type: "uint256";
|
|
5176
|
+
}];
|
|
5177
|
+
readonly name: "updateValueParams";
|
|
5178
|
+
readonly outputs: readonly [];
|
|
5179
|
+
readonly stateMutability: "nonpayable";
|
|
5180
|
+
readonly type: "function";
|
|
5181
|
+
}, {
|
|
5182
|
+
readonly inputs: readonly [{
|
|
5183
|
+
readonly internalType: "uint256[]";
|
|
5184
|
+
readonly name: "epochIndexes";
|
|
5185
|
+
readonly type: "uint256[]";
|
|
5186
|
+
}, {
|
|
5187
|
+
readonly internalType: "uint256[]";
|
|
5188
|
+
readonly name: "teeOfferIds";
|
|
5189
|
+
readonly type: "uint256[]";
|
|
5190
|
+
}];
|
|
5191
|
+
readonly name: "getBenchmarks";
|
|
5192
|
+
readonly outputs: readonly [{
|
|
5193
|
+
readonly components: readonly [{
|
|
5194
|
+
readonly internalType: "uint64";
|
|
5195
|
+
readonly name: "cpuSize";
|
|
5196
|
+
readonly type: "uint64";
|
|
5197
|
+
}, {
|
|
5198
|
+
readonly internalType: "uint64";
|
|
5199
|
+
readonly name: "ramSize";
|
|
5200
|
+
readonly type: "uint64";
|
|
5201
|
+
}, {
|
|
5202
|
+
readonly internalType: "uint64";
|
|
5203
|
+
readonly name: "gpuSize";
|
|
5204
|
+
readonly type: "uint64";
|
|
5205
|
+
}, {
|
|
5206
|
+
readonly internalType: "uint64";
|
|
5207
|
+
readonly name: "diskSize";
|
|
5208
|
+
readonly type: "uint64";
|
|
5209
|
+
}, {
|
|
5210
|
+
readonly internalType: "uint64";
|
|
5211
|
+
readonly name: "networkSize";
|
|
5212
|
+
readonly type: "uint64";
|
|
5213
|
+
}, {
|
|
5214
|
+
readonly internalType: "uint32";
|
|
5215
|
+
readonly name: "cpuMark";
|
|
5216
|
+
readonly type: "uint32";
|
|
5217
|
+
}, {
|
|
5218
|
+
readonly internalType: "uint32";
|
|
5219
|
+
readonly name: "ramMark";
|
|
5220
|
+
readonly type: "uint32";
|
|
5221
|
+
}, {
|
|
5222
|
+
readonly internalType: "uint32";
|
|
5223
|
+
readonly name: "gpuMark";
|
|
5224
|
+
readonly type: "uint32";
|
|
5225
|
+
}, {
|
|
5226
|
+
readonly internalType: "uint32";
|
|
5227
|
+
readonly name: "diskMark";
|
|
5228
|
+
readonly type: "uint32";
|
|
5229
|
+
}, {
|
|
5230
|
+
readonly internalType: "uint32";
|
|
5231
|
+
readonly name: "networkMark";
|
|
5232
|
+
readonly type: "uint32";
|
|
5233
|
+
}];
|
|
5234
|
+
readonly internalType: "struct ConsensusBenchmark[]";
|
|
5235
|
+
readonly name: "benchmarks";
|
|
5236
|
+
readonly type: "tuple[]";
|
|
5237
|
+
}];
|
|
5238
|
+
readonly stateMutability: "view";
|
|
5239
|
+
readonly type: "function";
|
|
4903
5240
|
}, {
|
|
4904
5241
|
readonly inputs: readonly [{
|
|
4905
5242
|
readonly internalType: "uint256";
|
|
@@ -4955,7 +5292,7 @@ export declare const abi: readonly [{
|
|
|
4955
5292
|
readonly type: "uint32";
|
|
4956
5293
|
}];
|
|
4957
5294
|
readonly internalType: "struct ConsensusBenchmark";
|
|
4958
|
-
readonly name: "
|
|
5295
|
+
readonly name: "benchmark_DEPRECATED";
|
|
4959
5296
|
readonly type: "tuple";
|
|
4960
5297
|
}, {
|
|
4961
5298
|
readonly components: readonly [{
|
|
@@ -5000,7 +5337,7 @@ export declare const abi: readonly [{
|
|
|
5000
5337
|
readonly type: "uint32";
|
|
5001
5338
|
}];
|
|
5002
5339
|
readonly internalType: "struct ConsensusBenchmark";
|
|
5003
|
-
readonly name: "
|
|
5340
|
+
readonly name: "penaltyBenchmark_DEPRECATED";
|
|
5004
5341
|
readonly type: "tuple";
|
|
5005
5342
|
}, {
|
|
5006
5343
|
readonly internalType: "uint256";
|
|
@@ -5126,6 +5463,81 @@ export declare const abi: readonly [{
|
|
|
5126
5463
|
readonly internalType: "uint256";
|
|
5127
5464
|
readonly name: "ghostEpochsNormalizedSum";
|
|
5128
5465
|
readonly type: "uint256";
|
|
5466
|
+
}, {
|
|
5467
|
+
readonly components: readonly [{
|
|
5468
|
+
readonly internalType: "uint128";
|
|
5469
|
+
readonly name: "cpu";
|
|
5470
|
+
readonly type: "uint128";
|
|
5471
|
+
}, {
|
|
5472
|
+
readonly internalType: "uint128";
|
|
5473
|
+
readonly name: "ram";
|
|
5474
|
+
readonly type: "uint128";
|
|
5475
|
+
}, {
|
|
5476
|
+
readonly internalType: "uint128";
|
|
5477
|
+
readonly name: "gpu";
|
|
5478
|
+
readonly type: "uint128";
|
|
5479
|
+
}, {
|
|
5480
|
+
readonly internalType: "uint128";
|
|
5481
|
+
readonly name: "disk";
|
|
5482
|
+
readonly type: "uint128";
|
|
5483
|
+
}, {
|
|
5484
|
+
readonly internalType: "uint128";
|
|
5485
|
+
readonly name: "network";
|
|
5486
|
+
readonly type: "uint128";
|
|
5487
|
+
}];
|
|
5488
|
+
readonly internalType: "struct ConsensusPrices";
|
|
5489
|
+
readonly name: "consensusPrices";
|
|
5490
|
+
readonly type: "tuple";
|
|
5491
|
+
}, {
|
|
5492
|
+
readonly components: readonly [{
|
|
5493
|
+
readonly internalType: "uint128";
|
|
5494
|
+
readonly name: "cpuMultiplier";
|
|
5495
|
+
readonly type: "uint128";
|
|
5496
|
+
}, {
|
|
5497
|
+
readonly internalType: "uint128";
|
|
5498
|
+
readonly name: "ramMultiplier";
|
|
5499
|
+
readonly type: "uint128";
|
|
5500
|
+
}, {
|
|
5501
|
+
readonly internalType: "uint128";
|
|
5502
|
+
readonly name: "gpuMultiplier";
|
|
5503
|
+
readonly type: "uint128";
|
|
5504
|
+
}, {
|
|
5505
|
+
readonly internalType: "uint128";
|
|
5506
|
+
readonly name: "diskMultiplier";
|
|
5507
|
+
readonly type: "uint128";
|
|
5508
|
+
}, {
|
|
5509
|
+
readonly internalType: "uint128";
|
|
5510
|
+
readonly name: "networkMultiplier";
|
|
5511
|
+
readonly type: "uint128";
|
|
5512
|
+
}];
|
|
5513
|
+
readonly internalType: "struct ConsensusBenchmarkPriceMultipliers";
|
|
5514
|
+
readonly name: "priceMultipliers";
|
|
5515
|
+
readonly type: "tuple";
|
|
5516
|
+
}, {
|
|
5517
|
+
readonly components: readonly [{
|
|
5518
|
+
readonly internalType: "uint128";
|
|
5519
|
+
readonly name: "cpuMultiplier";
|
|
5520
|
+
readonly type: "uint128";
|
|
5521
|
+
}, {
|
|
5522
|
+
readonly internalType: "uint128";
|
|
5523
|
+
readonly name: "ramMultiplier";
|
|
5524
|
+
readonly type: "uint128";
|
|
5525
|
+
}, {
|
|
5526
|
+
readonly internalType: "uint128";
|
|
5527
|
+
readonly name: "gpuMultiplier";
|
|
5528
|
+
readonly type: "uint128";
|
|
5529
|
+
}, {
|
|
5530
|
+
readonly internalType: "uint128";
|
|
5531
|
+
readonly name: "diskMultiplier";
|
|
5532
|
+
readonly type: "uint128";
|
|
5533
|
+
}, {
|
|
5534
|
+
readonly internalType: "uint128";
|
|
5535
|
+
readonly name: "networkMultiplier";
|
|
5536
|
+
readonly type: "uint128";
|
|
5537
|
+
}];
|
|
5538
|
+
readonly internalType: "struct ConsensusBenchmarkPriceMultipliers";
|
|
5539
|
+
readonly name: "penaltyPriceMultipliers";
|
|
5540
|
+
readonly type: "tuple";
|
|
5129
5541
|
}];
|
|
5130
5542
|
readonly internalType: "struct Epoch";
|
|
5131
5543
|
readonly name: "";
|
|
@@ -5133,24 +5545,6 @@ export declare const abi: readonly [{
|
|
|
5133
5545
|
}];
|
|
5134
5546
|
readonly stateMutability: "view";
|
|
5135
5547
|
readonly type: "function";
|
|
5136
|
-
}, {
|
|
5137
|
-
readonly inputs: readonly [{
|
|
5138
|
-
readonly internalType: "uint256";
|
|
5139
|
-
readonly name: "epochIndex";
|
|
5140
|
-
readonly type: "uint256";
|
|
5141
|
-
}];
|
|
5142
|
-
readonly name: "getEpochData";
|
|
5143
|
-
readonly outputs: readonly [{
|
|
5144
|
-
readonly internalType: "uint256";
|
|
5145
|
-
readonly name: "startTime";
|
|
5146
|
-
readonly type: "uint256";
|
|
5147
|
-
}, {
|
|
5148
|
-
readonly internalType: "uint256";
|
|
5149
|
-
readonly name: "endTime";
|
|
5150
|
-
readonly type: "uint256";
|
|
5151
|
-
}];
|
|
5152
|
-
readonly stateMutability: "view";
|
|
5153
|
-
readonly type: "function";
|
|
5154
5548
|
}, {
|
|
5155
5549
|
readonly inputs: readonly [{
|
|
5156
5550
|
readonly internalType: "uint256";
|
|
@@ -5172,62 +5566,57 @@ export declare const abi: readonly [{
|
|
|
5172
5566
|
readonly type: "uint256";
|
|
5173
5567
|
}, {
|
|
5174
5568
|
readonly components: readonly [{
|
|
5175
|
-
readonly internalType: "
|
|
5176
|
-
readonly name: "
|
|
5177
|
-
readonly type: "
|
|
5178
|
-
}, {
|
|
5179
|
-
readonly internalType: "uint64";
|
|
5180
|
-
readonly name: "ramSize";
|
|
5181
|
-
readonly type: "uint64";
|
|
5569
|
+
readonly internalType: "uint128";
|
|
5570
|
+
readonly name: "cpuMultiplier";
|
|
5571
|
+
readonly type: "uint128";
|
|
5182
5572
|
}, {
|
|
5183
|
-
readonly internalType: "
|
|
5184
|
-
readonly name: "
|
|
5185
|
-
readonly type: "
|
|
5573
|
+
readonly internalType: "uint128";
|
|
5574
|
+
readonly name: "ramMultiplier";
|
|
5575
|
+
readonly type: "uint128";
|
|
5186
5576
|
}, {
|
|
5187
|
-
readonly internalType: "
|
|
5188
|
-
readonly name: "
|
|
5189
|
-
readonly type: "
|
|
5577
|
+
readonly internalType: "uint128";
|
|
5578
|
+
readonly name: "gpuMultiplier";
|
|
5579
|
+
readonly type: "uint128";
|
|
5190
5580
|
}, {
|
|
5191
|
-
readonly internalType: "
|
|
5192
|
-
readonly name: "
|
|
5193
|
-
readonly type: "
|
|
5581
|
+
readonly internalType: "uint128";
|
|
5582
|
+
readonly name: "diskMultiplier";
|
|
5583
|
+
readonly type: "uint128";
|
|
5194
5584
|
}, {
|
|
5195
|
-
readonly internalType: "
|
|
5196
|
-
readonly name: "
|
|
5197
|
-
readonly type: "
|
|
5585
|
+
readonly internalType: "uint128";
|
|
5586
|
+
readonly name: "networkMultiplier";
|
|
5587
|
+
readonly type: "uint128";
|
|
5588
|
+
}];
|
|
5589
|
+
readonly internalType: "struct ConsensusBenchmarkPriceMultipliers";
|
|
5590
|
+
readonly name: "priceMultipliers";
|
|
5591
|
+
readonly type: "tuple";
|
|
5592
|
+
}, {
|
|
5593
|
+
readonly components: readonly [{
|
|
5594
|
+
readonly internalType: "uint128";
|
|
5595
|
+
readonly name: "cpu";
|
|
5596
|
+
readonly type: "uint128";
|
|
5198
5597
|
}, {
|
|
5199
|
-
readonly internalType: "
|
|
5200
|
-
readonly name: "
|
|
5201
|
-
readonly type: "
|
|
5598
|
+
readonly internalType: "uint128";
|
|
5599
|
+
readonly name: "ram";
|
|
5600
|
+
readonly type: "uint128";
|
|
5202
5601
|
}, {
|
|
5203
|
-
readonly internalType: "
|
|
5204
|
-
readonly name: "
|
|
5205
|
-
readonly type: "
|
|
5602
|
+
readonly internalType: "uint128";
|
|
5603
|
+
readonly name: "gpu";
|
|
5604
|
+
readonly type: "uint128";
|
|
5206
5605
|
}, {
|
|
5207
|
-
readonly internalType: "
|
|
5208
|
-
readonly name: "
|
|
5209
|
-
readonly type: "
|
|
5606
|
+
readonly internalType: "uint128";
|
|
5607
|
+
readonly name: "disk";
|
|
5608
|
+
readonly type: "uint128";
|
|
5210
5609
|
}, {
|
|
5211
|
-
readonly internalType: "
|
|
5212
|
-
readonly name: "
|
|
5213
|
-
readonly type: "
|
|
5610
|
+
readonly internalType: "uint128";
|
|
5611
|
+
readonly name: "network";
|
|
5612
|
+
readonly type: "uint128";
|
|
5214
5613
|
}];
|
|
5215
|
-
readonly internalType: "struct
|
|
5216
|
-
readonly name: "
|
|
5614
|
+
readonly internalType: "struct ConsensusPrices";
|
|
5615
|
+
readonly name: "consensusPrices";
|
|
5217
5616
|
readonly type: "tuple";
|
|
5218
5617
|
}];
|
|
5219
5618
|
readonly stateMutability: "view";
|
|
5220
5619
|
readonly type: "function";
|
|
5221
|
-
}, {
|
|
5222
|
-
readonly inputs: readonly [];
|
|
5223
|
-
readonly name: "getLastEpochIndex";
|
|
5224
|
-
readonly outputs: readonly [{
|
|
5225
|
-
readonly internalType: "uint256";
|
|
5226
|
-
readonly name: "";
|
|
5227
|
-
readonly type: "uint256";
|
|
5228
|
-
}];
|
|
5229
|
-
readonly stateMutability: "view";
|
|
5230
|
-
readonly type: "function";
|
|
5231
5620
|
}, {
|
|
5232
5621
|
readonly inputs: readonly [{
|
|
5233
5622
|
readonly internalType: "uint256";
|
|
@@ -5268,26 +5657,8 @@ export declare const abi: readonly [{
|
|
|
5268
5657
|
readonly type: "uint256";
|
|
5269
5658
|
}];
|
|
5270
5659
|
readonly internalType: "struct ProviderRewardsStorageAccessor.RewardAccounting";
|
|
5271
|
-
readonly name: "";
|
|
5272
|
-
readonly type: "tuple";
|
|
5273
|
-
}];
|
|
5274
|
-
readonly stateMutability: "view";
|
|
5275
|
-
readonly type: "function";
|
|
5276
|
-
}, {
|
|
5277
|
-
readonly inputs: readonly [{
|
|
5278
|
-
readonly internalType: "uint256";
|
|
5279
|
-
readonly name: "epochIndex";
|
|
5280
|
-
readonly type: "uint256";
|
|
5281
|
-
}, {
|
|
5282
|
-
readonly internalType: "uint256";
|
|
5283
|
-
readonly name: "teeOfferId";
|
|
5284
|
-
readonly type: "uint256";
|
|
5285
|
-
}];
|
|
5286
|
-
readonly name: "getTcbReward";
|
|
5287
|
-
readonly outputs: readonly [{
|
|
5288
|
-
readonly internalType: "uint256";
|
|
5289
|
-
readonly name: "reward";
|
|
5290
|
-
readonly type: "uint256";
|
|
5660
|
+
readonly name: "";
|
|
5661
|
+
readonly type: "tuple";
|
|
5291
5662
|
}];
|
|
5292
5663
|
readonly stateMutability: "view";
|
|
5293
5664
|
readonly type: "function";
|
|
@@ -5307,10 +5678,6 @@ export declare const abi: readonly [{
|
|
|
5307
5678
|
readonly internalType: "uint256";
|
|
5308
5679
|
readonly name: "tcbId";
|
|
5309
5680
|
readonly type: "uint256";
|
|
5310
|
-
}, {
|
|
5311
|
-
readonly internalType: "bool";
|
|
5312
|
-
readonly name: "rewardClaimed";
|
|
5313
|
-
readonly type: "bool";
|
|
5314
5681
|
}, {
|
|
5315
5682
|
readonly components: readonly [{
|
|
5316
5683
|
readonly internalType: "uint64";
|
|
@@ -5356,6 +5723,14 @@ export declare const abi: readonly [{
|
|
|
5356
5723
|
readonly internalType: "struct ConsensusBenchmark";
|
|
5357
5724
|
readonly name: "benchmark";
|
|
5358
5725
|
readonly type: "tuple";
|
|
5726
|
+
}, {
|
|
5727
|
+
readonly internalType: "bool";
|
|
5728
|
+
readonly name: "rewardClaimed";
|
|
5729
|
+
readonly type: "bool";
|
|
5730
|
+
}, {
|
|
5731
|
+
readonly internalType: "bool";
|
|
5732
|
+
readonly name: "benchmarkAdded";
|
|
5733
|
+
readonly type: "bool";
|
|
5359
5734
|
}];
|
|
5360
5735
|
readonly internalType: "struct ProviderRewardsStorageAccessor.TeeOffer";
|
|
5361
5736
|
readonly name: "";
|
|
@@ -5481,138 +5856,25 @@ export declare const abi: readonly [{
|
|
|
5481
5856
|
readonly type: "function";
|
|
5482
5857
|
}, {
|
|
5483
5858
|
readonly inputs: readonly [{
|
|
5484
|
-
readonly internalType: "uint256";
|
|
5485
|
-
readonly name: "epochIndex";
|
|
5486
|
-
readonly type: "uint256";
|
|
5487
|
-
}, {
|
|
5488
5859
|
readonly internalType: "uint256";
|
|
5489
5860
|
readonly name: "valueOfferId";
|
|
5490
5861
|
readonly type: "uint256";
|
|
5491
|
-
}, {
|
|
5492
|
-
readonly internalType: "uint256";
|
|
5493
|
-
readonly name: "previousValuableEpochPosition";
|
|
5494
|
-
readonly type: "uint256";
|
|
5495
5862
|
}];
|
|
5496
|
-
readonly name: "
|
|
5863
|
+
readonly name: "isValueOfferIgnored";
|
|
5497
5864
|
readonly outputs: readonly [{
|
|
5498
|
-
readonly internalType: "uint256";
|
|
5499
|
-
readonly name: "reward";
|
|
5500
|
-
readonly type: "uint256";
|
|
5501
|
-
}];
|
|
5502
|
-
readonly stateMutability: "view";
|
|
5503
|
-
readonly type: "function";
|
|
5504
|
-
}, {
|
|
5505
|
-
readonly inputs: readonly [{
|
|
5506
|
-
readonly internalType: "uint256";
|
|
5507
|
-
readonly name: "tcbReward";
|
|
5508
|
-
readonly type: "uint256";
|
|
5509
|
-
}];
|
|
5510
|
-
readonly name: "increaseClaimedByUnlockTcbReward";
|
|
5511
|
-
readonly outputs: readonly [];
|
|
5512
|
-
readonly stateMutability: "nonpayable";
|
|
5513
|
-
readonly type: "function";
|
|
5514
|
-
}, {
|
|
5515
|
-
readonly inputs: readonly [{
|
|
5516
|
-
readonly internalType: "uint256";
|
|
5517
|
-
readonly name: "compensation";
|
|
5518
|
-
readonly type: "uint256";
|
|
5519
|
-
}, {
|
|
5520
5865
|
readonly internalType: "bool";
|
|
5521
|
-
readonly name: "
|
|
5866
|
+
readonly name: "";
|
|
5522
5867
|
readonly type: "bool";
|
|
5523
5868
|
}];
|
|
5524
|
-
readonly
|
|
5525
|
-
readonly outputs: readonly [];
|
|
5526
|
-
readonly stateMutability: "nonpayable";
|
|
5527
|
-
readonly type: "function";
|
|
5528
|
-
}, {
|
|
5529
|
-
readonly inputs: readonly [{
|
|
5530
|
-
readonly internalType: "uint256";
|
|
5531
|
-
readonly name: "valueOfferId";
|
|
5532
|
-
readonly type: "uint256";
|
|
5533
|
-
}, {
|
|
5534
|
-
readonly internalType: "uint256";
|
|
5535
|
-
readonly name: "amount";
|
|
5536
|
-
readonly type: "uint256";
|
|
5537
|
-
}];
|
|
5538
|
-
readonly name: "increaseValueRemainReward";
|
|
5539
|
-
readonly outputs: readonly [];
|
|
5540
|
-
readonly stateMutability: "nonpayable";
|
|
5541
|
-
readonly type: "function";
|
|
5542
|
-
}, {
|
|
5543
|
-
readonly inputs: readonly [{
|
|
5544
|
-
readonly internalType: "uint256";
|
|
5545
|
-
readonly name: "epochIndex";
|
|
5546
|
-
readonly type: "uint256";
|
|
5547
|
-
}, {
|
|
5548
|
-
readonly internalType: "uint256";
|
|
5549
|
-
readonly name: "teeOfferId";
|
|
5550
|
-
readonly type: "uint256";
|
|
5551
|
-
}, {
|
|
5552
|
-
readonly components: readonly [{
|
|
5553
|
-
readonly internalType: "uint64";
|
|
5554
|
-
readonly name: "cpuSize";
|
|
5555
|
-
readonly type: "uint64";
|
|
5556
|
-
}, {
|
|
5557
|
-
readonly internalType: "uint64";
|
|
5558
|
-
readonly name: "ramSize";
|
|
5559
|
-
readonly type: "uint64";
|
|
5560
|
-
}, {
|
|
5561
|
-
readonly internalType: "uint64";
|
|
5562
|
-
readonly name: "gpuSize";
|
|
5563
|
-
readonly type: "uint64";
|
|
5564
|
-
}, {
|
|
5565
|
-
readonly internalType: "uint64";
|
|
5566
|
-
readonly name: "diskSize";
|
|
5567
|
-
readonly type: "uint64";
|
|
5568
|
-
}, {
|
|
5569
|
-
readonly internalType: "uint64";
|
|
5570
|
-
readonly name: "networkSize";
|
|
5571
|
-
readonly type: "uint64";
|
|
5572
|
-
}, {
|
|
5573
|
-
readonly internalType: "uint32";
|
|
5574
|
-
readonly name: "cpuMark";
|
|
5575
|
-
readonly type: "uint32";
|
|
5576
|
-
}, {
|
|
5577
|
-
readonly internalType: "uint32";
|
|
5578
|
-
readonly name: "ramMark";
|
|
5579
|
-
readonly type: "uint32";
|
|
5580
|
-
}, {
|
|
5581
|
-
readonly internalType: "uint32";
|
|
5582
|
-
readonly name: "gpuMark";
|
|
5583
|
-
readonly type: "uint32";
|
|
5584
|
-
}, {
|
|
5585
|
-
readonly internalType: "uint32";
|
|
5586
|
-
readonly name: "diskMark";
|
|
5587
|
-
readonly type: "uint32";
|
|
5588
|
-
}, {
|
|
5589
|
-
readonly internalType: "uint32";
|
|
5590
|
-
readonly name: "networkMark";
|
|
5591
|
-
readonly type: "uint32";
|
|
5592
|
-
}];
|
|
5593
|
-
readonly internalType: "struct ConsensusBenchmark";
|
|
5594
|
-
readonly name: "benchmark";
|
|
5595
|
-
readonly type: "tuple";
|
|
5596
|
-
}, {
|
|
5597
|
-
readonly internalType: "uint256";
|
|
5598
|
-
readonly name: "tcbId";
|
|
5599
|
-
readonly type: "uint256";
|
|
5600
|
-
}];
|
|
5601
|
-
readonly name: "initializeTeeOffer";
|
|
5602
|
-
readonly outputs: readonly [];
|
|
5603
|
-
readonly stateMutability: "nonpayable";
|
|
5869
|
+
readonly stateMutability: "view";
|
|
5604
5870
|
readonly type: "function";
|
|
5605
5871
|
}, {
|
|
5606
5872
|
readonly inputs: readonly [{
|
|
5607
5873
|
readonly internalType: "uint256";
|
|
5608
|
-
readonly name: "
|
|
5609
|
-
readonly type: "uint256";
|
|
5610
|
-
}, {
|
|
5611
|
-
readonly internalType: "uint256";
|
|
5612
|
-
readonly name: "teeOfferId";
|
|
5874
|
+
readonly name: "valueOrderId";
|
|
5613
5875
|
readonly type: "uint256";
|
|
5614
5876
|
}];
|
|
5615
|
-
readonly name: "
|
|
5877
|
+
readonly name: "isValueOrderIgnored";
|
|
5616
5878
|
readonly outputs: readonly [{
|
|
5617
5879
|
readonly internalType: "bool";
|
|
5618
5880
|
readonly name: "";
|
|
@@ -5620,59 +5882,6 @@ export declare const abi: readonly [{
|
|
|
5620
5882
|
}];
|
|
5621
5883
|
readonly stateMutability: "view";
|
|
5622
5884
|
readonly type: "function";
|
|
5623
|
-
}, {
|
|
5624
|
-
readonly inputs: readonly [{
|
|
5625
|
-
readonly internalType: "uint256";
|
|
5626
|
-
readonly name: "valueOfferId";
|
|
5627
|
-
readonly type: "uint256";
|
|
5628
|
-
}, {
|
|
5629
|
-
readonly internalType: "int32";
|
|
5630
|
-
readonly name: "mark";
|
|
5631
|
-
readonly type: "int32";
|
|
5632
|
-
}, {
|
|
5633
|
-
readonly internalType: "uint256";
|
|
5634
|
-
readonly name: "orderFinalizationTime";
|
|
5635
|
-
readonly type: "uint256";
|
|
5636
|
-
}];
|
|
5637
|
-
readonly name: "updateValueMarks";
|
|
5638
|
-
readonly outputs: readonly [];
|
|
5639
|
-
readonly stateMutability: "nonpayable";
|
|
5640
|
-
readonly type: "function";
|
|
5641
|
-
}, {
|
|
5642
|
-
readonly inputs: readonly [{
|
|
5643
|
-
readonly components: readonly [{
|
|
5644
|
-
readonly internalType: "uint256";
|
|
5645
|
-
readonly name: "valueOfferId";
|
|
5646
|
-
readonly type: "uint256";
|
|
5647
|
-
}, {
|
|
5648
|
-
readonly internalType: "uint128";
|
|
5649
|
-
readonly name: "price";
|
|
5650
|
-
readonly type: "uint128";
|
|
5651
|
-
}, {
|
|
5652
|
-
readonly internalType: "enum PriceType";
|
|
5653
|
-
readonly name: "priceType";
|
|
5654
|
-
readonly type: "uint8";
|
|
5655
|
-
}, {
|
|
5656
|
-
readonly internalType: "uint256";
|
|
5657
|
-
readonly name: "date";
|
|
5658
|
-
readonly type: "uint256";
|
|
5659
|
-
}, {
|
|
5660
|
-
readonly internalType: "bool";
|
|
5661
|
-
readonly name: "isAutoCompleteOrder";
|
|
5662
|
-
readonly type: "bool";
|
|
5663
|
-
}, {
|
|
5664
|
-
readonly internalType: "bool";
|
|
5665
|
-
readonly name: "isStartOrder";
|
|
5666
|
-
readonly type: "bool";
|
|
5667
|
-
}];
|
|
5668
|
-
readonly internalType: "struct UpdateValueArgs";
|
|
5669
|
-
readonly name: "args";
|
|
5670
|
-
readonly type: "tuple";
|
|
5671
|
-
}];
|
|
5672
|
-
readonly name: "updateValueParams";
|
|
5673
|
-
readonly outputs: readonly [];
|
|
5674
|
-
readonly stateMutability: "nonpayable";
|
|
5675
|
-
readonly type: "function";
|
|
5676
5885
|
}, {
|
|
5677
5886
|
readonly anonymous: false;
|
|
5678
5887
|
readonly inputs: readonly [{
|
|
@@ -6069,20 +6278,6 @@ export declare const abi: readonly [{
|
|
|
6069
6278
|
readonly outputs: readonly [];
|
|
6070
6279
|
readonly stateMutability: "nonpayable";
|
|
6071
6280
|
readonly type: "function";
|
|
6072
|
-
}, {
|
|
6073
|
-
readonly inputs: readonly [{
|
|
6074
|
-
readonly internalType: "address";
|
|
6075
|
-
readonly name: "authority";
|
|
6076
|
-
readonly type: "address";
|
|
6077
|
-
}, {
|
|
6078
|
-
readonly internalType: "uint256";
|
|
6079
|
-
readonly name: "orderId";
|
|
6080
|
-
readonly type: "uint256";
|
|
6081
|
-
}];
|
|
6082
|
-
readonly name: "addLockedOrder";
|
|
6083
|
-
readonly outputs: readonly [];
|
|
6084
|
-
readonly stateMutability: "nonpayable";
|
|
6085
|
-
readonly type: "function";
|
|
6086
6281
|
}, {
|
|
6087
6282
|
readonly inputs: readonly [{
|
|
6088
6283
|
readonly internalType: "address";
|
|
@@ -6097,27 +6292,13 @@ export declare const abi: readonly [{
|
|
|
6097
6292
|
readonly outputs: readonly [];
|
|
6098
6293
|
readonly stateMutability: "nonpayable";
|
|
6099
6294
|
readonly type: "function";
|
|
6100
|
-
}, {
|
|
6101
|
-
readonly inputs: readonly [{
|
|
6102
|
-
readonly internalType: "uint256[]";
|
|
6103
|
-
readonly name: "orderIds";
|
|
6104
|
-
readonly type: "uint256[]";
|
|
6105
|
-
}];
|
|
6106
|
-
readonly name: "getAvaliableOrderRewardsAmount";
|
|
6107
|
-
readonly outputs: readonly [{
|
|
6108
|
-
readonly internalType: "uint256";
|
|
6109
|
-
readonly name: "amount";
|
|
6110
|
-
readonly type: "uint256";
|
|
6111
|
-
}];
|
|
6112
|
-
readonly stateMutability: "view";
|
|
6113
|
-
readonly type: "function";
|
|
6114
6295
|
}, {
|
|
6115
6296
|
readonly inputs: readonly [{
|
|
6116
6297
|
readonly internalType: "uint256[]";
|
|
6117
6298
|
readonly name: "tcbIds";
|
|
6118
6299
|
readonly type: "uint256[]";
|
|
6119
6300
|
}];
|
|
6120
|
-
readonly name: "
|
|
6301
|
+
readonly name: "getAvailableTcbRewardsAmount";
|
|
6121
6302
|
readonly outputs: readonly [{
|
|
6122
6303
|
readonly internalType: "uint256";
|
|
6123
6304
|
readonly name: "amount";
|
|
@@ -6125,20 +6306,6 @@ export declare const abi: readonly [{
|
|
|
6125
6306
|
}];
|
|
6126
6307
|
readonly stateMutability: "view";
|
|
6127
6308
|
readonly type: "function";
|
|
6128
|
-
}, {
|
|
6129
|
-
readonly inputs: readonly [{
|
|
6130
|
-
readonly internalType: "address";
|
|
6131
|
-
readonly name: "authority";
|
|
6132
|
-
readonly type: "address";
|
|
6133
|
-
}];
|
|
6134
|
-
readonly name: "getOrdersLockedProfitList";
|
|
6135
|
-
readonly outputs: readonly [{
|
|
6136
|
-
readonly internalType: "uint256[]";
|
|
6137
|
-
readonly name: "";
|
|
6138
|
-
readonly type: "uint256[]";
|
|
6139
|
-
}];
|
|
6140
|
-
readonly stateMutability: "view";
|
|
6141
|
-
readonly type: "function";
|
|
6142
6309
|
}, {
|
|
6143
6310
|
readonly inputs: readonly [{
|
|
6144
6311
|
readonly internalType: "address";
|
|
@@ -6153,20 +6320,6 @@ export declare const abi: readonly [{
|
|
|
6153
6320
|
}];
|
|
6154
6321
|
readonly stateMutability: "view";
|
|
6155
6322
|
readonly type: "function";
|
|
6156
|
-
}, {
|
|
6157
|
-
readonly inputs: readonly [{
|
|
6158
|
-
readonly internalType: "address";
|
|
6159
|
-
readonly name: "authority";
|
|
6160
|
-
readonly type: "address";
|
|
6161
|
-
}, {
|
|
6162
|
-
readonly internalType: "uint256";
|
|
6163
|
-
readonly name: "orderId";
|
|
6164
|
-
readonly type: "uint256";
|
|
6165
|
-
}];
|
|
6166
|
-
readonly name: "removeLockedOrder";
|
|
6167
|
-
readonly outputs: readonly [];
|
|
6168
|
-
readonly stateMutability: "nonpayable";
|
|
6169
|
-
readonly type: "function";
|
|
6170
6323
|
}, {
|
|
6171
6324
|
readonly inputs: readonly [{
|
|
6172
6325
|
readonly internalType: "address";
|
|
@@ -6668,6 +6821,10 @@ export declare const abi: readonly [{
|
|
|
6668
6821
|
readonly internalType: "uint32";
|
|
6669
6822
|
readonly name: "protocolCommissionPercent";
|
|
6670
6823
|
readonly type: "uint32";
|
|
6824
|
+
}, {
|
|
6825
|
+
readonly internalType: "bool";
|
|
6826
|
+
readonly name: "considerInProviderReward";
|
|
6827
|
+
readonly type: "bool";
|
|
6671
6828
|
}];
|
|
6672
6829
|
readonly internalType: "struct SuperproStorageAccessor.TokenInfo";
|
|
6673
6830
|
readonly name: "tokenInfo";
|
|
@@ -6689,6 +6846,20 @@ export declare const abi: readonly [{
|
|
|
6689
6846
|
}];
|
|
6690
6847
|
readonly stateMutability: "view";
|
|
6691
6848
|
readonly type: "function";
|
|
6849
|
+
}, {
|
|
6850
|
+
readonly inputs: readonly [{
|
|
6851
|
+
readonly internalType: "address";
|
|
6852
|
+
readonly name: "tokenAddress";
|
|
6853
|
+
readonly type: "address";
|
|
6854
|
+
}];
|
|
6855
|
+
readonly name: "isConsideringInProviderReward";
|
|
6856
|
+
readonly outputs: readonly [{
|
|
6857
|
+
readonly internalType: "bool";
|
|
6858
|
+
readonly name: "";
|
|
6859
|
+
readonly type: "bool";
|
|
6860
|
+
}];
|
|
6861
|
+
readonly stateMutability: "view";
|
|
6862
|
+
readonly type: "function";
|
|
6692
6863
|
}, {
|
|
6693
6864
|
readonly inputs: readonly [{
|
|
6694
6865
|
readonly internalType: "address";
|
|
@@ -6872,6 +7043,10 @@ export declare const abi: readonly [{
|
|
|
6872
7043
|
readonly internalType: "uint32";
|
|
6873
7044
|
readonly name: "protocolCommissionPercent";
|
|
6874
7045
|
readonly type: "uint32";
|
|
7046
|
+
}, {
|
|
7047
|
+
readonly internalType: "bool";
|
|
7048
|
+
readonly name: "considerInProviderReward";
|
|
7049
|
+
readonly type: "bool";
|
|
6875
7050
|
}];
|
|
6876
7051
|
readonly internalType: "struct SuperproStorageAccessor.TokenInfo[]";
|
|
6877
7052
|
readonly name: "tokens";
|