@argonprotocol/mainchain 1.4.4 → 1.4.5-dev.7ee8a484

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/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ApiTypes, AugmentedConst, AugmentedError, AugmentedEvent, AugmentedQuery, AugmentedSubmittable, SubmittableExtrinsic, AugmentedCall } from '@polkadot/api-base/types';
2
- import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, i128, U8aFixed, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U256, U64, f64, Json, Struct, Enum, BitVec, Bool, f32, F32, F64, I128, i16, I16, i256, I256, i32, I32, i64, I64, i8, I8, isize, ISize, OptionBool, Raw, Type, U128, U16, u256, U32, U8, usize, USize } from '@polkadot/types-codec';
2
+ import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, i128, U8aFixed, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U256, U64, f64, Json, BitVec, Bool, f32, F32, F64, I128, i16, I16, i256, I256, i32, I32, i64, I64, i8, I8, isize, ISize, OptionBool, Raw, Type, U128, U16, u256, U32, U8, usize, USize, Struct, Enum } from '@polkadot/types-codec';
3
3
  export { BTreeMap, Bool, Bytes, Compact, Enum, Null, Option, Range, Result, Struct, Text, Tuple, U256, U8aFixed, Vec, bool, i128, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
5
5
  export { Codec, ITuple } from '@polkadot/types-codec/types';
@@ -8249,52 +8249,6 @@ declare module '@polkadot/api-base/types/calls' {
8249
8249
  }
8250
8250
  }
8251
8251
 
