@argonprotocol/mainchain 0.0.13 → 0.0.15
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/index.d.ts +2 -2
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/interfaces/augment-api-errors.d.ts +12 -4
- package/lib/cjs/interfaces/augment-api-events.d.ts +6 -1
- package/lib/cjs/interfaces/augment-api-query.d.ts +15 -3
- package/lib/cjs/interfaces/augment-api-tx.d.ts +1 -0
- package/lib/cjs/interfaces/lookup.d.ts +83 -65
- package/lib/cjs/interfaces/lookup.js +87 -69
- package/lib/cjs/interfaces/lookup.js.map +1 -1
- package/lib/cjs/interfaces/registry.d.ts +2 -1
- package/lib/cjs/interfaces/types-lookup.d.ts +90 -70
- package/lib/esm/index.d.ts +2 -2
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/interfaces/augment-api-errors.d.ts +12 -4
- package/lib/esm/interfaces/augment-api-events.d.ts +6 -1
- package/lib/esm/interfaces/augment-api-query.d.ts +15 -3
- package/lib/esm/interfaces/augment-api-tx.d.ts +1 -0
- package/lib/esm/interfaces/lookup.d.ts +83 -65
- package/lib/esm/interfaces/lookup.js +87 -69
- package/lib/esm/interfaces/lookup.js.map +1 -1
- package/lib/esm/interfaces/registry.d.ts +2 -1
- package/lib/esm/interfaces/types-lookup.d.ts +90 -70
- package/lib/tsconfig-cjs.tsbuildinfo +1 -1
- package/lib/tsconfig-types.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/index.d.ts +2 -2
- package/lib/types/interfaces/augment-api-errors.d.ts +12 -4
- package/lib/types/interfaces/augment-api-events.d.ts +6 -1
- package/lib/types/interfaces/augment-api-query.d.ts +15 -3
- package/lib/types/interfaces/augment-api-tx.d.ts +1 -0
- package/lib/types/interfaces/lookup.d.ts +83 -65
- package/lib/types/interfaces/registry.d.ts +2 -1
- package/lib/types/interfaces/types-lookup.d.ts +90 -70
- package/package.json +1 -1
|
@@ -539,9 +539,15 @@ declare module '@polkadot/types/lookup' {
|
|
|
539
539
|
readonly asNotebookAuditFailure: {
|
|
540
540
|
readonly notaryId: u32;
|
|
541
541
|
readonly notebookNumber: u32;
|
|
542
|
+
readonly notebookHash: H256;
|
|
542
543
|
readonly firstFailureReason: ArgonNotaryAuditErrorVerifyError;
|
|
543
544
|
} & Struct;
|
|
544
|
-
readonly
|
|
545
|
+
readonly isNotebookReadyForReprocess: boolean;
|
|
546
|
+
readonly asNotebookReadyForReprocess: {
|
|
547
|
+
readonly notaryId: u32;
|
|
548
|
+
readonly notebookNumber: u32;
|
|
549
|
+
} & Struct;
|
|
550
|
+
readonly type: 'NotebookSubmitted' | 'NotebookAuditFailure' | 'NotebookReadyForReprocess';
|
|
545
551
|
}
|
|
546
552
|
/** @name ArgonNotaryAuditErrorVerifyError (73) */
|
|
547
553
|
interface ArgonNotaryAuditErrorVerifyError extends Enum {
|
|
@@ -1425,7 +1431,11 @@ declare module '@polkadot/types/lookup' {
|
|
|
1425
1431
|
readonly asSubmit: {
|
|
1426
1432
|
readonly notebooks: Vec<ArgonPrimitivesNotebookSignedNotebookHeader>;
|
|
1427
1433
|
} & Struct;
|
|
1428
|
-
readonly
|
|
1434
|
+
readonly isUnlock: boolean;
|
|
1435
|
+
readonly asUnlock: {
|
|
1436
|
+
readonly notaryId: u32;
|
|
1437
|
+
} & Struct;
|
|
1438
|
+
readonly type: 'Submit' | 'Unlock';
|
|
1429
1439
|
}
|
|
1430
1440
|
/** @name ArgonPrimitivesNotebookSignedNotebookHeader (173) */
|
|
1431
1441
|
interface ArgonPrimitivesNotebookSignedNotebookHeader extends Struct {
|
|
@@ -1814,15 +1824,15 @@ declare module '@polkadot/types/lookup' {
|
|
|
1814
1824
|
readonly genesisUtcTime: Compact<u64>;
|
|
1815
1825
|
readonly channelHoldExpirationTicks: Compact<u32>;
|
|
1816
1826
|
}
|
|
1817
|
-
/** @name PalletTicksError (
|
|
1827
|
+
/** @name PalletTicksError (241) */
|
|
1818
1828
|
type PalletTicksError = Null;
|
|
1819
|
-
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (
|
|
1829
|
+
/** @name ArgonPrimitivesBlockSealMiningSlotConfig (248) */
|
|
1820
1830
|
interface ArgonPrimitivesBlockSealMiningSlotConfig extends Struct {
|
|
1821
1831
|
readonly blocksBeforeBidEndForVrfClose: Compact<u32>;
|
|
1822
1832
|
readonly blocksBetweenSlots: Compact<u32>;
|
|
1823
1833
|
readonly slotBiddingStartBlock: Compact<u32>;
|
|
1824
1834
|
}
|
|
1825
|
-
/** @name PalletMiningSlotError (
|
|
1835
|
+
/** @name PalletMiningSlotError (249) */
|
|
1826
1836
|
interface PalletMiningSlotError extends Enum {
|
|
1827
1837
|
readonly isSlotNotTakingBids: boolean;
|
|
1828
1838
|
readonly isTooManyBlockRegistrants: boolean;
|
|
@@ -1848,7 +1858,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1848
1858
|
readonly asGenericBondError: ArgonPrimitivesBondBondError;
|
|
1849
1859
|
readonly type: 'SlotNotTakingBids' | 'TooManyBlockRegistrants' | 'InsufficientOwnershipTokens' | 'BidTooLow' | 'CannotRegisterOverlappingSessions' | 'BondNotFound' | 'NoMoreBondIds' | 'VaultClosed' | 'MinimumBondAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'BondAlreadyClosed' | 'FeeExceedsBondAmount' | 'AccountWouldBeBelowMinimum' | 'GenericBondError';
|
|
1850
1860
|
}
|
|
1851
|
-
/** @name ArgonPrimitivesBondBondError (
|
|
1861
|
+
/** @name ArgonPrimitivesBondBondError (250) */
|
|
1852
1862
|
interface ArgonPrimitivesBondBondError extends Enum {
|
|
1853
1863
|
readonly isBondNotFound: boolean;
|
|
1854
1864
|
readonly isNoMoreBondIds: boolean;
|
|
@@ -1872,7 +1882,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1872
1882
|
readonly isInternalError: boolean;
|
|
1873
1883
|
readonly type: 'BondNotFound' | 'NoMoreBondIds' | 'MinimumBondAmountNotMet' | 'VaultClosed' | 'ExpirationAtBlockOverflow' | 'AccountWouldBeBelowMinimum' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'InsufficientBitcoinsForMining' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'NoVaultBitcoinPubkeysAvailable' | 'UnableToGenerateVaultBitcoinPubkey' | 'UnableToDecodeVaultBitcoinPubkey' | 'FeeExceedsBondAmount' | 'InvalidBitcoinScript' | 'InternalError';
|
|
1874
1884
|
}
|
|
1875
|
-
/** @name ArgonPrimitivesBitcoinUtxoValue (
|
|
1885
|
+
/** @name ArgonPrimitivesBitcoinUtxoValue (251) */
|
|
1876
1886
|
interface ArgonPrimitivesBitcoinUtxoValue extends Struct {
|
|
1877
1887
|
readonly utxoId: u64;
|
|
1878
1888
|
readonly scriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
@@ -1880,7 +1890,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1880
1890
|
readonly submittedAtHeight: Compact<u64>;
|
|
1881
1891
|
readonly watchForSpentUntilHeight: Compact<u64>;
|
|
1882
1892
|
}
|
|
1883
|
-
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (
|
|
1893
|
+
/** @name ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey (252) */
|
|
1884
1894
|
interface ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey extends Enum {
|
|
1885
1895
|
readonly isP2wsh: boolean;
|
|
1886
1896
|
readonly asP2wsh: {
|
|
@@ -1888,7 +1898,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1888
1898
|
} & Struct;
|
|
1889
1899
|
readonly type: 'P2wsh';
|
|
1890
1900
|
}
|
|
1891
|
-
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (
|
|
1901
|
+
/** @name ArgonPrimitivesBitcoinBitcoinNetwork (257) */
|
|
1892
1902
|
interface ArgonPrimitivesBitcoinBitcoinNetwork extends Enum {
|
|
1893
1903
|
readonly isBitcoin: boolean;
|
|
1894
1904
|
readonly isTestnet: boolean;
|
|
@@ -1896,7 +1906,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1896
1906
|
readonly isRegtest: boolean;
|
|
1897
1907
|
readonly type: 'Bitcoin' | 'Testnet' | 'Signet' | 'Regtest';
|
|
1898
1908
|
}
|
|
1899
|
-
/** @name PalletBitcoinUtxosError (
|
|
1909
|
+
/** @name PalletBitcoinUtxosError (260) */
|
|
1900
1910
|
interface PalletBitcoinUtxosError extends Enum {
|
|
1901
1911
|
readonly isNoPermissions: boolean;
|
|
1902
1912
|
readonly isNoBitcoinConfirmedBlock: boolean;
|
|
@@ -1911,7 +1921,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1911
1921
|
readonly isInvalidBitcoinScript: boolean;
|
|
1912
1922
|
readonly type: 'NoPermissions' | 'NoBitcoinConfirmedBlock' | 'InsufficientBitcoinAmount' | 'NoBitcoinPricesAvailable' | 'ScriptPubkeyConflict' | 'UtxoNotLocked' | 'RedemptionsUnavailable' | 'InvalidBitcoinSyncHeight' | 'BitcoinHeightNotConfirmed' | 'MaxUtxosExceeded' | 'InvalidBitcoinScript';
|
|
1913
1923
|
}
|
|
1914
|
-
/** @name ArgonPrimitivesBondVault (
|
|
1924
|
+
/** @name ArgonPrimitivesBondVault (261) */
|
|
1915
1925
|
interface ArgonPrimitivesBondVault extends Struct {
|
|
1916
1926
|
readonly operatorAccountId: AccountId32;
|
|
1917
1927
|
readonly bitcoinArgons: ArgonPrimitivesBondVaultArgons;
|
|
@@ -1922,14 +1932,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
1922
1932
|
readonly isClosed: bool;
|
|
1923
1933
|
readonly pendingTerms: Option<ITuple<[u32, ArgonPrimitivesBondVaultTerms]>>;
|
|
1924
1934
|
}
|
|
1925
|
-
/** @name ArgonPrimitivesBondVaultArgons (
|
|
1935
|
+
/** @name ArgonPrimitivesBondVaultArgons (262) */
|
|
1926
1936
|
interface ArgonPrimitivesBondVaultArgons extends Struct {
|
|
1927
1937
|
readonly annualPercentRate: Compact<u128>;
|
|
1928
1938
|
readonly allocated: Compact<u128>;
|
|
1929
1939
|
readonly bonded: Compact<u128>;
|
|
1930
1940
|
readonly baseFee: Compact<u128>;
|
|
1931
1941
|
}
|
|
1932
|
-
/** @name ArgonPrimitivesBitcoinBitcoinXPub (
|
|
1942
|
+
/** @name ArgonPrimitivesBitcoinBitcoinXPub (266) */
|
|
1933
1943
|
interface ArgonPrimitivesBitcoinBitcoinXPub extends Struct {
|
|
1934
1944
|
readonly publicKey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey;
|
|
1935
1945
|
readonly depth: Compact<u8>;
|
|
@@ -1938,13 +1948,13 @@ declare module '@polkadot/types/lookup' {
|
|
|
1938
1948
|
readonly chainCode: U8aFixed;
|
|
1939
1949
|
readonly network: ArgonPrimitivesBitcoinNetworkKind;
|
|
1940
1950
|
}
|
|
1941
|
-
/** @name ArgonPrimitivesBitcoinNetworkKind (
|
|
1951
|
+
/** @name ArgonPrimitivesBitcoinNetworkKind (268) */
|
|
1942
1952
|
interface ArgonPrimitivesBitcoinNetworkKind extends Enum {
|
|
1943
1953
|
readonly isMain: boolean;
|
|
1944
1954
|
readonly isTest: boolean;
|
|
1945
1955
|
readonly type: 'Main' | 'Test';
|
|
1946
1956
|
}
|
|
1947
|
-
/** @name PalletVaultsError (
|
|
1957
|
+
/** @name PalletVaultsError (270) */
|
|
1948
1958
|
interface PalletVaultsError extends Enum {
|
|
1949
1959
|
readonly isBondNotFound: boolean;
|
|
1950
1960
|
readonly isNoMoreVaultIds: boolean;
|
|
@@ -1985,7 +1995,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1985
1995
|
readonly isUnableToDecodeVaultBitcoinPubkey: boolean;
|
|
1986
1996
|
readonly type: 'BondNotFound' | 'NoMoreVaultIds' | 'NoMoreBondIds' | 'MinimumBondAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'InsufficientBitcoinsForMining' | 'AccountBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'VaultReductionBelowAllocatedFunds' | 'InvalidSecuritization' | 'ReusedVaultBitcoinXpub' | 'MaxSecuritizationPercentExceeded' | 'InvalidBondType' | 'BitcoinUtxoNotFound' | 'InsufficientSatoshisBonded' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'InvalidXpubkey' | 'WrongXpubNetwork' | 'UnsafeXpubkey' | 'UnableToDeriveVaultXpubChild' | 'BitcoinConversionFailed' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'FeeExceedsBondAmount' | 'NoVaultBitcoinPubkeysAvailable' | 'TermsModificationOverflow' | 'TermsChangeAlreadyScheduled' | 'InternalError' | 'UnableToGenerateVaultBitcoinPubkey' | 'UnableToDecodeVaultBitcoinPubkey';
|
|
1987
1997
|
}
|
|
1988
|
-
/** @name ArgonPrimitivesBond (
|
|
1998
|
+
/** @name ArgonPrimitivesBond (271) */
|
|
1989
1999
|
interface ArgonPrimitivesBond extends Struct {
|
|
1990
2000
|
readonly bondType: ArgonPrimitivesBondBondType;
|
|
1991
2001
|
readonly vaultId: Compact<u32>;
|
|
@@ -1997,7 +2007,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
1997
2007
|
readonly startBlock: Compact<u32>;
|
|
1998
2008
|
readonly expiration: ArgonPrimitivesBondBondExpiration;
|
|
1999
2009
|
}
|
|
2000
|
-
/** @name PalletBondUtxoState (
|
|
2010
|
+
/** @name PalletBondUtxoState (274) */
|
|
2001
2011
|
interface PalletBondUtxoState extends Struct {
|
|
2002
2012
|
readonly bondId: Compact<u64>;
|
|
2003
2013
|
readonly satoshis: Compact<u64>;
|
|
@@ -2011,7 +2021,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2011
2021
|
readonly utxoScriptPubkey: ArgonPrimitivesBitcoinBitcoinCosignScriptPubkey;
|
|
2012
2022
|
readonly isVerified: bool;
|
|
2013
2023
|
}
|
|
2014
|
-
/** @name PalletBondUtxoCosignRequest (
|
|
2024
|
+
/** @name PalletBondUtxoCosignRequest (278) */
|
|
2015
2025
|
interface PalletBondUtxoCosignRequest extends Struct {
|
|
2016
2026
|
readonly bondId: Compact<u64>;
|
|
2017
2027
|
readonly vaultId: Compact<u32>;
|
|
@@ -2020,7 +2030,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2020
2030
|
readonly toScriptPubkey: Bytes;
|
|
2021
2031
|
readonly redemptionPrice: Compact<u128>;
|
|
2022
2032
|
}
|
|
2023
|
-
/** @name PalletBondError (
|
|
2033
|
+
/** @name PalletBondError (282) */
|
|
2024
2034
|
interface PalletBondError extends Enum {
|
|
2025
2035
|
readonly isBondNotFound: boolean;
|
|
2026
2036
|
readonly isNoMoreBondIds: boolean;
|
|
@@ -2054,7 +2064,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2054
2064
|
readonly asGenericBondError: ArgonPrimitivesBondBondError;
|
|
2055
2065
|
readonly type: 'BondNotFound' | 'NoMoreBondIds' | 'MinimumBondAmountNotMet' | 'ExpirationAtBlockOverflow' | 'InsufficientFunds' | 'InsufficientVaultFunds' | 'InsufficientBitcoinsForMining' | 'AccountWouldGoBelowMinimumBalance' | 'VaultClosed' | 'InvalidVaultAmount' | 'BondRedemptionNotLocked' | 'BitcoinUnlockInitiationDeadlinePassed' | 'BitcoinFeeTooHigh' | 'InvalidBondType' | 'BitcoinUtxoNotFound' | 'BitcoinUnableToBeDecodedForUnlock' | 'BitcoinSignatureUnableToBeDecoded' | 'BitcoinPubkeyUnableToBeDecoded' | 'BitcoinInvalidCosignature' | 'InsufficientSatoshisBonded' | 'NoBitcoinPricesAvailable' | 'InvalidBitcoinScript' | 'ExpirationTooSoon' | 'NoPermissions' | 'HoldUnexpectedlyModified' | 'UnrecoverableHold' | 'VaultNotFound' | 'FeeExceedsBondAmount' | 'GenericBondError';
|
|
2056
2066
|
}
|
|
2057
|
-
/** @name PalletNotariesError (
|
|
2067
|
+
/** @name PalletNotariesError (294) */
|
|
2058
2068
|
interface PalletNotariesError extends Enum {
|
|
2059
2069
|
readonly isProposalNotFound: boolean;
|
|
2060
2070
|
readonly isMaxNotariesExceeded: boolean;
|
|
@@ -2067,7 +2077,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2067
2077
|
readonly isInvalidNotary: boolean;
|
|
2068
2078
|
readonly type: 'ProposalNotFound' | 'MaxNotariesExceeded' | 'MaxProposalsPerBlockExceeded' | 'NotAnActiveNotary' | 'InvalidNotaryOperator' | 'NoMoreNotaryIds' | 'EffectiveTickTooSoon' | 'TooManyKeys' | 'InvalidNotary';
|
|
2069
2079
|
}
|
|
2070
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (
|
|
2080
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookKeyDetails (298) */
|
|
2071
2081
|
interface ArgonPrimitivesNotaryNotaryNotebookKeyDetails extends Struct {
|
|
2072
2082
|
readonly notebookNumber: Compact<u32>;
|
|
2073
2083
|
readonly tick: Compact<u32>;
|
|
@@ -2075,18 +2085,18 @@ declare module '@polkadot/types/lookup' {
|
|
|
2075
2085
|
readonly secretHash: H256;
|
|
2076
2086
|
readonly parentSecret: Option<H256>;
|
|
2077
2087
|
}
|
|
2078
|
-
/** @name ArgonPrimitivesDigestsNotebookDigest (
|
|
2088
|
+
/** @name ArgonPrimitivesDigestsNotebookDigest (300) */
|
|
2079
2089
|
interface ArgonPrimitivesDigestsNotebookDigest extends Struct {
|
|
2080
2090
|
readonly notebooks: Vec<ArgonPrimitivesDigestsNotebookDigestRecord>;
|
|
2081
2091
|
}
|
|
2082
|
-
/** @name ArgonPrimitivesDigestsNotebookDigestRecord (
|
|
2092
|
+
/** @name ArgonPrimitivesDigestsNotebookDigestRecord (302) */
|
|
2083
2093
|
interface ArgonPrimitivesDigestsNotebookDigestRecord extends Struct {
|
|
2084
2094
|
readonly notaryId: Compact<u32>;
|
|
2085
2095
|
readonly notebookNumber: Compact<u32>;
|
|
2086
2096
|
readonly tick: Compact<u32>;
|
|
2087
2097
|
readonly auditFirstFailure: Option<ArgonNotaryAuditErrorVerifyError>;
|
|
2088
2098
|
}
|
|
2089
|
-
/** @name PalletNotebookError (
|
|
2099
|
+
/** @name PalletNotebookError (305) */
|
|
2090
2100
|
interface PalletNotebookError extends Enum {
|
|
2091
2101
|
readonly isDuplicateNotebookNumber: boolean;
|
|
2092
2102
|
readonly isMissingNotebookNumber: boolean;
|
|
@@ -2099,19 +2109,22 @@ declare module '@polkadot/types/lookup' {
|
|
|
2099
2109
|
readonly isInvalidNotebookDigest: boolean;
|
|
2100
2110
|
readonly isMultipleNotebookInherentsProvided: boolean;
|
|
2101
2111
|
readonly isInternalError: boolean;
|
|
2102
|
-
readonly
|
|
2112
|
+
readonly isNotebookSubmittedForLockedNotary: boolean;
|
|
2113
|
+
readonly isInvalidReprocessNotebook: boolean;
|
|
2114
|
+
readonly isInvalidNotaryOperator: boolean;
|
|
2115
|
+
readonly type: 'DuplicateNotebookNumber' | 'MissingNotebookNumber' | 'NotebookTickAlreadyUsed' | 'InvalidNotebookSignature' | 'InvalidSecretProvided' | 'CouldNotDecodeNotebook' | 'DuplicateNotebookDigest' | 'MissingNotebookDigest' | 'InvalidNotebookDigest' | 'MultipleNotebookInherentsProvided' | 'InternalError' | 'NotebookSubmittedForLockedNotary' | 'InvalidReprocessNotebook' | 'InvalidNotaryOperator';
|
|
2103
2116
|
}
|
|
2104
|
-
/** @name PalletChainTransferQueuedTransferOut (
|
|
2117
|
+
/** @name PalletChainTransferQueuedTransferOut (306) */
|
|
2105
2118
|
interface PalletChainTransferQueuedTransferOut extends Struct {
|
|
2106
2119
|
readonly accountId: AccountId32;
|
|
2107
2120
|
readonly amount: u128;
|
|
2108
2121
|
readonly expirationTick: u32;
|
|
2109
2122
|
readonly notaryId: u32;
|
|
2110
2123
|
}
|
|
2111
|
-
/** @name FrameSupportPalletId (
|
|
2124
|
+
/** @name FrameSupportPalletId (311) */
|
|
2112
2125
|
interface FrameSupportPalletId extends U8aFixed {
|
|
2113
2126
|
}
|
|
2114
|
-
/** @name PalletChainTransferError (
|
|
2127
|
+
/** @name PalletChainTransferError (312) */
|
|
2115
2128
|
interface PalletChainTransferError extends Enum {
|
|
2116
2129
|
readonly isMaxBlockTransfersExceeded: boolean;
|
|
2117
2130
|
readonly isInsufficientFunds: boolean;
|
|
@@ -2119,10 +2132,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
2119
2132
|
readonly isInvalidOrDuplicatedLocalchainTransfer: boolean;
|
|
2120
2133
|
readonly isNotebookIncludesExpiredLocalchainTransfer: boolean;
|
|
2121
2134
|
readonly isInvalidNotaryUsedForTransfer: boolean;
|
|
2122
|
-
readonly
|
|
2123
|
-
readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer' | 'NotaryLocked';
|
|
2135
|
+
readonly type: 'MaxBlockTransfersExceeded' | 'InsufficientFunds' | 'InsufficientNotarizedFunds' | 'InvalidOrDuplicatedLocalchainTransfer' | 'NotebookIncludesExpiredLocalchainTransfer' | 'InvalidNotaryUsedForTransfer';
|
|
2124
2136
|
}
|
|
2125
|
-
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (
|
|
2137
|
+
/** @name ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails (317) */
|
|
2126
2138
|
interface ArgonPrimitivesNotaryNotaryNotebookVoteDigestDetails extends Struct {
|
|
2127
2139
|
readonly notaryId: Compact<u32>;
|
|
2128
2140
|
readonly notebookNumber: Compact<u32>;
|
|
@@ -2130,17 +2142,17 @@ declare module '@polkadot/types/lookup' {
|
|
|
2130
2142
|
readonly blockVotesCount: Compact<u32>;
|
|
2131
2143
|
readonly blockVotingPower: Compact<u128>;
|
|
2132
2144
|
}
|
|
2133
|
-
/** @name ArgonPrimitivesDigestsBlockVoteDigest (
|
|
2145
|
+
/** @name ArgonPrimitivesDigestsBlockVoteDigest (319) */
|
|
2134
2146
|
interface ArgonPrimitivesDigestsBlockVoteDigest extends Struct {
|
|
2135
2147
|
readonly votingPower: Compact<u128>;
|
|
2136
2148
|
readonly votesCount: Compact<u32>;
|
|
2137
2149
|
}
|
|
2138
|
-
/** @name PalletBlockSealSpecError (
|
|
2150
|
+
/** @name PalletBlockSealSpecError (323) */
|
|
2139
2151
|
interface PalletBlockSealSpecError extends Enum {
|
|
2140
2152
|
readonly isMaxNotebooksAtTickExceeded: boolean;
|
|
2141
2153
|
readonly type: 'MaxNotebooksAtTickExceeded';
|
|
2142
2154
|
}
|
|
2143
|
-
/** @name PalletDomainsError (
|
|
2155
|
+
/** @name PalletDomainsError (325) */
|
|
2144
2156
|
interface PalletDomainsError extends Enum {
|
|
2145
2157
|
readonly isDomainNotRegistered: boolean;
|
|
2146
2158
|
readonly isNotDomainOwner: boolean;
|
|
@@ -2149,7 +2161,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2149
2161
|
readonly isAccountDecodingError: boolean;
|
|
2150
2162
|
readonly type: 'DomainNotRegistered' | 'NotDomainOwner' | 'FailedToAddToAddressHistory' | 'FailedToAddExpiringDomain' | 'AccountDecodingError';
|
|
2151
2163
|
}
|
|
2152
|
-
/** @name PalletPriceIndexError (
|
|
2164
|
+
/** @name PalletPriceIndexError (326) */
|
|
2153
2165
|
interface PalletPriceIndexError extends Enum {
|
|
2154
2166
|
readonly isNotAuthorizedOperator: boolean;
|
|
2155
2167
|
readonly isMissingValue: boolean;
|
|
@@ -2157,16 +2169,24 @@ declare module '@polkadot/types/lookup' {
|
|
|
2157
2169
|
readonly isMaxPriceChangePerTickExceeded: boolean;
|
|
2158
2170
|
readonly type: 'NotAuthorizedOperator' | 'MissingValue' | 'PricesTooOld' | 'MaxPriceChangePerTickExceeded';
|
|
2159
2171
|
}
|
|
2160
|
-
/** @name ArgonPrimitivesProvidersBlockSealerInfo (
|
|
2172
|
+
/** @name ArgonPrimitivesProvidersBlockSealerInfo (327) */
|
|
2161
2173
|
interface ArgonPrimitivesProvidersBlockSealerInfo extends Struct {
|
|
2162
2174
|
readonly blockAuthorAccountId: AccountId32;
|
|
2163
2175
|
readonly blockVoteRewardsAccount: Option<AccountId32>;
|
|
2164
2176
|
}
|
|
2165
|
-
/** @name
|
|
2177
|
+
/** @name ArgonPrimitivesForkPower (328) */
|
|
2178
|
+
interface ArgonPrimitivesForkPower extends Struct {
|
|
2179
|
+
readonly notebooks: Compact<u64>;
|
|
2180
|
+
readonly votingPower: U256;
|
|
2181
|
+
readonly sealStrength: U256;
|
|
2182
|
+
readonly totalComputeDifficulty: U256;
|
|
2183
|
+
readonly voteCreatedBlocks: Compact<u128>;
|
|
2184
|
+
}
|
|
2185
|
+
/** @name ArgonPrimitivesDigestsParentVotingKeyDigest (330) */
|
|
2166
2186
|
interface ArgonPrimitivesDigestsParentVotingKeyDigest extends Struct {
|
|
2167
2187
|
readonly parentVotingKey: Option<H256>;
|
|
2168
2188
|
}
|
|
2169
|
-
/** @name PalletBlockSealError (
|
|
2189
|
+
/** @name PalletBlockSealError (331) */
|
|
2170
2190
|
interface PalletBlockSealError extends Enum {
|
|
2171
2191
|
readonly isInvalidVoteSealStrength: boolean;
|
|
2172
2192
|
readonly isInvalidSubmitter: boolean;
|
|
@@ -2187,9 +2207,9 @@ declare module '@polkadot/types/lookup' {
|
|
|
2187
2207
|
readonly isBlockVoteInvalidSignature: boolean;
|
|
2188
2208
|
readonly type: 'InvalidVoteSealStrength' | 'InvalidSubmitter' | 'UnableToDecodeVoteAccount' | 'UnregisteredBlockAuthor' | 'InvalidBlockVoteProof' | 'NoGrandparentVoteMinimum' | 'DuplicateBlockSealProvided' | 'InsufficientVotingPower' | 'ParentVotingKeyNotFound' | 'InvalidVoteGrandparentHash' | 'IneligibleNotebookUsed' | 'NoEligibleVotingRoot' | 'InvalidAuthoritySignature' | 'CouldNotDecodeVote' | 'MaxNotebooksAtTickExceeded' | 'NoClosestMinerFoundForVote' | 'BlockVoteInvalidSignature';
|
|
2189
2209
|
}
|
|
2190
|
-
/** @name PalletBlockRewardsError (
|
|
2210
|
+
/** @name PalletBlockRewardsError (333) */
|
|
2191
2211
|
type PalletBlockRewardsError = Null;
|
|
2192
|
-
/** @name PalletGrandpaStoredState (
|
|
2212
|
+
/** @name PalletGrandpaStoredState (334) */
|
|
2193
2213
|
interface PalletGrandpaStoredState extends Enum {
|
|
2194
2214
|
readonly isLive: boolean;
|
|
2195
2215
|
readonly isPendingPause: boolean;
|
|
@@ -2205,14 +2225,14 @@ declare module '@polkadot/types/lookup' {
|
|
|
2205
2225
|
} & Struct;
|
|
2206
2226
|
readonly type: 'Live' | 'PendingPause' | 'Paused' | 'PendingResume';
|
|
2207
2227
|
}
|
|
2208
|
-
/** @name PalletGrandpaStoredPendingChange (
|
|
2228
|
+
/** @name PalletGrandpaStoredPendingChange (335) */
|
|
2209
2229
|
interface PalletGrandpaStoredPendingChange extends Struct {
|
|
2210
2230
|
readonly scheduledAt: u32;
|
|
2211
2231
|
readonly delay: u32;
|
|
2212
2232
|
readonly nextAuthorities: Vec<ITuple<[SpConsensusGrandpaAppPublic, u64]>>;
|
|
2213
2233
|
readonly forced: Option<u32>;
|
|
2214
2234
|
}
|
|
2215
|
-
/** @name PalletGrandpaError (
|
|
2235
|
+
/** @name PalletGrandpaError (338) */
|
|
2216
2236
|
interface PalletGrandpaError extends Enum {
|
|
2217
2237
|
readonly isPauseFailed: boolean;
|
|
2218
2238
|
readonly isResumeFailed: boolean;
|
|
@@ -2223,35 +2243,35 @@ declare module '@polkadot/types/lookup' {
|
|
|
2223
2243
|
readonly isDuplicateOffenceReport: boolean;
|
|
2224
2244
|
readonly type: 'PauseFailed' | 'ResumeFailed' | 'ChangePending' | 'TooSoon' | 'InvalidKeyOwnershipProof' | 'InvalidEquivocationProof' | 'DuplicateOffenceReport';
|
|
2225
2245
|
}
|
|
2226
|
-
/** @name PalletMintError (
|
|
2246
|
+
/** @name PalletMintError (342) */
|
|
2227
2247
|
interface PalletMintError extends Enum {
|
|
2228
2248
|
readonly isTooManyPendingMints: boolean;
|
|
2229
2249
|
readonly type: 'TooManyPendingMints';
|
|
2230
2250
|
}
|
|
2231
|
-
/** @name PalletBalancesBalanceLock (
|
|
2251
|
+
/** @name PalletBalancesBalanceLock (344) */
|
|
2232
2252
|
interface PalletBalancesBalanceLock extends Struct {
|
|
2233
2253
|
readonly id: U8aFixed;
|
|
2234
2254
|
readonly amount: u128;
|
|
2235
2255
|
readonly reasons: PalletBalancesReasons;
|
|
2236
2256
|
}
|
|
2237
|
-
/** @name PalletBalancesReasons (
|
|
2257
|
+
/** @name PalletBalancesReasons (345) */
|
|
2238
2258
|
interface PalletBalancesReasons extends Enum {
|
|
2239
2259
|
readonly isFee: boolean;
|
|
2240
2260
|
readonly isMisc: boolean;
|
|
2241
2261
|
readonly isAll: boolean;
|
|
2242
2262
|
readonly type: 'Fee' | 'Misc' | 'All';
|
|
2243
2263
|
}
|
|
2244
|
-
/** @name PalletBalancesReserveData (
|
|
2264
|
+
/** @name PalletBalancesReserveData (348) */
|
|
2245
2265
|
interface PalletBalancesReserveData extends Struct {
|
|
2246
2266
|
readonly id: U8aFixed;
|
|
2247
2267
|
readonly amount: u128;
|
|
2248
2268
|
}
|
|
2249
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (
|
|
2269
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeHoldReason (351) */
|
|
2250
2270
|
interface FrameSupportTokensMiscIdAmountRuntimeHoldReason extends Struct {
|
|
2251
2271
|
readonly id: ArgonNodeRuntimeRuntimeHoldReason;
|
|
2252
2272
|
readonly amount: u128;
|
|
2253
2273
|
}
|
|
2254
|
-
/** @name ArgonNodeRuntimeRuntimeHoldReason (
|
|
2274
|
+
/** @name ArgonNodeRuntimeRuntimeHoldReason (352) */
|
|
2255
2275
|
interface ArgonNodeRuntimeRuntimeHoldReason extends Enum {
|
|
2256
2276
|
readonly isMiningSlot: boolean;
|
|
2257
2277
|
readonly asMiningSlot: PalletMiningSlotHoldReason;
|
|
@@ -2263,44 +2283,44 @@ declare module '@polkadot/types/lookup' {
|
|
|
2263
2283
|
readonly asBlockRewards: PalletBlockRewardsHoldReason;
|
|
2264
2284
|
readonly type: 'MiningSlot' | 'Vaults' | 'Bonds' | 'BlockRewards';
|
|
2265
2285
|
}
|
|
2266
|
-
/** @name PalletMiningSlotHoldReason (
|
|
2286
|
+
/** @name PalletMiningSlotHoldReason (353) */
|
|
2267
2287
|
interface PalletMiningSlotHoldReason extends Enum {
|
|
2268
2288
|
readonly isRegisterAsMiner: boolean;
|
|
2269
2289
|
readonly type: 'RegisterAsMiner';
|
|
2270
2290
|
}
|
|
2271
|
-
/** @name PalletVaultsHoldReason (
|
|
2291
|
+
/** @name PalletVaultsHoldReason (354) */
|
|
2272
2292
|
interface PalletVaultsHoldReason extends Enum {
|
|
2273
2293
|
readonly isEnterVault: boolean;
|
|
2274
2294
|
readonly isBondFee: boolean;
|
|
2275
2295
|
readonly type: 'EnterVault' | 'BondFee';
|
|
2276
2296
|
}
|
|
2277
|
-
/** @name PalletBondHoldReason (
|
|
2297
|
+
/** @name PalletBondHoldReason (355) */
|
|
2278
2298
|
interface PalletBondHoldReason extends Enum {
|
|
2279
2299
|
readonly isUnlockingBitcoin: boolean;
|
|
2280
2300
|
readonly type: 'UnlockingBitcoin';
|
|
2281
2301
|
}
|
|
2282
|
-
/** @name PalletBlockRewardsHoldReason (
|
|
2302
|
+
/** @name PalletBlockRewardsHoldReason (356) */
|
|
2283
2303
|
interface PalletBlockRewardsHoldReason extends Enum {
|
|
2284
2304
|
readonly isMaturationPeriod: boolean;
|
|
2285
2305
|
readonly type: 'MaturationPeriod';
|
|
2286
2306
|
}
|
|
2287
|
-
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (
|
|
2307
|
+
/** @name FrameSupportTokensMiscIdAmountRuntimeFreezeReason (359) */
|
|
2288
2308
|
interface FrameSupportTokensMiscIdAmountRuntimeFreezeReason extends Struct {
|
|
2289
2309
|
readonly id: ArgonNodeRuntimeRuntimeFreezeReason;
|
|
2290
2310
|
readonly amount: u128;
|
|
2291
2311
|
}
|
|
2292
|
-
/** @name ArgonNodeRuntimeRuntimeFreezeReason (
|
|
2312
|
+
/** @name ArgonNodeRuntimeRuntimeFreezeReason (360) */
|
|
2293
2313
|
interface ArgonNodeRuntimeRuntimeFreezeReason extends Enum {
|
|
2294
2314
|
readonly isBlockRewards: boolean;
|
|
2295
2315
|
readonly asBlockRewards: PalletBlockRewardsFreezeReason;
|
|
2296
2316
|
readonly type: 'BlockRewards';
|
|
2297
2317
|
}
|
|
2298
|
-
/** @name PalletBlockRewardsFreezeReason (
|
|
2318
|
+
/** @name PalletBlockRewardsFreezeReason (361) */
|
|
2299
2319
|
interface PalletBlockRewardsFreezeReason extends Enum {
|
|
2300
2320
|
readonly isMaturationPeriod: boolean;
|
|
2301
2321
|
readonly type: 'MaturationPeriod';
|
|
2302
2322
|
}
|
|
2303
|
-
/** @name PalletBalancesError (
|
|
2323
|
+
/** @name PalletBalancesError (363) */
|
|
2304
2324
|
interface PalletBalancesError extends Enum {
|
|
2305
2325
|
readonly isVestingBalance: boolean;
|
|
2306
2326
|
readonly isLiquidityRestrictions: boolean;
|
|
@@ -2316,7 +2336,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
2316
2336
|
readonly isDeltaZero: boolean;
|
|
2317
2337
|
readonly type: 'VestingBalance' | 'LiquidityRestrictions' | 'InsufficientBalance' | 'ExistentialDeposit' | 'Expendability' | 'ExistingVestingSchedule' | 'DeadAccount' | 'TooManyReserves' | 'TooManyHolds' | 'TooManyFreezes' | 'IssuanceDeactivated' | 'DeltaZero';
|
|
2318
2338
|
}
|
|
2319
|
-
/** @name PalletTxPauseError (
|
|
2339
|
+
/** @name PalletTxPauseError (365) */
|
|
2320
2340
|
interface PalletTxPauseError extends Enum {
|
|
2321
2341
|
readonly isIsPaused: boolean;
|
|
2322
2342
|
readonly isIsUnpaused: boolean;
|
|
@@ -2324,48 +2344,48 @@ declare module '@polkadot/types/lookup' {
|
|
|
2324
2344
|
readonly isNotFound: boolean;
|
|
2325
2345
|
readonly type: 'IsPaused' | 'IsUnpaused' | 'Unpausable' | 'NotFound';
|
|
2326
2346
|
}
|
|
2327
|
-
/** @name PalletTransactionPaymentReleases (
|
|
2347
|
+
/** @name PalletTransactionPaymentReleases (366) */
|
|
2328
2348
|
interface PalletTransactionPaymentReleases extends Enum {
|
|
2329
2349
|
readonly isV1Ancient: boolean;
|
|
2330
2350
|
readonly isV2: boolean;
|
|
2331
2351
|
readonly type: 'V1Ancient' | 'V2';
|
|
2332
2352
|
}
|
|
2333
|
-
/** @name PalletUtilityError (
|
|
2353
|
+
/** @name PalletUtilityError (367) */
|
|
2334
2354
|
interface PalletUtilityError extends Enum {
|
|
2335
2355
|
readonly isTooManyCalls: boolean;
|
|
2336
2356
|
readonly type: 'TooManyCalls';
|
|
2337
2357
|
}
|
|
2338
|
-
/** @name PalletSudoError (
|
|
2358
|
+
/** @name PalletSudoError (368) */
|
|
2339
2359
|
interface PalletSudoError extends Enum {
|
|
2340
2360
|
readonly isRequireSudo: boolean;
|
|
2341
2361
|
readonly type: 'RequireSudo';
|
|
2342
2362
|
}
|
|
2343
|
-
/** @name FrameSystemExtensionsCheckNonZeroSender (
|
|
2363
|
+
/** @name FrameSystemExtensionsCheckNonZeroSender (371) */
|
|
2344
2364
|
type FrameSystemExtensionsCheckNonZeroSender = Null;
|
|
2345
|
-
/** @name FrameSystemExtensionsCheckSpecVersion (
|
|
2365
|
+
/** @name FrameSystemExtensionsCheckSpecVersion (372) */
|
|
2346
2366
|
type FrameSystemExtensionsCheckSpecVersion = Null;
|
|
2347
|
-
/** @name FrameSystemExtensionsCheckTxVersion (
|
|
2367
|
+
/** @name FrameSystemExtensionsCheckTxVersion (373) */
|
|
2348
2368
|
type FrameSystemExtensionsCheckTxVersion = Null;
|
|
2349
|
-
/** @name FrameSystemExtensionsCheckGenesis (
|
|
2369
|
+
/** @name FrameSystemExtensionsCheckGenesis (374) */
|
|
2350
2370
|
type FrameSystemExtensionsCheckGenesis = Null;
|
|
2351
|
-
/** @name FrameSystemExtensionsCheckNonce (
|
|
2371
|
+
/** @name FrameSystemExtensionsCheckNonce (377) */
|
|
2352
2372
|
interface FrameSystemExtensionsCheckNonce extends Compact<u32> {
|
|
2353
2373
|
}
|
|
2354
|
-
/** @name FrameSystemExtensionsCheckWeight (
|
|
2374
|
+
/** @name FrameSystemExtensionsCheckWeight (378) */
|
|
2355
2375
|
type FrameSystemExtensionsCheckWeight = Null;
|
|
2356
|
-
/** @name PalletTransactionPaymentChargeTransactionPayment (
|
|
2376
|
+
/** @name PalletTransactionPaymentChargeTransactionPayment (379) */
|
|
2357
2377
|
interface PalletTransactionPaymentChargeTransactionPayment extends Compact<u128> {
|
|
2358
2378
|
}
|
|
2359
|
-
/** @name FrameMetadataHashExtensionCheckMetadataHash (
|
|
2379
|
+
/** @name FrameMetadataHashExtensionCheckMetadataHash (380) */
|
|
2360
2380
|
interface FrameMetadataHashExtensionCheckMetadataHash extends Struct {
|
|
2361
2381
|
readonly mode: FrameMetadataHashExtensionMode;
|
|
2362
2382
|
}
|
|
2363
|
-
/** @name FrameMetadataHashExtensionMode (
|
|
2383
|
+
/** @name FrameMetadataHashExtensionMode (381) */
|
|
2364
2384
|
interface FrameMetadataHashExtensionMode extends Enum {
|
|
2365
2385
|
readonly isDisabled: boolean;
|
|
2366
2386
|
readonly isEnabled: boolean;
|
|
2367
2387
|
readonly type: 'Disabled' | 'Enabled';
|
|
2368
2388
|
}
|
|
2369
|
-
/** @name ArgonNodeRuntimeRuntime (
|
|
2389
|
+
/** @name ArgonNodeRuntimeRuntime (383) */
|
|
2370
2390
|
type ArgonNodeRuntimeRuntime = Null;
|
|
2371
2391
|
}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./interfaces/augment-api.js";
|
|
2
2
|
import "./interfaces/augment-types.js";
|
|
3
3
|
import "./interfaces/types-lookup.js";
|
|
4
|
-
import { KeyringPair } from "@polkadot/keyring/types";
|
|
4
|
+
import { KeyringPair, KeyringPair$Json } from "@polkadot/keyring/types";
|
|
5
5
|
import { ApiPromise, Keyring } from '@polkadot/api';
|
|
6
6
|
import { mnemonicGenerate, decodeAddress } from '@polkadot/util-crypto';
|
|
7
7
|
import { EventRecord } from "@polkadot/types/interfaces/system";
|
|
8
8
|
import { InterfaceTypes } from '@polkadot/types/types/registry';
|
|
9
9
|
import { KeypairType } from "@polkadot/util-crypto/types";
|
|
10
|
-
export { Keyring, KeyringPair, KeypairType, mnemonicGenerate, decodeAddress };
|
|
10
|
+
export { Keyring, KeyringPair, KeyringPair$Json, KeypairType, mnemonicGenerate, decodeAddress };
|
|
11
11
|
export * from "@polkadot/types";
|
|
12
12
|
export * from '@polkadot/types/lookup';
|
|
13
13
|
export { InterfaceTypes as interfaces };
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AACrC,OAAO,+BAA+B,CAAC;AACvC,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EAAC,UAAU,EAAE,OAAO,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAItE,OAAO,EAAC,eAAe,EAAC,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,6BAA6B,CAAC;AACrC,OAAO,+BAA+B,CAAC;AACvC,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EAAC,UAAU,EAAE,OAAO,EAAE,UAAU,EAAC,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,MAAM,uBAAuB,CAAC;AAItE,OAAO,EAAC,eAAe,EAAC,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAC,OAAO,EAA8C,gBAAgB,EAAE,aAAa,EAAC,CAAC;AAE9F,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AAKvC,MAAM,CAAC,KAAK,UAAU,WAAW;IAC7B,MAAM,eAAe,EAAE,CAAC;AAC5B,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,SAAS,CAAC,IAAY;IACxC,MAAM,QAAQ,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;IACtC,OAAO,MAAM,UAAU,CAAC,MAAM,CAAC,EAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAC,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,MAAqB,EAAE,MAAmB;IAC/E,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACnC,KAAK,MAAM,EAAC,KAAK,EAAC,IAAI,MAAM,EAAE,CAAC;YAC3B,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;gBAClD,OAAO,EAAE,CAAC;YACd,CAAC;iBAAM,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;gBACxD,kCAAkC;gBAClC,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC;gBACnC,IAAI,SAAS,GAAG,aAAa,CAAC,QAAQ,EAAE,CAAC;gBAEzC,IAAI,aAAa,CAAC,QAAQ,EAAE,CAAC;oBACzB,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;oBACtE,SAAS,GAAG,GAAG,OAAO,CAAC,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;gBACrD,CAAC;gBAED,MAAM,CAAC,IAAI,KAAK,CAAC,GAAG,KAAK,CAAC,OAAO,IAAI,KAAK,CAAC,MAAM,wBAAwB,SAAS,EAAE,CAAC,CAAC,CAAC;YAC3F,CAAC;QACL,CAAC;IACL,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -264,10 +264,6 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
264
264
|
**/
|
|
265
265
|
InvalidOrDuplicatedLocalchainTransfer: AugmentedError<ApiType>;
|
|
266
266
|
MaxBlockTransfersExceeded: AugmentedError<ApiType>;
|
|
267
|
-
/**
|
|
268
|
-
* The notary is locked (likey due to failed audits)
|
|
269
|
-
**/
|
|
270
|
-
NotaryLocked: AugmentedError<ApiType>;
|
|
271
267
|
/**
|
|
272
268
|
* A transfer was submitted in a previous block but the expiration block has passed
|
|
273
269
|
**/
|
|
@@ -475,6 +471,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
475
471
|
* Unable to track the notebook change list
|
|
476
472
|
**/
|
|
477
473
|
InternalError: AugmentedError<ApiType>;
|
|
474
|
+
/**
|
|
475
|
+
* Invalid notary operator
|
|
476
|
+
**/
|
|
477
|
+
InvalidNotaryOperator: AugmentedError<ApiType>;
|
|
478
478
|
/**
|
|
479
479
|
* The notebook digest did not match the included notebooks
|
|
480
480
|
**/
|
|
@@ -483,6 +483,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
483
483
|
* The signature of the notebook is invalid
|
|
484
484
|
**/
|
|
485
485
|
InvalidNotebookSignature: AugmentedError<ApiType>;
|
|
486
|
+
/**
|
|
487
|
+
* Invalid reprocess notebook
|
|
488
|
+
**/
|
|
489
|
+
InvalidReprocessNotebook: AugmentedError<ApiType>;
|
|
486
490
|
/**
|
|
487
491
|
* The secret or secret hash of the parent notebook do not match
|
|
488
492
|
**/
|
|
@@ -499,6 +503,10 @@ declare module '@polkadot/api-base/types/errors' {
|
|
|
499
503
|
* Multiple inherents provided
|
|
500
504
|
**/
|
|
501
505
|
MultipleNotebookInherentsProvided: AugmentedError<ApiType>;
|
|
506
|
+
/**
|
|
507
|
+
* A notebook was submitted for a notary that failed audit, which is not allowed
|
|
508
|
+
**/
|
|
509
|
+
NotebookSubmittedForLockedNotary: AugmentedError<ApiType>;
|
|
502
510
|
/**
|
|
503
511
|
* A notebook was already provided at this tick
|
|
504
512
|
**/
|
|
@@ -531,11 +531,16 @@ declare module '@polkadot/api-base/types/events' {
|
|
|
531
531
|
}>;
|
|
532
532
|
};
|
|
533
533
|
notebook: {
|
|
534
|
-
NotebookAuditFailure: AugmentedEvent<ApiType, [notaryId: u32, notebookNumber: u32, firstFailureReason: ArgonNotaryAuditErrorVerifyError], {
|
|
534
|
+
NotebookAuditFailure: AugmentedEvent<ApiType, [notaryId: u32, notebookNumber: u32, notebookHash: H256, firstFailureReason: ArgonNotaryAuditErrorVerifyError], {
|
|
535
535
|
notaryId: u32;
|
|
536
536
|
notebookNumber: u32;
|
|
537
|
+
notebookHash: H256;
|
|
537
538
|
firstFailureReason: ArgonNotaryAuditErrorVerifyError;
|
|
538
539
|
}>;
|
|
540
|
+
NotebookReadyForReprocess: AugmentedEvent<ApiType, [notaryId: u32, notebookNumber: u32], {
|
|
541
|
+
notaryId: u32;
|
|
542
|
+
notebookNumber: u32;
|
|
543
|
+
}>;
|
|
539
544
|
NotebookSubmitted: AugmentedEvent<ApiType, [notaryId: u32, notebookNumber: u32], {
|
|
540
545
|
notaryId: u32;
|
|
541
546
|
notebookNumber: u32;
|