@argonprotocol/mainchain 1.5.2 → 1.6.0
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 +87 -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 +12592 -7998
- package/browser/index.js +5417 -1492
- 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 +6587 -2686
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +12592 -7998
- package/lib/index.d.ts +12592 -7998
- package/lib/index.js +6744 -2843
- package/lib/index.js.map +1 -1
- package/package.json +17 -13
- package/src/interfaces/augment-api-consts.ts +124 -30
- package/src/interfaces/augment-api-errors.ts +297 -19
- package/src/interfaces/augment-api-events.ts +281 -1688
- package/src/interfaces/augment-api-query.ts +394 -1127
- 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 +370 -1630
- package/src/interfaces/augment-types.ts +46 -1350
- package/src/interfaces/lookup.ts +3765 -3182
- package/src/interfaces/registry.ts +87 -330
- package/src/interfaces/types-lookup.ts +4051 -3818
|
@@ -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, PalletStabilizerPoolsPositionProof, PalletTreasuryBondLotEarningsMetrics, 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,137 @@ 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
|
-
forceSetGlobalIssuanceCouncil: AugmentedSubmittable<
|
|
560
|
-
(
|
|
561
|
-
destinationChain: PalletCrosschainTransferSourceChain | 'Ethereum' | number | Uint8Array,
|
|
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
|
+
registerMintingAuthority: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, destinationSigningKey: H160 | string | Uint8Array, signature: U8aFixed | string | Uint8Array, microgonCollateral: Compact<u128> | AnyNumber | Uint8Array, micronotCollateral: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, H160, U8aFixed, Compact<u128>, Compact<u128>]>;
|
|
253
|
+
setChainConfig: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, config: PalletCrosschainTransferChainConfig | { Evm: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferChainConfig]>;
|
|
254
|
+
setMinimumMintingAuthorityValue: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, minimumValue: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, Compact<u128>]>;
|
|
255
|
+
setMintingAuthorityActivationRepaymentPricing: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, pricing: PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing | { activationGasCost?: any; signatureGasCost?: any; estimatedWeiPerGas?: any; estimatedMicrogonsPerEth?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferMintingAuthorityActivationRepaymentPricing]>;
|
|
256
|
+
transferOut: AugmentedSubmittable<(destinationChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array, asset: PalletCrosschainTransferAssetKind | 'Argon' | 'Argonot' | number | Uint8Array, destinationAccount: H160 | string | Uint8Array, amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain, PalletCrosschainTransferAssetKind, H160, Compact<u128>]>;
|
|
257
|
+
unpauseGateway: AugmentedSubmittable<(sourceChain: ArgonPrimitivesGatewaySourceChain | 'Ethereum' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesGatewaySourceChain]>;
|
|
660
258
|
};
|
|
661
259
|
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
|
-
>;
|
|
260
|
+
setZoneRecord: AugmentedSubmittable<(domainHash: H256 | string | Uint8Array, zoneRecord: ArgonPrimitivesDomainZoneRecord | { paymentAccount?: any; notaryId?: any; versions?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, ArgonPrimitivesDomainZoneRecord]>;
|
|
673
261
|
};
|
|
674
262
|
ethereumVerifier: {
|
|
675
263
|
/**
|
|
676
264
|
* Used for pallet initialization and light client resetting. Needs to be called by
|
|
677
265
|
* the root origin.
|
|
678
266
|
**/
|
|
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
|
-
>;
|
|
267
|
+
forceCheckpoint: AugmentedSubmittable<(update: PalletEthereumVerifierCheckpointUpdate | { header?: any; currentSyncCommittee?: any; currentSyncCommitteeBranch?: any; validatorsRoot?: any; executionHeaderProof?: any } | string | Uint8Array, forkVersions: PalletEthereumVerifierForkVersions | { genesis?: any; altair?: any; bellatrix?: any; capella?: any; deneb?: any; electra?: any; fulu?: any; gloas?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierCheckpointUpdate, PalletEthereumVerifierForkVersions]>;
|
|
268
|
+
importTrustedExecutionHeaderBackfill: AugmentedSubmittable<(expectedBeaconRoot: H256 | string | Uint8Array, header: SnowbridgeBeaconPrimitivesBeaconHeader | { slot?: any; proposerIndex?: any; parentRoot?: any; stateRoot?: any; bodyRoot?: any } | string | Uint8Array, executionHeaderProof: PalletEthereumVerifierExecutionHeaderProof | { executionHeader?: any; executionBranch?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256, SnowbridgeBeaconPrimitivesBeaconHeader, PalletEthereumVerifierExecutionHeaderProof]>;
|
|
269
|
+
/**
|
|
270
|
+
* Configure the implemented Gloas fork before the verifier finalizes its activation.
|
|
271
|
+
* Earlier forks and retained consensus state are preserved. May only be called by root.
|
|
272
|
+
**/
|
|
273
|
+
setGloasFork: AugmentedSubmittable<(fork: PalletEthereumVerifierFork | { version?: any; epoch?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierFork]>;
|
|
724
274
|
/**
|
|
725
275
|
* Halt or resume all pallet operations. May only be called by root.
|
|
726
276
|
**/
|
|
727
|
-
setOperatingMode: AugmentedSubmittable<
|
|
728
|
-
(
|
|
729
|
-
mode:
|
|
730
|
-
| PalletEthereumVerifierBasicOperatingMode
|
|
731
|
-
| 'Normal'
|
|
732
|
-
| 'Halted'
|
|
733
|
-
| number
|
|
734
|
-
| Uint8Array,
|
|
735
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
736
|
-
[PalletEthereumVerifierBasicOperatingMode]
|
|
737
|
-
>;
|
|
277
|
+
setOperatingMode: AugmentedSubmittable<(mode: PalletEthereumVerifierBasicOperatingMode | 'Normal' | 'Halted' | number | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierBasicOperatingMode]>;
|
|
738
278
|
/**
|
|
739
279
|
* Submits a new finalized beacon header update. The update may contain the next
|
|
740
280
|
* sync committee and an execution header witness for the finalized beacon header it
|
|
741
281
|
* advances.
|
|
742
282
|
**/
|
|
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
|
-
>;
|
|
283
|
+
submit: AugmentedSubmittable<(update: PalletEthereumVerifierUpdate | { attestedHeader?: any; syncAggregate?: any; signatureSlot?: any; nextSyncCommitteeUpdate?: any; finalizedHeader?: any; finalityBranch?: any; executionHeaderProof?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletEthereumVerifierUpdate]>;
|
|
761
284
|
};
|
|
762
285
|
grandpa: {
|
|
763
286
|
/**
|
|
764
287
|
* Note that the current authority set of the GRANDPA finality gadget has stalled.
|
|
765
|
-
*
|
|
288
|
+
*
|
|
766
289
|
* This will trigger a forced authority set change at the beginning of the next session, to
|
|
767
290
|
* be enacted `delay` blocks after that. The `delay` should be high enough to safely assume
|
|
768
291
|
* that the block signalling the forced change will not be re-orged e.g. 1000 blocks.
|
|
@@ -771,132 +294,75 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
771
294
|
* authority will start voting on top of `best_finalized_block_number` for new finalized
|
|
772
295
|
* blocks. `best_finalized_block_number` should be the highest of the latest finalized
|
|
773
296
|
* block of all validators of the new authority set.
|
|
774
|
-
*
|
|
297
|
+
*
|
|
775
298
|
* Only callable by root.
|
|
776
299
|
**/
|
|
777
|
-
noteStalled: AugmentedSubmittable<
|
|
778
|
-
(
|
|
779
|
-
delay: u32 | AnyNumber | Uint8Array,
|
|
780
|
-
bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array,
|
|
781
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
782
|
-
[u32, u32]
|
|
783
|
-
>;
|
|
300
|
+
noteStalled: AugmentedSubmittable<(delay: u32 | AnyNumber | Uint8Array, bestFinalizedBlockNumber: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
784
301
|
/**
|
|
785
302
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
786
303
|
* equivocation proof and validate the given key ownership proof
|
|
787
304
|
* against the extracted offender. If both are valid, the offence
|
|
788
305
|
* will be reported.
|
|
789
306
|
**/
|
|
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
|
-
>;
|
|
307
|
+
reportEquivocation: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
|
|
801
308
|
/**
|
|
802
309
|
* Report voter equivocation/misbehavior. This method will verify the
|
|
803
310
|
* equivocation proof and validate the given key ownership proof
|
|
804
311
|
* against the extracted offender. If both are valid, the offence
|
|
805
312
|
* will be reported.
|
|
806
|
-
*
|
|
313
|
+
*
|
|
807
314
|
* This extrinsic must be called unsigned and it is expected that only
|
|
808
315
|
* block authors will call it (validated in `ValidateUnsigned`), as such
|
|
809
316
|
* if the block author is defined it will be defined as the equivocation
|
|
810
317
|
* reporter.
|
|
811
318
|
**/
|
|
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
|
-
>;
|
|
319
|
+
reportEquivocationUnsigned: AugmentedSubmittable<(equivocationProof: SpConsensusGrandpaEquivocationProof | { setId?: any; equivocation?: any } | string | Uint8Array, keyOwnerProof: SpCoreVoid | null) => SubmittableExtrinsic<ApiType>, [SpConsensusGrandpaEquivocationProof, SpCoreVoid]>;
|
|
823
320
|
};
|
|
824
321
|
localchainTransfer: {
|
|
825
|
-
sendToLocalchain: AugmentedSubmittable<
|
|
826
|
-
(
|
|
827
|
-
amount: Compact<u128> | AnyNumber | Uint8Array,
|
|
828
|
-
notaryId: u32 | AnyNumber | Uint8Array,
|
|
829
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
830
|
-
[Compact<u128>, u32]
|
|
831
|
-
>;
|
|
322
|
+
sendToLocalchain: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array, notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, u32]>;
|
|
832
323
|
};
|
|
833
324
|
miningSlot: {
|
|
834
325
|
/**
|
|
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
|
-
>;
|
|
326
|
+
* Submit a funded public bid, optionally committing to a hidden maximum.
|
|
327
|
+
* Every bid competes at its public amount even if no maximum is revealed.
|
|
328
|
+
* Live auctions clear openings at the end of their inclusion block.
|
|
329
|
+
* An omitted target frame selects the current auction at dispatch time.
|
|
330
|
+
* Standing winners can commit a new maximum without clearing the new-bid entry threshold.
|
|
331
|
+
**/
|
|
332
|
+
bid: AugmentedSubmittable<(bid: u128 | AnyNumber | Uint8Array, keys: ArgonRuntimeSessionKeys | { grandpa?: any; blockSealAuthority?: any } | string | Uint8Array, miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string, targetFrameId: Option<u64> | null | Uint8Array | u64 | AnyNumber, maxHash: Option<U8aFixed> | null | Uint8Array | U8aFixed | string) => SubmittableExtrinsic<ApiType>, [u128, ArgonRuntimeSessionKeys, Option<AccountId32>, Option<u64>, Option<U8aFixed>]>;
|
|
333
|
+
/**
|
|
334
|
+
* With a salt, disclose a committed maximum in the five blocks following submission.
|
|
335
|
+
* Live auctions clear disclosures together at the end of their inclusion block.
|
|
336
|
+
* Without a salt, immediately update a settled winner's maximum while bidding is open.
|
|
337
|
+
* Updates cannot overlap pending bids or reduce the maximum below the current paid bid.
|
|
338
|
+
* Both modes must explicitly target the current auction frame.
|
|
339
|
+
**/
|
|
340
|
+
bidMax: AugmentedSubmittable<(max: u128 | AnyNumber | Uint8Array, salt: Option<U8aFixed> | null | Uint8Array | U8aFixed | string, miningAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string, targetFrameId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, Option<U8aFixed>, Option<AccountId32>, u64]>;
|
|
870
341
|
/**
|
|
871
342
|
* Admin function to update the mining slot delay.
|
|
872
343
|
**/
|
|
873
|
-
configureMiningSlotDelay: AugmentedSubmittable<
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
ticksBeforeBidEndForVrfClose: Option<u64> | null | Uint8Array | u64 | AnyNumber,
|
|
877
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
878
|
-
[Option<u64>, Option<u64>]
|
|
879
|
-
>;
|
|
344
|
+
configureMiningSlotDelay: AugmentedSubmittable<(miningSlotDelay: Option<u64> | null | Uint8Array | u64 | AnyNumber, ticksBeforeBidEndForVrfClose: Option<u64> | null | Uint8Array | u64 | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<u64>, Option<u64>]>;
|
|
345
|
+
};
|
|
346
|
+
mint: {
|
|
880
347
|
};
|
|
881
|
-
mint: {};
|
|
882
348
|
multisig: {
|
|
883
349
|
/**
|
|
884
350
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
885
351
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
886
|
-
*
|
|
352
|
+
*
|
|
887
353
|
* **This function will NEVER execute the call, even if the approval threshold is
|
|
888
354
|
* reached.** It only registers approval. To actually execute the call, `as_multi` must
|
|
889
355
|
* be called with the full call data by any of the signatories.
|
|
890
|
-
*
|
|
356
|
+
*
|
|
891
357
|
* This function is more efficient than `as_multi` for intermediate approvals since it
|
|
892
358
|
* only requires the call hash, not the full call data.
|
|
893
|
-
*
|
|
359
|
+
*
|
|
894
360
|
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
895
361
|
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
896
362
|
* is cancelled.
|
|
897
|
-
*
|
|
363
|
+
*
|
|
898
364
|
* The dispatch origin for this call must be _Signed_.
|
|
899
|
-
*
|
|
365
|
+
*
|
|
900
366
|
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
901
367
|
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
902
368
|
* dispatch. May not be empty.
|
|
@@ -904,10 +370,10 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
904
370
|
* not the first approval, then it must be `Some`, with the timepoint (block number and
|
|
905
371
|
* transaction index) of the first approval transaction.
|
|
906
372
|
* - `call_hash`: The hash of the call to be executed.
|
|
907
|
-
*
|
|
373
|
+
*
|
|
908
374
|
* NOTE: To execute the call after approvals are gathered, any signatory must call
|
|
909
375
|
* `as_multi` with the full call data. This function cannot execute the call.
|
|
910
|
-
*
|
|
376
|
+
*
|
|
911
377
|
* ## Complexity
|
|
912
378
|
* - `O(S)`.
|
|
913
379
|
* - Up to one balance-reserve or unreserve operation.
|
|
@@ -920,40 +386,21 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
920
386
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
921
387
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
922
388
|
**/
|
|
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
|
-
>;
|
|
389
|
+
approveAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, callHash: U8aFixed | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, U8aFixed, SpWeightsWeightV2Weight]>;
|
|
943
390
|
/**
|
|
944
391
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
945
392
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
946
|
-
*
|
|
393
|
+
*
|
|
947
394
|
* **If the approval threshold is met (including the sender's approval), this will
|
|
948
395
|
* immediately execute the call.** This is the only way to execute a multisig call -
|
|
949
396
|
* `approve_as_multi` will never trigger execution.
|
|
950
|
-
*
|
|
397
|
+
*
|
|
951
398
|
* Payment: `DepositBase` will be reserved if this is the first approval, plus
|
|
952
399
|
* `threshold` times `DepositFactor`. It is returned once this dispatch happens or
|
|
953
400
|
* is cancelled.
|
|
954
|
-
*
|
|
401
|
+
*
|
|
955
402
|
* The dispatch origin for this call must be _Signed_.
|
|
956
|
-
*
|
|
403
|
+
*
|
|
957
404
|
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
958
405
|
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
959
406
|
* dispatch. May not be empty.
|
|
@@ -961,15 +408,15 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
961
408
|
* not the first approval, then it must be `Some`, with the timepoint (block number and
|
|
962
409
|
* transaction index) of the first approval transaction.
|
|
963
410
|
* - `call`: The call to be executed.
|
|
964
|
-
*
|
|
411
|
+
*
|
|
965
412
|
* NOTE: For intermediate approvals (not the final approval), you should generally use
|
|
966
413
|
* `approve_as_multi` instead, since it only requires a hash of the call and is more
|
|
967
414
|
* efficient.
|
|
968
|
-
*
|
|
415
|
+
*
|
|
969
416
|
* Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise
|
|
970
417
|
* on success, result is `Ok` and the result from the interior call, if it was executed,
|
|
971
418
|
* may be found in the deposited `MultisigExecuted` event.
|
|
972
|
-
*
|
|
419
|
+
*
|
|
973
420
|
* ## Complexity
|
|
974
421
|
* - `O(S + Z + Call)`.
|
|
975
422
|
* - Up to one balance-reserve or unreserve operation.
|
|
@@ -984,60 +431,35 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
984
431
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
985
432
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
986
433
|
**/
|
|
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
|
-
>;
|
|
434
|
+
asMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], maybeTimepoint: Option<PalletMultisigTimepoint> | null | Uint8Array | PalletMultisigTimepoint | { height?: any; index?: any } | string, call: Call | IMethod | string | Uint8Array, maxWeight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, Option<PalletMultisigTimepoint>, Call, SpWeightsWeightV2Weight]>;
|
|
1007
435
|
/**
|
|
1008
436
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
1009
|
-
*
|
|
437
|
+
*
|
|
1010
438
|
* The dispatch origin for this call must be _Signed_.
|
|
1011
|
-
*
|
|
439
|
+
*
|
|
1012
440
|
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
1013
441
|
* multi-signature, but do not participate in the approval process.
|
|
1014
442
|
* - `call`: The call to be executed.
|
|
1015
|
-
*
|
|
443
|
+
*
|
|
1016
444
|
* Result is equivalent to the dispatched result.
|
|
1017
|
-
*
|
|
445
|
+
*
|
|
1018
446
|
* ## Complexity
|
|
1019
447
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
1020
448
|
**/
|
|
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
|
-
>;
|
|
449
|
+
asMultiThreshold1: AugmentedSubmittable<(otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>, Call]>;
|
|
1028
450
|
/**
|
|
1029
451
|
* Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
|
|
1030
452
|
* for this operation will be unreserved on success.
|
|
1031
|
-
*
|
|
453
|
+
*
|
|
1032
454
|
* The dispatch origin for this call must be _Signed_.
|
|
1033
|
-
*
|
|
455
|
+
*
|
|
1034
456
|
* - `threshold`: The total number of approvals for this dispatch before it is executed.
|
|
1035
457
|
* - `other_signatories`: The accounts (other than the sender) who can approve this
|
|
1036
458
|
* dispatch. May not be empty.
|
|
1037
459
|
* - `timepoint`: The timepoint (block number and transaction index) of the first approval
|
|
1038
460
|
* transaction for this dispatch.
|
|
1039
461
|
* - `call_hash`: The hash of the call to be executed.
|
|
1040
|
-
*
|
|
462
|
+
*
|
|
1041
463
|
* ## Complexity
|
|
1042
464
|
* - `O(S)`.
|
|
1043
465
|
* - Up to one balance-reserve or unreserve operation.
|
|
@@ -1048,89 +470,36 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1048
470
|
* - I/O: 1 read `O(S)`, one remove.
|
|
1049
471
|
* - Storage: removes one item.
|
|
1050
472
|
**/
|
|
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
|
-
>;
|
|
473
|
+
cancelAsMulti: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], timepoint: PalletMultisigTimepoint | { height?: any; index?: any } | string | Uint8Array, callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, PalletMultisigTimepoint, U8aFixed]>;
|
|
1060
474
|
/**
|
|
1061
475
|
* Poke the deposit reserved for an existing multisig operation.
|
|
1062
|
-
*
|
|
476
|
+
*
|
|
1063
477
|
* The dispatch origin for this call must be _Signed_ and must be the original depositor of
|
|
1064
478
|
* the multisig operation.
|
|
1065
|
-
*
|
|
479
|
+
*
|
|
1066
480
|
* The transaction fee is waived if the deposit amount has changed.
|
|
1067
|
-
*
|
|
481
|
+
*
|
|
1068
482
|
* - `threshold`: The total number of approvals needed for this multisig.
|
|
1069
483
|
* - `other_signatories`: The accounts (other than the sender) who are part of the
|
|
1070
484
|
* multisig.
|
|
1071
485
|
* - `call_hash`: The hash of the call this deposit is reserved for.
|
|
1072
|
-
*
|
|
486
|
+
*
|
|
1073
487
|
* Emits `DepositPoked` if successful.
|
|
1074
488
|
**/
|
|
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
|
-
>;
|
|
489
|
+
pokeDeposit: AugmentedSubmittable<(threshold: u16 | AnyNumber | Uint8Array, otherSignatories: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[], callHash: U8aFixed | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Vec<AccountId32>, U8aFixed]>;
|
|
1083
490
|
};
|
|
1084
491
|
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
|
-
>;
|
|
492
|
+
activate: AugmentedSubmittable<(operatorAccount: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
493
|
+
propose: AugmentedSubmittable<(meta: ArgonPrimitivesNotaryNotaryMeta | { name?: any; public?: any; hosts?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesNotaryNotaryMeta]>;
|
|
1099
494
|
/**
|
|
1100
495
|
* Update the metadata of a notary, to be effective at the given tick height, which must be
|
|
1101
496
|
* >= MetaChangesTickDelay ticks in the future.
|
|
1102
497
|
**/
|
|
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
|
-
>;
|
|
498
|
+
update: AugmentedSubmittable<(notaryId: Compact<u32> | AnyNumber | Uint8Array, meta: ArgonPrimitivesNotaryNotaryMeta | { name?: any; public?: any; hosts?: any } | string | Uint8Array, effectiveTick: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u32>, ArgonPrimitivesNotaryNotaryMeta, Compact<u64>]>;
|
|
1115
499
|
};
|
|
1116
500
|
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
|
-
>;
|
|
501
|
+
submit: AugmentedSubmittable<(notebooks: Vec<ArgonPrimitivesNotebookSignedNotebookHeader> | (ArgonPrimitivesNotebookSignedNotebookHeader | { header?: any; signature?: any } | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<ArgonPrimitivesNotebookSignedNotebookHeader>]>;
|
|
502
|
+
unlock: AugmentedSubmittable<(notaryId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1134
503
|
};
|
|
1135
504
|
operationalAccounts: {
|
|
1136
505
|
/**
|
|
@@ -1140,377 +509,161 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1140
509
|
/**
|
|
1141
510
|
* Claim pending operational rewards to any managed account.
|
|
1142
511
|
**/
|
|
1143
|
-
claimRewards: AugmentedSubmittable<
|
|
1144
|
-
(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1145
|
-
[u128]
|
|
1146
|
-
>;
|
|
512
|
+
claimRewards: AugmentedSubmittable<(amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
1147
513
|
/**
|
|
1148
514
|
* Force-update operational progress markers for an account.
|
|
1149
515
|
**/
|
|
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
|
-
>;
|
|
516
|
+
forceSetProgress: AugmentedSubmittable<(owner: AccountId32 | string | Uint8Array, patch: PalletOperationalAccountsOperationalProgressPatch | { uniswapArgonTransfersInAmount?: any; accountBitcoinAmount?: any; accountVaultBondAmount?: any; vaultCreated?: any; vaultBitcoinAmount?: any; miningSeatCount?: any } | string | Uint8Array, updateOperationalProgress: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32, PalletOperationalAccountsOperationalProgressPatch, bool]>;
|
|
1169
517
|
/**
|
|
1170
518
|
* Register vault and mining accounts for an operational account.
|
|
1171
519
|
* Any account in the registration may submit the transaction.
|
|
1172
520
|
* When invite-only is enabled, the registration must include an upstream access proof.
|
|
1173
521
|
**/
|
|
1174
|
-
register: AugmentedSubmittable<
|
|
1175
|
-
(
|
|
1176
|
-
registration: PalletOperationalAccountsRegistration | { V1: any } | string | Uint8Array,
|
|
1177
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1178
|
-
[PalletOperationalAccountsRegistration]
|
|
1179
|
-
>;
|
|
522
|
+
register: AugmentedSubmittable<(registration: PalletOperationalAccountsRegistration | { V1: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletOperationalAccountsRegistration]>;
|
|
1180
523
|
/**
|
|
1181
524
|
* Update the display name on an operational account profile from any linked account.
|
|
1182
525
|
**/
|
|
1183
|
-
setName: AugmentedSubmittable<
|
|
1184
|
-
(name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>,
|
|
1185
|
-
[Option<Bytes>]
|
|
1186
|
-
>;
|
|
526
|
+
setName: AugmentedSubmittable<(name: Option<Bytes> | null | Uint8Array | Bytes | string) => SubmittableExtrinsic<ApiType>, [Option<Bytes>]>;
|
|
1187
527
|
/**
|
|
1188
528
|
* Update certification reward amounts for operational accounts.
|
|
1189
529
|
**/
|
|
1190
|
-
setRewardConfig: AugmentedSubmittable<
|
|
1191
|
-
(
|
|
1192
|
-
operationalCertificationReward: u128 | AnyNumber | Uint8Array,
|
|
1193
|
-
operationalCertificationBonusReward: u128 | AnyNumber | Uint8Array,
|
|
1194
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1195
|
-
[u128, u128]
|
|
1196
|
-
>;
|
|
530
|
+
setRewardConfig: AugmentedSubmittable<(operationalCertificationReward: u128 | AnyNumber | Uint8Array, operationalCertificationBonusReward: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128, u128]>;
|
|
1197
531
|
};
|
|
1198
532
|
ownership: {
|
|
1199
533
|
/**
|
|
1200
534
|
* Burn the specified liquid free balance from the origin account.
|
|
1201
|
-
*
|
|
535
|
+
*
|
|
1202
536
|
* If the origin's account ends up below the existential deposit as a result
|
|
1203
537
|
* of the burn and `keep_alive` is false, the account will be reaped.
|
|
1204
|
-
*
|
|
538
|
+
*
|
|
1205
539
|
* Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible,
|
|
1206
540
|
* this `burn` operation will reduce total issuance by the amount _burned_.
|
|
1207
541
|
**/
|
|
1208
|
-
burn: AugmentedSubmittable<
|
|
1209
|
-
(
|
|
1210
|
-
value: Compact<u128> | AnyNumber | Uint8Array,
|
|
1211
|
-
keepAlive: bool | boolean | Uint8Array,
|
|
1212
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1213
|
-
[Compact<u128>, bool]
|
|
1214
|
-
>;
|
|
542
|
+
burn: AugmentedSubmittable<(value: Compact<u128> | AnyNumber | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>, bool]>;
|
|
1215
543
|
/**
|
|
1216
544
|
* Adjust the total issuance in a saturating way.
|
|
1217
|
-
*
|
|
545
|
+
*
|
|
1218
546
|
* Can only be called by root and always needs a positive `delta`.
|
|
1219
|
-
*
|
|
547
|
+
*
|
|
1220
548
|
* # Example
|
|
1221
549
|
**/
|
|
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
|
-
>;
|
|
550
|
+
forceAdjustTotalIssuance: AugmentedSubmittable<(direction: PalletBalancesAdjustmentDirection | 'Increase' | 'Decrease' | number | Uint8Array, delta: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletBalancesAdjustmentDirection, Compact<u128>]>;
|
|
1234
551
|
/**
|
|
1235
552
|
* Set the regular balance of a given account.
|
|
1236
|
-
*
|
|
553
|
+
*
|
|
1237
554
|
* The dispatch origin for this call is `root`.
|
|
1238
555
|
**/
|
|
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
|
-
>;
|
|
556
|
+
forceSetBalance: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, newFree: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
1254
557
|
/**
|
|
1255
558
|
* Exactly as `transfer_allow_death`, except the origin must be root and the source account
|
|
1256
559
|
* may be specified.
|
|
1257
560
|
**/
|
|
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
|
-
>;
|
|
561
|
+
forceTransfer: AugmentedSubmittable<(source: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Compact<u128>]>;
|
|
1282
562
|
/**
|
|
1283
563
|
* Unreserve some balance from a user by force.
|
|
1284
|
-
*
|
|
564
|
+
*
|
|
1285
565
|
* Can only be called by ROOT.
|
|
1286
566
|
**/
|
|
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
|
-
>;
|
|
567
|
+
forceUnreserve: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, amount: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, u128]>;
|
|
1302
568
|
/**
|
|
1303
569
|
* Transfer the entire transferable balance from the caller account.
|
|
1304
|
-
*
|
|
570
|
+
*
|
|
1305
571
|
* NOTE: This function only attempts to transfer _transferable_ balances. This means that
|
|
1306
572
|
* any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be
|
|
1307
573
|
* transferred by this function. To ensure that this function results in a killed account,
|
|
1308
574
|
* you might need to prepare the account by removing any reference counters, storage
|
|
1309
575
|
* deposits, etc...
|
|
1310
|
-
*
|
|
576
|
+
*
|
|
1311
577
|
* The dispatch origin of this call must be Signed.
|
|
1312
|
-
*
|
|
578
|
+
*
|
|
1313
579
|
* - `dest`: The recipient of the transfer.
|
|
1314
580
|
* - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all
|
|
1315
581
|
* of the funds the account has, causing the sender account to be killed (false), or
|
|
1316
582
|
* transfer everything except at least the existential deposit, which will guarantee to
|
|
1317
583
|
* keep the sender account alive (true).
|
|
1318
584
|
**/
|
|
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
|
-
>;
|
|
585
|
+
transferAll: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, keepAlive: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, bool]>;
|
|
1334
586
|
/**
|
|
1335
587
|
* Transfer some liquid free balance to another account.
|
|
1336
|
-
*
|
|
588
|
+
*
|
|
1337
589
|
* `transfer_allow_death` will set the `FreeBalance` of the sender and receiver.
|
|
1338
590
|
* If the sender's account is below the existential deposit as a result
|
|
1339
591
|
* of the transfer, the account will be reaped.
|
|
1340
|
-
*
|
|
592
|
+
*
|
|
1341
593
|
* The dispatch origin for this call must be `Signed` by the transactor.
|
|
1342
594
|
**/
|
|
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
|
-
>;
|
|
595
|
+
transferAllowDeath: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
1358
596
|
/**
|
|
1359
597
|
* Same as the [`transfer_allow_death`] call, but with a check that the transfer will not
|
|
1360
598
|
* kill the origin account.
|
|
1361
|
-
*
|
|
599
|
+
*
|
|
1362
600
|
* 99% of the time you want [`transfer_allow_death`] instead.
|
|
1363
|
-
*
|
|
601
|
+
*
|
|
1364
602
|
* [`transfer_allow_death`]: struct.Pallet.html#method.transfer
|
|
1365
603
|
**/
|
|
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
|
-
>;
|
|
604
|
+
transferKeepAlive: AugmentedSubmittable<(dest: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, value: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Compact<u128>]>;
|
|
1381
605
|
/**
|
|
1382
606
|
* Upgrade a specified account.
|
|
1383
|
-
*
|
|
607
|
+
*
|
|
1384
608
|
* - `origin`: Must be `Signed`.
|
|
1385
609
|
* - `who`: The account to be upgraded.
|
|
1386
|
-
*
|
|
610
|
+
*
|
|
1387
611
|
* This will waive the transaction fee if at least all but 10% of the accounts needed to
|
|
1388
612
|
* be upgraded. (We let some not have to be upgraded just in order to allow for the
|
|
1389
613
|
* possibility of churn).
|
|
1390
614
|
**/
|
|
1391
|
-
upgradeAccounts: AugmentedSubmittable<
|
|
1392
|
-
(
|
|
1393
|
-
who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[],
|
|
1394
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1395
|
-
[Vec<AccountId32>]
|
|
1396
|
-
>;
|
|
615
|
+
upgradeAccounts: AugmentedSubmittable<(who: Vec<AccountId32> | (AccountId32 | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<AccountId32>]>;
|
|
1397
616
|
};
|
|
1398
617
|
priceIndex: {
|
|
1399
618
|
/**
|
|
1400
619
|
* Sets the operator account id (only executable by the Root account)
|
|
1401
|
-
*
|
|
620
|
+
*
|
|
1402
621
|
* # Arguments
|
|
1403
622
|
* * `account_id` - the account id of the operator
|
|
1404
623
|
**/
|
|
1405
|
-
setOperator: AugmentedSubmittable<
|
|
1406
|
-
(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1407
|
-
[AccountId32]
|
|
1408
|
-
>;
|
|
624
|
+
setOperator: AugmentedSubmittable<(accountId: AccountId32 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [AccountId32]>;
|
|
1409
625
|
/**
|
|
1410
626
|
* Submit the latest price index. Only valid for the configured operator account
|
|
1411
627
|
**/
|
|
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
|
+
submit: AugmentedSubmittable<(index: ArgonPrimitivesPriceIndex | { btcUsdPrice?: any; argonotUsdPrice?: any; argonUsdPrice?: any; argonUsdTargetPrice?: any; argonTimeWeightedAverageLiquidity?: any; tick?: any; usdcUsdPrice?: any; stabilizerPoolSqrtPriceX96?: any } | string | Uint8Array, ethereum: Option<PalletPriceIndexEthereumPriceIndex> | null | Uint8Array | PalletPriceIndexEthereumPriceIndex | { ethereumUsdPrice?: any; ethereumGasPriceWei?: any; tick?: any } | string) => SubmittableExtrinsic<ApiType>, [ArgonPrimitivesPriceIndex, Option<PalletPriceIndexEthereumPriceIndex>]>;
|
|
1436
629
|
};
|
|
1437
630
|
proxy: {
|
|
1438
631
|
/**
|
|
1439
632
|
* Register a proxy account for the sender that is able to make calls on its behalf.
|
|
1440
|
-
*
|
|
633
|
+
*
|
|
1441
634
|
* The dispatch origin for this call must be _Signed_.
|
|
1442
|
-
*
|
|
635
|
+
*
|
|
1443
636
|
* Parameters:
|
|
1444
637
|
* - `proxy`: The account that the `caller` would like to make a proxy.
|
|
1445
638
|
* - `proxy_type`: The permissions allowed for this proxy account.
|
|
1446
639
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
1447
640
|
* zero.
|
|
1448
641
|
**/
|
|
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
|
-
>;
|
|
642
|
+
addProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
|
|
1476
643
|
/**
|
|
1477
644
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
1478
|
-
*
|
|
645
|
+
*
|
|
1479
646
|
* This must be called some number of blocks before the corresponding `proxy` is attempted
|
|
1480
647
|
* if the delay associated with the proxy relationship is greater than zero.
|
|
1481
|
-
*
|
|
648
|
+
*
|
|
1482
649
|
* No more than `MaxPending` announcements may be made at any one time.
|
|
1483
|
-
*
|
|
650
|
+
*
|
|
1484
651
|
* This will take a deposit of `AnnouncementDepositFactor` as well as
|
|
1485
652
|
* `AnnouncementDepositBase` if there are no other pending announcements.
|
|
1486
|
-
*
|
|
653
|
+
*
|
|
1487
654
|
* The dispatch origin for this call must be _Signed_ and a proxy of `real`.
|
|
1488
|
-
*
|
|
655
|
+
*
|
|
1489
656
|
* Parameters:
|
|
1490
657
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
1491
658
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
1492
659
|
**/
|
|
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
|
-
>;
|
|
660
|
+
announce: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
1508
661
|
/**
|
|
1509
662
|
* Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and
|
|
1510
663
|
* initialize it with a proxy of `proxy_type` for `origin` sender.
|
|
1511
|
-
*
|
|
664
|
+
*
|
|
1512
665
|
* Requires a `Signed` origin.
|
|
1513
|
-
*
|
|
666
|
+
*
|
|
1514
667
|
* - `proxy_type`: The type of the proxy that the sender will be registered as over the
|
|
1515
668
|
* new account. This will almost always be the most permissive `ProxyType` possible to
|
|
1516
669
|
* allow for maximum flexibility.
|
|
@@ -1519,284 +672,145 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1519
672
|
* want to use `0`.
|
|
1520
673
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
1521
674
|
* zero.
|
|
1522
|
-
*
|
|
675
|
+
*
|
|
1523
676
|
* Fails with `Duplicate` if this has already been called in this transaction, from the
|
|
1524
677
|
* same sender, with the same parameters.
|
|
1525
|
-
*
|
|
678
|
+
*
|
|
1526
679
|
* Fails if there are insufficient funds to pay for deposit.
|
|
1527
680
|
**/
|
|
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
|
-
>;
|
|
681
|
+
createPure: AugmentedSubmittable<(proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array, index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeProxyType, u32, u16]>;
|
|
1547
682
|
/**
|
|
1548
683
|
* Removes a previously spawned pure proxy.
|
|
1549
|
-
*
|
|
684
|
+
*
|
|
1550
685
|
* WARNING: **All access to this account will be lost.** Any funds held in it will be
|
|
1551
686
|
* inaccessible.
|
|
1552
|
-
*
|
|
687
|
+
*
|
|
1553
688
|
* Requires a `Signed` origin, and the sender account must have been created by a call to
|
|
1554
689
|
* `create_pure` with corresponding parameters.
|
|
1555
|
-
*
|
|
690
|
+
*
|
|
1556
691
|
* - `spawner`: The account that originally called `create_pure` to create this account.
|
|
1557
692
|
* - `index`: The disambiguation index originally passed to `create_pure`. Probably `0`.
|
|
1558
693
|
* - `proxy_type`: The proxy type originally passed to `create_pure`.
|
|
1559
694
|
* - `height`: The height of the chain when the call to `create_pure` was processed.
|
|
1560
695
|
* - `ext_index`: The extrinsic index in which the call to `create_pure` was processed.
|
|
1561
|
-
*
|
|
696
|
+
*
|
|
1562
697
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
1563
698
|
* account whose `create_pure` call has corresponding parameters.
|
|
1564
699
|
**/
|
|
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
|
-
>;
|
|
700
|
+
killPure: AugmentedSubmittable<(spawner: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array, index: u16 | AnyNumber | Uint8Array, height: Compact<u32> | AnyNumber | Uint8Array, extIndex: Compact<u32> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u16, Compact<u32>, Compact<u32>]>;
|
|
1594
701
|
/**
|
|
1595
702
|
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
1596
703
|
* This can be used by accounts to possibly lower their locked amount.
|
|
1597
|
-
*
|
|
704
|
+
*
|
|
1598
705
|
* The dispatch origin for this call must be _Signed_.
|
|
1599
|
-
*
|
|
706
|
+
*
|
|
1600
707
|
* The transaction fee is waived if the deposit amount has changed.
|
|
1601
|
-
*
|
|
708
|
+
*
|
|
1602
709
|
* Emits `DepositPoked` if successful.
|
|
1603
710
|
**/
|
|
1604
711
|
pokeDeposit: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1605
712
|
/**
|
|
1606
713
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
1607
714
|
* `add_proxy`.
|
|
1608
|
-
*
|
|
715
|
+
*
|
|
1609
716
|
* The dispatch origin for this call must be _Signed_.
|
|
1610
|
-
*
|
|
717
|
+
*
|
|
1611
718
|
* Parameters:
|
|
1612
719
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
1613
720
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
1614
721
|
* - `call`: The call to be made by the `real` account.
|
|
1615
722
|
**/
|
|
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
|
-
>;
|
|
723
|
+
proxy: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
|
|
1645
724
|
/**
|
|
1646
725
|
* Dispatch the given `call` from an account that the sender is authorized for through
|
|
1647
726
|
* `add_proxy`.
|
|
1648
|
-
*
|
|
727
|
+
*
|
|
1649
728
|
* Removes any corresponding announcement(s).
|
|
1650
|
-
*
|
|
729
|
+
*
|
|
1651
730
|
* The dispatch origin for this call must be _Signed_.
|
|
1652
|
-
*
|
|
731
|
+
*
|
|
1653
732
|
* Parameters:
|
|
1654
733
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
1655
734
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
1656
735
|
* - `call`: The call to be made by the `real` account.
|
|
1657
736
|
**/
|
|
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
|
-
>;
|
|
737
|
+
proxyAnnounced: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, forceProxyType: Option<ArgonRuntimeProxyType> | null | Uint8Array | ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, MultiAddress, Option<ArgonRuntimeProxyType>, Call]>;
|
|
1696
738
|
/**
|
|
1697
739
|
* Remove the given announcement of a delegate.
|
|
1698
|
-
*
|
|
740
|
+
*
|
|
1699
741
|
* May be called by a target (proxied) account to remove a call that one of their delegates
|
|
1700
742
|
* (`delegate`) has announced they want to execute. The deposit is returned.
|
|
1701
|
-
*
|
|
743
|
+
*
|
|
1702
744
|
* The dispatch origin for this call must be _Signed_.
|
|
1703
|
-
*
|
|
745
|
+
*
|
|
1704
746
|
* Parameters:
|
|
1705
747
|
* - `delegate`: The account that previously announced the call.
|
|
1706
748
|
* - `call_hash`: The hash of the call to be made.
|
|
1707
749
|
**/
|
|
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
|
-
>;
|
|
750
|
+
rejectAnnouncement: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
1723
751
|
/**
|
|
1724
752
|
* Remove a given announcement.
|
|
1725
|
-
*
|
|
753
|
+
*
|
|
1726
754
|
* May be called by a proxy account to remove a call they previously announced and return
|
|
1727
755
|
* the deposit.
|
|
1728
|
-
*
|
|
756
|
+
*
|
|
1729
757
|
* The dispatch origin for this call must be _Signed_.
|
|
1730
|
-
*
|
|
758
|
+
*
|
|
1731
759
|
* Parameters:
|
|
1732
760
|
* - `real`: The account that the proxy will make a call on behalf of.
|
|
1733
761
|
* - `call_hash`: The hash of the call to be made by the `real` account.
|
|
1734
762
|
**/
|
|
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
|
-
>;
|
|
763
|
+
removeAnnouncement: AugmentedSubmittable<(real: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, callHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, H256]>;
|
|
1750
764
|
/**
|
|
1751
765
|
* Unregister all proxy accounts for the sender.
|
|
1752
|
-
*
|
|
766
|
+
*
|
|
1753
767
|
* The dispatch origin for this call must be _Signed_.
|
|
1754
|
-
*
|
|
768
|
+
*
|
|
1755
769
|
* WARNING: This may be called on accounts created by `create_pure`, however if done, then
|
|
1756
770
|
* the unreserved fees will be inaccessible. **All access to this account will be lost.**
|
|
1757
771
|
**/
|
|
1758
772
|
removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
1759
773
|
/**
|
|
1760
774
|
* Unregister a proxy account for the sender.
|
|
1761
|
-
*
|
|
775
|
+
*
|
|
1762
776
|
* The dispatch origin for this call must be _Signed_.
|
|
1763
|
-
*
|
|
777
|
+
*
|
|
1764
778
|
* Parameters:
|
|
1765
779
|
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
|
1766
780
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
1767
781
|
**/
|
|
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
|
-
>;
|
|
782
|
+
removeProxy: AugmentedSubmittable<(delegate: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, proxyType: ArgonRuntimeProxyType | 'Any' | 'MiningBidRealPaysFee' | number | Uint8Array, delay: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, ArgonRuntimeProxyType, u32]>;
|
|
783
|
+
};
|
|
784
|
+
stabilizerBuys: {
|
|
785
|
+
/**
|
|
786
|
+
* Submit a whole-percent bid during F+1. Larger matching bases break equal-rate ties;
|
|
787
|
+
* account ID orders bids with the same rate and matching basis.
|
|
788
|
+
**/
|
|
789
|
+
bid: AugmentedSubmittable<(admissionFrame: u64 | AnyNumber | Uint8Array, rewardRate: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, Percent]>;
|
|
790
|
+
/**
|
|
791
|
+
* Select the reward pool, or disable new purchase eligibility.
|
|
792
|
+
**/
|
|
793
|
+
setApprovedPool: AugmentedSubmittable<(pool: Option<PalletStabilizerBuysUniswapPurchasePurchasePool> | null | Uint8Array | PalletStabilizerBuysUniswapPurchasePurchasePool | { chainId?: any; poolManager?: any; poolId?: any; usdcToken?: any; argonIsToken0?: any } | string) => SubmittableExtrinsic<ApiType>, [Option<PalletStabilizerBuysUniswapPurchasePurchasePool>]>;
|
|
794
|
+
/**
|
|
795
|
+
* Change matching for newly created auctions; existing policy remains frozen.
|
|
796
|
+
**/
|
|
797
|
+
setMatchingRate: AugmentedSubmittable<(rate: Permill | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Permill]>;
|
|
798
|
+
};
|
|
799
|
+
stabilizerPools: {
|
|
800
|
+
/**
|
|
801
|
+
* Register a baseline, extend a maintained revision, or reset after an unproven change.
|
|
802
|
+
**/
|
|
803
|
+
checkpointPosition: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, poolId: H256 | string | Uint8Array, tokenId: U256 | AnyNumber | Uint8Array, proof: PalletStabilizerPoolsPositionProof | { subscriber?: any; positionManager?: any; poolManager?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, H256, U256, PalletStabilizerPoolsPositionProof]>;
|
|
804
|
+
/**
|
|
805
|
+
* Approve immutable deployment bindings and the canonical pool key.
|
|
806
|
+
* Root must verify the pinned implementations and their immutable bindings first.
|
|
807
|
+
**/
|
|
808
|
+
registerPool: AugmentedSubmittable<(poolManager: H160 | string | Uint8Array, config: PalletStabilizerPoolsPoolConfig | { positionManager?: any; subscriber?: any; key?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H160, PalletStabilizerPoolsPoolConfig]>;
|
|
1795
809
|
};
|
|
1796
810
|
sudo: {
|
|
1797
811
|
/**
|
|
1798
812
|
* Permanently removes the sudo key.
|
|
1799
|
-
*
|
|
813
|
+
*
|
|
1800
814
|
* **This cannot be un-done.**
|
|
1801
815
|
**/
|
|
1802
816
|
removeKey: AugmentedSubmittable<() => SubmittableExtrinsic<ApiType>, []>;
|
|
@@ -1804,206 +818,124 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
1804
818
|
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
|
|
1805
819
|
* key.
|
|
1806
820
|
**/
|
|
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
|
-
>;
|
|
821
|
+
setKey: AugmentedSubmittable<(updated: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress]>;
|
|
1821
822
|
/**
|
|
1822
823
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
1823
824
|
**/
|
|
1824
|
-
sudo: AugmentedSubmittable<
|
|
1825
|
-
(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1826
|
-
[Call]
|
|
1827
|
-
>;
|
|
825
|
+
sudo: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call]>;
|
|
1828
826
|
/**
|
|
1829
827
|
* Authenticates the sudo key and dispatches a function call with `Signed` origin from
|
|
1830
828
|
* a given account.
|
|
1831
|
-
*
|
|
829
|
+
*
|
|
1832
830
|
* The dispatch origin for this call must be _Signed_.
|
|
1833
831
|
**/
|
|
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
|
-
>;
|
|
832
|
+
sudoAs: AugmentedSubmittable<(who: MultiAddress | { Id: any } | { Index: any } | { Raw: any } | { Address32: any } | { Address20: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [MultiAddress, Call]>;
|
|
1849
833
|
/**
|
|
1850
834
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
1851
835
|
* This function does not check the weight of the call, and instead allows the
|
|
1852
836
|
* Sudo user to specify the weight of the call.
|
|
1853
|
-
*
|
|
837
|
+
*
|
|
1854
838
|
* The dispatch origin for this call must be _Signed_.
|
|
1855
839
|
**/
|
|
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
|
-
>;
|
|
840
|
+
sudoUncheckedWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
|
|
1867
841
|
};
|
|
1868
842
|
system: {
|
|
1869
843
|
/**
|
|
1870
844
|
* Provide the preimage (runtime binary) `code` for an upgrade that has been authorized.
|
|
1871
|
-
*
|
|
845
|
+
*
|
|
1872
846
|
* If the authorization required a version check, this call will ensure the spec name
|
|
1873
847
|
* remains unchanged and that the spec version has increased.
|
|
1874
|
-
*
|
|
848
|
+
*
|
|
1875
849
|
* Depending on the runtime's `OnSetCode` configuration, this function may directly apply
|
|
1876
850
|
* the new `code` in the same block or attempt to schedule the upgrade.
|
|
1877
|
-
*
|
|
851
|
+
*
|
|
1878
852
|
* All origins are allowed.
|
|
1879
853
|
**/
|
|
1880
|
-
applyAuthorizedUpgrade: AugmentedSubmittable<
|
|
1881
|
-
(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1882
|
-
[Bytes]
|
|
1883
|
-
>;
|
|
854
|
+
applyAuthorizedUpgrade: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1884
855
|
/**
|
|
1885
856
|
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
1886
857
|
* later.
|
|
1887
|
-
*
|
|
858
|
+
*
|
|
1888
859
|
* This call requires Root origin.
|
|
1889
860
|
**/
|
|
1890
|
-
authorizeUpgrade: AugmentedSubmittable<
|
|
1891
|
-
(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1892
|
-
[H256]
|
|
1893
|
-
>;
|
|
861
|
+
authorizeUpgrade: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
1894
862
|
/**
|
|
1895
863
|
* Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied
|
|
1896
864
|
* later.
|
|
1897
|
-
*
|
|
865
|
+
*
|
|
1898
866
|
* WARNING: This authorizes an upgrade that will take place without any safety checks, for
|
|
1899
867
|
* example that the spec name remains the same and that the version number increases. Not
|
|
1900
868
|
* recommended for normal use. Use `authorize_upgrade` instead.
|
|
1901
|
-
*
|
|
869
|
+
*
|
|
1902
870
|
* This call requires Root origin.
|
|
1903
871
|
**/
|
|
1904
|
-
authorizeUpgradeWithoutChecks: AugmentedSubmittable<
|
|
1905
|
-
(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1906
|
-
[H256]
|
|
1907
|
-
>;
|
|
872
|
+
authorizeUpgradeWithoutChecks: AugmentedSubmittable<(codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [H256]>;
|
|
1908
873
|
/**
|
|
1909
874
|
* Kill all storage items with a key that starts with the given prefix.
|
|
1910
|
-
*
|
|
875
|
+
*
|
|
1911
876
|
* **NOTE:** We rely on the Root origin to provide us the number of subkeys under
|
|
1912
877
|
* the prefix we are removing to accurately calculate the weight of this function.
|
|
1913
878
|
**/
|
|
1914
|
-
killPrefix: AugmentedSubmittable<
|
|
1915
|
-
(
|
|
1916
|
-
prefix: Bytes | string | Uint8Array,
|
|
1917
|
-
subkeys: u32 | AnyNumber | Uint8Array,
|
|
1918
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
1919
|
-
[Bytes, u32]
|
|
1920
|
-
>;
|
|
879
|
+
killPrefix: AugmentedSubmittable<(prefix: Bytes | string | Uint8Array, subkeys: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes, u32]>;
|
|
1921
880
|
/**
|
|
1922
881
|
* Kill some items from storage.
|
|
1923
882
|
**/
|
|
1924
|
-
killStorage: AugmentedSubmittable<
|
|
1925
|
-
(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>,
|
|
1926
|
-
[Vec<Bytes>]
|
|
1927
|
-
>;
|
|
883
|
+
killStorage: AugmentedSubmittable<(keys: Vec<Bytes> | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Bytes>]>;
|
|
1928
884
|
/**
|
|
1929
885
|
* Make some on-chain remark.
|
|
1930
|
-
*
|
|
886
|
+
*
|
|
1931
887
|
* Can be executed by every `origin`.
|
|
1932
888
|
**/
|
|
1933
|
-
remark: AugmentedSubmittable<
|
|
1934
|
-
(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1935
|
-
[Bytes]
|
|
1936
|
-
>;
|
|
889
|
+
remark: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1937
890
|
/**
|
|
1938
891
|
* Make some on-chain remark and emit event.
|
|
1939
892
|
**/
|
|
1940
|
-
remarkWithEvent: AugmentedSubmittable<
|
|
1941
|
-
(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1942
|
-
[Bytes]
|
|
1943
|
-
>;
|
|
893
|
+
remarkWithEvent: AugmentedSubmittable<(remark: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1944
894
|
/**
|
|
1945
895
|
* Set the new runtime code.
|
|
1946
896
|
**/
|
|
1947
|
-
setCode: AugmentedSubmittable<
|
|
1948
|
-
(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1949
|
-
[Bytes]
|
|
1950
|
-
>;
|
|
897
|
+
setCode: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1951
898
|
/**
|
|
1952
899
|
* Set the new runtime code without doing any checks of the given `code`.
|
|
1953
|
-
*
|
|
900
|
+
*
|
|
1954
901
|
* Note that runtime upgrades will not run if this is called with a not-increasing spec
|
|
1955
902
|
* version!
|
|
1956
903
|
**/
|
|
1957
|
-
setCodeWithoutChecks: AugmentedSubmittable<
|
|
1958
|
-
(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1959
|
-
[Bytes]
|
|
1960
|
-
>;
|
|
904
|
+
setCodeWithoutChecks: AugmentedSubmittable<(code: Bytes | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Bytes]>;
|
|
1961
905
|
/**
|
|
1962
906
|
* Set the number of pages in the WebAssembly environment's heap.
|
|
1963
907
|
**/
|
|
1964
|
-
setHeapPages: AugmentedSubmittable<
|
|
1965
|
-
(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
1966
|
-
[u64]
|
|
1967
|
-
>;
|
|
908
|
+
setHeapPages: AugmentedSubmittable<(pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
1968
909
|
/**
|
|
1969
910
|
* Set some items of storage.
|
|
1970
911
|
**/
|
|
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
|
-
>;
|
|
912
|
+
setStorage: AugmentedSubmittable<(items: Vec<ITuple<[Bytes, Bytes]>> | ([Bytes | string | Uint8Array, Bytes | string | Uint8Array])[]) => SubmittableExtrinsic<ApiType>, [Vec<ITuple<[Bytes, Bytes]>>]>;
|
|
913
|
+
};
|
|
914
|
+
ticks: {
|
|
1979
915
|
};
|
|
1980
|
-
ticks: {};
|
|
1981
916
|
timestamp: {
|
|
1982
917
|
/**
|
|
1983
918
|
* Set the current time.
|
|
1984
|
-
*
|
|
919
|
+
*
|
|
1985
920
|
* This call should be invoked exactly once per block. It will panic at the finalization
|
|
1986
921
|
* phase, if this call hasn't been invoked by that time.
|
|
1987
|
-
*
|
|
922
|
+
*
|
|
1988
923
|
* The timestamp should be greater than the previous one by the amount specified by
|
|
1989
924
|
* [`Config::MinimumPeriod`].
|
|
1990
|
-
*
|
|
925
|
+
*
|
|
1991
926
|
* The dispatch origin for this call must be _None_.
|
|
1992
|
-
*
|
|
927
|
+
*
|
|
1993
928
|
* This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware
|
|
1994
929
|
* that changing the complexity of this call could result exhausting the resources in a
|
|
1995
930
|
* block to execute any other calls.
|
|
1996
|
-
*
|
|
931
|
+
*
|
|
1997
932
|
* ## Complexity
|
|
1998
933
|
* - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`)
|
|
1999
934
|
* - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in
|
|
2000
935
|
* `on_finalize`)
|
|
2001
936
|
* - 1 event handler `on_timestamp_set`. Must be `O(1)`.
|
|
2002
937
|
**/
|
|
2003
|
-
set: AugmentedSubmittable<
|
|
2004
|
-
(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2005
|
-
[Compact<u64>]
|
|
2006
|
-
>;
|
|
938
|
+
set: AugmentedSubmittable<(now: Compact<u64> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u64>]>;
|
|
2007
939
|
};
|
|
2008
940
|
treasury: {
|
|
2009
941
|
/**
|
|
@@ -2011,401 +943,209 @@ declare module '@polkadot/api-base/types/submittable' {
|
|
|
2011
943
|
* This changes bond-lot metrics only; it never pays, holds, or releases funds. `expected`
|
|
2012
944
|
* guards against overwriting a newer payout, and replaying `updated` is a no-op.
|
|
2013
945
|
**/
|
|
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
|
-
>;
|
|
946
|
+
backfillBondLotEarnings: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array, expected: PalletTreasuryBondLotEarningsMetrics | { participatedFrames?: any; lastFrameEarningsFrameId?: any; lastFrameEarnings?: any; cumulativeEarnings?: any } | string | Uint8Array, updated: PalletTreasuryBondLotEarningsMetrics | { participatedFrames?: any; lastFrameEarningsFrameId?: any; lastFrameEarnings?: any; cumulativeEarnings?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, PalletTreasuryBondLotEarningsMetrics, PalletTreasuryBondLotEarningsMetrics]>;
|
|
2040
947
|
/**
|
|
2041
948
|
* Buy whole bond units for the Argonot active set.
|
|
2042
949
|
**/
|
|
2043
|
-
buyArgonotBonds: AugmentedSubmittable<
|
|
2044
|
-
(bonds: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>,
|
|
2045
|
-
[u32]
|
|
2046
|
-
>;
|
|
950
|
+
buyArgonotBonds: AugmentedSubmittable<(bonds: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
2047
951
|
/**
|
|
2048
952
|
* Buy whole `1 ARGON` bonds for a vault.
|
|
2049
|
-
*
|
|
953
|
+
*
|
|
2050
954
|
* The purchase either creates a bond lot or fails.
|
|
2051
955
|
**/
|
|
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
|
-
>;
|
|
956
|
+
buyBonds: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bonds: u32 | AnyNumber | Uint8Array, bonusApproval: Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof> | null | Uint8Array | ArgonPrimitivesVaultTreasuryBonusApprovalProof | { vaultId?: any; beneficiary?: any; bonusPercent?: any; expiresAtFrame?: any; bondSpaceToUnreserve?: any; nonce?: any; signature?: any } | string) => SubmittableExtrinsic<ApiType>, [u32, u32, Option<ArgonPrimitivesVaultTreasuryBonusApprovalProof>]>;
|
|
2074
957
|
/**
|
|
2075
958
|
* Update reward economics without resetting fields omitted by the caller.
|
|
2076
959
|
**/
|
|
2077
|
-
configureRewardEconomics: AugmentedSubmittable<
|
|
2078
|
-
(
|
|
2079
|
-
targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber,
|
|
2080
|
-
upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber,
|
|
2081
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2082
|
-
[Option<Percent>, Option<Percent>]
|
|
2083
|
-
>;
|
|
960
|
+
configureRewardEconomics: AugmentedSubmittable<(targetBitcoinPercent: Option<Percent> | null | Uint8Array | Percent | AnyNumber, upstreamParticipationFactor: Option<Percent> | null | Uint8Array | Percent | AnyNumber) => SubmittableExtrinsic<ApiType>, [Option<Percent>, Option<Percent>]>;
|
|
2084
961
|
/**
|
|
2085
962
|
* Liquidate one full bond lot. It keeps the locked frame's payout terms and is
|
|
2086
963
|
* released after the delay.
|
|
2087
964
|
**/
|
|
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
|
-
>;
|
|
965
|
+
liquidateBondLot: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64]>;
|
|
966
|
+
setBondLotFlexible: AugmentedSubmittable<(bondLotId: u64 | AnyNumber | Uint8Array, isFlexible: bool | boolean | Uint8Array) => SubmittableExtrinsic<ApiType>, [u64, bool]>;
|
|
2099
967
|
/**
|
|
2100
968
|
* Reserve vault bond space for future bond purchases.
|
|
2101
969
|
**/
|
|
2102
|
-
setReservedBondSpace: AugmentedSubmittable<
|
|
2103
|
-
(
|
|
2104
|
-
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2105
|
-
reservedBondSpace: u32 | AnyNumber | Uint8Array,
|
|
2106
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2107
|
-
[u32, u32]
|
|
2108
|
-
>;
|
|
970
|
+
setReservedBondSpace: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, reservedBondSpace: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u32]>;
|
|
2109
971
|
};
|
|
2110
972
|
txPause: {
|
|
2111
973
|
/**
|
|
2112
974
|
* Pause a call.
|
|
2113
|
-
*
|
|
975
|
+
*
|
|
2114
976
|
* Can only be called by [`Config::PauseOrigin`].
|
|
2115
977
|
* Emits an [`Event::CallPaused`] event on success.
|
|
2116
978
|
**/
|
|
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
|
-
>;
|
|
979
|
+
pause: AugmentedSubmittable<(fullName: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
|
|
2125
980
|
/**
|
|
2126
981
|
* Un-pause a call.
|
|
2127
|
-
*
|
|
982
|
+
*
|
|
2128
983
|
* Can only be called by [`Config::UnpauseOrigin`].
|
|
2129
984
|
* Emits an [`Event::CallUnpaused`] event on success.
|
|
2130
985
|
**/
|
|
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
|
-
>;
|
|
986
|
+
unpause: AugmentedSubmittable<(ident: ITuple<[Bytes, Bytes]> | [Bytes | string | Uint8Array, Bytes | string | Uint8Array]) => SubmittableExtrinsic<ApiType>, [ITuple<[Bytes, Bytes]>]>;
|
|
2139
987
|
};
|
|
2140
988
|
utility: {
|
|
2141
989
|
/**
|
|
2142
990
|
* Send a call through an indexed pseudonym of the sender.
|
|
2143
|
-
*
|
|
991
|
+
*
|
|
2144
992
|
* Filter from origin are passed along. The call will be dispatched with an origin which
|
|
2145
993
|
* use the same filter as the origin of this call.
|
|
2146
|
-
*
|
|
994
|
+
*
|
|
2147
995
|
* NOTE: If you need to ensure that any account-based filtering is not honored (i.e.
|
|
2148
996
|
* because you expect `proxy` to have been used prior in the call stack and you do not want
|
|
2149
997
|
* the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1`
|
|
2150
998
|
* in the Multisig pallet instead.
|
|
2151
|
-
*
|
|
999
|
+
*
|
|
2152
1000
|
* NOTE: Prior to version *12, this was called `as_limited_sub`.
|
|
2153
|
-
*
|
|
1001
|
+
*
|
|
2154
1002
|
* The dispatch origin for this call must be _Signed_.
|
|
2155
1003
|
**/
|
|
2156
|
-
asDerivative: AugmentedSubmittable<
|
|
2157
|
-
(
|
|
2158
|
-
index: u16 | AnyNumber | Uint8Array,
|
|
2159
|
-
call: Call | IMethod | string | Uint8Array,
|
|
2160
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2161
|
-
[u16, Call]
|
|
2162
|
-
>;
|
|
1004
|
+
asDerivative: AugmentedSubmittable<(index: u16 | AnyNumber | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u16, Call]>;
|
|
2163
1005
|
/**
|
|
2164
1006
|
* Send a batch of dispatch calls.
|
|
2165
|
-
*
|
|
1007
|
+
*
|
|
2166
1008
|
* May be called from any origin except `None`.
|
|
2167
|
-
*
|
|
1009
|
+
*
|
|
2168
1010
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
2169
1011
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
2170
|
-
*
|
|
1012
|
+
*
|
|
2171
1013
|
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
2172
1014
|
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
2173
|
-
*
|
|
1015
|
+
*
|
|
2174
1016
|
* ## Complexity
|
|
2175
1017
|
* - O(C) where C is the number of calls to be batched.
|
|
2176
|
-
*
|
|
1018
|
+
*
|
|
2177
1019
|
* This will return `Ok` in all circumstances. To determine the success of the batch, an
|
|
2178
1020
|
* event is deposited. If a call failed and the batch was interrupted, then the
|
|
2179
1021
|
* `BatchInterrupted` event is deposited, along with the number of successful calls made
|
|
2180
1022
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
2181
1023
|
* event is deposited.
|
|
2182
1024
|
**/
|
|
2183
|
-
batch: AugmentedSubmittable<
|
|
2184
|
-
(
|
|
2185
|
-
calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[],
|
|
2186
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2187
|
-
[Vec<Call>]
|
|
2188
|
-
>;
|
|
1025
|
+
batch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
2189
1026
|
/**
|
|
2190
1027
|
* Send a batch of dispatch calls and atomically execute them.
|
|
2191
1028
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
2192
|
-
*
|
|
1029
|
+
*
|
|
2193
1030
|
* May be called from any origin except `None`.
|
|
2194
|
-
*
|
|
1031
|
+
*
|
|
2195
1032
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
2196
1033
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
2197
|
-
*
|
|
1034
|
+
*
|
|
2198
1035
|
* If origin is root then the calls are dispatched without checking origin filter. (This
|
|
2199
1036
|
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
2200
|
-
*
|
|
1037
|
+
*
|
|
2201
1038
|
* ## Complexity
|
|
2202
1039
|
* - O(C) where C is the number of calls to be batched.
|
|
2203
1040
|
**/
|
|
2204
|
-
batchAll: AugmentedSubmittable<
|
|
2205
|
-
(
|
|
2206
|
-
calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[],
|
|
2207
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2208
|
-
[Vec<Call>]
|
|
2209
|
-
>;
|
|
1041
|
+
batchAll: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
2210
1042
|
/**
|
|
2211
1043
|
* Dispatches a function call with a provided origin.
|
|
2212
|
-
*
|
|
1044
|
+
*
|
|
2213
1045
|
* The dispatch origin for this call must be _Root_.
|
|
2214
|
-
*
|
|
1046
|
+
*
|
|
2215
1047
|
* ## Complexity
|
|
2216
1048
|
* - O(1).
|
|
2217
1049
|
**/
|
|
2218
|
-
dispatchAs: AugmentedSubmittable<
|
|
2219
|
-
(
|
|
2220
|
-
asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array,
|
|
2221
|
-
call: Call | IMethod | string | Uint8Array,
|
|
2222
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2223
|
-
[ArgonRuntimeOriginCaller, Call]
|
|
2224
|
-
>;
|
|
1050
|
+
dispatchAs: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
|
|
2225
1051
|
/**
|
|
2226
1052
|
* Dispatches a function call with a provided origin.
|
|
2227
|
-
*
|
|
1053
|
+
*
|
|
2228
1054
|
* Almost the same as [`Pallet::dispatch_as`] but forwards any error of the inner call.
|
|
2229
|
-
*
|
|
1055
|
+
*
|
|
2230
1056
|
* The dispatch origin for this call must be _Root_.
|
|
2231
1057
|
**/
|
|
2232
|
-
dispatchAsFallible: AugmentedSubmittable<
|
|
2233
|
-
(
|
|
2234
|
-
asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array,
|
|
2235
|
-
call: Call | IMethod | string | Uint8Array,
|
|
2236
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2237
|
-
[ArgonRuntimeOriginCaller, Call]
|
|
2238
|
-
>;
|
|
1058
|
+
dispatchAsFallible: AugmentedSubmittable<(asOrigin: ArgonRuntimeOriginCaller | { system: any } | string | Uint8Array, call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [ArgonRuntimeOriginCaller, Call]>;
|
|
2239
1059
|
/**
|
|
2240
1060
|
* Send a batch of dispatch calls.
|
|
2241
1061
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
2242
|
-
*
|
|
1062
|
+
*
|
|
2243
1063
|
* May be called from any origin except `None`.
|
|
2244
|
-
*
|
|
1064
|
+
*
|
|
2245
1065
|
* - `calls`: The calls to be dispatched from the same origin. The number of call must not
|
|
2246
1066
|
* exceed the constant: `batched_calls_limit` (available in constant metadata).
|
|
2247
|
-
*
|
|
1067
|
+
*
|
|
2248
1068
|
* If origin is root then the calls are dispatch without checking origin filter. (This
|
|
2249
1069
|
* includes bypassing `frame_system::Config::BaseCallFilter`).
|
|
2250
|
-
*
|
|
1070
|
+
*
|
|
2251
1071
|
* ## Complexity
|
|
2252
1072
|
* - O(C) where C is the number of calls to be batched.
|
|
2253
1073
|
**/
|
|
2254
|
-
forceBatch: AugmentedSubmittable<
|
|
2255
|
-
(
|
|
2256
|
-
calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[],
|
|
2257
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2258
|
-
[Vec<Call>]
|
|
2259
|
-
>;
|
|
1074
|
+
forceBatch: AugmentedSubmittable<(calls: Vec<Call> | (Call | IMethod | string | Uint8Array)[]) => SubmittableExtrinsic<ApiType>, [Vec<Call>]>;
|
|
2260
1075
|
/**
|
|
2261
1076
|
* Dispatch a fallback call in the event the main call fails to execute.
|
|
2262
1077
|
* May be called from any origin except `None`.
|
|
2263
|
-
*
|
|
1078
|
+
*
|
|
2264
1079
|
* This function first attempts to dispatch the `main` call.
|
|
2265
1080
|
* If the `main` call fails, the `fallback` is attemted.
|
|
2266
1081
|
* if the fallback is successfully dispatched, the weights of both calls
|
|
2267
1082
|
* are accumulated and an event containing the main call error is deposited.
|
|
2268
|
-
*
|
|
1083
|
+
*
|
|
2269
1084
|
* In the event of a fallback failure the whole call fails
|
|
2270
1085
|
* with the weights returned.
|
|
2271
|
-
*
|
|
1086
|
+
*
|
|
2272
1087
|
* - `main`: The main call to be dispatched. This is the primary action to execute.
|
|
2273
1088
|
* - `fallback`: The fallback call to be dispatched in case the `main` call fails.
|
|
2274
|
-
*
|
|
1089
|
+
*
|
|
2275
1090
|
* ## Dispatch Logic
|
|
2276
1091
|
* - If the origin is `root`, both the main and fallback calls are executed without
|
|
2277
1092
|
* applying any origin filters.
|
|
2278
1093
|
* - If the origin is not `root`, the origin filter is applied to both the `main` and
|
|
2279
1094
|
* `fallback` calls.
|
|
2280
|
-
*
|
|
1095
|
+
*
|
|
2281
1096
|
* ## Use Case
|
|
2282
1097
|
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
2283
1098
|
* or both.
|
|
2284
1099
|
**/
|
|
2285
|
-
ifElse: AugmentedSubmittable<
|
|
2286
|
-
(
|
|
2287
|
-
main: Call | IMethod | string | Uint8Array,
|
|
2288
|
-
fallback: Call | IMethod | string | Uint8Array,
|
|
2289
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2290
|
-
[Call, Call]
|
|
2291
|
-
>;
|
|
1100
|
+
ifElse: AugmentedSubmittable<(main: Call | IMethod | string | Uint8Array, fallback: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, Call]>;
|
|
2292
1101
|
/**
|
|
2293
1102
|
* Dispatch a function call with a specified weight.
|
|
2294
|
-
*
|
|
1103
|
+
*
|
|
2295
1104
|
* This function does not check the weight of the call, and instead allows the
|
|
2296
1105
|
* Root origin to specify the weight of the call.
|
|
2297
|
-
*
|
|
1106
|
+
*
|
|
2298
1107
|
* The dispatch origin for this call must be _Root_.
|
|
2299
1108
|
**/
|
|
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
|
-
>;
|
|
1109
|
+
withWeight: AugmentedSubmittable<(call: Call | IMethod | string | Uint8Array, weight: SpWeightsWeightV2Weight | { refTime?: any; proofSize?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [Call, SpWeightsWeightV2Weight]>;
|
|
2311
1110
|
};
|
|
2312
1111
|
vaults: {
|
|
2313
1112
|
/**
|
|
2314
1113
|
* Stop offering new Bitcoin locks. Existing locks continue; securitization exits after
|
|
2315
1114
|
* its notice and any existing Bitcoin commitment.
|
|
2316
1115
|
**/
|
|
2317
|
-
close: AugmentedSubmittable<
|
|
2318
|
-
|
|
2319
|
-
|
|
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
|
-
>;
|
|
1116
|
+
close: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1117
|
+
collect: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32]>;
|
|
1118
|
+
create: AugmentedSubmittable<(vaultConfig: PalletVaultsVaultConfig | { terms?: any; delegateAccountId?: any; securitization?: any; bitcoinXpubkey?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [PalletVaultsVaultConfig]>;
|
|
2341
1119
|
/**
|
|
2342
1120
|
* Modify funds allocated by the vault without changing existing Bitcoin locks.
|
|
2343
|
-
*
|
|
2344
|
-
* The securitization percent must be maintained or increased.
|
|
2345
|
-
*
|
|
1121
|
+
*
|
|
2346
1122
|
* Funds not yet used in a reward snapshot may leave without notice if not needed for
|
|
2347
1123
|
* Bitcoin commitments. Reward-committed funds require a one-year Bitcoin-height exit
|
|
2348
1124
|
* notice and remain held until both the notice and any Bitcoin commitment have ended.
|
|
2349
1125
|
* To stop issuing locks, use `close`.
|
|
2350
1126
|
**/
|
|
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
|
-
>;
|
|
1127
|
+
modifyFunding: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, securitization: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, u128]>;
|
|
2359
1128
|
/**
|
|
2360
1129
|
* Change the terms of this vault. The change will be applied at the next mining frame
|
|
2361
1130
|
* change that is at least `MinTermsModificationBlockDelay` blocks away.
|
|
2362
1131
|
**/
|
|
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
|
-
>;
|
|
1132
|
+
modifyTerms: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, terms: ArgonPrimitivesVaultVaultTerms | { bitcoinAnnualPercentRate?: any; bitcoinBaseFee?: any } | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, ArgonPrimitivesVaultVaultTerms]>;
|
|
2374
1133
|
/**
|
|
2375
1134
|
* Replace the bitcoin xpubkey for this vault. This will not affect existing bitcoin locks,
|
|
2376
1135
|
* but will be used for any locks after this point. Will be rejected if already
|
|
2377
1136
|
* used.
|
|
2378
1137
|
**/
|
|
2379
|
-
replaceBitcoinXpub: AugmentedSubmittable<
|
|
2380
|
-
(
|
|
2381
|
-
vaultId: u32 | AnyNumber | Uint8Array,
|
|
2382
|
-
bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array,
|
|
2383
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2384
|
-
[u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]
|
|
2385
|
-
>;
|
|
1138
|
+
replaceBitcoinXpub: AugmentedSubmittable<(vaultId: u32 | AnyNumber | Uint8Array, bitcoinXpub: ArgonPrimitivesBitcoinOpaqueBitcoinXpub | string | Uint8Array) => SubmittableExtrinsic<ApiType>, [u32, ArgonPrimitivesBitcoinOpaqueBitcoinXpub]>;
|
|
2386
1139
|
/**
|
|
2387
1140
|
* Set the desired Argonot backing. Unused funds release immediately; reward commitments
|
|
2388
1141
|
* withdraw after one-year notice, continuing to participate until released.
|
|
2389
1142
|
**/
|
|
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
|
-
>;
|
|
1143
|
+
setArgonotSecuritization: AugmentedSubmittable<(amount: Compact<u128> | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [Compact<u128>]>;
|
|
1144
|
+
setDelegateAccount: AugmentedSubmittable<(delegateAccountId: Option<AccountId32> | null | Uint8Array | AccountId32 | string) => SubmittableExtrinsic<ApiType>, [Option<AccountId32>]>;
|
|
2400
1145
|
/**
|
|
2401
1146
|
* Reserve vault securitization space for future Bitcoin locks.
|
|
2402
1147
|
**/
|
|
2403
|
-
setReservedSecuritizationSpace: AugmentedSubmittable<
|
|
2404
|
-
(
|
|
2405
|
-
reservedSecuritizationSpace: u128 | AnyNumber | Uint8Array,
|
|
2406
|
-
) => SubmittableExtrinsic<ApiType>,
|
|
2407
|
-
[u128]
|
|
2408
|
-
>;
|
|
1148
|
+
setReservedSecuritizationSpace: AugmentedSubmittable<(reservedSecuritizationSpace: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic<ApiType>, [u128]>;
|
|
2409
1149
|
};
|
|
2410
1150
|
} // AugmentedSubmittables
|
|
2411
1151
|
} // declare module
|