@talismn/balances 3.0.3 → 3.0.4
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/dist/index.d.mts +1772 -494
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +1782 -504
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -328,6 +328,21 @@ export declare class Balance {
|
|
|
328
328
|
} | null;
|
|
329
329
|
get tokenId(): string;
|
|
330
330
|
get token(): {
|
|
331
|
+
id: string;
|
|
332
|
+
networkId: string;
|
|
333
|
+
isDefault?: boolean | undefined;
|
|
334
|
+
decimals: number;
|
|
335
|
+
symbol: string;
|
|
336
|
+
name?: string | undefined;
|
|
337
|
+
logo?: string | undefined;
|
|
338
|
+
coingeckoId?: string | undefined;
|
|
339
|
+
noDiscovery?: boolean | undefined;
|
|
340
|
+
mirrorOf?: string | undefined;
|
|
341
|
+
type: "substrate-tokens";
|
|
342
|
+
platform: "polkadot";
|
|
343
|
+
onChainId: string | number;
|
|
344
|
+
existentialDeposit: string;
|
|
345
|
+
} | {
|
|
331
346
|
id: string;
|
|
332
347
|
networkId: string;
|
|
333
348
|
isDefault?: boolean | undefined;
|
|
@@ -355,9 +370,12 @@ export declare class Balance {
|
|
|
355
370
|
coingeckoId?: string | undefined;
|
|
356
371
|
noDiscovery?: boolean | undefined;
|
|
357
372
|
mirrorOf?: string | undefined;
|
|
358
|
-
type: "substrate-
|
|
373
|
+
type: "substrate-hydration";
|
|
359
374
|
platform: "polkadot";
|
|
360
|
-
|
|
375
|
+
onChainId: number;
|
|
376
|
+
assetType: "Erc20" | "External" | "Token";
|
|
377
|
+
isSufficient: boolean;
|
|
378
|
+
existentialDeposit: string;
|
|
361
379
|
} | {
|
|
362
380
|
id: string;
|
|
363
381
|
networkId: string;
|
|
@@ -383,12 +401,10 @@ export declare class Balance {
|
|
|
383
401
|
coingeckoId?: string | undefined;
|
|
384
402
|
noDiscovery?: boolean | undefined;
|
|
385
403
|
mirrorOf?: string | undefined;
|
|
386
|
-
type: "
|
|
387
|
-
platform: "
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
isSufficient: boolean;
|
|
391
|
-
existentialDeposit: string;
|
|
404
|
+
type: "sol-token2022";
|
|
405
|
+
platform: "solana";
|
|
406
|
+
mintAddress: string;
|
|
407
|
+
isTransferable?: boolean | undefined;
|
|
392
408
|
} | {
|
|
393
409
|
id: string;
|
|
394
410
|
networkId: string;
|
|
@@ -400,12 +416,12 @@ export declare class Balance {
|
|
|
400
416
|
coingeckoId?: string | undefined;
|
|
401
417
|
noDiscovery?: boolean | undefined;
|
|
402
418
|
mirrorOf?: string | undefined;
|
|
403
|
-
type: "substrate-
|
|
419
|
+
type: "substrate-foreignassets";
|
|
404
420
|
platform: "polkadot";
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
421
|
+
onChainId: string;
|
|
422
|
+
isFrozen?: boolean | undefined;
|
|
423
|
+
isSufficient: boolean;
|
|
424
|
+
existentialDeposit: string;
|
|
409
425
|
} | {
|
|
410
426
|
id: string;
|
|
411
427
|
networkId: string;
|
|
@@ -417,10 +433,9 @@ export declare class Balance {
|
|
|
417
433
|
coingeckoId?: string | undefined;
|
|
418
434
|
noDiscovery?: boolean | undefined;
|
|
419
435
|
mirrorOf?: string | undefined;
|
|
420
|
-
type: "
|
|
421
|
-
platform: "
|
|
422
|
-
|
|
423
|
-
isTransferable?: boolean | undefined;
|
|
436
|
+
type: "substrate-psp22";
|
|
437
|
+
platform: "polkadot";
|
|
438
|
+
contractAddress: string;
|
|
424
439
|
} | {
|
|
425
440
|
id: string;
|
|
426
441
|
networkId: string;
|
|
@@ -432,12 +447,9 @@ export declare class Balance {
|
|
|
432
447
|
coingeckoId?: string | undefined;
|
|
433
448
|
noDiscovery?: boolean | undefined;
|
|
434
449
|
mirrorOf?: string | undefined;
|
|
435
|
-
type: "
|
|
436
|
-
platform: "
|
|
437
|
-
|
|
438
|
-
assetType: "Erc20" | "External" | "Token";
|
|
439
|
-
isSufficient: boolean;
|
|
440
|
-
existentialDeposit: string;
|
|
450
|
+
type: "evm-erc20";
|
|
451
|
+
platform: "ethereum";
|
|
452
|
+
contractAddress: `0x${string}`;
|
|
441
453
|
} | {
|
|
442
454
|
id: string;
|
|
443
455
|
networkId: string;
|
|
@@ -449,9 +461,8 @@ export declare class Balance {
|
|
|
449
461
|
coingeckoId?: string | undefined;
|
|
450
462
|
noDiscovery?: boolean | undefined;
|
|
451
463
|
mirrorOf?: string | undefined;
|
|
452
|
-
type: "
|
|
453
|
-
platform: "
|
|
454
|
-
existentialDeposit: string;
|
|
464
|
+
type: "evm-native";
|
|
465
|
+
platform: "ethereum";
|
|
455
466
|
} | {
|
|
456
467
|
id: string;
|
|
457
468
|
networkId: string;
|
|
@@ -486,8 +497,12 @@ export declare class Balance {
|
|
|
486
497
|
coingeckoId?: string | undefined;
|
|
487
498
|
noDiscovery?: boolean | undefined;
|
|
488
499
|
mirrorOf?: string | undefined;
|
|
489
|
-
type: "
|
|
490
|
-
platform: "
|
|
500
|
+
type: "substrate-dtao";
|
|
501
|
+
platform: "polkadot";
|
|
502
|
+
netuid: number;
|
|
503
|
+
subnetName?: string | undefined;
|
|
504
|
+
hotkey?: string | undefined;
|
|
505
|
+
isTransferable: boolean;
|
|
491
506
|
} | {
|
|
492
507
|
id: string;
|
|
493
508
|
networkId: string;
|
|
@@ -499,9 +514,9 @@ export declare class Balance {
|
|
|
499
514
|
coingeckoId?: string | undefined;
|
|
500
515
|
noDiscovery?: boolean | undefined;
|
|
501
516
|
mirrorOf?: string | undefined;
|
|
502
|
-
type: "
|
|
503
|
-
platform: "
|
|
504
|
-
|
|
517
|
+
type: "substrate-native";
|
|
518
|
+
platform: "polkadot";
|
|
519
|
+
existentialDeposit: string;
|
|
505
520
|
} | {
|
|
506
521
|
id: string;
|
|
507
522
|
networkId: string;
|
|
@@ -515,21 +530,6 @@ export declare class Balance {
|
|
|
515
530
|
mirrorOf?: string | undefined;
|
|
516
531
|
type: "sol-native";
|
|
517
532
|
platform: "solana";
|
|
518
|
-
} | {
|
|
519
|
-
id: string;
|
|
520
|
-
networkId: string;
|
|
521
|
-
isDefault?: boolean | undefined;
|
|
522
|
-
decimals: number;
|
|
523
|
-
symbol: string;
|
|
524
|
-
name?: string | undefined;
|
|
525
|
-
logo?: string | undefined;
|
|
526
|
-
coingeckoId?: string | undefined;
|
|
527
|
-
noDiscovery?: boolean | undefined;
|
|
528
|
-
mirrorOf?: string | undefined;
|
|
529
|
-
type: "substrate-tokens";
|
|
530
|
-
platform: "polkadot";
|
|
531
|
-
onChainId: string | number;
|
|
532
|
-
existentialDeposit: string;
|
|
533
533
|
} | null;
|
|
534
534
|
get decimals(): number | null;
|
|
535
535
|
get rates(): TokenRates | null;
|
|
@@ -1876,7 +1876,7 @@ export declare const calculateToken2022TransferFee: (transferFeeConfig: {
|
|
|
1876
1876
|
newerTransferFee: TransferFee;
|
|
1877
1877
|
}, epoch: bigint, amount: bigint) => bigint;
|
|
1878
1878
|
//#endregion
|
|
1879
|
-
//#region ../../node_modules/.pnpm/@solana+nominal-types@8.
|
|
1879
|
+
//#region ../../node_modules/.pnpm/@solana+nominal-types@8.3.0_typescript@7.0.2/node_modules/@solana/nominal-types/dist/types/index.d.ts
|
|
1880
1880
|
type StringEncoding = 'base58' | 'base64';
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Use this to produce a new type that satisfies the original type, but not the other way around.
|
|
@@ -1947,7 +1947,7 @@ type EncodedString<T extends string, TEncoding extends StringEncoding> = Nominal
|
|
|
1947
1947
|
*/
|
|
1948
1948
|
type NominalType<TKey extends string, TMarker extends string> = { readonly [K in `__${TKey}:@solana/kit`]: TMarker; };
|
|
1949
1949
|
//#endregion
|
|
1950
|
-
//#region ../../node_modules/.pnpm/@solana+addresses@8.
|
|
1950
|
+
//#region ../../node_modules/.pnpm/@solana+addresses@8.3.0_fastestsmallesttextencoderdecoder@1.0.22_typescript@7.0.2/node_modules/@solana/addresses/dist/types/address.d.ts
|
|
1951
1951
|
/**
|
|
1952
1952
|
* Represents a string that validates as a Solana address. Functions that require well-formed
|
|
1953
1953
|
* addresses should specify their inputs in terms of this type.
|
|
@@ -3715,22 +3715,22 @@ type I5rtkmhm2dng4u = {
|
|
|
3715
3715
|
"new": SS58String;
|
|
3716
3716
|
};
|
|
3717
3717
|
type I4gqmlq9k6jlk3 = Array<SizedHex<20>>;
|
|
3718
|
-
type
|
|
3718
|
+
type Irbru2v9j271i = Array<{
|
|
3719
3719
|
"phase": Phase;
|
|
3720
3720
|
"event": Enum$1<{
|
|
3721
|
-
"System": Anonymize$1<
|
|
3721
|
+
"System": Anonymize$1<Icg4e87nf06rj2>;
|
|
3722
3722
|
"Grandpa": GrandpaEvent;
|
|
3723
3723
|
"Balances": Anonymize$1<Iao8h4hv7atnq3>;
|
|
3724
3724
|
"TransactionPayment": TransactionPaymentEvent;
|
|
3725
|
-
"SubtensorModule": Anonymize$1<
|
|
3726
|
-
"Utility": Anonymize$1<
|
|
3727
|
-
"Sudo": Anonymize$1<
|
|
3728
|
-
"Multisig": Anonymize$1<
|
|
3725
|
+
"SubtensorModule": Anonymize$1<I3kjjl1vjtfb0a>;
|
|
3726
|
+
"Utility": Anonymize$1<I363fmqeuv06ol>;
|
|
3727
|
+
"Sudo": Anonymize$1<I2ivimfli3dgp1>;
|
|
3728
|
+
"Multisig": Anonymize$1<I6n3fedd5u02md>;
|
|
3729
3729
|
"Preimage": PreimageEvent;
|
|
3730
|
-
"Scheduler": Anonymize$1<
|
|
3731
|
-
"Proxy": Anonymize$1<
|
|
3732
|
-
"Commitments": Anonymize$1<
|
|
3733
|
-
"AdminUtils": Anonymize$1<
|
|
3730
|
+
"Scheduler": Anonymize$1<I16l28vbmivm8t>;
|
|
3731
|
+
"Proxy": Anonymize$1<I5mkp35aomkbdn>;
|
|
3732
|
+
"Commitments": Anonymize$1<I2bvu7rvt3acvt>;
|
|
3733
|
+
"AdminUtils": Anonymize$1<I38ot7d3htb975>;
|
|
3734
3734
|
"SafeMode": Anonymize$1<I3q8c83f5dvokp>;
|
|
3735
3735
|
"Ethereum": Anonymize$1<I510u4q1qqh897>;
|
|
3736
3736
|
"EVM": Anonymize$1<I9k071kk4cn1u8>;
|
|
@@ -3739,12 +3739,12 @@ type I3gs634k5hg7e2 = Array<{
|
|
|
3739
3739
|
"Crowdloan": Anonymize$1<Idt6e28sh9mlt5>;
|
|
3740
3740
|
"Swap": Anonymize$1<I65ga25qerlven>;
|
|
3741
3741
|
"Contracts": Anonymize$1<I211sbjvh5hjqu>;
|
|
3742
|
-
"MevShield": Anonymize$1<
|
|
3743
|
-
"LimitOrders": Anonymize$1<
|
|
3742
|
+
"MevShield": Anonymize$1<I3d2e0rnod8ms0>;
|
|
3743
|
+
"LimitOrders": Anonymize$1<I8p9ve97hjfjlt>;
|
|
3744
3744
|
}>;
|
|
3745
3745
|
"topics": Anonymize$1<Ic5m5lp1oioo8r>;
|
|
3746
3746
|
}>;
|
|
3747
|
-
type
|
|
3747
|
+
type Icg4e87nf06rj2 = AnonymousEnum$1<{
|
|
3748
3748
|
/**
|
|
3749
3749
|
* An extrinsic completed successfully.
|
|
3750
3750
|
*/
|
|
@@ -3752,7 +3752,7 @@ type Ifcemg54q8bo51 = AnonymousEnum$1<{
|
|
|
3752
3752
|
/**
|
|
3753
3753
|
* An extrinsic failed.
|
|
3754
3754
|
*/
|
|
3755
|
-
"ExtrinsicFailed": Anonymize$1<
|
|
3755
|
+
"ExtrinsicFailed": Anonymize$1<I474kpdjo5rcju>;
|
|
3756
3756
|
/**
|
|
3757
3757
|
* `:code` was updated.
|
|
3758
3758
|
*/
|
|
@@ -3776,13 +3776,13 @@ type Ifcemg54q8bo51 = AnonymousEnum$1<{
|
|
|
3776
3776
|
/**
|
|
3777
3777
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
3778
3778
|
*/
|
|
3779
|
-
"RejectedInvalidAuthorizedUpgrade": Anonymize$1<
|
|
3779
|
+
"RejectedInvalidAuthorizedUpgrade": Anonymize$1<Id6qp8mkqpsm2t>;
|
|
3780
3780
|
}>;
|
|
3781
|
-
type
|
|
3782
|
-
"dispatch_error": Anonymize$1<
|
|
3781
|
+
type I474kpdjo5rcju = {
|
|
3782
|
+
"dispatch_error": Anonymize$1<I8p4c3h8cei06k>;
|
|
3783
3783
|
"dispatch_info": Anonymize$1<Ic9s8f85vjtncc>;
|
|
3784
3784
|
};
|
|
3785
|
-
type
|
|
3785
|
+
type I8p4c3h8cei06k = AnonymousEnum$1<{
|
|
3786
3786
|
"Other": undefined;
|
|
3787
3787
|
"CannotLookup": undefined;
|
|
3788
3788
|
"BadOrigin": undefined;
|
|
@@ -3794,27 +3794,27 @@ type Ibb8u96f04kc5k = AnonymousEnum$1<{
|
|
|
3794
3794
|
"Grandpa": Anonymize$1<I7q8i0pp1gkas6>;
|
|
3795
3795
|
"Balances": Anonymize$1<Idj13i7adlomht>;
|
|
3796
3796
|
"TransactionPayment": undefined;
|
|
3797
|
-
"SubtensorModule": Anonymize$1<
|
|
3797
|
+
"SubtensorModule": Anonymize$1<Ig8a5rkrhqg1t>;
|
|
3798
3798
|
"Utility": Anonymize$1<I499qmubmch1cg>;
|
|
3799
3799
|
"Sudo": Anonymize$1<Iaug04qjhbli00>;
|
|
3800
3800
|
"Multisig": Anonymize$1<Ia76qmhhg4jvb9>;
|
|
3801
3801
|
"Preimage": Anonymize$1<I4cfhml1prt4lu>;
|
|
3802
3802
|
"Scheduler": Anonymize$1<If7oa8fprnilo5>;
|
|
3803
3803
|
"Proxy": Anonymize$1<I7ae37ntp06co6>;
|
|
3804
|
-
"Commitments": Anonymize$1<
|
|
3805
|
-
"AdminUtils": Anonymize$1<
|
|
3804
|
+
"Commitments": Anonymize$1<Ib6fkib7o6l8hn>;
|
|
3805
|
+
"AdminUtils": Anonymize$1<Ib04gplfgb2o95>;
|
|
3806
3806
|
"SafeMode": Anonymize$1<I65gapcjsc3grr>;
|
|
3807
3807
|
"Ethereum": Anonymize$1<I1mp6vnoh32l4q>;
|
|
3808
3808
|
"EVM": Anonymize$1<I226s9mgj51cd2>;
|
|
3809
3809
|
"EVMChainId": undefined;
|
|
3810
3810
|
"BaseFee": undefined;
|
|
3811
3811
|
"Drand": Anonymize$1<I8veee4gumsdel>;
|
|
3812
|
-
"Crowdloan": Anonymize$1<
|
|
3812
|
+
"Crowdloan": Anonymize$1<I7fi6dghk3ei1e>;
|
|
3813
3813
|
"Swap": Anonymize$1<I22ibgc43i6ncp>;
|
|
3814
3814
|
"Contracts": Anonymize$1<I2489g9rnboo1t>;
|
|
3815
3815
|
"MevShield": Anonymize$1<I9nr0khl8rsnc8>;
|
|
3816
3816
|
"AlphaAssets": undefined;
|
|
3817
|
-
"LimitOrders": Anonymize$1<
|
|
3817
|
+
"LimitOrders": Anonymize$1<Ibvo0g98cpnkei>;
|
|
3818
3818
|
}>;
|
|
3819
3819
|
"ConsumerRemaining": undefined;
|
|
3820
3820
|
"NoProviders": undefined;
|
|
@@ -3828,7 +3828,7 @@ type Ibb8u96f04kc5k = AnonymousEnum$1<{
|
|
|
3828
3828
|
"RootNotAllowed": undefined;
|
|
3829
3829
|
"Trie": Anonymize$1<Idh4cj79bvroj8>;
|
|
3830
3830
|
}>;
|
|
3831
|
-
type
|
|
3831
|
+
type Ig8a5rkrhqg1t = AnonymousEnum$1<{
|
|
3832
3832
|
/**
|
|
3833
3833
|
* The root network does not exist.
|
|
3834
3834
|
*/
|
|
@@ -4013,8 +4013,8 @@ type Iev725cikdtgnb = AnonymousEnum$1<{
|
|
|
4013
4013
|
*/
|
|
4014
4014
|
"RegistrationNotPermittedOnRootSubnet": undefined;
|
|
4015
4015
|
/**
|
|
4016
|
-
*
|
|
4017
|
-
*
|
|
4016
|
+
* A root registrant must hold at least as much root stake as the seat it
|
|
4017
|
+
* would evict.
|
|
4018
4018
|
*/
|
|
4019
4019
|
"StakeTooLowForRoot": undefined;
|
|
4020
4020
|
/**
|
|
@@ -4475,8 +4475,8 @@ type Iev725cikdtgnb = AnonymousEnum$1<{
|
|
|
4475
4475
|
*/
|
|
4476
4476
|
"ColdkeyCollateralPositionsFull": undefined;
|
|
4477
4477
|
/**
|
|
4478
|
-
* Retired (kept for SCALE index stability): direct basket deposits into
|
|
4479
|
-
*
|
|
4478
|
+
* Retired (kept for SCALE index stability): direct basket deposits into a fund
|
|
4479
|
+
* with no holdings are held as the fund's root (TAO cash) slot instead of
|
|
4480
4480
|
* erroring.
|
|
4481
4481
|
*/
|
|
4482
4482
|
"BasketHasNoWeights": undefined;
|
|
@@ -4487,19 +4487,91 @@ type Iev725cikdtgnb = AnonymousEnum$1<{
|
|
|
4487
4487
|
*/
|
|
4488
4488
|
"RootStakeLocked": undefined;
|
|
4489
4489
|
/**
|
|
4490
|
-
* The `migrate_seed_beta_basket_v2` seed
|
|
4491
|
-
*
|
|
4492
|
-
*
|
|
4493
|
-
*
|
|
4490
|
+
* The `migrate_seed_beta_basket_v2` seed has not completed. Basket deposits, claims,
|
|
4491
|
+
* coldkey / root-touching hotkey swaps, and root stake add/remove/transfer/swap are
|
|
4492
|
+
* paused until it finishes so snapshotted conversion cannot desync from live stake
|
|
4493
|
+
* (`Σ owed == BasketShares`).
|
|
4494
4494
|
*/
|
|
4495
4495
|
"BetaBasketSeedInProgress": undefined;
|
|
4496
4496
|
/**
|
|
4497
|
-
*
|
|
4498
|
-
*
|
|
4499
|
-
*
|
|
4500
|
-
* governance or a later upgrade.
|
|
4497
|
+
* Retired (kept for SCALE index stability): the `set_root_weights` extrinsic and
|
|
4498
|
+
* its network-wide gate were removed. Funds have no target vector; dividends
|
|
4499
|
+
* accumulate in place and composition changes only through `swap_basket`.
|
|
4501
4500
|
*/
|
|
4502
4501
|
"RootWeightSettingDisabled": undefined;
|
|
4502
|
+
/**
|
|
4503
|
+
* A root claim would process more root hotkeys and basket rows than the
|
|
4504
|
+
* fixed admission envelope. Use
|
|
4505
|
+
* `claim_root_with_hotkey` per validator so admission weight matches
|
|
4506
|
+
* the holdings actually walked.
|
|
4507
|
+
*/
|
|
4508
|
+
"RootClaimTooHeavy": undefined;
|
|
4509
|
+
/**
|
|
4510
|
+
* Retired (kept for SCALE index stability on the 463 testnet/devnet runtime):
|
|
4511
|
+
* `set_root_weights` concentration cap. The live guard is
|
|
4512
|
+
* [`Error::BasketConcentrationCapExceeded`].
|
|
4513
|
+
*/
|
|
4514
|
+
"RootWeightCapExceeded": undefined;
|
|
4515
|
+
/**
|
|
4516
|
+
* A queued root-dividend deposit could not be settled. Operations which change
|
|
4517
|
+
* the hotkey's root claimant base must retry after the deposit becomes executable.
|
|
4518
|
+
*/
|
|
4519
|
+
"BasketDepositPending": undefined;
|
|
4520
|
+
/**
|
|
4521
|
+
* A per-subnet weight batch is empty or has more items than there are networks.
|
|
4522
|
+
*/
|
|
4523
|
+
"InvalidBatchLength": undefined;
|
|
4524
|
+
/**
|
|
4525
|
+
* The destination coldkey already stakes through the maximum number of hotkeys
|
|
4526
|
+
* that third-party transfers may add, or the signer's own `StakingHotkeys` list is
|
|
4527
|
+
* at its cap. Staking to a hotkey the coldkey already stakes through is still
|
|
4528
|
+
* accepted.
|
|
4529
|
+
*/
|
|
4530
|
+
"TooManyStakingHotkeys": undefined;
|
|
4531
|
+
/**
|
|
4532
|
+
* The coldkey stakes through more hotkeys, or holds more stake positions, than a
|
|
4533
|
+
* coldkey swap can move in one call. Consolidate (unstake or move stake) first.
|
|
4534
|
+
*/
|
|
4535
|
+
"ColdkeySwapTooHeavy": undefined;
|
|
4536
|
+
/**
|
|
4537
|
+
* A `swap_basket` buy would leave the destination holding above
|
|
4538
|
+
* [`crate::BasketConcentrationCap`] of fund NAV (holdings marked at realizable
|
|
4539
|
+
* value). With the cap at 1/16 a traded fund must spread across at least 16
|
|
4540
|
+
* holdings. Not enforced while the chain has fewer subnets than the cap demands.
|
|
4541
|
+
*/
|
|
4542
|
+
"BasketConcentrationCapExceeded": undefined;
|
|
4543
|
+
/**
|
|
4544
|
+
* `swap_basket` is disabled network-wide ([`crate::BasketTradingEnabled`] is false).
|
|
4545
|
+
*/
|
|
4546
|
+
"BasketTradingDisabled": undefined;
|
|
4547
|
+
/**
|
|
4548
|
+
* Basket trading is frozen for this validator hotkey by governance
|
|
4549
|
+
* ([`crate::BasketTradingFrozen`]).
|
|
4550
|
+
*/
|
|
4551
|
+
"BasketTradingFrozen": undefined;
|
|
4552
|
+
/**
|
|
4553
|
+
* The trade would push more TAO through the fund than its turnover bucket holds
|
|
4554
|
+
* ([`crate::BasketDailyTurnoverCap`] of fund NAV, refilling over
|
|
4555
|
+
* [`crate::BASKET_TRADE_REFILL_BLOCKS`]). Wait for the bucket to refill or trade
|
|
4556
|
+
* a smaller amount.
|
|
4557
|
+
*/
|
|
4558
|
+
"BasketTurnoverBudgetExceeded": undefined;
|
|
4559
|
+
/**
|
|
4560
|
+
* `swap_basket` origin and destination are the same subnet.
|
|
4561
|
+
*/
|
|
4562
|
+
"BasketSameSubnet": undefined;
|
|
4563
|
+
/**
|
|
4564
|
+
* The trade would leave the fund holding more of the destination subnet than
|
|
4565
|
+
* [`crate::BasketLiquidityCap`] allows as a share of that subnet's alpha reserve.
|
|
4566
|
+
* Trade a smaller amount or pick a deeper pool.
|
|
4567
|
+
*/
|
|
4568
|
+
"BasketLiquidityCapExceeded": undefined;
|
|
4569
|
+
/**
|
|
4570
|
+
* The `swap_basket` buy leg credited less than the caller's `min_amount_out`
|
|
4571
|
+
* (destination alpha, or TAO when the destination is root). The trade rolled
|
|
4572
|
+
* back. Re-quote and retry, or lower the floor.
|
|
4573
|
+
*/
|
|
4574
|
+
"BasketMinOutNotMet": undefined;
|
|
4503
4575
|
}>;
|
|
4504
4576
|
type I499qmubmch1cg = AnonymousEnum$1<{
|
|
4505
4577
|
/**
|
|
@@ -4553,7 +4625,7 @@ type I7ae37ntp06co6 = AnonymousEnum$1<{
|
|
|
4553
4625
|
*/
|
|
4554
4626
|
"InvalidDerivedAccountId": undefined;
|
|
4555
4627
|
}>;
|
|
4556
|
-
type
|
|
4628
|
+
type Ib6fkib7o6l8hn = AnonymousEnum$1<{
|
|
4557
4629
|
/**
|
|
4558
4630
|
* Account passed too many additional fields to their commitment
|
|
4559
4631
|
*/
|
|
@@ -4570,8 +4642,12 @@ type I8a8dfn9etteh2 = AnonymousEnum$1<{
|
|
|
4570
4642
|
* Indicates that unreserve returned a leftover, which is unexpected.
|
|
4571
4643
|
*/
|
|
4572
4644
|
"UnexpectedUnreserveLeftover": undefined;
|
|
4645
|
+
/**
|
|
4646
|
+
* `TimelockRevealFailed` fields may only be created by the runtime.
|
|
4647
|
+
*/
|
|
4648
|
+
"TimelockRevealFailedNotAllowed": undefined;
|
|
4573
4649
|
}>;
|
|
4574
|
-
type
|
|
4650
|
+
type Ib04gplfgb2o95 = AnonymousEnum$1<{
|
|
4575
4651
|
/**
|
|
4576
4652
|
* The subnet does not exist, check the netuid parameter
|
|
4577
4653
|
*/
|
|
@@ -4636,6 +4712,10 @@ type I2guea50s3p1tm = AnonymousEnum$1<{
|
|
|
4636
4712
|
* The collateral drain ratio must be positive and at most the settable maximum.
|
|
4637
4713
|
*/
|
|
4638
4714
|
"CollateralDrainRatioOutOfBounds": undefined;
|
|
4715
|
+
/**
|
|
4716
|
+
* GRANDPA changes must take effect at the end of the current block.
|
|
4717
|
+
*/
|
|
4718
|
+
"GrandpaChangeDelayMustBeZero": undefined;
|
|
4639
4719
|
}>;
|
|
4640
4720
|
type I65gapcjsc3grr = AnonymousEnum$1<{
|
|
4641
4721
|
/**
|
|
@@ -4755,7 +4835,7 @@ type I8veee4gumsdel = AnonymousEnum$1<{
|
|
|
4755
4835
|
*/
|
|
4756
4836
|
"PulseVerificationError": undefined;
|
|
4757
4837
|
}>;
|
|
4758
|
-
type
|
|
4838
|
+
type I7fi6dghk3ei1e = AnonymousEnum$1<{
|
|
4759
4839
|
/**
|
|
4760
4840
|
* The crowdloan initial deposit is too low.
|
|
4761
4841
|
*/
|
|
@@ -4864,6 +4944,10 @@ type Ib6urnafldre7p = AnonymousEnum$1<{
|
|
|
4864
4944
|
* The minimum contribution is too high.
|
|
4865
4945
|
*/
|
|
4866
4946
|
"MinimumContributionTooHigh": undefined;
|
|
4947
|
+
/**
|
|
4948
|
+
* The finalization call did not spend the full amount raised.
|
|
4949
|
+
*/
|
|
4950
|
+
"FundsNotSettled": undefined;
|
|
4867
4951
|
}>;
|
|
4868
4952
|
type I22ibgc43i6ncp = AnonymousEnum$1<{
|
|
4869
4953
|
/**
|
|
@@ -5108,7 +5192,7 @@ type I9nr0khl8rsnc8 = AnonymousEnum$1<{
|
|
|
5108
5192
|
*/
|
|
5109
5193
|
"WeightExceedsAbsoluteMax": undefined;
|
|
5110
5194
|
}>;
|
|
5111
|
-
type
|
|
5195
|
+
type Ibvo0g98cpnkei = AnonymousEnum$1<{
|
|
5112
5196
|
/**
|
|
5113
5197
|
* The provided signature does not match the order payload and signer.
|
|
5114
5198
|
*/
|
|
@@ -5190,12 +5274,48 @@ type I3nvrjjlqigcv3 = AnonymousEnum$1<{
|
|
|
5190
5274
|
* differently-composed batch.
|
|
5191
5275
|
*/
|
|
5192
5276
|
"ZeroShareInBatch": undefined;
|
|
5277
|
+
/**
|
|
5278
|
+
* Linked order named a provider with no recorded output.
|
|
5279
|
+
*/
|
|
5280
|
+
"NoLinkedOutput": undefined;
|
|
5281
|
+
/**
|
|
5282
|
+
* Linked order signer differs from the provider's signer.
|
|
5283
|
+
*/
|
|
5284
|
+
"LinkedOutputSignerMismatch": undefined;
|
|
5285
|
+
/**
|
|
5286
|
+
* Provider output asset is not what the linked order spends.
|
|
5287
|
+
*/
|
|
5288
|
+
"LinkedOutputAssetMismatch": undefined;
|
|
5289
|
+
/**
|
|
5290
|
+
* Provider record has passed its `expires_at` deadline.
|
|
5291
|
+
*/
|
|
5292
|
+
"LinkedOutputExpired": undefined;
|
|
5293
|
+
/**
|
|
5294
|
+
* Linked fraction floored to zero against the recorded output.
|
|
5295
|
+
*/
|
|
5296
|
+
"LinkedAmountResolvedToZero": undefined;
|
|
5297
|
+
/**
|
|
5298
|
+
* Partial fill submitted against a linked (consuming) order.
|
|
5299
|
+
*/
|
|
5300
|
+
"PartialFillNotSupportedForLinkedAmount": undefined;
|
|
5301
|
+
/**
|
|
5302
|
+
* Partial fill submitted against a provider (`has_linked_order`).
|
|
5303
|
+
*/
|
|
5304
|
+
"PartialFillNotSupportedForProvider": undefined;
|
|
5305
|
+
/**
|
|
5306
|
+
* `prune_linked_output` called by a non-signer on an unexpired record.
|
|
5307
|
+
*/
|
|
5308
|
+
"LinkedOutputNotPrunable": undefined;
|
|
5309
|
+
/**
|
|
5310
|
+
* The order owner is temporarily prohibited from moving funds.
|
|
5311
|
+
*/
|
|
5312
|
+
"OrderSignerFrozen": undefined;
|
|
5193
5313
|
}>;
|
|
5194
|
-
type
|
|
5314
|
+
type Id6qp8mkqpsm2t = {
|
|
5195
5315
|
"code_hash": SizedHex<32>;
|
|
5196
|
-
"error": Anonymize$1<
|
|
5316
|
+
"error": Anonymize$1<I8p4c3h8cei06k>;
|
|
5197
5317
|
};
|
|
5198
|
-
type
|
|
5318
|
+
type I3kjjl1vjtfb0a = AnonymousEnum$1<{
|
|
5199
5319
|
/**
|
|
5200
5320
|
* a new network is added.
|
|
5201
5321
|
*/
|
|
@@ -5221,7 +5341,8 @@ type I1kbgtdk80ope3 = AnonymousEnum$1<{
|
|
|
5221
5341
|
*/
|
|
5222
5342
|
"WeightsSet": Anonymize$1<I9jd27rnpm8ttv>;
|
|
5223
5343
|
/**
|
|
5224
|
-
*
|
|
5344
|
+
* Retired (kept for SCALE index stability): emitted by the removed
|
|
5345
|
+
* `set_root_weights` extrinsic. Never emitted on current runtimes.
|
|
5225
5346
|
*/
|
|
5226
5347
|
"RootWeightsSet": number;
|
|
5227
5348
|
/**
|
|
@@ -5399,7 +5520,7 @@ type I1kbgtdk80ope3 = AnonymousEnum$1<{
|
|
|
5399
5520
|
/**
|
|
5400
5521
|
* a sudo call is done.
|
|
5401
5522
|
*/
|
|
5402
|
-
"Sudid": Anonymize$1<
|
|
5523
|
+
"Sudid": Anonymize$1<I2tgj23u15fhfj>;
|
|
5403
5524
|
/**
|
|
5404
5525
|
* registration is allowed/disallowed for a subnet.
|
|
5405
5526
|
*/
|
|
@@ -5585,7 +5706,7 @@ type I1kbgtdk80ope3 = AnonymousEnum$1<{
|
|
|
5585
5706
|
* * **netuid**: The netuid of the batch item that failed.
|
|
5586
5707
|
* * **error**: The dispatch error emitted by the failed item.
|
|
5587
5708
|
*/
|
|
5588
|
-
"BatchWeightItemFailed": Anonymize$1<
|
|
5709
|
+
"BatchWeightItemFailed": Anonymize$1<I2tborcevr26jg>;
|
|
5589
5710
|
/**
|
|
5590
5711
|
* Stake has been transferred from one coldkey to another on the same subnet.
|
|
5591
5712
|
* Parameters:
|
|
@@ -5727,16 +5848,17 @@ type I1kbgtdk80ope3 = AnonymousEnum$1<{
|
|
|
5727
5848
|
*/
|
|
5728
5849
|
"RootClaimed": Anonymize$1<I1lh338fvf2g5i>;
|
|
5729
5850
|
/**
|
|
5730
|
-
* A validator's beta basket (fund) received a dividend deposit: the dividend
|
|
5731
|
-
*
|
|
5732
|
-
* realizable NAV to the fund and minting `shares` fund shares at
|
|
5851
|
+
* A validator's beta basket (fund) received a dividend deposit: the dividend alpha
|
|
5852
|
+
* was credited in place to the fund's holding on the subnet it was earned on,
|
|
5853
|
+
* adding `tao` of realizable NAV to the fund and minting `shares` fund shares at
|
|
5854
|
+
* the pre-deposit NAV.
|
|
5733
5855
|
*/
|
|
5734
5856
|
"BasketDeposited": Anonymize$1<I8raosbmu7qne>;
|
|
5735
5857
|
/**
|
|
5736
5858
|
* A staker deposited TAO from their balance directly into a validator's beta
|
|
5737
|
-
* basket: the TAO was
|
|
5738
|
-
* and `shares` fund shares were credited
|
|
5739
|
-
* watermark.
|
|
5859
|
+
* basket: the TAO was split across the fund's current holdings by value (or held
|
|
5860
|
+
* as the root cash slot of an empty fund) and `shares` fund shares were credited
|
|
5861
|
+
* to the staker via their claimed watermark.
|
|
5740
5862
|
*/
|
|
5741
5863
|
"BasketStakedIn": Anonymize$1<Ib9iq518ulvk6b>;
|
|
5742
5864
|
/**
|
|
@@ -5861,11 +5983,57 @@ type I1kbgtdk80ope3 = AnonymousEnum$1<{
|
|
|
5861
5983
|
* A miner set the self-maintaining collateral floor for a hotkey.
|
|
5862
5984
|
*/
|
|
5863
5985
|
"MinCollateralSet": Anonymize$1<I8311u0vagk8ti>;
|
|
5986
|
+
/**
|
|
5987
|
+
* A subnet's liquid-alpha consensus mode was updated.
|
|
5988
|
+
* Appended to preserve existing SCALE event indices.
|
|
5989
|
+
*/
|
|
5990
|
+
"LiquidAlphaConsensusModeSet": Anonymize$1<I3fk3bga536kbc>;
|
|
5991
|
+
/**
|
|
5992
|
+
* A fund's frozen display baseline was stamped at its first share mint: its
|
|
5993
|
+
* index-spliced display and total-return stake prices start at the current
|
|
5994
|
+
* index levels from this block on (see `BetaBaseline` storage). Appended to
|
|
5995
|
+
* preserve existing SCALE event indices.
|
|
5996
|
+
*/
|
|
5997
|
+
"BetaBaselineStamped": Anonymize$1<Ie7hipi75c7vn0>;
|
|
5998
|
+
/**
|
|
5999
|
+
* A terminally untradeable basket alpha slice was explicitly written off. This is
|
|
6000
|
+
* distinct from a swap/transfer failure: only a pool too shallow to execute any sale
|
|
6001
|
+
* is eligible, and removing the exact slice preserves every holder's fund proportion.
|
|
6002
|
+
* Appended to preserve existing SCALE event indices.
|
|
6003
|
+
*/
|
|
6004
|
+
"BasketAlphaWrittenOff": Anonymize$1<I5lc3fje3csiff>;
|
|
6005
|
+
/**
|
|
6006
|
+
* A contributor's lease dividends could not be transferred this interval. The amount
|
|
6007
|
+
* is recorded against that contributor and retried at the next distribution.
|
|
6008
|
+
*/
|
|
6009
|
+
"SubnetLeaseDividendSkipped": Anonymize$1<Ic149bnrif7lpr>;
|
|
6010
|
+
/**
|
|
6011
|
+
* A share pool's denominator was rewritten to the sum of its live shares, so every
|
|
6012
|
+
* member is quoted exactly its fraction of the pool value.
|
|
6013
|
+
*/
|
|
6014
|
+
"SharePoolDenominatorReconciled": Anonymize$1<I7f38r2vt6r9k1>;
|
|
6015
|
+
/**
|
|
6016
|
+
* A validator rebalanced its beta basket: `alpha_sold` of `origin_netuid` was sold
|
|
6017
|
+
* for `tao_mid` TAO, which bought `alpha_bought` of `destination_netuid`. Fund
|
|
6018
|
+
* shares and staker entitlements are unaffected; only the fund's composition changed.
|
|
6019
|
+
*/
|
|
6020
|
+
"BasketSwapped": Anonymize$1<I4c943g1d2vpls>;
|
|
6021
|
+
/**
|
|
6022
|
+
* A root claim skipped `rows` dust rows of the fund: rows whose whole holding was
|
|
6023
|
+
* worth less than `min(BasketClaimRowDustCapTao, BasketClaimRowDustBps × anchored
|
|
6024
|
+
* NAV)`, or whose slice for this claimant was worth less than
|
|
6025
|
+
* `BasketClaimSliceDustTao`, each worth at most `BasketClaimForfeitCapTao` for this
|
|
6026
|
+
* claimant, all at the anchored (fast-EMA-capped) mark. Those rows were neither sold
|
|
6027
|
+
* nor paid. The claim burned the whole entitlement, so the claimant's slices of those
|
|
6028
|
+
* rows — about `forfeited_tao_est` at the pre-sale realizable quote — stay in the fund
|
|
6029
|
+
* for the remaining holders.
|
|
6030
|
+
*/
|
|
6031
|
+
"BasketClaimDustSkipped": Anonymize$1<I2oi507u9m8p7e>;
|
|
5864
6032
|
}>;
|
|
5865
6033
|
type Io45lnue7n40k = [SS58String, SS58String, bigint, bigint, number, bigint];
|
|
5866
6034
|
type I83e4tgdv5ohg1 = [SS58String, SS58String, number, SS58String, number, bigint];
|
|
5867
6035
|
type I39p6ln31i4n46 = [number, boolean];
|
|
5868
|
-
type
|
|
6036
|
+
type I2tgj23u15fhfj = ResultPayload<undefined, Anonymize$1<I8p4c3h8cei06k>>;
|
|
5869
6037
|
type Ifkgc6cte1k96e = {
|
|
5870
6038
|
/**
|
|
5871
6039
|
* the account ID of coldkey
|
|
@@ -5940,7 +6108,7 @@ type I4hnmf90qkrer9 = {
|
|
|
5940
6108
|
type Ijsohbv0raf36 = [SS58String, number, SizedHex<32>];
|
|
5941
6109
|
type I4ga01hppthoe1 = [SS58String, number, Anonymize$1<Ic5m5lp1oioo8r>];
|
|
5942
6110
|
type I4hckkcv10tcue = [Anonymize$1<Icgljjb6j82uhn>, SS58String];
|
|
5943
|
-
type
|
|
6111
|
+
type I2tborcevr26jg = [number, Anonymize$1<I8p4c3h8cei06k>];
|
|
5944
6112
|
type If2ieedn10ujdv = [SS58String, SS58String, SS58String, number, number, bigint];
|
|
5945
6113
|
type Iaseh340tnovdh = [SS58String, SS58String, number, number, bigint];
|
|
5946
6114
|
type I8m5umt6snnmlj = [SS58String, SS58String, bigint, number];
|
|
@@ -6081,8 +6249,8 @@ type I8raosbmu7qne = {
|
|
|
6081
6249
|
*/
|
|
6082
6250
|
"hotkey": SS58String;
|
|
6083
6251
|
/**
|
|
6084
|
-
* Realizable NAV the deposit added to the fund (
|
|
6085
|
-
*
|
|
6252
|
+
* Realizable NAV the deposit added to the fund (the origin holding's
|
|
6253
|
+
* realizable value after the credit minus before it).
|
|
6086
6254
|
*/
|
|
6087
6255
|
"tao": bigint;
|
|
6088
6256
|
/**
|
|
@@ -6472,12 +6640,93 @@ type I8311u0vagk8ti = {
|
|
|
6472
6640
|
*/
|
|
6473
6641
|
"min_locked": bigint;
|
|
6474
6642
|
};
|
|
6475
|
-
type
|
|
6643
|
+
type I3fk3bga536kbc = [number, Anonymize$1<I229aourr5nmc9>];
|
|
6644
|
+
type I229aourr5nmc9 = AnonymousEnum$1<{
|
|
6645
|
+
"Current": undefined;
|
|
6646
|
+
"Previous": undefined;
|
|
6647
|
+
"Auto": undefined;
|
|
6648
|
+
}>;
|
|
6649
|
+
type Ie7hipi75c7vn0 = {
|
|
6650
|
+
/**
|
|
6651
|
+
* Validator hotkey whose fund was stamped.
|
|
6652
|
+
*/
|
|
6653
|
+
"hotkey": SS58String;
|
|
6654
|
+
};
|
|
6655
|
+
type I5lc3fje3csiff = {
|
|
6656
|
+
/**
|
|
6657
|
+
* Validator hotkey whose basket held the alpha.
|
|
6658
|
+
*/
|
|
6659
|
+
"hotkey": SS58String;
|
|
6660
|
+
/**
|
|
6661
|
+
* Subnet whose pool was terminally too shallow.
|
|
6662
|
+
*/
|
|
6663
|
+
"netuid": number;
|
|
6664
|
+
/**
|
|
6665
|
+
* Alpha removed from basket custody and recorded as burned.
|
|
6666
|
+
*/
|
|
6667
|
+
"alpha": bigint;
|
|
6668
|
+
};
|
|
6669
|
+
type I7f38r2vt6r9k1 = {
|
|
6670
|
+
/**
|
|
6671
|
+
* The hotkey whose pool was reconciled.
|
|
6672
|
+
*/
|
|
6673
|
+
"hotkey": SS58String;
|
|
6674
|
+
/**
|
|
6675
|
+
* The subnet of the pool.
|
|
6676
|
+
*/
|
|
6677
|
+
"netuid": number;
|
|
6678
|
+
};
|
|
6679
|
+
type I4c943g1d2vpls = {
|
|
6680
|
+
/**
|
|
6681
|
+
* Validator hotkey whose basket was rebalanced.
|
|
6682
|
+
*/
|
|
6683
|
+
"hotkey": SS58String;
|
|
6684
|
+
/**
|
|
6685
|
+
* Subnet sold out of (root = the fund's TAO slot).
|
|
6686
|
+
*/
|
|
6687
|
+
"origin_netuid": number;
|
|
6688
|
+
/**
|
|
6689
|
+
* Subnet bought into (root = the fund's TAO slot).
|
|
6690
|
+
*/
|
|
6691
|
+
"destination_netuid": number;
|
|
6692
|
+
/**
|
|
6693
|
+
* Alpha (or TAO when origin is root) removed from the origin holding.
|
|
6694
|
+
*/
|
|
6695
|
+
"alpha_sold": bigint;
|
|
6696
|
+
/**
|
|
6697
|
+
* TAO that passed through the middle of the swap; counted against the fund's
|
|
6698
|
+
* daily turnover budget.
|
|
6699
|
+
*/
|
|
6700
|
+
"tao_mid": bigint;
|
|
6701
|
+
/**
|
|
6702
|
+
* Alpha (or TAO when destination is root) added to the destination holding.
|
|
6703
|
+
*/
|
|
6704
|
+
"alpha_bought": bigint;
|
|
6705
|
+
};
|
|
6706
|
+
type I2oi507u9m8p7e = {
|
|
6707
|
+
/**
|
|
6708
|
+
* Validator hotkey the basket belongs to.
|
|
6709
|
+
*/
|
|
6710
|
+
"hotkey": SS58String;
|
|
6711
|
+
/**
|
|
6712
|
+
* Staker coldkey that claimed.
|
|
6713
|
+
*/
|
|
6714
|
+
"coldkey": SS58String;
|
|
6715
|
+
/**
|
|
6716
|
+
* Fund rows the claim did not sell.
|
|
6717
|
+
*/
|
|
6718
|
+
"rows": number;
|
|
6719
|
+
/**
|
|
6720
|
+
* Estimated TAO value of the claimant's slices of those rows, left in the fund.
|
|
6721
|
+
*/
|
|
6722
|
+
"forfeited_tao_est": bigint;
|
|
6723
|
+
};
|
|
6724
|
+
type I363fmqeuv06ol = AnonymousEnum$1<{
|
|
6476
6725
|
/**
|
|
6477
6726
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
6478
6727
|
* well as the error.
|
|
6479
6728
|
*/
|
|
6480
|
-
"BatchInterrupted": Anonymize$1<
|
|
6729
|
+
"BatchInterrupted": Anonymize$1<I1ljeiuva9p2f8>;
|
|
6481
6730
|
/**
|
|
6482
6731
|
* Batch of dispatches completed fully with no error.
|
|
6483
6732
|
*/
|
|
@@ -6493,11 +6742,11 @@ type Ibifm45sfkfuq = AnonymousEnum$1<{
|
|
|
6493
6742
|
/**
|
|
6494
6743
|
* A single item within a Batch of dispatches has completed with error.
|
|
6495
6744
|
*/
|
|
6496
|
-
"ItemFailed": Anonymize$1<
|
|
6745
|
+
"ItemFailed": Anonymize$1<I2d979qe85gckv>;
|
|
6497
6746
|
/**
|
|
6498
6747
|
* A call was dispatched.
|
|
6499
6748
|
*/
|
|
6500
|
-
"DispatchedAs": Anonymize$1<
|
|
6749
|
+
"DispatchedAs": Anonymize$1<Idh038mr0ve455>;
|
|
6501
6750
|
/**
|
|
6502
6751
|
* Main call was dispatched.
|
|
6503
6752
|
*/
|
|
@@ -6505,26 +6754,26 @@ type Ibifm45sfkfuq = AnonymousEnum$1<{
|
|
|
6505
6754
|
/**
|
|
6506
6755
|
* The fallback call was dispatched.
|
|
6507
6756
|
*/
|
|
6508
|
-
"IfElseFallbackCalled": Anonymize$1<
|
|
6757
|
+
"IfElseFallbackCalled": Anonymize$1<I86e6l1su1si95>;
|
|
6509
6758
|
}>;
|
|
6510
|
-
type
|
|
6759
|
+
type I1ljeiuva9p2f8 = {
|
|
6511
6760
|
"index": number;
|
|
6512
|
-
"error": Anonymize$1<
|
|
6761
|
+
"error": Anonymize$1<I8p4c3h8cei06k>;
|
|
6513
6762
|
};
|
|
6514
|
-
type
|
|
6515
|
-
"error": Anonymize$1<
|
|
6763
|
+
type I2d979qe85gckv = {
|
|
6764
|
+
"error": Anonymize$1<I8p4c3h8cei06k>;
|
|
6516
6765
|
};
|
|
6517
|
-
type
|
|
6518
|
-
"result": Anonymize$1<
|
|
6766
|
+
type Idh038mr0ve455 = {
|
|
6767
|
+
"result": Anonymize$1<I2tgj23u15fhfj>;
|
|
6519
6768
|
};
|
|
6520
|
-
type
|
|
6521
|
-
"main_error": Anonymize$1<
|
|
6769
|
+
type I86e6l1su1si95 = {
|
|
6770
|
+
"main_error": Anonymize$1<I8p4c3h8cei06k>;
|
|
6522
6771
|
};
|
|
6523
|
-
type
|
|
6772
|
+
type I2ivimfli3dgp1 = AnonymousEnum$1<{
|
|
6524
6773
|
/**
|
|
6525
6774
|
* A sudo call just took place.
|
|
6526
6775
|
*/
|
|
6527
|
-
"Sudid": Anonymize$1<
|
|
6776
|
+
"Sudid": Anonymize$1<Iep7dr37rblk5l>;
|
|
6528
6777
|
/**
|
|
6529
6778
|
* The sudo key has been updated.
|
|
6530
6779
|
*/
|
|
@@ -6536,15 +6785,15 @@ type I2bml8gilnr9hm = AnonymousEnum$1<{
|
|
|
6536
6785
|
/**
|
|
6537
6786
|
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
6538
6787
|
*/
|
|
6539
|
-
"SudoAsDone": Anonymize$1<
|
|
6788
|
+
"SudoAsDone": Anonymize$1<Iep7dr37rblk5l>;
|
|
6540
6789
|
}>;
|
|
6541
|
-
type
|
|
6790
|
+
type Iep7dr37rblk5l = {
|
|
6542
6791
|
/**
|
|
6543
6792
|
* The result of the call made by the sudo user.
|
|
6544
6793
|
*/
|
|
6545
|
-
"sudo_result": Anonymize$1<
|
|
6794
|
+
"sudo_result": Anonymize$1<I2tgj23u15fhfj>;
|
|
6546
6795
|
};
|
|
6547
|
-
type
|
|
6796
|
+
type I6n3fedd5u02md = AnonymousEnum$1<{
|
|
6548
6797
|
/**
|
|
6549
6798
|
* A new multisig operation has begun.
|
|
6550
6799
|
*/
|
|
@@ -6556,7 +6805,7 @@ type I4u52lpbs07fme = AnonymousEnum$1<{
|
|
|
6556
6805
|
/**
|
|
6557
6806
|
* A multisig operation has been executed.
|
|
6558
6807
|
*/
|
|
6559
|
-
"MultisigExecuted": Anonymize$1<
|
|
6808
|
+
"MultisigExecuted": Anonymize$1<I686omifdantj9>;
|
|
6560
6809
|
/**
|
|
6561
6810
|
* A multisig operation has been cancelled.
|
|
6562
6811
|
*/
|
|
@@ -6566,14 +6815,14 @@ type I4u52lpbs07fme = AnonymousEnum$1<{
|
|
|
6566
6815
|
*/
|
|
6567
6816
|
"DepositPoked": Anonymize$1<I8gtde5abn1g9a>;
|
|
6568
6817
|
}>;
|
|
6569
|
-
type
|
|
6818
|
+
type I686omifdantj9 = {
|
|
6570
6819
|
"approving": SS58String;
|
|
6571
6820
|
"timepoint": Anonymize$1<Itvprrpb0nm3o>;
|
|
6572
6821
|
"multisig": SS58String;
|
|
6573
6822
|
"call_hash": SizedHex<32>;
|
|
6574
|
-
"result": Anonymize$1<
|
|
6823
|
+
"result": Anonymize$1<I2tgj23u15fhfj>;
|
|
6575
6824
|
};
|
|
6576
|
-
type
|
|
6825
|
+
type I16l28vbmivm8t = AnonymousEnum$1<{
|
|
6577
6826
|
/**
|
|
6578
6827
|
* Scheduled some task.
|
|
6579
6828
|
*/
|
|
@@ -6585,7 +6834,7 @@ type I3d26immfllvam = AnonymousEnum$1<{
|
|
|
6585
6834
|
/**
|
|
6586
6835
|
* Dispatched some task.
|
|
6587
6836
|
*/
|
|
6588
|
-
"Dispatched": Anonymize$1<
|
|
6837
|
+
"Dispatched": Anonymize$1<I7d5m523quh7c1>;
|
|
6589
6838
|
/**
|
|
6590
6839
|
* Set a retry configuration for some task.
|
|
6591
6840
|
*/
|
|
@@ -6616,25 +6865,25 @@ type I3d26immfllvam = AnonymousEnum$1<{
|
|
|
6616
6865
|
*/
|
|
6617
6866
|
"AgendaIncomplete": Anonymize$1<Ibtsa3docbr9el>;
|
|
6618
6867
|
}>;
|
|
6619
|
-
type
|
|
6868
|
+
type I7d5m523quh7c1 = {
|
|
6620
6869
|
"task": Anonymize$1<I9jd27rnpm8ttv>;
|
|
6621
6870
|
"id"?: Anonymize$1<I4s6vifaf8k998>;
|
|
6622
|
-
"result": Anonymize$1<
|
|
6871
|
+
"result": Anonymize$1<I2tgj23u15fhfj>;
|
|
6623
6872
|
};
|
|
6624
|
-
type
|
|
6873
|
+
type I5mkp35aomkbdn = AnonymousEnum$1<{
|
|
6625
6874
|
/**
|
|
6626
6875
|
* A proxy was executed correctly, with the given.
|
|
6627
6876
|
*/
|
|
6628
|
-
"ProxyExecuted": Anonymize$1<
|
|
6877
|
+
"ProxyExecuted": Anonymize$1<Idh038mr0ve455>;
|
|
6629
6878
|
/**
|
|
6630
6879
|
* A pure account has been created by new proxy with given
|
|
6631
6880
|
* disambiguation index and proxy type.
|
|
6632
6881
|
*/
|
|
6633
|
-
"PureCreated": Anonymize$1<
|
|
6882
|
+
"PureCreated": Anonymize$1<I4h005nshv9cmm>;
|
|
6634
6883
|
/**
|
|
6635
6884
|
* A pure proxy was killed by its spawner.
|
|
6636
6885
|
*/
|
|
6637
|
-
"PureKilled": Anonymize$1<
|
|
6886
|
+
"PureKilled": Anonymize$1<I65ie0pg8a2o2r>;
|
|
6638
6887
|
/**
|
|
6639
6888
|
* An announcement was placed to make a call in the future.
|
|
6640
6889
|
*/
|
|
@@ -6642,11 +6891,11 @@ type I73doki8p5behi = AnonymousEnum$1<{
|
|
|
6642
6891
|
/**
|
|
6643
6892
|
* A proxy was added.
|
|
6644
6893
|
*/
|
|
6645
|
-
"ProxyAdded": Anonymize$1<
|
|
6894
|
+
"ProxyAdded": Anonymize$1<Ieglriopqk5p81>;
|
|
6646
6895
|
/**
|
|
6647
6896
|
* A proxy was removed.
|
|
6648
6897
|
*/
|
|
6649
|
-
"ProxyRemoved": Anonymize$1<
|
|
6898
|
+
"ProxyRemoved": Anonymize$1<Ieglriopqk5p81>;
|
|
6650
6899
|
/**
|
|
6651
6900
|
* A deposit stored for proxies or announcements was poked / updated.
|
|
6652
6901
|
*/
|
|
@@ -6656,13 +6905,13 @@ type I73doki8p5behi = AnonymousEnum$1<{
|
|
|
6656
6905
|
*/
|
|
6657
6906
|
"RealPaysFeeSet": Anonymize$1<Ic2lo6kvbsecob>;
|
|
6658
6907
|
}>;
|
|
6659
|
-
type
|
|
6908
|
+
type I4h005nshv9cmm = {
|
|
6660
6909
|
"pure": SS58String;
|
|
6661
6910
|
"who": SS58String;
|
|
6662
|
-
"proxy_type": Anonymize$1<
|
|
6911
|
+
"proxy_type": Anonymize$1<I4855cvrampgh6>;
|
|
6663
6912
|
"disambiguation_index": number;
|
|
6664
6913
|
};
|
|
6665
|
-
type
|
|
6914
|
+
type I4855cvrampgh6 = AnonymousEnum$1<{
|
|
6666
6915
|
"Any": undefined;
|
|
6667
6916
|
"Owner": undefined;
|
|
6668
6917
|
"NonCritical": undefined;
|
|
@@ -6681,17 +6930,18 @@ type I8v1041j74kmaj = AnonymousEnum$1<{
|
|
|
6681
6930
|
"SwapHotkey": undefined;
|
|
6682
6931
|
"SubnetLeaseBeneficiary": undefined;
|
|
6683
6932
|
"RootClaim": undefined;
|
|
6933
|
+
"BasketTrading": undefined;
|
|
6684
6934
|
}>;
|
|
6685
|
-
type
|
|
6935
|
+
type I65ie0pg8a2o2r = {
|
|
6686
6936
|
"pure": SS58String;
|
|
6687
6937
|
"spawner": SS58String;
|
|
6688
|
-
"proxy_type": Anonymize$1<
|
|
6938
|
+
"proxy_type": Anonymize$1<I4855cvrampgh6>;
|
|
6689
6939
|
"disambiguation_index": number;
|
|
6690
6940
|
};
|
|
6691
|
-
type
|
|
6941
|
+
type Ieglriopqk5p81 = {
|
|
6692
6942
|
"delegator": SS58String;
|
|
6693
6943
|
"delegatee": SS58String;
|
|
6694
|
-
"proxy_type": Anonymize$1<
|
|
6944
|
+
"proxy_type": Anonymize$1<I4855cvrampgh6>;
|
|
6695
6945
|
"delay": number;
|
|
6696
6946
|
};
|
|
6697
6947
|
type Ic2lo6kvbsecob = {
|
|
@@ -6699,7 +6949,7 @@ type Ic2lo6kvbsecob = {
|
|
|
6699
6949
|
"delegate": SS58String;
|
|
6700
6950
|
"pays_fee": boolean;
|
|
6701
6951
|
};
|
|
6702
|
-
type
|
|
6952
|
+
type I2bvu7rvt3acvt = AnonymousEnum$1<{
|
|
6703
6953
|
/**
|
|
6704
6954
|
* A commitment was set
|
|
6705
6955
|
*/
|
|
@@ -6712,6 +6962,10 @@ type I5ohlg8gv4pe9g = AnonymousEnum$1<{
|
|
|
6712
6962
|
* A timelock-encrypted commitment was auto-revealed
|
|
6713
6963
|
*/
|
|
6714
6964
|
"CommitmentRevealed": Anonymize$1<Idcqgi2844k5he>;
|
|
6965
|
+
/**
|
|
6966
|
+
* A timelock-encrypted commitment could not be revealed and was left in place
|
|
6967
|
+
*/
|
|
6968
|
+
"CommitmentRevealFailed": Anonymize$1<I4k7lbqu1hockt>;
|
|
6715
6969
|
}>;
|
|
6716
6970
|
type Idcqgi2844k5he = {
|
|
6717
6971
|
/**
|
|
@@ -6737,11 +6991,36 @@ type Iej2173ou338sm = {
|
|
|
6737
6991
|
*/
|
|
6738
6992
|
"reveal_round": bigint;
|
|
6739
6993
|
};
|
|
6740
|
-
type
|
|
6994
|
+
type I4k7lbqu1hockt = {
|
|
6995
|
+
/**
|
|
6996
|
+
* The netuid of the commitment
|
|
6997
|
+
*/
|
|
6998
|
+
"netuid": number;
|
|
6999
|
+
/**
|
|
7000
|
+
* The account
|
|
7001
|
+
*/
|
|
7002
|
+
"who": SS58String;
|
|
7003
|
+
/**
|
|
7004
|
+
* The drand round that was attempted
|
|
7005
|
+
*/
|
|
7006
|
+
"reveal_round": bigint;
|
|
7007
|
+
/**
|
|
7008
|
+
* Why reveal failed
|
|
7009
|
+
*/
|
|
7010
|
+
"error": Enum$1<{
|
|
7011
|
+
"SignatureDeserialize": undefined;
|
|
7012
|
+
"CiphertextDeserialize": undefined;
|
|
7013
|
+
"Decrypt": undefined;
|
|
7014
|
+
"EmptyPlaintext": undefined;
|
|
7015
|
+
"PulseExpired": undefined;
|
|
7016
|
+
"RoundMismatch": undefined;
|
|
7017
|
+
}>;
|
|
7018
|
+
};
|
|
7019
|
+
type I38ot7d3htb975 = AnonymousEnum$1<{
|
|
6741
7020
|
/**
|
|
6742
7021
|
* Event emitted when a precompile operation is updated.
|
|
6743
7022
|
*/
|
|
6744
|
-
"PrecompileUpdated": Anonymize$1<
|
|
7023
|
+
"PrecompileUpdated": Anonymize$1<I5emsms8keuaac>;
|
|
6745
7024
|
/**
|
|
6746
7025
|
* Event emitted when the Yuma3 enable is toggled.
|
|
6747
7026
|
*/
|
|
@@ -6771,22 +7050,42 @@ type I7e2dfidi4918r = AnonymousEnum$1<{
|
|
|
6771
7050
|
*/
|
|
6772
7051
|
"CollateralDrainRatioSet": Anonymize$1<Ii5ndf7h688tr>;
|
|
6773
7052
|
/**
|
|
6774
|
-
*
|
|
6775
|
-
|
|
7053
|
+
* The basket concentration cap (`BasketConcentrationCap`) was set.
|
|
7054
|
+
*/
|
|
7055
|
+
"BasketConcentrationCapSet": Anonymize$1<Ieju6qo4sptvs6>;
|
|
7056
|
+
/**
|
|
7057
|
+
* Validator basket trading (`swap_basket`) was enabled or disabled network-wide.
|
|
7058
|
+
*/
|
|
7059
|
+
"BasketTradingToggled": Anonymize$1<I94dejtmu6d72i>;
|
|
7060
|
+
/**
|
|
7061
|
+
* Basket trading was frozen or unfrozen for one validator hotkey.
|
|
7062
|
+
*/
|
|
7063
|
+
"BasketTradingFrozenSet": Anonymize$1<Ifh6muqgp7cgvc>;
|
|
7064
|
+
/**
|
|
7065
|
+
* The basket daily turnover budget (`BasketDailyTurnoverCap`) was set.
|
|
7066
|
+
*/
|
|
7067
|
+
"BasketDailyTurnoverCapSet": Anonymize$1<Ieju6qo4sptvs6>;
|
|
7068
|
+
/**
|
|
7069
|
+
* The basket liquidity cap (`BasketLiquidityCap`) was set.
|
|
7070
|
+
*/
|
|
7071
|
+
"BasketLiquidityCapSet": Anonymize$1<Ieju6qo4sptvs6>;
|
|
7072
|
+
/**
|
|
7073
|
+
* The root-claim dust floors were set (`BasketClaimRowDustCapTao`,
|
|
7074
|
+
* `BasketClaimRowDustBps`, `BasketClaimSliceDustTao`, `BasketClaimForfeitCapTao`).
|
|
6776
7075
|
*/
|
|
6777
|
-
"
|
|
7076
|
+
"BasketClaimDustSet": Anonymize$1<I1efeqe055hnfk>;
|
|
6778
7077
|
}>;
|
|
6779
|
-
type
|
|
7078
|
+
type I5emsms8keuaac = {
|
|
6780
7079
|
/**
|
|
6781
7080
|
* The type of precompile operation being updated.
|
|
6782
7081
|
*/
|
|
6783
|
-
"precompile_id": Anonymize$1<
|
|
7082
|
+
"precompile_id": Anonymize$1<Idfs9n0m9b3jp2>;
|
|
6784
7083
|
/**
|
|
6785
7084
|
* Indicates if the precompile operation is enabled or not.
|
|
6786
7085
|
*/
|
|
6787
7086
|
"enabled": boolean;
|
|
6788
7087
|
};
|
|
6789
|
-
type
|
|
7088
|
+
type Idfs9n0m9b3jp2 = AnonymousEnum$1<{
|
|
6790
7089
|
"BalanceTransfer": undefined;
|
|
6791
7090
|
"Staking": undefined;
|
|
6792
7091
|
"Subnet": undefined;
|
|
@@ -6800,6 +7099,11 @@ type I6u8m363vi2hk5 = AnonymousEnum$1<{
|
|
|
6800
7099
|
"AddressMapping": undefined;
|
|
6801
7100
|
"VotingPower": undefined;
|
|
6802
7101
|
"AccountBalance": undefined;
|
|
7102
|
+
"Scheduler": undefined;
|
|
7103
|
+
"Drand": undefined;
|
|
7104
|
+
"Timestamp": undefined;
|
|
7105
|
+
"RuntimeConfiguration": undefined;
|
|
7106
|
+
"PrecompileRegistry": undefined;
|
|
6803
7107
|
}>;
|
|
6804
7108
|
type Ie31ro5s5e089f = {
|
|
6805
7109
|
/**
|
|
@@ -6831,12 +7135,47 @@ type Ii5ndf7h688tr = {
|
|
|
6831
7135
|
*/
|
|
6832
7136
|
"drain_ratio": bigint;
|
|
6833
7137
|
};
|
|
7138
|
+
type Ieju6qo4sptvs6 = {
|
|
7139
|
+
/**
|
|
7140
|
+
* Max u16-normalized share of fund NAV one holding may reach through a
|
|
7141
|
+
* `swap_basket` buy (`u16::MAX` = 100%).
|
|
7142
|
+
*/
|
|
7143
|
+
"cap": number;
|
|
7144
|
+
};
|
|
6834
7145
|
type I94dejtmu6d72i = {
|
|
6835
7146
|
/**
|
|
6836
|
-
* Whether validators can now
|
|
7147
|
+
* Whether validators can now rebalance their baskets.
|
|
6837
7148
|
*/
|
|
6838
7149
|
"enabled": boolean;
|
|
6839
7150
|
};
|
|
7151
|
+
type Ifh6muqgp7cgvc = {
|
|
7152
|
+
/**
|
|
7153
|
+
* Validator hotkey whose fund is affected.
|
|
7154
|
+
*/
|
|
7155
|
+
"hotkey": SS58String;
|
|
7156
|
+
/**
|
|
7157
|
+
* Whether `swap_basket` is now refused for this hotkey.
|
|
7158
|
+
*/
|
|
7159
|
+
"frozen": boolean;
|
|
7160
|
+
};
|
|
7161
|
+
type I1efeqe055hnfk = {
|
|
7162
|
+
/**
|
|
7163
|
+
* Cap, in rao, of the row floor `min(cap, bps × anchored NAV)` (`0` = row skip off).
|
|
7164
|
+
*/
|
|
7165
|
+
"row_cap_rao": bigint;
|
|
7166
|
+
/**
|
|
7167
|
+
* Relative row floor in basis points of the fund's anchored NAV (`0` = row skip off).
|
|
7168
|
+
*/
|
|
7169
|
+
"row_bps": number;
|
|
7170
|
+
/**
|
|
7171
|
+
* Rao value below which a claim leaves its own slice of a row unsold (`0` = off).
|
|
7172
|
+
*/
|
|
7173
|
+
"slice_rao": bigint;
|
|
7174
|
+
/**
|
|
7175
|
+
* Largest slice, in rao, either rule may leave unsold (`0` = every skip off).
|
|
7176
|
+
*/
|
|
7177
|
+
"forfeit_cap_rao": bigint;
|
|
7178
|
+
};
|
|
6840
7179
|
type I3q8c83f5dvokp = AnonymousEnum$1<{
|
|
6841
7180
|
/**
|
|
6842
7181
|
* The safe-mode was entered until inclusively this block.
|
|
@@ -7130,7 +7469,7 @@ type Idht9upmipvd4j = {
|
|
|
7130
7469
|
*/
|
|
7131
7470
|
"code_hash": SizedHex<32>;
|
|
7132
7471
|
};
|
|
7133
|
-
type
|
|
7472
|
+
type I3d2e0rnod8ms0 = AnonymousEnum$1<{
|
|
7134
7473
|
/**
|
|
7135
7474
|
* Encrypted wrapper accepted.
|
|
7136
7475
|
*/
|
|
@@ -7146,7 +7485,7 @@ type Ib9g7kvdd35o5 = AnonymousEnum$1<{
|
|
|
7146
7485
|
/**
|
|
7147
7486
|
* Extrinsic dispatch failed during on_initialize.
|
|
7148
7487
|
*/
|
|
7149
|
-
"ExtrinsicDispatchFailed": Anonymize$1<
|
|
7488
|
+
"ExtrinsicDispatchFailed": Anonymize$1<I1ljeiuva9p2f8>;
|
|
7150
7489
|
/**
|
|
7151
7490
|
* Extrinsic was successfully dispatched during on_initialize.
|
|
7152
7491
|
*/
|
|
@@ -7187,7 +7526,7 @@ type Icns2sqr5hp8s3 = {
|
|
|
7187
7526
|
type Icnkee0to4c5ac = {
|
|
7188
7527
|
"value": number;
|
|
7189
7528
|
};
|
|
7190
|
-
type
|
|
7529
|
+
type I8p9ve97hjfjlt = AnonymousEnum$1<{
|
|
7191
7530
|
/**
|
|
7192
7531
|
* A limit order was successfully executed.
|
|
7193
7532
|
*/
|
|
@@ -7195,7 +7534,7 @@ type I5atc3v03sk1i = AnonymousEnum$1<{
|
|
|
7195
7534
|
/**
|
|
7196
7535
|
* An order was skipped during execution.
|
|
7197
7536
|
*/
|
|
7198
|
-
"OrderSkipped": Anonymize$1<
|
|
7537
|
+
"OrderSkipped": Anonymize$1<I7fsb2ggi0p38u>;
|
|
7199
7538
|
/**
|
|
7200
7539
|
* A user registered a cancellation intent for their order.
|
|
7201
7540
|
*/
|
|
@@ -7208,6 +7547,18 @@ type I5atc3v03sk1i = AnonymousEnum$1<{
|
|
|
7208
7547
|
* Root has either enabled(true) or disabled(false) the pallet
|
|
7209
7548
|
*/
|
|
7210
7549
|
"LimitOrdersPalletStatusChanged": Anonymize$1<I94dejtmu6d72i>;
|
|
7550
|
+
/**
|
|
7551
|
+
* A provider order recorded its post-fee output for a later linked draw.
|
|
7552
|
+
*/
|
|
7553
|
+
"LinkedOutputRecorded": Anonymize$1<I3bo03q6favt23>;
|
|
7554
|
+
/**
|
|
7555
|
+
* A linked order drew against a provider record, consuming it.
|
|
7556
|
+
*/
|
|
7557
|
+
"LinkedOutputConsumed": Anonymize$1<Icp9q94f7t4cvv>;
|
|
7558
|
+
/**
|
|
7559
|
+
* A provider record was removed without being drawn.
|
|
7560
|
+
*/
|
|
7561
|
+
"LinkedOutputPruned": Anonymize$1<I4ei8bi736no30>;
|
|
7211
7562
|
}>;
|
|
7212
7563
|
type Icgs2mnjcld0or = {
|
|
7213
7564
|
"order_id": SizedHex<32>;
|
|
@@ -7228,9 +7579,9 @@ type I8ihq9g3g7resb = AnonymousEnum$1<{
|
|
|
7228
7579
|
"TakeProfit": undefined;
|
|
7229
7580
|
"StopLoss": undefined;
|
|
7230
7581
|
}>;
|
|
7231
|
-
type
|
|
7582
|
+
type I7fsb2ggi0p38u = {
|
|
7232
7583
|
"order_id": SizedHex<32>;
|
|
7233
|
-
"reason": Anonymize$1<
|
|
7584
|
+
"reason": Anonymize$1<I8p4c3h8cei06k>;
|
|
7234
7585
|
};
|
|
7235
7586
|
type I2p6dpmllidcdk = {
|
|
7236
7587
|
"order_id": SizedHex<32>;
|
|
@@ -7263,6 +7614,27 @@ type I3mn41f2cukm3a = {
|
|
|
7263
7614
|
*/
|
|
7264
7615
|
"executed_count": number;
|
|
7265
7616
|
};
|
|
7617
|
+
type I3bo03q6favt23 = {
|
|
7618
|
+
"order_id": SizedHex<32>;
|
|
7619
|
+
"signer": SS58String;
|
|
7620
|
+
"asset": Anonymize$1<I6mv9ds2k3b74j>;
|
|
7621
|
+
"total": bigint;
|
|
7622
|
+
"expires_at": bigint;
|
|
7623
|
+
};
|
|
7624
|
+
type I6mv9ds2k3b74j = AnonymousEnum$1<{
|
|
7625
|
+
"Tao": undefined;
|
|
7626
|
+
"Alpha": Anonymize$1<I7f38r2vt6r9k1>;
|
|
7627
|
+
}>;
|
|
7628
|
+
type Icp9q94f7t4cvv = {
|
|
7629
|
+
"provider": SizedHex<32>;
|
|
7630
|
+
"consumer": SizedHex<32>;
|
|
7631
|
+
"amount": bigint;
|
|
7632
|
+
"undrawn": bigint;
|
|
7633
|
+
};
|
|
7634
|
+
type I4ei8bi736no30 = {
|
|
7635
|
+
"order_id": SizedHex<32>;
|
|
7636
|
+
"total": bigint;
|
|
7637
|
+
};
|
|
7266
7638
|
type I5188lmmdnhos0 = Array<{
|
|
7267
7639
|
"id": Enum$1<{
|
|
7268
7640
|
"Preimage": PreimagePalletHoldReason;
|
|
@@ -7287,7 +7659,7 @@ type I8tqsm2j01rn5j = {
|
|
|
7287
7659
|
"last_update": bigint;
|
|
7288
7660
|
};
|
|
7289
7661
|
type I19jngnl8banpc = [SS58String, number, SS58String];
|
|
7290
|
-
type
|
|
7662
|
+
type I5qeacfd1c156k = AnonymousEnum$1<{
|
|
7291
7663
|
"SetSNOwnerHotkey": number;
|
|
7292
7664
|
"OwnerHyperparamUpdate": [number, Enum$1<{
|
|
7293
7665
|
"Unknown": undefined;
|
|
@@ -7324,6 +7696,7 @@ type I50nns99df0pho = AnonymousEnum$1<{
|
|
|
7324
7696
|
"TriggerEpoch": undefined;
|
|
7325
7697
|
"CollateralLockShare": undefined;
|
|
7326
7698
|
"CollateralDrainRatio": undefined;
|
|
7699
|
+
"LiquidAlphaConsensusMode": undefined;
|
|
7327
7700
|
}>];
|
|
7328
7701
|
"NetworkLastRegistered": undefined;
|
|
7329
7702
|
"LastTxBlock": SS58String;
|
|
@@ -7335,7 +7708,7 @@ type Ib9tptuv3cggfs = AnonymousEnum$1<{
|
|
|
7335
7708
|
"Burn": undefined;
|
|
7336
7709
|
"Recycle": undefined;
|
|
7337
7710
|
}>;
|
|
7338
|
-
type
|
|
7711
|
+
type I4iv0rnqs8i6fm = {
|
|
7339
7712
|
"netuid": number;
|
|
7340
7713
|
"phase": Enum$1<{
|
|
7341
7714
|
"SubnetRootDividendsRootClaimable": undefined;
|
|
@@ -7363,6 +7736,7 @@ type Ibpirkcgeit2cg = {
|
|
|
7363
7736
|
"NetworkDecayingLock": undefined;
|
|
7364
7737
|
"SubnetBasketHoldingsToRoot": undefined;
|
|
7365
7738
|
"NetworkPendingBasketDeposits": undefined;
|
|
7739
|
+
"NetworkAlphaAssetCounters": undefined;
|
|
7366
7740
|
}>;
|
|
7367
7741
|
"last_key"?: Anonymize$1<Iabpgqcjikia83>;
|
|
7368
7742
|
"subnet_total_alpha_value"?: Anonymize$1<I35p85j063s0il>;
|
|
@@ -7412,6 +7786,28 @@ type Ifjlj958aeheic = {
|
|
|
7412
7786
|
type Icrrf4uohj5gb0 = Array<[SizedHex<32>, bigint, bigint, bigint]>;
|
|
7413
7787
|
type I76jd8kl1mtn5g = Array<[SS58String, bigint, Uint8Array, bigint]>;
|
|
7414
7788
|
type I4jqk5si14p5oi = Array<[SS58String, Uint8Array, bigint]>;
|
|
7789
|
+
type Ialhk5ui1mhg1h = {
|
|
7790
|
+
"price_divisor": bigint;
|
|
7791
|
+
"rate0": bigint;
|
|
7792
|
+
"tr_splice": bigint;
|
|
7793
|
+
"first_block": bigint;
|
|
7794
|
+
};
|
|
7795
|
+
type I57r7jpv7r3s9m = {
|
|
7796
|
+
"bag_level": bigint;
|
|
7797
|
+
"stake_level": bigint;
|
|
7798
|
+
"block": bigint;
|
|
7799
|
+
};
|
|
7800
|
+
type Ie5p7gv9nptpoc = {
|
|
7801
|
+
"cursor": Uint8Array;
|
|
7802
|
+
"weight_sum": bigint;
|
|
7803
|
+
"rel_bag_sum": bigint;
|
|
7804
|
+
"rel_stake_sum": bigint;
|
|
7805
|
+
};
|
|
7806
|
+
type I7r96a602oaap8 = {
|
|
7807
|
+
"nav": bigint;
|
|
7808
|
+
"display": bigint;
|
|
7809
|
+
"stake": bigint;
|
|
7810
|
+
};
|
|
7415
7811
|
type I7tof95tckt2r = [SizedHex<20>, bigint];
|
|
7416
7812
|
type Ia46odf30322a1 = [number, SizedHex<20>];
|
|
7417
7813
|
type Ieruonr5pk2d7h = {
|
|
@@ -7440,18 +7836,18 @@ type I32es0rp64745v = AnonymousEnum$1<{
|
|
|
7440
7836
|
"system": Anonymize$1<I9gqitj4t615g3>;
|
|
7441
7837
|
"Ethereum": Anonymize$1<I9hp9au9bfqil7>;
|
|
7442
7838
|
}>;
|
|
7443
|
-
type
|
|
7839
|
+
type Ibbe63mdl8niqr = [Array<{
|
|
7444
7840
|
"delegate": SS58String;
|
|
7445
|
-
"proxy_type": Anonymize$1<
|
|
7841
|
+
"proxy_type": Anonymize$1<I4855cvrampgh6>;
|
|
7446
7842
|
"delay": number;
|
|
7447
7843
|
}>, bigint];
|
|
7448
7844
|
type I7nkl7ntqohel8 = Array<Anonymize$1<I7svnfko10tq2e>>;
|
|
7449
|
-
type
|
|
7845
|
+
type Ifjbhmqlrm96rb = {
|
|
7450
7846
|
"deposit": bigint;
|
|
7451
7847
|
"block": number;
|
|
7452
|
-
"info": Anonymize$1<
|
|
7848
|
+
"info": Anonymize$1<Ie5icb4csjej6e>;
|
|
7453
7849
|
};
|
|
7454
|
-
type
|
|
7850
|
+
type Ie5icb4csjej6e = Array<Enum$1<{
|
|
7455
7851
|
"None": undefined;
|
|
7456
7852
|
"Raw0": undefined;
|
|
7457
7853
|
"Raw1": number;
|
|
@@ -7592,6 +7988,10 @@ type I4122t6tpcniur = Array<Enum$1<{
|
|
|
7592
7988
|
};
|
|
7593
7989
|
"ResetBondsFlag": undefined;
|
|
7594
7990
|
"BigRaw": Uint8Array;
|
|
7991
|
+
"TimelockRevealFailed": {
|
|
7992
|
+
"encrypted": Uint8Array;
|
|
7993
|
+
"reveal_round": bigint;
|
|
7994
|
+
};
|
|
7595
7995
|
}>>;
|
|
7596
7996
|
type Ib9pv5dg6upo6t = Array<Anonymize$1<Ie2iqtdb0stqo1>>;
|
|
7597
7997
|
type I27ub49plcvb4c = {
|
|
@@ -7656,6 +8056,12 @@ type I1i3fp62frtrdk = AnonymousEnum$1<{
|
|
|
7656
8056
|
"PartiallyFilled": bigint;
|
|
7657
8057
|
"Cancelled": undefined;
|
|
7658
8058
|
}>;
|
|
8059
|
+
type I7b1atpv3fba3o = {
|
|
8060
|
+
"signer": SS58String;
|
|
8061
|
+
"asset": Anonymize$1<I6mv9ds2k3b74j>;
|
|
8062
|
+
"total": bigint;
|
|
8063
|
+
"expires_at": bigint;
|
|
8064
|
+
};
|
|
7659
8065
|
type Ijc5n210o8bbf = {
|
|
7660
8066
|
"limits": {
|
|
7661
8067
|
"event_topics": number;
|
|
@@ -7707,7 +8113,7 @@ type Ibck9ekr2i96uj = AnonymousEnum$1<{
|
|
|
7707
8113
|
type I3a5kuu5t5jj3g = {
|
|
7708
8114
|
"equivocation_proof": Anonymize$1<I9puqgoda8ofk4>;
|
|
7709
8115
|
};
|
|
7710
|
-
type
|
|
8116
|
+
type I1c2l6pbupt5je = AnonymousEnum$1<{
|
|
7711
8117
|
/**
|
|
7712
8118
|
* Sets the caller weights for the incentive mechanism. The call can be
|
|
7713
8119
|
* made from the hotkey account so is potentially insecure, however, the damage
|
|
@@ -7753,19 +8159,6 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
7753
8159
|
* * `MaxWeightExceeded`: Attempting to set weights with max value exceeding limit.
|
|
7754
8160
|
*/
|
|
7755
8161
|
"set_weights": Anonymize$1<Icv6ofu4lqekr4>;
|
|
7756
|
-
/**
|
|
7757
|
-
* --- Sets a root validator's basket distribution vector `w` on the root subnet
|
|
7758
|
-
* (netuid 0). `dests` are subnet netuids and `weights` are the proportions of the
|
|
7759
|
-
* validator's root dividends to deploy into each subnet's alpha basket.
|
|
7760
|
-
* Requires at least [`crate::MIN_ROOT_BASKET_WEIGHTS`] positive destinations
|
|
7761
|
-
* (softened when fewer networks exist).
|
|
7762
|
-
*
|
|
7763
|
-
* # Args:
|
|
7764
|
-
* * `origin`: the root validator hotkey.
|
|
7765
|
-
* * `dests` (Vec<u16>): destination subnet netuids.
|
|
7766
|
-
* * `weights` (Vec<u16>): per-subnet weights (normalized on use).
|
|
7767
|
-
*/
|
|
7768
|
-
"set_root_weights": Anonymize$1<I9lpud8mopek2c>;
|
|
7769
8162
|
/**
|
|
7770
8163
|
* Sets the caller weights for the incentive mechanism for mechanisms. The call
|
|
7771
8164
|
* can be made from the hotkey account so is potentially insecure, however, the damage
|
|
@@ -8254,7 +8647,17 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
8254
8647
|
* Admission is burn-based: the coldkey pays the root burn price
|
|
8255
8648
|
* (demand-priced like subnet registration), recycled out of issuance.
|
|
8256
8649
|
* No prior stake is required. When the network is full, the
|
|
8257
|
-
* lowest-staked member is pruned to make room.
|
|
8650
|
+
* lowest-staked non-immune member is pruned to make room.
|
|
8651
|
+
*
|
|
8652
|
+
* After a successful registration, the hotkey is auto-childkeyed
|
|
8653
|
+
* to every existing subnet owner unless the validator opted out
|
|
8654
|
+
* of auto parent delegation. Pruning a seat clears that
|
|
8655
|
+
* validator's protocol auto-parent edges.
|
|
8656
|
+
*
|
|
8657
|
+
* Declared weight is `WeightInfo::root_register` plus a
|
|
8658
|
+
* `TotalNetworks`-scaled `DbWeight` term for the per-subnet
|
|
8659
|
+
* persist (and prune cleanup). Re-benchmark on reference
|
|
8660
|
+
* hardware so the base measurement includes that work.
|
|
8258
8661
|
*/
|
|
8259
8662
|
"root_register": Anonymize$1<Ie7hipi75c7vn0>;
|
|
8260
8663
|
/**
|
|
@@ -8466,6 +8869,11 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
8466
8869
|
* * `NotEnoughStakeToWithdraw`: Thrown if there is not enough stake on the hotkey to withdraw this amount.
|
|
8467
8870
|
*
|
|
8468
8871
|
* * `TxRateLimitExceeded`: Thrown if key has hit transaction rate limit.
|
|
8872
|
+
*
|
|
8873
|
+
* The declared weight covers up to [`crate::MAX_UNSTAKE_ALL_LEGS`] positions
|
|
8874
|
+
* (one `remove_stake` plus a `StakingHotkeys` walk each) and is refunded to
|
|
8875
|
+
* the subnets actually visited and unstaked. Remaining positions stay for a
|
|
8876
|
+
* later call so the envelope fits the normal-class block.
|
|
8469
8877
|
*/
|
|
8470
8878
|
"unstake_all": Anonymize$1<Ie7hipi75c7vn0>;
|
|
8471
8879
|
/**
|
|
@@ -8487,6 +8895,11 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
8487
8895
|
* * `NotEnoughStakeToWithdraw`: Thrown if there is not enough stake on the hotkey to withdraw this amount.
|
|
8488
8896
|
*
|
|
8489
8897
|
* * `TxRateLimitExceeded`: Thrown if key has hit transaction rate limit.
|
|
8898
|
+
*
|
|
8899
|
+
* The declared weight covers up to [`crate::MAX_UNSTAKE_ALL_LEGS`] positions
|
|
8900
|
+
* (one `remove_stake` plus a `StakingHotkeys` walk each) and is refunded to
|
|
8901
|
+
* the subnets actually visited and unstaked. Remaining positions stay for a
|
|
8902
|
+
* later call so the envelope fits the normal-class block.
|
|
8490
8903
|
*/
|
|
8491
8904
|
"unstake_all_alpha": Anonymize$1<Ie7hipi75c7vn0>;
|
|
8492
8905
|
/**
|
|
@@ -8503,7 +8916,9 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
8503
8916
|
*
|
|
8504
8917
|
* * `destination_netuid`: The subnet ID to move stake to.
|
|
8505
8918
|
*
|
|
8506
|
-
* * `alpha_amount`: The alpha stake amount to move.
|
|
8919
|
+
* * `alpha_amount`: The alpha stake amount to move. `AlphaBalance::MAX`
|
|
8920
|
+
* means the live origin position at execution (so a preceding
|
|
8921
|
+
* `claim_root_with_hotkey` in the same batch is included).
|
|
8507
8922
|
*
|
|
8508
8923
|
*/
|
|
8509
8924
|
"move_stake": Anonymize$1<I9d117ni3tprb>;
|
|
@@ -8529,6 +8944,7 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
8529
8944
|
* * `AmountTooLow`: The TAO-equivalent of the transfer is below the minimum stake requirement.
|
|
8530
8945
|
* * `TransferDisallowed`: Transfers are disabled on the origin or destination subnet.
|
|
8531
8946
|
* * `StakeUnavailable`: The remaining stake would not cover the locked amount on the origin subnet.
|
|
8947
|
+
* * `CannotUseSystemAccount`: The destination coldkey is the protocol-owned basket escrow.
|
|
8532
8948
|
*
|
|
8533
8949
|
* # Events
|
|
8534
8950
|
* May emit a `StakeTransferred` event on success.
|
|
@@ -8657,6 +9073,17 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
8657
9073
|
* May emit a `StakeSwapped` event on success.
|
|
8658
9074
|
*/
|
|
8659
9075
|
"swap_stake_limit": Anonymize$1<I6r22p9usi2mkl>;
|
|
9076
|
+
/**
|
|
9077
|
+
* Moves stake from one hotkey to another and, when the subnets differ,
|
|
9078
|
+
* protects the swap with a relative price limit.
|
|
9079
|
+
*
|
|
9080
|
+
* `limit_price` is the minimum acceptable destination-alpha per
|
|
9081
|
+
* origin-alpha ratio, scaled by 1e9. When `allow_partial` is false the
|
|
9082
|
+
* call is fill-or-kill; otherwise it moves only the amount executable
|
|
9083
|
+
* before the limit is crossed. `alpha_amount` of `AlphaBalance::MAX`
|
|
9084
|
+
* means the live origin position at execution.
|
|
9085
|
+
*/
|
|
9086
|
+
"move_stake_limit": Anonymize$1<Iflid9fim112b6>;
|
|
8660
9087
|
/**
|
|
8661
9088
|
* Attempts to associate a hotkey with a coldkey.
|
|
8662
9089
|
*
|
|
@@ -8866,26 +9293,50 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
8866
9293
|
* Claims the root emissions for a coldkey across every validator it root-stakes to.
|
|
8867
9294
|
*
|
|
8868
9295
|
* Redemption is fund-level: for each validator, the staker's accrued entitlement is
|
|
8869
|
-
*
|
|
8870
|
-
* The
|
|
8871
|
-
*
|
|
9296
|
+
* paid as their pro-rata fraction of the basket's full-liquidation NAV and staked on
|
|
9297
|
+
* root. The corresponding alpha fraction is sold; any concavity surplus over the
|
|
9298
|
+
* NAV-priced entitlement remains in the basket as root TAO for the other holders. The
|
|
9299
|
+
* `subnets` argument is retained for call-data compatibility with pre-basket clients;
|
|
9300
|
+
* it is ignored — baskets have no per-subnet claim selection.
|
|
8872
9301
|
*
|
|
8873
9302
|
* Prefer [`Pallet::claim_root_with_hotkey`] to claim a single validator.
|
|
8874
9303
|
*
|
|
9304
|
+
* Dust rows are not sold (see [`Pallet::claim_root_with_hotkey`]); the claimant's
|
|
9305
|
+
* slice of them stays in the fund. A claim that is admitted and then fails is
|
|
9306
|
+
* charged the work it did, not the declared envelope; a claim refused at admission
|
|
9307
|
+
* keeps the envelope.
|
|
9308
|
+
*
|
|
8875
9309
|
* # Arguments
|
|
8876
9310
|
* * `origin`: The signature of the caller's coldkey.
|
|
8877
9311
|
* * `subnets`: Ignored. Kept so old clients' encoded call data still decodes.
|
|
8878
9312
|
*
|
|
8879
9313
|
* # Events
|
|
8880
9314
|
* * `RootClaimed`: On successfully claiming the root emissions for a coldkey.
|
|
9315
|
+
* * `BasketClaimDustSkipped`: Per fund whose dust rows were left unsold.
|
|
9316
|
+
*
|
|
9317
|
+
* # Errors
|
|
9318
|
+
* * `RootClaimTooHeavy`: More hotkeys or fund rows than one claim may walk.
|
|
8881
9319
|
*/
|
|
8882
9320
|
"claim_root": Anonymize$1<I2t4b7068rtebl>;
|
|
8883
9321
|
/**
|
|
8884
9322
|
* Claims the root emissions for a coldkey on one validator hotkey.
|
|
8885
9323
|
*
|
|
8886
9324
|
* Redemption is fund-level for that validator: the staker's accrued entitlement is
|
|
8887
|
-
*
|
|
8888
|
-
*
|
|
9325
|
+
* paid as their pro-rata fraction of the basket's full-liquidation NAV and staked on
|
|
9326
|
+
* root. The corresponding alpha fraction is sold; any concavity surplus over the
|
|
9327
|
+
* NAV-priced entitlement remains in the basket as root TAO for the other holders.
|
|
9328
|
+
* Other validators' accrued yield is left untouched.
|
|
9329
|
+
*
|
|
9330
|
+
* Dust rows are not sold: a fund row worth less than
|
|
9331
|
+
* `min(BasketClaimRowDustCapTao, BasketClaimRowDustBps × anchored NAV)`, or one
|
|
9332
|
+
* whose slice for this claimant is worth less than `BasketClaimSliceDustTao`, is
|
|
9333
|
+
* skipped when that slice is also worth at most `BasketClaimForfeitCapTao` (all at
|
|
9334
|
+
* the anchored mark, which decides dust only). The claim burns the full
|
|
9335
|
+
* entitlement, so the claimant's slice of a skipped row — never more than the cap
|
|
9336
|
+
* at the anchored mark — is left to the remaining holders (`BasketClaimDustSkipped`
|
|
9337
|
+
* reports it). A claim
|
|
9338
|
+
* that is admitted and then fails is charged the work it did, not the declared
|
|
9339
|
+
* envelope; a claim refused at admission keeps the envelope.
|
|
8889
9340
|
*
|
|
8890
9341
|
* # Arguments
|
|
8891
9342
|
* * `origin`: The signature of the caller's coldkey.
|
|
@@ -8893,27 +9344,33 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
8893
9344
|
*
|
|
8894
9345
|
* # Events
|
|
8895
9346
|
* * `RootClaimed`: On successfully claiming the root emissions for this coldkey+hotkey.
|
|
9347
|
+
* * `BasketClaimDustSkipped`: When the claim left dust rows unsold.
|
|
9348
|
+
*
|
|
9349
|
+
* # Errors
|
|
9350
|
+
* * `RootClaimTooHeavy`: The fund has more rows (or queued credits) than one claim
|
|
9351
|
+
* may walk.
|
|
8896
9352
|
*/
|
|
8897
9353
|
"claim_root_with_hotkey": Anonymize$1<Ie7hipi75c7vn0>;
|
|
8898
9354
|
/**
|
|
8899
9355
|
* Stakes TAO from the caller's balance directly into a validator's basket.
|
|
8900
9356
|
*
|
|
8901
|
-
* The TAO
|
|
8902
|
-
*
|
|
8903
|
-
*
|
|
8904
|
-
*
|
|
8905
|
-
*
|
|
8906
|
-
*
|
|
8907
|
-
*
|
|
8908
|
-
*
|
|
8909
|
-
*
|
|
8910
|
-
*
|
|
8911
|
-
* [`Pallet::
|
|
8912
|
-
* does not
|
|
9357
|
+
* The TAO enters by the fund's current holdings: it is split pro-rata across
|
|
9358
|
+
* every holding by realizable value and buys each one, so the deposit acquires
|
|
9359
|
+
* the exposure the fund already has and stays symmetric with claims (which
|
|
9360
|
+
* redeem pro-rata of every holding). A deposit into a fund with no holdings is
|
|
9361
|
+
* held as the fund's root (TAO cash) slot. Inflows never change a fund's
|
|
9362
|
+
* composition; only the validator's [`Pallet::swap_basket`] trades do. The
|
|
9363
|
+
* caller is credited a fund entitlement at the fund's pre-buy realizable NAV,
|
|
9364
|
+
* priced against the realizable value the deposit added — the depositor bears
|
|
9365
|
+
* their own entry slippage and swap fees.
|
|
9366
|
+
* The credited entitlement is redeemable through
|
|
9367
|
+
* [`Pallet::claim_root_with_hotkey`] (or coldkey-wide [`Pallet::claim_root`]);
|
|
9368
|
+
* it does not require or affect root stake, and it does not change any
|
|
9369
|
+
* staker's dividend accrual.
|
|
8913
9370
|
*
|
|
8914
9371
|
* # Arguments
|
|
8915
9372
|
* * `origin`: The signature of the caller's coldkey.
|
|
8916
|
-
* * `hotkey`: The validator whose basket to deposit into.
|
|
9373
|
+
* * `hotkey`: The root-registered validator whose basket to deposit into.
|
|
8917
9374
|
* * `amount_staked`: TAO to take from the caller's balance and deploy.
|
|
8918
9375
|
*
|
|
8919
9376
|
* # Events
|
|
@@ -8922,11 +9379,53 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
8922
9379
|
*
|
|
8923
9380
|
* # Errors
|
|
8924
9381
|
* * `HotKeyAccountNotExists`: The hotkey is not a registered account.
|
|
8925
|
-
* * `
|
|
8926
|
-
*
|
|
9382
|
+
* * `HotKeyNotRegisteredInSubNet`: The hotkey is not registered on root.
|
|
9383
|
+
* * `AmountTooLow`: Below the minimum stake, the deposit's realizable value
|
|
9384
|
+
* rounds to zero entitlement, or a holding cannot be priced (or would receive
|
|
9385
|
+
* a zero-TAO slice) so the deposit cannot buy every position its shares claim.
|
|
8927
9386
|
* * `NotEnoughBalanceToStake`: The caller cannot cover `amount_staked`.
|
|
8928
9387
|
*/
|
|
8929
9388
|
"stake_into_basket": Anonymize$1<I9946op5slcfjf>;
|
|
9389
|
+
/**
|
|
9390
|
+
* --- Rebalances a root validator's beta basket: sells `amount` of the fund's
|
|
9391
|
+
* `origin_netuid` holding for TAO and buys `destination_netuid` with it. Either
|
|
9392
|
+
* side may be root (netuid 0), the fund's TAO cash slot. Fund shares and staker
|
|
9393
|
+
* entitlements are unchanged; only the fund's composition moves.
|
|
9394
|
+
*
|
|
9395
|
+
* Guardrails: each AMM leg must fill fully within 2% of the subnet's moving price;
|
|
9396
|
+
* the TAO through the middle is taken from the fund's turnover bucket
|
|
9397
|
+
* (`BasketDailyTurnoverCap` of NAV, refilling over 7200 blocks); the destination holding may not
|
|
9398
|
+
* end above `BasketLiquidityCap` of the destination pool's alpha reserve, nor above
|
|
9399
|
+
* `BasketConcentrationCap` of NAV. Trading must be enabled network-wide and not frozen for
|
|
9400
|
+
* the hotkey by governance. On top of the protocol band the caller may set its own
|
|
9401
|
+
* floor: the buy leg must credit at least `min_amount_out` or the trade rolls back.
|
|
9402
|
+
*
|
|
9403
|
+
* # Arguments
|
|
9404
|
+
* * `origin`: Signed by the coldkey that owns `hotkey` (or its `BasketTrading` proxy).
|
|
9405
|
+
* * `hotkey`: The root-registered validator whose basket to rebalance.
|
|
9406
|
+
* * `origin_netuid`: Subnet to sell out of (root = the TAO slot).
|
|
9407
|
+
* * `destination_netuid`: Subnet to buy into (root = the TAO slot).
|
|
9408
|
+
* * `amount`: Alpha of `origin_netuid` to sell (TAO at 1:1 when origin is root).
|
|
9409
|
+
* * `min_amount_out`: Least amount the buy leg must credit to the destination
|
|
9410
|
+
* holding, in `destination_netuid` alpha (rao of TAO when the destination is
|
|
9411
|
+
* root), after fees. `0` sets no floor; the 2% protocol band still applies.
|
|
9412
|
+
*
|
|
9413
|
+
* # Events
|
|
9414
|
+
* * `BasketSwapped`: On success, with the amounts on both legs.
|
|
9415
|
+
*
|
|
9416
|
+
* # Errors
|
|
9417
|
+
* * `BasketTradingDisabled`, `BasketTradingFrozen`: Gated off.
|
|
9418
|
+
* * `BasketSameSubnet`: Origin equals destination.
|
|
9419
|
+
* * `NonAssociatedColdKey`: Caller does not own `hotkey`.
|
|
9420
|
+
* * `HotKeyNotRegisteredInSubNet`: `hotkey` is not on root.
|
|
9421
|
+
* * `NotEnoughStakeToWithdraw`: The fund holds less than `amount` on origin.
|
|
9422
|
+
* * `SlippageTooHigh`: A leg could not fill within 2% of the moving price.
|
|
9423
|
+
* * `BasketMinOutNotMet`: The buy leg credited less than `min_amount_out`.
|
|
9424
|
+
* * `BasketTurnoverBudgetExceeded`: The trade exceeds what the fund's turnover bucket holds.
|
|
9425
|
+
* * `BasketLiquidityCapExceeded`: The destination holding would exceed the liquidity cap.
|
|
9426
|
+
* * `BasketConcentrationCapExceeded`: The destination would exceed the concentration cap.
|
|
9427
|
+
*/
|
|
9428
|
+
"swap_basket": Anonymize$1<Ia8qodr4vtdlkh>;
|
|
8930
9429
|
/**
|
|
8931
9430
|
* --- Sets the root claim dust threshold (sudo). Basket redemption is fund-level, so
|
|
8932
9431
|
* only the `NetUid::ROOT` entry is meaningful; other netuids are rejected.
|
|
@@ -9050,8 +9549,10 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
9050
9549
|
*/
|
|
9051
9550
|
"register_limit": Anonymize$1<I96vnf03ahk1m9>;
|
|
9052
9551
|
/**
|
|
9053
|
-
* Allows a root validator to toggle auto parent delegation
|
|
9054
|
-
*
|
|
9552
|
+
* Allows a root validator to toggle auto parent delegation.
|
|
9553
|
+
* When enabled (the default), the validator is childkeyed to
|
|
9554
|
+
* subnet owners on new subnet registration and on this
|
|
9555
|
+
* validator's own root registration.
|
|
9055
9556
|
*/
|
|
9056
9557
|
"set_auto_parent_delegation_enabled": Anonymize$1<Iavmlc8d5lfdju>;
|
|
9057
9558
|
/**
|
|
@@ -9144,6 +9645,7 @@ type I4m0jq797pckog = AnonymousEnum$1<{
|
|
|
9144
9645
|
* * `AmountTooLow`: The TAO-equivalent of the transfer is below the minimum stake requirement.
|
|
9145
9646
|
* * `TransferDisallowed`: Transfers are disabled on the origin or destination subnet.
|
|
9146
9647
|
* * `StakeUnavailable`: The remaining stake would not cover the locked amount on the origin subnet.
|
|
9648
|
+
* * `CannotUseSystemAccount`: The destination coldkey is the protocol-owned basket escrow.
|
|
9147
9649
|
*
|
|
9148
9650
|
* # Events
|
|
9149
9651
|
* May emit a `StakeAndHotkeyTransferred` event on success.
|
|
@@ -9221,10 +9723,6 @@ type Icv6ofu4lqekr4 = {
|
|
|
9221
9723
|
"weights": Anonymize$1<Icgljjb6j82uhn>;
|
|
9222
9724
|
"version_key": bigint;
|
|
9223
9725
|
};
|
|
9224
|
-
type I9lpud8mopek2c = {
|
|
9225
|
-
"dests": Anonymize$1<Icgljjb6j82uhn>;
|
|
9226
|
-
"weights": Anonymize$1<Icgljjb6j82uhn>;
|
|
9227
|
-
};
|
|
9228
9726
|
type I48embv0n659kj = {
|
|
9229
9727
|
"netuid": number;
|
|
9230
9728
|
"mecid": number;
|
|
@@ -9328,13 +9826,6 @@ type I27gr0ss2ikvqh = {
|
|
|
9328
9826
|
"hotkey": SS58String;
|
|
9329
9827
|
"coldkey": SS58String;
|
|
9330
9828
|
};
|
|
9331
|
-
type Ie7hipi75c7vn0 = {
|
|
9332
|
-
"hotkey": SS58String;
|
|
9333
|
-
};
|
|
9334
|
-
type I7f38r2vt6r9k1 = {
|
|
9335
|
-
"netuid": number;
|
|
9336
|
-
"hotkey": SS58String;
|
|
9337
|
-
};
|
|
9338
9829
|
type I6b53cjq4m9nsr = {
|
|
9339
9830
|
"hotkey": SS58String;
|
|
9340
9831
|
"new_hotkey": SS58String;
|
|
@@ -9431,6 +9922,15 @@ type I6r22p9usi2mkl = {
|
|
|
9431
9922
|
"limit_price": bigint;
|
|
9432
9923
|
"allow_partial": boolean;
|
|
9433
9924
|
};
|
|
9925
|
+
type Iflid9fim112b6 = {
|
|
9926
|
+
"origin_hotkey": SS58String;
|
|
9927
|
+
"destination_hotkey": SS58String;
|
|
9928
|
+
"origin_netuid": number;
|
|
9929
|
+
"destination_netuid": number;
|
|
9930
|
+
"alpha_amount": bigint;
|
|
9931
|
+
"limit_price": bigint;
|
|
9932
|
+
"allow_partial": boolean;
|
|
9933
|
+
};
|
|
9434
9934
|
type I96k3nrdjfd63k = {
|
|
9435
9935
|
"netuid": number;
|
|
9436
9936
|
"evm_key": SizedHex<20>;
|
|
@@ -9478,6 +9978,13 @@ type I9946op5slcfjf = {
|
|
|
9478
9978
|
"hotkey": SS58String;
|
|
9479
9979
|
"amount_staked": bigint;
|
|
9480
9980
|
};
|
|
9981
|
+
type Ia8qodr4vtdlkh = {
|
|
9982
|
+
"hotkey": SS58String;
|
|
9983
|
+
"origin_netuid": number;
|
|
9984
|
+
"destination_netuid": number;
|
|
9985
|
+
"amount": bigint;
|
|
9986
|
+
"min_amount_out": bigint;
|
|
9987
|
+
};
|
|
9481
9988
|
type Ifcj247vgfdg56 = {
|
|
9482
9989
|
"netuid": number;
|
|
9483
9990
|
"new_value": bigint;
|
|
@@ -9518,7 +10025,7 @@ type I8lgenv7jnai9a = {
|
|
|
9518
10025
|
"alpha": bigint;
|
|
9519
10026
|
"limit_price": bigint;
|
|
9520
10027
|
};
|
|
9521
|
-
type
|
|
10028
|
+
type Ibqb0covkkaile = AnonymousEnum$1<{
|
|
9522
10029
|
/**
|
|
9523
10030
|
* Send a batch of dispatch calls.
|
|
9524
10031
|
*
|
|
@@ -9539,7 +10046,7 @@ type I7nah218deu5vm = AnonymousEnum$1<{
|
|
|
9539
10046
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
9540
10047
|
* event is deposited.
|
|
9541
10048
|
*/
|
|
9542
|
-
"batch": Anonymize$1<
|
|
10049
|
+
"batch": Anonymize$1<I6krirhcafusbj>;
|
|
9543
10050
|
/**
|
|
9544
10051
|
* Send a call through an indexed pseudonym of the sender.
|
|
9545
10052
|
*
|
|
@@ -9555,7 +10062,7 @@ type I7nah218deu5vm = AnonymousEnum$1<{
|
|
|
9555
10062
|
*
|
|
9556
10063
|
* The dispatch origin for this call must be _Signed_.
|
|
9557
10064
|
*/
|
|
9558
|
-
"as_derivative": Anonymize$1<
|
|
10065
|
+
"as_derivative": Anonymize$1<Ie5cqv9mpfc1m5>;
|
|
9559
10066
|
/**
|
|
9560
10067
|
* Send a batch of dispatch calls and atomically execute them.
|
|
9561
10068
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
@@ -9571,7 +10078,7 @@ type I7nah218deu5vm = AnonymousEnum$1<{
|
|
|
9571
10078
|
* ## Complexity
|
|
9572
10079
|
* - O(C) where C is the number of calls to be batched.
|
|
9573
10080
|
*/
|
|
9574
|
-
"batch_all": Anonymize$1<
|
|
10081
|
+
"batch_all": Anonymize$1<I6krirhcafusbj>;
|
|
9575
10082
|
/**
|
|
9576
10083
|
* Dispatches a function call with a provided origin.
|
|
9577
10084
|
*
|
|
@@ -9580,7 +10087,7 @@ type I7nah218deu5vm = AnonymousEnum$1<{
|
|
|
9580
10087
|
* ## Complexity
|
|
9581
10088
|
* - O(1).
|
|
9582
10089
|
*/
|
|
9583
|
-
"dispatch_as": Anonymize$1<
|
|
10090
|
+
"dispatch_as": Anonymize$1<I5nh7866g9ol18>;
|
|
9584
10091
|
/**
|
|
9585
10092
|
* Send a batch of dispatch calls.
|
|
9586
10093
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
@@ -9596,7 +10103,7 @@ type I7nah218deu5vm = AnonymousEnum$1<{
|
|
|
9596
10103
|
* ## Complexity
|
|
9597
10104
|
* - O(C) where C is the number of calls to be batched.
|
|
9598
10105
|
*/
|
|
9599
|
-
"force_batch": Anonymize$1<
|
|
10106
|
+
"force_batch": Anonymize$1<I6krirhcafusbj>;
|
|
9600
10107
|
/**
|
|
9601
10108
|
* Dispatch a function call with a specified weight.
|
|
9602
10109
|
*
|
|
@@ -9605,7 +10112,7 @@ type I7nah218deu5vm = AnonymousEnum$1<{
|
|
|
9605
10112
|
*
|
|
9606
10113
|
* The dispatch origin for this call must be _Root_.
|
|
9607
10114
|
*/
|
|
9608
|
-
"with_weight": Anonymize$1<
|
|
10115
|
+
"with_weight": Anonymize$1<I70imi2h82hc9j>;
|
|
9609
10116
|
/**
|
|
9610
10117
|
* Dispatch a fallback call in the event the main call fails to execute.
|
|
9611
10118
|
* May be called from any origin except `None`.
|
|
@@ -9631,7 +10138,7 @@ type I7nah218deu5vm = AnonymousEnum$1<{
|
|
|
9631
10138
|
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
9632
10139
|
* or both.
|
|
9633
10140
|
*/
|
|
9634
|
-
"if_else": Anonymize$1<
|
|
10141
|
+
"if_else": Anonymize$1<Iffcjm0pa10o6k>;
|
|
9635
10142
|
/**
|
|
9636
10143
|
* Dispatches a function call with a provided origin.
|
|
9637
10144
|
*
|
|
@@ -9639,32 +10146,32 @@ type I7nah218deu5vm = AnonymousEnum$1<{
|
|
|
9639
10146
|
*
|
|
9640
10147
|
* The dispatch origin for this call must be _Root_.
|
|
9641
10148
|
*/
|
|
9642
|
-
"dispatch_as_fallible": Anonymize$1<
|
|
10149
|
+
"dispatch_as_fallible": Anonymize$1<I5nh7866g9ol18>;
|
|
9643
10150
|
}>;
|
|
9644
|
-
type
|
|
10151
|
+
type I6krirhcafusbj = {
|
|
9645
10152
|
"calls": Array<TxCallData>;
|
|
9646
10153
|
};
|
|
9647
|
-
type
|
|
10154
|
+
type Ie5cqv9mpfc1m5 = {
|
|
9648
10155
|
"index": number;
|
|
9649
10156
|
"call": TxCallData;
|
|
9650
10157
|
};
|
|
9651
|
-
type
|
|
10158
|
+
type I5nh7866g9ol18 = {
|
|
9652
10159
|
"as_origin": Anonymize$1<I32es0rp64745v>;
|
|
9653
10160
|
"call": TxCallData;
|
|
9654
10161
|
};
|
|
9655
|
-
type
|
|
10162
|
+
type I70imi2h82hc9j = {
|
|
9656
10163
|
"call": TxCallData;
|
|
9657
10164
|
"weight": Anonymize$1<I4q39t5hn830vp>;
|
|
9658
10165
|
};
|
|
9659
|
-
type
|
|
10166
|
+
type Iffcjm0pa10o6k = {
|
|
9660
10167
|
"main": TxCallData;
|
|
9661
10168
|
"fallback": TxCallData;
|
|
9662
10169
|
};
|
|
9663
|
-
type
|
|
10170
|
+
type Ib7f6jmk9f26v8 = AnonymousEnum$1<{
|
|
9664
10171
|
/**
|
|
9665
10172
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
9666
10173
|
*/
|
|
9667
|
-
"sudo": Anonymize$1<
|
|
10174
|
+
"sudo": Anonymize$1<I75087q1gjkeq7>;
|
|
9668
10175
|
/**
|
|
9669
10176
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
9670
10177
|
* This function does not check the weight of the call, and instead allows the
|
|
@@ -9672,7 +10179,7 @@ type I7qaae52f173co = AnonymousEnum$1<{
|
|
|
9672
10179
|
*
|
|
9673
10180
|
* The dispatch origin for this call must be _Signed_.
|
|
9674
10181
|
*/
|
|
9675
|
-
"sudo_unchecked_weight": Anonymize$1<
|
|
10182
|
+
"sudo_unchecked_weight": Anonymize$1<I70imi2h82hc9j>;
|
|
9676
10183
|
/**
|
|
9677
10184
|
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
|
|
9678
10185
|
* key.
|
|
@@ -9684,7 +10191,7 @@ type I7qaae52f173co = AnonymousEnum$1<{
|
|
|
9684
10191
|
*
|
|
9685
10192
|
* The dispatch origin for this call must be _Signed_.
|
|
9686
10193
|
*/
|
|
9687
|
-
"sudo_as": Anonymize$1<
|
|
10194
|
+
"sudo_as": Anonymize$1<I1bgk7jqfhgcvh>;
|
|
9688
10195
|
/**
|
|
9689
10196
|
* Permanently removes the sudo key.
|
|
9690
10197
|
*
|
|
@@ -9692,17 +10199,17 @@ type I7qaae52f173co = AnonymousEnum$1<{
|
|
|
9692
10199
|
*/
|
|
9693
10200
|
"remove_key": undefined;
|
|
9694
10201
|
}>;
|
|
9695
|
-
type
|
|
10202
|
+
type I75087q1gjkeq7 = {
|
|
9696
10203
|
"call": TxCallData;
|
|
9697
10204
|
};
|
|
9698
10205
|
type I8k3rnvpeeh4hv = {
|
|
9699
10206
|
"new": MultiAddress;
|
|
9700
10207
|
};
|
|
9701
|
-
type
|
|
10208
|
+
type I1bgk7jqfhgcvh = {
|
|
9702
10209
|
"who": MultiAddress;
|
|
9703
10210
|
"call": TxCallData;
|
|
9704
10211
|
};
|
|
9705
|
-
type
|
|
10212
|
+
type I61d1bquq8rsur = AnonymousEnum$1<{
|
|
9706
10213
|
/**
|
|
9707
10214
|
* Immediately dispatch a multi-signature call using a single approval from the caller.
|
|
9708
10215
|
*
|
|
@@ -9717,7 +10224,7 @@ type Idfn594vl7q5k1 = AnonymousEnum$1<{
|
|
|
9717
10224
|
* ## Complexity
|
|
9718
10225
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
9719
10226
|
*/
|
|
9720
|
-
"as_multi_threshold_1": Anonymize$1<
|
|
10227
|
+
"as_multi_threshold_1": Anonymize$1<I9o9jjp62ka9ds>;
|
|
9721
10228
|
/**
|
|
9722
10229
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
9723
10230
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -9759,7 +10266,7 @@ type Idfn594vl7q5k1 = AnonymousEnum$1<{
|
|
|
9759
10266
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
9760
10267
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
9761
10268
|
*/
|
|
9762
|
-
"as_multi": Anonymize$1<
|
|
10269
|
+
"as_multi": Anonymize$1<I6i6a8rcv8627c>;
|
|
9763
10270
|
/**
|
|
9764
10271
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
9765
10272
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -9834,22 +10341,22 @@ type Idfn594vl7q5k1 = AnonymousEnum$1<{
|
|
|
9834
10341
|
*/
|
|
9835
10342
|
"poke_deposit": Anonymize$1<I6lqh1vgb4mcja>;
|
|
9836
10343
|
}>;
|
|
9837
|
-
type
|
|
10344
|
+
type I9o9jjp62ka9ds = {
|
|
9838
10345
|
"other_signatories": Anonymize$1<Ia2lhg7l2hilo3>;
|
|
9839
10346
|
"call": TxCallData;
|
|
9840
10347
|
};
|
|
9841
|
-
type
|
|
10348
|
+
type I6i6a8rcv8627c = {
|
|
9842
10349
|
"threshold": number;
|
|
9843
10350
|
"other_signatories": Anonymize$1<Ia2lhg7l2hilo3>;
|
|
9844
10351
|
"maybe_timepoint"?: Anonymize$1<I95jfd8j5cr5eh>;
|
|
9845
10352
|
"call": TxCallData;
|
|
9846
10353
|
"max_weight": Anonymize$1<I4q39t5hn830vp>;
|
|
9847
10354
|
};
|
|
9848
|
-
type
|
|
10355
|
+
type I4g1vftkvlff0u = AnonymousEnum$1<{
|
|
9849
10356
|
/**
|
|
9850
10357
|
* Anonymously schedule a task.
|
|
9851
10358
|
*/
|
|
9852
|
-
"schedule": Anonymize$1<
|
|
10359
|
+
"schedule": Anonymize$1<I9psfsdblsmrj7>;
|
|
9853
10360
|
/**
|
|
9854
10361
|
* Cancel an anonymously scheduled task.
|
|
9855
10362
|
*/
|
|
@@ -9857,7 +10364,7 @@ type I1nbfq9ghalfts = AnonymousEnum$1<{
|
|
|
9857
10364
|
/**
|
|
9858
10365
|
* Schedule a named task.
|
|
9859
10366
|
*/
|
|
9860
|
-
"schedule_named": Anonymize$1<
|
|
10367
|
+
"schedule_named": Anonymize$1<Ic7j1jdi3fd6bu>;
|
|
9861
10368
|
/**
|
|
9862
10369
|
* Cancel a named scheduled task.
|
|
9863
10370
|
*/
|
|
@@ -9865,11 +10372,11 @@ type I1nbfq9ghalfts = AnonymousEnum$1<{
|
|
|
9865
10372
|
/**
|
|
9866
10373
|
* Anonymously schedule a task after a delay.
|
|
9867
10374
|
*/
|
|
9868
|
-
"schedule_after": Anonymize$1<
|
|
10375
|
+
"schedule_after": Anonymize$1<I55hdif1gsjubs>;
|
|
9869
10376
|
/**
|
|
9870
10377
|
* Schedule a named task after a delay.
|
|
9871
10378
|
*/
|
|
9872
|
-
"schedule_named_after": Anonymize$1<
|
|
10379
|
+
"schedule_named_after": Anonymize$1<I9ard2ctaov151>;
|
|
9873
10380
|
/**
|
|
9874
10381
|
* Set a retry configuration for a task so that, in case its scheduled run fails, it will
|
|
9875
10382
|
* be retried after `period` blocks, for a total amount of `retries` retries or until it
|
|
@@ -9909,33 +10416,33 @@ type I1nbfq9ghalfts = AnonymousEnum$1<{
|
|
|
9909
10416
|
*/
|
|
9910
10417
|
"cancel_retry_named": Anonymize$1<Ifs1i5fk9cqvr6>;
|
|
9911
10418
|
}>;
|
|
9912
|
-
type
|
|
10419
|
+
type I9psfsdblsmrj7 = {
|
|
9913
10420
|
"when": number;
|
|
9914
10421
|
"maybe_periodic"?: Anonymize$1<Iep7au1720bm0e>;
|
|
9915
10422
|
"priority": number;
|
|
9916
10423
|
"call": TxCallData;
|
|
9917
10424
|
};
|
|
9918
|
-
type
|
|
10425
|
+
type Ic7j1jdi3fd6bu = {
|
|
9919
10426
|
"id": SizedHex<32>;
|
|
9920
10427
|
"when": number;
|
|
9921
10428
|
"maybe_periodic"?: Anonymize$1<Iep7au1720bm0e>;
|
|
9922
10429
|
"priority": number;
|
|
9923
10430
|
"call": TxCallData;
|
|
9924
10431
|
};
|
|
9925
|
-
type
|
|
10432
|
+
type I55hdif1gsjubs = {
|
|
9926
10433
|
"after": number;
|
|
9927
10434
|
"maybe_periodic"?: Anonymize$1<Iep7au1720bm0e>;
|
|
9928
10435
|
"priority": number;
|
|
9929
10436
|
"call": TxCallData;
|
|
9930
10437
|
};
|
|
9931
|
-
type
|
|
10438
|
+
type I9ard2ctaov151 = {
|
|
9932
10439
|
"id": SizedHex<32>;
|
|
9933
10440
|
"after": number;
|
|
9934
10441
|
"maybe_periodic"?: Anonymize$1<Iep7au1720bm0e>;
|
|
9935
10442
|
"priority": number;
|
|
9936
10443
|
"call": TxCallData;
|
|
9937
10444
|
};
|
|
9938
|
-
type
|
|
10445
|
+
type I92qmeppin02un = AnonymousEnum$1<{
|
|
9939
10446
|
/**
|
|
9940
10447
|
* Dispatch the given `call` from an account that the sender is authorised for through
|
|
9941
10448
|
* `add_proxy`.
|
|
@@ -9947,7 +10454,7 @@ type Iauejd04ricr9d = AnonymousEnum$1<{
|
|
|
9947
10454
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
9948
10455
|
* - `call`: The call to be made by the `real` account.
|
|
9949
10456
|
*/
|
|
9950
|
-
"proxy": Anonymize$1<
|
|
10457
|
+
"proxy": Anonymize$1<I8eecp5lj213g5>;
|
|
9951
10458
|
/**
|
|
9952
10459
|
* Register a proxy account for the sender that is able to make calls on its behalf.
|
|
9953
10460
|
*
|
|
@@ -9959,7 +10466,7 @@ type Iauejd04ricr9d = AnonymousEnum$1<{
|
|
|
9959
10466
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
9960
10467
|
* zero.
|
|
9961
10468
|
*/
|
|
9962
|
-
"add_proxy": Anonymize$1<
|
|
10469
|
+
"add_proxy": Anonymize$1<I3ounjkfdo4m6u>;
|
|
9963
10470
|
/**
|
|
9964
10471
|
* Unregister a proxy account for the sender.
|
|
9965
10472
|
*
|
|
@@ -9969,7 +10476,7 @@ type Iauejd04ricr9d = AnonymousEnum$1<{
|
|
|
9969
10476
|
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
|
9970
10477
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
9971
10478
|
*/
|
|
9972
|
-
"remove_proxy": Anonymize$1<
|
|
10479
|
+
"remove_proxy": Anonymize$1<I3ounjkfdo4m6u>;
|
|
9973
10480
|
/**
|
|
9974
10481
|
* Unregister all proxy accounts for the sender.
|
|
9975
10482
|
*
|
|
@@ -9999,7 +10506,7 @@ type Iauejd04ricr9d = AnonymousEnum$1<{
|
|
|
9999
10506
|
*
|
|
10000
10507
|
* Fails if there are insufficient funds to pay for deposit.
|
|
10001
10508
|
*/
|
|
10002
|
-
"create_pure": Anonymize$1<
|
|
10509
|
+
"create_pure": Anonymize$1<I8i9ii5oob5jeb>;
|
|
10003
10510
|
/**
|
|
10004
10511
|
* Removes a previously spawned pure proxy.
|
|
10005
10512
|
*
|
|
@@ -10018,7 +10525,7 @@ type Iauejd04ricr9d = AnonymousEnum$1<{
|
|
|
10018
10525
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
10019
10526
|
* account whose `create_pure` call has corresponding parameters.
|
|
10020
10527
|
*/
|
|
10021
|
-
"kill_pure": Anonymize$1<
|
|
10528
|
+
"kill_pure": Anonymize$1<Ic5eup222limvr>;
|
|
10022
10529
|
/**
|
|
10023
10530
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
10024
10531
|
*
|
|
@@ -10076,7 +10583,7 @@ type Iauejd04ricr9d = AnonymousEnum$1<{
|
|
|
10076
10583
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
10077
10584
|
* - `call`: The call to be made by the `real` account.
|
|
10078
10585
|
*/
|
|
10079
|
-
"proxy_announced": Anonymize$1<
|
|
10586
|
+
"proxy_announced": Anonymize$1<I5f8o56bkooed7>;
|
|
10080
10587
|
/**
|
|
10081
10588
|
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
10082
10589
|
* This can be used by accounts to possibly lower their locked amount.
|
|
@@ -10102,57 +10609,57 @@ type Iauejd04ricr9d = AnonymousEnum$1<{
|
|
|
10102
10609
|
*/
|
|
10103
10610
|
"set_real_pays_fee": Anonymize$1<Ibm6on6oe0malt>;
|
|
10104
10611
|
}>;
|
|
10105
|
-
type
|
|
10612
|
+
type I8eecp5lj213g5 = {
|
|
10106
10613
|
"real": MultiAddress;
|
|
10107
|
-
"force_proxy_type"?: Anonymize$1<
|
|
10614
|
+
"force_proxy_type"?: Anonymize$1<I11ionvtt1in56>;
|
|
10108
10615
|
"call": TxCallData;
|
|
10109
10616
|
};
|
|
10110
|
-
type
|
|
10111
|
-
type
|
|
10617
|
+
type I11ionvtt1in56 = (Anonymize$1<I4855cvrampgh6>) | undefined;
|
|
10618
|
+
type I3ounjkfdo4m6u = {
|
|
10112
10619
|
"delegate": MultiAddress;
|
|
10113
|
-
"proxy_type": Anonymize$1<
|
|
10620
|
+
"proxy_type": Anonymize$1<I4855cvrampgh6>;
|
|
10114
10621
|
"delay": number;
|
|
10115
10622
|
};
|
|
10116
|
-
type
|
|
10117
|
-
"proxy_type": Anonymize$1<
|
|
10623
|
+
type I8i9ii5oob5jeb = {
|
|
10624
|
+
"proxy_type": Anonymize$1<I4855cvrampgh6>;
|
|
10118
10625
|
"delay": number;
|
|
10119
10626
|
"index": number;
|
|
10120
10627
|
};
|
|
10121
|
-
type
|
|
10628
|
+
type Ic5eup222limvr = {
|
|
10122
10629
|
"spawner": MultiAddress;
|
|
10123
|
-
"proxy_type": Anonymize$1<
|
|
10630
|
+
"proxy_type": Anonymize$1<I4855cvrampgh6>;
|
|
10124
10631
|
"index": number;
|
|
10125
10632
|
"height": number;
|
|
10126
10633
|
"ext_index": number;
|
|
10127
10634
|
};
|
|
10128
|
-
type
|
|
10635
|
+
type I5f8o56bkooed7 = {
|
|
10129
10636
|
"delegate": MultiAddress;
|
|
10130
10637
|
"real": MultiAddress;
|
|
10131
|
-
"force_proxy_type"?: Anonymize$1<
|
|
10638
|
+
"force_proxy_type"?: Anonymize$1<I11ionvtt1in56>;
|
|
10132
10639
|
"call": TxCallData;
|
|
10133
10640
|
};
|
|
10134
10641
|
type Ibm6on6oe0malt = {
|
|
10135
10642
|
"delegate": MultiAddress;
|
|
10136
10643
|
"pays_fee": boolean;
|
|
10137
10644
|
};
|
|
10138
|
-
type
|
|
10645
|
+
type I4rl1n35obh34e = AnonymousEnum$1<{
|
|
10139
10646
|
/**
|
|
10140
10647
|
* Set the commitment for a given netuid
|
|
10141
10648
|
*/
|
|
10142
|
-
"set_commitment": Anonymize$1<
|
|
10649
|
+
"set_commitment": Anonymize$1<I61t1b69aba6p0>;
|
|
10143
10650
|
/**
|
|
10144
10651
|
* Sudo-set MaxSpace
|
|
10145
10652
|
*/
|
|
10146
10653
|
"set_max_space": Anonymize$1<I1il5mj68vvsms>;
|
|
10147
10654
|
}>;
|
|
10148
|
-
type
|
|
10655
|
+
type I61t1b69aba6p0 = {
|
|
10149
10656
|
"netuid": number;
|
|
10150
|
-
"info": Anonymize$1<
|
|
10657
|
+
"info": Anonymize$1<Ie5icb4csjej6e>;
|
|
10151
10658
|
};
|
|
10152
10659
|
type I1il5mj68vvsms = {
|
|
10153
10660
|
"new_limit": number;
|
|
10154
10661
|
};
|
|
10155
|
-
type
|
|
10662
|
+
type I22206lc3l1rdi = AnonymousEnum$1<{
|
|
10156
10663
|
/**
|
|
10157
10664
|
* The extrinsic sets the new authorities for Aura consensus.
|
|
10158
10665
|
* It is only callable by the root account.
|
|
@@ -10425,6 +10932,10 @@ type I89qogqd90ifll = AnonymousEnum$1<{
|
|
|
10425
10932
|
* Sets values for liquid alpha
|
|
10426
10933
|
*/
|
|
10427
10934
|
"sudo_set_alpha_values": Anonymize$1<I71lu4gpn88cf0>;
|
|
10935
|
+
/**
|
|
10936
|
+
* Sets which consensus values liquid alpha uses for a subnet.
|
|
10937
|
+
*/
|
|
10938
|
+
"sudo_set_liquid_alpha_consensus_mode": Anonymize$1<Ibr3jgvn47f6ub>;
|
|
10428
10939
|
/**
|
|
10429
10940
|
* Sets the duration of the dissolve network schedule.
|
|
10430
10941
|
*
|
|
@@ -10480,14 +10991,13 @@ type I89qogqd90ifll = AnonymousEnum$1<{
|
|
|
10480
10991
|
*
|
|
10481
10992
|
* Schedule a change in the authorities.
|
|
10482
10993
|
*
|
|
10483
|
-
* The change
|
|
10484
|
-
*
|
|
10485
|
-
* the current block.
|
|
10994
|
+
* The change is applied at the end of the current block, so `in_blocks` must be 0. This
|
|
10995
|
+
* keeps the authority set and its set ID consistent in every persisted block state.
|
|
10486
10996
|
*
|
|
10487
10997
|
* If the `forced` parameter is defined, this indicates that the current set has been
|
|
10488
|
-
* synchronously determined to be offline
|
|
10489
|
-
*
|
|
10490
|
-
*
|
|
10998
|
+
* synchronously determined to be offline. The given block number indicates the median
|
|
10999
|
+
* last finalized block number and it should be used as the canon block when starting the
|
|
11000
|
+
* new grandpa voter.
|
|
10491
11001
|
*
|
|
10492
11002
|
* No change should be signaled while any change is pending. Returns an error if a change
|
|
10493
11003
|
* is already pending.
|
|
@@ -10531,7 +11041,7 @@ type I89qogqd90ifll = AnonymousEnum$1<{
|
|
|
10531
11041
|
* # Weight
|
|
10532
11042
|
* Weight is handled by the `#[pallet::weight]` attribute.
|
|
10533
11043
|
*/
|
|
10534
|
-
"sudo_toggle_evm_precompile": Anonymize$1<
|
|
11044
|
+
"sudo_toggle_evm_precompile": Anonymize$1<I5emsms8keuaac>;
|
|
10535
11045
|
/**
|
|
10536
11046
|
*
|
|
10537
11047
|
*
|
|
@@ -10800,13 +11310,54 @@ type I89qogqd90ifll = AnonymousEnum$1<{
|
|
|
10800
11310
|
*/
|
|
10801
11311
|
"sudo_set_collateral_drain_ratio": Anonymize$1<Ii5ndf7h688tr>;
|
|
10802
11312
|
/**
|
|
10803
|
-
*
|
|
10804
|
-
*
|
|
10805
|
-
*
|
|
10806
|
-
*
|
|
10807
|
-
*
|
|
11313
|
+
* Sets the basket concentration cap ([`pallet_subtensor::BasketConcentrationCap`]):
|
|
11314
|
+
* the largest u16-normalized share (`u16::MAX` = 100%) of fund NAV any single
|
|
11315
|
+
* holding may reach through a `swap_basket` buy. A cap of `u16::MAX / 16 + 1`
|
|
11316
|
+
* forces traded funds to spread across at least 16 holdings. The check is skipped
|
|
11317
|
+
* while fewer subnets exist on chain than the cap demands. Root-only.
|
|
11318
|
+
*/
|
|
11319
|
+
"sudo_set_basket_concentration_cap": Anonymize$1<Ieju6qo4sptvs6>;
|
|
11320
|
+
/**
|
|
11321
|
+
* Enables or disables validator basket trading (`swap_basket`) network-wide.
|
|
11322
|
+
* Defaults OFF. Gates only the trade path: deposits, claims, dividend accrual,
|
|
11323
|
+
* and reads are unaffected. Root-only.
|
|
11324
|
+
*/
|
|
11325
|
+
"sudo_set_basket_trading_enabled": Anonymize$1<I94dejtmu6d72i>;
|
|
11326
|
+
/**
|
|
11327
|
+
* Freezes or unfreezes basket trading for one validator hotkey
|
|
11328
|
+
* ([`pallet_subtensor::BasketTradingFrozen`]), e.g. after a suspected key
|
|
11329
|
+
* compromise. A frozen fund still accepts deposits and pays claims. Root-only.
|
|
11330
|
+
*/
|
|
11331
|
+
"sudo_set_basket_trading_frozen": Anonymize$1<Ifh6muqgp7cgvc>;
|
|
11332
|
+
/**
|
|
11333
|
+
* Sets the basket daily turnover budget ([`pallet_subtensor::BasketDailyTurnoverCap`]):
|
|
11334
|
+
* the capacity of each fund's `swap_basket` turnover bucket as a u16-normalized share
|
|
11335
|
+
* of fund NAV (`u16::MAX` = 100%). The bucket refills over 7200 blocks, so at most one
|
|
11336
|
+
* capacity can be traded at any instant and about one per day sustained. Root-only.
|
|
11337
|
+
*/
|
|
11338
|
+
"sudo_set_basket_daily_turnover_cap": Anonymize$1<Ieju6qo4sptvs6>;
|
|
11339
|
+
/**
|
|
11340
|
+
* Sets the basket liquidity cap ([`pallet_subtensor::BasketLiquidityCap`]): the
|
|
11341
|
+
* largest u16-normalized share of a subnet's alpha reserve (`u16::MAX` = 100%) a fund
|
|
11342
|
+
* may hold on that subnet after a `swap_basket` buy. Bounds the fund's exposure to
|
|
11343
|
+
* any one pool's liquidity: with cap `L` the value at risk on a pool with TAO
|
|
11344
|
+
* reserve `R` is about `R × L² / (1 + L)`. Root-only.
|
|
11345
|
+
*/
|
|
11346
|
+
"sudo_set_basket_liquidity_cap": Anonymize$1<Ieju6qo4sptvs6>;
|
|
11347
|
+
/**
|
|
11348
|
+
* Sets the four root-claim dust knobs at once. A claim does not sell a fund row
|
|
11349
|
+
* whose whole holding is worth less than `min(row_cap_rao, row_bps × anchored NAV)`
|
|
11350
|
+
* ([`pallet_subtensor::BasketClaimRowDustCapTao`],
|
|
11351
|
+
* [`pallet_subtensor::BasketClaimRowDustBps`]), nor a row where the claimant's own
|
|
11352
|
+
* slice is worth less than `slice_rao` ([`pallet_subtensor::BasketClaimSliceDustTao`]),
|
|
11353
|
+
* provided that slice is worth at most `forfeit_cap_rao`
|
|
11354
|
+
* ([`pallet_subtensor::BasketClaimForfeitCapTao`]) — all at the anchored mark; the
|
|
11355
|
+
* skipped slices stay in the fund for the other holders. Zero turns the respective
|
|
11356
|
+
* skip off (a zero cap turns every skip off). `row_bps` is at most 10_000 (100%).
|
|
11357
|
+
* Declared at four times the sibling one-write basket setter's weight (four
|
|
11358
|
+
* writes; a dedicated benchmark exists for CI to measure). Root-only.
|
|
10808
11359
|
*/
|
|
10809
|
-
"
|
|
11360
|
+
"sudo_set_basket_claim_dust": Anonymize$1<I1efeqe055hnfk>;
|
|
10810
11361
|
/**
|
|
10811
11362
|
* Sets the per-block cap on subnet epochs (dynamic tempo throttle).
|
|
10812
11363
|
*/
|
|
@@ -10943,6 +11494,10 @@ type I71lu4gpn88cf0 = {
|
|
|
10943
11494
|
"alpha_low": number;
|
|
10944
11495
|
"alpha_high": number;
|
|
10945
11496
|
};
|
|
11497
|
+
type Ibr3jgvn47f6ub = {
|
|
11498
|
+
"netuid": number;
|
|
11499
|
+
"mode": Anonymize$1<I229aourr5nmc9>;
|
|
11500
|
+
};
|
|
10946
11501
|
type I98iornf3ajrp9 = {
|
|
10947
11502
|
"duration": number;
|
|
10948
11503
|
};
|
|
@@ -11211,7 +11766,7 @@ type Ifd3mkud9g8rb1 = {
|
|
|
11211
11766
|
type Iakvbbhvger3oa = {
|
|
11212
11767
|
"oldest_round": bigint;
|
|
11213
11768
|
};
|
|
11214
|
-
type
|
|
11769
|
+
type I4aace3g7urkfs = AnonymousEnum$1<{
|
|
11215
11770
|
/**
|
|
11216
11771
|
* Create a crowdloan that will raise funds up to a maximum cap and if successful,
|
|
11217
11772
|
* will either transfer funds to the target address or dispatch the call
|
|
@@ -11232,7 +11787,7 @@ type I7u3i7as46m052 = AnonymousEnum$1<{
|
|
|
11232
11787
|
* - `call`: The call to dispatch when the crowdloan is finalized.
|
|
11233
11788
|
* - `target_address`: The address to transfer the raised funds to.
|
|
11234
11789
|
*/
|
|
11235
|
-
"create": Anonymize$1<
|
|
11790
|
+
"create": Anonymize$1<Id7vjasec7na9g>;
|
|
11236
11791
|
/**
|
|
11237
11792
|
* Contribute to an active crowdloan.
|
|
11238
11793
|
*
|
|
@@ -11269,6 +11824,8 @@ type I7u3i7as46m052 = AnonymousEnum$1<{
|
|
|
11269
11824
|
* When dispatching a call, the CurrentCrowdloanId will be set to the crowdloan id
|
|
11270
11825
|
* being finalized so the dispatched call can access it temporarily by accessing
|
|
11271
11826
|
* the `CurrentCrowdloanId` storage item.
|
|
11827
|
+
* The call must spend the full raised amount from the funds account; otherwise
|
|
11828
|
+
* finalization and any partial effects are rolled back.
|
|
11272
11829
|
*
|
|
11273
11830
|
* The dispatch origin for this call must be _Signed_ and must be the creator of the crowdloan.
|
|
11274
11831
|
*
|
|
@@ -11346,7 +11903,7 @@ type I7u3i7as46m052 = AnonymousEnum$1<{
|
|
|
11346
11903
|
*/
|
|
11347
11904
|
"set_max_contribution": Anonymize$1<I9braq9qhpo8fl>;
|
|
11348
11905
|
}>;
|
|
11349
|
-
type
|
|
11906
|
+
type Id7vjasec7na9g = {
|
|
11350
11907
|
"deposit": bigint;
|
|
11351
11908
|
"min_contribution": bigint;
|
|
11352
11909
|
"cap": bigint;
|
|
@@ -11660,7 +12217,7 @@ type I5lq4pf17u9hc8 = {
|
|
|
11660
12217
|
type Ic07rk250cl0js = {
|
|
11661
12218
|
"encrypted_call": Uint8Array;
|
|
11662
12219
|
};
|
|
11663
|
-
type
|
|
12220
|
+
type I2enlcrvdobpqt = AnonymousEnum$1<{
|
|
11664
12221
|
/**
|
|
11665
12222
|
* Execute a batch of signed limit orders. Admin-gated.
|
|
11666
12223
|
*
|
|
@@ -11676,7 +12233,7 @@ type Ifhbgqacqigvj3 = AnonymousEnum$1<{
|
|
|
11676
12233
|
* whole batch by returning the underlying error, reverting any orders
|
|
11677
12234
|
* already executed in this call.
|
|
11678
12235
|
*/
|
|
11679
|
-
"execute_orders": Anonymize$1<
|
|
12236
|
+
"execute_orders": Anonymize$1<I2gnn08emp92fv>;
|
|
11680
12237
|
/**
|
|
11681
12238
|
* Execute a batch of signed limit orders for a single subnet using
|
|
11682
12239
|
* aggregated (netted) pool interaction.
|
|
@@ -11701,7 +12258,7 @@ type Ifhbgqacqigvj3 = AnonymousEnum$1<{
|
|
|
11701
12258
|
* All orders in the batch must target `netuid`. Orders for a different
|
|
11702
12259
|
* subnet are skipped.
|
|
11703
12260
|
*/
|
|
11704
|
-
"execute_batched_orders": Anonymize$1<
|
|
12261
|
+
"execute_batched_orders": Anonymize$1<I39mr7pd2tq42p>;
|
|
11705
12262
|
/**
|
|
11706
12263
|
* Register a cancellation intent for an order.
|
|
11707
12264
|
*
|
|
@@ -11709,7 +12266,7 @@ type Ifhbgqacqigvj3 = AnonymousEnum$1<{
|
|
|
11709
12266
|
* provided so the pallet can derive the `OrderId`. Once marked
|
|
11710
12267
|
* Cancelled, the order can never be executed.
|
|
11711
12268
|
*/
|
|
11712
|
-
"cancel_order": Anonymize$1<
|
|
12269
|
+
"cancel_order": Anonymize$1<I2ki6vvodcknh0>;
|
|
11713
12270
|
/**
|
|
11714
12271
|
* Set a status for the limit orders pallet
|
|
11715
12272
|
*
|
|
@@ -11718,17 +12275,22 @@ type Ifhbgqacqigvj3 = AnonymousEnum$1<{
|
|
|
11718
12275
|
* true means enabling, false means disabling
|
|
11719
12276
|
*/
|
|
11720
12277
|
"set_pallet_status": Anonymize$1<I94dejtmu6d72i>;
|
|
12278
|
+
/**
|
|
12279
|
+
* Remove a provider record. The signer may prune at any time; anyone
|
|
12280
|
+
* may prune after `expires_at`. Moves no funds.
|
|
12281
|
+
*/
|
|
12282
|
+
"prune_linked_output": Anonymize$1<Icounsrraf8e8l>;
|
|
11721
12283
|
}>;
|
|
11722
|
-
type
|
|
11723
|
-
"orders": Anonymize$1<
|
|
12284
|
+
type I2gnn08emp92fv = {
|
|
12285
|
+
"orders": Anonymize$1<I1geeil1sisqgc>;
|
|
11724
12286
|
"should_fail": boolean;
|
|
11725
12287
|
};
|
|
11726
|
-
type
|
|
11727
|
-
"order": Anonymize$1<
|
|
12288
|
+
type I1geeil1sisqgc = Array<{
|
|
12289
|
+
"order": Anonymize$1<I955ov9hehthlm>;
|
|
11728
12290
|
"signature": MultiSignature;
|
|
11729
12291
|
"partial_fill"?: Anonymize$1<I35p85j063s0il>;
|
|
11730
12292
|
}>;
|
|
11731
|
-
type
|
|
12293
|
+
type I955ov9hehthlm = AnonymousEnum$1<{
|
|
11732
12294
|
"V1": {
|
|
11733
12295
|
"signer": SS58String;
|
|
11734
12296
|
"hotkey": SS58String;
|
|
@@ -11744,53 +12306,78 @@ type I6fs7nagvib2jh = AnonymousEnum$1<{
|
|
|
11744
12306
|
"chain_id": bigint;
|
|
11745
12307
|
"partial_fills_enabled": boolean;
|
|
11746
12308
|
};
|
|
12309
|
+
"V2": {
|
|
12310
|
+
"signer": SS58String;
|
|
12311
|
+
"hotkey": SS58String;
|
|
12312
|
+
"netuid": number;
|
|
12313
|
+
"order_type": Anonymize$1<I8ihq9g3g7resb>;
|
|
12314
|
+
"amount": Enum$1<{
|
|
12315
|
+
"Fixed": bigint;
|
|
12316
|
+
"LinkedPercentage": {
|
|
12317
|
+
"provider": SizedHex<32>;
|
|
12318
|
+
"pct": number;
|
|
12319
|
+
};
|
|
12320
|
+
}>;
|
|
12321
|
+
"limit_price": bigint;
|
|
12322
|
+
"expiry": bigint;
|
|
12323
|
+
"fee_rate": number;
|
|
12324
|
+
"fee_recipient": SS58String;
|
|
12325
|
+
"relayer"?: Anonymize$1<I9ov9amur2hn1d>;
|
|
12326
|
+
"max_slippage"?: Anonymize$1<I4arjljr6dpflb>;
|
|
12327
|
+
"chain_id": bigint;
|
|
12328
|
+
"partial_fills_enabled": boolean;
|
|
12329
|
+
"has_linked_order": boolean;
|
|
12330
|
+
};
|
|
11747
12331
|
}>;
|
|
11748
12332
|
type I9ov9amur2hn1d = (Anonymize$1<Ia2lhg7l2hilo3>) | undefined;
|
|
11749
|
-
type
|
|
12333
|
+
type I39mr7pd2tq42p = {
|
|
11750
12334
|
"netuid": number;
|
|
11751
|
-
"orders": Anonymize$1<
|
|
12335
|
+
"orders": Anonymize$1<I1geeil1sisqgc>;
|
|
12336
|
+
};
|
|
12337
|
+
type I2ki6vvodcknh0 = {
|
|
12338
|
+
"order": Anonymize$1<I955ov9hehthlm>;
|
|
11752
12339
|
};
|
|
11753
|
-
type
|
|
11754
|
-
"
|
|
12340
|
+
type Icounsrraf8e8l = {
|
|
12341
|
+
"order_id": SizedHex<32>;
|
|
11755
12342
|
};
|
|
11756
|
-
type
|
|
12343
|
+
type Ifqpkj93u7u816 = AnonymousEnum$1<{
|
|
11757
12344
|
"System": Anonymize$1<Iekve0i6djpd9f>;
|
|
11758
12345
|
"Timestamp": Anonymize$1<I7d75gqfg6jh9c>;
|
|
11759
12346
|
"Grandpa": Anonymize$1<Ibck9ekr2i96uj>;
|
|
11760
12347
|
"Balances": Anonymize$1<I9svldsp29mh87>;
|
|
11761
|
-
"SubtensorModule": Anonymize$1<
|
|
11762
|
-
"Utility": Anonymize$1<
|
|
11763
|
-
"Sudo": Anonymize$1<
|
|
11764
|
-
"Multisig": Anonymize$1<
|
|
12348
|
+
"SubtensorModule": Anonymize$1<I1c2l6pbupt5je>;
|
|
12349
|
+
"Utility": Anonymize$1<Ibqb0covkkaile>;
|
|
12350
|
+
"Sudo": Anonymize$1<Ib7f6jmk9f26v8>;
|
|
12351
|
+
"Multisig": Anonymize$1<I61d1bquq8rsur>;
|
|
11765
12352
|
"Preimage": Anonymize$1<If81ks88t5mpk5>;
|
|
11766
|
-
"Scheduler": Anonymize$1<
|
|
11767
|
-
"Proxy": Anonymize$1<
|
|
11768
|
-
"Commitments": Anonymize$1<
|
|
11769
|
-
"AdminUtils": Anonymize$1<
|
|
12353
|
+
"Scheduler": Anonymize$1<I4g1vftkvlff0u>;
|
|
12354
|
+
"Proxy": Anonymize$1<I92qmeppin02un>;
|
|
12355
|
+
"Commitments": Anonymize$1<I4rl1n35obh34e>;
|
|
12356
|
+
"AdminUtils": Anonymize$1<I22206lc3l1rdi>;
|
|
11770
12357
|
"SafeMode": Anonymize$1<I48eehof2eias5>;
|
|
11771
12358
|
"Ethereum": Anonymize$1<I3lo8is2egp8k4>;
|
|
11772
12359
|
"EVM": Anonymize$1<Iafltn68socb5h>;
|
|
11773
12360
|
"BaseFee": Anonymize$1<I2aqcjbjlffus>;
|
|
11774
12361
|
"Drand": Anonymize$1<Ibdf4fkp7qcokd>;
|
|
11775
|
-
"Crowdloan": Anonymize$1<
|
|
12362
|
+
"Crowdloan": Anonymize$1<I4aace3g7urkfs>;
|
|
11776
12363
|
"Swap": Anonymize$1<Id0qcnu1chac12>;
|
|
11777
12364
|
"Contracts": Anonymize$1<I6jivj2j5qp8sa>;
|
|
11778
12365
|
"MevShield": Anonymize$1<I5fpdlstuub4e0>;
|
|
11779
|
-
"LimitOrders": Anonymize$1<
|
|
12366
|
+
"LimitOrders": Anonymize$1<I2enlcrvdobpqt>;
|
|
11780
12367
|
}>;
|
|
11781
|
-
type
|
|
11782
|
-
type
|
|
11783
|
-
type
|
|
11784
|
-
type
|
|
12368
|
+
type I6jkah5k0508u5 = ResultPayload<Anonymize$1<I2tgj23u15fhfj>, Anonymize$1<I5nrjkj9qumobs>>;
|
|
12369
|
+
type I4lbgficb22f1i = ResultPayload<Anonymize$1<I7ag5k7bmmgq3j>, Anonymize$1<I8p4c3h8cei06k>>;
|
|
12370
|
+
type I19vcmto68hf1n = ResultPayload<Anonymize$1<Ie3rl25flint9v>, Anonymize$1<I8p4c3h8cei06k>>;
|
|
12371
|
+
type I1i5gcj1g66t9s = {
|
|
11785
12372
|
"gas_consumed": Anonymize$1<I4q39t5hn830vp>;
|
|
11786
12373
|
"gas_required": Anonymize$1<I4q39t5hn830vp>;
|
|
11787
12374
|
"storage_deposit": Anonymize$1<If7bmpttbdmqu4>;
|
|
11788
12375
|
"debug_message": Uint8Array;
|
|
11789
|
-
"result": ResultPayload<Anonymize$1<I620n7irgfspm4>, Anonymize$1<
|
|
11790
|
-
"events"?: Anonymize$1<
|
|
12376
|
+
"result": ResultPayload<Anonymize$1<I620n7irgfspm4>, Anonymize$1<I8p4c3h8cei06k>>;
|
|
12377
|
+
"events"?: Anonymize$1<I4f2t1t6j0hl66>;
|
|
11791
12378
|
};
|
|
11792
|
-
type
|
|
11793
|
-
type
|
|
12379
|
+
type I4f2t1t6j0hl66 = (Anonymize$1<Irbru2v9j271i>) | undefined;
|
|
12380
|
+
type I8rnr9khmpumvg = {
|
|
11794
12381
|
"gas_consumed": Anonymize$1<I4q39t5hn830vp>;
|
|
11795
12382
|
"gas_required": Anonymize$1<I4q39t5hn830vp>;
|
|
11796
12383
|
"storage_deposit": Anonymize$1<If7bmpttbdmqu4>;
|
|
@@ -11798,10 +12385,10 @@ type I6haggd6r8nfrq = {
|
|
|
11798
12385
|
"result": ResultPayload<{
|
|
11799
12386
|
"result": Anonymize$1<I620n7irgfspm4>;
|
|
11800
12387
|
"account_id": SS58String;
|
|
11801
|
-
}, Anonymize$1<
|
|
11802
|
-
"events"?: Anonymize$1<
|
|
12388
|
+
}, Anonymize$1<I8p4c3h8cei06k>>;
|
|
12389
|
+
"events"?: Anonymize$1<I4f2t1t6j0hl66>;
|
|
11803
12390
|
};
|
|
11804
|
-
type
|
|
12391
|
+
type Idtedbn12sqdfp = ResultPayload<Anonymize$1<Icjs1v5avc8kdj>, Anonymize$1<I8p4c3h8cei06k>>;
|
|
11805
12392
|
type I9u22scd4ksrjm = ResultPayload<Anonymize$1<Iabpgqcjikia83>, Enum$1<{
|
|
11806
12393
|
"DoesntExist": undefined;
|
|
11807
12394
|
"KeyDecodingFailed": undefined;
|
|
@@ -12211,14 +12798,13 @@ type I8bn6o1k1jal8f = Array<[SS58String, Array<[number, {
|
|
|
12211
12798
|
type I3pbrjdm4vnbsa = (Anonymize$1<I6ouflveob4eli>) | undefined;
|
|
12212
12799
|
type Iaa9klnetuoncg = (Anonymize$1<I8tqsm2j01rn5j>) | undefined;
|
|
12213
12800
|
type I6e5v3c8v6006s = Array<[number, bigint, bigint]>;
|
|
12214
|
-
type
|
|
12801
|
+
type Icj6me7ae49ft9 = {
|
|
12215
12802
|
"hotkey": SS58String;
|
|
12216
12803
|
"nav_tao": bigint;
|
|
12217
12804
|
"spot_nav_tao": bigint;
|
|
12218
12805
|
"shares": bigint;
|
|
12219
12806
|
"deposited_tao": bigint;
|
|
12220
12807
|
"redeemed_tao": bigint;
|
|
12221
|
-
"weights": Anonymize$1<I95g6i7ilua7lq>;
|
|
12222
12808
|
"holdings": Array<{
|
|
12223
12809
|
"netuid": number;
|
|
12224
12810
|
"alpha": bigint;
|
|
@@ -12226,7 +12812,69 @@ type Id819kcso1e55l = {
|
|
|
12226
12812
|
"realizable_tao": bigint;
|
|
12227
12813
|
}>;
|
|
12228
12814
|
};
|
|
12229
|
-
type
|
|
12815
|
+
type I9tml3ucf2ji9 = Array<Anonymize$1<Icj6me7ae49ft9>>;
|
|
12816
|
+
type I489vg7ldsoqco = (Anonymize$1<I37k4j2kn9amem>) | undefined;
|
|
12817
|
+
type I37k4j2kn9amem = {
|
|
12818
|
+
"hotkey": SS58String;
|
|
12819
|
+
"beta": bigint;
|
|
12820
|
+
"beta_total": bigint;
|
|
12821
|
+
"nav_tao": bigint;
|
|
12822
|
+
"value_tao": bigint;
|
|
12823
|
+
"spot_value_tao": bigint;
|
|
12824
|
+
};
|
|
12825
|
+
type Itk4us3dujtnq = Array<Anonymize$1<I37k4j2kn9amem>>;
|
|
12826
|
+
type I1kko85se1j76q = (Anonymize$1<I3uk4lgifvtocq>) | undefined;
|
|
12827
|
+
type I3uk4lgifvtocq = {
|
|
12828
|
+
"hotkey": SS58String;
|
|
12829
|
+
"spot_price": bigint;
|
|
12830
|
+
"display_price": bigint;
|
|
12831
|
+
"stake_price": bigint;
|
|
12832
|
+
"staker_yield": bigint;
|
|
12833
|
+
"staker_twr": bigint;
|
|
12834
|
+
"bag_index": bigint;
|
|
12835
|
+
"stake_index": bigint;
|
|
12836
|
+
"first_block": bigint;
|
|
12837
|
+
"provisional": boolean;
|
|
12838
|
+
"spot_nav_tao": bigint;
|
|
12839
|
+
"shares": bigint;
|
|
12840
|
+
"display_shares": bigint;
|
|
12841
|
+
};
|
|
12842
|
+
type I1ekgmgbc7944g = {
|
|
12843
|
+
"pricing": Array<Anonymize$1<I3uk4lgifvtocq>>;
|
|
12844
|
+
"next"?: Anonymize$1<Ihfphjolmsqq1>;
|
|
12845
|
+
};
|
|
12846
|
+
type Ib79aluc5vvn4f = (Anonymize$1<Ifu7chs882vf16>) | undefined;
|
|
12847
|
+
type Ifu7chs882vf16 = {
|
|
12848
|
+
"hotkey": SS58String;
|
|
12849
|
+
"beta": bigint;
|
|
12850
|
+
"display_beta": bigint;
|
|
12851
|
+
"display_price": bigint;
|
|
12852
|
+
"value_tao": bigint;
|
|
12853
|
+
"spot_value_tao": bigint;
|
|
12854
|
+
"provisional": boolean;
|
|
12855
|
+
};
|
|
12856
|
+
type I96giokn5gpcih = Array<Anonymize$1<Ifu7chs882vf16>>;
|
|
12857
|
+
type Ib4aj3n3imrbbt = {
|
|
12858
|
+
"enabled": boolean;
|
|
12859
|
+
"frozen": boolean;
|
|
12860
|
+
"refill_blocks": bigint;
|
|
12861
|
+
"tao_available": bigint;
|
|
12862
|
+
"budget_tao": bigint;
|
|
12863
|
+
};
|
|
12864
|
+
type Idbvhenser4uaq = (Anonymize$1<I9e297vpcm4m74>) | undefined;
|
|
12865
|
+
type I9e297vpcm4m74 = {
|
|
12866
|
+
"hotkey": SS58String;
|
|
12867
|
+
"owed_shares": bigint;
|
|
12868
|
+
"accrued_tao": bigint;
|
|
12869
|
+
"redeemable_tao": bigint;
|
|
12870
|
+
"forfeited_tao_est": bigint;
|
|
12871
|
+
"rows": number;
|
|
12872
|
+
"rows_to_sell": number;
|
|
12873
|
+
"dust_rows": number;
|
|
12874
|
+
"swept": number;
|
|
12875
|
+
"flushed_credits": number;
|
|
12876
|
+
};
|
|
12877
|
+
type Ia1dgslg70jbtg = Array<Anonymize$1<I9e297vpcm4m74>>;
|
|
12230
12878
|
type I5fc46fadm1en5 = Array<{
|
|
12231
12879
|
"name": Uint8Array;
|
|
12232
12880
|
"index": number;
|
|
@@ -12335,7 +12983,7 @@ type IStorage = {
|
|
|
12335
12983
|
* Events have a large in-memory size. Box the events to not go out-of-memory
|
|
12336
12984
|
* just in case someone still reads them from within the runtime.
|
|
12337
12985
|
*/
|
|
12338
|
-
Events: StorageDescriptor<[], Anonymize<
|
|
12986
|
+
Events: StorageDescriptor<[], Anonymize<Irbru2v9j271i>, false, never>;
|
|
12339
12987
|
/**
|
|
12340
12988
|
* The number of events in the `Events<T>` list.
|
|
12341
12989
|
*/
|
|
@@ -12629,6 +13277,18 @@ type IStorage = {
|
|
|
12629
13277
|
* DMAP ( hot, netuid ) --> take | Returns the hotkey childkey take for a specific subnet
|
|
12630
13278
|
*/
|
|
12631
13279
|
ChildkeyTake: StorageDescriptor<Anonymize<I6ouflveob4eli>, number, false, never>;
|
|
13280
|
+
/**
|
|
13281
|
+
* MAP ( parent ) --> () | Parents with live child relations whose stake just changed.
|
|
13282
|
+
* Drained in `on_idle`, where each parent's total stake is re-checked against
|
|
13283
|
+
* `StakeThreshold` and `ChildkeyThresholdSuspended` is set or cleared.
|
|
13284
|
+
*/
|
|
13285
|
+
ChildkeyThresholdChecks: StorageDescriptor<[Key: SS58String], null, true, never>;
|
|
13286
|
+
/**
|
|
13287
|
+
* MAP ( parent ) --> () | Parents whose total stake is below `StakeThreshold`. Their child
|
|
13288
|
+
* relations stay stored but are inert (hidden from `get_children` / `get_parents`)
|
|
13289
|
+
* except on subnets they own, until they qualify again.
|
|
13290
|
+
*/
|
|
13291
|
+
ChildkeyThresholdSuspended: StorageDescriptor<[Key: SS58String], null, true, never>;
|
|
12632
13292
|
/**
|
|
12633
13293
|
* DMAP ( netuid, parent ) --> (Vec<(proportion,child)>, cool_down_block)
|
|
12634
13294
|
*/
|
|
@@ -12649,12 +13309,6 @@ type IStorage = {
|
|
|
12649
13309
|
* DMAP ( netuid, hotkey ) --> u64 | Last root alpha dividend this hotkey got on tempo.
|
|
12650
13310
|
*/
|
|
12651
13311
|
RootAlphaDividendsPerSubnet: StorageDescriptor<Anonymize<I7svnfko10tq2e>, bigint, false, never>;
|
|
12652
|
-
/**
|
|
12653
|
-
* Root dividend credits whose per-hotkey allocation was calculated by an epoch while the
|
|
12654
|
-
* beta-basket seed migration owned the destination maps. Credits are released to the same
|
|
12655
|
-
* hotkey on that subnet's first epoch after the seed completes.
|
|
12656
|
-
*/
|
|
12657
|
-
DeferredRootAlphaDividends: StorageDescriptor<Anonymize<I7svnfko10tq2e>, bigint, false, never>;
|
|
12658
13312
|
/**
|
|
12659
13313
|
* DMAP ( hotkey, netuid ) --> alpha | Root dividend credits waiting to enter the
|
|
12660
13314
|
* validator's beta basket. Epochs enqueue here instead of depositing inline (a deposit
|
|
@@ -12715,6 +13369,17 @@ type IStorage = {
|
|
|
12715
13369
|
* MAP ( netuid ) --> moving_price | The subnet moving price.
|
|
12716
13370
|
*/
|
|
12717
13371
|
SubnetMovingPrice: StorageDescriptor<[Key: number], bigint, false, never>;
|
|
13372
|
+
/**
|
|
13373
|
+
* MAP ( netuid ) --> fast moving price | A fast EMA of the subnet's spot price
|
|
13374
|
+
* (TAO per alpha, unclamped) with a [`BASKET_FAST_EMA_HALF_LIFE_BLOCKS`] half-life,
|
|
13375
|
+
* updated once per block right after [`SubnetMovingPrice`] from the spot at the end of
|
|
13376
|
+
* the previous block, so no extrinsic in the current block can move it. It is a trading
|
|
13377
|
+
* anchor only — `swap_basket` bounds every leg to within
|
|
13378
|
+
* [`BASKET_TRADE_MAX_SLIPPAGE_BPS`] of the strictest of this, the slow EMA, and spot —
|
|
13379
|
+
* and plays no part in emission. Absent until the subnet's first update after the
|
|
13380
|
+
* upgrade (trading on it is refused until then).
|
|
13381
|
+
*/
|
|
13382
|
+
SubnetFastMovingPrice: StorageDescriptor<[Key: number], bigint, true, never>;
|
|
12718
13383
|
/**
|
|
12719
13384
|
* MAP ( netuid ) --> root_prop | The subnet root proportion.
|
|
12720
13385
|
*/
|
|
@@ -12808,6 +13473,10 @@ type IStorage = {
|
|
|
12808
13473
|
* DMAP ( hot, netuid ) --> alpha | Returns the total amount of alpha a hotkey owns.
|
|
12809
13474
|
*/
|
|
12810
13475
|
TotalHotkeyAlpha: StorageDescriptor<Anonymize<I6ouflveob4eli>, bigint, false, never>;
|
|
13476
|
+
/**
|
|
13477
|
+
* MAP ( netuid ) --> alpha | Returns the total alpha staked across all hotkeys on a subnet.
|
|
13478
|
+
*/
|
|
13479
|
+
TotalAlphaStaked: StorageDescriptor<[Key: number], bigint, false, never>;
|
|
12811
13480
|
/**
|
|
12812
13481
|
* DMAP ( hot, netuid ) --> alpha | Returns the total amount of alpha a hotkey owned in the last epoch.
|
|
12813
13482
|
*/
|
|
@@ -12828,6 +13497,18 @@ type IStorage = {
|
|
|
12828
13497
|
* NMAP ( hot, cold, netuid ) --> alpha | Returns the alpha shares for a hotkey, coldkey, netuid triplet, stores SafeFloat.
|
|
12829
13498
|
*/
|
|
12830
13499
|
AlphaV2: StorageDescriptor<Anonymize<I7svrbkiu01iec>, Anonymize<I9a0jm719fs81d>, false, never>;
|
|
13500
|
+
/**
|
|
13501
|
+
* DMAP ( hot, netuid ) --> epoch | Generation of the hotkey's alpha share pool on a subnet.
|
|
13502
|
+
* Incremented each time the pool is closed (its share denominator is written to zero
|
|
13503
|
+
* because the pool holds no value). Share rows stamped with an older epoch belong to a
|
|
13504
|
+
* closed pool and are read as absent, so they can never claim value deposited later.
|
|
13505
|
+
*/
|
|
13506
|
+
AlphaSharePoolEpoch: StorageDescriptor<Anonymize<I6ouflveob4eli>, bigint, false, never>;
|
|
13507
|
+
/**
|
|
13508
|
+
* NMAP ( hot, cold, netuid ) --> epoch | Pool epoch in which an `AlphaV2` (or legacy
|
|
13509
|
+
* `Alpha`) share row was last written. Absent means epoch 0.
|
|
13510
|
+
*/
|
|
13511
|
+
AlphaShareEpoch: StorageDescriptor<Anonymize<I7svrbkiu01iec>, bigint, false, never>;
|
|
12831
13512
|
/**
|
|
12832
13513
|
* DMAP ( coldkey, netuid, hotkey ) --> LockState | Exponential lock per coldkey per subnet.
|
|
12833
13514
|
*/
|
|
@@ -12987,7 +13668,7 @@ type IStorage = {
|
|
|
12987
13668
|
/**
|
|
12988
13669
|
* MAP ( RateLimitKey ) --> Block number in which the last rate limited operation occured
|
|
12989
13670
|
*/
|
|
12990
|
-
LastRateLimitedBlock: StorageDescriptor<[Key: Anonymize<
|
|
13671
|
+
LastRateLimitedBlock: StorageDescriptor<[Key: Anonymize<I5qeacfd1c156k>], bigint, false, never>;
|
|
12991
13672
|
/**
|
|
12992
13673
|
* MAP ( netuid ) --> transfer_toggle
|
|
12993
13674
|
*/
|
|
@@ -13282,6 +13963,10 @@ type IStorage = {
|
|
|
13282
13963
|
* MAP ( netuid ) --> (alpha_low, alpha_high)
|
|
13283
13964
|
*/
|
|
13284
13965
|
AlphaValues: StorageDescriptor<[Key: number], Anonymize<I9jd27rnpm8ttv>, false, never>;
|
|
13966
|
+
/**
|
|
13967
|
+
* Consensus mode used by liquid alpha for each subnet.
|
|
13968
|
+
*/
|
|
13969
|
+
LiquidAlphaConsensusMode: StorageDescriptor<[Key: number], Anonymize<I229aourr5nmc9>, false, never>;
|
|
13285
13970
|
/**
|
|
13286
13971
|
* MAP ( netuid ) --> If subtoken trading enabled
|
|
13287
13972
|
*/
|
|
@@ -13293,7 +13978,7 @@ type IStorage = {
|
|
|
13293
13978
|
/**
|
|
13294
13979
|
* ITEM ( current_dissolve_cleanup_status ) dissolve status for the network
|
|
13295
13980
|
*/
|
|
13296
|
-
CurrentDissolveCleanupStatus: StorageDescriptor<[], Anonymize<
|
|
13981
|
+
CurrentDissolveCleanupStatus: StorageDescriptor<[], Anonymize<I4iv0rnqs8i6fm>, true, never>;
|
|
13297
13982
|
/**
|
|
13298
13983
|
* ITEM ( network_registration_queue ) Network registrations waiting to be executed.
|
|
13299
13984
|
*/
|
|
@@ -13308,6 +13993,12 @@ type IStorage = {
|
|
|
13308
13993
|
* Used by smart contracts to determine validator voting power for subnet governance.
|
|
13309
13994
|
*/
|
|
13310
13995
|
VotingPower: StorageDescriptor<Anonymize<I7svnfko10tq2e>, bigint, false, never>;
|
|
13996
|
+
/**
|
|
13997
|
+
* MAP ( netuid ) --> total_voting_power | Sum of all validator voting-power
|
|
13998
|
+
* entries on the subnet. Kept in sync with `VotingPower` so consumers can
|
|
13999
|
+
* read the aggregate without iterating the complete validator map.
|
|
14000
|
+
*/
|
|
14001
|
+
TotalVotingPower: StorageDescriptor<[Key: number], bigint, false, never>;
|
|
13311
14002
|
/**
|
|
13312
14003
|
* MAP ( netuid ) --> bool | Whether voting power tracking is enabled for this subnet.
|
|
13313
14004
|
* When enabled, VotingPower EMA is updated every epoch. Default is false.
|
|
@@ -13355,6 +14046,10 @@ type IStorage = {
|
|
|
13355
14046
|
* MAP ( netuid ) --> consensus
|
|
13356
14047
|
*/
|
|
13357
14048
|
Consensus: StorageDescriptor<[Key: number], Anonymize<Icgljjb6j82uhn>, false, never>;
|
|
14049
|
+
/**
|
|
14050
|
+
* MAP ( netuid storage index ) --> previous epoch consensus for each mechanism
|
|
14051
|
+
*/
|
|
14052
|
+
ConsensusByMechanism: StorageDescriptor<[Key: number], Anonymize<Icgljjb6j82uhn>, false, never>;
|
|
13358
14053
|
/**
|
|
13359
14054
|
* MAP ( netuid ) --> incentive
|
|
13360
14055
|
*/
|
|
@@ -13472,16 +14167,103 @@ type IStorage = {
|
|
|
13472
14167
|
*/
|
|
13473
14168
|
RootStakeUnlockInterval: StorageDescriptor<[], bigint, false, never>;
|
|
13474
14169
|
/**
|
|
13475
|
-
* Master switch for `
|
|
13476
|
-
*
|
|
13477
|
-
*
|
|
13478
|
-
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
|
-
*
|
|
13482
|
-
*
|
|
14170
|
+
* Master switch for `swap_basket` (validator-directed basket rebalancing). Defaults to
|
|
14171
|
+
* OFF. Flipped on via `AdminUtils::sudo_set_basket_trading_enabled`. Gates only the
|
|
14172
|
+
* trade path: deposits, claims, dividend accrual, and all read paths are unaffected.
|
|
14173
|
+
*/
|
|
14174
|
+
BasketTradingEnabled: StorageDescriptor<[], boolean, false, never>;
|
|
14175
|
+
/**
|
|
14176
|
+
* --- SET ( validator_hotkey ) --> basket trading frozen for this fund.
|
|
14177
|
+
*
|
|
14178
|
+
* Per-fund kill switch set by governance (`AdminUtils::sudo_set_basket_trading_frozen`),
|
|
14179
|
+
* e.g. after a suspected key compromise. A frozen fund still accepts deposits and pays
|
|
14180
|
+
* claims; only `swap_basket` is refused. Follows the fund on hotkey swap.
|
|
14181
|
+
*/
|
|
14182
|
+
BasketTradingFrozen: StorageDescriptor<[Key: SS58String], null, true, never>;
|
|
14183
|
+
/**
|
|
14184
|
+
* --- ITEM --> capacity of a fund's `swap_basket` turnover bucket as a u16-normalized
|
|
14185
|
+
* share of the fund's NAV (`u16::MAX` = 100%). The bucket refills at
|
|
14186
|
+
* `capacity / BASKET_TRADE_REFILL_BLOCKS` per block, so at most one capacity can be
|
|
14187
|
+
* pushed through the fund at any instant and about one per day sustained. Each leg is
|
|
14188
|
+
* also bounded to [`crate::BASKET_TRADE_MAX_SLIPPAGE_BPS`] of *both* the moving price
|
|
14189
|
+
* and the spot price. Set via `AdminUtils::sudo_set_basket_daily_turnover_cap`.
|
|
14190
|
+
*/
|
|
14191
|
+
BasketDailyTurnoverCap: StorageDescriptor<[], number, false, never>;
|
|
14192
|
+
/**
|
|
14193
|
+
* --- ITEM --> max share of a subnet's alpha reserve (`SubnetAlphaIn`) a fund may hold
|
|
14194
|
+
* on that subnet after a `swap_basket` buy (u16-normalized, `u16::MAX` = 100%).
|
|
14195
|
+
*
|
|
14196
|
+
* The concentration cap ([`BasketConcentrationCap`]) marks holdings at realizable value, which
|
|
14197
|
+
* is bounded by the pool's TAO reserve, so on a thin pool a fund could keep buying while
|
|
14198
|
+
* counterparties sell back into its own price support and the realizable share never
|
|
14199
|
+
* grows. This cap bounds the fund's exposure to any one pool's liquidity instead: with
|
|
14200
|
+
* cap `L` the value at risk on a pool with TAO reserve `R` is about `R × L² / (1 + L)`
|
|
14201
|
+
* (≈ 1% of `R` at 10%). Set via `AdminUtils::sudo_set_basket_liquidity_cap`.
|
|
14202
|
+
*/
|
|
14203
|
+
BasketLiquidityCap: StorageDescriptor<[], number, false, never>;
|
|
14204
|
+
/**
|
|
14205
|
+
* --- ITEM --> cap, in rao, of the row-dust floor of a root claim. A claim skips a fund
|
|
14206
|
+
* row entirely when the fund's whole holding on that subnet is worth less than
|
|
14207
|
+
* `min(this cap, BasketClaimRowDustBps × anchored NAV)` at the anchored mark: the row is
|
|
14208
|
+
* neither sold nor paid, and the claimant's slice of it (below the floor by
|
|
14209
|
+
* construction) stays in the fund for the remaining holders. `0` disables the row skip.
|
|
14210
|
+
* Set via `AdminUtils::sudo_set_basket_claim_dust`.
|
|
14211
|
+
*/
|
|
14212
|
+
BasketClaimRowDustCapTao: StorageDescriptor<[], bigint, false, never>;
|
|
14213
|
+
/**
|
|
14214
|
+
* --- ITEM --> relative part of the row-dust floor, in basis points of the fund's
|
|
14215
|
+
* anchored NAV (see [`BasketClaimRowDustCapTao`]). Keeps the floor proportionate for
|
|
14216
|
+
* small funds. `0` disables the row skip. Set via `AdminUtils::sudo_set_basket_claim_dust`.
|
|
13483
14217
|
*/
|
|
13484
|
-
|
|
14218
|
+
BasketClaimRowDustBps: StorageDescriptor<[], number, false, never>;
|
|
14219
|
+
/**
|
|
14220
|
+
* --- ITEM --> rao value below which a root claim skips a fund row for this claimant:
|
|
14221
|
+
* when the claimant's pro-rata slice of the row is worth less than this at the anchored
|
|
14222
|
+
* mark, the row is neither sold nor paid and the slice stays in the fund for the
|
|
14223
|
+
* remaining holders. `0` disables the skip. Set via
|
|
14224
|
+
* `AdminUtils::sudo_set_basket_claim_dust`.
|
|
14225
|
+
*/
|
|
14226
|
+
BasketClaimSliceDustTao: StorageDescriptor<[], bigint, false, never>;
|
|
14227
|
+
/**
|
|
14228
|
+
* --- ITEM --> rao value a claimant's slice of a row may be worth, at the anchored
|
|
14229
|
+
* mark, and still be skipped by either dust rule. A row the rules mark as dust whose
|
|
14230
|
+
* slice for this claimant is worth more than this is sold as before, so no single
|
|
14231
|
+
* skipped slice ever leaves more than this in the fund. `0` turns every skip off (a
|
|
14232
|
+
* slice can only be skipped if it is worth nothing). Set via
|
|
14233
|
+
* `AdminUtils::sudo_set_basket_claim_dust`.
|
|
14234
|
+
*/
|
|
14235
|
+
BasketClaimForfeitCapTao: StorageDescriptor<[], bigint, false, never>;
|
|
14236
|
+
/**
|
|
14237
|
+
* --- MAP ( validator_hotkey ) --> `(tao_available, last_refill_block)` of the fund's
|
|
14238
|
+
* `swap_basket` turnover bucket. A missing row is a full bucket (a new fund starts full).
|
|
14239
|
+
* On each trade the bucket is refilled for the blocks elapsed since `last_refill_block`
|
|
14240
|
+
* at `budget / BASKET_TRADE_REFILL_BLOCKS` per block, clamped to one budget (NAV at
|
|
14241
|
+
* that moment), then the TAO through the middle of the swap is taken out. Follows the
|
|
14242
|
+
* fund on hotkey swap (lower level, later refill block).
|
|
14243
|
+
*/
|
|
14244
|
+
BasketTradeBucket: StorageDescriptor<[Key: SS58String], Anonymize<I200n1ov5tbcvr>, true, never>;
|
|
14245
|
+
/**
|
|
14246
|
+
* --- MAP ( validator_hotkey, netuid ) --> `(alpha_bought, last_block)` of
|
|
14247
|
+
* destination-pool flow used by `swap_basket` in the current refill window.
|
|
14248
|
+
*
|
|
14249
|
+
* The standing-position liquidity cap resets when the fund sells the holding
|
|
14250
|
+
* back to zero. This map does not: it accumulates alpha bought into `netuid`
|
|
14251
|
+
* and decays to zero over [`crate::BASKET_TRADE_REFILL_BLOCKS`], so
|
|
14252
|
+
* accumulate/unwind cycles cannot spend the turnover budget as band slack.
|
|
14253
|
+
* Follows the fund on hotkey swap (higher used, later block).
|
|
14254
|
+
*/
|
|
14255
|
+
BasketLiquidityUsed: StorageDescriptor<Anonymize<I6ouflveob4eli>, Anonymize<I200n1ov5tbcvr>, true, never>;
|
|
14256
|
+
/**
|
|
14257
|
+
* --- ITEM --> max share of a fund's NAV one holding may reach through a `swap_basket`
|
|
14258
|
+
* buy, u16-normalized (`u16::MAX` = 100%). Holdings are marked at realizable value. A
|
|
14259
|
+
* cap of 1/16 forces a traded fund to spread across at least 16 holdings, so trading
|
|
14260
|
+
* cannot recreate single-subnet concentration. Only buys are checked: a holding that
|
|
14261
|
+
* grows past the cap through price appreciation or in-place dividends is left alone
|
|
14262
|
+
* (it can be sold down, not topped up). Skipped at check time while fewer subnets
|
|
14263
|
+
* exist than the cap demands (young chains, tests). Set via
|
|
14264
|
+
* `AdminUtils::sudo_set_basket_concentration_cap`.
|
|
14265
|
+
*/
|
|
14266
|
+
BasketConcentrationCap: StorageDescriptor<[], number, false, never>;
|
|
13485
14267
|
/**
|
|
13486
14268
|
* Basket redemption is fund-level (not per-subnet), so only the `NetUid::ROOT` entry is
|
|
13487
14269
|
* consulted: a claim below `RootClaimableThreshold[ROOT]` TAO is skipped as dust. Other
|
|
@@ -13506,13 +14288,14 @@ type IStorage = {
|
|
|
13506
14288
|
* `(hotkey, escrow, netuid)` across subnets (the root slot is the fund's TAO/cash position),
|
|
13507
14289
|
* and its net asset value `N` is the realizable (slippage-aware) TAO value of those
|
|
13508
14290
|
* holdings. Stakers' entitlements are denominated in *fund shares*, never in any particular
|
|
13509
|
-
* subnet's alpha: deposits mint `value_added * P / N` shares, where `value_added`
|
|
13510
|
-
* realizable NAV the deposit actually added
|
|
13511
|
-
*
|
|
13512
|
-
*
|
|
13513
|
-
*
|
|
13514
|
-
*
|
|
13515
|
-
*
|
|
14291
|
+
* subnet's alpha: dividend deposits mint `value_added * P / N` shares, where `value_added`
|
|
14292
|
+
* is the realizable NAV the deposit actually added, and redemption pays the staker's owed
|
|
14293
|
+
* share fraction `owed / P` of every holding, sold pro-rata. Direct `stake_into_basket`
|
|
14294
|
+
* deposits additionally cap that NAV-priced mint by the fraction of every existing holding
|
|
14295
|
+
* actually acquired, so their proportional redemption cannot sell more units than they
|
|
14296
|
+
* bought. Their shares are credited through the signed [`BasketClaimed`] watermark. Because
|
|
14297
|
+
* entitlement is decoupled from composition, holdings can be rebalanced (validator-directed
|
|
14298
|
+
* trading, dissolution conversions) without touching any staker's claim.
|
|
13516
14299
|
*/
|
|
13517
14300
|
BasketShares: StorageDescriptor<[Key: SS58String], bigint, false, never>;
|
|
13518
14301
|
/**
|
|
@@ -13525,6 +14308,66 @@ type IStorage = {
|
|
|
13525
14308
|
* claimable.
|
|
13526
14309
|
*/
|
|
13527
14310
|
BasketRate: StorageDescriptor<[Key: SS58String], bigint, false, never>;
|
|
14311
|
+
/**
|
|
14312
|
+
* --- MAP ( validator_hotkey ) --> the fund's frozen display baseline (see
|
|
14313
|
+
* [`BetaBaselineOf`]).
|
|
14314
|
+
*
|
|
14315
|
+
* Stamped once at the fund's first share mint (or seeded from the frozen SDK table by
|
|
14316
|
+
* `migrate_stamp_beta_baselines` for funds that predate on-chain stamping) and never
|
|
14317
|
+
* rewritten, so the spliced display/stake prices stay continuous for the fund's whole
|
|
14318
|
+
* life. Scoped to one fund *life*: follows the fund on hotkey swap, and is retired
|
|
14319
|
+
* when the last share is claimed or a dust revival starts a new life (see
|
|
14320
|
+
* `retire_beta_display_state`), so an entry exists only while the fund has
|
|
14321
|
+
* outstanding shares. Also absent for funds born before this storage existed that
|
|
14322
|
+
* have not minted since; such funds price provisionally at the live index level
|
|
14323
|
+
* until their next mint stamps them.
|
|
14324
|
+
*/
|
|
14325
|
+
BetaBaseline: StorageDescriptor<[Key: SS58String], Anonymize<Ialhk5ui1mhg1h>, true, never>;
|
|
14326
|
+
/**
|
|
14327
|
+
* --- MAP ( validator_hotkey ) --> the fund's staker total-return accumulator.
|
|
14328
|
+
*
|
|
14329
|
+
* The one canonical root-staker return series. Starts at 1.0 and multiplies by
|
|
14330
|
+
* `1 + stakers_value / total_root_stake` on every dividend share mint — the value that
|
|
14331
|
+
* deposit actually added per rao of claimant root stake, locked in at the deposit's own
|
|
14332
|
+
* (realizable) pricing. Flows never move it; only dividends do. The staker return of
|
|
14333
|
+
* τ1 staked over any window (claim-and-restake convention) is `Twr(t1) / Twr(t0) - 1`,
|
|
14334
|
+
* so any two archive samples agree for every consumer. Everything staker-facing
|
|
14335
|
+
* derives from it: `stake_price` is this accumulator spliced onto the stake index
|
|
14336
|
+
* (`tr_splice × Twr`), and the index chains its relatives. The rate-delta figure
|
|
14337
|
+
* `(BasketRate - rate0) * price` is *not* an alternative return series — it is the
|
|
14338
|
+
* pending-entitlement mark (`staker_yield`), which re-values all accrued β at today's
|
|
14339
|
+
* price. Accumulates from the upgrade that introduced it; earlier history lives in the
|
|
14340
|
+
* seeded `tr_splice` (see `migrate_stamp_beta_baselines`). Like [`BetaBaseline`],
|
|
14341
|
+
* scoped to one fund life: moves on hotkey swap and is retired when the fund drains or
|
|
14342
|
+
* a dust revival starts a new life.
|
|
14343
|
+
*/
|
|
14344
|
+
BasketTwr: StorageDescriptor<[Key: SS58String], bigint, false, never>;
|
|
14345
|
+
/**
|
|
14346
|
+
* --- ITEM --> the latest published beta-index snapshot (see [`BetaIndexSnapshotOf`]).
|
|
14347
|
+
*
|
|
14348
|
+
* Refreshed by the paged background sweep in block processing; read by baseline stamps
|
|
14349
|
+
* so no state-changing path ever sweeps every fund inline. Absent until the first
|
|
14350
|
+
* pass after genesis (or the runtime upgrade that introduced it) completes; stamps
|
|
14351
|
+
* simply wait for the next mint while it is absent.
|
|
14352
|
+
*/
|
|
14353
|
+
BetaIndexSnapshot: StorageDescriptor<[], Anonymize<I57r7jpv7r3s9m>, true, never>;
|
|
14354
|
+
/**
|
|
14355
|
+
* --- ITEM --> in-progress paged beta-index sweep (see [`BetaIndexSweepOf`]).
|
|
14356
|
+
*
|
|
14357
|
+
* Present only mid-pass. `advance_beta_index_sweep` processes one strictly bounded
|
|
14358
|
+
* page per block and clears this on completion.
|
|
14359
|
+
*/
|
|
14360
|
+
BetaIndexSweep: StorageDescriptor<[], Anonymize<Ie5p7gv9nptpoc>, true, never>;
|
|
14361
|
+
/**
|
|
14362
|
+
* --- MAP ( validator_hotkey ) --> the fund's last completed index-sweep sample
|
|
14363
|
+
* (see [`BetaIndexFundSampleOf`]).
|
|
14364
|
+
*
|
|
14365
|
+
* Written by the sweep as it visits each fund (the current pass's sample replaces the
|
|
14366
|
+
* previous pass's in the same visit) and consumed as the start-of-period state of the
|
|
14367
|
+
* next pass's price relative. Removed when the fund becomes unpriceable, retires, or
|
|
14368
|
+
* starts a new life, so no relative ever chains across a gap in the fund's history.
|
|
14369
|
+
*/
|
|
14370
|
+
BetaIndexFundSample: StorageDescriptor<[Key: SS58String], Anonymize<I7r96a602oaap8>, true, never>;
|
|
13528
14371
|
/**
|
|
13529
14372
|
* --- DMAP ( validator_hotkey, staker_coldkey ) --> fund shares already claimed (watermark).
|
|
13530
14373
|
*
|
|
@@ -13593,6 +14436,12 @@ type IStorage = {
|
|
|
13593
14436
|
* MAP ( lease_id ) --> accumulated_dividends | The accumulated dividends for a given lease that needs to be distributed.
|
|
13594
14437
|
*/
|
|
13595
14438
|
AccumulatedLeaseDividends: StorageDescriptor<[Key: number], bigint, false, never>;
|
|
14439
|
+
/**
|
|
14440
|
+
* DMAP ( lease_id, contributor ) --> alpha | A contributor's dividend slices that could not
|
|
14441
|
+
* be transferred yet. The alpha stays in the lease position and is retried, for that
|
|
14442
|
+
* contributor only, at the next distribution.
|
|
14443
|
+
*/
|
|
14444
|
+
SubnetLeaseUnpaidDividends: StorageDescriptor<Anonymize<I7svnfko10tq2e>, bigint, false, never>;
|
|
13596
14445
|
/**
|
|
13597
14446
|
* ITEM ( CommitRevealWeightsVersion )
|
|
13598
14447
|
*/
|
|
@@ -13676,7 +14525,9 @@ type IStorage = {
|
|
|
13676
14525
|
/**
|
|
13677
14526
|
* MAP ( hotkey ) --> parent_delegation_enabled
|
|
13678
14527
|
*
|
|
13679
|
-
* When `true`, this root validator allows auto parent delegation
|
|
14528
|
+
* When `true`, this root validator allows auto parent delegation:
|
|
14529
|
+
* new subnets childkey existing root validators to the new owner,
|
|
14530
|
+
* and a new root validator childkeys to all current subnet owners.
|
|
13680
14531
|
* Defaults to `true`; validators can opt out at any time
|
|
13681
14532
|
* by calling `set_auto_parent_delegation_enabled(false)`.
|
|
13682
14533
|
*/
|
|
@@ -13741,7 +14592,7 @@ type IStorage = {
|
|
|
13741
14592
|
* The set of account proxies. Maps the account which has delegated to the accounts
|
|
13742
14593
|
* which are being delegated to, together with the amount held on deposit.
|
|
13743
14594
|
*/
|
|
13744
|
-
Proxies: StorageDescriptor<[Key: SS58String], Anonymize<
|
|
14595
|
+
Proxies: StorageDescriptor<[Key: SS58String], Anonymize<Ibbe63mdl8niqr>, false, never>;
|
|
13745
14596
|
/**
|
|
13746
14597
|
* The announcements made by the proxy (key).
|
|
13747
14598
|
*/
|
|
@@ -13749,24 +14600,35 @@ type IStorage = {
|
|
|
13749
14600
|
/**
|
|
13750
14601
|
* The result of the last call made by the proxy (key).
|
|
13751
14602
|
*/
|
|
13752
|
-
LastCallResult: StorageDescriptor<[Key: SS58String], Anonymize<
|
|
14603
|
+
LastCallResult: StorageDescriptor<[Key: SS58String], Anonymize<I2tgj23u15fhfj>, true, never>;
|
|
13753
14604
|
/**
|
|
13754
14605
|
* Tracks which (real, delegate) pairs have opted in to the real account paying
|
|
13755
14606
|
* transaction fees for proxy calls made by the delegate.
|
|
13756
14607
|
* Existence of an entry means the real account pays; absence means the delegate pays
|
|
13757
14608
|
* (default).
|
|
14609
|
+
*
|
|
14610
|
+
* The versioned prefix deliberately requires renewed consent after the authorization fix.
|
|
14611
|
+
* Legacy `RealPaysFee` entries cannot distinguish owner consent from restricted-proxy
|
|
14612
|
+
* grants, so copying them would preserve unauthorized spending permissions.
|
|
13758
14613
|
*/
|
|
13759
|
-
|
|
14614
|
+
RealPaysFeeConsentV1: StorageDescriptor<Anonymize<I2na29tt2afp0j>, null, true, never>;
|
|
13760
14615
|
};
|
|
13761
14616
|
Commitments: {
|
|
13762
14617
|
/**
|
|
13763
14618
|
* Tracks all CommitmentOf that have at least one timelocked field.
|
|
13764
14619
|
*/
|
|
13765
14620
|
TimelockedIndex: StorageDescriptor<[], Anonymize<I7nkl7ntqohel8>, false, never>;
|
|
14621
|
+
/**
|
|
14622
|
+
* Last `TimelockedIndex` entry visited by a reveal pass that hit the per-block
|
|
14623
|
+
* decryption budget. The next pass resumes after it so a burst of matured
|
|
14624
|
+
* commitments at the front of the index cannot starve the rest. Absent when the
|
|
14625
|
+
* previous pass covered the whole index.
|
|
14626
|
+
*/
|
|
14627
|
+
TimelockRevealCursor: StorageDescriptor<[], Anonymize<I7svnfko10tq2e>, true, never>;
|
|
13766
14628
|
/**
|
|
13767
14629
|
* Identity data by account
|
|
13768
14630
|
*/
|
|
13769
|
-
CommitmentOf: StorageDescriptor<Anonymize<I7svnfko10tq2e>, Anonymize<
|
|
14631
|
+
CommitmentOf: StorageDescriptor<Anonymize<I7svnfko10tq2e>, Anonymize<Ifjbhmqlrm96rb>, true, never>;
|
|
13770
14632
|
/**
|
|
13771
14633
|
*/
|
|
13772
14634
|
LastCommitment: StorageDescriptor<Anonymize<I7svnfko10tq2e>, number, true, never>;
|
|
@@ -13789,7 +14651,7 @@ type IStorage = {
|
|
|
13789
14651
|
/**
|
|
13790
14652
|
* Map PrecompileEnum --> enabled
|
|
13791
14653
|
*/
|
|
13792
|
-
PrecompileEnable: StorageDescriptor<[Key: Anonymize<
|
|
14654
|
+
PrecompileEnable: StorageDescriptor<[Key: Anonymize<Idfs9n0m9b3jp2>], boolean, false, never>;
|
|
13793
14655
|
};
|
|
13794
14656
|
SafeMode: {
|
|
13795
14657
|
/**
|
|
@@ -14099,6 +14961,11 @@ type IStorage = {
|
|
|
14099
14961
|
* Defaults to `false` so bare node deployments are safe; genesis sets it to `true`.
|
|
14100
14962
|
*/
|
|
14101
14963
|
LimitOrdersEnabled: StorageDescriptor<[], boolean, false, never>;
|
|
14964
|
+
/**
|
|
14965
|
+
* Output recorded by orders that declared `has_linked_order`, keyed by
|
|
14966
|
+
* the provider's `OrderId`. Single-use: the first linked draw removes it.
|
|
14967
|
+
*/
|
|
14968
|
+
LinkedOutputs: StorageDescriptor<[Key: SizedHex<32>], Anonymize<I7b1atpv3fba3o>, true, never>;
|
|
14102
14969
|
/**
|
|
14103
14970
|
* Tracks which named migrations have already been applied.
|
|
14104
14971
|
* Keyed by a short migration name; value is always `true`.
|
|
@@ -14370,19 +15237,6 @@ type ICalls = {
|
|
|
14370
15237
|
* * `MaxWeightExceeded`: Attempting to set weights with max value exceeding limit.
|
|
14371
15238
|
*/
|
|
14372
15239
|
set_weights: TxDescriptor<Anonymize<Icv6ofu4lqekr4>>;
|
|
14373
|
-
/**
|
|
14374
|
-
* --- Sets a root validator's basket distribution vector `w` on the root subnet
|
|
14375
|
-
* (netuid 0). `dests` are subnet netuids and `weights` are the proportions of the
|
|
14376
|
-
* validator's root dividends to deploy into each subnet's alpha basket.
|
|
14377
|
-
* Requires at least [`crate::MIN_ROOT_BASKET_WEIGHTS`] positive destinations
|
|
14378
|
-
* (softened when fewer networks exist).
|
|
14379
|
-
*
|
|
14380
|
-
* # Args:
|
|
14381
|
-
* * `origin`: the root validator hotkey.
|
|
14382
|
-
* * `dests` (Vec<u16>): destination subnet netuids.
|
|
14383
|
-
* * `weights` (Vec<u16>): per-subnet weights (normalized on use).
|
|
14384
|
-
*/
|
|
14385
|
-
set_root_weights: TxDescriptor<Anonymize<I9lpud8mopek2c>>;
|
|
14386
15240
|
/**
|
|
14387
15241
|
* Sets the caller weights for the incentive mechanism for mechanisms. The call
|
|
14388
15242
|
* can be made from the hotkey account so is potentially insecure, however, the damage
|
|
@@ -14871,7 +15725,17 @@ type ICalls = {
|
|
|
14871
15725
|
* Admission is burn-based: the coldkey pays the root burn price
|
|
14872
15726
|
* (demand-priced like subnet registration), recycled out of issuance.
|
|
14873
15727
|
* No prior stake is required. When the network is full, the
|
|
14874
|
-
* lowest-staked member is pruned to make room.
|
|
15728
|
+
* lowest-staked non-immune member is pruned to make room.
|
|
15729
|
+
*
|
|
15730
|
+
* After a successful registration, the hotkey is auto-childkeyed
|
|
15731
|
+
* to every existing subnet owner unless the validator opted out
|
|
15732
|
+
* of auto parent delegation. Pruning a seat clears that
|
|
15733
|
+
* validator's protocol auto-parent edges.
|
|
15734
|
+
*
|
|
15735
|
+
* Declared weight is `WeightInfo::root_register` plus a
|
|
15736
|
+
* `TotalNetworks`-scaled `DbWeight` term for the per-subnet
|
|
15737
|
+
* persist (and prune cleanup). Re-benchmark on reference
|
|
15738
|
+
* hardware so the base measurement includes that work.
|
|
14875
15739
|
*/
|
|
14876
15740
|
root_register: TxDescriptor<Anonymize<Ie7hipi75c7vn0>>;
|
|
14877
15741
|
/**
|
|
@@ -15083,6 +15947,11 @@ type ICalls = {
|
|
|
15083
15947
|
* * `NotEnoughStakeToWithdraw`: Thrown if there is not enough stake on the hotkey to withdraw this amount.
|
|
15084
15948
|
*
|
|
15085
15949
|
* * `TxRateLimitExceeded`: Thrown if key has hit transaction rate limit.
|
|
15950
|
+
*
|
|
15951
|
+
* The declared weight covers up to [`crate::MAX_UNSTAKE_ALL_LEGS`] positions
|
|
15952
|
+
* (one `remove_stake` plus a `StakingHotkeys` walk each) and is refunded to
|
|
15953
|
+
* the subnets actually visited and unstaked. Remaining positions stay for a
|
|
15954
|
+
* later call so the envelope fits the normal-class block.
|
|
15086
15955
|
*/
|
|
15087
15956
|
unstake_all: TxDescriptor<Anonymize<Ie7hipi75c7vn0>>;
|
|
15088
15957
|
/**
|
|
@@ -15104,6 +15973,11 @@ type ICalls = {
|
|
|
15104
15973
|
* * `NotEnoughStakeToWithdraw`: Thrown if there is not enough stake on the hotkey to withdraw this amount.
|
|
15105
15974
|
*
|
|
15106
15975
|
* * `TxRateLimitExceeded`: Thrown if key has hit transaction rate limit.
|
|
15976
|
+
*
|
|
15977
|
+
* The declared weight covers up to [`crate::MAX_UNSTAKE_ALL_LEGS`] positions
|
|
15978
|
+
* (one `remove_stake` plus a `StakingHotkeys` walk each) and is refunded to
|
|
15979
|
+
* the subnets actually visited and unstaked. Remaining positions stay for a
|
|
15980
|
+
* later call so the envelope fits the normal-class block.
|
|
15107
15981
|
*/
|
|
15108
15982
|
unstake_all_alpha: TxDescriptor<Anonymize<Ie7hipi75c7vn0>>;
|
|
15109
15983
|
/**
|
|
@@ -15120,7 +15994,9 @@ type ICalls = {
|
|
|
15120
15994
|
*
|
|
15121
15995
|
* * `destination_netuid`: The subnet ID to move stake to.
|
|
15122
15996
|
*
|
|
15123
|
-
* * `alpha_amount`: The alpha stake amount to move.
|
|
15997
|
+
* * `alpha_amount`: The alpha stake amount to move. `AlphaBalance::MAX`
|
|
15998
|
+
* means the live origin position at execution (so a preceding
|
|
15999
|
+
* `claim_root_with_hotkey` in the same batch is included).
|
|
15124
16000
|
*
|
|
15125
16001
|
*/
|
|
15126
16002
|
move_stake: TxDescriptor<Anonymize<I9d117ni3tprb>>;
|
|
@@ -15146,6 +16022,7 @@ type ICalls = {
|
|
|
15146
16022
|
* * `AmountTooLow`: The TAO-equivalent of the transfer is below the minimum stake requirement.
|
|
15147
16023
|
* * `TransferDisallowed`: Transfers are disabled on the origin or destination subnet.
|
|
15148
16024
|
* * `StakeUnavailable`: The remaining stake would not cover the locked amount on the origin subnet.
|
|
16025
|
+
* * `CannotUseSystemAccount`: The destination coldkey is the protocol-owned basket escrow.
|
|
15149
16026
|
*
|
|
15150
16027
|
* # Events
|
|
15151
16028
|
* May emit a `StakeTransferred` event on success.
|
|
@@ -15274,6 +16151,17 @@ type ICalls = {
|
|
|
15274
16151
|
* May emit a `StakeSwapped` event on success.
|
|
15275
16152
|
*/
|
|
15276
16153
|
swap_stake_limit: TxDescriptor<Anonymize<I6r22p9usi2mkl>>;
|
|
16154
|
+
/**
|
|
16155
|
+
* Moves stake from one hotkey to another and, when the subnets differ,
|
|
16156
|
+
* protects the swap with a relative price limit.
|
|
16157
|
+
*
|
|
16158
|
+
* `limit_price` is the minimum acceptable destination-alpha per
|
|
16159
|
+
* origin-alpha ratio, scaled by 1e9. When `allow_partial` is false the
|
|
16160
|
+
* call is fill-or-kill; otherwise it moves only the amount executable
|
|
16161
|
+
* before the limit is crossed. `alpha_amount` of `AlphaBalance::MAX`
|
|
16162
|
+
* means the live origin position at execution.
|
|
16163
|
+
*/
|
|
16164
|
+
move_stake_limit: TxDescriptor<Anonymize<Iflid9fim112b6>>;
|
|
15277
16165
|
/**
|
|
15278
16166
|
* Attempts to associate a hotkey with a coldkey.
|
|
15279
16167
|
*
|
|
@@ -15483,26 +16371,50 @@ type ICalls = {
|
|
|
15483
16371
|
* Claims the root emissions for a coldkey across every validator it root-stakes to.
|
|
15484
16372
|
*
|
|
15485
16373
|
* Redemption is fund-level: for each validator, the staker's accrued entitlement is
|
|
15486
|
-
*
|
|
15487
|
-
* The
|
|
15488
|
-
*
|
|
16374
|
+
* paid as their pro-rata fraction of the basket's full-liquidation NAV and staked on
|
|
16375
|
+
* root. The corresponding alpha fraction is sold; any concavity surplus over the
|
|
16376
|
+
* NAV-priced entitlement remains in the basket as root TAO for the other holders. The
|
|
16377
|
+
* `subnets` argument is retained for call-data compatibility with pre-basket clients;
|
|
16378
|
+
* it is ignored — baskets have no per-subnet claim selection.
|
|
15489
16379
|
*
|
|
15490
16380
|
* Prefer [`Pallet::claim_root_with_hotkey`] to claim a single validator.
|
|
15491
16381
|
*
|
|
16382
|
+
* Dust rows are not sold (see [`Pallet::claim_root_with_hotkey`]); the claimant's
|
|
16383
|
+
* slice of them stays in the fund. A claim that is admitted and then fails is
|
|
16384
|
+
* charged the work it did, not the declared envelope; a claim refused at admission
|
|
16385
|
+
* keeps the envelope.
|
|
16386
|
+
*
|
|
15492
16387
|
* # Arguments
|
|
15493
16388
|
* * `origin`: The signature of the caller's coldkey.
|
|
15494
16389
|
* * `subnets`: Ignored. Kept so old clients' encoded call data still decodes.
|
|
15495
16390
|
*
|
|
15496
16391
|
* # Events
|
|
15497
16392
|
* * `RootClaimed`: On successfully claiming the root emissions for a coldkey.
|
|
16393
|
+
* * `BasketClaimDustSkipped`: Per fund whose dust rows were left unsold.
|
|
16394
|
+
*
|
|
16395
|
+
* # Errors
|
|
16396
|
+
* * `RootClaimTooHeavy`: More hotkeys or fund rows than one claim may walk.
|
|
15498
16397
|
*/
|
|
15499
16398
|
claim_root: TxDescriptor<Anonymize<I2t4b7068rtebl>>;
|
|
15500
16399
|
/**
|
|
15501
16400
|
* Claims the root emissions for a coldkey on one validator hotkey.
|
|
15502
16401
|
*
|
|
15503
16402
|
* Redemption is fund-level for that validator: the staker's accrued entitlement is
|
|
15504
|
-
*
|
|
15505
|
-
*
|
|
16403
|
+
* paid as their pro-rata fraction of the basket's full-liquidation NAV and staked on
|
|
16404
|
+
* root. The corresponding alpha fraction is sold; any concavity surplus over the
|
|
16405
|
+
* NAV-priced entitlement remains in the basket as root TAO for the other holders.
|
|
16406
|
+
* Other validators' accrued yield is left untouched.
|
|
16407
|
+
*
|
|
16408
|
+
* Dust rows are not sold: a fund row worth less than
|
|
16409
|
+
* `min(BasketClaimRowDustCapTao, BasketClaimRowDustBps × anchored NAV)`, or one
|
|
16410
|
+
* whose slice for this claimant is worth less than `BasketClaimSliceDustTao`, is
|
|
16411
|
+
* skipped when that slice is also worth at most `BasketClaimForfeitCapTao` (all at
|
|
16412
|
+
* the anchored mark, which decides dust only). The claim burns the full
|
|
16413
|
+
* entitlement, so the claimant's slice of a skipped row — never more than the cap
|
|
16414
|
+
* at the anchored mark — is left to the remaining holders (`BasketClaimDustSkipped`
|
|
16415
|
+
* reports it). A claim
|
|
16416
|
+
* that is admitted and then fails is charged the work it did, not the declared
|
|
16417
|
+
* envelope; a claim refused at admission keeps the envelope.
|
|
15506
16418
|
*
|
|
15507
16419
|
* # Arguments
|
|
15508
16420
|
* * `origin`: The signature of the caller's coldkey.
|
|
@@ -15510,27 +16422,33 @@ type ICalls = {
|
|
|
15510
16422
|
*
|
|
15511
16423
|
* # Events
|
|
15512
16424
|
* * `RootClaimed`: On successfully claiming the root emissions for this coldkey+hotkey.
|
|
16425
|
+
* * `BasketClaimDustSkipped`: When the claim left dust rows unsold.
|
|
16426
|
+
*
|
|
16427
|
+
* # Errors
|
|
16428
|
+
* * `RootClaimTooHeavy`: The fund has more rows (or queued credits) than one claim
|
|
16429
|
+
* may walk.
|
|
15513
16430
|
*/
|
|
15514
16431
|
claim_root_with_hotkey: TxDescriptor<Anonymize<Ie7hipi75c7vn0>>;
|
|
15515
16432
|
/**
|
|
15516
16433
|
* Stakes TAO from the caller's balance directly into a validator's basket.
|
|
15517
16434
|
*
|
|
15518
|
-
* The TAO
|
|
15519
|
-
*
|
|
15520
|
-
*
|
|
15521
|
-
*
|
|
15522
|
-
*
|
|
15523
|
-
*
|
|
15524
|
-
*
|
|
15525
|
-
*
|
|
15526
|
-
*
|
|
15527
|
-
*
|
|
15528
|
-
* [`Pallet::
|
|
15529
|
-
* does not
|
|
16435
|
+
* The TAO enters by the fund's current holdings: it is split pro-rata across
|
|
16436
|
+
* every holding by realizable value and buys each one, so the deposit acquires
|
|
16437
|
+
* the exposure the fund already has and stays symmetric with claims (which
|
|
16438
|
+
* redeem pro-rata of every holding). A deposit into a fund with no holdings is
|
|
16439
|
+
* held as the fund's root (TAO cash) slot. Inflows never change a fund's
|
|
16440
|
+
* composition; only the validator's [`Pallet::swap_basket`] trades do. The
|
|
16441
|
+
* caller is credited a fund entitlement at the fund's pre-buy realizable NAV,
|
|
16442
|
+
* priced against the realizable value the deposit added — the depositor bears
|
|
16443
|
+
* their own entry slippage and swap fees.
|
|
16444
|
+
* The credited entitlement is redeemable through
|
|
16445
|
+
* [`Pallet::claim_root_with_hotkey`] (or coldkey-wide [`Pallet::claim_root`]);
|
|
16446
|
+
* it does not require or affect root stake, and it does not change any
|
|
16447
|
+
* staker's dividend accrual.
|
|
15530
16448
|
*
|
|
15531
16449
|
* # Arguments
|
|
15532
16450
|
* * `origin`: The signature of the caller's coldkey.
|
|
15533
|
-
* * `hotkey`: The validator whose basket to deposit into.
|
|
16451
|
+
* * `hotkey`: The root-registered validator whose basket to deposit into.
|
|
15534
16452
|
* * `amount_staked`: TAO to take from the caller's balance and deploy.
|
|
15535
16453
|
*
|
|
15536
16454
|
* # Events
|
|
@@ -15539,11 +16457,53 @@ type ICalls = {
|
|
|
15539
16457
|
*
|
|
15540
16458
|
* # Errors
|
|
15541
16459
|
* * `HotKeyAccountNotExists`: The hotkey is not a registered account.
|
|
15542
|
-
* * `
|
|
15543
|
-
*
|
|
16460
|
+
* * `HotKeyNotRegisteredInSubNet`: The hotkey is not registered on root.
|
|
16461
|
+
* * `AmountTooLow`: Below the minimum stake, the deposit's realizable value
|
|
16462
|
+
* rounds to zero entitlement, or a holding cannot be priced (or would receive
|
|
16463
|
+
* a zero-TAO slice) so the deposit cannot buy every position its shares claim.
|
|
15544
16464
|
* * `NotEnoughBalanceToStake`: The caller cannot cover `amount_staked`.
|
|
15545
16465
|
*/
|
|
15546
16466
|
stake_into_basket: TxDescriptor<Anonymize<I9946op5slcfjf>>;
|
|
16467
|
+
/**
|
|
16468
|
+
* --- Rebalances a root validator's beta basket: sells `amount` of the fund's
|
|
16469
|
+
* `origin_netuid` holding for TAO and buys `destination_netuid` with it. Either
|
|
16470
|
+
* side may be root (netuid 0), the fund's TAO cash slot. Fund shares and staker
|
|
16471
|
+
* entitlements are unchanged; only the fund's composition moves.
|
|
16472
|
+
*
|
|
16473
|
+
* Guardrails: each AMM leg must fill fully within 2% of the subnet's moving price;
|
|
16474
|
+
* the TAO through the middle is taken from the fund's turnover bucket
|
|
16475
|
+
* (`BasketDailyTurnoverCap` of NAV, refilling over 7200 blocks); the destination holding may not
|
|
16476
|
+
* end above `BasketLiquidityCap` of the destination pool's alpha reserve, nor above
|
|
16477
|
+
* `BasketConcentrationCap` of NAV. Trading must be enabled network-wide and not frozen for
|
|
16478
|
+
* the hotkey by governance. On top of the protocol band the caller may set its own
|
|
16479
|
+
* floor: the buy leg must credit at least `min_amount_out` or the trade rolls back.
|
|
16480
|
+
*
|
|
16481
|
+
* # Arguments
|
|
16482
|
+
* * `origin`: Signed by the coldkey that owns `hotkey` (or its `BasketTrading` proxy).
|
|
16483
|
+
* * `hotkey`: The root-registered validator whose basket to rebalance.
|
|
16484
|
+
* * `origin_netuid`: Subnet to sell out of (root = the TAO slot).
|
|
16485
|
+
* * `destination_netuid`: Subnet to buy into (root = the TAO slot).
|
|
16486
|
+
* * `amount`: Alpha of `origin_netuid` to sell (TAO at 1:1 when origin is root).
|
|
16487
|
+
* * `min_amount_out`: Least amount the buy leg must credit to the destination
|
|
16488
|
+
* holding, in `destination_netuid` alpha (rao of TAO when the destination is
|
|
16489
|
+
* root), after fees. `0` sets no floor; the 2% protocol band still applies.
|
|
16490
|
+
*
|
|
16491
|
+
* # Events
|
|
16492
|
+
* * `BasketSwapped`: On success, with the amounts on both legs.
|
|
16493
|
+
*
|
|
16494
|
+
* # Errors
|
|
16495
|
+
* * `BasketTradingDisabled`, `BasketTradingFrozen`: Gated off.
|
|
16496
|
+
* * `BasketSameSubnet`: Origin equals destination.
|
|
16497
|
+
* * `NonAssociatedColdKey`: Caller does not own `hotkey`.
|
|
16498
|
+
* * `HotKeyNotRegisteredInSubNet`: `hotkey` is not on root.
|
|
16499
|
+
* * `NotEnoughStakeToWithdraw`: The fund holds less than `amount` on origin.
|
|
16500
|
+
* * `SlippageTooHigh`: A leg could not fill within 2% of the moving price.
|
|
16501
|
+
* * `BasketMinOutNotMet`: The buy leg credited less than `min_amount_out`.
|
|
16502
|
+
* * `BasketTurnoverBudgetExceeded`: The trade exceeds what the fund's turnover bucket holds.
|
|
16503
|
+
* * `BasketLiquidityCapExceeded`: The destination holding would exceed the liquidity cap.
|
|
16504
|
+
* * `BasketConcentrationCapExceeded`: The destination would exceed the concentration cap.
|
|
16505
|
+
*/
|
|
16506
|
+
swap_basket: TxDescriptor<Anonymize<Ia8qodr4vtdlkh>>;
|
|
15547
16507
|
/**
|
|
15548
16508
|
* --- Sets the root claim dust threshold (sudo). Basket redemption is fund-level, so
|
|
15549
16509
|
* only the `NetUid::ROOT` entry is meaningful; other netuids are rejected.
|
|
@@ -15667,8 +16627,10 @@ type ICalls = {
|
|
|
15667
16627
|
*/
|
|
15668
16628
|
register_limit: TxDescriptor<Anonymize<I96vnf03ahk1m9>>;
|
|
15669
16629
|
/**
|
|
15670
|
-
* Allows a root validator to toggle auto parent delegation
|
|
15671
|
-
*
|
|
16630
|
+
* Allows a root validator to toggle auto parent delegation.
|
|
16631
|
+
* When enabled (the default), the validator is childkeyed to
|
|
16632
|
+
* subnet owners on new subnet registration and on this
|
|
16633
|
+
* validator's own root registration.
|
|
15672
16634
|
*/
|
|
15673
16635
|
set_auto_parent_delegation_enabled: TxDescriptor<Anonymize<Iavmlc8d5lfdju>>;
|
|
15674
16636
|
/**
|
|
@@ -15761,6 +16723,7 @@ type ICalls = {
|
|
|
15761
16723
|
* * `AmountTooLow`: The TAO-equivalent of the transfer is below the minimum stake requirement.
|
|
15762
16724
|
* * `TransferDisallowed`: Transfers are disabled on the origin or destination subnet.
|
|
15763
16725
|
* * `StakeUnavailable`: The remaining stake would not cover the locked amount on the origin subnet.
|
|
16726
|
+
* * `CannotUseSystemAccount`: The destination coldkey is the protocol-owned basket escrow.
|
|
15764
16727
|
*
|
|
15765
16728
|
* # Events
|
|
15766
16729
|
* May emit a `StakeAndHotkeyTransferred` event on success.
|
|
@@ -15853,7 +16816,7 @@ type ICalls = {
|
|
|
15853
16816
|
* and the error of the failed call. If all were successful, then the `BatchCompleted`
|
|
15854
16817
|
* event is deposited.
|
|
15855
16818
|
*/
|
|
15856
|
-
batch: TxDescriptor<Anonymize<
|
|
16819
|
+
batch: TxDescriptor<Anonymize<I6krirhcafusbj>>;
|
|
15857
16820
|
/**
|
|
15858
16821
|
* Send a call through an indexed pseudonym of the sender.
|
|
15859
16822
|
*
|
|
@@ -15869,7 +16832,7 @@ type ICalls = {
|
|
|
15869
16832
|
*
|
|
15870
16833
|
* The dispatch origin for this call must be _Signed_.
|
|
15871
16834
|
*/
|
|
15872
|
-
as_derivative: TxDescriptor<Anonymize<
|
|
16835
|
+
as_derivative: TxDescriptor<Anonymize<Ie5cqv9mpfc1m5>>;
|
|
15873
16836
|
/**
|
|
15874
16837
|
* Send a batch of dispatch calls and atomically execute them.
|
|
15875
16838
|
* The whole transaction will rollback and fail if any of the calls failed.
|
|
@@ -15885,7 +16848,7 @@ type ICalls = {
|
|
|
15885
16848
|
* ## Complexity
|
|
15886
16849
|
* - O(C) where C is the number of calls to be batched.
|
|
15887
16850
|
*/
|
|
15888
|
-
batch_all: TxDescriptor<Anonymize<
|
|
16851
|
+
batch_all: TxDescriptor<Anonymize<I6krirhcafusbj>>;
|
|
15889
16852
|
/**
|
|
15890
16853
|
* Dispatches a function call with a provided origin.
|
|
15891
16854
|
*
|
|
@@ -15894,7 +16857,7 @@ type ICalls = {
|
|
|
15894
16857
|
* ## Complexity
|
|
15895
16858
|
* - O(1).
|
|
15896
16859
|
*/
|
|
15897
|
-
dispatch_as: TxDescriptor<Anonymize<
|
|
16860
|
+
dispatch_as: TxDescriptor<Anonymize<I5nh7866g9ol18>>;
|
|
15898
16861
|
/**
|
|
15899
16862
|
* Send a batch of dispatch calls.
|
|
15900
16863
|
* Unlike `batch`, it allows errors and won't interrupt.
|
|
@@ -15910,7 +16873,7 @@ type ICalls = {
|
|
|
15910
16873
|
* ## Complexity
|
|
15911
16874
|
* - O(C) where C is the number of calls to be batched.
|
|
15912
16875
|
*/
|
|
15913
|
-
force_batch: TxDescriptor<Anonymize<
|
|
16876
|
+
force_batch: TxDescriptor<Anonymize<I6krirhcafusbj>>;
|
|
15914
16877
|
/**
|
|
15915
16878
|
* Dispatch a function call with a specified weight.
|
|
15916
16879
|
*
|
|
@@ -15919,7 +16882,7 @@ type ICalls = {
|
|
|
15919
16882
|
*
|
|
15920
16883
|
* The dispatch origin for this call must be _Root_.
|
|
15921
16884
|
*/
|
|
15922
|
-
with_weight: TxDescriptor<Anonymize<
|
|
16885
|
+
with_weight: TxDescriptor<Anonymize<I70imi2h82hc9j>>;
|
|
15923
16886
|
/**
|
|
15924
16887
|
* Dispatch a fallback call in the event the main call fails to execute.
|
|
15925
16888
|
* May be called from any origin except `None`.
|
|
@@ -15945,7 +16908,7 @@ type ICalls = {
|
|
|
15945
16908
|
* - Some use cases might involve submitting a `batch` type call in either main, fallback
|
|
15946
16909
|
* or both.
|
|
15947
16910
|
*/
|
|
15948
|
-
if_else: TxDescriptor<Anonymize<
|
|
16911
|
+
if_else: TxDescriptor<Anonymize<Iffcjm0pa10o6k>>;
|
|
15949
16912
|
/**
|
|
15950
16913
|
* Dispatches a function call with a provided origin.
|
|
15951
16914
|
*
|
|
@@ -15953,13 +16916,13 @@ type ICalls = {
|
|
|
15953
16916
|
*
|
|
15954
16917
|
* The dispatch origin for this call must be _Root_.
|
|
15955
16918
|
*/
|
|
15956
|
-
dispatch_as_fallible: TxDescriptor<Anonymize<
|
|
16919
|
+
dispatch_as_fallible: TxDescriptor<Anonymize<I5nh7866g9ol18>>;
|
|
15957
16920
|
};
|
|
15958
16921
|
Sudo: {
|
|
15959
16922
|
/**
|
|
15960
16923
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
15961
16924
|
*/
|
|
15962
|
-
sudo: TxDescriptor<Anonymize<
|
|
16925
|
+
sudo: TxDescriptor<Anonymize<I75087q1gjkeq7>>;
|
|
15963
16926
|
/**
|
|
15964
16927
|
* Authenticates the sudo key and dispatches a function call with `Root` origin.
|
|
15965
16928
|
* This function does not check the weight of the call, and instead allows the
|
|
@@ -15967,7 +16930,7 @@ type ICalls = {
|
|
|
15967
16930
|
*
|
|
15968
16931
|
* The dispatch origin for this call must be _Signed_.
|
|
15969
16932
|
*/
|
|
15970
|
-
sudo_unchecked_weight: TxDescriptor<Anonymize<
|
|
16933
|
+
sudo_unchecked_weight: TxDescriptor<Anonymize<I70imi2h82hc9j>>;
|
|
15971
16934
|
/**
|
|
15972
16935
|
* Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo
|
|
15973
16936
|
* key.
|
|
@@ -15979,7 +16942,7 @@ type ICalls = {
|
|
|
15979
16942
|
*
|
|
15980
16943
|
* The dispatch origin for this call must be _Signed_.
|
|
15981
16944
|
*/
|
|
15982
|
-
sudo_as: TxDescriptor<Anonymize<
|
|
16945
|
+
sudo_as: TxDescriptor<Anonymize<I1bgk7jqfhgcvh>>;
|
|
15983
16946
|
/**
|
|
15984
16947
|
* Permanently removes the sudo key.
|
|
15985
16948
|
*
|
|
@@ -16002,7 +16965,7 @@ type ICalls = {
|
|
|
16002
16965
|
* ## Complexity
|
|
16003
16966
|
* O(Z + C) where Z is the length of the call and C its execution weight.
|
|
16004
16967
|
*/
|
|
16005
|
-
as_multi_threshold_1: TxDescriptor<Anonymize<
|
|
16968
|
+
as_multi_threshold_1: TxDescriptor<Anonymize<I9o9jjp62ka9ds>>;
|
|
16006
16969
|
/**
|
|
16007
16970
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
16008
16971
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -16044,7 +17007,7 @@ type ICalls = {
|
|
|
16044
17007
|
* - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit
|
|
16045
17008
|
* taken for its lifetime of `DepositBase + threshold * DepositFactor`.
|
|
16046
17009
|
*/
|
|
16047
|
-
as_multi: TxDescriptor<Anonymize<
|
|
17010
|
+
as_multi: TxDescriptor<Anonymize<I6i6a8rcv8627c>>;
|
|
16048
17011
|
/**
|
|
16049
17012
|
* Register approval for a dispatch to be made from a deterministic composite account if
|
|
16050
17013
|
* approved by a total of `threshold - 1` of `other_signatories`.
|
|
@@ -16160,7 +17123,7 @@ type ICalls = {
|
|
|
16160
17123
|
/**
|
|
16161
17124
|
* Anonymously schedule a task.
|
|
16162
17125
|
*/
|
|
16163
|
-
schedule: TxDescriptor<Anonymize<
|
|
17126
|
+
schedule: TxDescriptor<Anonymize<I9psfsdblsmrj7>>;
|
|
16164
17127
|
/**
|
|
16165
17128
|
* Cancel an anonymously scheduled task.
|
|
16166
17129
|
*/
|
|
@@ -16168,7 +17131,7 @@ type ICalls = {
|
|
|
16168
17131
|
/**
|
|
16169
17132
|
* Schedule a named task.
|
|
16170
17133
|
*/
|
|
16171
|
-
schedule_named: TxDescriptor<Anonymize<
|
|
17134
|
+
schedule_named: TxDescriptor<Anonymize<Ic7j1jdi3fd6bu>>;
|
|
16172
17135
|
/**
|
|
16173
17136
|
* Cancel a named scheduled task.
|
|
16174
17137
|
*/
|
|
@@ -16176,11 +17139,11 @@ type ICalls = {
|
|
|
16176
17139
|
/**
|
|
16177
17140
|
* Anonymously schedule a task after a delay.
|
|
16178
17141
|
*/
|
|
16179
|
-
schedule_after: TxDescriptor<Anonymize<
|
|
17142
|
+
schedule_after: TxDescriptor<Anonymize<I55hdif1gsjubs>>;
|
|
16180
17143
|
/**
|
|
16181
17144
|
* Schedule a named task after a delay.
|
|
16182
17145
|
*/
|
|
16183
|
-
schedule_named_after: TxDescriptor<Anonymize<
|
|
17146
|
+
schedule_named_after: TxDescriptor<Anonymize<I9ard2ctaov151>>;
|
|
16184
17147
|
/**
|
|
16185
17148
|
* Set a retry configuration for a task so that, in case its scheduled run fails, it will
|
|
16186
17149
|
* be retried after `period` blocks, for a total amount of `retries` retries or until it
|
|
@@ -16232,7 +17195,7 @@ type ICalls = {
|
|
|
16232
17195
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
16233
17196
|
* - `call`: The call to be made by the `real` account.
|
|
16234
17197
|
*/
|
|
16235
|
-
proxy: TxDescriptor<Anonymize<
|
|
17198
|
+
proxy: TxDescriptor<Anonymize<I8eecp5lj213g5>>;
|
|
16236
17199
|
/**
|
|
16237
17200
|
* Register a proxy account for the sender that is able to make calls on its behalf.
|
|
16238
17201
|
*
|
|
@@ -16244,7 +17207,7 @@ type ICalls = {
|
|
|
16244
17207
|
* - `delay`: The announcement period required of the initial proxy. Will generally be
|
|
16245
17208
|
* zero.
|
|
16246
17209
|
*/
|
|
16247
|
-
add_proxy: TxDescriptor<Anonymize<
|
|
17210
|
+
add_proxy: TxDescriptor<Anonymize<I3ounjkfdo4m6u>>;
|
|
16248
17211
|
/**
|
|
16249
17212
|
* Unregister a proxy account for the sender.
|
|
16250
17213
|
*
|
|
@@ -16254,7 +17217,7 @@ type ICalls = {
|
|
|
16254
17217
|
* - `proxy`: The account that the `caller` would like to remove as a proxy.
|
|
16255
17218
|
* - `proxy_type`: The permissions currently enabled for the removed proxy account.
|
|
16256
17219
|
*/
|
|
16257
|
-
remove_proxy: TxDescriptor<Anonymize<
|
|
17220
|
+
remove_proxy: TxDescriptor<Anonymize<I3ounjkfdo4m6u>>;
|
|
16258
17221
|
/**
|
|
16259
17222
|
* Unregister all proxy accounts for the sender.
|
|
16260
17223
|
*
|
|
@@ -16284,7 +17247,7 @@ type ICalls = {
|
|
|
16284
17247
|
*
|
|
16285
17248
|
* Fails if there are insufficient funds to pay for deposit.
|
|
16286
17249
|
*/
|
|
16287
|
-
create_pure: TxDescriptor<Anonymize<
|
|
17250
|
+
create_pure: TxDescriptor<Anonymize<I8i9ii5oob5jeb>>;
|
|
16288
17251
|
/**
|
|
16289
17252
|
* Removes a previously spawned pure proxy.
|
|
16290
17253
|
*
|
|
@@ -16303,7 +17266,7 @@ type ICalls = {
|
|
|
16303
17266
|
* Fails with `NoPermission` in case the caller is not a previously created pure
|
|
16304
17267
|
* account whose `create_pure` call has corresponding parameters.
|
|
16305
17268
|
*/
|
|
16306
|
-
kill_pure: TxDescriptor<Anonymize<
|
|
17269
|
+
kill_pure: TxDescriptor<Anonymize<Ic5eup222limvr>>;
|
|
16307
17270
|
/**
|
|
16308
17271
|
* Publish the hash of a proxy-call that will be made in the future.
|
|
16309
17272
|
*
|
|
@@ -16361,7 +17324,7 @@ type ICalls = {
|
|
|
16361
17324
|
* - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call.
|
|
16362
17325
|
* - `call`: The call to be made by the `real` account.
|
|
16363
17326
|
*/
|
|
16364
|
-
proxy_announced: TxDescriptor<Anonymize<
|
|
17327
|
+
proxy_announced: TxDescriptor<Anonymize<I5f8o56bkooed7>>;
|
|
16365
17328
|
/**
|
|
16366
17329
|
* Poke / Adjust deposits made for proxies and announcements based on current values.
|
|
16367
17330
|
* This can be used by accounts to possibly lower their locked amount.
|
|
@@ -16391,7 +17354,7 @@ type ICalls = {
|
|
|
16391
17354
|
/**
|
|
16392
17355
|
* Set the commitment for a given netuid
|
|
16393
17356
|
*/
|
|
16394
|
-
set_commitment: TxDescriptor<Anonymize<
|
|
17357
|
+
set_commitment: TxDescriptor<Anonymize<I61t1b69aba6p0>>;
|
|
16395
17358
|
/**
|
|
16396
17359
|
* Sudo-set MaxSpace
|
|
16397
17360
|
*/
|
|
@@ -16670,6 +17633,10 @@ type ICalls = {
|
|
|
16670
17633
|
* Sets values for liquid alpha
|
|
16671
17634
|
*/
|
|
16672
17635
|
sudo_set_alpha_values: TxDescriptor<Anonymize<I71lu4gpn88cf0>>;
|
|
17636
|
+
/**
|
|
17637
|
+
* Sets which consensus values liquid alpha uses for a subnet.
|
|
17638
|
+
*/
|
|
17639
|
+
sudo_set_liquid_alpha_consensus_mode: TxDescriptor<Anonymize<Ibr3jgvn47f6ub>>;
|
|
16673
17640
|
/**
|
|
16674
17641
|
* Sets the duration of the dissolve network schedule.
|
|
16675
17642
|
*
|
|
@@ -16725,14 +17692,13 @@ type ICalls = {
|
|
|
16725
17692
|
*
|
|
16726
17693
|
* Schedule a change in the authorities.
|
|
16727
17694
|
*
|
|
16728
|
-
* The change
|
|
16729
|
-
*
|
|
16730
|
-
* the current block.
|
|
17695
|
+
* The change is applied at the end of the current block, so `in_blocks` must be 0. This
|
|
17696
|
+
* keeps the authority set and its set ID consistent in every persisted block state.
|
|
16731
17697
|
*
|
|
16732
17698
|
* If the `forced` parameter is defined, this indicates that the current set has been
|
|
16733
|
-
* synchronously determined to be offline
|
|
16734
|
-
*
|
|
16735
|
-
*
|
|
17699
|
+
* synchronously determined to be offline. The given block number indicates the median
|
|
17700
|
+
* last finalized block number and it should be used as the canon block when starting the
|
|
17701
|
+
* new grandpa voter.
|
|
16736
17702
|
*
|
|
16737
17703
|
* No change should be signaled while any change is pending. Returns an error if a change
|
|
16738
17704
|
* is already pending.
|
|
@@ -16776,7 +17742,7 @@ type ICalls = {
|
|
|
16776
17742
|
* # Weight
|
|
16777
17743
|
* Weight is handled by the `#[pallet::weight]` attribute.
|
|
16778
17744
|
*/
|
|
16779
|
-
sudo_toggle_evm_precompile: TxDescriptor<Anonymize<
|
|
17745
|
+
sudo_toggle_evm_precompile: TxDescriptor<Anonymize<I5emsms8keuaac>>;
|
|
16780
17746
|
/**
|
|
16781
17747
|
*
|
|
16782
17748
|
*
|
|
@@ -17045,13 +18011,54 @@ type ICalls = {
|
|
|
17045
18011
|
*/
|
|
17046
18012
|
sudo_set_collateral_drain_ratio: TxDescriptor<Anonymize<Ii5ndf7h688tr>>;
|
|
17047
18013
|
/**
|
|
17048
|
-
*
|
|
17049
|
-
*
|
|
17050
|
-
*
|
|
17051
|
-
*
|
|
17052
|
-
*
|
|
18014
|
+
* Sets the basket concentration cap ([`pallet_subtensor::BasketConcentrationCap`]):
|
|
18015
|
+
* the largest u16-normalized share (`u16::MAX` = 100%) of fund NAV any single
|
|
18016
|
+
* holding may reach through a `swap_basket` buy. A cap of `u16::MAX / 16 + 1`
|
|
18017
|
+
* forces traded funds to spread across at least 16 holdings. The check is skipped
|
|
18018
|
+
* while fewer subnets exist on chain than the cap demands. Root-only.
|
|
18019
|
+
*/
|
|
18020
|
+
sudo_set_basket_concentration_cap: TxDescriptor<Anonymize<Ieju6qo4sptvs6>>;
|
|
18021
|
+
/**
|
|
18022
|
+
* Enables or disables validator basket trading (`swap_basket`) network-wide.
|
|
18023
|
+
* Defaults OFF. Gates only the trade path: deposits, claims, dividend accrual,
|
|
18024
|
+
* and reads are unaffected. Root-only.
|
|
18025
|
+
*/
|
|
18026
|
+
sudo_set_basket_trading_enabled: TxDescriptor<Anonymize<I94dejtmu6d72i>>;
|
|
18027
|
+
/**
|
|
18028
|
+
* Freezes or unfreezes basket trading for one validator hotkey
|
|
18029
|
+
* ([`pallet_subtensor::BasketTradingFrozen`]), e.g. after a suspected key
|
|
18030
|
+
* compromise. A frozen fund still accepts deposits and pays claims. Root-only.
|
|
18031
|
+
*/
|
|
18032
|
+
sudo_set_basket_trading_frozen: TxDescriptor<Anonymize<Ifh6muqgp7cgvc>>;
|
|
18033
|
+
/**
|
|
18034
|
+
* Sets the basket daily turnover budget ([`pallet_subtensor::BasketDailyTurnoverCap`]):
|
|
18035
|
+
* the capacity of each fund's `swap_basket` turnover bucket as a u16-normalized share
|
|
18036
|
+
* of fund NAV (`u16::MAX` = 100%). The bucket refills over 7200 blocks, so at most one
|
|
18037
|
+
* capacity can be traded at any instant and about one per day sustained. Root-only.
|
|
17053
18038
|
*/
|
|
17054
|
-
|
|
18039
|
+
sudo_set_basket_daily_turnover_cap: TxDescriptor<Anonymize<Ieju6qo4sptvs6>>;
|
|
18040
|
+
/**
|
|
18041
|
+
* Sets the basket liquidity cap ([`pallet_subtensor::BasketLiquidityCap`]): the
|
|
18042
|
+
* largest u16-normalized share of a subnet's alpha reserve (`u16::MAX` = 100%) a fund
|
|
18043
|
+
* may hold on that subnet after a `swap_basket` buy. Bounds the fund's exposure to
|
|
18044
|
+
* any one pool's liquidity: with cap `L` the value at risk on a pool with TAO
|
|
18045
|
+
* reserve `R` is about `R × L² / (1 + L)`. Root-only.
|
|
18046
|
+
*/
|
|
18047
|
+
sudo_set_basket_liquidity_cap: TxDescriptor<Anonymize<Ieju6qo4sptvs6>>;
|
|
18048
|
+
/**
|
|
18049
|
+
* Sets the four root-claim dust knobs at once. A claim does not sell a fund row
|
|
18050
|
+
* whose whole holding is worth less than `min(row_cap_rao, row_bps × anchored NAV)`
|
|
18051
|
+
* ([`pallet_subtensor::BasketClaimRowDustCapTao`],
|
|
18052
|
+
* [`pallet_subtensor::BasketClaimRowDustBps`]), nor a row where the claimant's own
|
|
18053
|
+
* slice is worth less than `slice_rao` ([`pallet_subtensor::BasketClaimSliceDustTao`]),
|
|
18054
|
+
* provided that slice is worth at most `forfeit_cap_rao`
|
|
18055
|
+
* ([`pallet_subtensor::BasketClaimForfeitCapTao`]) — all at the anchored mark; the
|
|
18056
|
+
* skipped slices stay in the fund for the other holders. Zero turns the respective
|
|
18057
|
+
* skip off (a zero cap turns every skip off). `row_bps` is at most 10_000 (100%).
|
|
18058
|
+
* Declared at four times the sibling one-write basket setter's weight (four
|
|
18059
|
+
* writes; a dedicated benchmark exists for CI to measure). Root-only.
|
|
18060
|
+
*/
|
|
18061
|
+
sudo_set_basket_claim_dust: TxDescriptor<Anonymize<I1efeqe055hnfk>>;
|
|
17055
18062
|
/**
|
|
17056
18063
|
* Sets the per-block cap on subnet epochs (dynamic tempo throttle).
|
|
17057
18064
|
*/
|
|
@@ -17232,7 +18239,7 @@ type ICalls = {
|
|
|
17232
18239
|
* - `call`: The call to dispatch when the crowdloan is finalized.
|
|
17233
18240
|
* - `target_address`: The address to transfer the raised funds to.
|
|
17234
18241
|
*/
|
|
17235
|
-
create: TxDescriptor<Anonymize<
|
|
18242
|
+
create: TxDescriptor<Anonymize<Id7vjasec7na9g>>;
|
|
17236
18243
|
/**
|
|
17237
18244
|
* Contribute to an active crowdloan.
|
|
17238
18245
|
*
|
|
@@ -17269,6 +18276,8 @@ type ICalls = {
|
|
|
17269
18276
|
* When dispatching a call, the CurrentCrowdloanId will be set to the crowdloan id
|
|
17270
18277
|
* being finalized so the dispatched call can access it temporarily by accessing
|
|
17271
18278
|
* the `CurrentCrowdloanId` storage item.
|
|
18279
|
+
* The call must spend the full raised amount from the funds account; otherwise
|
|
18280
|
+
* finalization and any partial effects are rolled back.
|
|
17272
18281
|
*
|
|
17273
18282
|
* The dispatch origin for this call must be _Signed_ and must be the creator of the crowdloan.
|
|
17274
18283
|
*
|
|
@@ -17575,7 +18584,7 @@ type ICalls = {
|
|
|
17575
18584
|
* whole batch by returning the underlying error, reverting any orders
|
|
17576
18585
|
* already executed in this call.
|
|
17577
18586
|
*/
|
|
17578
|
-
execute_orders: TxDescriptor<Anonymize<
|
|
18587
|
+
execute_orders: TxDescriptor<Anonymize<I2gnn08emp92fv>>;
|
|
17579
18588
|
/**
|
|
17580
18589
|
* Execute a batch of signed limit orders for a single subnet using
|
|
17581
18590
|
* aggregated (netted) pool interaction.
|
|
@@ -17600,7 +18609,7 @@ type ICalls = {
|
|
|
17600
18609
|
* All orders in the batch must target `netuid`. Orders for a different
|
|
17601
18610
|
* subnet are skipped.
|
|
17602
18611
|
*/
|
|
17603
|
-
execute_batched_orders: TxDescriptor<Anonymize<
|
|
18612
|
+
execute_batched_orders: TxDescriptor<Anonymize<I39mr7pd2tq42p>>;
|
|
17604
18613
|
/**
|
|
17605
18614
|
* Register a cancellation intent for an order.
|
|
17606
18615
|
*
|
|
@@ -17608,7 +18617,7 @@ type ICalls = {
|
|
|
17608
18617
|
* provided so the pallet can derive the `OrderId`. Once marked
|
|
17609
18618
|
* Cancelled, the order can never be executed.
|
|
17610
18619
|
*/
|
|
17611
|
-
cancel_order: TxDescriptor<Anonymize<
|
|
18620
|
+
cancel_order: TxDescriptor<Anonymize<I2ki6vvodcknh0>>;
|
|
17612
18621
|
/**
|
|
17613
18622
|
* Set a status for the limit orders pallet
|
|
17614
18623
|
*
|
|
@@ -17617,6 +18626,11 @@ type ICalls = {
|
|
|
17617
18626
|
* true means enabling, false means disabling
|
|
17618
18627
|
*/
|
|
17619
18628
|
set_pallet_status: TxDescriptor<Anonymize<I94dejtmu6d72i>>;
|
|
18629
|
+
/**
|
|
18630
|
+
* Remove a provider record. The signer may prune at any time; anyone
|
|
18631
|
+
* may prune after `expires_at`. Moves no funds.
|
|
18632
|
+
*/
|
|
18633
|
+
prune_linked_output: TxDescriptor<Anonymize<Icounsrraf8e8l>>;
|
|
17620
18634
|
};
|
|
17621
18635
|
};
|
|
17622
18636
|
type IEvent = {
|
|
@@ -17628,7 +18642,7 @@ type IEvent = {
|
|
|
17628
18642
|
/**
|
|
17629
18643
|
* An extrinsic failed.
|
|
17630
18644
|
*/
|
|
17631
|
-
ExtrinsicFailed: PlainDescriptor<Anonymize<
|
|
18645
|
+
ExtrinsicFailed: PlainDescriptor<Anonymize<I474kpdjo5rcju>>;
|
|
17632
18646
|
/**
|
|
17633
18647
|
* `:code` was updated.
|
|
17634
18648
|
*/
|
|
@@ -17652,7 +18666,7 @@ type IEvent = {
|
|
|
17652
18666
|
/**
|
|
17653
18667
|
* An invalid authorized upgrade was rejected while trying to apply it.
|
|
17654
18668
|
*/
|
|
17655
|
-
RejectedInvalidAuthorizedUpgrade: PlainDescriptor<Anonymize<
|
|
18669
|
+
RejectedInvalidAuthorizedUpgrade: PlainDescriptor<Anonymize<Id6qp8mkqpsm2t>>;
|
|
17656
18670
|
};
|
|
17657
18671
|
Grandpa: {
|
|
17658
18672
|
/**
|
|
@@ -17793,7 +18807,8 @@ type IEvent = {
|
|
|
17793
18807
|
*/
|
|
17794
18808
|
WeightsSet: PlainDescriptor<Anonymize<I9jd27rnpm8ttv>>;
|
|
17795
18809
|
/**
|
|
17796
|
-
*
|
|
18810
|
+
* Retired (kept for SCALE index stability): emitted by the removed
|
|
18811
|
+
* `set_root_weights` extrinsic. Never emitted on current runtimes.
|
|
17797
18812
|
*/
|
|
17798
18813
|
RootWeightsSet: PlainDescriptor<number>;
|
|
17799
18814
|
/**
|
|
@@ -17971,7 +18986,7 @@ type IEvent = {
|
|
|
17971
18986
|
/**
|
|
17972
18987
|
* a sudo call is done.
|
|
17973
18988
|
*/
|
|
17974
|
-
Sudid: PlainDescriptor<Anonymize<
|
|
18989
|
+
Sudid: PlainDescriptor<Anonymize<I2tgj23u15fhfj>>;
|
|
17975
18990
|
/**
|
|
17976
18991
|
* registration is allowed/disallowed for a subnet.
|
|
17977
18992
|
*/
|
|
@@ -18157,7 +19172,7 @@ type IEvent = {
|
|
|
18157
19172
|
* * **netuid**: The netuid of the batch item that failed.
|
|
18158
19173
|
* * **error**: The dispatch error emitted by the failed item.
|
|
18159
19174
|
*/
|
|
18160
|
-
BatchWeightItemFailed: PlainDescriptor<Anonymize<
|
|
19175
|
+
BatchWeightItemFailed: PlainDescriptor<Anonymize<I2tborcevr26jg>>;
|
|
18161
19176
|
/**
|
|
18162
19177
|
* Stake has been transferred from one coldkey to another on the same subnet.
|
|
18163
19178
|
* Parameters:
|
|
@@ -18299,16 +19314,17 @@ type IEvent = {
|
|
|
18299
19314
|
*/
|
|
18300
19315
|
RootClaimed: PlainDescriptor<Anonymize<I1lh338fvf2g5i>>;
|
|
18301
19316
|
/**
|
|
18302
|
-
* A validator's beta basket (fund) received a dividend deposit: the dividend
|
|
18303
|
-
*
|
|
18304
|
-
* realizable NAV to the fund and minting `shares` fund shares at
|
|
19317
|
+
* A validator's beta basket (fund) received a dividend deposit: the dividend alpha
|
|
19318
|
+
* was credited in place to the fund's holding on the subnet it was earned on,
|
|
19319
|
+
* adding `tao` of realizable NAV to the fund and minting `shares` fund shares at
|
|
19320
|
+
* the pre-deposit NAV.
|
|
18305
19321
|
*/
|
|
18306
19322
|
BasketDeposited: PlainDescriptor<Anonymize<I8raosbmu7qne>>;
|
|
18307
19323
|
/**
|
|
18308
19324
|
* A staker deposited TAO from their balance directly into a validator's beta
|
|
18309
|
-
* basket: the TAO was
|
|
18310
|
-
* and `shares` fund shares were credited
|
|
18311
|
-
* watermark.
|
|
19325
|
+
* basket: the TAO was split across the fund's current holdings by value (or held
|
|
19326
|
+
* as the root cash slot of an empty fund) and `shares` fund shares were credited
|
|
19327
|
+
* to the staker via their claimed watermark.
|
|
18312
19328
|
*/
|
|
18313
19329
|
BasketStakedIn: PlainDescriptor<Anonymize<Ib9iq518ulvk6b>>;
|
|
18314
19330
|
/**
|
|
@@ -18433,13 +19449,59 @@ type IEvent = {
|
|
|
18433
19449
|
* A miner set the self-maintaining collateral floor for a hotkey.
|
|
18434
19450
|
*/
|
|
18435
19451
|
MinCollateralSet: PlainDescriptor<Anonymize<I8311u0vagk8ti>>;
|
|
19452
|
+
/**
|
|
19453
|
+
* A subnet's liquid-alpha consensus mode was updated.
|
|
19454
|
+
* Appended to preserve existing SCALE event indices.
|
|
19455
|
+
*/
|
|
19456
|
+
LiquidAlphaConsensusModeSet: PlainDescriptor<Anonymize<I3fk3bga536kbc>>;
|
|
19457
|
+
/**
|
|
19458
|
+
* A fund's frozen display baseline was stamped at its first share mint: its
|
|
19459
|
+
* index-spliced display and total-return stake prices start at the current
|
|
19460
|
+
* index levels from this block on (see `BetaBaseline` storage). Appended to
|
|
19461
|
+
* preserve existing SCALE event indices.
|
|
19462
|
+
*/
|
|
19463
|
+
BetaBaselineStamped: PlainDescriptor<Anonymize<Ie7hipi75c7vn0>>;
|
|
19464
|
+
/**
|
|
19465
|
+
* A terminally untradeable basket alpha slice was explicitly written off. This is
|
|
19466
|
+
* distinct from a swap/transfer failure: only a pool too shallow to execute any sale
|
|
19467
|
+
* is eligible, and removing the exact slice preserves every holder's fund proportion.
|
|
19468
|
+
* Appended to preserve existing SCALE event indices.
|
|
19469
|
+
*/
|
|
19470
|
+
BasketAlphaWrittenOff: PlainDescriptor<Anonymize<I5lc3fje3csiff>>;
|
|
19471
|
+
/**
|
|
19472
|
+
* A contributor's lease dividends could not be transferred this interval. The amount
|
|
19473
|
+
* is recorded against that contributor and retried at the next distribution.
|
|
19474
|
+
*/
|
|
19475
|
+
SubnetLeaseDividendSkipped: PlainDescriptor<Anonymize<Ic149bnrif7lpr>>;
|
|
19476
|
+
/**
|
|
19477
|
+
* A share pool's denominator was rewritten to the sum of its live shares, so every
|
|
19478
|
+
* member is quoted exactly its fraction of the pool value.
|
|
19479
|
+
*/
|
|
19480
|
+
SharePoolDenominatorReconciled: PlainDescriptor<Anonymize<I7f38r2vt6r9k1>>;
|
|
19481
|
+
/**
|
|
19482
|
+
* A validator rebalanced its beta basket: `alpha_sold` of `origin_netuid` was sold
|
|
19483
|
+
* for `tao_mid` TAO, which bought `alpha_bought` of `destination_netuid`. Fund
|
|
19484
|
+
* shares and staker entitlements are unaffected; only the fund's composition changed.
|
|
19485
|
+
*/
|
|
19486
|
+
BasketSwapped: PlainDescriptor<Anonymize<I4c943g1d2vpls>>;
|
|
19487
|
+
/**
|
|
19488
|
+
* A root claim skipped `rows` dust rows of the fund: rows whose whole holding was
|
|
19489
|
+
* worth less than `min(BasketClaimRowDustCapTao, BasketClaimRowDustBps × anchored
|
|
19490
|
+
* NAV)`, or whose slice for this claimant was worth less than
|
|
19491
|
+
* `BasketClaimSliceDustTao`, each worth at most `BasketClaimForfeitCapTao` for this
|
|
19492
|
+
* claimant, all at the anchored (fast-EMA-capped) mark. Those rows were neither sold
|
|
19493
|
+
* nor paid. The claim burned the whole entitlement, so the claimant's slices of those
|
|
19494
|
+
* rows — about `forfeited_tao_est` at the pre-sale realizable quote — stay in the fund
|
|
19495
|
+
* for the remaining holders.
|
|
19496
|
+
*/
|
|
19497
|
+
BasketClaimDustSkipped: PlainDescriptor<Anonymize<I2oi507u9m8p7e>>;
|
|
18436
19498
|
};
|
|
18437
19499
|
Utility: {
|
|
18438
19500
|
/**
|
|
18439
19501
|
* Batch of dispatches did not complete fully. Index of first failing dispatch given, as
|
|
18440
19502
|
* well as the error.
|
|
18441
19503
|
*/
|
|
18442
|
-
BatchInterrupted: PlainDescriptor<Anonymize<
|
|
19504
|
+
BatchInterrupted: PlainDescriptor<Anonymize<I1ljeiuva9p2f8>>;
|
|
18443
19505
|
/**
|
|
18444
19506
|
* Batch of dispatches completed fully with no error.
|
|
18445
19507
|
*/
|
|
@@ -18455,11 +19517,11 @@ type IEvent = {
|
|
|
18455
19517
|
/**
|
|
18456
19518
|
* A single item within a Batch of dispatches has completed with error.
|
|
18457
19519
|
*/
|
|
18458
|
-
ItemFailed: PlainDescriptor<Anonymize<
|
|
19520
|
+
ItemFailed: PlainDescriptor<Anonymize<I2d979qe85gckv>>;
|
|
18459
19521
|
/**
|
|
18460
19522
|
* A call was dispatched.
|
|
18461
19523
|
*/
|
|
18462
|
-
DispatchedAs: PlainDescriptor<Anonymize<
|
|
19524
|
+
DispatchedAs: PlainDescriptor<Anonymize<Idh038mr0ve455>>;
|
|
18463
19525
|
/**
|
|
18464
19526
|
* Main call was dispatched.
|
|
18465
19527
|
*/
|
|
@@ -18467,13 +19529,13 @@ type IEvent = {
|
|
|
18467
19529
|
/**
|
|
18468
19530
|
* The fallback call was dispatched.
|
|
18469
19531
|
*/
|
|
18470
|
-
IfElseFallbackCalled: PlainDescriptor<Anonymize<
|
|
19532
|
+
IfElseFallbackCalled: PlainDescriptor<Anonymize<I86e6l1su1si95>>;
|
|
18471
19533
|
};
|
|
18472
19534
|
Sudo: {
|
|
18473
19535
|
/**
|
|
18474
19536
|
* A sudo call just took place.
|
|
18475
19537
|
*/
|
|
18476
|
-
Sudid: PlainDescriptor<Anonymize<
|
|
19538
|
+
Sudid: PlainDescriptor<Anonymize<Iep7dr37rblk5l>>;
|
|
18477
19539
|
/**
|
|
18478
19540
|
* The sudo key has been updated.
|
|
18479
19541
|
*/
|
|
@@ -18485,7 +19547,7 @@ type IEvent = {
|
|
|
18485
19547
|
/**
|
|
18486
19548
|
* A [sudo_as](Pallet::sudo_as) call just took place.
|
|
18487
19549
|
*/
|
|
18488
|
-
SudoAsDone: PlainDescriptor<Anonymize<
|
|
19550
|
+
SudoAsDone: PlainDescriptor<Anonymize<Iep7dr37rblk5l>>;
|
|
18489
19551
|
};
|
|
18490
19552
|
Multisig: {
|
|
18491
19553
|
/**
|
|
@@ -18499,7 +19561,7 @@ type IEvent = {
|
|
|
18499
19561
|
/**
|
|
18500
19562
|
* A multisig operation has been executed.
|
|
18501
19563
|
*/
|
|
18502
|
-
MultisigExecuted: PlainDescriptor<Anonymize<
|
|
19564
|
+
MultisigExecuted: PlainDescriptor<Anonymize<I686omifdantj9>>;
|
|
18503
19565
|
/**
|
|
18504
19566
|
* A multisig operation has been cancelled.
|
|
18505
19567
|
*/
|
|
@@ -18535,7 +19597,7 @@ type IEvent = {
|
|
|
18535
19597
|
/**
|
|
18536
19598
|
* Dispatched some task.
|
|
18537
19599
|
*/
|
|
18538
|
-
Dispatched: PlainDescriptor<Anonymize<
|
|
19600
|
+
Dispatched: PlainDescriptor<Anonymize<I7d5m523quh7c1>>;
|
|
18539
19601
|
/**
|
|
18540
19602
|
* Set a retry configuration for some task.
|
|
18541
19603
|
*/
|
|
@@ -18570,16 +19632,16 @@ type IEvent = {
|
|
|
18570
19632
|
/**
|
|
18571
19633
|
* A proxy was executed correctly, with the given.
|
|
18572
19634
|
*/
|
|
18573
|
-
ProxyExecuted: PlainDescriptor<Anonymize<
|
|
19635
|
+
ProxyExecuted: PlainDescriptor<Anonymize<Idh038mr0ve455>>;
|
|
18574
19636
|
/**
|
|
18575
19637
|
* A pure account has been created by new proxy with given
|
|
18576
19638
|
* disambiguation index and proxy type.
|
|
18577
19639
|
*/
|
|
18578
|
-
PureCreated: PlainDescriptor<Anonymize<
|
|
19640
|
+
PureCreated: PlainDescriptor<Anonymize<I4h005nshv9cmm>>;
|
|
18579
19641
|
/**
|
|
18580
19642
|
* A pure proxy was killed by its spawner.
|
|
18581
19643
|
*/
|
|
18582
|
-
PureKilled: PlainDescriptor<Anonymize<
|
|
19644
|
+
PureKilled: PlainDescriptor<Anonymize<I65ie0pg8a2o2r>>;
|
|
18583
19645
|
/**
|
|
18584
19646
|
* An announcement was placed to make a call in the future.
|
|
18585
19647
|
*/
|
|
@@ -18587,11 +19649,11 @@ type IEvent = {
|
|
|
18587
19649
|
/**
|
|
18588
19650
|
* A proxy was added.
|
|
18589
19651
|
*/
|
|
18590
|
-
ProxyAdded: PlainDescriptor<Anonymize<
|
|
19652
|
+
ProxyAdded: PlainDescriptor<Anonymize<Ieglriopqk5p81>>;
|
|
18591
19653
|
/**
|
|
18592
19654
|
* A proxy was removed.
|
|
18593
19655
|
*/
|
|
18594
|
-
ProxyRemoved: PlainDescriptor<Anonymize<
|
|
19656
|
+
ProxyRemoved: PlainDescriptor<Anonymize<Ieglriopqk5p81>>;
|
|
18595
19657
|
/**
|
|
18596
19658
|
* A deposit stored for proxies or announcements was poked / updated.
|
|
18597
19659
|
*/
|
|
@@ -18614,12 +19676,16 @@ type IEvent = {
|
|
|
18614
19676
|
* A timelock-encrypted commitment was auto-revealed
|
|
18615
19677
|
*/
|
|
18616
19678
|
CommitmentRevealed: PlainDescriptor<Anonymize<Idcqgi2844k5he>>;
|
|
19679
|
+
/**
|
|
19680
|
+
* A timelock-encrypted commitment could not be revealed and was left in place
|
|
19681
|
+
*/
|
|
19682
|
+
CommitmentRevealFailed: PlainDescriptor<Anonymize<I4k7lbqu1hockt>>;
|
|
18617
19683
|
};
|
|
18618
19684
|
AdminUtils: {
|
|
18619
19685
|
/**
|
|
18620
19686
|
* Event emitted when a precompile operation is updated.
|
|
18621
19687
|
*/
|
|
18622
|
-
PrecompileUpdated: PlainDescriptor<Anonymize<
|
|
19688
|
+
PrecompileUpdated: PlainDescriptor<Anonymize<I5emsms8keuaac>>;
|
|
18623
19689
|
/**
|
|
18624
19690
|
* Event emitted when the Yuma3 enable is toggled.
|
|
18625
19691
|
*/
|
|
@@ -18649,10 +19715,30 @@ type IEvent = {
|
|
|
18649
19715
|
*/
|
|
18650
19716
|
CollateralDrainRatioSet: PlainDescriptor<Anonymize<Ii5ndf7h688tr>>;
|
|
18651
19717
|
/**
|
|
18652
|
-
*
|
|
18653
|
-
|
|
19718
|
+
* The basket concentration cap (`BasketConcentrationCap`) was set.
|
|
19719
|
+
*/
|
|
19720
|
+
BasketConcentrationCapSet: PlainDescriptor<Anonymize<Ieju6qo4sptvs6>>;
|
|
19721
|
+
/**
|
|
19722
|
+
* Validator basket trading (`swap_basket`) was enabled or disabled network-wide.
|
|
19723
|
+
*/
|
|
19724
|
+
BasketTradingToggled: PlainDescriptor<Anonymize<I94dejtmu6d72i>>;
|
|
19725
|
+
/**
|
|
19726
|
+
* Basket trading was frozen or unfrozen for one validator hotkey.
|
|
19727
|
+
*/
|
|
19728
|
+
BasketTradingFrozenSet: PlainDescriptor<Anonymize<Ifh6muqgp7cgvc>>;
|
|
19729
|
+
/**
|
|
19730
|
+
* The basket daily turnover budget (`BasketDailyTurnoverCap`) was set.
|
|
19731
|
+
*/
|
|
19732
|
+
BasketDailyTurnoverCapSet: PlainDescriptor<Anonymize<Ieju6qo4sptvs6>>;
|
|
19733
|
+
/**
|
|
19734
|
+
* The basket liquidity cap (`BasketLiquidityCap`) was set.
|
|
19735
|
+
*/
|
|
19736
|
+
BasketLiquidityCapSet: PlainDescriptor<Anonymize<Ieju6qo4sptvs6>>;
|
|
19737
|
+
/**
|
|
19738
|
+
* The root-claim dust floors were set (`BasketClaimRowDustCapTao`,
|
|
19739
|
+
* `BasketClaimRowDustBps`, `BasketClaimSliceDustTao`, `BasketClaimForfeitCapTao`).
|
|
18654
19740
|
*/
|
|
18655
|
-
|
|
19741
|
+
BasketClaimDustSet: PlainDescriptor<Anonymize<I1efeqe055hnfk>>;
|
|
18656
19742
|
};
|
|
18657
19743
|
SafeMode: {
|
|
18658
19744
|
/**
|
|
@@ -18872,7 +19958,7 @@ type IEvent = {
|
|
|
18872
19958
|
/**
|
|
18873
19959
|
* Extrinsic dispatch failed during on_initialize.
|
|
18874
19960
|
*/
|
|
18875
|
-
ExtrinsicDispatchFailed: PlainDescriptor<Anonymize<
|
|
19961
|
+
ExtrinsicDispatchFailed: PlainDescriptor<Anonymize<I1ljeiuva9p2f8>>;
|
|
18876
19962
|
/**
|
|
18877
19963
|
* Extrinsic was successfully dispatched during on_initialize.
|
|
18878
19964
|
*/
|
|
@@ -18914,7 +20000,7 @@ type IEvent = {
|
|
|
18914
20000
|
/**
|
|
18915
20001
|
* An order was skipped during execution.
|
|
18916
20002
|
*/
|
|
18917
|
-
OrderSkipped: PlainDescriptor<Anonymize<
|
|
20003
|
+
OrderSkipped: PlainDescriptor<Anonymize<I7fsb2ggi0p38u>>;
|
|
18918
20004
|
/**
|
|
18919
20005
|
* A user registered a cancellation intent for their order.
|
|
18920
20006
|
*/
|
|
@@ -18927,6 +20013,18 @@ type IEvent = {
|
|
|
18927
20013
|
* Root has either enabled(true) or disabled(false) the pallet
|
|
18928
20014
|
*/
|
|
18929
20015
|
LimitOrdersPalletStatusChanged: PlainDescriptor<Anonymize<I94dejtmu6d72i>>;
|
|
20016
|
+
/**
|
|
20017
|
+
* A provider order recorded its post-fee output for a later linked draw.
|
|
20018
|
+
*/
|
|
20019
|
+
LinkedOutputRecorded: PlainDescriptor<Anonymize<I3bo03q6favt23>>;
|
|
20020
|
+
/**
|
|
20021
|
+
* A linked order drew against a provider record, consuming it.
|
|
20022
|
+
*/
|
|
20023
|
+
LinkedOutputConsumed: PlainDescriptor<Anonymize<Icp9q94f7t4cvv>>;
|
|
20024
|
+
/**
|
|
20025
|
+
* A provider record was removed without being drawn.
|
|
20026
|
+
*/
|
|
20027
|
+
LinkedOutputPruned: PlainDescriptor<Anonymize<I4ei8bi736no30>>;
|
|
18930
20028
|
};
|
|
18931
20029
|
};
|
|
18932
20030
|
type IError = {
|
|
@@ -19239,8 +20337,8 @@ type IError = {
|
|
|
19239
20337
|
*/
|
|
19240
20338
|
RegistrationNotPermittedOnRootSubnet: PlainDescriptor<undefined>;
|
|
19241
20339
|
/**
|
|
19242
|
-
*
|
|
19243
|
-
*
|
|
20340
|
+
* A root registrant must hold at least as much root stake as the seat it
|
|
20341
|
+
* would evict.
|
|
19244
20342
|
*/
|
|
19245
20343
|
StakeTooLowForRoot: PlainDescriptor<undefined>;
|
|
19246
20344
|
/**
|
|
@@ -19701,8 +20799,8 @@ type IError = {
|
|
|
19701
20799
|
*/
|
|
19702
20800
|
ColdkeyCollateralPositionsFull: PlainDescriptor<undefined>;
|
|
19703
20801
|
/**
|
|
19704
|
-
* Retired (kept for SCALE index stability): direct basket deposits into
|
|
19705
|
-
*
|
|
20802
|
+
* Retired (kept for SCALE index stability): direct basket deposits into a fund
|
|
20803
|
+
* with no holdings are held as the fund's root (TAO cash) slot instead of
|
|
19706
20804
|
* erroring.
|
|
19707
20805
|
*/
|
|
19708
20806
|
BasketHasNoWeights: PlainDescriptor<undefined>;
|
|
@@ -19713,19 +20811,91 @@ type IError = {
|
|
|
19713
20811
|
*/
|
|
19714
20812
|
RootStakeLocked: PlainDescriptor<undefined>;
|
|
19715
20813
|
/**
|
|
19716
|
-
* The `migrate_seed_beta_basket_v2` seed
|
|
19717
|
-
*
|
|
19718
|
-
*
|
|
19719
|
-
*
|
|
20814
|
+
* The `migrate_seed_beta_basket_v2` seed has not completed. Basket deposits, claims,
|
|
20815
|
+
* coldkey / root-touching hotkey swaps, and root stake add/remove/transfer/swap are
|
|
20816
|
+
* paused until it finishes so snapshotted conversion cannot desync from live stake
|
|
20817
|
+
* (`Σ owed == BasketShares`).
|
|
19720
20818
|
*/
|
|
19721
20819
|
BetaBasketSeedInProgress: PlainDescriptor<undefined>;
|
|
19722
20820
|
/**
|
|
19723
|
-
*
|
|
19724
|
-
*
|
|
19725
|
-
*
|
|
19726
|
-
* governance or a later upgrade.
|
|
20821
|
+
* Retired (kept for SCALE index stability): the `set_root_weights` extrinsic and
|
|
20822
|
+
* its network-wide gate were removed. Funds have no target vector; dividends
|
|
20823
|
+
* accumulate in place and composition changes only through `swap_basket`.
|
|
19727
20824
|
*/
|
|
19728
20825
|
RootWeightSettingDisabled: PlainDescriptor<undefined>;
|
|
20826
|
+
/**
|
|
20827
|
+
* A root claim would process more root hotkeys and basket rows than the
|
|
20828
|
+
* fixed admission envelope. Use
|
|
20829
|
+
* `claim_root_with_hotkey` per validator so admission weight matches
|
|
20830
|
+
* the holdings actually walked.
|
|
20831
|
+
*/
|
|
20832
|
+
RootClaimTooHeavy: PlainDescriptor<undefined>;
|
|
20833
|
+
/**
|
|
20834
|
+
* Retired (kept for SCALE index stability on the 463 testnet/devnet runtime):
|
|
20835
|
+
* `set_root_weights` concentration cap. The live guard is
|
|
20836
|
+
* [`Error::BasketConcentrationCapExceeded`].
|
|
20837
|
+
*/
|
|
20838
|
+
RootWeightCapExceeded: PlainDescriptor<undefined>;
|
|
20839
|
+
/**
|
|
20840
|
+
* A queued root-dividend deposit could not be settled. Operations which change
|
|
20841
|
+
* the hotkey's root claimant base must retry after the deposit becomes executable.
|
|
20842
|
+
*/
|
|
20843
|
+
BasketDepositPending: PlainDescriptor<undefined>;
|
|
20844
|
+
/**
|
|
20845
|
+
* A per-subnet weight batch is empty or has more items than there are networks.
|
|
20846
|
+
*/
|
|
20847
|
+
InvalidBatchLength: PlainDescriptor<undefined>;
|
|
20848
|
+
/**
|
|
20849
|
+
* The destination coldkey already stakes through the maximum number of hotkeys
|
|
20850
|
+
* that third-party transfers may add, or the signer's own `StakingHotkeys` list is
|
|
20851
|
+
* at its cap. Staking to a hotkey the coldkey already stakes through is still
|
|
20852
|
+
* accepted.
|
|
20853
|
+
*/
|
|
20854
|
+
TooManyStakingHotkeys: PlainDescriptor<undefined>;
|
|
20855
|
+
/**
|
|
20856
|
+
* The coldkey stakes through more hotkeys, or holds more stake positions, than a
|
|
20857
|
+
* coldkey swap can move in one call. Consolidate (unstake or move stake) first.
|
|
20858
|
+
*/
|
|
20859
|
+
ColdkeySwapTooHeavy: PlainDescriptor<undefined>;
|
|
20860
|
+
/**
|
|
20861
|
+
* A `swap_basket` buy would leave the destination holding above
|
|
20862
|
+
* [`crate::BasketConcentrationCap`] of fund NAV (holdings marked at realizable
|
|
20863
|
+
* value). With the cap at 1/16 a traded fund must spread across at least 16
|
|
20864
|
+
* holdings. Not enforced while the chain has fewer subnets than the cap demands.
|
|
20865
|
+
*/
|
|
20866
|
+
BasketConcentrationCapExceeded: PlainDescriptor<undefined>;
|
|
20867
|
+
/**
|
|
20868
|
+
* `swap_basket` is disabled network-wide ([`crate::BasketTradingEnabled`] is false).
|
|
20869
|
+
*/
|
|
20870
|
+
BasketTradingDisabled: PlainDescriptor<undefined>;
|
|
20871
|
+
/**
|
|
20872
|
+
* Basket trading is frozen for this validator hotkey by governance
|
|
20873
|
+
* ([`crate::BasketTradingFrozen`]).
|
|
20874
|
+
*/
|
|
20875
|
+
BasketTradingFrozen: PlainDescriptor<undefined>;
|
|
20876
|
+
/**
|
|
20877
|
+
* The trade would push more TAO through the fund than its turnover bucket holds
|
|
20878
|
+
* ([`crate::BasketDailyTurnoverCap`] of fund NAV, refilling over
|
|
20879
|
+
* [`crate::BASKET_TRADE_REFILL_BLOCKS`]). Wait for the bucket to refill or trade
|
|
20880
|
+
* a smaller amount.
|
|
20881
|
+
*/
|
|
20882
|
+
BasketTurnoverBudgetExceeded: PlainDescriptor<undefined>;
|
|
20883
|
+
/**
|
|
20884
|
+
* `swap_basket` origin and destination are the same subnet.
|
|
20885
|
+
*/
|
|
20886
|
+
BasketSameSubnet: PlainDescriptor<undefined>;
|
|
20887
|
+
/**
|
|
20888
|
+
* The trade would leave the fund holding more of the destination subnet than
|
|
20889
|
+
* [`crate::BasketLiquidityCap`] allows as a share of that subnet's alpha reserve.
|
|
20890
|
+
* Trade a smaller amount or pick a deeper pool.
|
|
20891
|
+
*/
|
|
20892
|
+
BasketLiquidityCapExceeded: PlainDescriptor<undefined>;
|
|
20893
|
+
/**
|
|
20894
|
+
* The `swap_basket` buy leg credited less than the caller's `min_amount_out`
|
|
20895
|
+
* (destination alpha, or TAO when the destination is root). The trade rolled
|
|
20896
|
+
* back. Re-quote and retry, or lower the floor.
|
|
20897
|
+
*/
|
|
20898
|
+
BasketMinOutNotMet: PlainDescriptor<undefined>;
|
|
19729
20899
|
};
|
|
19730
20900
|
Utility: {
|
|
19731
20901
|
/**
|
|
@@ -19917,6 +21087,10 @@ type IError = {
|
|
|
19917
21087
|
* Indicates that unreserve returned a leftover, which is unexpected.
|
|
19918
21088
|
*/
|
|
19919
21089
|
UnexpectedUnreserveLeftover: PlainDescriptor<undefined>;
|
|
21090
|
+
/**
|
|
21091
|
+
* `TimelockRevealFailed` fields may only be created by the runtime.
|
|
21092
|
+
*/
|
|
21093
|
+
TimelockRevealFailedNotAllowed: PlainDescriptor<undefined>;
|
|
19920
21094
|
};
|
|
19921
21095
|
AdminUtils: {
|
|
19922
21096
|
/**
|
|
@@ -19983,6 +21157,10 @@ type IError = {
|
|
|
19983
21157
|
* The collateral drain ratio must be positive and at most the settable maximum.
|
|
19984
21158
|
*/
|
|
19985
21159
|
CollateralDrainRatioOutOfBounds: PlainDescriptor<undefined>;
|
|
21160
|
+
/**
|
|
21161
|
+
* GRANDPA changes must take effect at the end of the current block.
|
|
21162
|
+
*/
|
|
21163
|
+
GrandpaChangeDelayMustBeZero: PlainDescriptor<undefined>;
|
|
19986
21164
|
};
|
|
19987
21165
|
SafeMode: {
|
|
19988
21166
|
/**
|
|
@@ -20221,6 +21399,10 @@ type IError = {
|
|
|
20221
21399
|
* The minimum contribution is too high.
|
|
20222
21400
|
*/
|
|
20223
21401
|
MinimumContributionTooHigh: PlainDescriptor<undefined>;
|
|
21402
|
+
/**
|
|
21403
|
+
* The finalization call did not spend the full amount raised.
|
|
21404
|
+
*/
|
|
21405
|
+
FundsNotSettled: PlainDescriptor<undefined>;
|
|
20224
21406
|
};
|
|
20225
21407
|
Swap: {
|
|
20226
21408
|
/**
|
|
@@ -20547,6 +21729,42 @@ type IError = {
|
|
|
20547
21729
|
* differently-composed batch.
|
|
20548
21730
|
*/
|
|
20549
21731
|
ZeroShareInBatch: PlainDescriptor<undefined>;
|
|
21732
|
+
/**
|
|
21733
|
+
* Linked order named a provider with no recorded output.
|
|
21734
|
+
*/
|
|
21735
|
+
NoLinkedOutput: PlainDescriptor<undefined>;
|
|
21736
|
+
/**
|
|
21737
|
+
* Linked order signer differs from the provider's signer.
|
|
21738
|
+
*/
|
|
21739
|
+
LinkedOutputSignerMismatch: PlainDescriptor<undefined>;
|
|
21740
|
+
/**
|
|
21741
|
+
* Provider output asset is not what the linked order spends.
|
|
21742
|
+
*/
|
|
21743
|
+
LinkedOutputAssetMismatch: PlainDescriptor<undefined>;
|
|
21744
|
+
/**
|
|
21745
|
+
* Provider record has passed its `expires_at` deadline.
|
|
21746
|
+
*/
|
|
21747
|
+
LinkedOutputExpired: PlainDescriptor<undefined>;
|
|
21748
|
+
/**
|
|
21749
|
+
* Linked fraction floored to zero against the recorded output.
|
|
21750
|
+
*/
|
|
21751
|
+
LinkedAmountResolvedToZero: PlainDescriptor<undefined>;
|
|
21752
|
+
/**
|
|
21753
|
+
* Partial fill submitted against a linked (consuming) order.
|
|
21754
|
+
*/
|
|
21755
|
+
PartialFillNotSupportedForLinkedAmount: PlainDescriptor<undefined>;
|
|
21756
|
+
/**
|
|
21757
|
+
* Partial fill submitted against a provider (`has_linked_order`).
|
|
21758
|
+
*/
|
|
21759
|
+
PartialFillNotSupportedForProvider: PlainDescriptor<undefined>;
|
|
21760
|
+
/**
|
|
21761
|
+
* `prune_linked_output` called by a non-signer on an unexpired record.
|
|
21762
|
+
*/
|
|
21763
|
+
LinkedOutputNotPrunable: PlainDescriptor<undefined>;
|
|
21764
|
+
/**
|
|
21765
|
+
* The order owner is temporarily prohibited from moving funds.
|
|
21766
|
+
*/
|
|
21767
|
+
OrderSignerFrozen: PlainDescriptor<undefined>;
|
|
20550
21768
|
};
|
|
20551
21769
|
};
|
|
20552
21770
|
type IConstants = {
|
|
@@ -21255,6 +22473,10 @@ type IConstants = {
|
|
|
21255
22473
|
* this in the runtime configuration.
|
|
21256
22474
|
*/
|
|
21257
22475
|
PalletHotkey: PlainDescriptor<SS58String>;
|
|
22476
|
+
/**
|
|
22477
|
+
* How long, in milliseconds, a provider's recorded output stays drawable.
|
|
22478
|
+
*/
|
|
22479
|
+
LinkedOutputTtl: PlainDescriptor<bigint>;
|
|
21258
22480
|
};
|
|
21259
22481
|
};
|
|
21260
22482
|
type IViewFns = {
|
|
@@ -21262,11 +22484,11 @@ type IViewFns = {
|
|
|
21262
22484
|
/**
|
|
21263
22485
|
* Check if a `RuntimeCall` is allowed for a given `ProxyType`.
|
|
21264
22486
|
*/
|
|
21265
|
-
check_permissions: RuntimeDescriptor<[call: Anonymize<
|
|
22487
|
+
check_permissions: RuntimeDescriptor<[call: Anonymize<Ifqpkj93u7u816>, proxy_type: Anonymize<I4855cvrampgh6>], boolean>;
|
|
21266
22488
|
/**
|
|
21267
22489
|
* Check if one `ProxyType` is a subset of another `ProxyType`.
|
|
21268
22490
|
*/
|
|
21269
|
-
is_superset: RuntimeDescriptor<[to_check: Anonymize<
|
|
22491
|
+
is_superset: RuntimeDescriptor<[to_check: Anonymize<I4855cvrampgh6>, against: Anonymize<I4855cvrampgh6>], boolean>;
|
|
21270
22492
|
};
|
|
21271
22493
|
};
|
|
21272
22494
|
type IRuntimeCalls = {
|
|
@@ -21319,7 +22541,7 @@ type IRuntimeCalls = {
|
|
|
21319
22541
|
* Returns an inclusion outcome which specifies if this extrinsic is included in
|
|
21320
22542
|
* this block or not.
|
|
21321
22543
|
*/
|
|
21322
|
-
apply_extrinsic: RuntimeDescriptor<[extrinsic: Uint8Array], Anonymize<
|
|
22544
|
+
apply_extrinsic: RuntimeDescriptor<[extrinsic: Uint8Array], Anonymize<I6jkah5k0508u5>>;
|
|
21323
22545
|
/**
|
|
21324
22546
|
* Finish the current block.
|
|
21325
22547
|
*/
|
|
@@ -21519,11 +22741,11 @@ type IRuntimeCalls = {
|
|
|
21519
22741
|
/**
|
|
21520
22742
|
* Query information of a dispatch class, weight, and fee of a given encoded `Call`.
|
|
21521
22743
|
*/
|
|
21522
|
-
query_call_info: RuntimeDescriptor<[call: Anonymize<
|
|
22744
|
+
query_call_info: RuntimeDescriptor<[call: Anonymize<Ifqpkj93u7u816>, len: number], Anonymize<I6spmpef2c7svf>>;
|
|
21523
22745
|
/**
|
|
21524
22746
|
* Query fee details of a given encoded `Call`.
|
|
21525
22747
|
*/
|
|
21526
|
-
query_call_fee_details: RuntimeDescriptor<[call: Anonymize<
|
|
22748
|
+
query_call_fee_details: RuntimeDescriptor<[call: Anonymize<Ifqpkj93u7u816>, len: number], Anonymize<Iei2mvq0mjvt81>>;
|
|
21527
22749
|
/**
|
|
21528
22750
|
* Query the output of the current `WeightToFee` given some input.
|
|
21529
22751
|
*/
|
|
@@ -21563,10 +22785,10 @@ type IRuntimeCalls = {
|
|
|
21563
22785
|
storage_at: RuntimeDescriptor<[address: SizedHex<20>, index: Anonymize<I4totqt881mlti>], SizedHex<32>>;
|
|
21564
22786
|
/**
|
|
21565
22787
|
*/
|
|
21566
|
-
call: RuntimeDescriptor<[from: SizedHex<20>, to: SizedHex<20>, data: Uint8Array, value: Anonymize<I4totqt881mlti>, gas_limit: Anonymize<I4totqt881mlti>, max_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, max_priority_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, nonce: Anonymize<Ic4rgfgksgmm3e>, estimate: boolean, access_list: Anonymize<I3dj14b7k3rkm5>, authorization_list: Anonymize<Ic5egmm215ml6k>], Anonymize<
|
|
22788
|
+
call: RuntimeDescriptor<[from: SizedHex<20>, to: SizedHex<20>, data: Uint8Array, value: Anonymize<I4totqt881mlti>, gas_limit: Anonymize<I4totqt881mlti>, max_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, max_priority_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, nonce: Anonymize<Ic4rgfgksgmm3e>, estimate: boolean, access_list: Anonymize<I3dj14b7k3rkm5>, authorization_list: Anonymize<Ic5egmm215ml6k>], Anonymize<I4lbgficb22f1i>>;
|
|
21567
22789
|
/**
|
|
21568
22790
|
*/
|
|
21569
|
-
create: RuntimeDescriptor<[from: SizedHex<20>, data: Uint8Array, value: Anonymize<I4totqt881mlti>, gas_limit: Anonymize<I4totqt881mlti>, max_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, max_priority_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, nonce: Anonymize<Ic4rgfgksgmm3e>, estimate: boolean, access_list: Anonymize<I3dj14b7k3rkm5>, authorization_list: Anonymize<Ic5egmm215ml6k>], Anonymize<
|
|
22791
|
+
create: RuntimeDescriptor<[from: SizedHex<20>, data: Uint8Array, value: Anonymize<I4totqt881mlti>, gas_limit: Anonymize<I4totqt881mlti>, max_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, max_priority_fee_per_gas: Anonymize<Ic4rgfgksgmm3e>, nonce: Anonymize<Ic4rgfgksgmm3e>, estimate: boolean, access_list: Anonymize<I3dj14b7k3rkm5>, authorization_list: Anonymize<Ic5egmm215ml6k>], Anonymize<I19vcmto68hf1n>>;
|
|
21570
22792
|
/**
|
|
21571
22793
|
* Return the current block.
|
|
21572
22794
|
*/
|
|
@@ -21624,19 +22846,19 @@ type IRuntimeCalls = {
|
|
|
21624
22846
|
*
|
|
21625
22847
|
* See [`crate::Pallet::bare_call`].
|
|
21626
22848
|
*/
|
|
21627
|
-
call: RuntimeDescriptor<[origin: SS58String, dest: SS58String, value: bigint, gas_limit: Anonymize<Iasb8k6ash5mjn>, storage_deposit_limit: Anonymize<I35p85j063s0il>, input_data: Uint8Array], Anonymize<
|
|
22849
|
+
call: RuntimeDescriptor<[origin: SS58String, dest: SS58String, value: bigint, gas_limit: Anonymize<Iasb8k6ash5mjn>, storage_deposit_limit: Anonymize<I35p85j063s0il>, input_data: Uint8Array], Anonymize<I1i5gcj1g66t9s>>;
|
|
21628
22850
|
/**
|
|
21629
22851
|
* Instantiate a new contract.
|
|
21630
22852
|
*
|
|
21631
22853
|
* See `[crate::Pallet::bare_instantiate]`.
|
|
21632
22854
|
*/
|
|
21633
|
-
instantiate: RuntimeDescriptor<[origin: SS58String, value: bigint, gas_limit: Anonymize<Iasb8k6ash5mjn>, storage_deposit_limit: Anonymize<I35p85j063s0il>, code: Anonymize<I9sijb8gfrns29>, data: Uint8Array, salt: Uint8Array], Anonymize<
|
|
22855
|
+
instantiate: RuntimeDescriptor<[origin: SS58String, value: bigint, gas_limit: Anonymize<Iasb8k6ash5mjn>, storage_deposit_limit: Anonymize<I35p85j063s0il>, code: Anonymize<I9sijb8gfrns29>, data: Uint8Array, salt: Uint8Array], Anonymize<I8rnr9khmpumvg>>;
|
|
21634
22856
|
/**
|
|
21635
22857
|
* Upload new code without instantiating a contract from it.
|
|
21636
22858
|
*
|
|
21637
22859
|
* See [`crate::Pallet::bare_upload_code`].
|
|
21638
22860
|
*/
|
|
21639
|
-
upload_code: RuntimeDescriptor<[origin: SS58String, code: Uint8Array, storage_deposit_limit: Anonymize<I35p85j063s0il>, determinism: Anonymize<I2dfliekq1ed7e>], Anonymize<
|
|
22861
|
+
upload_code: RuntimeDescriptor<[origin: SS58String, code: Uint8Array, storage_deposit_limit: Anonymize<I35p85j063s0il>, determinism: Anonymize<I2dfliekq1ed7e>], Anonymize<Idtedbn12sqdfp>>;
|
|
21640
22862
|
/**
|
|
21641
22863
|
* Query a given storage key in a given contract.
|
|
21642
22864
|
*
|
|
@@ -21800,23 +23022,79 @@ type IRuntimeCalls = {
|
|
|
21800
23022
|
* Network-wide total beta basket NAV across all validators, in TAO (marked).
|
|
21801
23023
|
*/
|
|
21802
23024
|
get_root_basket_total_nav: RuntimeDescriptor<[], bigint>;
|
|
21803
|
-
/**
|
|
21804
|
-
* A validator's basket weight vector `w`: (subnet, weight) it deploys dividends into.
|
|
21805
|
-
*/
|
|
21806
|
-
get_validator_weights: RuntimeDescriptor<[hotkey: SS58String], Anonymize<I95g6i7ilua7lq>>;
|
|
21807
23025
|
/**
|
|
21808
23026
|
* Full explorer-facing summary of one validator's basket: NAV (realizable and spot),
|
|
21809
|
-
* shares, lifetime deposit/redemption counters,
|
|
23027
|
+
* shares, lifetime deposit/redemption counters, and per-subnet holdings.
|
|
21810
23028
|
*/
|
|
21811
|
-
get_validator_basket_summary: RuntimeDescriptor<[hotkey: SS58String], Anonymize<
|
|
23029
|
+
get_validator_basket_summary: RuntimeDescriptor<[hotkey: SS58String], Anonymize<Icj6me7ae49ft9>>;
|
|
21812
23030
|
/**
|
|
21813
23031
|
* Summaries for every validator with an active basket (network-wide leaderboard).
|
|
21814
23032
|
*/
|
|
21815
|
-
get_all_validator_baskets: RuntimeDescriptor<[], Anonymize<
|
|
23033
|
+
get_all_validator_baskets: RuntimeDescriptor<[], Anonymize<I9tml3ucf2ji9>>;
|
|
21816
23034
|
/**
|
|
21817
23035
|
* A staker's positions across all its validators: (hotkey, owed shares, payout TAO).
|
|
21818
23036
|
*/
|
|
21819
23037
|
get_root_basket_positions: RuntimeDescriptor<[coldkey: SS58String], Anonymize<I4h6ivgjtd51lv>>;
|
|
23038
|
+
/**
|
|
23039
|
+
* One staker's share-denominated position on one validator: owed shares, outstanding
|
|
23040
|
+
* supply, fund NAV, and the position's realizable and spot TAO values. `None` when
|
|
23041
|
+
* the staker has no owed shares there.
|
|
23042
|
+
*/
|
|
23043
|
+
get_basket_position: RuntimeDescriptor<[hotkey: SS58String, coldkey: SS58String], Anonymize<I489vg7ldsoqco>>;
|
|
23044
|
+
/**
|
|
23045
|
+
* A coldkey's full basket portfolio: one share-denominated position per validator
|
|
23046
|
+
* on which it has owed shares.
|
|
23047
|
+
*/
|
|
23048
|
+
get_root_basket_portfolio: RuntimeDescriptor<[coldkey: SS58String], Anonymize<Itk4us3dujtnq>>;
|
|
23049
|
+
/**
|
|
23050
|
+
* One fund's standardized pricing snapshot (index-spliced display price,
|
|
23051
|
+
* total-return stake price, staker yield, published index levels), or `None`
|
|
23052
|
+
* when the hotkey has no outstanding shares. The single source of truth every
|
|
23053
|
+
* consumer should display. Reads the published index snapshot in O(1) and
|
|
23054
|
+
* scans only this fund's holdings.
|
|
23055
|
+
*/
|
|
23056
|
+
get_beta_pricing: RuntimeDescriptor<[hotkey: SS58String], Anonymize<I1kko85se1j76q>>;
|
|
23057
|
+
/**
|
|
23058
|
+
* One bounded page of pricing snapshots for funds with outstanding shares, all
|
|
23059
|
+
* marked against the same published index snapshot. `limit` is clamped to a
|
|
23060
|
+
* hard per-call cap (0 = full page); the returned `next` cursor resumes the
|
|
23061
|
+
* enumeration (`None` when complete), so the full leaderboard is a short loop
|
|
23062
|
+
* of bounded calls instead of one unbounded scan.
|
|
23063
|
+
*/
|
|
23064
|
+
get_all_beta_pricing: RuntimeDescriptor<[start_after: Anonymize<Ihfphjolmsqq1>, limit: number], Anonymize<I1ekgmgbc7944g>>;
|
|
23065
|
+
/**
|
|
23066
|
+
* The published `(bag index, stake index)` levels: the chained NAV-weighted
|
|
23067
|
+
* display-price index (mix performance, flow-neutral) and the chained
|
|
23068
|
+
* total-return stake index (what τ1 staked in the average fund became),
|
|
23069
|
+
* maintained by the background sweep at realizable marks.
|
|
23070
|
+
*/
|
|
23071
|
+
get_beta_index: RuntimeDescriptor<[], Anonymize<I200n1ov5tbcvr>>;
|
|
23072
|
+
/**
|
|
23073
|
+
* One staker's display-denominated β position on one validator
|
|
23074
|
+
* (`display_beta * display_price` = spot value; `value_tao` = what a claim
|
|
23075
|
+
* pays), or `None` when the staker has no owed β there.
|
|
23076
|
+
*/
|
|
23077
|
+
get_beta_position: RuntimeDescriptor<[hotkey: SS58String, coldkey: SS58String], Anonymize<Ib79aluc5vvn4f>>;
|
|
23078
|
+
/**
|
|
23079
|
+
* A coldkey's full display-denominated β portfolio, one position per validator
|
|
23080
|
+
* with owed β, all marked against the same published index snapshot.
|
|
23081
|
+
*/
|
|
23082
|
+
get_beta_portfolio: RuntimeDescriptor<[coldkey: SS58String], Anonymize<I96giokn5gpcih>>;
|
|
23083
|
+
/**
|
|
23084
|
+
* One fund's `swap_basket` trading status: the network-wide and per-hotkey gates
|
|
23085
|
+
* plus the turnover window a trade at the current block would be charged to.
|
|
23086
|
+
*/
|
|
23087
|
+
get_basket_trading_status: RuntimeDescriptor<[hotkey: SS58String], Anonymize<Ib4aj3n3imrbbt>>;
|
|
23088
|
+
/**
|
|
23089
|
+
* What `claim_root_with_hotkey` would do now for this staker with the dust rules
|
|
23090
|
+
* applied: full entitlement, the part a claim pays, rows sold vs skipped. `None`
|
|
23091
|
+
* when the staker has no owed shares on the validator.
|
|
23092
|
+
*/
|
|
23093
|
+
get_basket_claim_preview: RuntimeDescriptor<[hotkey: SS58String, coldkey: SS58String], Anonymize<Idbvhenser4uaq>>;
|
|
23094
|
+
/**
|
|
23095
|
+
* The same for every validator a coldkey-wide `claim_root` would touch.
|
|
23096
|
+
*/
|
|
23097
|
+
get_root_basket_claim_previews: RuntimeDescriptor<[coldkey: SS58String], Anonymize<Ia1dgslg70jbtg>>;
|
|
21820
23098
|
};
|
|
21821
23099
|
/**
|
|
21822
23100
|
*/
|