@argonprotocol/mainchain 1.0.6 → 1.0.7
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/lib/cjs/interfaces/augment-api-events.d.ts +5 -0
- package/lib/cjs/interfaces/augment-api-tx.d.ts +4 -0
- package/lib/cjs/interfaces/lookup.d.ts +8 -0
- package/lib/cjs/interfaces/lookup.js +10 -2
- package/lib/cjs/interfaces/lookup.js.map +1 -1
- package/lib/cjs/interfaces/types-lookup.d.ts +12 -2
- package/lib/esm/interfaces/augment-api-events.d.ts +5 -0
- package/lib/esm/interfaces/augment-api-tx.d.ts +4 -0
- package/lib/esm/interfaces/lookup.d.ts +8 -0
- package/lib/esm/interfaces/lookup.js +10 -2
- package/lib/esm/interfaces/lookup.js.map +1 -1
- package/lib/esm/interfaces/types-lookup.d.ts +12 -2
- package/lib/tsconfig-cjs.tsbuildinfo +1 -1
- package/lib/tsconfig-types.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/interfaces/augment-api-events.d.ts +5 -0
- package/lib/types/interfaces/augment-api-tx.d.ts +4 -0
- package/lib/types/interfaces/lookup.d.ts +8 -0
- package/lib/types/interfaces/types-lookup.d.ts +12 -2
- package/package.json +1 -1
|
@@ -542,6 +542,11 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
542
542
|
}>;
|
|
543
543
|
};
|
|
544
544
|
miningSlot: {
|
|
545
|
+
MiningConfigurationUpdated: AugmentedEvent<ApiType, [blocksBeforeBidEndForVrfClose: u32, blocksBetweenSlots: u32, slotBiddingStartAfterTicks: u64], {
|
|
546
|
+
blocksBeforeBidEndForVrfClose: u32;
|
|
547
|
+
blocksBetweenSlots: u32;
|
|
548
|
+
slotBiddingStartAfterTicks: u64;
|
|
549
|
+
}>;
|
|
545
550
|
NewMiners: AugmentedEvent<ApiType, [startIndex: u32, newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>], {
|
|
546
551
|
startIndex: u32;
|
|
547
552
|
newMiners: Vec<ArgonPrimitivesBlockSealMiningRegistration>;
|
|
@@ -409,6 +409,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
409
409
|
grandpa?: any;
|
|
410
410
|
blockSealAuthority?: any;
|
|
411
411
|
} | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Option<PalletMiningSlotMiningSlotBid>, ArgonPrimitivesBlockSealRewardDestination, ArgonRuntimeSessionKeys]>;
|
|
412
|
+
/**
|
|
413
|
+
* Admin function to update the mining slot delay.
|
|
414
|
+
**/
|
|
415
|
+
configureMiningSlotDelay: AugmentedSubmittable<(miningSlotDelay: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
412
416
|
};
|
|
413
417
|
mint: {};
|
|
414
418
|
multisig: {
|
|
@@ -271,6 +271,11 @@ declare const _default: {
|
|
|
271
271
|
bondId: string;
|
|
272
272
|
error: string;
|
|
273
273
|
};
|
|
274
|
+
MiningConfigurationUpdated: {
|
|
275
|
+
blocksBeforeBidEndForVrfClose: string;
|
|
276
|
+
blocksBetweenSlots: string;
|
|
277
|
+
slotBiddingStartAfterTicks: string;
|
|
278
|
+
};
|
|
274
279
|
};
|
|
275
280
|
};
|
|
276
281
|
/**
|
|
@@ -1553,6 +1558,9 @@ declare const _default: {
|
|
|
1553
1558
|
rewardDestination: string;
|
|
1554
1559
|
keys_: string;
|
|
1555
1560
|
};
|
|
1561
|
+
configure_mining_slot_delay: {
|
|
1562
|
+
miningSlotDelay: string;
|
|
1563
|
+
};
|
|
1556
1564
|
};
|
|
1557
1565
|
};
|
|
1558
1566
|
/**
|
|
@@ -270,7 +270,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
270
270
|
readonly bondId: Option<u64>;
|
|
271
271
|
readonly error: SpRuntimeDispatchError;
|
|
272
272
|
} & Struct;
|
|
273
|
-
readonly
|
|
273
|
+
readonly isMiningConfigurationUpdated: boolean;
|
|
274
|
+
readonly asMiningConfigurationUpdated: {
|
|
275
|
+
readonly blocksBeforeBidEndForVrfClose: u32;
|
|
276
|
+
readonly blocksBetweenSlots: u32;
|
|
277
|
+
readonly slotBiddingStartAfterTicks: u64;
|
|
278
|
+
} & Struct;
|
|
279
|
+
readonly type: 'NewMiners' | 'SlotBidderAdded' | 'SlotBidderReplaced' | 'UnbondedMiner' | 'UnbondMinerError' | 'MiningConfigurationUpdated';
|
|
274
280
|
}
|
|
275
281
|
/** @name ArgonPrimitivesBlockSealMiningRegistration (41) */
|
|
276
282
|
interface ArgonPrimitivesBlockSealMiningRegistration extends Struct {
|
|
@@ -1550,7 +1556,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
1550
1556
|
readonly rewardDestination: ArgonPrimitivesBlockSealRewardDestination;
|
|
1551
1557
|
readonly keys_: ArgonRuntimeSessionKeys;
|
|
1552
1558
|
} & Struct;
|
|
1553
|
-
readonly
|
|
1559
|
+
readonly isConfigureMiningSlotDelay: boolean;
|
|
1560
|
+
readonly asConfigureMiningSlotDelay: {
|
|
1561
|
+
readonly miningSlotDelay: u64;
|
|
1562
|
+
} & Struct;
|
|
1563
|
+
readonly type: 'Bid' | 'ConfigureMiningSlotDelay';
|
|
1554
1564
|
}
|
|
1555
1565
|
/** @name PalletMiningSlotMiningSlotBid (184) */
|
|
1556
1566
|
interface PalletMiningSlotMiningSlotBid extends Struct {
|