@dedot/chaintypes 0.201.0 → 0.203.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/hydration/errors.d.ts +19 -0
- package/hydration/index.d.ts +1 -1
- package/hydration/types.d.ts +14 -0
- package/package.json +2 -2
- package/paseo/json-rpc.d.ts +1 -0
- package/paseo-hydration/consts.d.ts +83 -11
- package/paseo-hydration/errors.d.ts +202 -28
- package/paseo-hydration/events.d.ts +173 -27
- package/paseo-hydration/index.d.ts +1 -1
- package/paseo-hydration/query.d.ts +91 -0
- package/paseo-hydration/tx.d.ts +384 -68
- package/paseo-hydration/types.d.ts +596 -64
package/paseo-hydration/tx.d.ts
CHANGED
|
@@ -59,6 +59,10 @@ import type {
|
|
|
59
59
|
PalletReferralsLevel,
|
|
60
60
|
PalletReferralsFeeDistribution,
|
|
61
61
|
PalletHsmArbitrage,
|
|
62
|
+
PalletSignetSerializationFormat,
|
|
63
|
+
PalletSignetSignature,
|
|
64
|
+
PalletSignetErrorResponse,
|
|
65
|
+
PalletDispenserEvmTransactionParams,
|
|
62
66
|
OrmlVestingVestingSchedule,
|
|
63
67
|
EthereumTransactionTransactionV2,
|
|
64
68
|
PalletXykAssetPair,
|
|
@@ -85,8 +89,6 @@ import type {
|
|
|
85
89
|
PalletTokenGatewayAssetRegistration,
|
|
86
90
|
TokenGatewayPrimitivesGatewayAssetUpdate,
|
|
87
91
|
PalletTokenGatewayPrecisionUpdate,
|
|
88
|
-
PalletIsmpOracleTestGetParams,
|
|
89
|
-
PalletIsmpOracleTestPostParams,
|
|
90
92
|
} from './types.js';
|
|
91
93
|
|
|
92
94
|
export type ChainSubmittableExtrinsic<
|
|
@@ -9331,6 +9333,351 @@ export interface ChainTx<
|
|
|
9331
9333
|
**/
|
|
9332
9334
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
9333
9335
|
};
|
|
9336
|
+
/**
|
|
9337
|
+
* Pallet `Signet`'s transaction calls
|
|
9338
|
+
**/
|
|
9339
|
+
signet: {
|
|
9340
|
+
/**
|
|
9341
|
+
* Initialize the pallet with admin, deposit, and chain ID
|
|
9342
|
+
*
|
|
9343
|
+
* @param {AccountId32Like} admin
|
|
9344
|
+
* @param {bigint} signatureDeposit
|
|
9345
|
+
* @param {BytesLike} chainId
|
|
9346
|
+
**/
|
|
9347
|
+
initialize: GenericTxCall<
|
|
9348
|
+
(
|
|
9349
|
+
admin: AccountId32Like,
|
|
9350
|
+
signatureDeposit: bigint,
|
|
9351
|
+
chainId: BytesLike,
|
|
9352
|
+
) => ChainSubmittableExtrinsic<
|
|
9353
|
+
{
|
|
9354
|
+
pallet: 'Signet';
|
|
9355
|
+
palletCall: {
|
|
9356
|
+
name: 'Initialize';
|
|
9357
|
+
params: { admin: AccountId32Like; signatureDeposit: bigint; chainId: BytesLike };
|
|
9358
|
+
};
|
|
9359
|
+
},
|
|
9360
|
+
ChainKnownTypes
|
|
9361
|
+
>
|
|
9362
|
+
>;
|
|
9363
|
+
|
|
9364
|
+
/**
|
|
9365
|
+
* Update the signature deposit amount (admin only)
|
|
9366
|
+
*
|
|
9367
|
+
* @param {bigint} newDeposit
|
|
9368
|
+
**/
|
|
9369
|
+
updateDeposit: GenericTxCall<
|
|
9370
|
+
(newDeposit: bigint) => ChainSubmittableExtrinsic<
|
|
9371
|
+
{
|
|
9372
|
+
pallet: 'Signet';
|
|
9373
|
+
palletCall: {
|
|
9374
|
+
name: 'UpdateDeposit';
|
|
9375
|
+
params: { newDeposit: bigint };
|
|
9376
|
+
};
|
|
9377
|
+
},
|
|
9378
|
+
ChainKnownTypes
|
|
9379
|
+
>
|
|
9380
|
+
>;
|
|
9381
|
+
|
|
9382
|
+
/**
|
|
9383
|
+
* Withdraw funds from the pallet account (admin only)
|
|
9384
|
+
*
|
|
9385
|
+
* @param {AccountId32Like} recipient
|
|
9386
|
+
* @param {bigint} amount
|
|
9387
|
+
**/
|
|
9388
|
+
withdrawFunds: GenericTxCall<
|
|
9389
|
+
(
|
|
9390
|
+
recipient: AccountId32Like,
|
|
9391
|
+
amount: bigint,
|
|
9392
|
+
) => ChainSubmittableExtrinsic<
|
|
9393
|
+
{
|
|
9394
|
+
pallet: 'Signet';
|
|
9395
|
+
palletCall: {
|
|
9396
|
+
name: 'WithdrawFunds';
|
|
9397
|
+
params: { recipient: AccountId32Like; amount: bigint };
|
|
9398
|
+
};
|
|
9399
|
+
},
|
|
9400
|
+
ChainKnownTypes
|
|
9401
|
+
>
|
|
9402
|
+
>;
|
|
9403
|
+
|
|
9404
|
+
/**
|
|
9405
|
+
* Request a signature for a payload
|
|
9406
|
+
*
|
|
9407
|
+
* @param {FixedBytes<32>} payload
|
|
9408
|
+
* @param {number} keyVersion
|
|
9409
|
+
* @param {BytesLike} path
|
|
9410
|
+
* @param {BytesLike} algo
|
|
9411
|
+
* @param {BytesLike} dest
|
|
9412
|
+
* @param {BytesLike} params
|
|
9413
|
+
**/
|
|
9414
|
+
sign: GenericTxCall<
|
|
9415
|
+
(
|
|
9416
|
+
payload: FixedBytes<32>,
|
|
9417
|
+
keyVersion: number,
|
|
9418
|
+
path: BytesLike,
|
|
9419
|
+
algo: BytesLike,
|
|
9420
|
+
dest: BytesLike,
|
|
9421
|
+
params: BytesLike,
|
|
9422
|
+
) => ChainSubmittableExtrinsic<
|
|
9423
|
+
{
|
|
9424
|
+
pallet: 'Signet';
|
|
9425
|
+
palletCall: {
|
|
9426
|
+
name: 'Sign';
|
|
9427
|
+
params: {
|
|
9428
|
+
payload: FixedBytes<32>;
|
|
9429
|
+
keyVersion: number;
|
|
9430
|
+
path: BytesLike;
|
|
9431
|
+
algo: BytesLike;
|
|
9432
|
+
dest: BytesLike;
|
|
9433
|
+
params: BytesLike;
|
|
9434
|
+
};
|
|
9435
|
+
};
|
|
9436
|
+
},
|
|
9437
|
+
ChainKnownTypes
|
|
9438
|
+
>
|
|
9439
|
+
>;
|
|
9440
|
+
|
|
9441
|
+
/**
|
|
9442
|
+
* Request a signature for a serialized transaction
|
|
9443
|
+
*
|
|
9444
|
+
* @param {BytesLike} serializedTransaction
|
|
9445
|
+
* @param {number} slip44ChainId
|
|
9446
|
+
* @param {number} keyVersion
|
|
9447
|
+
* @param {BytesLike} path
|
|
9448
|
+
* @param {BytesLike} algo
|
|
9449
|
+
* @param {BytesLike} dest
|
|
9450
|
+
* @param {BytesLike} params
|
|
9451
|
+
* @param {PalletSignetSerializationFormat} explorerDeserializationFormat
|
|
9452
|
+
* @param {BytesLike} explorerDeserializationSchema
|
|
9453
|
+
* @param {PalletSignetSerializationFormat} callbackSerializationFormat
|
|
9454
|
+
* @param {BytesLike} callbackSerializationSchema
|
|
9455
|
+
**/
|
|
9456
|
+
signRespond: GenericTxCall<
|
|
9457
|
+
(
|
|
9458
|
+
serializedTransaction: BytesLike,
|
|
9459
|
+
slip44ChainId: number,
|
|
9460
|
+
keyVersion: number,
|
|
9461
|
+
path: BytesLike,
|
|
9462
|
+
algo: BytesLike,
|
|
9463
|
+
dest: BytesLike,
|
|
9464
|
+
params: BytesLike,
|
|
9465
|
+
explorerDeserializationFormat: PalletSignetSerializationFormat,
|
|
9466
|
+
explorerDeserializationSchema: BytesLike,
|
|
9467
|
+
callbackSerializationFormat: PalletSignetSerializationFormat,
|
|
9468
|
+
callbackSerializationSchema: BytesLike,
|
|
9469
|
+
) => ChainSubmittableExtrinsic<
|
|
9470
|
+
{
|
|
9471
|
+
pallet: 'Signet';
|
|
9472
|
+
palletCall: {
|
|
9473
|
+
name: 'SignRespond';
|
|
9474
|
+
params: {
|
|
9475
|
+
serializedTransaction: BytesLike;
|
|
9476
|
+
slip44ChainId: number;
|
|
9477
|
+
keyVersion: number;
|
|
9478
|
+
path: BytesLike;
|
|
9479
|
+
algo: BytesLike;
|
|
9480
|
+
dest: BytesLike;
|
|
9481
|
+
params: BytesLike;
|
|
9482
|
+
explorerDeserializationFormat: PalletSignetSerializationFormat;
|
|
9483
|
+
explorerDeserializationSchema: BytesLike;
|
|
9484
|
+
callbackSerializationFormat: PalletSignetSerializationFormat;
|
|
9485
|
+
callbackSerializationSchema: BytesLike;
|
|
9486
|
+
};
|
|
9487
|
+
};
|
|
9488
|
+
},
|
|
9489
|
+
ChainKnownTypes
|
|
9490
|
+
>
|
|
9491
|
+
>;
|
|
9492
|
+
|
|
9493
|
+
/**
|
|
9494
|
+
* Respond to signature requests (batch support)
|
|
9495
|
+
*
|
|
9496
|
+
* @param {Array<FixedBytes<32>>} requestIds
|
|
9497
|
+
* @param {Array<PalletSignetSignature>} signatures
|
|
9498
|
+
**/
|
|
9499
|
+
respond: GenericTxCall<
|
|
9500
|
+
(
|
|
9501
|
+
requestIds: Array<FixedBytes<32>>,
|
|
9502
|
+
signatures: Array<PalletSignetSignature>,
|
|
9503
|
+
) => ChainSubmittableExtrinsic<
|
|
9504
|
+
{
|
|
9505
|
+
pallet: 'Signet';
|
|
9506
|
+
palletCall: {
|
|
9507
|
+
name: 'Respond';
|
|
9508
|
+
params: { requestIds: Array<FixedBytes<32>>; signatures: Array<PalletSignetSignature> };
|
|
9509
|
+
};
|
|
9510
|
+
},
|
|
9511
|
+
ChainKnownTypes
|
|
9512
|
+
>
|
|
9513
|
+
>;
|
|
9514
|
+
|
|
9515
|
+
/**
|
|
9516
|
+
* Report signature generation errors (batch support)
|
|
9517
|
+
*
|
|
9518
|
+
* @param {Array<PalletSignetErrorResponse>} errors
|
|
9519
|
+
**/
|
|
9520
|
+
respondError: GenericTxCall<
|
|
9521
|
+
(errors: Array<PalletSignetErrorResponse>) => ChainSubmittableExtrinsic<
|
|
9522
|
+
{
|
|
9523
|
+
pallet: 'Signet';
|
|
9524
|
+
palletCall: {
|
|
9525
|
+
name: 'RespondError';
|
|
9526
|
+
params: { errors: Array<PalletSignetErrorResponse> };
|
|
9527
|
+
};
|
|
9528
|
+
},
|
|
9529
|
+
ChainKnownTypes
|
|
9530
|
+
>
|
|
9531
|
+
>;
|
|
9532
|
+
|
|
9533
|
+
/**
|
|
9534
|
+
* Provide a read response with signature
|
|
9535
|
+
*
|
|
9536
|
+
* @param {FixedBytes<32>} requestId
|
|
9537
|
+
* @param {BytesLike} serializedOutput
|
|
9538
|
+
* @param {PalletSignetSignature} signature
|
|
9539
|
+
**/
|
|
9540
|
+
readRespond: GenericTxCall<
|
|
9541
|
+
(
|
|
9542
|
+
requestId: FixedBytes<32>,
|
|
9543
|
+
serializedOutput: BytesLike,
|
|
9544
|
+
signature: PalletSignetSignature,
|
|
9545
|
+
) => ChainSubmittableExtrinsic<
|
|
9546
|
+
{
|
|
9547
|
+
pallet: 'Signet';
|
|
9548
|
+
palletCall: {
|
|
9549
|
+
name: 'ReadRespond';
|
|
9550
|
+
params: { requestId: FixedBytes<32>; serializedOutput: BytesLike; signature: PalletSignetSignature };
|
|
9551
|
+
};
|
|
9552
|
+
},
|
|
9553
|
+
ChainKnownTypes
|
|
9554
|
+
>
|
|
9555
|
+
>;
|
|
9556
|
+
|
|
9557
|
+
/**
|
|
9558
|
+
* Generic pallet tx call
|
|
9559
|
+
**/
|
|
9560
|
+
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
9561
|
+
};
|
|
9562
|
+
/**
|
|
9563
|
+
* Pallet `EthDispenser`'s transaction calls
|
|
9564
|
+
**/
|
|
9565
|
+
ethDispenser: {
|
|
9566
|
+
/**
|
|
9567
|
+
* Request ETH from the external faucet for a given EVM address.
|
|
9568
|
+
*
|
|
9569
|
+
* This call:
|
|
9570
|
+
* - Verifies amount bounds and EVM transaction parameters.
|
|
9571
|
+
* - Checks the tracked faucet ETH balance against `MinFaucetEthThreshold`.
|
|
9572
|
+
* - Charges the configured fee in `FeeAsset`.
|
|
9573
|
+
* - Transfers the requested faucet asset from the user to `FeeDestination`.
|
|
9574
|
+
* - Builds an EVM transaction calling `IGasFaucet::fund`.
|
|
9575
|
+
* - Submits a signing request to SigNet via `pallet_signet::sign_respond`.
|
|
9576
|
+
*
|
|
9577
|
+
* The `request_id` must match the ID derived internally from the inputs,
|
|
9578
|
+
* otherwise the call will fail with `InvalidRequestId`.
|
|
9579
|
+
* Parameters:
|
|
9580
|
+
* - `to`: Target EVM address to receive ETH.
|
|
9581
|
+
* - `amount`: Amount of ETH (in wei) to request.
|
|
9582
|
+
* - `request_id`: Client-supplied request ID; must match derived ID.
|
|
9583
|
+
* - `tx`: Parameters for the EVM transaction submitted to the faucet.
|
|
9584
|
+
*
|
|
9585
|
+
* @param {FixedBytes<20>} to
|
|
9586
|
+
* @param {bigint} amount
|
|
9587
|
+
* @param {FixedBytes<32>} requestId
|
|
9588
|
+
* @param {PalletDispenserEvmTransactionParams} tx
|
|
9589
|
+
**/
|
|
9590
|
+
requestFund: GenericTxCall<
|
|
9591
|
+
(
|
|
9592
|
+
to: FixedBytes<20>,
|
|
9593
|
+
amount: bigint,
|
|
9594
|
+
requestId: FixedBytes<32>,
|
|
9595
|
+
tx: PalletDispenserEvmTransactionParams,
|
|
9596
|
+
) => ChainSubmittableExtrinsic<
|
|
9597
|
+
{
|
|
9598
|
+
pallet: 'EthDispenser';
|
|
9599
|
+
palletCall: {
|
|
9600
|
+
name: 'RequestFund';
|
|
9601
|
+
params: {
|
|
9602
|
+
to: FixedBytes<20>;
|
|
9603
|
+
amount: bigint;
|
|
9604
|
+
requestId: FixedBytes<32>;
|
|
9605
|
+
tx: PalletDispenserEvmTransactionParams;
|
|
9606
|
+
};
|
|
9607
|
+
};
|
|
9608
|
+
},
|
|
9609
|
+
ChainKnownTypes
|
|
9610
|
+
>
|
|
9611
|
+
>;
|
|
9612
|
+
|
|
9613
|
+
/**
|
|
9614
|
+
* Pause the dispenser so that no new funding requests can be made.
|
|
9615
|
+
*
|
|
9616
|
+
* Parameters:
|
|
9617
|
+
* - `origin`: Must satisfy `UpdateOrigin`.
|
|
9618
|
+
*
|
|
9619
|
+
**/
|
|
9620
|
+
pause: GenericTxCall<
|
|
9621
|
+
() => ChainSubmittableExtrinsic<
|
|
9622
|
+
{
|
|
9623
|
+
pallet: 'EthDispenser';
|
|
9624
|
+
palletCall: {
|
|
9625
|
+
name: 'Pause';
|
|
9626
|
+
};
|
|
9627
|
+
},
|
|
9628
|
+
ChainKnownTypes
|
|
9629
|
+
>
|
|
9630
|
+
>;
|
|
9631
|
+
|
|
9632
|
+
/**
|
|
9633
|
+
* Unpause the dispenser so that funding requests are allowed again.
|
|
9634
|
+
*
|
|
9635
|
+
* Parameters:
|
|
9636
|
+
* - `origin`: Must satisfy `UpdateOrigin`
|
|
9637
|
+
*
|
|
9638
|
+
**/
|
|
9639
|
+
unpause: GenericTxCall<
|
|
9640
|
+
() => ChainSubmittableExtrinsic<
|
|
9641
|
+
{
|
|
9642
|
+
pallet: 'EthDispenser';
|
|
9643
|
+
palletCall: {
|
|
9644
|
+
name: 'Unpause';
|
|
9645
|
+
};
|
|
9646
|
+
},
|
|
9647
|
+
ChainKnownTypes
|
|
9648
|
+
>
|
|
9649
|
+
>;
|
|
9650
|
+
|
|
9651
|
+
/**
|
|
9652
|
+
* Increase the tracked faucet ETH balance (in wei).
|
|
9653
|
+
*
|
|
9654
|
+
* This is an accounting helper used to keep `FaucetBalanceWei`
|
|
9655
|
+
* roughly in sync with the real faucet balance on the EVM chain.
|
|
9656
|
+
*
|
|
9657
|
+
* Parameters:
|
|
9658
|
+
* - `origin`: Must satisfy `UpdateOrigin`.
|
|
9659
|
+
* - `balance_wei`: Amount (in wei) to add to the currently stored balance.
|
|
9660
|
+
*
|
|
9661
|
+
* @param {bigint} balanceWei
|
|
9662
|
+
**/
|
|
9663
|
+
setFaucetBalance: GenericTxCall<
|
|
9664
|
+
(balanceWei: bigint) => ChainSubmittableExtrinsic<
|
|
9665
|
+
{
|
|
9666
|
+
pallet: 'EthDispenser';
|
|
9667
|
+
palletCall: {
|
|
9668
|
+
name: 'SetFaucetBalance';
|
|
9669
|
+
params: { balanceWei: bigint };
|
|
9670
|
+
};
|
|
9671
|
+
},
|
|
9672
|
+
ChainKnownTypes
|
|
9673
|
+
>
|
|
9674
|
+
>;
|
|
9675
|
+
|
|
9676
|
+
/**
|
|
9677
|
+
* Generic pallet tx call
|
|
9678
|
+
**/
|
|
9679
|
+
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
9680
|
+
};
|
|
9334
9681
|
/**
|
|
9335
9682
|
* Pallet `Tokens`'s transaction calls
|
|
9336
9683
|
**/
|
|
@@ -9894,6 +10241,7 @@ export interface ChainTx<
|
|
|
9894
10241
|
* to the origin address.
|
|
9895
10242
|
*
|
|
9896
10243
|
* Binding an address is not necessary for interacting with the EVM.
|
|
10244
|
+
* Increases `sufficients` for the account.
|
|
9897
10245
|
*
|
|
9898
10246
|
* Parameters:
|
|
9899
10247
|
* - `origin`: Substrate account binding an address
|
|
@@ -10033,6 +10381,40 @@ export interface ChainTx<
|
|
|
10033
10381
|
>
|
|
10034
10382
|
>;
|
|
10035
10383
|
|
|
10384
|
+
/**
|
|
10385
|
+
* Proves ownership of an account and binds it to the EVM address.
|
|
10386
|
+
* This is useful for accounts that want to submit some substrate transaction, but only
|
|
10387
|
+
* received some ERC20 balance and `System` pallet doesn't register them as a substrate account.
|
|
10388
|
+
*
|
|
10389
|
+
* Parameters:
|
|
10390
|
+
* - `origin`: Unsigned origin.
|
|
10391
|
+
* - `account`: Account proving ownership of the address.
|
|
10392
|
+
* - `asset_id`: Asset ID to be set as fee currency for the account.
|
|
10393
|
+
* - `signature`: Signed message by the account that proves ownership of the account.
|
|
10394
|
+
*
|
|
10395
|
+
* Emits `AccountClaimed` event when successful.
|
|
10396
|
+
*
|
|
10397
|
+
* @param {AccountId32Like} account
|
|
10398
|
+
* @param {number} assetId
|
|
10399
|
+
* @param {SpRuntimeMultiSignature} signature
|
|
10400
|
+
**/
|
|
10401
|
+
claimAccount: GenericTxCall<
|
|
10402
|
+
(
|
|
10403
|
+
account: AccountId32Like,
|
|
10404
|
+
assetId: number,
|
|
10405
|
+
signature: SpRuntimeMultiSignature,
|
|
10406
|
+
) => ChainSubmittableExtrinsic<
|
|
10407
|
+
{
|
|
10408
|
+
pallet: 'EvmAccounts';
|
|
10409
|
+
palletCall: {
|
|
10410
|
+
name: 'ClaimAccount';
|
|
10411
|
+
params: { account: AccountId32Like; assetId: number; signature: SpRuntimeMultiSignature };
|
|
10412
|
+
};
|
|
10413
|
+
},
|
|
10414
|
+
ChainKnownTypes
|
|
10415
|
+
>
|
|
10416
|
+
>;
|
|
10417
|
+
|
|
10036
10418
|
/**
|
|
10037
10419
|
* Generic pallet tx call
|
|
10038
10420
|
**/
|
|
@@ -12673,49 +13055,6 @@ export interface ChainTx<
|
|
|
12673
13055
|
**/
|
|
12674
13056
|
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
12675
13057
|
};
|
|
12676
|
-
/**
|
|
12677
|
-
* Pallet `IsmpOracle`'s transaction calls
|
|
12678
|
-
**/
|
|
12679
|
-
ismpOracle: {
|
|
12680
|
-
/**
|
|
12681
|
-
*
|
|
12682
|
-
* @param {PalletIsmpOracleTestGetParams} params
|
|
12683
|
-
**/
|
|
12684
|
-
requestGet: GenericTxCall<
|
|
12685
|
-
(params: PalletIsmpOracleTestGetParams) => ChainSubmittableExtrinsic<
|
|
12686
|
-
{
|
|
12687
|
-
pallet: 'IsmpOracle';
|
|
12688
|
-
palletCall: {
|
|
12689
|
-
name: 'RequestGet';
|
|
12690
|
-
params: { params: PalletIsmpOracleTestGetParams };
|
|
12691
|
-
};
|
|
12692
|
-
},
|
|
12693
|
-
ChainKnownTypes
|
|
12694
|
-
>
|
|
12695
|
-
>;
|
|
12696
|
-
|
|
12697
|
-
/**
|
|
12698
|
-
*
|
|
12699
|
-
* @param {PalletIsmpOracleTestPostParams} params
|
|
12700
|
-
**/
|
|
12701
|
-
requestPost: GenericTxCall<
|
|
12702
|
-
(params: PalletIsmpOracleTestPostParams) => ChainSubmittableExtrinsic<
|
|
12703
|
-
{
|
|
12704
|
-
pallet: 'IsmpOracle';
|
|
12705
|
-
palletCall: {
|
|
12706
|
-
name: 'RequestPost';
|
|
12707
|
-
params: { params: PalletIsmpOracleTestPostParams };
|
|
12708
|
-
};
|
|
12709
|
-
},
|
|
12710
|
-
ChainKnownTypes
|
|
12711
|
-
>
|
|
12712
|
-
>;
|
|
12713
|
-
|
|
12714
|
-
/**
|
|
12715
|
-
* Generic pallet tx call
|
|
12716
|
-
**/
|
|
12717
|
-
[callName: string]: GenericTxCall<TxCall<ChainKnownTypes>>;
|
|
12718
|
-
};
|
|
12719
13058
|
/**
|
|
12720
13059
|
* Pallet `EmaOracle`'s transaction calls
|
|
12721
13060
|
**/
|
|
@@ -12785,29 +13124,6 @@ export interface ChainTx<
|
|
|
12785
13124
|
>
|
|
12786
13125
|
>;
|
|
12787
13126
|
|
|
12788
|
-
/**
|
|
12789
|
-
*
|
|
12790
|
-
* @param {XcmVersionedLocation} assetA
|
|
12791
|
-
* @param {XcmVersionedLocation} assetB
|
|
12792
|
-
* @param {[bigint, bigint]} price
|
|
12793
|
-
**/
|
|
12794
|
-
updateIsmpOracle: GenericTxCall<
|
|
12795
|
-
(
|
|
12796
|
-
assetA: XcmVersionedLocation,
|
|
12797
|
-
assetB: XcmVersionedLocation,
|
|
12798
|
-
price: [bigint, bigint],
|
|
12799
|
-
) => ChainSubmittableExtrinsic<
|
|
12800
|
-
{
|
|
12801
|
-
pallet: 'EmaOracle';
|
|
12802
|
-
palletCall: {
|
|
12803
|
-
name: 'UpdateIsmpOracle';
|
|
12804
|
-
params: { assetA: XcmVersionedLocation; assetB: XcmVersionedLocation; price: [bigint, bigint] };
|
|
12805
|
-
};
|
|
12806
|
-
},
|
|
12807
|
-
ChainKnownTypes
|
|
12808
|
-
>
|
|
12809
|
-
>;
|
|
12810
|
-
|
|
12811
13127
|
/**
|
|
12812
13128
|
* Generic pallet tx call
|
|
12813
13129
|
**/
|