@argonprotocol/mainchain 1.5.2-dev.f931ed2c → 1.6.0-dev.0331b728
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 +8 -0
- package/browser/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +185 -51
- package/browser/artifacts/contracts/ArgonToken.sol/ArgonToken.json +2 -2
- package/browser/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +2 -2
- package/browser/artifacts/contracts/MintingGateway.sol/MintingGateway.json +105 -23
- package/browser/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
- package/browser/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
- package/browser/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +89 -35
- package/browser/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +2 -2
- package/browser/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +3 -3
- package/browser/index.d.ts +5393 -5415
- package/browser/index.js +635 -189
- package/browser/index.js.map +1 -1
- package/lib/artifacts/contracts/ArgonBuyAndTransfer.sol/ArgonBuyAndTransfer.json +185 -51
- package/lib/artifacts/contracts/ArgonToken.sol/ArgonToken.json +2 -2
- package/lib/artifacts/contracts/ArgonotToken.sol/ArgonotToken.json +2 -2
- package/lib/artifacts/contracts/MintingGateway.sol/MintingGateway.json +105 -23
- package/lib/artifacts/contracts/ProxyArtifacts.sol/ProxyAdmin.json +1 -1
- package/lib/artifacts/contracts/ProxyArtifacts.sol/TransparentUpgradeableProxy.json +1 -1
- package/lib/artifacts/contracts/StabilizationPoolHook.sol/StabilizationPoolHook.json +89 -35
- package/lib/artifacts/contracts/StabilizationPoolSubscriber.sol/StabilizationPoolSubscriber.json +2 -2
- package/lib/artifacts/contracts/UniswapV4PriceQuoter.sol/UniswapV4PriceQuoter.json +3 -3
- package/lib/index.cjs +648 -200
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +5393 -5415
- package/lib/index.d.ts +5393 -5415
- package/lib/index.js +642 -194
- package/lib/index.js.map +1 -1
- package/package.json +13 -10
- package/src/interfaces/augment-api-consts.ts +67 -42
- package/src/interfaces/augment-api-errors.ts +152 -12
- package/src/interfaces/augment-api-events.ts +269 -1789
- package/src/interfaces/augment-api-query.ts +311 -1285
- package/src/interfaces/augment-api-rpc.ts +88 -612
- package/src/interfaces/augment-api-runtime.ts +255 -221
- package/src/interfaces/augment-api-tx.ts +336 -1729
- package/src/interfaces/augment-types.ts +46 -1350
- package/src/interfaces/lookup.ts +3626 -3500
- package/src/interfaces/registry.ts +55 -362
- package/src/interfaces/types-lookup.ts +3895 -4168
|
@@ -4,361 +4,148 @@
|
|
|
4
4
|
// this is required to allow for ambient/previous definitions
|
|
5
5
|
import type {} from '@polkadot/api-base/types/submittable';
|
|
6
6
|
|
|
7
|
-
import type {
|
|
8
|
-
|
|
9
|
-
AugmentedSubmittable,
|
|
10
|
-
SubmittableExtrinsic,
|
|
11
|
-
SubmittableExtrinsicFunction,
|
|
12
|
-
} from '@polkadot/api-base/types';
|
|
13
|
-
import type {
|
|
14
|
-
Bytes,
|
|
15
|
-
Compact,
|
|
16
|
-
Option,
|
|
17
|
-
U256,
|
|
18
|
-
U8aFixed,
|
|
19
|
-
Vec,
|
|
20
|
-
bool,
|
|
21
|
-
u128,
|
|
22
|
-
u16,
|
|
23
|
-
u32,
|
|
24
|
-
u64,
|
|
25
|
-
} from '@polkadot/types-codec';
|
|
7
|
+
import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, SubmittableExtrinsicFunction } from '@polkadot/api-base/types';
|
|
8
|
+
import type { Bytes, Compact, Option, U256, U8aFixed, Vec, bool, u128, u16, u32, u64 } from '@polkadot/types-codec';
|
|
26
9
|
import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types';
|
|
27
|
-
import type {
|
|
28
|
-
|
|
29
|
-
Call,
|
|
30
|
-
H160,
|
|
31
|
-
H256,
|
|
32
|
-
MultiAddress,
|
|
33
|
-
Percent,
|
|
34
|
-
Permill,
|
|
35
|
-
} from '@polkadot/types/interfaces/runtime';
|
|
36
|
-
import type {
|
|
37
|
-
ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
|
|
38
|
-
ArgonPrimitivesBitcoinH256Le,
|
|
39
|
-
ArgonPrimitivesBitcoinOpaqueBitcoinXpub,
|
|
40
|
-
ArgonPrimitivesBitcoinUtxoRef,
|
|
41
|
-
ArgonPrimitivesDomainZoneRecord,
|
|
42
|
-
ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
|
|
43
|
-
ArgonPrimitivesInherentsBitcoinUtxoSyncV2,
|
|
44
|
-
ArgonPrimitivesInherentsBlockSealInherent,
|
|
45
|
-
ArgonPrimitivesNotaryNotaryMeta,
|
|
46
|
-
ArgonPrimitivesNotebookSignedNotebookHeader,
|
|
47
|
-
ArgonPrimitivesPriceIndex,
|
|
48
|
-
ArgonPrimitivesVaultTreasuryBonusApprovalProof,
|
|
49
|
-
ArgonPrimitivesVaultVaultTerms,
|
|
50
|
-
ArgonRuntimeOriginCaller,
|
|
51
|
-
ArgonRuntimeProxyType,
|
|
52
|
-
ArgonRuntimeSessionKeys,
|
|
53
|
-
PalletBalancesAdjustmentDirection,
|
|
54
|
-
PalletBitcoinLocksFeeCoupon,
|
|
55
|
-
PalletBitcoinLocksLockOptions,
|
|
56
|
-
PalletBootstrapEndpointPubkey,
|
|
57
|
-
PalletBootstrapRecoveryProof,
|
|
58
|
-
PalletBootstrapRecoveryPubkey,
|
|
59
|
-
PalletCrosschainTransferAssetKind,
|
|
60
|
-
PalletCrosschainTransferChainConfig,
|
|
61
|
-
PalletCrosschainTransferGatewayActivityStorageProof,
|
|
62
|
-
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
63
|
-
PalletCrosschainTransferSourceChain,
|
|
64
|
-
PalletEthereumVerifierBasicOperatingMode,
|
|
65
|
-
PalletEthereumVerifierCheckpointUpdate,
|
|
66
|
-
PalletEthereumVerifierExecutionHeaderProof,
|
|
67
|
-
PalletEthereumVerifierFork,
|
|
68
|
-
PalletEthereumVerifierForkVersions,
|
|
69
|
-
PalletEthereumVerifierUpdate,
|
|
70
|
-
PalletMultisigTimepoint,
|
|
71
|
-
PalletOperationalAccountsOperationalProgressPatch,
|
|
72
|
-
PalletOperationalAccountsRegistration,
|
|
73
|
-
PalletPriceIndexEthereumPriceIndex,
|
|
74
|
-
PalletStabilizerBuysUniswapPurchasePurchasePool,
|
|
75
|
-
PalletStabilizerPoolsPoolConfig,
|
|
76
|
-
PalletStabilizerPoolsPositionProof,
|
|
77
|
-
PalletTreasuryBondLotEarningsMetrics,
|
|
78
|
-
PalletVaultsVaultConfig,
|
|
79
|
-
SnowbridgeBeaconPrimitivesBeaconHeader,
|
|
80
|
-
SpConsensusGrandpaEquivocationProof,
|
|
81
|
-
SpCoreVoid,
|
|
82
|
-
SpWeightsWeightV2Weight,
|
|
83
|
-
} from '@polkadot/types/lookup';
|
|
10
|
+
import type { AccountId32, Call, H160, H256, MultiAddress, Percent, Permill } from '@polkadot/types/interfaces/runtime';
|
|
11
|
+
import type { ArgonPrimitivesBitcoinCompressedBitcoinPubkey, ArgonPrimitivesBitcoinH256Le, ArgonPrimitivesBitcoinOpaqueBitcoinXpub, ArgonPrimitivesBitcoinUtxoRef, ArgonPrimitivesDomainZoneRecord, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch, ArgonPrimitivesGatewaySourceChain, ArgonPrimitivesInherentsBitcoinUtxoSyncV2, ArgonPrimitivesInherentsBlockSealInherent, ArgonPrimitivesNotaryNotaryMeta, ArgonPrimitivesNotebookSignedNotebookHeader, ArgonPrimitivesPriceIndex, ArgonPrimitivesVaultTreasuryBonusApprovalProof, ArgonPrimitivesVaultVaultTerms, ArgonRuntimeOriginCaller, ArgonRuntimeProxyType, ArgonRuntimeSessionKeys, PalletAccountSecurityApproval, PalletAccountSecurityAuthorization, PalletBalancesAdjustmentDirection, PalletBitcoinLocksFeeCoupon, PalletBitcoinLocksLockOptions, PalletBootstrapEndpointPubkey, PalletBootstrapRecoveryProof, PalletBootstrapRecoveryPubkey, PalletCrosschainTransferAssetKind, PalletCrosschainTransferChainConfig, PalletCrosschainTransferGatewayActivityStorageProof, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing, PalletEthereumVerifierBasicOperatingMode, PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierExecutionHeaderProof, PalletEthereumVerifierFork, PalletEthereumVerifierForkVersions, PalletEthereumVerifierUpdate, PalletMultisigTimepoint, PalletOperationalAccountsOperationalProgressPatch, PalletOperationalAccountsRegistration, PalletPriceIndexEthereumPriceIndex, PalletStabilizerBuysUniswapPurchasePurchasePool, PalletStabilizerPoolsPoolConfig, PalletStabilizerPoolsPositionProof, PalletTreasuryBondLotEarningsMetrics, PalletVaultsVaultConfig, SnowbridgeBeaconPrimitivesBeaconHeader, SpConsensusGrandpaEquivocationProof, SpCoreVoid, SpWeightsWeightV2Weight } from '@polkadot/types/lookup';
|
|
84
12
|
|
|
85
13
|
export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>;
|
|
86
14
|
export type __SubmittableExtrinsic<ApiType extends ApiTypes> = SubmittableExtrinsic<ApiType>;
|
|
87
|
-
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> =
|
|
88
|
-
SubmittableExtrinsicFunction<ApiType>;
|
|
15
|
+
export type __SubmittableExtrinsicFunction<ApiType extends ApiTypes> = SubmittableExtrinsicFunction<ApiType>;
|
|
89
16
|
|
|
90
17
|
declare module '@polkadot/api-base/types/submittable' {
|
|
91
18
|
interface AugmentedSubmittables<ApiType extends ApiTypes> {
|
|
19
|
+
accountSecurity: {
|
|
20
|
+
/**
|
|
21
|
+
* Main plus either current authority can veto or withdraw the exact pending update.
|
|
22
|
+
**/
|
|
23
|
+
cancelPolicyUpdate: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, updateNonce: u64 | AnyNumber | Uint8Array, authorization: PalletAccountSecurityAuthorization | { group?: any; nonce?: any; expiresAt?: any; policyHash?: any } | string | Uint8Array, approvals: Vec<PalletAccountSecurityApproval> | (PalletAccountSecurityApproval | { signer?: any; signature?: any; withMetadataHash?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, u64, PalletAccountSecurityAuthorization, Vec<PalletAccountSecurityApproval>]>;
|
|
24
|
+
/**
|
|
25
|
+
* Complete an accepted policy replacement after its tick window. Anyone may pay the
|
|
26
|
+
* submission fee; all authority and new-key acceptance was captured at scheduling.
|
|
27
|
+
**/
|
|
28
|
+
completePolicyUpdate: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, updateNonce: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, u64]>;
|
|
29
|
+
/**
|
|
30
|
+
* Submit one full call/batch and its collected off-chain approvals. The main account
|
|
31
|
+
* signs the outer transaction or supplies its own proof when a relayer submits.
|
|
32
|
+
* Every execution consumes the group's approval nonce and therefore requires quorum,
|
|
33
|
+
* even when the child could also be submitted directly without approval.
|
|
34
|
+
**/
|
|
35
|
+
execute: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, call: Call | IMethod | string | Uint8Array, authorization: PalletAccountSecurityAuthorization | { group?: any; nonce?: any; expiresAt?: any; policyHash?: any } | string | Uint8Array, approvals: Vec<PalletAccountSecurityApproval> | (PalletAccountSecurityApproval | { signer?: any; signature?: any; withMetadataHash?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Call, PalletAccountSecurityAuthorization, Vec<PalletAccountSecurityApproval>]>;
|
|
36
|
+
/**
|
|
37
|
+
* Enroll the approval policy and backup atomically; every initial authority must accept.
|
|
38
|
+
* Policy fields stay flat so hardware wallets can label the choices being approved.
|
|
39
|
+
**/
|
|
40
|
+
register: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], quorum: u16 | AnyNumber | Uint8Array, recoveryAccount: AccountId32 | string | Uint8Array, recoveryDelay: u64 | AnyNumber | Uint8Array, authorization: PalletAccountSecurityAuthorization | { group?: any; nonce?: any; expiresAt?: any; policyHash?: any } | string | Uint8Array, approvals: Vec<PalletAccountSecurityApproval> | (PalletAccountSecurityApproval | { signer?: any; signature?: any; withMetadataHash?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Vec<AccountId32>, u16, AccountId32, u64, PalletAccountSecurityAuthorization, Vec<PalletAccountSecurityApproval>]>;
|
|
41
|
+
/**
|
|
42
|
+
* Normal signer changes use the current quorum immediately. Recovery uses the backup
|
|
43
|
+
* after the current tick delay; replacing the backup or delay uses the current quorum
|
|
44
|
+
* after that same delay. Main consent and new authorities' acceptance are always required.
|
|
45
|
+
**/
|
|
46
|
+
updatePolicy: AugmentedSubmittable<(account: AccountId32 | string | Uint8Array, signers: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], quorum: u16 | AnyNumber | Uint8Array, recoveryAccount: AccountId32 | string | Uint8Array, recoveryDelay: u64 | AnyNumber | Uint8Array, authorization: PalletAccountSecurityAuthorization | { group?: any; nonce?: any; expiresAt?: any; policyHash?: any } | string | Uint8Array, approvals: Vec<PalletAccountSecurityApproval> | (PalletAccountSecurityApproval | { signer?: any; signature?: any; withMetadataHash?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [AccountId32, Vec<AccountId32>, u16, AccountId32, u64, PalletAccountSecurityAuthorization, Vec<PalletAccountSecurityApproval>]>;
|
|
47
|
+
};
|
|
92
48
|
balances: {
|
|
93
49
|
/**
|
|
94
50
|
* Burn the specified liquid free balance from the origin account.
|
|
95
|
-
*
|
|
51
|
+
*
|
|
96
52
|
* If the origin's account ends up below the existential deposit as a result
|
|
97
53
|
* of the burn and `keep_alive` is false, the account will be reaped.
|
|
98
|
-
*
|
|
54
|
+
*
|
|
99
55
|
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
100
56
|
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
101
57
|
**/
|
|
102
|
-
burn: AugmentedSubmittable<
|
|
103
|
-
(
|
|
104
|
-
value: Compact<u128> | AnyNumber | Uint8Array,
|
|
105
|
-
keepAlive: bool | boolean | Uint8Array,
|
|
106
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
107
|
-
[Compact<u128>, bool]
|
|
108
|
-
>;
|
|
58
|
+
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
|
|
109
59
|
/**
|
|
110
60
|
* Adjust the total issuance in a saturating way.
|
|
111
|
-
*
|
|
61
|
+
*
|
|
112
62
|
* Can only be called by root and always needs a positive `delta`.
|
|
113
|
-
*
|
|
63
|
+
*
|
|
114
64
|
* # Example
|
|
115
65
|
**/
|
|
116
|
-
forceAdjustTotalIssuance: AugmentedSubmittable<
|
|
117
|
-
(
|
|
118
|
-
direction:
|
|
119
|
-
| PalletBalancesAdjustmentDirection
|
|
120
|
-
| 'Increase'
|
|
121
|
-
| 'Decrease'
|
|
122
|
-
| number
|
|
123
|
-
| Uint8Array,
|
|
124
|
-
delta: Compact<u128> | AnyNumber | Uint8Array,
|
|
125
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
126
|
-
[PalletBalancesAdjustmentDirection, Compact<u128>]
|
|
127
|
-
>;
|
|
66
|
+
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
|
|
128
67
|
/**
|
|
129
68
|
* Set the regular balance of a given account.
|
|
130
|
-
*
|
|
69
|
+
*
|
|
131
70
|
* The dispatch origin for this call is `root`.
|
|
132
71
|
**/
|
|
133
|
-
forceSetBalance: AugmentedSubmittable<
|
|
134
|
-
(
|
|
135
|
-
who:
|
|
136
|
-
| MultiAddress
|
|
137
|
-
| { Id: any }
|
|
138
|
-
| { Index: any }
|
|
139
|
-
| { Raw: any }
|
|
140
|
-
| { Address32: any }
|
|
141
|
-
| { Address20: any }
|
|
142
|
-
| string
|
|
143
|
-
| Uint8Array,
|
|
144
|
-
newFree: Compact<u128> | AnyNumber | Uint8Array,
|
|
145
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
146
|
-
[MultiAddress, Compact<u128>]
|
|
147
|
-
>;
|
|
72
|
+
forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
148
73
|
/**
|
|
149
74
|
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
|
150
75
|
* may be specified.
|
|
151
76
|
**/
|
|
152
|
-
forceTransfer: AugmentedSubmittable<
|
|
153
|
-
(
|
|
154
|
-
source:
|
|
155
|
-
| MultiAddress
|
|
156
|
-
| { Id: any }
|
|
157
|
-
| { Index: any }
|
|
158
|
-
| { Raw: any }
|
|
159
|
-
| { Address32: any }
|
|
160
|
-
| { Address20: any }
|
|
161
|
-
| string
|
|
162
|
-
| Uint8Array,
|
|
163
|
-
dest:
|
|
164
|
-
| MultiAddress
|
|
165
|
-
| { Id: any }
|
|
166
|
-
| { Index: any }
|
|
167
|
-
| { Raw: any }
|
|
168
|
-
| { Address32: any }
|
|
169
|
-
| { Address20: any }
|
|
170
|
-
| string
|
|
171
|
-
| Uint8Array,
|
|
172
|
-
value: Compact<u128> | AnyNumber | Uint8Array,
|
|
173
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
174
|
-
[MultiAddress, MultiAddress, Compact<u128>]
|
|
175
|
-
>;
|
|
77
|
+
forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
|
176
78
|
/**
|
|
177
79
|
* Unreserve some balance from a user by force.
|
|
178
|
-
*
|
|
80
|
+
*
|
|
179
81
|
* Can only be called by ROOT.
|
|
180
82
|
**/
|
|
181
|
-
forceUnreserve: AugmentedSubmittable<
|
|
182
|
-
(
|
|
183
|
-
who:
|
|
184
|
-
| MultiAddress
|
|
185
|
-
| { Id: any }
|
|
186
|
-
| { Index: any }
|
|
187
|
-
| { Raw: any }
|
|
188
|
-
| { Address32: any }
|
|
189
|
-
| { Address20: any }
|
|
190
|
-
| string
|
|
191
|
-
| Uint8Array,
|
|
192
|
-
amount: u128 | AnyNumber | Uint8Array,
|
|
193
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
194
|
-
[MultiAddress, u128]
|
|
195
|
-
>;
|
|
83
|
+
forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
|
196
84
|
/**
|
|
197
85
|
* Transfer the entire transferable balance from the caller account.
|
|
198
|
-
*
|
|
86
|
+
*
|
|
199
87
|
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
200
88
|
* any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
|
|
201
89
|
* transferred by this function. To ensure that this function results in a killed account,
|
|
202
90
|
* you might need to prepare the account by removing any reference counters, storage
|
|
203
91
|
* deposits, etc...
|
|
204
|
-
*
|
|
92
|
+
*
|
|
205
93
|
* The dispatch origin of this call must be Signed.
|
|
206
|
-
*
|
|
94
|
+
*
|
|
207
95
|
* - `dest`: The recipient of the transfer.
|
|
208
96
|
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
209
97
|
* of the funds the account has, causing the sender account to be killed (false), or
|
|
210
98
|
* transfer everything except at least the existential deposit, which will guarantee to
|
|
211
99
|
* keep the sender account alive (true).
|
|
212
100
|
**/
|
|
213
|
-
transferAll: AugmentedSubmittable<
|
|
214
|
-
(
|
|
215
|
-
dest:
|
|
216
|
-
| MultiAddress
|
|
217
|
-
| { Id: any }
|
|
218
|
-
| { Index: any }
|
|
219
|
-
| { Raw: any }
|
|
220
|
-
| { Address32: any }
|
|
221
|
-
| { Address20: any }
|
|
222
|
-
| string
|
|
223
|
-
| Uint8Array,
|
|
224
|
-
keepAlive: bool | boolean | Uint8Array,
|
|
225
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
226
|
-
[MultiAddress, bool]
|
|
227
|
-
>;
|
|
101
|
+
transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
228
102
|
/**
|
|
229
103
|
* Transfer some liquid free balance to another account.
|
|
230
|
-
*
|
|
104
|
+
*
|
|
231
105
|
* `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
|
|
232
106
|
* If the sender's account is below the existential deposit as a result
|
|
233
107
|
* of the transfer, the account will be reaped.
|
|
234
|
-
*
|
|
108
|
+
*
|
|
235
109
|
* The dispatch origin for this call must be `Signed` by the transactor.
|
|
236
110
|
**/
|
|
237
|
-
transferAllowDeath: AugmentedSubmittable<
|
|
238
|
-
(
|
|
239
|
-
dest:
|
|
240
|
-
| MultiAddress
|
|
241
|
-
| { Id: any }
|
|
242
|
-
| { Index: any }
|
|
243
|
-
| { Raw: any }
|
|
244
|
-
| { Address32: any }
|
|
245
|
-
| { Address20: any }
|
|
246
|
-
| string
|
|
247
|
-
| Uint8Array,
|
|
248
|
-
value: Compact<u128> | AnyNumber | Uint8Array,
|
|
249
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
250
|
-
[MultiAddress, Compact<u128>]
|
|
251
|
-
>;
|
|
111
|
+
transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
252
112
|
/**
|
|
253
113
|
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
|
254
114
|
* kill the origin account.
|
|
255
|
-
*
|
|
115
|
+
*
|
|
256
116
|
* 99% of the time you want [`transfer_allow_death`] instead.
|
|
257
|
-
*
|
|
117
|
+
*
|
|
258
118
|
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
|
259
119
|
**/
|
|
260
|
-
transferKeepAlive: AugmentedSubmittable<
|
|
261
|
-
(
|
|
262
|
-
dest:
|
|
263
|
-
| MultiAddress
|
|
264
|
-
| { Id: any }
|
|
265
|
-
| { Index: any }
|
|
266
|
-
| { Raw: any }
|
|
267
|
-
| { Address32: any }
|
|
268
|
-
| { Address20: any }
|
|
269
|
-
| string
|
|
270
|
-
| Uint8Array,
|
|
271
|
-
value: Compact<u128> | AnyNumber | Uint8Array,
|
|
272
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
273
|
-
[MultiAddress, Compact<u128>]
|
|
274
|
-
>;
|
|
120
|
+
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
275
121
|
/**
|
|
276
122
|
* Upgrade a specified account.
|
|
277
|
-
*
|
|
123
|
+
*
|
|
278
124
|
* - `origin`: Must be `Signed`.
|
|
279
125
|
* - `who`: The account to be upgraded.
|
|
280
|
-
*
|
|
126
|
+
*
|
|
281
127
|
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
282
128
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
283
129
|
* possibility of churn).
|
|
284
130
|
**/
|
|
285
|
-
upgradeAccounts: AugmentedSubmittable<
|
|
286
|
-
(
|
|
287
|
-
who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
|
|
288
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
289
|
-
[Vec<AccountId32>]
|
|
290
|
-
>;
|
|
131
|
+
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
291
132
|
};
|
|
292
133
|
bitcoinFissions: {
|
|
293
134
|
/**
|
|
294
135
|
* Close a Fission without moving Bitcoin and remove its active record.
|
|
295
136
|
**/
|
|
296
|
-
close: AugmentedSubmittable<
|
|
297
|
-
(fissionId: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
298
|
-
[Compact<u64>]
|
|
299
|
-
>;
|
|
137
|
+
close: AugmentedSubmittable<(fissionId: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
|
|
300
138
|
/**
|
|
301
139
|
* Create a Fission from one owner-held Lock and associate it with a Liquid ID.
|
|
302
140
|
**/
|
|
303
|
-
create: AugmentedSubmittable<
|
|
304
|
-
(
|
|
305
|
-
fissionId: Compact<u64> | AnyNumber | Uint8Array,
|
|
306
|
-
liquidId: Compact<u64> | AnyNumber | Uint8Array,
|
|
307
|
-
lockId: Compact<u64> | AnyNumber | Uint8Array,
|
|
308
|
-
satoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
309
|
-
microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array,
|
|
310
|
-
feeCoupon:
|
|
311
|
-
| Option<PalletBitcoinLocksFeeCoupon>
|
|
312
|
-
| null
|
|
313
|
-
| Uint8Array
|
|
314
|
-
| PalletBitcoinLocksFeeCoupon
|
|
315
|
-
| {
|
|
316
|
-
feeDiscount?: any;
|
|
317
|
-
securitizationSpaceToUnreserve?: any;
|
|
318
|
-
expiresAtFrame?: any;
|
|
319
|
-
nonce?: any;
|
|
320
|
-
signature?: any;
|
|
321
|
-
}
|
|
322
|
-
| string,
|
|
323
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
324
|
-
[
|
|
325
|
-
Compact<u64>,
|
|
326
|
-
Compact<u64>,
|
|
327
|
-
Compact<u64>,
|
|
328
|
-
Compact<u64>,
|
|
329
|
-
Compact<u128>,
|
|
330
|
-
Option<PalletBitcoinLocksFeeCoupon>,
|
|
331
|
-
]
|
|
332
|
-
>;
|
|
141
|
+
create: AugmentedSubmittable<(fissionId: Compact<u64> | AnyNumber | Uint8Array, liquidId: Compact<u64> | AnyNumber | Uint8Array, lockId: Compact<u64> | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array, feeCoupon: Option<PalletBitcoinLocksFeeCoupon> | null | Uint8Array | PalletBitcoinLocksFeeCoupon | { feeDiscount?: any; securitizationSpaceToUnreserve?: any; expiresAtFrame?: any; nonce?: any; signature?: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u64>, Compact<u64>, Compact<u64>, Compact<u64>, Compact<u128>, Option<PalletBitcoinLocksFeeCoupon>]>;
|
|
333
142
|
/**
|
|
334
143
|
* Ratchet an active Fission to a replacement target-normalized BTC value.
|
|
335
144
|
**/
|
|
336
|
-
ratchet: AugmentedSubmittable<
|
|
337
|
-
(
|
|
338
|
-
fissionId: Compact<u64> | AnyNumber | Uint8Array,
|
|
339
|
-
microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array,
|
|
340
|
-
feeCoupon:
|
|
341
|
-
| Option<PalletBitcoinLocksFeeCoupon>
|
|
342
|
-
| null
|
|
343
|
-
| Uint8Array
|
|
344
|
-
| PalletBitcoinLocksFeeCoupon
|
|
345
|
-
| {
|
|
346
|
-
feeDiscount?: any;
|
|
347
|
-
securitizationSpaceToUnreserve?: any;
|
|
348
|
-
expiresAtFrame?: any;
|
|
349
|
-
nonce?: any;
|
|
350
|
-
signature?: any;
|
|
351
|
-
}
|
|
352
|
-
| string,
|
|
353
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
354
|
-
[Compact<u64>, Compact<u128>, Option<PalletBitcoinLocksFeeCoupon>]
|
|
355
|
-
>;
|
|
145
|
+
ratchet: AugmentedSubmittable<(fissionId: Compact<u64> | AnyNumber | Uint8Array, microgonsAtTargetPerBtc: Compact<u128> | AnyNumber | Uint8Array, feeCoupon: Option<PalletBitcoinLocksFeeCoupon> | null | Uint8Array | PalletBitcoinLocksFeeCoupon | { feeDiscount?: any; securitizationSpaceToUnreserve?: any; expiresAtFrame?: any; nonce?: any; signature?: any } | string) => SubmittableExtrinsic<ApiType>, [Compact<u64>, Compact<u128>, Option<PalletBitcoinLocksFeeCoupon>]>;
|
|
356
146
|
};
|
|
357
147
|
bitcoinLocks: {
|
|
358
|
-
adminModifyMinimumLockedSats: AugmentedSubmittable<
|
|
359
|
-
(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
360
|
-
[u64]
|
|
361
|
-
>;
|
|
148
|
+
adminModifyMinimumLockedSats: AugmentedSubmittable<(satoshis: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
362
149
|
/**
|
|
363
150
|
* NOTE: The `signature` parameter is NOT verified on-chain. The orphan record does
|
|
364
151
|
* not retain the cosign script args needed for verification (they are cleaned up
|
|
@@ -368,471 +155,137 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
368
155
|
* on-chain damage. To add on-chain verification, the cosign script args would need
|
|
369
156
|
* to be stored in `OrphanedUtxo` (storage migration required).
|
|
370
157
|
**/
|
|
371
|
-
cosignOrphanedUtxoRelease: AugmentedSubmittable<
|
|
372
|
-
(
|
|
373
|
-
orphanOwner: AccountId32 | string | Uint8Array,
|
|
374
|
-
utxoRef:
|
|
375
|
-
| ArgonPrimitivesBitcoinUtxoRef
|
|
376
|
-
| { txid?: any; outputIndex?: any }
|
|
377
|
-
| string
|
|
378
|
-
| Uint8Array,
|
|
379
|
-
signature: Bytes | string | Uint8Array,
|
|
380
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
381
|
-
[AccountId32, ArgonPrimitivesBitcoinUtxoRef, Bytes]
|
|
382
|
-
>;
|
|
158
|
+
cosignOrphanedUtxoRelease: AugmentedSubmittable<(orphanOwner: AccountId32 | string | Uint8Array, utxoRef: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array, signature: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, ArgonPrimitivesBitcoinUtxoRef, Bytes]>;
|
|
383
159
|
/**
|
|
384
160
|
* Submitted by a Vault operator to cosign every input in a Bitcoin Lock release. The
|
|
385
161
|
* signatures must follow ascending `UtxoRef` order: transaction ID, then output index.
|
|
386
162
|
* The Lock remains frozen until the exact cosigned transaction is observed on Bitcoin.
|
|
387
|
-
*
|
|
163
|
+
*
|
|
388
164
|
* This is submitted as a no-fee transaction off chain to allow keys to remain in cold
|
|
389
165
|
* wallets.
|
|
390
166
|
**/
|
|
391
|
-
cosignRelease: AugmentedSubmittable<
|
|
392
|
-
(
|
|
393
|
-
lockId: u64 | AnyNumber | Uint8Array,
|
|
394
|
-
signatures: Vec<Bytes> | (Bytes | string | Uint8Array)[],
|
|
395
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
396
|
-
[u64, Vec<Bytes>]
|
|
397
|
-
>;
|
|
167
|
+
cosignRelease: AugmentedSubmittable<(lockId: u64 | AnyNumber | Uint8Array, signatures: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [u64, Vec<Bytes>]>;
|
|
398
168
|
/**
|
|
399
169
|
* Create a Bitcoin receive address backed by a Lock for the submitting account.
|
|
400
|
-
*
|
|
170
|
+
*
|
|
401
171
|
* The pubkey submitted here will be used to create a script pubkey that will be used in a
|
|
402
172
|
* timelock multisig script to lock the bitcoin.
|
|
403
173
|
**/
|
|
404
|
-
createReceiveAddress: AugmentedSubmittable<
|
|
405
|
-
|
|
406
|
-
vaultId: u32 | AnyNumber | Uint8Array,
|
|
407
|
-
satoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
408
|
-
bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array,
|
|
409
|
-
options:
|
|
410
|
-
| Option<PalletBitcoinLocksLockOptions>
|
|
411
|
-
| null
|
|
412
|
-
| Uint8Array
|
|
413
|
-
| PalletBitcoinLocksLockOptions
|
|
414
|
-
| { microgonsAtTargetPerBtc?: any; feeCoupon?: any }
|
|
415
|
-
| string,
|
|
416
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
417
|
-
[
|
|
418
|
-
u32,
|
|
419
|
-
Compact<u64>,
|
|
420
|
-
ArgonPrimitivesBitcoinCompressedBitcoinPubkey,
|
|
421
|
-
Option<PalletBitcoinLocksLockOptions>,
|
|
422
|
-
]
|
|
423
|
-
>;
|
|
424
|
-
requestOrphanedUtxoRelease: AugmentedSubmittable<
|
|
425
|
-
(
|
|
426
|
-
utxoRef:
|
|
427
|
-
| ArgonPrimitivesBitcoinUtxoRef
|
|
428
|
-
| { txid?: any; outputIndex?: any }
|
|
429
|
-
| string
|
|
430
|
-
| Uint8Array,
|
|
431
|
-
toScriptPubkey: Bytes | string | Uint8Array,
|
|
432
|
-
bitcoinNetworkFee: u64 | AnyNumber | Uint8Array,
|
|
433
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
434
|
-
[ArgonPrimitivesBitcoinUtxoRef, Bytes, u64]
|
|
435
|
-
>;
|
|
174
|
+
createReceiveAddress: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, bitcoinPubkey: ArgonPrimitivesBitcoinCompressedBitcoinPubkey | string | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | { microgonsAtTargetPerBtc?: any; feeCoupon?: any } | string) => SubmittableExtrinsic<ApiType>, [u32, Compact<u64>, ArgonPrimitivesBitcoinCompressedBitcoinPubkey, Option<PalletBitcoinLocksLockOptions>]>;
|
|
175
|
+
requestOrphanedUtxoRelease: AugmentedSubmittable<(utxoRef: ArgonPrimitivesBitcoinUtxoRef | { txid?: any; outputIndex?: any } | string | Uint8Array, toScriptPubkey: Bytes | string | Uint8Array, bitcoinNetworkFee: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesBitcoinUtxoRef, Bytes, u64]>;
|
|
436
176
|
/**
|
|
437
177
|
* Submitted by a Bitcoin holder to spend every current UTXO in a Lock. The exact external
|
|
438
178
|
* amount and network fee determine whether the transaction fully releases the Lock or
|
|
439
179
|
* returns one consolidated change output to the same Lock script. The vault operator has
|
|
440
180
|
* 10 days to publish one signature per frozen input in a BitcoinUtxoCosigned event.
|
|
441
|
-
*
|
|
181
|
+
*
|
|
442
182
|
* Owner must submit a script pubkey and also a fee to pay to the bitcoin network.
|
|
443
183
|
**/
|
|
444
|
-
requestRelease: AugmentedSubmittable<
|
|
445
|
-
|
|
446
|
-
lockId: u64 | AnyNumber | Uint8Array,
|
|
447
|
-
toScriptPubkey: Bytes | string | Uint8Array,
|
|
448
|
-
destinationSatoshis: u64 | AnyNumber | Uint8Array,
|
|
449
|
-
bitcoinNetworkFee: u64 | AnyNumber | Uint8Array,
|
|
450
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
451
|
-
[u64, Bytes, u64, u64]
|
|
452
|
-
>;
|
|
453
|
-
setFlexible: AugmentedSubmittable<
|
|
454
|
-
(
|
|
455
|
-
lockId: u64 | AnyNumber | Uint8Array,
|
|
456
|
-
isFlexible: bool | boolean | Uint8Array,
|
|
457
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
458
|
-
[u64, bool]
|
|
459
|
-
>;
|
|
184
|
+
requestRelease: AugmentedSubmittable<(lockId: u64 | AnyNumber | Uint8Array, toScriptPubkey: Bytes | string | Uint8Array, destinationSatoshis: u64 | AnyNumber | Uint8Array, bitcoinNetworkFee: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Bytes, u64, u64]>;
|
|
185
|
+
setFlexible: AugmentedSubmittable<(lockId: u64 | AnyNumber | Uint8Array, isFlexible: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, bool]>;
|
|
460
186
|
/**
|
|
461
187
|
* Replace the Lock's guarantee, leaving active Fission guarantees unchanged.
|
|
462
188
|
**/
|
|
463
|
-
setGuarantee: AugmentedSubmittable<
|
|
464
|
-
(
|
|
465
|
-
lockId: u64 | AnyNumber | Uint8Array,
|
|
466
|
-
satoshis: Compact<u64> | AnyNumber | Uint8Array,
|
|
467
|
-
options:
|
|
468
|
-
| Option<PalletBitcoinLocksLockOptions>
|
|
469
|
-
| null
|
|
470
|
-
| Uint8Array
|
|
471
|
-
| PalletBitcoinLocksLockOptions
|
|
472
|
-
| { microgonsAtTargetPerBtc?: any; feeCoupon?: any }
|
|
473
|
-
| string,
|
|
474
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
475
|
-
[u64, Compact<u64>, Option<PalletBitcoinLocksLockOptions>]
|
|
476
|
-
>;
|
|
189
|
+
setGuarantee: AugmentedSubmittable<(lockId: u64 | AnyNumber | Uint8Array, satoshis: Compact<u64> | AnyNumber | Uint8Array, options: Option<PalletBitcoinLocksLockOptions> | null | Uint8Array | PalletBitcoinLocksLockOptions | { microgonsAtTargetPerBtc?: any; feeCoupon?: any } | string) => SubmittableExtrinsic<ApiType>, [u64, Compact<u64>, Option<PalletBitcoinLocksLockOptions>]>;
|
|
477
190
|
};
|
|
478
191
|
bitcoinUtxos: {
|
|
479
192
|
/**
|
|
480
193
|
* Sets the most recent confirmed bitcoin block height (only executable by the Oracle
|
|
481
194
|
* Operator account)
|
|
482
|
-
*
|
|
195
|
+
*
|
|
483
196
|
* # Arguments
|
|
484
197
|
* * `bitcoin_height` - the latest bitcoin block height to be confirmed
|
|
485
198
|
**/
|
|
486
|
-
setConfirmedBlock: AugmentedSubmittable<
|
|
487
|
-
(
|
|
488
|
-
bitcoinHeight: u64 | AnyNumber | Uint8Array,
|
|
489
|
-
bitcoinBlockHash: ArgonPrimitivesBitcoinH256Le | string | Uint8Array,
|
|
490
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
491
|
-
[u64, ArgonPrimitivesBitcoinH256Le]
|
|
492
|
-
>;
|
|
199
|
+
setConfirmedBlock: AugmentedSubmittable<(bitcoinHeight: u64 | AnyNumber | Uint8Array, bitcoinBlockHash: ArgonPrimitivesBitcoinH256Le | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, ArgonPrimitivesBitcoinH256Le]>;
|
|
493
200
|
/**
|
|
494
201
|
* Sets the oracle operator account id (only executable by the Root account)
|
|
495
|
-
*
|
|
202
|
+
*
|
|
496
203
|
* # Arguments
|
|
497
204
|
* * `account_id` - the account id of the operator
|
|
498
205
|
**/
|
|
499
|
-
setOperator: AugmentedSubmittable<
|
|
500
|
-
(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
501
|
-
[AccountId32]
|
|
502
|
-
>;
|
|
206
|
+
setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
503
207
|
/**
|
|
504
208
|
* Submitted when a bitcoin UTXO has been moved or confirmed.
|
|
505
209
|
**/
|
|
506
|
-
sync: AugmentedSubmittable<
|
|
507
|
-
(
|
|
508
|
-
utxoSync:
|
|
509
|
-
| ArgonPrimitivesInherentsBitcoinUtxoSyncV2
|
|
510
|
-
| { spent?: any; funded?: any; syncToBlock?: any }
|
|
511
|
-
| string
|
|
512
|
-
| Uint8Array,
|
|
513
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
514
|
-
[ArgonPrimitivesInherentsBitcoinUtxoSyncV2]
|
|
515
|
-
>;
|
|
210
|
+
sync: AugmentedSubmittable<(utxoSync: ArgonPrimitivesInherentsBitcoinUtxoSyncV2 | { spent?: any; funded?: any; syncToBlock?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesInherentsBitcoinUtxoSyncV2]>;
|
|
516
211
|
};
|
|
517
212
|
blockRewards: {
|
|
518
|
-
setBlockRewardsPaused: AugmentedSubmittable<
|
|
519
|
-
|
|
520
|
-
[bool]
|
|
521
|
-
>;
|
|
522
|
-
setBlockVoterRewardsEnabled: AugmentedSubmittable<
|
|
523
|
-
(enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
524
|
-
[bool]
|
|
525
|
-
>;
|
|
213
|
+
setBlockRewardsPaused: AugmentedSubmittable<(paused: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
214
|
+
setBlockVoterRewardsEnabled: AugmentedSubmittable<(enabled: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [bool]>;
|
|
526
215
|
};
|
|
527
216
|
blockSeal: {
|
|
528
|
-
apply: AugmentedSubmittable<
|
|
529
|
-
(
|
|
530
|
-
seal:
|
|
531
|
-
| ArgonPrimitivesInherentsBlockSealInherent
|
|
532
|
-
| { Vote: any }
|
|
533
|
-
| { Compute: any }
|
|
534
|
-
| string
|
|
535
|
-
| Uint8Array,
|
|
536
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
537
|
-
[ArgonPrimitivesInherentsBlockSealInherent]
|
|
538
|
-
>;
|
|
217
|
+
apply: AugmentedSubmittable<(seal: ArgonPrimitivesInherentsBlockSealInherent | { Vote: any } | { Compute: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesInherentsBlockSealInherent]>;
|
|
539
218
|
};
|
|
540
219
|
blockSealSpec: {
|
|
541
|
-
configure: AugmentedSubmittable<
|
|
542
|
-
(
|
|
543
|
-
voteMinimum: Option<u128> | null | Uint8Array | u128 | AnyNumber,
|
|
544
|
-
computeDifficulty: Option<u128> | null | Uint8Array | u128 | AnyNumber,
|
|
545
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
546
|
-
[Option<u128>, Option<u128>]
|
|
547
|
-
>;
|
|
220
|
+
configure: AugmentedSubmittable<(voteMinimum: Option<u128> | null | Uint8Array | u128 | AnyNumber, computeDifficulty: Option<u128> | null | Uint8Array | u128 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u128>, Option<u128>]>;
|
|
548
221
|
};
|
|
549
222
|
bootstrap: {
|
|
550
223
|
/**
|
|
551
224
|
* Store or replace an encrypted endpoint payload.
|
|
552
|
-
*
|
|
225
|
+
*
|
|
553
226
|
* The first writer for `endpoint_pubkey` becomes its owner. Later updates require the
|
|
554
227
|
* same signing account.
|
|
555
228
|
**/
|
|
556
|
-
setEndpoint: AugmentedSubmittable<
|
|
557
|
-
(
|
|
558
|
-
endpointPubkey: PalletBootstrapEndpointPubkey | string | Uint8Array,
|
|
559
|
-
encryptedEndpoint: Bytes | string | Uint8Array,
|
|
560
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
561
|
-
[PalletBootstrapEndpointPubkey, Bytes]
|
|
562
|
-
>;
|
|
229
|
+
setEndpoint: AugmentedSubmittable<(endpointPubkey: PalletBootstrapEndpointPubkey | string | Uint8Array, encryptedEndpoint: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBootstrapEndpointPubkey, Bytes]>;
|
|
563
230
|
/**
|
|
564
231
|
* Store or replace an encrypted recovery payload.
|
|
565
|
-
*
|
|
232
|
+
*
|
|
566
233
|
* The proof must be signed by `recovery_pubkey` and binds the submitting `writer`,
|
|
567
234
|
* `recovery_pubkey`, and the encrypted payload hash.
|
|
568
235
|
**/
|
|
569
|
-
setRecoveryPayload: AugmentedSubmittable<
|
|
570
|
-
(
|
|
571
|
-
recoveryPubkey: PalletBootstrapRecoveryPubkey | string | Uint8Array,
|
|
572
|
-
recoveryProof: PalletBootstrapRecoveryProof | { signature?: any } | string | Uint8Array,
|
|
573
|
-
encryptedRecoveryPayload: Bytes | string | Uint8Array,
|
|
574
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
575
|
-
[PalletBootstrapRecoveryPubkey, PalletBootstrapRecoveryProof, Bytes]
|
|
576
|
-
>;
|
|
236
|
+
setRecoveryPayload: AugmentedSubmittable<(recoveryPubkey: PalletBootstrapRecoveryPubkey | string | Uint8Array, recoveryProof: PalletBootstrapRecoveryProof | { signature?: any } | string | Uint8Array, encryptedRecoveryPayload: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBootstrapRecoveryPubkey, PalletBootstrapRecoveryProof, Bytes]>;
|
|
577
237
|
};
|
|
578
238
|
crosschainTransfer: {
|
|
579
|
-
approveQueueEntries: AugmentedSubmittable<
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
>;
|
|
586
|
-
collateralizeTransfer: AugmentedSubmittable<
|
|
587
|
-
(
|
|
588
|
-
transferId: H256 | string | Uint8Array,
|
|
589
|
-
signature: U8aFixed | string | Uint8Array,
|
|
590
|
-
microgonCollateral: Compact<u128> | AnyNumber | Uint8Array,
|
|
591
|
-
micronotCollateral: Compact<u128> | AnyNumber | Uint8Array,
|
|
592
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
593
|
-
[H256, U8aFixed, Compact<u128>, Compact<u128>]
|
|
594
|
-
>;
|
|
595
|
-
deactivateMintingAuthority: AugmentedSubmittable<
|
|
596
|
-
(destinationSigningKey: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
597
|
-
[H160]
|
|
598
|
-
>;
|
|
599
|
-
forceSetGlobalIssuanceCouncil: AugmentedSubmittable<
|
|
600
|
-
(
|
|
601
|
-
destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
602
|
-
afterNonce: Compact<u64> | AnyNumber | Uint8Array,
|
|
603
|
-
memberAccountIds: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
|
|
604
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
605
|
-
[PalletCrosschainTransferSourceChain, Compact<u64>, Vec<AccountId32>]
|
|
606
|
-
>;
|
|
607
|
-
pauseGateway: AugmentedSubmittable<
|
|
608
|
-
(
|
|
609
|
-
sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
610
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
611
|
-
[PalletCrosschainTransferSourceChain]
|
|
612
|
-
>;
|
|
613
|
-
proveGatewayActivity: AugmentedSubmittable<
|
|
614
|
-
(
|
|
615
|
-
sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
616
|
-
previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array,
|
|
617
|
-
proofBatch:
|
|
618
|
-
| ArgonPrimitivesEthereumEthereumReceiptLogProofBatch
|
|
619
|
-
| { executionBlockProof?: any; blocks?: any }
|
|
620
|
-
| string
|
|
621
|
-
| Uint8Array,
|
|
622
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
623
|
-
[
|
|
624
|
-
PalletCrosschainTransferSourceChain,
|
|
625
|
-
Compact<u64>,
|
|
626
|
-
ArgonPrimitivesEthereumEthereumReceiptLogProofBatch,
|
|
627
|
-
]
|
|
628
|
-
>;
|
|
239
|
+
approveQueueEntries: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, signatures: Vec<U8aFixed>) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Vec<U8aFixed>]>;
|
|
240
|
+
collateralizeTransfer: AugmentedSubmittable<(transferId: H256 | string | Uint8Array, signature: U8aFixed | string | Uint8Array, microgonCollateral: Compact<u128> | AnyNumber | Uint8Array, micronotCollateral: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, U8aFixed, Compact<u128>, Compact<u128>]>;
|
|
241
|
+
deactivateMintingAuthority: AugmentedSubmittable<(destinationSigningKey: H160 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160]>;
|
|
242
|
+
forceSetGlobalIssuanceCouncil: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, afterNonce: Compact<u64> | AnyNumber | Uint8Array, memberAccountIds: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Compact<u64>, Vec<AccountId32>]>;
|
|
243
|
+
pauseGateway: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain]>;
|
|
244
|
+
proveGatewayActivity: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array, proofBatch: ArgonPrimitivesEthereumEthereumReceiptLogProofBatch | { executionBlockProof?: any; blocks?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Compact<u64>, ArgonPrimitivesEthereumEthereumReceiptLogProofBatch]>;
|
|
629
245
|
/**
|
|
630
246
|
* Authenticate a complete gateway locator and settle its unconsumed activities.
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
[
|
|
643
|
-
PalletCrosschainTransferSourceChain,
|
|
644
|
-
Compact<u64>,
|
|
645
|
-
PalletCrosschainTransferGatewayActivityStorageProof,
|
|
646
|
-
]
|
|
647
|
-
>;
|
|
648
|
-
registerCouncilSigner: AugmentedSubmittable<
|
|
649
|
-
(
|
|
650
|
-
destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
651
|
-
signingKey: H160 | string | Uint8Array,
|
|
652
|
-
signature: U8aFixed | string | Uint8Array,
|
|
653
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
654
|
-
[PalletCrosschainTransferSourceChain, H160, U8aFixed]
|
|
655
|
-
>;
|
|
656
|
-
registerMintingAuthority: AugmentedSubmittable<
|
|
657
|
-
(
|
|
658
|
-
destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
659
|
-
destinationSigningKey: H160 | string | Uint8Array,
|
|
660
|
-
signature: U8aFixed | string | Uint8Array,
|
|
661
|
-
microgonCollateral: Compact<u128> | AnyNumber | Uint8Array,
|
|
662
|
-
micronotCollateral: Compact<u128> | AnyNumber | Uint8Array,
|
|
663
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
664
|
-
[PalletCrosschainTransferSourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>]
|
|
665
|
-
>;
|
|
666
|
-
setChainConfig: AugmentedSubmittable<
|
|
667
|
-
(
|
|
668
|
-
sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
669
|
-
config: PalletCrosschainTransferChainConfig | { Evm: any } | string | Uint8Array,
|
|
670
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
671
|
-
[PalletCrosschainTransferSourceChain, PalletCrosschainTransferChainConfig]
|
|
672
|
-
>;
|
|
673
|
-
setMinimumMintingAuthorityValue: AugmentedSubmittable<
|
|
674
|
-
(
|
|
675
|
-
destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
676
|
-
minimumValue: Compact<u128> | AnyNumber | Uint8Array,
|
|
677
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
678
|
-
[PalletCrosschainTransferSourceChain, Compact<u128>]
|
|
679
|
-
>;
|
|
680
|
-
setMintingAuthorityActivationRepaymentPricing: AugmentedSubmittable<
|
|
681
|
-
(
|
|
682
|
-
destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
683
|
-
pricing:
|
|
684
|
-
| PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing
|
|
685
|
-
| {
|
|
686
|
-
activationGasCost?: any;
|
|
687
|
-
signatureGasCost?: any;
|
|
688
|
-
estimatedWeiPerGas?: any;
|
|
689
|
-
estimatedMicrogonsPerEth?: any;
|
|
690
|
-
}
|
|
691
|
-
| string
|
|
692
|
-
| Uint8Array,
|
|
693
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
694
|
-
[
|
|
695
|
-
PalletCrosschainTransferSourceChain,
|
|
696
|
-
PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing,
|
|
697
|
-
]
|
|
698
|
-
>;
|
|
699
|
-
transferOut: AugmentedSubmittable<
|
|
700
|
-
(
|
|
701
|
-
destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
702
|
-
asset: PalletCrosschainTransferAssetKind | 'Argon' | 'Argonot' | number | Uint8Array,
|
|
703
|
-
destinationAccount: H160 | string | Uint8Array,
|
|
704
|
-
amount: Compact<u128> | AnyNumber | Uint8Array,
|
|
705
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
706
|
-
[
|
|
707
|
-
PalletCrosschainTransferSourceChain,
|
|
708
|
-
PalletCrosschainTransferAssetKind,
|
|
709
|
-
H160,
|
|
710
|
-
Compact<u128>,
|
|
711
|
-
]
|
|
712
|
-
>;
|
|
713
|
-
unpauseGateway: AugmentedSubmittable<
|
|
714
|
-
(
|
|
715
|
-
sourceChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
716
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
717
|
-
[PalletCrosschainTransferSourceChain]
|
|
718
|
-
>;
|
|
247
|
+
* Including the gateway's current nonce also records the proven block time once all
|
|
248
|
+
* activity through that nonce has been applied.
|
|
249
|
+
**/
|
|
250
|
+
proveGatewayActivityStorage: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, previousGatewayActivityNonce: Compact<u64> | AnyNumber | Uint8Array, proof: PalletCrosschainTransferGatewayActivityStorageProof | { locatorIndex?: any; activityRootSeed?: any; storageProof?: any; activityLogs?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Compact<u64>, PalletCrosschainTransferGatewayActivityStorageProof]>;
|
|
251
|
+
registerCouncilSigner: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, signingKey: H160 | string | Uint8Array, signature: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed]>;
|
|
252
|
+
registerMintingAuthority: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, destinationSigningKey: H160 | string | Uint8Array, signature: U8aFixed | string | Uint8Array, microgonCollateral: Compact<u128> | AnyNumber | Uint8Array, micronotCollateral: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>]>;
|
|
253
|
+
setChainConfig: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, config: PalletCrosschainTransferChainConfig | { Evm: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferChainConfig]>;
|
|
254
|
+
setMinimumMintingAuthorityValue: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, minimumValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Compact<u128>]>;
|
|
255
|
+
setMintingAuthorityActivationRepaymentPricing: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, pricing: PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing | { activationGasCost?: any; signatureGasCost?: any; estimatedWeiPerGas?: any; estimatedMicrogonsPerEth?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing]>;
|
|
256
|
+
transferOut: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, asset: PalletCrosschainTransferAssetKind | 'Argon' | 'Argonot' | number | Uint8Array, destinationAccount: H160 | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferAssetKind, H160, Compact<u128>]>;
|
|
257
|
+
unpauseGateway: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain]>;
|
|
719
258
|
};
|
|
720
259
|
domains: {
|
|
721
|
-
setZoneRecord: AugmentedSubmittable<
|
|
722
|
-
(
|
|
723
|
-
domainHash: H256 | string | Uint8Array,
|
|
724
|
-
zoneRecord:
|
|
725
|
-
| ArgonPrimitivesDomainZoneRecord
|
|
726
|
-
| { paymentAccount?: any; notaryId?: any; versions?: any }
|
|
727
|
-
| string
|
|
728
|
-
| Uint8Array,
|
|
729
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
730
|
-
[H256, ArgonPrimitivesDomainZoneRecord]
|
|
731
|
-
>;
|
|
260
|
+
setZoneRecord: AugmentedSubmittable<(domainHash: H256 | string | Uint8Array, zoneRecord: ArgonPrimitivesDomainZoneRecord | { paymentAccount?: any; notaryId?: any; versions?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, ArgonPrimitivesDomainZoneRecord]>;
|
|
732
261
|
};
|
|
733
262
|
ethereumVerifier: {
|
|
734
263
|
/**
|
|
735
264
|
* Used for pallet initialization and light client resetting. Needs to be called by
|
|
736
265
|
* the root origin.
|
|
737
266
|
**/
|
|
738
|
-
forceCheckpoint: AugmentedSubmittable<
|
|
739
|
-
|
|
740
|
-
update:
|
|
741
|
-
| PalletEthereumVerifierCheckpointUpdate
|
|
742
|
-
| {
|
|
743
|
-
header?: any;
|
|
744
|
-
currentSyncCommittee?: any;
|
|
745
|
-
currentSyncCommitteeBranch?: any;
|
|
746
|
-
validatorsRoot?: any;
|
|
747
|
-
executionHeaderProof?: any;
|
|
748
|
-
}
|
|
749
|
-
| string
|
|
750
|
-
| Uint8Array,
|
|
751
|
-
forkVersions:
|
|
752
|
-
| PalletEthereumVerifierForkVersions
|
|
753
|
-
| {
|
|
754
|
-
genesis?: any;
|
|
755
|
-
altair?: any;
|
|
756
|
-
bellatrix?: any;
|
|
757
|
-
capella?: any;
|
|
758
|
-
deneb?: any;
|
|
759
|
-
electra?: any;
|
|
760
|
-
fulu?: any;
|
|
761
|
-
gloas?: any;
|
|
762
|
-
}
|
|
763
|
-
| string
|
|
764
|
-
| Uint8Array,
|
|
765
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
766
|
-
[PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierForkVersions]
|
|
767
|
-
>;
|
|
768
|
-
importTrustedExecutionHeaderBackfill: AugmentedSubmittable<
|
|
769
|
-
(
|
|
770
|
-
expectedBeaconRoot: H256 | string | Uint8Array,
|
|
771
|
-
header:
|
|
772
|
-
| SnowbridgeBeaconPrimitivesBeaconHeader
|
|
773
|
-
| { slot?: any; proposerIndex?: any; parentRoot?: any; stateRoot?: any; bodyRoot?: any }
|
|
774
|
-
| string
|
|
775
|
-
| Uint8Array,
|
|
776
|
-
executionHeaderProof:
|
|
777
|
-
| PalletEthereumVerifierExecutionHeaderProof
|
|
778
|
-
| { executionHeader?: any; executionBranch?: any }
|
|
779
|
-
| string
|
|
780
|
-
| Uint8Array,
|
|
781
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
782
|
-
[H256, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof]
|
|
783
|
-
>;
|
|
267
|
+
forceCheckpoint: AugmentedSubmittable<(update: PalletEthereumVerifierCheckpointUpdate | { header?: any; currentSyncCommittee?: any; currentSyncCommitteeBranch?: any; validatorsRoot?: any; executionHeaderProof?: any } | string | Uint8Array, forkVersions: PalletEthereumVerifierForkVersions | { genesis?: any; altair?: any; bellatrix?: any; capella?: any; deneb?: any; electra?: any; fulu?: any; gloas?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierForkVersions]>;
|
|
268
|
+
importTrustedExecutionHeaderBackfill: AugmentedSubmittable<(expectedBeaconRoot: H256 | string | Uint8Array, header: SnowbridgeBeaconPrimitivesBeaconHeader | { slot?: any; proposerIndex?: any; parentRoot?: any; stateRoot?: any; bodyRoot?: any } | string | Uint8Array, executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof | { executionHeader?: any; executionBranch?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof]>;
|
|
784
269
|
/**
|
|
785
270
|
* Configure the implemented Gloas fork before the verifier finalizes its activation.
|
|
786
271
|
* Earlier forks and retained consensus state are preserved. May only be called by root.
|
|
787
272
|
**/
|
|
788
|
-
setGloasFork: AugmentedSubmittable<
|
|
789
|
-
(
|
|
790
|
-
fork: PalletEthereumVerifierFork | { version?: any; epoch?: any } | string | Uint8Array,
|
|
791
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
792
|
-
[PalletEthereumVerifierFork]
|
|
793
|
-
>;
|
|
273
|
+
setGloasFork: AugmentedSubmittable<(fork: PalletEthereumVerifierFork | { version?: any; epoch?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierFork]>;
|
|
794
274
|
/**
|
|
795
275
|
* Halt or resume all pallet operations. May only be called by root.
|
|
796
276
|
**/
|
|
797
|
-
setOperatingMode: AugmentedSubmittable<
|
|
798
|
-
(
|
|
799
|
-
mode:
|
|
800
|
-
| PalletEthereumVerifierBasicOperatingMode
|
|
801
|
-
| 'Normal'
|
|
802
|
-
| 'Halted'
|
|
803
|
-
| number
|
|
804
|
-
| Uint8Array,
|
|
805
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
806
|
-
[PalletEthereumVerifierBasicOperatingMode]
|
|
807
|
-
>;
|
|
277
|
+
setOperatingMode: AugmentedSubmittable<(mode: PalletEthereumVerifierBasicOperatingMode | 'Normal' | 'Halted' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierBasicOperatingMode]>;
|
|
808
278
|
/**
|
|
809
279
|
* Submits a new finalized beacon header update. The update may contain the next
|
|
810
280
|
* sync committee and an execution header witness for the finalized beacon header it
|
|
811
281
|
* advances.
|
|
812
282
|
**/
|
|
813
|
-
submit: AugmentedSubmittable<
|
|
814
|
-
(
|
|
815
|
-
update:
|
|
816
|
-
| PalletEthereumVerifierUpdate
|
|
817
|
-
| {
|
|
818
|
-
attestedHeader?: any;
|
|
819
|
-
syncAggregate?: any;
|
|
820
|
-
signatureSlot?: any;
|
|
821
|
-
nextSyncCommitteeUpdate?: any;
|
|
822
|
-
finalizedHeader?: any;
|
|
823
|
-
finalityBranch?: any;
|
|
824
|
-
executionHeaderProof?: any;
|
|
825
|
-
}
|
|
826
|
-
| string
|
|
827
|
-
| Uint8Array,
|
|
828
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
829
|
-
[PalletEthereumVerifierUpdate]
|
|
830
|
-
>;
|
|
283
|
+
submit: AugmentedSubmittable<(update: PalletEthereumVerifierUpdate | { attestedHeader?: any; syncAggregate?: any; signatureSlot?: any; nextSyncCommitteeUpdate?: any; finalizedHeader?: any; finalityBranch?: any; executionHeaderProof?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierUpdate]>;
|
|
831
284
|
};
|
|
832
285
|
grandpa: {
|
|
833
286
|
/**
|
|
834
287
|
* Note that the current authority set of the GRANDPA finality gadget has stalled.
|
|
835
|
-
*
|
|
288
|
+
*
|
|
836
289
|
* This will trigger a forced authority set change at the beginning of the next session, to
|
|
837
290
|
* be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
|
|
838
291
|
* that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
|
|
@@ -841,128 +294,75 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
841
294
|
* authority will start voting on top of `best_finalized_block_number` for new finalized
|
|
842
295
|
* blocks. `best_finalized_block_number` should be the highest of the latest finalized
|
|
843
296
|
* block of all validators of the new authority set.
|
|
844
|
-
*
|
|
297
|
+
*
|
|
845
298
|
* Only callable by root.
|
|
846
299
|
**/
|
|
847
|
-
noteStalled: AugmentedSubmittable<
|
|
848
|
-
(
|
|
849
|
-
delay: u32 | AnyNumber | Uint8Array,
|
|
850
|
-
bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array,
|
|
851
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
852
|
-
[u32, u32]
|
|
853
|
-
>;
|
|
300
|
+
noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
854
301
|
/**
|
|
855
302
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
856
303
|
* equivocation proof and validate the given key ownership proof
|
|
857
304
|
* against the extracted offender. If both are valid, the offence
|
|
858
305
|
* will be reported.
|
|
859
306
|
**/
|
|
860
|
-
reportEquivocation: AugmentedSubmittable<
|
|
861
|
-
(
|
|
862
|
-
equivocationProof:
|
|
863
|
-
| SpConsensusGrandpaEquivocationProof
|
|
864
|
-
| { setId?: any; equivocation?: any }
|
|
865
|
-
| string
|
|
866
|
-
| Uint8Array,
|
|
867
|
-
keyOwnerProof: SpCoreVoid | null,
|
|
868
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
869
|
-
[SpConsensusGrandpaEquivocationProof, SpCoreVoid]
|
|
870
|
-
>;
|
|
307
|
+
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
|
|
871
308
|
/**
|
|
872
309
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
873
310
|
* equivocation proof and validate the given key ownership proof
|
|
874
311
|
* against the extracted offender. If both are valid, the offence
|
|
875
312
|
* will be reported.
|
|
876
|
-
*
|
|
313
|
+
*
|
|
877
314
|
* This extrinsic must be called unsigned and it is expected that only
|
|
878
315
|
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
879
316
|
* if the block author is defined it will be defined as the equivocation
|
|
880
317
|
* reporter.
|
|
881
318
|
**/
|
|
882
|
-
reportEquivocationUnsigned: AugmentedSubmittable<
|
|
883
|
-
(
|
|
884
|
-
equivocationProof:
|
|
885
|
-
| SpConsensusGrandpaEquivocationProof
|
|
886
|
-
| { setId?: any; equivocation?: any }
|
|
887
|
-
| string
|
|
888
|
-
| Uint8Array,
|
|
889
|
-
keyOwnerProof: SpCoreVoid | null,
|
|
890
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
891
|
-
[SpConsensusGrandpaEquivocationProof, SpCoreVoid]
|
|
892
|
-
>;
|
|
319
|
+
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
|
|
893
320
|
};
|
|
894
321
|
localchainTransfer: {
|
|
895
|
-
sendToLocalchain: AugmentedSubmittable<
|
|
896
|
-
(
|
|
897
|
-
amount: Compact<u128> | AnyNumber | Uint8Array,
|
|
898
|
-
notaryId: u32 | AnyNumber | Uint8Array,
|
|
899
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
900
|
-
[Compact<u128>, u32]
|
|
901
|
-
>;
|
|
322
|
+
sendToLocalchain: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
902
323
|
};
|
|
903
324
|
miningSlot: {
|
|
904
325
|
/**
|
|
905
326
|
* Submit a funded public bid, optionally committing to a hidden maximum.
|
|
906
327
|
* Every bid competes at its public amount even if no maximum is revealed.
|
|
328
|
+
* Live auctions clear openings at the end of their inclusion block.
|
|
907
329
|
* An omitted target frame selects the current auction at dispatch time.
|
|
330
|
+
* Standing winners can commit a new maximum without clearing the new-bid entry threshold.
|
|
908
331
|
**/
|
|
909
|
-
bid: AugmentedSubmittable<
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
targetFrameId: Option<u64> | null | Uint8Array | u64 | AnyNumber,
|
|
919
|
-
maxHash: Option<U8aFixed> | null | Uint8Array | U8aFixed | string,
|
|
920
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
921
|
-
[u128, ArgonRuntimeSessionKeys, Option<AccountId32>, Option<u64>, Option<U8aFixed>]
|
|
922
|
-
>;
|
|
923
|
-
/**
|
|
924
|
-
* Disclose a committed maximum during the five blocks following submission.
|
|
925
|
-
* The target frame must match the original bid and the current auction.
|
|
926
|
-
**/
|
|
927
|
-
bidMax: AugmentedSubmittable<
|
|
928
|
-
(
|
|
929
|
-
max: u128 | AnyNumber | Uint8Array,
|
|
930
|
-
salt: U8aFixed | string | Uint8Array,
|
|
931
|
-
miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
|
|
932
|
-
targetFrameId: u64 | AnyNumber | Uint8Array,
|
|
933
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
934
|
-
[u128, U8aFixed, Option<AccountId32>, u64]
|
|
935
|
-
>;
|
|
332
|
+
bid: AugmentedSubmittable<(bid: u128 | AnyNumber | Uint8Array, keys: ArgonRuntimeSessionKeys | { grandpa?: any; blockSealAuthority?: any } | string | Uint8Array, miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string, targetFrameId: Option<u64> | null | Uint8Array | u64 | AnyNumber, maxHash: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => SubmittableExtrinsic<ApiType>, [u128, ArgonRuntimeSessionKeys, Option<AccountId32>, Option<u64>, Option<U8aFixed>]>;
|
|
333
|
+
/**
|
|
334
|
+
* With a salt, disclose a committed maximum in the five blocks following submission.
|
|
335
|
+
* Live auctions clear disclosures together at the end of their inclusion block.
|
|
336
|
+
* Without a salt, immediately update a settled winner's maximum while bidding is open.
|
|
337
|
+
* Updates cannot overlap pending bids or reduce the maximum below the current paid bid.
|
|
338
|
+
* Both modes must explicitly target the current auction frame.
|
|
339
|
+
**/
|
|
340
|
+
bidMax: AugmentedSubmittable<(max: u128 | AnyNumber | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string, miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string, targetFrameId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, Option<U8aFixed>, Option<AccountId32>, u64]>;
|
|
936
341
|
/**
|
|
937
342
|
* Admin function to update the mining slot delay.
|
|
938
343
|
**/
|
|
939
|
-
configureMiningSlotDelay: AugmentedSubmittable<
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
ticksBeforeBidEndForVrfClose: Option<u64> | null | Uint8Array | u64 | AnyNumber,
|
|
943
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
944
|
-
[Option<u64>, Option<u64>]
|
|
945
|
-
>;
|
|
344
|
+
configureMiningSlotDelay: AugmentedSubmittable<(miningSlotDelay: Option<u64> | null | Uint8Array | u64 | AnyNumber, ticksBeforeBidEndForVrfClose: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>, Option<u64>]>;
|
|
345
|
+
};
|
|
346
|
+
mint: {
|
|
946
347
|
};
|
|
947
|
-
mint: {};
|
|
948
348
|
multisig: {
|
|
949
349
|
/**
|
|
950
350
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
951
351
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
952
|
-
*
|
|
352
|
+
*
|
|
953
353
|
* **This function will NEVER execute the call, even if the approval threshold is
|
|
954
354
|
* reached.** It only registers approval. To actually execute the call, `as_multi` must
|
|
955
355
|
* be called with the full call data by any of the signatories.
|
|
956
|
-
*
|
|
356
|
+
*
|
|
957
357
|
* This function is more efficient than `as_multi` for intermediate approvals since it
|
|
958
358
|
* only requires the call hash, not the full call data.
|
|
959
|
-
*
|
|
359
|
+
*
|
|
960
360
|
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
961
361
|
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
962
362
|
* is cancelled.
|
|
963
|
-
*
|
|
363
|
+
*
|
|
964
364
|
* The dispatch origin for this call must be _Signed_.
|
|
965
|
-
*
|
|
365
|
+
*
|
|
966
366
|
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
967
367
|
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
968
368
|
* dispatch. May not be empty.
|
|
@@ -970,10 +370,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
970
370
|
* not the first approval, then it must be `Some`, with the timepoint (block number and
|
|
971
371
|
* transaction index) of the first approval transaction.
|
|
972
372
|
* - `call_hash`: The hash of the call to be executed.
|
|
973
|
-
*
|
|
373
|
+
*
|
|
974
374
|
* NOTE: To execute the call after approvals are gathered, any signatory must call
|
|
975
375
|
* `as_multi` with the full call data. This function cannot execute the call.
|
|
976
|
-
*
|
|
376
|
+
*
|
|
977
377
|
* ## Complexity
|
|
978
378
|
* - `O(S)`.
|
|
979
379
|
* - Up to one balance-reserve or unreserve operation.
|
|
@@ -986,40 +386,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
986
386
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
987
387
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
988
388
|
**/
|
|
989
|
-
approveAsMulti: AugmentedSubmittable<
|
|
990
|
-
(
|
|
991
|
-
threshold: u16 | AnyNumber | Uint8Array,
|
|
992
|
-
otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
|
|
993
|
-
maybeTimepoint:
|
|
994
|
-
| Option<PalletMultisigTimepoint>
|
|
995
|
-
| null
|
|
996
|
-
| Uint8Array
|
|
997
|
-
| PalletMultisigTimepoint
|
|
998
|
-
| { height?: any; index?: any }
|
|
999
|
-
| string,
|
|
1000
|
-
callHash: U8aFixed | string | Uint8Array,
|
|
1001
|
-
maxWeight:
|
|
1002
|
-
| SpWeightsWeightV2Weight
|
|
1003
|
-
| { refTime?: any; proofSize?: any }
|
|
1004
|
-
| string
|
|
1005
|
-
| Uint8Array,
|
|
1006
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1007
|
-
[u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]
|
|
1008
|
-
>;
|
|
389
|
+
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>;
|
|
1009
390
|
/**
|
|
1010
391
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
1011
392
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
1012
|
-
*
|
|
393
|
+
*
|
|
1013
394
|
* **If the approval threshold is met (including the sender's approval), this will
|
|
1014
395
|
* immediately execute the call.** This is the only way to execute a multisig call -
|
|
1015
396
|
* `approve_as_multi` will never trigger execution.
|
|
1016
|
-
*
|
|
397
|
+
*
|
|
1017
398
|
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
1018
399
|
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
1019
400
|
* is cancelled.
|
|
1020
|
-
*
|
|
401
|
+
*
|
|
1021
402
|
* The dispatch origin for this call must be _Signed_.
|
|
1022
|
-
*
|
|
403
|
+
*
|
|
1023
404
|
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
1024
405
|
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
1025
406
|
* dispatch. May not be empty.
|
|
@@ -1027,15 +408,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1027
408
|
* not the first approval, then it must be `Some`, with the timepoint (block number and
|
|
1028
409
|
* transaction index) of the first approval transaction.
|
|
1029
410
|
* - `call`: The call to be executed.
|
|
1030
|
-
*
|
|
411
|
+
*
|
|
1031
412
|
* NOTE: For intermediate approvals (not the final approval), you should generally use
|
|
1032
413
|
* `approve_as_multi` instead, since it only requires a hash of the call and is more
|
|
1033
414
|
* efficient.
|
|
1034
|
-
*
|
|
415
|
+
*
|
|
1035
416
|
* Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
|
|
1036
417
|
* on success, result is `Ok` and the result from the interior call, if it was executed,
|
|
1037
418
|
* may be found in the deposited `MultisigExecuted` event.
|
|
1038
|
-
*
|
|
419
|
+
*
|
|
1039
420
|
* ## Complexity
|
|
1040
421
|
* - `O(S + Z + Call)`.
|
|
1041
422
|
* - Up to one balance-reserve or unreserve operation.
|
|
@@ -1050,60 +431,35 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1050
431
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
1051
432
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
1052
433
|
**/
|
|
1053
|
-
asMulti: AugmentedSubmittable<
|
|
1054
|
-
(
|
|
1055
|
-
threshold: u16 | AnyNumber | Uint8Array,
|
|
1056
|
-
otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
|
|
1057
|
-
maybeTimepoint:
|
|
1058
|
-
| Option<PalletMultisigTimepoint>
|
|
1059
|
-
| null
|
|
1060
|
-
| Uint8Array
|
|
1061
|
-
| PalletMultisigTimepoint
|
|
1062
|
-
| { height?: any; index?: any }
|
|
1063
|
-
| string,
|
|
1064
|
-
call: Call | IMethod | string | Uint8Array,
|
|
1065
|
-
maxWeight:
|
|
1066
|
-
| SpWeightsWeightV2Weight
|
|
1067
|
-
| { refTime?: any; proofSize?: any }
|
|
1068
|
-
| string
|
|
1069
|
-
| Uint8Array,
|
|
1070
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1071
|
-
[u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]
|
|
1072
|
-
>;
|
|
434
|
+
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>;
|
|
1073
435
|
/**
|
|
1074
436
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
1075
|
-
*
|
|
437
|
+
*
|
|
1076
438
|
* The dispatch origin for this call must be _Signed_.
|
|
1077
|
-
*
|
|
439
|
+
*
|
|
1078
440
|
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
1079
441
|
* multi-signature, but do not participate in the approval process.
|
|
1080
442
|
* - `call`: The call to be executed.
|
|
1081
|
-
*
|
|
443
|
+
*
|
|
1082
444
|
* Result is equivalent to the dispatched result.
|
|
1083
|
-
*
|
|
445
|
+
*
|
|
1084
446
|
* ## Complexity
|
|
1085
447
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
1086
448
|
**/
|
|
1087
|
-
asMultiThreshold1: AugmentedSubmittable<
|
|
1088
|
-
(
|
|
1089
|
-
otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
|
|
1090
|
-
call: Call | IMethod | string | Uint8Array,
|
|
1091
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1092
|
-
[Vec<AccountId32>, Call]
|
|
1093
|
-
>;
|
|
449
|
+
asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Call]>;
|
|
1094
450
|
/**
|
|
1095
451
|
* Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
|
|
1096
452
|
* for this operation will be unreserved on success.
|
|
1097
|
-
*
|
|
453
|
+
*
|
|
1098
454
|
* The dispatch origin for this call must be _Signed_.
|
|
1099
|
-
*
|
|
455
|
+
*
|
|
1100
456
|
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
1101
457
|
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
1102
458
|
* dispatch. May not be empty.
|
|
1103
459
|
* - `timepoint`: The timepoint (block number and transaction index) of the first approval
|
|
1104
460
|
* transaction for this dispatch.
|
|
1105
461
|
* - `call_hash`: The hash of the call to be executed.
|
|
1106
|
-
*
|
|
462
|
+
*
|
|
1107
463
|
* ## Complexity
|
|
1108
464
|
* - `O(S)`.
|
|
1109
465
|
* - Up to one balance-reserve or unreserve operation.
|
|
@@ -1114,89 +470,36 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1114
470
|
* - I/O: 1 read `O(S)`, one remove.
|
|
1115
471
|
* - Storage: removes one item.
|
|
1116
472
|
**/
|
|
1117
|
-
cancelAsMulti: AugmentedSubmittable<
|
|
1118
|
-
(
|
|
1119
|
-
threshold: u16 | AnyNumber | Uint8Array,
|
|
1120
|
-
otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
|
|
1121
|
-
timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array,
|
|
1122
|
-
callHash: U8aFixed | string | Uint8Array,
|
|
1123
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1124
|
-
[u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]
|
|
1125
|
-
>;
|
|
473
|
+
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
|
|
1126
474
|
/**
|
|
1127
475
|
* Poke the deposit reserved for an existing multisig operation.
|
|
1128
|
-
*
|
|
476
|
+
*
|
|
1129
477
|
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
1130
478
|
* the multisig operation.
|
|
1131
|
-
*
|
|
479
|
+
*
|
|
1132
480
|
* The transaction fee is waived if the deposit amount has changed.
|
|
1133
|
-
*
|
|
481
|
+
*
|
|
1134
482
|
* - `threshold`: The total number of approvals needed for this multisig.
|
|
1135
483
|
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
1136
484
|
* multisig.
|
|
1137
485
|
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
1138
|
-
*
|
|
486
|
+
*
|
|
1139
487
|
* Emits `DepositPoked` if successful.
|
|
1140
488
|
**/
|
|
1141
|
-
pokeDeposit: AugmentedSubmittable<
|
|
1142
|
-
(
|
|
1143
|
-
threshold: u16 | AnyNumber | Uint8Array,
|
|
1144
|
-
otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
|
|
1145
|
-
callHash: U8aFixed | string | Uint8Array,
|
|
1146
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1147
|
-
[u16, Vec<AccountId32>, U8aFixed]
|
|
1148
|
-
>;
|
|
489
|
+
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
|
|
1149
490
|
};
|
|
1150
491
|
notaries: {
|
|
1151
|
-
activate: AugmentedSubmittable<
|
|
1152
|
-
|
|
1153
|
-
[AccountId32]
|
|
1154
|
-
>;
|
|
1155
|
-
propose: AugmentedSubmittable<
|
|
1156
|
-
(
|
|
1157
|
-
meta:
|
|
1158
|
-
| ArgonPrimitivesNotaryNotaryMeta
|
|
1159
|
-
| { name?: any; public?: any; hosts?: any }
|
|
1160
|
-
| string
|
|
1161
|
-
| Uint8Array,
|
|
1162
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1163
|
-
[ArgonPrimitivesNotaryNotaryMeta]
|
|
1164
|
-
>;
|
|
492
|
+
activate: AugmentedSubmittable<(operatorAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
493
|
+
propose: AugmentedSubmittable<(meta: ArgonPrimitivesNotaryNotaryMeta | { name?: any; public?: any; hosts?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesNotaryNotaryMeta]>;
|
|
1165
494
|
/**
|
|
1166
495
|
* Update the metadata of a notary, to be effective at the given tick height, which must be
|
|
1167
496
|
* >= MetaChangesTickDelay ticks in the future.
|
|
1168
497
|
**/
|
|
1169
|
-
update: AugmentedSubmittable<
|
|
1170
|
-
(
|
|
1171
|
-
notaryId: Compact<u32> | AnyNumber | Uint8Array,
|
|
1172
|
-
meta:
|
|
1173
|
-
| ArgonPrimitivesNotaryNotaryMeta
|
|
1174
|
-
| { name?: any; public?: any; hosts?: any }
|
|
1175
|
-
| string
|
|
1176
|
-
| Uint8Array,
|
|
1177
|
-
effectiveTick: Compact<u64> | AnyNumber | Uint8Array,
|
|
1178
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1179
|
-
[Compact<u32>, ArgonPrimitivesNotaryNotaryMeta, Compact<u64>]
|
|
1180
|
-
>;
|
|
498
|
+
update: AugmentedSubmittable<(notaryId: Compact<u32> | AnyNumber | Uint8Array, meta: ArgonPrimitivesNotaryNotaryMeta | { name?: any; public?: any; hosts?: any } | string | Uint8Array, effectiveTick: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, ArgonPrimitivesNotaryNotaryMeta, Compact<u64>]>;
|
|
1181
499
|
};
|
|
1182
500
|
notebook: {
|
|
1183
|
-
submit: AugmentedSubmittable<
|
|
1184
|
-
|
|
1185
|
-
notebooks:
|
|
1186
|
-
| Vec<ArgonPrimitivesNotebookSignedNotebookHeader>
|
|
1187
|
-
| (
|
|
1188
|
-
| ArgonPrimitivesNotebookSignedNotebookHeader
|
|
1189
|
-
| { header?: any; signature?: any }
|
|
1190
|
-
| string
|
|
1191
|
-
| Uint8Array
|
|
1192
|
-
)[],
|
|
1193
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1194
|
-
[Vec<ArgonPrimitivesNotebookSignedNotebookHeader>]
|
|
1195
|
-
>;
|
|
1196
|
-
unlock: AugmentedSubmittable<
|
|
1197
|
-
(notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1198
|
-
[u32]
|
|
1199
|
-
>;
|
|
501
|
+
submit: AugmentedSubmittable<(notebooks: Vec<ArgonPrimitivesNotebookSignedNotebookHeader> | (ArgonPrimitivesNotebookSignedNotebookHeader | { header?: any; signature?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<ArgonPrimitivesNotebookSignedNotebookHeader>]>;
|
|
502
|
+
unlock: AugmentedSubmittable<(notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1200
503
|
};
|
|
1201
504
|
operationalAccounts: {
|
|
1202
505
|
/**
|
|
@@ -1206,379 +509,161 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1206
509
|
/**
|
|
1207
510
|
* Claim pending operational rewards to any managed account.
|
|
1208
511
|
**/
|
|
1209
|
-
claimRewards: AugmentedSubmittable<
|
|
1210
|
-
(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1211
|
-
[u128]
|
|
1212
|
-
>;
|
|
512
|
+
claimRewards: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
1213
513
|
/**
|
|
1214
514
|
* Force-update operational progress markers for an account.
|
|
1215
515
|
**/
|
|
1216
|
-
forceSetProgress: AugmentedSubmittable<
|
|
1217
|
-
(
|
|
1218
|
-
owner: AccountId32 | string | Uint8Array,
|
|
1219
|
-
patch:
|
|
1220
|
-
| PalletOperationalAccountsOperationalProgressPatch
|
|
1221
|
-
| {
|
|
1222
|
-
uniswapArgonTransfersInAmount?: any;
|
|
1223
|
-
accountBitcoinAmount?: any;
|
|
1224
|
-
accountVaultBondAmount?: any;
|
|
1225
|
-
vaultCreated?: any;
|
|
1226
|
-
vaultBitcoinAmount?: any;
|
|
1227
|
-
miningSeatCount?: any;
|
|
1228
|
-
}
|
|
1229
|
-
| string
|
|
1230
|
-
| Uint8Array,
|
|
1231
|
-
updateOperationalProgress: bool | boolean | Uint8Array,
|
|
1232
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1233
|
-
[AccountId32, PalletOperationalAccountsOperationalProgressPatch, bool]
|
|
1234
|
-
>;
|
|
516
|
+
forceSetProgress: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, patch: PalletOperationalAccountsOperationalProgressPatch | { uniswapArgonTransfersInAmount?: any; accountBitcoinAmount?: any; accountVaultBondAmount?: any; vaultCreated?: any; vaultBitcoinAmount?: any; miningSeatCount?: any } | string | Uint8Array, updateOperationalProgress: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PalletOperationalAccountsOperationalProgressPatch, bool]>;
|
|
1235
517
|
/**
|
|
1236
518
|
* Register vault and mining accounts for an operational account.
|
|
1237
519
|
* Any account in the registration may submit the transaction.
|
|
1238
520
|
* When invite-only is enabled, the registration must include an upstream access proof.
|
|
1239
521
|
**/
|
|
1240
|
-
register: AugmentedSubmittable<
|
|
1241
|
-
(
|
|
1242
|
-
registration: PalletOperationalAccountsRegistration | { V1: any } | string | Uint8Array,
|
|
1243
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1244
|
-
[PalletOperationalAccountsRegistration]
|
|
1245
|
-
>;
|
|
522
|
+
register: AugmentedSubmittable<(registration: PalletOperationalAccountsRegistration | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletOperationalAccountsRegistration]>;
|
|
1246
523
|
/**
|
|
1247
524
|
* Update the display name on an operational account profile from any linked account.
|
|
1248
525
|
**/
|
|
1249
|
-
setName: AugmentedSubmittable<
|
|
1250
|
-
(name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>,
|
|
1251
|
-
[Option<Bytes>]
|
|
1252
|
-
>;
|
|
526
|
+
setName: AugmentedSubmittable<(name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [Option<Bytes>]>;
|
|
1253
527
|
/**
|
|
1254
528
|
* Update certification reward amounts for operational accounts.
|
|
1255
529
|
**/
|
|
1256
|
-
setRewardConfig: AugmentedSubmittable<
|
|
1257
|
-
(
|
|
1258
|
-
operationalCertificationReward: u128 | AnyNumber | Uint8Array,
|
|
1259
|
-
operationalCertificationBonusReward: u128 | AnyNumber | Uint8Array,
|
|
1260
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1261
|
-
[u128, u128]
|
|
1262
|
-
>;
|
|
530
|
+
setRewardConfig: AugmentedSubmittable<(operationalCertificationReward: u128 | AnyNumber | Uint8Array, operationalCertificationBonusReward: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u128]>;
|
|
1263
531
|
};
|
|
1264
532
|
ownership: {
|
|
1265
533
|
/**
|
|
1266
534
|
* Burn the specified liquid free balance from the origin account.
|
|
1267
|
-
*
|
|
535
|
+
*
|
|
1268
536
|
* If the origin's account ends up below the existential deposit as a result
|
|
1269
537
|
* of the burn and `keep_alive` is false, the account will be reaped.
|
|
1270
|
-
*
|
|
538
|
+
*
|
|
1271
539
|
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
1272
540
|
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
1273
541
|
**/
|
|
1274
|
-
burn: AugmentedSubmittable<
|
|
1275
|
-
(
|
|
1276
|
-
value: Compact<u128> | AnyNumber | Uint8Array,
|
|
1277
|
-
keepAlive: bool | boolean | Uint8Array,
|
|
1278
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1279
|
-
[Compact<u128>, bool]
|
|
1280
|
-
>;
|
|
542
|
+
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
|
|
1281
543
|
/**
|
|
1282
544
|
* Adjust the total issuance in a saturating way.
|
|
1283
|
-
*
|
|
545
|
+
*
|
|
1284
546
|
* Can only be called by root and always needs a positive `delta`.
|
|
1285
|
-
*
|
|
547
|
+
*
|
|
1286
548
|
* # Example
|
|
1287
549
|
**/
|
|
1288
|
-
forceAdjustTotalIssuance: AugmentedSubmittable<
|
|
1289
|
-
(
|
|
1290
|
-
direction:
|
|
1291
|
-
| PalletBalancesAdjustmentDirection
|
|
1292
|
-
| 'Increase'
|
|
1293
|
-
| 'Decrease'
|
|
1294
|
-
| number
|
|
1295
|
-
| Uint8Array,
|
|
1296
|
-
delta: Compact<u128> | AnyNumber | Uint8Array,
|
|
1297
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1298
|
-
[PalletBalancesAdjustmentDirection, Compact<u128>]
|
|
1299
|
-
>;
|
|
550
|
+
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
|
|
1300
551
|
/**
|
|
1301
552
|
* Set the regular balance of a given account.
|
|
1302
|
-
*
|
|
553
|
+
*
|
|
1303
554
|
* The dispatch origin for this call is `root`.
|
|
1304
555
|
**/
|
|
1305
|
-
forceSetBalance: AugmentedSubmittable<
|
|
1306
|
-
(
|
|
1307
|
-
who:
|
|
1308
|
-
| MultiAddress
|
|
1309
|
-
| { Id: any }
|
|
1310
|
-
| { Index: any }
|
|
1311
|
-
| { Raw: any }
|
|
1312
|
-
| { Address32: any }
|
|
1313
|
-
| { Address20: any }
|
|
1314
|
-
| string
|
|
1315
|
-
| Uint8Array,
|
|
1316
|
-
newFree: Compact<u128> | AnyNumber | Uint8Array,
|
|
1317
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1318
|
-
[MultiAddress, Compact<u128>]
|
|
1319
|
-
>;
|
|
556
|
+
forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
1320
557
|
/**
|
|
1321
558
|
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
|
1322
559
|
* may be specified.
|
|
1323
560
|
**/
|
|
1324
|
-
forceTransfer: AugmentedSubmittable<
|
|
1325
|
-
(
|
|
1326
|
-
source:
|
|
1327
|
-
| MultiAddress
|
|
1328
|
-
| { Id: any }
|
|
1329
|
-
| { Index: any }
|
|
1330
|
-
| { Raw: any }
|
|
1331
|
-
| { Address32: any }
|
|
1332
|
-
| { Address20: any }
|
|
1333
|
-
| string
|
|
1334
|
-
| Uint8Array,
|
|
1335
|
-
dest:
|
|
1336
|
-
| MultiAddress
|
|
1337
|
-
| { Id: any }
|
|
1338
|
-
| { Index: any }
|
|
1339
|
-
| { Raw: any }
|
|
1340
|
-
| { Address32: any }
|
|
1341
|
-
| { Address20: any }
|
|
1342
|
-
| string
|
|
1343
|
-
| Uint8Array,
|
|
1344
|
-
value: Compact<u128> | AnyNumber | Uint8Array,
|
|
1345
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1346
|
-
[MultiAddress, MultiAddress, Compact<u128>]
|
|
1347
|
-
>;
|
|
561
|
+
forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
|
1348
562
|
/**
|
|
1349
563
|
* Unreserve some balance from a user by force.
|
|
1350
|
-
*
|
|
564
|
+
*
|
|
1351
565
|
* Can only be called by ROOT.
|
|
1352
566
|
**/
|
|
1353
|
-
forceUnreserve: AugmentedSubmittable<
|
|
1354
|
-
(
|
|
1355
|
-
who:
|
|
1356
|
-
| MultiAddress
|
|
1357
|
-
| { Id: any }
|
|
1358
|
-
| { Index: any }
|
|
1359
|
-
| { Raw: any }
|
|
1360
|
-
| { Address32: any }
|
|
1361
|
-
| { Address20: any }
|
|
1362
|
-
| string
|
|
1363
|
-
| Uint8Array,
|
|
1364
|
-
amount: u128 | AnyNumber | Uint8Array,
|
|
1365
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1366
|
-
[MultiAddress, u128]
|
|
1367
|
-
>;
|
|
567
|
+
forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
|
1368
568
|
/**
|
|
1369
569
|
* Transfer the entire transferable balance from the caller account.
|
|
1370
|
-
*
|
|
570
|
+
*
|
|
1371
571
|
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
1372
572
|
* any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
|
|
1373
573
|
* transferred by this function. To ensure that this function results in a killed account,
|
|
1374
574
|
* you might need to prepare the account by removing any reference counters, storage
|
|
1375
575
|
* deposits, etc...
|
|
1376
|
-
*
|
|
576
|
+
*
|
|
1377
577
|
* The dispatch origin of this call must be Signed.
|
|
1378
|
-
*
|
|
578
|
+
*
|
|
1379
579
|
* - `dest`: The recipient of the transfer.
|
|
1380
580
|
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
1381
581
|
* of the funds the account has, causing the sender account to be killed (false), or
|
|
1382
582
|
* transfer everything except at least the existential deposit, which will guarantee to
|
|
1383
583
|
* keep the sender account alive (true).
|
|
1384
584
|
**/
|
|
1385
|
-
transferAll: AugmentedSubmittable<
|
|
1386
|
-
(
|
|
1387
|
-
dest:
|
|
1388
|
-
| MultiAddress
|
|
1389
|
-
| { Id: any }
|
|
1390
|
-
| { Index: any }
|
|
1391
|
-
| { Raw: any }
|
|
1392
|
-
| { Address32: any }
|
|
1393
|
-
| { Address20: any }
|
|
1394
|
-
| string
|
|
1395
|
-
| Uint8Array,
|
|
1396
|
-
keepAlive: bool | boolean | Uint8Array,
|
|
1397
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1398
|
-
[MultiAddress, bool]
|
|
1399
|
-
>;
|
|
585
|
+
transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
1400
586
|
/**
|
|
1401
587
|
* Transfer some liquid free balance to another account.
|
|
1402
|
-
*
|
|
588
|
+
*
|
|
1403
589
|
* `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
|
|
1404
590
|
* If the sender's account is below the existential deposit as a result
|
|
1405
591
|
* of the transfer, the account will be reaped.
|
|
1406
|
-
*
|
|
592
|
+
*
|
|
1407
593
|
* The dispatch origin for this call must be `Signed` by the transactor.
|
|
1408
594
|
**/
|
|
1409
|
-
transferAllowDeath: AugmentedSubmittable<
|
|
1410
|
-
(
|
|
1411
|
-
dest:
|
|
1412
|
-
| MultiAddress
|
|
1413
|
-
| { Id: any }
|
|
1414
|
-
| { Index: any }
|
|
1415
|
-
| { Raw: any }
|
|
1416
|
-
| { Address32: any }
|
|
1417
|
-
| { Address20: any }
|
|
1418
|
-
| string
|
|
1419
|
-
| Uint8Array,
|
|
1420
|
-
value: Compact<u128> | AnyNumber | Uint8Array,
|
|
1421
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1422
|
-
[MultiAddress, Compact<u128>]
|
|
1423
|
-
>;
|
|
595
|
+
transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
1424
596
|
/**
|
|
1425
597
|
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
|
1426
598
|
* kill the origin account.
|
|
1427
|
-
*
|
|
599
|
+
*
|
|
1428
600
|
* 99% of the time you want [`transfer_allow_death`] instead.
|
|
1429
|
-
*
|
|
601
|
+
*
|
|
1430
602
|
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
|
1431
603
|
**/
|
|
1432
|
-
transferKeepAlive: AugmentedSubmittable<
|
|
1433
|
-
(
|
|
1434
|
-
dest:
|
|
1435
|
-
| MultiAddress
|
|
1436
|
-
| { Id: any }
|
|
1437
|
-
| { Index: any }
|
|
1438
|
-
| { Raw: any }
|
|
1439
|
-
| { Address32: any }
|
|
1440
|
-
| { Address20: any }
|
|
1441
|
-
| string
|
|
1442
|
-
| Uint8Array,
|
|
1443
|
-
value: Compact<u128> | AnyNumber | Uint8Array,
|
|
1444
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1445
|
-
[MultiAddress, Compact<u128>]
|
|
1446
|
-
>;
|
|
604
|
+
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
1447
605
|
/**
|
|
1448
606
|
* Upgrade a specified account.
|
|
1449
|
-
*
|
|
607
|
+
*
|
|
1450
608
|
* - `origin`: Must be `Signed`.
|
|
1451
609
|
* - `who`: The account to be upgraded.
|
|
1452
|
-
*
|
|
610
|
+
*
|
|
1453
611
|
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
1454
612
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
1455
613
|
* possibility of churn).
|
|
1456
614
|
**/
|
|
1457
|
-
upgradeAccounts: AugmentedSubmittable<
|
|
1458
|
-
(
|
|
1459
|
-
who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
|
|
1460
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1461
|
-
[Vec<AccountId32>]
|
|
1462
|
-
>;
|
|
615
|
+
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
1463
616
|
};
|
|
1464
617
|
priceIndex: {
|
|
1465
618
|
/**
|
|
1466
619
|
* Sets the operator account id (only executable by the Root account)
|
|
1467
|
-
*
|
|
620
|
+
*
|
|
1468
621
|
* # Arguments
|
|
1469
622
|
* * `account_id` - the account id of the operator
|
|
1470
623
|
**/
|
|
1471
|
-
setOperator: AugmentedSubmittable<
|
|
1472
|
-
(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1473
|
-
[AccountId32]
|
|
1474
|
-
>;
|
|
624
|
+
setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
1475
625
|
/**
|
|
1476
626
|
* Submit the latest price index. Only valid for the configured operator account
|
|
1477
627
|
**/
|
|
1478
|
-
submit: AugmentedSubmittable<
|
|
1479
|
-
(
|
|
1480
|
-
index:
|
|
1481
|
-
| ArgonPrimitivesPriceIndex
|
|
1482
|
-
| {
|
|
1483
|
-
btcUsdPrice?: any;
|
|
1484
|
-
argonotUsdPrice?: any;
|
|
1485
|
-
argonUsdPrice?: any;
|
|
1486
|
-
argonUsdTargetPrice?: any;
|
|
1487
|
-
argonTimeWeightedAverageLiquidity?: any;
|
|
1488
|
-
tick?: any;
|
|
1489
|
-
usdcUsdPrice?: any;
|
|
1490
|
-
stabilizerPoolSqrtPriceX96?: any;
|
|
1491
|
-
}
|
|
1492
|
-
| string
|
|
1493
|
-
| Uint8Array,
|
|
1494
|
-
ethereum:
|
|
1495
|
-
| Option<PalletPriceIndexEthereumPriceIndex>
|
|
1496
|
-
| null
|
|
1497
|
-
| Uint8Array
|
|
1498
|
-
| PalletPriceIndexEthereumPriceIndex
|
|
1499
|
-
| { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any }
|
|
1500
|
-
| string,
|
|
1501
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1502
|
-
[ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]
|
|
1503
|
-
>;
|
|
628
|
+
submit: AugmentedSubmittable<(index: ArgonPrimitivesPriceIndex | { btcUsdPrice?: any; argonotUsdPrice?: any; argonUsdPrice?: any; argonUsdTargetPrice?: any; argonTimeWeightedAverageLiquidity?: any; tick?: any; usdcUsdPrice?: any; stabilizerPoolSqrtPriceX96?: any } | string | Uint8Array, ethereum: Option<PalletPriceIndexEthereumPriceIndex> | null | Uint8Array | PalletPriceIndexEthereumPriceIndex | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any } | string) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]>;
|
|
1504
629
|
};
|
|
1505
630
|
proxy: {
|
|
1506
631
|
/**
|
|
1507
632
|
* Register a proxy account for the sender that is able to make calls on its behalf.
|
|
1508
|
-
*
|
|
633
|
+
*
|
|
1509
634
|
* The dispatch origin for this call must be _Signed_.
|
|
1510
|
-
*
|
|
635
|
+
*
|
|
1511
636
|
* Parameters:
|
|
1512
637
|
* - `proxy`: The account that the `caller` would like to make a proxy.
|
|
1513
638
|
* - `proxy_type`: The permissions allowed for this proxy account.
|
|
1514
639
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
1515
640
|
* zero.
|
|
1516
641
|
**/
|
|
1517
|
-
addProxy: AugmentedSubmittable<
|
|
1518
|
-
(
|
|
1519
|
-
delegate:
|
|
1520
|
-
| MultiAddress
|
|
1521
|
-
| { Id: any }
|
|
1522
|
-
| { Index: any }
|
|
1523
|
-
| { Raw: any }
|
|
1524
|
-
| { Address32: any }
|
|
1525
|
-
| { Address20: any }
|
|
1526
|
-
| string
|
|
1527
|
-
| Uint8Array,
|
|
1528
|
-
proxyType:
|
|
1529
|
-
| ArgonRuntimeProxyType
|
|
1530
|
-
| 'Any'
|
|
1531
|
-
| 'NonTransfer'
|
|
1532
|
-
| 'PriceIndex'
|
|
1533
|
-
| 'MiningBid'
|
|
1534
|
-
| 'MiningBidRealPaysFee'
|
|
1535
|
-
| 'Bitcoin'
|
|
1536
|
-
| 'VaultAdmin'
|
|
1537
|
-
| 'VaultDelegate'
|
|
1538
|
-
| number
|
|
1539
|
-
| Uint8Array,
|
|
1540
|
-
delay: u32 | AnyNumber | Uint8Array,
|
|
1541
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1542
|
-
[MultiAddress, ArgonRuntimeProxyType, u32]
|
|
1543
|
-
>;
|
|
642
|
+
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
|
|
1544
643
|
/**
|
|
1545
644
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
1546
|
-
*
|
|
645
|
+
*
|
|
1547
646
|
* This must be called some number of blocks before the corresponding `proxy` is attempted
|
|
1548
647
|
* if the delay associated with the proxy relationship is greater than zero.
|
|
1549
|
-
*
|
|
648
|
+
*
|
|
1550
649
|
* No more than `MaxPending` announcements may be made at any one time.
|
|
1551
|
-
*
|
|
650
|
+
*
|
|
1552
651
|
* This will take a deposit of `AnnouncementDepositFactor` as well as
|
|
1553
652
|
* `AnnouncementDepositBase` if there are no other pending announcements.
|
|
1554
|
-
*
|
|
653
|
+
*
|
|
1555
654
|
* The dispatch origin for this call must be _Signed_ and a proxy of `real`.
|
|
1556
|
-
*
|
|
655
|
+
*
|
|
1557
656
|
* Parameters:
|
|
1558
657
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
1559
658
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
1560
659
|
**/
|
|
1561
|
-
announce: AugmentedSubmittable<
|
|
1562
|
-
(
|
|
1563
|
-
real:
|
|
1564
|
-
| MultiAddress
|
|
1565
|
-
| { Id: any }
|
|
1566
|
-
| { Index: any }
|
|
1567
|
-
| { Raw: any }
|
|
1568
|
-
| { Address32: any }
|
|
1569
|
-
| { Address20: any }
|
|
1570
|
-
| string
|
|
1571
|
-
| Uint8Array,
|
|
1572
|
-
callHash: H256 | string | Uint8Array,
|
|
1573
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1574
|
-
[MultiAddress, H256]
|
|
1575
|
-
>;
|
|
660
|
+
announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
1576
661
|
/**
|
|
1577
662
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
|
1578
663
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
|
1579
|
-
*
|
|
664
|
+
*
|
|
1580
665
|
* Requires a `Signed` origin.
|
|
1581
|
-
*
|
|
666
|
+
*
|
|
1582
667
|
* - `proxy_type`: The type of the proxy that the sender will be registered as over the
|
|
1583
668
|
* new account. This will almost always be the most permissive `ProxyType` possible to
|
|
1584
669
|
* allow for maximum flexibility.
|
|
@@ -1587,358 +672,145 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1587
672
|
* want to use `0`.
|
|
1588
673
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
1589
674
|
* zero.
|
|
1590
|
-
*
|
|
675
|
+
*
|
|
1591
676
|
* Fails with `Duplicate` if this has already been called in this transaction, from the
|
|
1592
677
|
* same sender, with the same parameters.
|
|
1593
|
-
*
|
|
678
|
+
*
|
|
1594
679
|
* Fails if there are insufficient funds to pay for deposit.
|
|
1595
680
|
**/
|
|
1596
|
-
createPure: AugmentedSubmittable<
|
|
1597
|
-
(
|
|
1598
|
-
proxyType:
|
|
1599
|
-
| ArgonRuntimeProxyType
|
|
1600
|
-
| 'Any'
|
|
1601
|
-
| 'NonTransfer'
|
|
1602
|
-
| 'PriceIndex'
|
|
1603
|
-
| 'MiningBid'
|
|
1604
|
-
| 'MiningBidRealPaysFee'
|
|
1605
|
-
| 'Bitcoin'
|
|
1606
|
-
| 'VaultAdmin'
|
|
1607
|
-
| 'VaultDelegate'
|
|
1608
|
-
| number
|
|
1609
|
-
| Uint8Array,
|
|
1610
|
-
delay: u32 | AnyNumber | Uint8Array,
|
|
1611
|
-
index: u16 | AnyNumber | Uint8Array,
|
|
1612
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1613
|
-
[ArgonRuntimeProxyType, u32, u16]
|
|
1614
|
-
>;
|
|
681
|
+
createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeProxyType, u32, u16]>;
|
|
1615
682
|
/**
|
|
1616
683
|
* Removes a previously spawned pure proxy.
|
|
1617
|
-
*
|
|
684
|
+
*
|
|
1618
685
|
* WARNING: **All access to this account will be lost.** Any funds held in it will be
|
|
1619
686
|
* inaccessible.
|
|
1620
|
-
*
|
|
687
|
+
*
|
|
1621
688
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
1622
689
|
* `create_pure` with corresponding parameters.
|
|
1623
|
-
*
|
|
690
|
+
*
|
|
1624
691
|
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
1625
692
|
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
1626
693
|
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
1627
694
|
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
1628
695
|
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
1629
|
-
*
|
|
696
|
+
*
|
|
1630
697
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
1631
698
|
* account whose `create_pure` call has corresponding parameters.
|
|
1632
699
|
**/
|
|
1633
|
-
killPure: AugmentedSubmittable<
|
|
1634
|
-
(
|
|
1635
|
-
spawner:
|
|
1636
|
-
| MultiAddress
|
|
1637
|
-
| { Id: any }
|
|
1638
|
-
| { Index: any }
|
|
1639
|
-
| { Raw: any }
|
|
1640
|
-
| { Address32: any }
|
|
1641
|
-
| { Address20: any }
|
|
1642
|
-
| string
|
|
1643
|
-
| Uint8Array,
|
|
1644
|
-
proxyType:
|
|
1645
|
-
| ArgonRuntimeProxyType
|
|
1646
|
-
| 'Any'
|
|
1647
|
-
| 'NonTransfer'
|
|
1648
|
-
| 'PriceIndex'
|
|
1649
|
-
| 'MiningBid'
|
|
1650
|
-
| 'MiningBidRealPaysFee'
|
|
1651
|
-
| 'Bitcoin'
|
|
1652
|
-
| 'VaultAdmin'
|
|
1653
|
-
| 'VaultDelegate'
|
|
1654
|
-
| number
|
|
1655
|
-
| Uint8Array,
|
|
1656
|
-
index: u16 | AnyNumber | Uint8Array,
|
|
1657
|
-
height: Compact<u32> | AnyNumber | Uint8Array,
|
|
1658
|
-
extIndex: Compact<u32> | AnyNumber | Uint8Array,
|
|
1659
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1660
|
-
[MultiAddress, ArgonRuntimeProxyType, u16, Compact<u32>, Compact<u32>]
|
|
1661
|
-
>;
|
|
700
|
+
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
1662
701
|
/**
|
|
1663
702
|
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
1664
703
|
* This can be used by accounts to possibly lower their locked amount.
|
|
1665
|
-
*
|
|
704
|
+
*
|
|
1666
705
|
* The dispatch origin for this call must be _Signed_.
|
|
1667
|
-
*
|
|
706
|
+
*
|
|
1668
707
|
* The transaction fee is waived if the deposit amount has changed.
|
|
1669
|
-
*
|
|
708
|
+
*
|
|
1670
709
|
* Emits `DepositPoked` if successful.
|
|
1671
710
|
**/
|
|
1672
711
|
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1673
712
|
/**
|
|
1674
713
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
1675
714
|
* `add_proxy`.
|
|
1676
|
-
*
|
|
715
|
+
*
|
|
1677
716
|
* The dispatch origin for this call must be _Signed_.
|
|
1678
|
-
*
|
|
717
|
+
*
|
|
1679
718
|
* Parameters:
|
|
1680
719
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
1681
720
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
1682
721
|
* - `call`: The call to be made by the `real` account.
|
|
1683
722
|
**/
|
|
1684
|
-
proxy: AugmentedSubmittable<
|
|
1685
|
-
(
|
|
1686
|
-
real:
|
|
1687
|
-
| MultiAddress
|
|
1688
|
-
| { Id: any }
|
|
1689
|
-
| { Index: any }
|
|
1690
|
-
| { Raw: any }
|
|
1691
|
-
| { Address32: any }
|
|
1692
|
-
| { Address20: any }
|
|
1693
|
-
| string
|
|
1694
|
-
| Uint8Array,
|
|
1695
|
-
forceProxyType:
|
|
1696
|
-
| Option<ArgonRuntimeProxyType>
|
|
1697
|
-
| null
|
|
1698
|
-
| Uint8Array
|
|
1699
|
-
| ArgonRuntimeProxyType
|
|
1700
|
-
| 'Any'
|
|
1701
|
-
| 'NonTransfer'
|
|
1702
|
-
| 'PriceIndex'
|
|
1703
|
-
| 'MiningBid'
|
|
1704
|
-
| 'MiningBidRealPaysFee'
|
|
1705
|
-
| 'Bitcoin'
|
|
1706
|
-
| 'VaultAdmin'
|
|
1707
|
-
| 'VaultDelegate'
|
|
1708
|
-
| number,
|
|
1709
|
-
call: Call | IMethod | string | Uint8Array,
|
|
1710
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1711
|
-
[MultiAddress, Option<ArgonRuntimeProxyType>, Call]
|
|
1712
|
-
>;
|
|
723
|
+
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
|
|
1713
724
|
/**
|
|
1714
725
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
1715
726
|
* `add_proxy`.
|
|
1716
|
-
*
|
|
727
|
+
*
|
|
1717
728
|
* Removes any corresponding announcement(s).
|
|
1718
|
-
*
|
|
729
|
+
*
|
|
1719
730
|
* The dispatch origin for this call must be _Signed_.
|
|
1720
|
-
*
|
|
731
|
+
*
|
|
1721
732
|
* Parameters:
|
|
1722
733
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
1723
734
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
1724
735
|
* - `call`: The call to be made by the `real` account.
|
|
1725
736
|
**/
|
|
1726
|
-
proxyAnnounced: AugmentedSubmittable<
|
|
1727
|
-
(
|
|
1728
|
-
delegate:
|
|
1729
|
-
| MultiAddress
|
|
1730
|
-
| { Id: any }
|
|
1731
|
-
| { Index: any }
|
|
1732
|
-
| { Raw: any }
|
|
1733
|
-
| { Address32: any }
|
|
1734
|
-
| { Address20: any }
|
|
1735
|
-
| string
|
|
1736
|
-
| Uint8Array,
|
|
1737
|
-
real:
|
|
1738
|
-
| MultiAddress
|
|
1739
|
-
| { Id: any }
|
|
1740
|
-
| { Index: any }
|
|
1741
|
-
| { Raw: any }
|
|
1742
|
-
| { Address32: any }
|
|
1743
|
-
| { Address20: any }
|
|
1744
|
-
| string
|
|
1745
|
-
| Uint8Array,
|
|
1746
|
-
forceProxyType:
|
|
1747
|
-
| Option<ArgonRuntimeProxyType>
|
|
1748
|
-
| null
|
|
1749
|
-
| Uint8Array
|
|
1750
|
-
| ArgonRuntimeProxyType
|
|
1751
|
-
| 'Any'
|
|
1752
|
-
| 'NonTransfer'
|
|
1753
|
-
| 'PriceIndex'
|
|
1754
|
-
| 'MiningBid'
|
|
1755
|
-
| 'MiningBidRealPaysFee'
|
|
1756
|
-
| 'Bitcoin'
|
|
1757
|
-
| 'VaultAdmin'
|
|
1758
|
-
| 'VaultDelegate'
|
|
1759
|
-
| number,
|
|
1760
|
-
call: Call | IMethod | string | Uint8Array,
|
|
1761
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1762
|
-
[MultiAddress, MultiAddress, Option<ArgonRuntimeProxyType>, Call]
|
|
1763
|
-
>;
|
|
737
|
+
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
|
|
1764
738
|
/**
|
|
1765
739
|
* Remove the given announcement of a delegate.
|
|
1766
|
-
*
|
|
740
|
+
*
|
|
1767
741
|
* May be called by a target (proxied) account to remove a call that one of their delegates
|
|
1768
742
|
* (`delegate`) has announced they want to execute. The deposit is returned.
|
|
1769
|
-
*
|
|
743
|
+
*
|
|
1770
744
|
* The dispatch origin for this call must be _Signed_.
|
|
1771
|
-
*
|
|
745
|
+
*
|
|
1772
746
|
* Parameters:
|
|
1773
747
|
* - `delegate`: The account that previously announced the call.
|
|
1774
748
|
* - `call_hash`: The hash of the call to be made.
|
|
1775
749
|
**/
|
|
1776
|
-
rejectAnnouncement: AugmentedSubmittable<
|
|
1777
|
-
(
|
|
1778
|
-
delegate:
|
|
1779
|
-
| MultiAddress
|
|
1780
|
-
| { Id: any }
|
|
1781
|
-
| { Index: any }
|
|
1782
|
-
| { Raw: any }
|
|
1783
|
-
| { Address32: any }
|
|
1784
|
-
| { Address20: any }
|
|
1785
|
-
| string
|
|
1786
|
-
| Uint8Array,
|
|
1787
|
-
callHash: H256 | string | Uint8Array,
|
|
1788
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1789
|
-
[MultiAddress, H256]
|
|
1790
|
-
>;
|
|
750
|
+
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
1791
751
|
/**
|
|
1792
752
|
* Remove a given announcement.
|
|
1793
|
-
*
|
|
753
|
+
*
|
|
1794
754
|
* May be called by a proxy account to remove a call they previously announced and return
|
|
1795
755
|
* the deposit.
|
|
1796
|
-
*
|
|
756
|
+
*
|
|
1797
757
|
* The dispatch origin for this call must be _Signed_.
|
|
1798
|
-
*
|
|
758
|
+
*
|
|
1799
759
|
* Parameters:
|
|
1800
760
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
1801
761
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
1802
762
|
**/
|
|
1803
|
-
removeAnnouncement: AugmentedSubmittable<
|
|
1804
|
-
(
|
|
1805
|
-
real:
|
|
1806
|
-
| MultiAddress
|
|
1807
|
-
| { Id: any }
|
|
1808
|
-
| { Index: any }
|
|
1809
|
-
| { Raw: any }
|
|
1810
|
-
| { Address32: any }
|
|
1811
|
-
| { Address20: any }
|
|
1812
|
-
| string
|
|
1813
|
-
| Uint8Array,
|
|
1814
|
-
callHash: H256 | string | Uint8Array,
|
|
1815
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1816
|
-
[MultiAddress, H256]
|
|
1817
|
-
>;
|
|
763
|
+
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
1818
764
|
/**
|
|
1819
765
|
* Unregister all proxy accounts for the sender.
|
|
1820
|
-
*
|
|
766
|
+
*
|
|
1821
767
|
* The dispatch origin for this call must be _Signed_.
|
|
1822
|
-
*
|
|
768
|
+
*
|
|
1823
769
|
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
1824
770
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
1825
771
|
**/
|
|
1826
772
|
removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1827
773
|
/**
|
|
1828
774
|
* Unregister a proxy account for the sender.
|
|
1829
|
-
*
|
|
775
|
+
*
|
|
1830
776
|
* The dispatch origin for this call must be _Signed_.
|
|
1831
|
-
*
|
|
777
|
+
*
|
|
1832
778
|
* Parameters:
|
|
1833
779
|
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
|
1834
780
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
1835
781
|
**/
|
|
1836
|
-
removeProxy: AugmentedSubmittable<
|
|
1837
|
-
(
|
|
1838
|
-
delegate:
|
|
1839
|
-
| MultiAddress
|
|
1840
|
-
| { Id: any }
|
|
1841
|
-
| { Index: any }
|
|
1842
|
-
| { Raw: any }
|
|
1843
|
-
| { Address32: any }
|
|
1844
|
-
| { Address20: any }
|
|
1845
|
-
| string
|
|
1846
|
-
| Uint8Array,
|
|
1847
|
-
proxyType:
|
|
1848
|
-
| ArgonRuntimeProxyType
|
|
1849
|
-
| 'Any'
|
|
1850
|
-
| 'NonTransfer'
|
|
1851
|
-
| 'PriceIndex'
|
|
1852
|
-
| 'MiningBid'
|
|
1853
|
-
| 'MiningBidRealPaysFee'
|
|
1854
|
-
| 'Bitcoin'
|
|
1855
|
-
| 'VaultAdmin'
|
|
1856
|
-
| 'VaultDelegate'
|
|
1857
|
-
| number
|
|
1858
|
-
| Uint8Array,
|
|
1859
|
-
delay: u32 | AnyNumber | Uint8Array,
|
|
1860
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1861
|
-
[MultiAddress, ArgonRuntimeProxyType, u32]
|
|
1862
|
-
>;
|
|
782
|
+
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
|
|
1863
783
|
};
|
|
1864
784
|
stabilizerBuys: {
|
|
1865
785
|
/**
|
|
1866
786
|
* Submit a whole-percent bid during F+1. Larger matching bases break equal-rate ties;
|
|
1867
787
|
* account ID orders bids with the same rate and matching basis.
|
|
1868
788
|
**/
|
|
1869
|
-
bid: AugmentedSubmittable<
|
|
1870
|
-
(
|
|
1871
|
-
admissionFrame: u64 | AnyNumber | Uint8Array,
|
|
1872
|
-
rewardRate: Percent | AnyNumber | Uint8Array,
|
|
1873
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1874
|
-
[u64, Percent]
|
|
1875
|
-
>;
|
|
789
|
+
bid: AugmentedSubmittable<(admissionFrame: u64 | AnyNumber | Uint8Array, rewardRate: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Percent]>;
|
|
1876
790
|
/**
|
|
1877
791
|
* Select the reward pool, or disable new purchase eligibility.
|
|
1878
792
|
**/
|
|
1879
|
-
setApprovedPool: AugmentedSubmittable<
|
|
1880
|
-
(
|
|
1881
|
-
pool:
|
|
1882
|
-
| Option<PalletStabilizerBuysUniswapPurchasePurchasePool>
|
|
1883
|
-
| null
|
|
1884
|
-
| Uint8Array
|
|
1885
|
-
| PalletStabilizerBuysUniswapPurchasePurchasePool
|
|
1886
|
-
| {
|
|
1887
|
-
chainId?: any;
|
|
1888
|
-
poolManager?: any;
|
|
1889
|
-
poolId?: any;
|
|
1890
|
-
usdcToken?: any;
|
|
1891
|
-
argonIsToken0?: any;
|
|
1892
|
-
}
|
|
1893
|
-
| string,
|
|
1894
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1895
|
-
[Option<PalletStabilizerBuysUniswapPurchasePurchasePool>]
|
|
1896
|
-
>;
|
|
793
|
+
setApprovedPool: AugmentedSubmittable<(pool: Option<PalletStabilizerBuysUniswapPurchasePurchasePool> | null | Uint8Array | PalletStabilizerBuysUniswapPurchasePurchasePool | { chainId?: any; poolManager?: any; poolId?: any; usdcToken?: any; argonIsToken0?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletStabilizerBuysUniswapPurchasePurchasePool>]>;
|
|
1897
794
|
/**
|
|
1898
795
|
* Change matching for newly created auctions; existing policy remains frozen.
|
|
1899
796
|
**/
|
|
1900
|
-
setMatchingRate: AugmentedSubmittable<
|
|
1901
|
-
(rate: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1902
|
-
[Permill]
|
|
1903
|
-
>;
|
|
797
|
+
setMatchingRate: AugmentedSubmittable<(rate: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Permill]>;
|
|
1904
798
|
};
|
|
1905
799
|
stabilizerPools: {
|
|
1906
800
|
/**
|
|
1907
801
|
* Register a baseline, extend a maintained revision, or reset after an unproven change.
|
|
1908
802
|
**/
|
|
1909
|
-
checkpointPosition: AugmentedSubmittable<
|
|
1910
|
-
(
|
|
1911
|
-
poolManager: H160 | string | Uint8Array,
|
|
1912
|
-
poolId: H256 | string | Uint8Array,
|
|
1913
|
-
tokenId: U256 | AnyNumber | Uint8Array,
|
|
1914
|
-
proof:
|
|
1915
|
-
| PalletStabilizerPoolsPositionProof
|
|
1916
|
-
| { subscriber?: any; positionManager?: any; poolManager?: any }
|
|
1917
|
-
| string
|
|
1918
|
-
| Uint8Array,
|
|
1919
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1920
|
-
[H160, H256, U256, PalletStabilizerPoolsPositionProof]
|
|
1921
|
-
>;
|
|
803
|
+
checkpointPosition: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, poolId: H256 | string | Uint8Array, tokenId: U256 | AnyNumber | Uint8Array, proof: PalletStabilizerPoolsPositionProof | { subscriber?: any; positionManager?: any; poolManager?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H256, U256, PalletStabilizerPoolsPositionProof]>;
|
|
1922
804
|
/**
|
|
1923
805
|
* Approve immutable deployment bindings and the canonical pool key.
|
|
1924
806
|
* Root must verify the pinned implementations and their immutable bindings first.
|
|
1925
807
|
**/
|
|
1926
|
-
registerPool: AugmentedSubmittable<
|
|
1927
|
-
(
|
|
1928
|
-
poolManager: H160 | string | Uint8Array,
|
|
1929
|
-
config:
|
|
1930
|
-
| PalletStabilizerPoolsPoolConfig
|
|
1931
|
-
| { positionManager?: any; subscriber?: any; key?: any }
|
|
1932
|
-
| string
|
|
1933
|
-
| Uint8Array,
|
|
1934
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1935
|
-
[H160, PalletStabilizerPoolsPoolConfig]
|
|
1936
|
-
>;
|
|
808
|
+
registerPool: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, config: PalletStabilizerPoolsPoolConfig | { positionManager?: any; subscriber?: any; key?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, PalletStabilizerPoolsPoolConfig]>;
|
|
1937
809
|
};
|
|
1938
810
|
sudo: {
|
|
1939
811
|
/**
|
|
1940
812
|
* Permanently removes the sudo key.
|
|
1941
|
-
*
|
|
813
|
+
*
|
|
1942
814
|
* **This cannot be un-done.**
|
|
1943
815
|
**/
|
|
1944
816
|
removeKey: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
@@ -1946,206 +818,124 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1946
818
|
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
|
|
1947
819
|
* key.
|
|
1948
820
|
**/
|
|
1949
|
-
setKey: AugmentedSubmittable<
|
|
1950
|
-
(
|
|
1951
|
-
updated:
|
|
1952
|
-
| MultiAddress
|
|
1953
|
-
| { Id: any }
|
|
1954
|
-
| { Index: any }
|
|
1955
|
-
| { Raw: any }
|
|
1956
|
-
| { Address32: any }
|
|
1957
|
-
| { Address20: any }
|
|
1958
|
-
| string
|
|
1959
|
-
| Uint8Array,
|
|
1960
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1961
|
-
[MultiAddress]
|
|
1962
|
-
>;
|
|
821
|
+
setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1963
822
|
/**
|
|
1964
823
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
1965
824
|
**/
|
|
1966
|
-
sudo: AugmentedSubmittable<
|
|
1967
|
-
(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1968
|
-
[Call]
|
|
1969
|
-
>;
|
|
825
|
+
sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
|
|
1970
826
|
/**
|
|
1971
827
|
* Authenticates the sudo key and dispatches a function call with `Signed` origin from
|
|
1972
828
|
* a given account.
|
|
1973
|
-
*
|
|
829
|
+
*
|
|
1974
830
|
* The dispatch origin for this call must be _Signed_.
|
|
1975
831
|
**/
|
|
1976
|
-
sudoAs: AugmentedSubmittable<
|
|
1977
|
-
(
|
|
1978
|
-
who:
|
|
1979
|
-
| MultiAddress
|
|
1980
|
-
| { Id: any }
|
|
1981
|
-
| { Index: any }
|
|
1982
|
-
| { Raw: any }
|
|
1983
|
-
| { Address32: any }
|
|
1984
|
-
| { Address20: any }
|
|
1985
|
-
| string
|
|
1986
|
-
| Uint8Array,
|
|
1987
|
-
call: Call | IMethod | string | Uint8Array,
|
|
1988
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1989
|
-
[MultiAddress, Call]
|
|
1990
|
-
>;
|
|
832
|
+
sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
|
|
1991
833
|
/**
|
|
1992
834
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
1993
835
|
* This function does not check the weight of the call, and instead allows the
|
|
1994
836
|
* Sudo user to specify the weight of the call.
|
|
1995
|
-
*
|
|
837
|
+
*
|
|
1996
838
|
* The dispatch origin for this call must be _Signed_.
|
|
1997
839
|
**/
|
|
1998
|
-
sudoUncheckedWeight: AugmentedSubmittable<
|
|
1999
|
-
(
|
|
2000
|
-
call: Call | IMethod | string | Uint8Array,
|
|
2001
|
-
weight:
|
|
2002
|
-
| SpWeightsWeightV2Weight
|
|
2003
|
-
| { refTime?: any; proofSize?: any }
|
|
2004
|
-
| string
|
|
2005
|
-
| Uint8Array,
|
|
2006
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2007
|
-
[Call, SpWeightsWeightV2Weight]
|
|
2008
|
-
>;
|
|
840
|
+
sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
|
|
2009
841
|
};
|
|
2010
842
|
system: {
|
|
2011
843
|
/**
|
|
2012
844
|
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|
|
2013
|
-
*
|
|
845
|
+
*
|
|
2014
846
|
* If the authorization required a version check, this call will ensure the spec name
|
|
2015
847
|
* remains unchanged and that the spec version has increased.
|
|
2016
|
-
*
|
|
848
|
+
*
|
|
2017
849
|
* Depending on the runtime's `OnSetCode` configuration, this function may directly apply
|
|
2018
850
|
* the new `code` in the same block or attempt to schedule the upgrade.
|
|
2019
|
-
*
|
|
851
|
+
*
|
|
2020
852
|
* All origins are allowed.
|
|
2021
853
|
**/
|
|
2022
|
-
applyAuthorizedUpgrade: AugmentedSubmittable<
|
|
2023
|
-
(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2024
|
-
[Bytes]
|
|
2025
|
-
>;
|
|
854
|
+
applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
2026
855
|
/**
|
|
2027
856
|
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
2028
857
|
* later.
|
|
2029
|
-
*
|
|
858
|
+
*
|
|
2030
859
|
* This call requires Root origin.
|
|
2031
860
|
**/
|
|
2032
|
-
authorizeUpgrade: AugmentedSubmittable<
|
|
2033
|
-
(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2034
|
-
[H256]
|
|
2035
|
-
>;
|
|
861
|
+
authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
2036
862
|
/**
|
|
2037
863
|
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
2038
864
|
* later.
|
|
2039
|
-
*
|
|
865
|
+
*
|
|
2040
866
|
* WARNING: This authorizes an upgrade that will take place without any safety checks, for
|
|
2041
867
|
* example that the spec name remains the same and that the version number increases. Not
|
|
2042
868
|
* recommended for normal use. Use `authorize_upgrade` instead.
|
|
2043
|
-
*
|
|
869
|
+
*
|
|
2044
870
|
* This call requires Root origin.
|
|
2045
871
|
**/
|
|
2046
|
-
authorizeUpgradeWithoutChecks: AugmentedSubmittable<
|
|
2047
|
-
(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2048
|
-
[H256]
|
|
2049
|
-
>;
|
|
872
|
+
authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
2050
873
|
/**
|
|
2051
874
|
* Kill all storage items with a key that starts with the given prefix.
|
|
2052
|
-
*
|
|
875
|
+
*
|
|
2053
876
|
* **NOTE:** We rely on the Root origin to provide us the number of subkeys under
|
|
2054
877
|
* the prefix we are removing to accurately calculate the weight of this function.
|
|
2055
878
|
**/
|
|
2056
|
-
killPrefix: AugmentedSubmittable<
|
|
2057
|
-
(
|
|
2058
|
-
prefix: Bytes | string | Uint8Array,
|
|
2059
|
-
subkeys: u32 | AnyNumber | Uint8Array,
|
|
2060
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2061
|
-
[Bytes, u32]
|
|
2062
|
-
>;
|
|
879
|
+
killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
|
|
2063
880
|
/**
|
|
2064
881
|
* Kill some items from storage.
|
|
2065
882
|
**/
|
|
2066
|
-
killStorage: AugmentedSubmittable<
|
|
2067
|
-
(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>,
|
|
2068
|
-
[Vec<Bytes>]
|
|
2069
|
-
>;
|
|
883
|
+
killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
|
|
2070
884
|
/**
|
|
2071
885
|
* Make some on-chain remark.
|
|
2072
|
-
*
|
|
886
|
+
*
|
|
2073
887
|
* Can be executed by every `origin`.
|
|
2074
888
|
**/
|
|
2075
|
-
remark: AugmentedSubmittable<
|
|
2076
|
-
(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2077
|
-
[Bytes]
|
|
2078
|
-
>;
|
|
889
|
+
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
2079
890
|
/**
|
|
2080
891
|
* Make some on-chain remark and emit event.
|
|
2081
892
|
**/
|
|
2082
|
-
remarkWithEvent: AugmentedSubmittable<
|
|
2083
|
-
(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2084
|
-
[Bytes]
|
|
2085
|
-
>;
|
|
893
|
+
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
2086
894
|
/**
|
|
2087
895
|
* Set the new runtime code.
|
|
2088
896
|
**/
|
|
2089
|
-
setCode: AugmentedSubmittable<
|
|
2090
|
-
(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2091
|
-
[Bytes]
|
|
2092
|
-
>;
|
|
897
|
+
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
2093
898
|
/**
|
|
2094
899
|
* Set the new runtime code without doing any checks of the given `code`.
|
|
2095
|
-
*
|
|
900
|
+
*
|
|
2096
901
|
* Note that runtime upgrades will not run if this is called with a not-increasing spec
|
|
2097
902
|
* version!
|
|
2098
903
|
**/
|
|
2099
|
-
setCodeWithoutChecks: AugmentedSubmittable<
|
|
2100
|
-
(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2101
|
-
[Bytes]
|
|
2102
|
-
>;
|
|
904
|
+
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
2103
905
|
/**
|
|
2104
906
|
* Set the number of pages in the WebAssembly environment's heap.
|
|
2105
907
|
**/
|
|
2106
|
-
setHeapPages: AugmentedSubmittable<
|
|
2107
|
-
(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2108
|
-
[u64]
|
|
2109
|
-
>;
|
|
908
|
+
setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
2110
909
|
/**
|
|
2111
910
|
* Set some items of storage.
|
|
2112
911
|
**/
|
|
2113
|
-
setStorage: AugmentedSubmittable<
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
| Vec<ITuple<[Bytes, Bytes]>>
|
|
2117
|
-
| [Bytes | string | Uint8Array, Bytes | string | Uint8Array][],
|
|
2118
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2119
|
-
[Vec<ITuple<[Bytes, Bytes]>>]
|
|
2120
|
-
>;
|
|
912
|
+
setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
|
|
913
|
+
};
|
|
914
|
+
ticks: {
|
|
2121
915
|
};
|
|
2122
|
-
ticks: {};
|
|
2123
916
|
timestamp: {
|
|
2124
917
|
/**
|
|
2125
918
|
* Set the current time.
|
|
2126
|
-
*
|
|
919
|
+
*
|
|
2127
920
|
* This call should be invoked exactly once per block. It will panic at the finalization
|
|
2128
921
|
* phase, if this call hasn't been invoked by that time.
|
|
2129
|
-
*
|
|
922
|
+
*
|
|
2130
923
|
* The timestamp should be greater than the previous one by the amount specified by
|
|
2131
924
|
* [`Config::MinimumPeriod`].
|
|
2132
|
-
*
|
|
925
|
+
*
|
|
2133
926
|
* The dispatch origin for this call must be _None_.
|
|
2134
|
-
*
|
|
927
|
+
*
|
|
2135
928
|
* This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware
|
|
2136
929
|
* that changing the complexity of this call could result exhausting the resources in a
|
|
2137
930
|
* block to execute any other calls.
|
|
2138
|
-
*
|
|
931
|
+
*
|
|
2139
932
|
* ## Complexity
|
|
2140
933
|
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
|
|
2141
934
|
* - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in
|
|
2142
935
|
* `on_finalize`)
|
|
2143
936
|
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
2144
937
|
**/
|
|
2145
|
-
set: AugmentedSubmittable<
|
|
2146
|
-
(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2147
|
-
[Compact<u64>]
|
|
2148
|
-
>;
|
|
938
|
+
set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
|
|
2149
939
|
};
|
|
2150
940
|
treasury: {
|
|
2151
941
|
/**
|
|
@@ -2153,392 +943,209 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2153
943
|
* This changes bond-lot metrics only; it never pays, holds, or releases funds. `expected`
|
|
2154
944
|
* guards against overwriting a newer payout, and replaying `updated` is a no-op.
|
|
2155
945
|
**/
|
|
2156
|
-
backfillBondLotEarnings: AugmentedSubmittable<
|
|
2157
|
-
(
|
|
2158
|
-
bondLotId: u64 | AnyNumber | Uint8Array,
|
|
2159
|
-
expected:
|
|
2160
|
-
| PalletTreasuryBondLotEarningsMetrics
|
|
2161
|
-
| {
|
|
2162
|
-
participatedFrames?: any;
|
|
2163
|
-
lastFrameEarningsFrameId?: any;
|
|
2164
|
-
lastFrameEarnings?: any;
|
|
2165
|
-
cumulativeEarnings?: any;
|
|
2166
|
-
}
|
|
2167
|
-
| string
|
|
2168
|
-
| Uint8Array,
|
|
2169
|
-
updated:
|
|
2170
|
-
| PalletTreasuryBondLotEarningsMetrics
|
|
2171
|
-
| {
|
|
2172
|
-
participatedFrames?: any;
|
|
2173
|
-
lastFrameEarningsFrameId?: any;
|
|
2174
|
-
lastFrameEarnings?: any;
|
|
2175
|
-
cumulativeEarnings?: any;
|
|
2176
|
-
}
|
|
2177
|
-
| string
|
|
2178
|
-
| Uint8Array,
|
|
2179
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2180
|
-
[u64, PalletTreasuryBondLotEarningsMetrics, PalletTreasuryBondLotEarningsMetrics]
|
|
2181
|
-
>;
|
|
946
|
+
backfillBondLotEarnings: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array, expected: PalletTreasuryBondLotEarningsMetrics | { participatedFrames?: any; lastFrameEarningsFrameId?: any; lastFrameEarnings?: any; cumulativeEarnings?: any } | string | Uint8Array, updated: PalletTreasuryBondLotEarningsMetrics | { participatedFrames?: any; lastFrameEarningsFrameId?: any; lastFrameEarnings?: any; cumulativeEarnings?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, PalletTreasuryBondLotEarningsMetrics, PalletTreasuryBondLotEarningsMetrics]>;
|
|
2182
947
|
/**
|
|
2183
948
|
* Buy whole bond units for the Argonot active set.
|
|
2184
949
|
**/
|
|
2185
|
-
buyArgonotBonds: AugmentedSubmittable<
|
|
2186
|
-
(bonds: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2187
|
-
[u32]
|
|
2188
|
-
>;
|
|
950
|
+
buyArgonotBonds: AugmentedSubmittable<(bonds: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2189
951
|
/**
|
|
2190
952
|
* Buy whole `1 ARGON` bonds for a vault.
|
|
2191
|
-
*
|
|
953
|
+
*
|
|
2192
954
|
* The purchase either creates a bond lot or fails.
|
|
2193
955
|
**/
|
|
2194
|
-
buyBonds: AugmentedSubmittable<
|
|
2195
|
-
(
|
|
2196
|
-
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2197
|
-
bonds: u32 | AnyNumber | Uint8Array,
|
|
2198
|
-
bonusApproval:
|
|
2199
|
-
| Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof>
|
|
2200
|
-
| null
|
|
2201
|
-
| Uint8Array
|
|
2202
|
-
| ArgonPrimitivesVaultTreasuryBonusApprovalProof
|
|
2203
|
-
| {
|
|
2204
|
-
vaultId?: any;
|
|
2205
|
-
beneficiary?: any;
|
|
2206
|
-
bonusPercent?: any;
|
|
2207
|
-
expiresAtFrame?: any;
|
|
2208
|
-
bondSpaceToUnreserve?: any;
|
|
2209
|
-
nonce?: any;
|
|
2210
|
-
signature?: any;
|
|
2211
|
-
}
|
|
2212
|
-
| string,
|
|
2213
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2214
|
-
[u32, u32, Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof>]
|
|
2215
|
-
>;
|
|
956
|
+
buyBonds: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bonds: u32 | AnyNumber | Uint8Array, bonusApproval: Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof> | null | Uint8Array | ArgonPrimitivesVaultTreasuryBonusApprovalProof | { vaultId?: any; beneficiary?: any; bonusPercent?: any; expiresAtFrame?: any; bondSpaceToUnreserve?: any; nonce?: any; signature?: any } | string) => SubmittableExtrinsic<ApiType>, [u32, u32, Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof>]>;
|
|
2216
957
|
/**
|
|
2217
958
|
* Update reward economics without resetting fields omitted by the caller.
|
|
2218
959
|
**/
|
|
2219
|
-
configureRewardEconomics: AugmentedSubmittable<
|
|
2220
|
-
(
|
|
2221
|
-
targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber,
|
|
2222
|
-
upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber,
|
|
2223
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2224
|
-
[Option<Percent>, Option<Percent>]
|
|
2225
|
-
>;
|
|
960
|
+
configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<Percent>, Option<Percent>]>;
|
|
2226
961
|
/**
|
|
2227
962
|
* Liquidate one full bond lot. It keeps the locked frame's payout terms and is
|
|
2228
963
|
* released after the delay.
|
|
2229
964
|
**/
|
|
2230
|
-
liquidateBondLot: AugmentedSubmittable<
|
|
2231
|
-
|
|
2232
|
-
[u64]
|
|
2233
|
-
>;
|
|
2234
|
-
setBondLotFlexible: AugmentedSubmittable<
|
|
2235
|
-
(
|
|
2236
|
-
bondLotId: u64 | AnyNumber | Uint8Array,
|
|
2237
|
-
isFlexible: bool | boolean | Uint8Array,
|
|
2238
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2239
|
-
[u64, bool]
|
|
2240
|
-
>;
|
|
965
|
+
liquidateBondLot: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
966
|
+
setBondLotFlexible: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array, isFlexible: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, bool]>;
|
|
2241
967
|
/**
|
|
2242
968
|
* Reserve vault bond space for future bond purchases.
|
|
2243
969
|
**/
|
|
2244
|
-
setReservedBondSpace: AugmentedSubmittable<
|
|
2245
|
-
(
|
|
2246
|
-
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2247
|
-
reservedBondSpace: u32 | AnyNumber | Uint8Array,
|
|
2248
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2249
|
-
[u32, u32]
|
|
2250
|
-
>;
|
|
970
|
+
setReservedBondSpace: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, reservedBondSpace: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
2251
971
|
};
|
|
2252
972
|
txPause: {
|
|
2253
973
|
/**
|
|
2254
974
|
* Pause a call.
|
|
2255
|
-
*
|
|
975
|
+
*
|
|
2256
976
|
* Can only be called by [`Config::PauseOrigin`].
|
|
2257
977
|
* Emits an [`Event::CallPaused`] event on success.
|
|
2258
978
|
**/
|
|
2259
|
-
pause: AugmentedSubmittable<
|
|
2260
|
-
(
|
|
2261
|
-
fullName:
|
|
2262
|
-
| ITuple<[Bytes, Bytes]>
|
|
2263
|
-
| [Bytes | string | Uint8Array, Bytes | string | Uint8Array],
|
|
2264
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2265
|
-
[ITuple<[Bytes, Bytes]>]
|
|
2266
|
-
>;
|
|
979
|
+
pause: AugmentedSubmittable<(fullName: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
|
|
2267
980
|
/**
|
|
2268
981
|
* Un-pause a call.
|
|
2269
|
-
*
|
|
982
|
+
*
|
|
2270
983
|
* Can only be called by [`Config::UnpauseOrigin`].
|
|
2271
984
|
* Emits an [`Event::CallUnpaused`] event on success.
|
|
2272
985
|
**/
|
|
2273
|
-
unpause: AugmentedSubmittable<
|
|
2274
|
-
(
|
|
2275
|
-
ident:
|
|
2276
|
-
| ITuple<[Bytes, Bytes]>
|
|
2277
|
-
| [Bytes | string | Uint8Array, Bytes | string | Uint8Array],
|
|
2278
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2279
|
-
[ITuple<[Bytes, Bytes]>]
|
|
2280
|
-
>;
|
|
986
|
+
unpause: AugmentedSubmittable<(ident: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
|
|
2281
987
|
};
|
|
2282
988
|
utility: {
|
|
2283
989
|
/**
|
|
2284
990
|
* Send a call through an indexed pseudonym of the sender.
|
|
2285
|
-
*
|
|
991
|
+
*
|
|
2286
992
|
* Filter from origin are passed along. The call will be dispatched with an origin which
|
|
2287
993
|
* use the same filter as the origin of this call.
|
|
2288
|
-
*
|
|
994
|
+
*
|
|
2289
995
|
* NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
|
|
2290
996
|
* because you expect `proxy` to have been used prior in the call stack and you do not want
|
|
2291
997
|
* the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
|
|
2292
998
|
* in the Multisig pallet instead.
|
|
2293
|
-
*
|
|
999
|
+
*
|
|
2294
1000
|
* NOTE: Prior to version *12, this was called `as_limited_sub`.
|
|
2295
|
-
*
|
|
1001
|
+
*
|
|
2296
1002
|
* The dispatch origin for this call must be _Signed_.
|
|
2297
1003
|
**/
|
|
2298
|
-
asDerivative: AugmentedSubmittable<
|
|
2299
|
-
(
|
|
2300
|
-
index: u16 | AnyNumber | Uint8Array,
|
|
2301
|
-
call: Call | IMethod | string | Uint8Array,
|
|
2302
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2303
|
-
[u16, Call]
|
|
2304
|
-
>;
|
|
1004
|
+
asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Call]>;
|
|
2305
1005
|
/**
|
|
2306
1006
|
* Send a batch of dispatch calls.
|
|
2307
|
-
*
|
|
1007
|
+
*
|
|
2308
1008
|
* May be called from any origin except `None`.
|
|
2309
|
-
*
|
|
1009
|
+
*
|
|
2310
1010
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
2311
1011
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
2312
|
-
*
|
|
1012
|
+
*
|
|
2313
1013
|
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
2314
1014
|
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
2315
|
-
*
|
|
1015
|
+
*
|
|
2316
1016
|
* ## Complexity
|
|
2317
1017
|
* - O(C) where C is the number of calls to be batched.
|
|
2318
|
-
*
|
|
1018
|
+
*
|
|
2319
1019
|
* This will return `Ok` in all circumstances. To determine the success of the batch, an
|
|
2320
1020
|
* event is deposited. If a call failed and the batch was interrupted, then the
|
|
2321
1021
|
* `BatchInterrupted` event is deposited, along with the number of successful calls made
|
|
2322
1022
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
2323
1023
|
* event is deposited.
|
|
2324
1024
|
**/
|
|
2325
|
-
batch: AugmentedSubmittable<
|
|
2326
|
-
(
|
|
2327
|
-
calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[],
|
|
2328
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2329
|
-
[Vec<Call>]
|
|
2330
|
-
>;
|
|
1025
|
+
batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
2331
1026
|
/**
|
|
2332
1027
|
* Send a batch of dispatch calls and atomically execute them.
|
|
2333
1028
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
2334
|
-
*
|
|
1029
|
+
*
|
|
2335
1030
|
* May be called from any origin except `None`.
|
|
2336
|
-
*
|
|
1031
|
+
*
|
|
2337
1032
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
2338
1033
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
2339
|
-
*
|
|
1034
|
+
*
|
|
2340
1035
|
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
2341
1036
|
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
2342
|
-
*
|
|
1037
|
+
*
|
|
2343
1038
|
* ## Complexity
|
|
2344
1039
|
* - O(C) where C is the number of calls to be batched.
|
|
2345
1040
|
**/
|
|
2346
|
-
batchAll: AugmentedSubmittable<
|
|
2347
|
-
(
|
|
2348
|
-
calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[],
|
|
2349
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2350
|
-
[Vec<Call>]
|
|
2351
|
-
>;
|
|
1041
|
+
batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
2352
1042
|
/**
|
|
2353
1043
|
* Dispatches a function call with a provided origin.
|
|
2354
|
-
*
|
|
1044
|
+
*
|
|
2355
1045
|
* The dispatch origin for this call must be _Root_.
|
|
2356
|
-
*
|
|
1046
|
+
*
|
|
2357
1047
|
* ## Complexity
|
|
2358
1048
|
* - O(1).
|
|
2359
1049
|
**/
|
|
2360
|
-
dispatchAs: AugmentedSubmittable<
|
|
2361
|
-
(
|
|
2362
|
-
asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array,
|
|
2363
|
-
call: Call | IMethod | string | Uint8Array,
|
|
2364
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2365
|
-
[ArgonRuntimeOriginCaller, Call]
|
|
2366
|
-
>;
|
|
1050
|
+
dispatchAs: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
|
|
2367
1051
|
/**
|
|
2368
1052
|
* Dispatches a function call with a provided origin.
|
|
2369
|
-
*
|
|
1053
|
+
*
|
|
2370
1054
|
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
2371
|
-
*
|
|
1055
|
+
*
|
|
2372
1056
|
* The dispatch origin for this call must be _Root_.
|
|
2373
1057
|
**/
|
|
2374
|
-
dispatchAsFallible: AugmentedSubmittable<
|
|
2375
|
-
(
|
|
2376
|
-
asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array,
|
|
2377
|
-
call: Call | IMethod | string | Uint8Array,
|
|
2378
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2379
|
-
[ArgonRuntimeOriginCaller, Call]
|
|
2380
|
-
>;
|
|
1058
|
+
dispatchAsFallible: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
|
|
2381
1059
|
/**
|
|
2382
1060
|
* Send a batch of dispatch calls.
|
|
2383
1061
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
2384
|
-
*
|
|
1062
|
+
*
|
|
2385
1063
|
* May be called from any origin except `None`.
|
|
2386
|
-
*
|
|
1064
|
+
*
|
|
2387
1065
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
2388
1066
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
2389
|
-
*
|
|
1067
|
+
*
|
|
2390
1068
|
* If origin is root then the calls are dispatch without checking origin filter. (This
|
|
2391
1069
|
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
2392
|
-
*
|
|
1070
|
+
*
|
|
2393
1071
|
* ## Complexity
|
|
2394
1072
|
* - O(C) where C is the number of calls to be batched.
|
|
2395
1073
|
**/
|
|
2396
|
-
forceBatch: AugmentedSubmittable<
|
|
2397
|
-
(
|
|
2398
|
-
calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[],
|
|
2399
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2400
|
-
[Vec<Call>]
|
|
2401
|
-
>;
|
|
1074
|
+
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
2402
1075
|
/**
|
|
2403
1076
|
* Dispatch a fallback call in the event the main call fails to execute.
|
|
2404
1077
|
* May be called from any origin except `None`.
|
|
2405
|
-
*
|
|
1078
|
+
*
|
|
2406
1079
|
* This function first attempts to dispatch the `main` call.
|
|
2407
1080
|
* If the `main` call fails, the `fallback` is attemted.
|
|
2408
1081
|
* if the fallback is successfully dispatched, the weights of both calls
|
|
2409
1082
|
* are accumulated and an event containing the main call error is deposited.
|
|
2410
|
-
*
|
|
1083
|
+
*
|
|
2411
1084
|
* In the event of a fallback failure the whole call fails
|
|
2412
1085
|
* with the weights returned.
|
|
2413
|
-
*
|
|
1086
|
+
*
|
|
2414
1087
|
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
2415
1088
|
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
2416
|
-
*
|
|
1089
|
+
*
|
|
2417
1090
|
* ## Dispatch Logic
|
|
2418
1091
|
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
2419
1092
|
* applying any origin filters.
|
|
2420
1093
|
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
2421
1094
|
* `fallback` calls.
|
|
2422
|
-
*
|
|
1095
|
+
*
|
|
2423
1096
|
* ## Use Case
|
|
2424
1097
|
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
2425
1098
|
* or both.
|
|
2426
1099
|
**/
|
|
2427
|
-
ifElse: AugmentedSubmittable<
|
|
2428
|
-
(
|
|
2429
|
-
main: Call | IMethod | string | Uint8Array,
|
|
2430
|
-
fallback: Call | IMethod | string | Uint8Array,
|
|
2431
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2432
|
-
[Call, Call]
|
|
2433
|
-
>;
|
|
1100
|
+
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
|
|
2434
1101
|
/**
|
|
2435
1102
|
* Dispatch a function call with a specified weight.
|
|
2436
|
-
*
|
|
1103
|
+
*
|
|
2437
1104
|
* This function does not check the weight of the call, and instead allows the
|
|
2438
1105
|
* Root origin to specify the weight of the call.
|
|
2439
|
-
*
|
|
1106
|
+
*
|
|
2440
1107
|
* The dispatch origin for this call must be _Root_.
|
|
2441
1108
|
**/
|
|
2442
|
-
withWeight: AugmentedSubmittable<
|
|
2443
|
-
(
|
|
2444
|
-
call: Call | IMethod | string | Uint8Array,
|
|
2445
|
-
weight:
|
|
2446
|
-
| SpWeightsWeightV2Weight
|
|
2447
|
-
| { refTime?: any; proofSize?: any }
|
|
2448
|
-
| string
|
|
2449
|
-
| Uint8Array,
|
|
2450
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2451
|
-
[Call, SpWeightsWeightV2Weight]
|
|
2452
|
-
>;
|
|
1109
|
+
withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
|
|
2453
1110
|
};
|
|
2454
1111
|
vaults: {
|
|
2455
1112
|
/**
|
|
2456
1113
|
* Stop offering new Bitcoin locks. Existing locks continue; securitization exits after
|
|
2457
1114
|
* its notice and any existing Bitcoin commitment.
|
|
2458
1115
|
**/
|
|
2459
|
-
close: AugmentedSubmittable<
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
>;
|
|
2463
|
-
collect: AugmentedSubmittable<
|
|
2464
|
-
(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2465
|
-
[u32]
|
|
2466
|
-
>;
|
|
2467
|
-
create: AugmentedSubmittable<
|
|
2468
|
-
(
|
|
2469
|
-
vaultConfig:
|
|
2470
|
-
| PalletVaultsVaultConfig
|
|
2471
|
-
| { terms?: any; delegateAccountId?: any; securitization?: any; bitcoinXpubkey?: any }
|
|
2472
|
-
| string
|
|
2473
|
-
| Uint8Array,
|
|
2474
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2475
|
-
[PalletVaultsVaultConfig]
|
|
2476
|
-
>;
|
|
1116
|
+
close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1117
|
+
collect: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1118
|
+
create: AugmentedSubmittable<(vaultConfig: PalletVaultsVaultConfig | { terms?: any; delegateAccountId?: any; securitization?: any; bitcoinXpubkey?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletVaultsVaultConfig]>;
|
|
2477
1119
|
/**
|
|
2478
1120
|
* Modify funds allocated by the vault without changing existing Bitcoin locks.
|
|
2479
|
-
*
|
|
1121
|
+
*
|
|
2480
1122
|
* Funds not yet used in a reward snapshot may leave without notice if not needed for
|
|
2481
1123
|
* Bitcoin commitments. Reward-committed funds require a one-year Bitcoin-height exit
|
|
2482
1124
|
* notice and remain held until both the notice and any Bitcoin commitment have ended.
|
|
2483
1125
|
* To stop issuing locks, use `close`.
|
|
2484
1126
|
**/
|
|
2485
|
-
modifyFunding: AugmentedSubmittable<
|
|
2486
|
-
(
|
|
2487
|
-
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2488
|
-
securitization: u128 | AnyNumber | Uint8Array,
|
|
2489
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2490
|
-
[u32, u128]
|
|
2491
|
-
>;
|
|
1127
|
+
modifyFunding: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, securitization: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128]>;
|
|
2492
1128
|
/**
|
|
2493
1129
|
* Change the terms of this vault. The change will be applied at the next mining frame
|
|
2494
1130
|
* change that is at least `MinTermsModificationBlockDelay` blocks away.
|
|
2495
1131
|
**/
|
|
2496
|
-
modifyTerms: AugmentedSubmittable<
|
|
2497
|
-
(
|
|
2498
|
-
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2499
|
-
terms:
|
|
2500
|
-
| ArgonPrimitivesVaultVaultTerms
|
|
2501
|
-
| { bitcoinAnnualPercentRate?: any; bitcoinBaseFee?: any }
|
|
2502
|
-
| string
|
|
2503
|
-
| Uint8Array,
|
|
2504
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2505
|
-
[u32, ArgonPrimitivesVaultVaultTerms]
|
|
2506
|
-
>;
|
|
1132
|
+
modifyTerms: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, terms: ArgonPrimitivesVaultVaultTerms | { bitcoinAnnualPercentRate?: any; bitcoinBaseFee?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, ArgonPrimitivesVaultVaultTerms]>;
|
|
2507
1133
|
/**
|
|
2508
1134
|
* Replace the bitcoin xpubkey for this vault. This will not affect existing bitcoin locks,
|
|
2509
1135
|
* but will be used for any locks after this point. Will be rejected if already
|
|
2510
1136
|
* used.
|
|
2511
1137
|
**/
|
|
2512
|
-
replaceBitcoinXpub: AugmentedSubmittable<
|
|
2513
|
-
(
|
|
2514
|
-
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2515
|
-
bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array,
|
|
2516
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2517
|
-
[u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]
|
|
2518
|
-
>;
|
|
1138
|
+
replaceBitcoinXpub: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]>;
|
|
2519
1139
|
/**
|
|
2520
1140
|
* Set the desired Argonot backing. Unused funds release immediately; reward commitments
|
|
2521
1141
|
* withdraw after one-year notice, continuing to participate until released.
|
|
2522
1142
|
**/
|
|
2523
|
-
setArgonotSecuritization: AugmentedSubmittable<
|
|
2524
|
-
|
|
2525
|
-
[Compact<u128>]
|
|
2526
|
-
>;
|
|
2527
|
-
setDelegateAccount: AugmentedSubmittable<
|
|
2528
|
-
(
|
|
2529
|
-
delegateAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string,
|
|
2530
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2531
|
-
[Option<AccountId32>]
|
|
2532
|
-
>;
|
|
1143
|
+
setArgonotSecuritization: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
|
1144
|
+
setDelegateAccount: AugmentedSubmittable<(delegateAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
|
2533
1145
|
/**
|
|
2534
1146
|
* Reserve vault securitization space for future Bitcoin locks.
|
|
2535
1147
|
**/
|
|
2536
|
-
setReservedSecuritizationSpace: AugmentedSubmittable<
|
|
2537
|
-
(
|
|
2538
|
-
reservedSecuritizationSpace: u128 | AnyNumber | Uint8Array,
|
|
2539
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2540
|
-
[u128]
|
|
2541
|
-
>;
|
|
1148
|
+
setReservedSecuritizationSpace: AugmentedSubmittable<(reservedSecuritizationSpace: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
2542
1149
|
};
|
|
2543
1150
|
} // AugmentedSubmittables
|
|
2544
1151
|
} // declare module
|