@argonprotocol/mainchain 1.5.2-dev.aad85636 → 1.5.2-dev.e8fba475
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/README.md +67 -0
- package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +1 -1
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +1 -1
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +45 -16
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
- package/browser/index.d.ts +610 -254
- package/browser/index.js +1117 -273
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +1 -1
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +1 -1
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +45 -16
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
- package/lib/index.cjs +1085 -271
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +610 -254
- package/lib/index.d.ts +610 -254
- package/lib/index.js +1086 -272
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
- package/src/interfaces/augment-api-consts.ts +14 -0
- package/src/interfaces/augment-api-errors.ts +40 -1
- package/src/interfaces/augment-api-events.ts +13 -1
- package/src/interfaces/augment-api-query.ts +32 -1
- package/src/interfaces/augment-api-rpc.ts +0 -1
- package/src/interfaces/augment-api-tx.ts +39 -24
- package/src/interfaces/lookup.ts +300 -209
- package/src/interfaces/registry.ts +10 -0
- package/src/interfaces/types-lookup.ts +322 -215
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.5.2-dev.
|
|
3
|
+
"version": "1.5.2-dev.e8fba475",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
71
|
-
"@argonprotocol/testing": "1.5.2-dev.
|
|
71
|
+
"@argonprotocol/testing": "1.5.2-dev.e8fba475",
|
|
72
72
|
"@polkadot/typegen": "^17.0.1",
|
|
73
73
|
"@substrate/ss58-registry": "^1.51.0",
|
|
74
74
|
"@types/node": "^20",
|
|
@@ -181,6 +181,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
181
181
|
* Canonical Ethereum burn-accounting account representing funds moved to Ethereum.
|
|
182
182
|
**/
|
|
183
183
|
ethereumBurnAccount: AccountId32 & AugmentedConst<ApiType>;
|
|
184
|
+
/**
|
|
185
|
+
* Maximum activities in one complete gateway locator storage proof.
|
|
186
|
+
**/
|
|
187
|
+
maxActivitiesPerGatewayProof: u32 & AugmentedConst<ApiType>;
|
|
184
188
|
/**
|
|
185
189
|
* Maximum number of ordered gateway activities that may share one receipt proof.
|
|
186
190
|
**/
|
|
@@ -189,6 +193,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
189
193
|
* Maximum number of members the active Global Issuance Council may carry.
|
|
190
194
|
**/
|
|
191
195
|
maxCouncilMembers: u32 & AugmentedConst<ApiType>;
|
|
196
|
+
/**
|
|
197
|
+
* Maximum aggregate event data carried by one storage-proof locator.
|
|
198
|
+
**/
|
|
199
|
+
maxGatewayActivityLogDataBytes: u32 & AugmentedConst<ApiType>;
|
|
192
200
|
/**
|
|
193
201
|
* Maximum number of non-terminal transfer-out requests tracked for one destination chain.
|
|
194
202
|
**/
|
|
@@ -271,6 +279,8 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
271
279
|
* The increment that bids can be on (for instance, one cent increments)
|
|
272
280
|
**/
|
|
273
281
|
bidIncrements: u128 & AugmentedConst<ApiType>;
|
|
282
|
+
bidRevealBlocks: u32 & AugmentedConst<ApiType>;
|
|
283
|
+
bidSettlementBuffer: u32 & AugmentedConst<ApiType>;
|
|
274
284
|
/**
|
|
275
285
|
* The number of frames a miner operates for
|
|
276
286
|
**/
|
|
@@ -279,6 +289,10 @@ declare module '@polkadot/api-base/types/consts' {
|
|
|
279
289
|
* The initial argonots needed per seat before a prior-day median is available.
|
|
280
290
|
**/
|
|
281
291
|
initialArgonotsPerSeat: u128 & AugmentedConst<ApiType>;
|
|
292
|
+
/**
|
|
293
|
+
* Maximum commitments, including public bids, admitted per block.
|
|
294
|
+
**/
|
|
295
|
+
maxBidsPerBlock: u32 & AugmentedConst<ApiType>;
|
|
282
296
|
/**
|
|
283
297
|
* How many new miners can be in the cohort for each slot. The actual maximum will adjust
|
|
284
298
|
* dynamically
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
|
|
4
3
|
// import type lookup before we augment - in some environments
|
|
5
4
|
// this is required to allow for ambient/previous definitions
|
|
@@ -902,6 +901,14 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
902
901
|
NotebookIncludesExpiredLocalchainTransfer: AugmentedError<ApiType>;
|
|
903
902
|
};
|
|
904
903
|
miningSlot: {
|
|
904
|
+
/**
|
|
905
|
+
* The bid batch cannot settle until its reveal window has ended.
|
|
906
|
+
**/
|
|
907
|
+
BatchNotMature: AugmentedError<ApiType>;
|
|
908
|
+
/**
|
|
909
|
+
* The pending bid's maximum has already been revealed.
|
|
910
|
+
**/
|
|
911
|
+
BidAlreadyRevealed: AugmentedError<ApiType>;
|
|
905
912
|
/**
|
|
906
913
|
* The mining bid cannot be reduced
|
|
907
914
|
**/
|
|
@@ -918,6 +925,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
918
925
|
* An account can only have one active registration
|
|
919
926
|
**/
|
|
920
927
|
CannotRegisterOverlappingSessions: AugmentedError<ApiType>;
|
|
928
|
+
/**
|
|
929
|
+
* The miner already has a pending bid awaiting settlement.
|
|
930
|
+
**/
|
|
931
|
+
DuplicateBidCommitment: AugmentedError<ApiType>;
|
|
921
932
|
/**
|
|
922
933
|
* The funding account does not have enough funds to cover the bid
|
|
923
934
|
**/
|
|
@@ -930,14 +941,38 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
930
941
|
* Bids must be in allowed increments
|
|
931
942
|
**/
|
|
932
943
|
InvalidBidAmount: AugmentedError<ApiType>;
|
|
944
|
+
/**
|
|
945
|
+
* The revealed maximum and salt do not match the pending bid's hash.
|
|
946
|
+
**/
|
|
947
|
+
InvalidBidCommitment: AugmentedError<ApiType>;
|
|
948
|
+
/**
|
|
949
|
+
* The revealed maximum is lower than the public bid.
|
|
950
|
+
**/
|
|
951
|
+
InvalidBidRange: AugmentedError<ApiType>;
|
|
952
|
+
/**
|
|
953
|
+
* A maximum must be revealed in a block after submission and within the reveal window.
|
|
954
|
+
**/
|
|
955
|
+
InvalidRevealBlock: AugmentedError<ApiType>;
|
|
956
|
+
/**
|
|
957
|
+
* The miner has no pending bid with a committed maximum to reveal.
|
|
958
|
+
**/
|
|
959
|
+
MissingBidCommitment: AugmentedError<ApiType>;
|
|
933
960
|
/**
|
|
934
961
|
* Mining slot bidding currently requires a prior operational-account upgrade.
|
|
935
962
|
**/
|
|
936
963
|
OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
|
|
964
|
+
/**
|
|
965
|
+
* Bidding with a committed maximum is not enabled for the current auction frame.
|
|
966
|
+
**/
|
|
967
|
+
RangeAuctionNotActive: AugmentedError<ApiType>;
|
|
937
968
|
/**
|
|
938
969
|
* Bidding for the next cohort has closed
|
|
939
970
|
**/
|
|
940
971
|
SlotNotTakingBids: AugmentedError<ApiType>;
|
|
972
|
+
/**
|
|
973
|
+
* This block has reached the maximum number of pending bid submissions.
|
|
974
|
+
**/
|
|
975
|
+
TooManyBidCommitments: AugmentedError<ApiType>;
|
|
941
976
|
/**
|
|
942
977
|
* The cohort registration overflowed
|
|
943
978
|
**/
|
|
@@ -946,6 +981,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
946
981
|
* The argonots on hold cannot be released
|
|
947
982
|
**/
|
|
948
983
|
UnrecoverableHold: AugmentedError<ApiType>;
|
|
984
|
+
/**
|
|
985
|
+
* The bid targets a different auction frame than the current one.
|
|
986
|
+
**/
|
|
987
|
+
WrongBidFrame: AugmentedError<ApiType>;
|
|
949
988
|
};
|
|
950
989
|
mint: {
|
|
951
990
|
TooManyPendingMints: AugmentedError<ApiType>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
|
|
4
3
|
// import type lookup before we augment - in some environments
|
|
5
4
|
// this is required to allow for ambient/previous definitions
|
|
@@ -1114,6 +1113,14 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1114
1113
|
>;
|
|
1115
1114
|
};
|
|
1116
1115
|
miningSlot: {
|
|
1116
|
+
BidCommitted: AugmentedEvent<
|
|
1117
|
+
ApiType,
|
|
1118
|
+
[accountId: AccountId32, targetFrameId: u64],
|
|
1119
|
+
{ accountId: AccountId32; targetFrameId: u64 }
|
|
1120
|
+
>;
|
|
1121
|
+
BidLost: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1122
|
+
BidRejected: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1123
|
+
BidRevealed: AugmentedEvent<ApiType, [accountId: AccountId32], { accountId: AccountId32 }>;
|
|
1117
1124
|
/**
|
|
1118
1125
|
* Bids are closed due to the VRF randomized function triggering
|
|
1119
1126
|
**/
|
|
@@ -1164,6 +1171,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
1164
1171
|
[accountId: AccountId32, preservedArgonotHold: bool],
|
|
1165
1172
|
{ accountId: AccountId32; preservedArgonotHold: bool }
|
|
1166
1173
|
>;
|
|
1174
|
+
WinningBidPriceChanged: AugmentedEvent<
|
|
1175
|
+
ApiType,
|
|
1176
|
+
[accountId: AccountId32, bidAmount: u128],
|
|
1177
|
+
{ accountId: AccountId32; bidAmount: u128 }
|
|
1178
|
+
>;
|
|
1167
1179
|
};
|
|
1168
1180
|
mint: {
|
|
1169
1181
|
/**
|
|
@@ -95,7 +95,9 @@ import type {
|
|
|
95
95
|
PalletGrandpaStoredState,
|
|
96
96
|
PalletLocalchainTransferQueuedTransferOut,
|
|
97
97
|
PalletMiningSlotMinerNonceScoring,
|
|
98
|
+
PalletMiningSlotPendingBid,
|
|
98
99
|
PalletMiningSlotSeatPriceStats,
|
|
100
|
+
PalletMiningSlotStandingBid,
|
|
99
101
|
PalletMintMintAction,
|
|
100
102
|
PalletMintMintQueueCursor,
|
|
101
103
|
PalletMintPendingBitcoinMint,
|
|
@@ -1101,6 +1103,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1101
1103
|
* Argonots that must be locked to take a Miner role
|
|
1102
1104
|
**/
|
|
1103
1105
|
argonotsPerMiningSeat: AugmentedQuery<ApiType, () => Observable<u128>, []>;
|
|
1106
|
+
auctionAdmissionClosed: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Zero on fresh chains. Upgrades finish the deployed fixed-price auction first.
|
|
1109
|
+
**/
|
|
1110
|
+
auctionRulesStartAt: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1104
1111
|
/**
|
|
1105
1112
|
* Winning bid totals and seat counts for averaging prices over the last 10 frames (newest
|
|
1106
1113
|
* first).
|
|
@@ -1110,6 +1117,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1110
1117
|
() => Observable<Vec<PalletMiningSlotSeatPriceStats>>,
|
|
1111
1118
|
[]
|
|
1112
1119
|
>;
|
|
1120
|
+
/**
|
|
1121
|
+
* Vector position is canonical commitment order, including calls inside utility batches.
|
|
1122
|
+
**/
|
|
1123
|
+
bidBatches: AugmentedQuery<
|
|
1124
|
+
ApiType,
|
|
1125
|
+
(arg: u32 | AnyNumber | Uint8Array) => Observable<Vec<AccountId32>>,
|
|
1126
|
+
[u32]
|
|
1127
|
+
>;
|
|
1113
1128
|
/**
|
|
1114
1129
|
* The cohort set to go into effect in the next slot. The Vec has all
|
|
1115
1130
|
* registrants with their bid amount
|
|
@@ -1131,9 +1146,14 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1131
1146
|
* The previous 10 frame start ticks
|
|
1132
1147
|
**/
|
|
1133
1148
|
frameStartTicks: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, u64>>, []>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Whether the current auction has an accepted price, including a valid zero price.
|
|
1151
|
+
**/
|
|
1152
|
+
hasAcceptedBidPrice: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1134
1153
|
hasAddedGrandpaRotation: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1135
1154
|
/**
|
|
1136
|
-
*
|
|
1155
|
+
* Bid activity and accepted prices for the last 10 auctions (newest first).
|
|
1156
|
+
* Activity counts committed submissions and automatic standing-bid price increases.
|
|
1137
1157
|
**/
|
|
1138
1158
|
historicalBidsPerSlot: AugmentedQuery<
|
|
1139
1159
|
ApiType,
|
|
@@ -1144,6 +1164,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1144
1164
|
* Is the next slot still open for bids
|
|
1145
1165
|
**/
|
|
1146
1166
|
isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
1167
|
+
lastBidBlock: AugmentedQuery<ApiType, () => Observable<Option<u32>>, []>;
|
|
1147
1168
|
/**
|
|
1148
1169
|
* This is a lookup of each miner's nonce to use when picking a best authority to submit a
|
|
1149
1170
|
* block. It's a blake2 256 hash of the miner account id and the block hash at time of
|
|
@@ -1185,6 +1206,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1185
1206
|
* cohorts.
|
|
1186
1207
|
**/
|
|
1187
1208
|
nextFrameId: AugmentedQuery<ApiType, () => Observable<u64>, []>;
|
|
1209
|
+
pendingBids: AugmentedQuery<
|
|
1210
|
+
ApiType,
|
|
1211
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotPendingBid>>,
|
|
1212
|
+
[AccountId32]
|
|
1213
|
+
>;
|
|
1188
1214
|
/**
|
|
1189
1215
|
* The miners released in the last block (only kept for a single block)
|
|
1190
1216
|
**/
|
|
@@ -1203,6 +1229,11 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
1203
1229
|
() => Observable<BTreeMap<u64, u32>>,
|
|
1204
1230
|
[]
|
|
1205
1231
|
>;
|
|
1232
|
+
standingBids: AugmentedQuery<
|
|
1233
|
+
ApiType,
|
|
1234
|
+
(arg: AccountId32 | string | Uint8Array) => Observable<Option<PalletMiningSlotStandingBid>>,
|
|
1235
|
+
[AccountId32]
|
|
1236
|
+
>;
|
|
1206
1237
|
/**
|
|
1207
1238
|
* Temporary store the frame info digest
|
|
1208
1239
|
**/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// Auto-generated via `yarn polkadot-types-from-chain`, do not edit
|
|
2
|
-
/* eslint-disable */
|
|
3
2
|
|
|
4
3
|
// import type lookup before we augment - in some environments
|
|
5
4
|
// this is required to allow for ambient/previous definitions
|
|
@@ -56,6 +55,7 @@ import type {
|
|
|
56
55
|
PalletBootstrapRecoveryPubkey,
|
|
57
56
|
PalletCrosschainTransferAssetKind,
|
|
58
57
|
PalletCrosschainTransferChainConfig,
|
|
58
|
+
PalletCrosschainTransferGatewayActivityStorageProof,
|
|
59
59
|
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
60
60
|
PalletCrosschainTransferSourceChain,
|
|
61
61
|
PalletEthereumVerifierBasicOperatingMode,
|
|
@@ -620,6 +620,25 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
620
620
|
ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
|
|
621
621
|
]
|
|
622
622
|
>;
|
|
623
|
+
/**
|
|
624
|
+
* Authenticate a complete gateway locator and settle its unconsumed activities.
|
|
625
|
+
**/
|
|
626
|
+
proveGatewayActivityStorage: AugmentedSubmittable<
|
|
627
|
+
(
|
|
628
|
+
sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
629
|
+
previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array,
|
|
630
|
+
proof:
|
|
631
|
+
| PalletCrosschainTransferGatewayActivityStorageProof
|
|
632
|
+
| { locatorIndex?: any; activityRootSeed?: any; storageProof?: any; activityLogs?: any }
|
|
633
|
+
| string
|
|
634
|
+
| Uint8Array,
|
|
635
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
636
|
+
[
|
|
637
|
+
PalletCrosschainTransferSourceChain,
|
|
638
|
+
Compact<u64>,
|
|
639
|
+
PalletCrosschainTransferGatewayActivityStorageProof,
|
|
640
|
+
]
|
|
641
|
+
>;
|
|
623
642
|
registerCouncilSigner: AugmentedSubmittable<
|
|
624
643
|
(
|
|
625
644
|
destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
@@ -866,28 +885,9 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
866
885
|
};
|
|
867
886
|
miningSlot: {
|
|
868
887
|
/**
|
|
869
|
-
* Submit a
|
|
870
|
-
*
|
|
871
|
-
*
|
|
872
|
-
* Each slot has `MaxCohortSize` spots available.
|
|
873
|
-
*
|
|
874
|
-
* To be eligible for a slot, you must have the required ownership tokens (argonots) in
|
|
875
|
-
* this account. The required amount is calculated as a percentage of the total ownership
|
|
876
|
-
* tokens in the network. This percentage is adjusted before the beginning of each slot.
|
|
877
|
-
*
|
|
878
|
-
* If your bid is no longer winning, a `SlotBidderDropped` event will be emitted. By
|
|
879
|
-
* monitoring for this event, you will be able to ensure your bid is accepted.
|
|
880
|
-
*
|
|
881
|
-
* NOTE: bidding for each slot will be closed at a random block within
|
|
882
|
-
* `mining_config.ticks_before_bid_end_for_vrf_close` blocks of the slot end time.
|
|
883
|
-
*
|
|
884
|
-
* The slot duration can be calculated as `BlocksBetweenSlots * MaxMiners / MaxCohortSize`.
|
|
885
|
-
*
|
|
886
|
-
* Parameters:
|
|
887
|
-
* - `bid`: The amount of argons to bid
|
|
888
|
-
* - `keys`: The session "hot" keys for the slot (BlockSealAuthorityId and GrandpaId).
|
|
889
|
-
* - `mining_account_id`: This account_id allows you to operate as this miner account id,
|
|
890
|
-
* but use funding (argonots and bid) from the submitting account
|
|
888
|
+
* Submit a funded public bid, optionally committing to a hidden maximum.
|
|
889
|
+
* Every bid competes at its public amount even if no maximum is revealed.
|
|
890
|
+
* An omitted target frame selects the current auction at dispatch time.
|
|
891
891
|
**/
|
|
892
892
|
bid: AugmentedSubmittable<
|
|
893
893
|
(
|
|
@@ -898,8 +898,23 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
898
898
|
| string
|
|
899
899
|
| Uint8Array,
|
|
900
900
|
miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
|
|
901
|
+
targetFrameId: Option<u64> | null | Uint8Array | u64 | AnyNumber,
|
|
902
|
+
maxHash: Option<U8aFixed> | null | Uint8Array | U8aFixed | string,
|
|
903
|
+
) => SubmittableExtrinsic<ApiType>,
|
|
904
|
+
[u128, ArgonRuntimeSessionKeys, Option<AccountId32>, Option<u64>, Option<U8aFixed>]
|
|
905
|
+
>;
|
|
906
|
+
/**
|
|
907
|
+
* Disclose a committed maximum during the five blocks following submission.
|
|
908
|
+
* The target frame must match the original bid and the current auction.
|
|
909
|
+
**/
|
|
910
|
+
bidMax: AugmentedSubmittable<
|
|
911
|
+
(
|
|
912
|
+
max: u128 | AnyNumber | Uint8Array,
|
|
913
|
+
salt: U8aFixed | string | Uint8Array,
|
|
914
|
+
miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
|
|
915
|
+
targetFrameId: u64 | AnyNumber | Uint8Array,
|
|
901
916
|
) => SubmittableExtrinsic<ApiType>,
|
|
902
|
-
[u128,
|
|
917
|
+
[u128, U8aFixed, Option<AccountId32>, u64]
|
|
903
918
|
>;
|
|
904
919
|
/**
|
|
905
920
|
* Admin function to update the mining slot delay.
|