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