@argonprotocol/mainchain 1.4.9-dev.5b945a61 → 1.4.9-dev.5ffdfd6a

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.
@@ -1547,7 +1547,7 @@ declare module '@polkadot/api-base/types/errors' {
1547
1547
  **/
1548
1548
  InvalidBidAmount: AugmentedError<ApiType>;
1549
1549
  /**
1550
- * Mining slot bidding currently requires prior operational-account registration.
1550
+ * Mining slot bidding currently requires a prior operational-account upgrade.
1551
1551
  **/
1552
1552
  OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
1553
1553
  /**
@@ -2136,7 +2136,7 @@ declare module '@polkadot/api-base/types/errors' {
2136
2136
  **/
2137
2137
  NoVaultBitcoinPubkeysAvailable: AugmentedError<ApiType>;
2138
2138
  /**
2139
- * Vault creation currently requires prior operational-account registration.
2139
+ * Vault creation currently requires a prior operational-account upgrade.
2140
2140
  **/
2141
2141
  OperationalAccountRegistrationRequired: AugmentedError<ApiType>;
2142
2142
  /**
@@ -6651,6 +6651,7 @@ declare module '@polkadot/api-base/types/submittable' {
6651
6651
  accountBitcoinAmount?: any;
6652
6652
  accountVaultBondAmount?: any;
6653
6653
  vaultCreated?: any;
6654
+ isUpgradedToOperations?: any;
6654
6655
  vaultBitcoinAmount?: any;
6655
6656
  miningSeatCount?: any;
6656
6657
  } | string | Uint8Array, updateOperationalProgress: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [
@@ -12437,6 +12438,7 @@ declare module '@polkadot/types/lookup' {
12437
12438
  readonly accountBitcoinAmount: Option<u128>;
12438
12439
  readonly accountVaultBondAmount: Option<u128>;
12439
12440
  readonly vaultCreated: Option<bool>;
12441
+ readonly isUpgradedToOperations: Option<bool>;
12440
12442
  readonly vaultBitcoinAmount: Option<u128>;
12441
12443
  readonly miningSeatCount: Option<u32>;
12442
12444
  }
@@ -13808,6 +13810,12 @@ type IBigIntLike = bigint | {
13808
13810
  };
13809
13811
 
13810
13812
  type ITxProgressCallback = (progressToInBlock: number, result?: TxResult) => void;
13813
+ type IBlockInclusion = {
13814
+ blockHash: Uint8Array;
13815
+ blockNumber?: number;
13816
+ extrinsicIndex: number;
13817
+ events: GenericEvent[];
13818
+ };
13811
13819
  declare class TxResult {
13812
13820
  #private;
13813
13821
  protected readonly client: ArgonClient;
@@ -13857,14 +13865,10 @@ declare class TxResult {
13857
13865
  accountAddress: string;
13858
13866
  nonce: number;
13859
13867
  });
13860
- setSeenInBlock(block: {
13861
- blockHash: Uint8Array;
13862
- blockNumber?: number;
13863
- extrinsicIndex: number;
13864
- events: GenericEvent[];
13865
- }): Promise<void>;
13866
- setFinalized(): void;
13868
+ setSeenInBlock(block: IBlockInclusion): Promise<void>;
13869
+ setFinalized(): Promise<void>;
13867
13870
  onSubscriptionResult(result: ISubmittableResult): void;
13871
+ private publishSeenInBlock;
13868
13872
  private updateProgress;
13869
13873
  private parseEvents;
13870
13874
  }