8252
- /** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof */
8253
- interface ArgonPrimitivesEthereumEthereumCombinedReceiptProof extends Struct {
8254
- readonly nodes: Vec<Bytes>;
8255
- readonly receipts: Vec<ArgonPrimitivesEthereumEthereumReceiptProofReceipt>;
8256
- }
8257
- /** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof */
8258
- interface ArgonPrimitivesEthereumEthereumExecutionBlockProof extends Struct {
8259
- readonly anchorBlockHash: H256;
8260
- readonly targetToAnchorHeaderChain: Vec<ArgonPrimitivesEthereumEthereumExecutionHeader>;
8261
- }
8262
- /** @name ArgonPrimitivesEthereumEthereumExecutionHeader */
8263
- interface ArgonPrimitivesEthereumEthereumExecutionHeader extends Struct {
8264
- readonly rlp: Bytes;
8265
- }
8266
- /** @name ArgonPrimitivesEthereumEthereumLog */
8267
- interface ArgonPrimitivesEthereumEthereumLog extends Struct {
8268
- readonly address: H160;
8269
- readonly topics: Vec<H256>;
8270
- readonly data: Bytes;
8271
- }
8272
- /** @name ArgonPrimitivesEthereumEthereumProof */
8273
- interface ArgonPrimitivesEthereumEthereumProof extends Struct {
8274
- readonly executionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
8275
- readonly receiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
8276
- }
8277
- /** @name ArgonPrimitivesEthereumEthereumReceiptLog */
8278
- interface ArgonPrimitivesEthereumEthereumReceiptLog extends Struct {
8279
- readonly transactionIndex: Compact<u64>;
8280
- readonly eventLog: ArgonPrimitivesEthereumEthereumLog;
8281
- }
8282
- /** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt */
8283
- interface ArgonPrimitivesEthereumEthereumReceiptProofReceipt extends Struct {
8284
- readonly transactionIndex: Compact<u64>;
8285
- readonly nodeIndexes: Vec<u16>;
8286
- }
8287
- /** @name ArgonPrimitivesEthereumEthereumVerifyError */
8288
- interface ArgonPrimitivesEthereumEthereumVerifyError extends Enum {
8289
- readonly isVerifierUnavailable: boolean;
8290
- readonly isAnchorNotFound: boolean;
8291
- readonly isInvalidHeader: boolean;
8292
- readonly isInvalidHeaderChain: boolean;
8293
- readonly isLogNotFound: boolean;
8294
- readonly isInvalidProof: boolean;
8295
- readonly type: 'VerifierUnavailable' | 'AnchorNotFound' | 'InvalidHeader' | 'InvalidHeaderChain' | 'LogNotFound' | 'InvalidProof';
8296
- }
8297
-
8298
8252
  declare module '@polkadot/types/types/registry' {
8299
8253
  interface InterfaceTypes {
8300
8254
  AbridgedCandidateReceipt: AbridgedCandidateReceipt;
@@ -8333,14 +8287,6 @@ declare module '@polkadot/types/types/registry' {
8333
8287
  ApprovalFlag: ApprovalFlag;
8334
8288
  Approvals: Approvals;
8335
8289
  ApprovalVotingParams: ApprovalVotingParams;
8336
- ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
8337
- ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
8338
- ArgonPrimitivesEthereumEthereumExecutionHeader: ArgonPrimitivesEthereumEthereumExecutionHeader;
8339
- ArgonPrimitivesEthereumEthereumLog: ArgonPrimitivesEthereumEthereumLog;
8340
- ArgonPrimitivesEthereumEthereumProof: ArgonPrimitivesEthereumEthereumProof;
8341
- ArgonPrimitivesEthereumEthereumReceiptLog: ArgonPrimitivesEthereumEthereumReceiptLog;
8342
- ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
8343
- ArgonPrimitivesEthereumEthereumVerifyError: ArgonPrimitivesEthereumEthereumVerifyError;
8344
8290
  ArithmeticError: ArithmeticError;
8345
8291
  AssetApproval: AssetApproval;
8346
8292
  AssetApprovalKey: AssetApprovalKey;
@@ -13743,6 +13689,7 @@ declare class BitcoinLock implements IBitcoinLock {
13743
13689
  isFunded: boolean;
13744
13690
  createdAtArgonBlock: number;
13745
13691
  fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
13692
+ couponFeesPaid: bigint;
13746
13693
  constructor(data: IBitcoinLock);
13747
13694
  /**
13748
13695
  * Gets the UTXO reference by ID.
@@ -13903,6 +13850,7 @@ interface IBitcoinLock {
13903
13850
  utxoSatoshis?: bigint;
13904
13851
  vaultPubkey: string;
13905
13852
  securityFees: bigint;
13853
+ couponFeesPaid: bigint;
13906
13854
  vaultClaimPubkey: string;
13907
13855
  ownerPubkey: string;
13908
13856
  vaultXpubSources: {
package/lib/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ApiTypes, AugmentedConst, AugmentedError, AugmentedEvent, AugmentedQuery, AugmentedSubmittable, SubmittableExtrinsic, AugmentedCall } from '@polkadot/api-base/types';
2
- import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, i128, U8aFixed, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U256, U64, f64, Json, Struct, Enum, BitVec, Bool, f32, F32, F64, I128, i16, I16, i256, I256, i32, I32, i64, I64, i8, I8, isize, ISize, OptionBool, Raw, Type, U128, U16, u256, U32, U8, usize, USize } from '@polkadot/types-codec';
2
+ import { u128, u32, u64, u16, u8, bool, Bytes, Vec, Option, i128, U8aFixed, Result, Null, BTreeSet, BTreeMap, Compact, Text, HashMap, U256, U64, f64, Json, BitVec, Bool, f32, F32, F64, I128, i16, I16, i256, I256, i32, I32, i64, I64, i8, I8, isize, ISize, OptionBool, Raw, Type, U128, U16, u256, U32, U8, usize, USize, Struct, Enum } from '@polkadot/types-codec';
3
3
  export { BTreeMap, Bool, Bytes, Compact, Enum, Null, Option, Range, Result, Struct, Text, Tuple, U256, U8aFixed, Vec, bool, i128, u128, u16, u32, u64, u8 } from '@polkadot/types-codec';
4
4
  import { ITuple, AnyNumber, IMethod, Codec } from '@polkadot/types-codec/types';
5
5
  export { Codec, ITuple } from '@polkadot/types-codec/types';
@@ -8249,52 +8249,6 @@ declare module '@polkadot/api-base/types/calls' {
8249
8249
  }
8250
8250
  }
8251
8251
 
8252
- /** @name ArgonPrimitivesEthereumEthereumCombinedReceiptProof */
8253
- interface ArgonPrimitivesEthereumEthereumCombinedReceiptProof extends Struct {
8254
- readonly nodes: Vec<Bytes>;
8255
- readonly receipts: Vec<ArgonPrimitivesEthereumEthereumReceiptProofReceipt>;
8256
- }
8257
- /** @name ArgonPrimitivesEthereumEthereumExecutionBlockProof */
8258
- interface ArgonPrimitivesEthereumEthereumExecutionBlockProof extends Struct {
8259
- readonly anchorBlockHash: H256;
8260
- readonly targetToAnchorHeaderChain: Vec<ArgonPrimitivesEthereumEthereumExecutionHeader>;
8261
- }
8262
- /** @name ArgonPrimitivesEthereumEthereumExecutionHeader */
8263
- interface ArgonPrimitivesEthereumEthereumExecutionHeader extends Struct {
8264
- readonly rlp: Bytes;
8265
- }
8266
- /** @name ArgonPrimitivesEthereumEthereumLog */
8267
- interface ArgonPrimitivesEthereumEthereumLog extends Struct {
8268
- readonly address: H160;
8269
- readonly topics: Vec<H256>;
8270
- readonly data: Bytes;
8271
- }
8272
- /** @name ArgonPrimitivesEthereumEthereumProof */
8273
- interface ArgonPrimitivesEthereumEthereumProof extends Struct {
8274
- readonly executionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
8275
- readonly receiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
8276
- }
8277
- /** @name ArgonPrimitivesEthereumEthereumReceiptLog */
8278
- interface ArgonPrimitivesEthereumEthereumReceiptLog extends Struct {
8279
- readonly transactionIndex: Compact<u64>;
8280
- readonly eventLog: ArgonPrimitivesEthereumEthereumLog;
8281
- }
8282
- /** @name ArgonPrimitivesEthereumEthereumReceiptProofReceipt */
8283
- interface ArgonPrimitivesEthereumEthereumReceiptProofReceipt extends Struct {
8284
- readonly transactionIndex: Compact<u64>;
8285
- readonly nodeIndexes: Vec<u16>;
8286
- }
8287
- /** @name ArgonPrimitivesEthereumEthereumVerifyError */
8288
- interface ArgonPrimitivesEthereumEthereumVerifyError extends Enum {
8289
- readonly isVerifierUnavailable: boolean;
8290
- readonly isAnchorNotFound: boolean;
8291
- readonly isInvalidHeader: boolean;
8292
- readonly isInvalidHeaderChain: boolean;
8293
- readonly isLogNotFound: boolean;
8294
- readonly isInvalidProof: boolean;
8295
- readonly type: 'VerifierUnavailable' | 'AnchorNotFound' | 'InvalidHeader' | 'InvalidHeaderChain' | 'LogNotFound' | 'InvalidProof';
8296
- }
8297
-
8298
8252
  declare module '@polkadot/types/types/registry' {
8299
8253
  interface InterfaceTypes {
8300
8254
  AbridgedCandidateReceipt: AbridgedCandidateReceipt;
@@ -8333,14 +8287,6 @@ declare module '@polkadot/types/types/registry' {
8333
8287
  ApprovalFlag: ApprovalFlag;
8334
8288
  Approvals: Approvals;
8335
8289
  ApprovalVotingParams: ApprovalVotingParams;
8336
- ArgonPrimitivesEthereumEthereumCombinedReceiptProof: ArgonPrimitivesEthereumEthereumCombinedReceiptProof;
8337
- ArgonPrimitivesEthereumEthereumExecutionBlockProof: ArgonPrimitivesEthereumEthereumExecutionBlockProof;
8338
- ArgonPrimitivesEthereumEthereumExecutionHeader: ArgonPrimitivesEthereumEthereumExecutionHeader;
8339
- ArgonPrimitivesEthereumEthereumLog: ArgonPrimitivesEthereumEthereumLog;
8340
- ArgonPrimitivesEthereumEthereumProof: ArgonPrimitivesEthereumEthereumProof;
8341
- ArgonPrimitivesEthereumEthereumReceiptLog: ArgonPrimitivesEthereumEthereumReceiptLog;
8342
- ArgonPrimitivesEthereumEthereumReceiptProofReceipt: ArgonPrimitivesEthereumEthereumReceiptProofReceipt;
8343
- ArgonPrimitivesEthereumEthereumVerifyError: ArgonPrimitivesEthereumEthereumVerifyError;
8344
8290
  ArithmeticError: ArithmeticError;
8345
8291
  AssetApproval: AssetApproval;
8346
8292
  AssetApprovalKey: AssetApprovalKey;
@@ -13743,6 +13689,7 @@ declare class BitcoinLock implements IBitcoinLock {
13743
13689
  isFunded: boolean;
13744
13690
  createdAtArgonBlock: number;
13745
13691
  fundHoldExtensionsByBitcoinExpirationHeight: Record<number, bigint>;
13692
+ couponFeesPaid: bigint;
13746
13693
  constructor(data: IBitcoinLock);
13747
13694
  /**
13748
13695
  * Gets the UTXO reference by ID.
@@ -13903,6 +13850,7 @@ interface IBitcoinLock {
13903
13850
  utxoSatoshis?: bigint;
13904
13851
  vaultPubkey: string;
13905
13852
  securityFees: bigint;
13853
+ couponFeesPaid: bigint;
13906
13854
  vaultClaimPubkey: string;
13907
13855
  ownerPubkey: string;
13908
13856
  vaultXpubSources: {