@moonbeam-network/xcm-builder 4.3.1 → 4.4.1
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/build/index.d.ts +1217 -57
- package/build/index.mjs +1251 -114
- package/build/index.mjs.map +1 -1
- package/package.json +9 -9
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Chain, AnyParachain, AssetAmount, ChainAssetId, ChainAsset, AnyChain
|
|
1
|
+
import { Chain, AnyParachain, AssetAmount, ChainAssetId, ChainAsset, AnyChain } from '@moonbeam-network/xcm-types';
|
|
2
2
|
import { ApiPromise } from '@polkadot/api';
|
|
3
3
|
import { FrameSystemAccountInfo, StagingXcmV3MultiLocation } from '@polkadot/types/lookup';
|
|
4
4
|
import { Struct, u128, Enum } from '@polkadot/types';
|
|
@@ -32,15 +32,18 @@ declare class BaseConfig {
|
|
|
32
32
|
constructor({ module, func }: BaseConfigConstructorParams);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
type QueryType = 'query' | 'call';
|
|
35
36
|
interface QueryConfigConstructorParams extends BaseConfigConstructorParams {
|
|
37
|
+
queryType?: QueryType;
|
|
36
38
|
args?: unknown[];
|
|
37
39
|
transform: (data: any) => Promise<bigint>;
|
|
38
40
|
}
|
|
39
41
|
declare class SubstrateQueryConfig extends BaseConfig {
|
|
40
42
|
readonly args: unknown[];
|
|
43
|
+
readonly queryType: QueryType;
|
|
41
44
|
readonly transform: (data: unknown) => Promise<bigint>;
|
|
42
45
|
static is(obj: unknown): obj is SubstrateQueryConfig;
|
|
43
|
-
constructor({ args, transform, ...other }: QueryConfigConstructorParams);
|
|
46
|
+
constructor({ args, transform, queryType, ...other }: QueryConfigConstructorParams);
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
type AssetMinConfigBuilder = ConfigBuilder<SubstrateQueryConfig, AssetMinConfigBuilderParams>;
|
|
@@ -69,14 +72,16 @@ declare function foreignAssets$1(): {
|
|
|
69
72
|
interface ContractConfigConstructorParams extends BaseConfigConstructorParams {
|
|
70
73
|
address: string;
|
|
71
74
|
abi: Abi;
|
|
72
|
-
args:
|
|
75
|
+
args: unknown[];
|
|
76
|
+
value?: bigint;
|
|
73
77
|
}
|
|
74
78
|
declare class ContractConfig extends BaseConfig {
|
|
75
79
|
readonly address: string;
|
|
76
80
|
readonly abi: Abi;
|
|
77
|
-
readonly args:
|
|
81
|
+
readonly args: unknown[];
|
|
82
|
+
readonly value?: bigint;
|
|
78
83
|
static is(obj: unknown): obj is ContractConfig;
|
|
79
|
-
constructor({ address, abi, args, ...other }: ContractConfigConstructorParams);
|
|
84
|
+
constructor({ address, abi, args, value, ...other }: ContractConfigConstructorParams);
|
|
80
85
|
encodeFunctionData(): `0x${string}`;
|
|
81
86
|
}
|
|
82
87
|
|
|
@@ -443,7 +448,7 @@ declare function polkadotXcm$1(): {
|
|
|
443
448
|
};
|
|
444
449
|
};
|
|
445
450
|
|
|
446
|
-
declare function xcmPallet(): {
|
|
451
|
+
declare function xcmPallet$1(): {
|
|
447
452
|
limitedReserveTransferAssets: (parents?: Parents) => {
|
|
448
453
|
here: () => ExtrinsicConfigBuilder;
|
|
449
454
|
};
|
|
@@ -474,7 +479,7 @@ declare function ExtrinsicBuilder(): {
|
|
|
474
479
|
xTokens: typeof xTokens;
|
|
475
480
|
xTransfer: typeof xTransfer;
|
|
476
481
|
polkadotXcm: typeof polkadotXcm$1;
|
|
477
|
-
xcmPallet: typeof xcmPallet;
|
|
482
|
+
xcmPallet: typeof xcmPallet$1;
|
|
478
483
|
};
|
|
479
484
|
|
|
480
485
|
interface SubstrateCallConfigConstructorParams {
|
|
@@ -488,13 +493,23 @@ declare class SubstrateCallConfig {
|
|
|
488
493
|
constructor({ api, call }: SubstrateCallConfigConstructorParams);
|
|
489
494
|
}
|
|
490
495
|
|
|
491
|
-
type FeeConfigBuilder = ConfigBuilder<SubstrateCallConfig, FeeConfigBuilderParams>;
|
|
496
|
+
type FeeConfigBuilder = ConfigBuilder<SubstrateCallConfig | ContractConfig, FeeConfigBuilderParams>;
|
|
497
|
+
type BridgeFeeConfigBuilder = ConfigBuilder<SubstrateQueryConfig | ContractConfig, BridgeFeeConfigBuilderParams>;
|
|
492
498
|
interface FeeConfigBuilderParams {
|
|
493
499
|
address: string;
|
|
494
500
|
api: ApiPromise;
|
|
495
501
|
asset: ChainAsset;
|
|
496
|
-
|
|
502
|
+
balance?: AssetAmount;
|
|
503
|
+
destination: AnyChain;
|
|
504
|
+
feeAsset: ChainAsset;
|
|
505
|
+
source: AnyChain;
|
|
506
|
+
}
|
|
507
|
+
interface BridgeFeeConfigBuilderParams {
|
|
508
|
+
asset: ChainAsset;
|
|
497
509
|
feeAsset: ChainAsset;
|
|
510
|
+
address: string;
|
|
511
|
+
balance?: AssetAmount;
|
|
512
|
+
destination: AnyChain;
|
|
498
513
|
source: AnyChain;
|
|
499
514
|
}
|
|
500
515
|
interface XcmPaymentFeeProps {
|
|
@@ -510,6 +525,14 @@ interface MoonbeamRuntimeXcmConfigAssetType extends Enum {
|
|
|
510
525
|
}
|
|
511
526
|
type GetVersionedAssetId = (params: FeeConfigBuilderParams) => Promise<object> | object;
|
|
512
527
|
|
|
528
|
+
declare function gateway(): {
|
|
529
|
+
quoteSendTokenFee(): BridgeFeeConfigBuilder;
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
declare function outboundQueueApi(): {
|
|
533
|
+
calculateFee: () => BridgeFeeConfigBuilder;
|
|
534
|
+
};
|
|
535
|
+
|
|
513
536
|
declare function xcmPaymentApi(): {
|
|
514
537
|
fromCurrencyIdToLocations: (options: XcmPaymentFeeProps) => FeeConfigBuilder;
|
|
515
538
|
fromAssetIdQuery: (options: XcmPaymentFeeProps) => FeeConfigBuilder;
|
|
@@ -526,6 +549,8 @@ declare function xcmPaymentApi(): {
|
|
|
526
549
|
};
|
|
527
550
|
|
|
528
551
|
declare function FeeBuilder(): {
|
|
552
|
+
gateway: typeof gateway;
|
|
553
|
+
outboundQueueApi: typeof outboundQueueApi;
|
|
529
554
|
xcmPaymentApi: typeof xcmPaymentApi;
|
|
530
555
|
};
|
|
531
556
|
|
|
@@ -575,58 +600,1192 @@ interface EventMonitoringConfig {
|
|
|
575
600
|
checkDestination: DestinationChecker;
|
|
576
601
|
}
|
|
577
602
|
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
type WormholeTransferFunctions = 'tokenTransfer';
|
|
584
|
-
interface WormholeFunctionArgs {
|
|
585
|
-
token: TokenId;
|
|
603
|
+
type SnowbridgeFunctions = 'sendToken';
|
|
604
|
+
interface SnowbridgeFunctionArgs {
|
|
605
|
+
tokenAddress: string;
|
|
606
|
+
destinationAddress: string;
|
|
607
|
+
destinationParaId: number;
|
|
586
608
|
amount: bigint;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
protocol: TokenTransfer.Protocol;
|
|
590
|
-
payload?: Uint8Array;
|
|
609
|
+
bridgeFeeAmount: bigint;
|
|
610
|
+
requiresApproval: boolean;
|
|
591
611
|
}
|
|
592
|
-
interface
|
|
593
|
-
args:
|
|
594
|
-
func:
|
|
612
|
+
interface SnowbridgeConfigConstructorParams {
|
|
613
|
+
args: SnowbridgeFunctionArgs;
|
|
614
|
+
func: SnowbridgeFunctions;
|
|
595
615
|
}
|
|
596
|
-
declare class
|
|
597
|
-
readonly args:
|
|
598
|
-
readonly func:
|
|
599
|
-
|
|
600
|
-
|
|
616
|
+
declare class SnowbridgeConfig {
|
|
617
|
+
readonly args: SnowbridgeFunctionArgs;
|
|
618
|
+
readonly func: SnowbridgeFunctions;
|
|
619
|
+
readonly provider = Provider.Snowbridge;
|
|
620
|
+
static is(obj: unknown): obj is SnowbridgeConfig;
|
|
621
|
+
constructor({ args, func }: SnowbridgeConfigConstructorParams);
|
|
601
622
|
}
|
|
602
623
|
|
|
603
|
-
declare
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
};
|
|
629
|
-
|
|
624
|
+
declare const GATEWAY_ABI: readonly [{
|
|
625
|
+
readonly inputs: readonly [{
|
|
626
|
+
readonly internalType: "address";
|
|
627
|
+
readonly name: "beefyClient";
|
|
628
|
+
readonly type: "address";
|
|
629
|
+
}, {
|
|
630
|
+
readonly internalType: "address";
|
|
631
|
+
readonly name: "agentExecutor";
|
|
632
|
+
readonly type: "address";
|
|
633
|
+
}, {
|
|
634
|
+
readonly internalType: "ParaID";
|
|
635
|
+
readonly name: "bridgeHubParaID";
|
|
636
|
+
readonly type: "uint32";
|
|
637
|
+
}, {
|
|
638
|
+
readonly internalType: "bytes32";
|
|
639
|
+
readonly name: "bridgeHubAgentID";
|
|
640
|
+
readonly type: "bytes32";
|
|
641
|
+
}, {
|
|
642
|
+
readonly internalType: "uint8";
|
|
643
|
+
readonly name: "foreignTokenDecimals";
|
|
644
|
+
readonly type: "uint8";
|
|
645
|
+
}, {
|
|
646
|
+
readonly internalType: "uint128";
|
|
647
|
+
readonly name: "maxDestinationFee";
|
|
648
|
+
readonly type: "uint128";
|
|
649
|
+
}];
|
|
650
|
+
readonly stateMutability: "nonpayable";
|
|
651
|
+
readonly type: "constructor";
|
|
652
|
+
}, {
|
|
653
|
+
readonly inputs: readonly [];
|
|
654
|
+
readonly name: "AgentAlreadyCreated";
|
|
655
|
+
readonly type: "error";
|
|
656
|
+
}, {
|
|
657
|
+
readonly inputs: readonly [];
|
|
658
|
+
readonly name: "AgentDoesNotExist";
|
|
659
|
+
readonly type: "error";
|
|
660
|
+
}, {
|
|
661
|
+
readonly inputs: readonly [];
|
|
662
|
+
readonly name: "CantSetMiddlewareToSameAddress";
|
|
663
|
+
readonly type: "error";
|
|
664
|
+
}, {
|
|
665
|
+
readonly inputs: readonly [];
|
|
666
|
+
readonly name: "CantSetMiddlewareToZeroAddress";
|
|
667
|
+
readonly type: "error";
|
|
668
|
+
}, {
|
|
669
|
+
readonly inputs: readonly [];
|
|
670
|
+
readonly name: "ChannelAlreadyCreated";
|
|
671
|
+
readonly type: "error";
|
|
672
|
+
}, {
|
|
673
|
+
readonly inputs: readonly [];
|
|
674
|
+
readonly name: "ChannelDoesNotExist";
|
|
675
|
+
readonly type: "error";
|
|
676
|
+
}, {
|
|
677
|
+
readonly inputs: readonly [];
|
|
678
|
+
readonly name: "Disabled";
|
|
679
|
+
readonly type: "error";
|
|
680
|
+
}, {
|
|
681
|
+
readonly inputs: readonly [{
|
|
682
|
+
readonly internalType: "uint256";
|
|
683
|
+
readonly name: "epoch";
|
|
684
|
+
readonly type: "uint256";
|
|
685
|
+
}, {
|
|
686
|
+
readonly internalType: "uint256";
|
|
687
|
+
readonly name: "eraIndex";
|
|
688
|
+
readonly type: "uint256";
|
|
689
|
+
}, {
|
|
690
|
+
readonly internalType: "address";
|
|
691
|
+
readonly name: "tokenAddress";
|
|
692
|
+
readonly type: "address";
|
|
693
|
+
}, {
|
|
694
|
+
readonly internalType: "uint256";
|
|
695
|
+
readonly name: "totalPointsToken";
|
|
696
|
+
readonly type: "uint256";
|
|
697
|
+
}, {
|
|
698
|
+
readonly internalType: "uint256";
|
|
699
|
+
readonly name: "totalTokensInflated";
|
|
700
|
+
readonly type: "uint256";
|
|
701
|
+
}, {
|
|
702
|
+
readonly internalType: "bytes32";
|
|
703
|
+
readonly name: "rewardsRoot";
|
|
704
|
+
readonly type: "bytes32";
|
|
705
|
+
}, {
|
|
706
|
+
readonly internalType: "bytes";
|
|
707
|
+
readonly name: "errorBytes";
|
|
708
|
+
readonly type: "bytes";
|
|
709
|
+
}];
|
|
710
|
+
readonly name: "EUnableToProcessRewardsB";
|
|
711
|
+
readonly type: "error";
|
|
712
|
+
}, {
|
|
713
|
+
readonly inputs: readonly [{
|
|
714
|
+
readonly internalType: "uint256";
|
|
715
|
+
readonly name: "epoch";
|
|
716
|
+
readonly type: "uint256";
|
|
717
|
+
}, {
|
|
718
|
+
readonly internalType: "uint256";
|
|
719
|
+
readonly name: "eraIndex";
|
|
720
|
+
readonly type: "uint256";
|
|
721
|
+
}, {
|
|
722
|
+
readonly internalType: "address";
|
|
723
|
+
readonly name: "tokenAddress";
|
|
724
|
+
readonly type: "address";
|
|
725
|
+
}, {
|
|
726
|
+
readonly internalType: "uint256";
|
|
727
|
+
readonly name: "totalPointsToken";
|
|
728
|
+
readonly type: "uint256";
|
|
729
|
+
}, {
|
|
730
|
+
readonly internalType: "uint256";
|
|
731
|
+
readonly name: "totalTokensInflated";
|
|
732
|
+
readonly type: "uint256";
|
|
733
|
+
}, {
|
|
734
|
+
readonly internalType: "bytes32";
|
|
735
|
+
readonly name: "rewardsRoot";
|
|
736
|
+
readonly type: "bytes32";
|
|
737
|
+
}, {
|
|
738
|
+
readonly internalType: "string";
|
|
739
|
+
readonly name: "errorString";
|
|
740
|
+
readonly type: "string";
|
|
741
|
+
}];
|
|
742
|
+
readonly name: "EUnableToProcessRewardsS";
|
|
743
|
+
readonly type: "error";
|
|
744
|
+
}, {
|
|
745
|
+
readonly inputs: readonly [];
|
|
746
|
+
readonly name: "FeePaymentToLow";
|
|
747
|
+
readonly type: "error";
|
|
748
|
+
}, {
|
|
749
|
+
readonly inputs: readonly [];
|
|
750
|
+
readonly name: "InvalidAgentExecutionPayload";
|
|
751
|
+
readonly type: "error";
|
|
752
|
+
}, {
|
|
753
|
+
readonly inputs: readonly [];
|
|
754
|
+
readonly name: "InvalidChannelUpdate";
|
|
755
|
+
readonly type: "error";
|
|
756
|
+
}, {
|
|
757
|
+
readonly inputs: readonly [];
|
|
758
|
+
readonly name: "InvalidCodeHash";
|
|
759
|
+
readonly type: "error";
|
|
760
|
+
}, {
|
|
761
|
+
readonly inputs: readonly [];
|
|
762
|
+
readonly name: "InvalidConstructorParams";
|
|
763
|
+
readonly type: "error";
|
|
764
|
+
}, {
|
|
765
|
+
readonly inputs: readonly [];
|
|
766
|
+
readonly name: "InvalidContract";
|
|
767
|
+
readonly type: "error";
|
|
768
|
+
}, {
|
|
769
|
+
readonly inputs: readonly [];
|
|
770
|
+
readonly name: "InvalidNonce";
|
|
771
|
+
readonly type: "error";
|
|
772
|
+
}, {
|
|
773
|
+
readonly inputs: readonly [];
|
|
774
|
+
readonly name: "InvalidProof";
|
|
775
|
+
readonly type: "error";
|
|
776
|
+
}, {
|
|
777
|
+
readonly inputs: readonly [];
|
|
778
|
+
readonly name: "MiddlewareNotSet";
|
|
779
|
+
readonly type: "error";
|
|
780
|
+
}, {
|
|
781
|
+
readonly inputs: readonly [];
|
|
782
|
+
readonly name: "NativeTransferFailed";
|
|
783
|
+
readonly type: "error";
|
|
784
|
+
}, {
|
|
785
|
+
readonly inputs: readonly [];
|
|
786
|
+
readonly name: "NotEnoughGas";
|
|
787
|
+
readonly type: "error";
|
|
788
|
+
}, {
|
|
789
|
+
readonly inputs: readonly [];
|
|
790
|
+
readonly name: "Operators__OperatorsKeysCannotBeEmpty";
|
|
791
|
+
readonly type: "error";
|
|
792
|
+
}, {
|
|
793
|
+
readonly inputs: readonly [];
|
|
794
|
+
readonly name: "Operators__OperatorsLengthTooLong";
|
|
795
|
+
readonly type: "error";
|
|
796
|
+
}, {
|
|
797
|
+
readonly inputs: readonly [{
|
|
798
|
+
readonly internalType: "uint256";
|
|
799
|
+
readonly name: "x";
|
|
800
|
+
readonly type: "uint256";
|
|
801
|
+
}, {
|
|
802
|
+
readonly internalType: "uint256";
|
|
803
|
+
readonly name: "y";
|
|
804
|
+
readonly type: "uint256";
|
|
805
|
+
}];
|
|
806
|
+
readonly name: "PRBMath_MulDiv18_Overflow";
|
|
807
|
+
readonly type: "error";
|
|
808
|
+
}, {
|
|
809
|
+
readonly inputs: readonly [{
|
|
810
|
+
readonly internalType: "uint256";
|
|
811
|
+
readonly name: "x";
|
|
812
|
+
readonly type: "uint256";
|
|
813
|
+
}, {
|
|
814
|
+
readonly internalType: "uint256";
|
|
815
|
+
readonly name: "y";
|
|
816
|
+
readonly type: "uint256";
|
|
817
|
+
}, {
|
|
818
|
+
readonly internalType: "uint256";
|
|
819
|
+
readonly name: "denominator";
|
|
820
|
+
readonly type: "uint256";
|
|
821
|
+
}];
|
|
822
|
+
readonly name: "PRBMath_MulDiv_Overflow";
|
|
823
|
+
readonly type: "error";
|
|
824
|
+
}, {
|
|
825
|
+
readonly inputs: readonly [{
|
|
826
|
+
readonly internalType: "uint256";
|
|
827
|
+
readonly name: "x";
|
|
828
|
+
readonly type: "uint256";
|
|
829
|
+
}];
|
|
830
|
+
readonly name: "PRBMath_UD60x18_Convert_Overflow";
|
|
831
|
+
readonly type: "error";
|
|
832
|
+
}, {
|
|
833
|
+
readonly inputs: readonly [{
|
|
834
|
+
readonly internalType: "UD60x18";
|
|
835
|
+
readonly name: "x";
|
|
836
|
+
readonly type: "uint256";
|
|
837
|
+
}];
|
|
838
|
+
readonly name: "PRBMath_UD60x18_Exp2_InputTooBig";
|
|
839
|
+
readonly type: "error";
|
|
840
|
+
}, {
|
|
841
|
+
readonly inputs: readonly [{
|
|
842
|
+
readonly internalType: "UD60x18";
|
|
843
|
+
readonly name: "x";
|
|
844
|
+
readonly type: "uint256";
|
|
845
|
+
}];
|
|
846
|
+
readonly name: "PRBMath_UD60x18_Log_InputTooSmall";
|
|
847
|
+
readonly type: "error";
|
|
848
|
+
}, {
|
|
849
|
+
readonly inputs: readonly [];
|
|
850
|
+
readonly name: "TokenNotRegistered";
|
|
851
|
+
readonly type: "error";
|
|
852
|
+
}, {
|
|
853
|
+
readonly inputs: readonly [];
|
|
854
|
+
readonly name: "Unauthorized";
|
|
855
|
+
readonly type: "error";
|
|
856
|
+
}, {
|
|
857
|
+
readonly anonymous: false;
|
|
858
|
+
readonly inputs: readonly [{
|
|
859
|
+
readonly indexed: false;
|
|
860
|
+
readonly internalType: "bytes32";
|
|
861
|
+
readonly name: "agentID";
|
|
862
|
+
readonly type: "bytes32";
|
|
863
|
+
}, {
|
|
864
|
+
readonly indexed: false;
|
|
865
|
+
readonly internalType: "address";
|
|
866
|
+
readonly name: "agent";
|
|
867
|
+
readonly type: "address";
|
|
868
|
+
}];
|
|
869
|
+
readonly name: "AgentCreated";
|
|
870
|
+
readonly type: "event";
|
|
871
|
+
}, {
|
|
872
|
+
readonly anonymous: false;
|
|
873
|
+
readonly inputs: readonly [{
|
|
874
|
+
readonly indexed: true;
|
|
875
|
+
readonly internalType: "bytes32";
|
|
876
|
+
readonly name: "agentID";
|
|
877
|
+
readonly type: "bytes32";
|
|
878
|
+
}, {
|
|
879
|
+
readonly indexed: true;
|
|
880
|
+
readonly internalType: "address";
|
|
881
|
+
readonly name: "recipient";
|
|
882
|
+
readonly type: "address";
|
|
883
|
+
}, {
|
|
884
|
+
readonly indexed: false;
|
|
885
|
+
readonly internalType: "uint256";
|
|
886
|
+
readonly name: "amount";
|
|
887
|
+
readonly type: "uint256";
|
|
888
|
+
}];
|
|
889
|
+
readonly name: "AgentFundsWithdrawn";
|
|
890
|
+
readonly type: "event";
|
|
891
|
+
}, {
|
|
892
|
+
readonly anonymous: false;
|
|
893
|
+
readonly inputs: readonly [{
|
|
894
|
+
readonly indexed: true;
|
|
895
|
+
readonly internalType: "ChannelID";
|
|
896
|
+
readonly name: "channelID";
|
|
897
|
+
readonly type: "bytes32";
|
|
898
|
+
}];
|
|
899
|
+
readonly name: "ChannelCreated";
|
|
900
|
+
readonly type: "event";
|
|
901
|
+
}, {
|
|
902
|
+
readonly anonymous: false;
|
|
903
|
+
readonly inputs: readonly [{
|
|
904
|
+
readonly indexed: true;
|
|
905
|
+
readonly internalType: "ChannelID";
|
|
906
|
+
readonly name: "channelID";
|
|
907
|
+
readonly type: "bytes32";
|
|
908
|
+
}];
|
|
909
|
+
readonly name: "ChannelUpdated";
|
|
910
|
+
readonly type: "event";
|
|
911
|
+
}, {
|
|
912
|
+
readonly anonymous: false;
|
|
913
|
+
readonly inputs: readonly [{
|
|
914
|
+
readonly indexed: true;
|
|
915
|
+
readonly internalType: "bytes32";
|
|
916
|
+
readonly name: "tokenID";
|
|
917
|
+
readonly type: "bytes32";
|
|
918
|
+
}, {
|
|
919
|
+
readonly indexed: false;
|
|
920
|
+
readonly internalType: "address";
|
|
921
|
+
readonly name: "token";
|
|
922
|
+
readonly type: "address";
|
|
923
|
+
}];
|
|
924
|
+
readonly name: "ForeignTokenRegistered";
|
|
925
|
+
readonly type: "event";
|
|
926
|
+
}, {
|
|
927
|
+
readonly anonymous: false;
|
|
928
|
+
readonly inputs: readonly [{
|
|
929
|
+
readonly indexed: true;
|
|
930
|
+
readonly internalType: "ChannelID";
|
|
931
|
+
readonly name: "channelID";
|
|
932
|
+
readonly type: "bytes32";
|
|
933
|
+
}, {
|
|
934
|
+
readonly indexed: false;
|
|
935
|
+
readonly internalType: "uint64";
|
|
936
|
+
readonly name: "nonce";
|
|
937
|
+
readonly type: "uint64";
|
|
938
|
+
}, {
|
|
939
|
+
readonly indexed: true;
|
|
940
|
+
readonly internalType: "bytes32";
|
|
941
|
+
readonly name: "messageID";
|
|
942
|
+
readonly type: "bytes32";
|
|
943
|
+
}, {
|
|
944
|
+
readonly indexed: false;
|
|
945
|
+
readonly internalType: "bool";
|
|
946
|
+
readonly name: "success";
|
|
947
|
+
readonly type: "bool";
|
|
948
|
+
}];
|
|
949
|
+
readonly name: "InboundMessageDispatched";
|
|
950
|
+
readonly type: "event";
|
|
951
|
+
}, {
|
|
952
|
+
readonly anonymous: false;
|
|
953
|
+
readonly inputs: readonly [{
|
|
954
|
+
readonly indexed: true;
|
|
955
|
+
readonly internalType: "address";
|
|
956
|
+
readonly name: "previousMiddleware";
|
|
957
|
+
readonly type: "address";
|
|
958
|
+
}, {
|
|
959
|
+
readonly indexed: true;
|
|
960
|
+
readonly internalType: "address";
|
|
961
|
+
readonly name: "newMiddleware";
|
|
962
|
+
readonly type: "address";
|
|
963
|
+
}];
|
|
964
|
+
readonly name: "MiddlewareChanged";
|
|
965
|
+
readonly type: "event";
|
|
966
|
+
}, {
|
|
967
|
+
readonly anonymous: false;
|
|
968
|
+
readonly inputs: readonly [{
|
|
969
|
+
readonly indexed: false;
|
|
970
|
+
readonly internalType: "enum OperatingMode";
|
|
971
|
+
readonly name: "mode";
|
|
972
|
+
readonly type: "uint8";
|
|
973
|
+
}];
|
|
974
|
+
readonly name: "OperatingModeChanged";
|
|
975
|
+
readonly type: "event";
|
|
976
|
+
}, {
|
|
977
|
+
readonly anonymous: false;
|
|
978
|
+
readonly inputs: readonly [{
|
|
979
|
+
readonly indexed: true;
|
|
980
|
+
readonly internalType: "uint256";
|
|
981
|
+
readonly name: "validatorsCount";
|
|
982
|
+
readonly type: "uint256";
|
|
983
|
+
}, {
|
|
984
|
+
readonly indexed: false;
|
|
985
|
+
readonly internalType: "bytes";
|
|
986
|
+
readonly name: "payload";
|
|
987
|
+
readonly type: "bytes";
|
|
988
|
+
}];
|
|
989
|
+
readonly name: "OperatorsDataCreated";
|
|
990
|
+
readonly type: "event";
|
|
991
|
+
}, {
|
|
992
|
+
readonly anonymous: false;
|
|
993
|
+
readonly inputs: readonly [{
|
|
994
|
+
readonly indexed: true;
|
|
995
|
+
readonly internalType: "ChannelID";
|
|
996
|
+
readonly name: "channelID";
|
|
997
|
+
readonly type: "bytes32";
|
|
998
|
+
}, {
|
|
999
|
+
readonly indexed: false;
|
|
1000
|
+
readonly internalType: "uint64";
|
|
1001
|
+
readonly name: "nonce";
|
|
1002
|
+
readonly type: "uint64";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly indexed: true;
|
|
1005
|
+
readonly internalType: "bytes32";
|
|
1006
|
+
readonly name: "messageID";
|
|
1007
|
+
readonly type: "bytes32";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly indexed: false;
|
|
1010
|
+
readonly internalType: "bytes";
|
|
1011
|
+
readonly name: "payload";
|
|
1012
|
+
readonly type: "bytes";
|
|
1013
|
+
}];
|
|
1014
|
+
readonly name: "OutboundMessageAccepted";
|
|
1015
|
+
readonly type: "event";
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly anonymous: false;
|
|
1018
|
+
readonly inputs: readonly [{
|
|
1019
|
+
readonly indexed: true;
|
|
1020
|
+
readonly internalType: "address";
|
|
1021
|
+
readonly name: "previousOwner";
|
|
1022
|
+
readonly type: "address";
|
|
1023
|
+
}, {
|
|
1024
|
+
readonly indexed: true;
|
|
1025
|
+
readonly internalType: "address";
|
|
1026
|
+
readonly name: "newOwner";
|
|
1027
|
+
readonly type: "address";
|
|
1028
|
+
}];
|
|
1029
|
+
readonly name: "OwnershipTransferred";
|
|
1030
|
+
readonly type: "event";
|
|
1031
|
+
}, {
|
|
1032
|
+
readonly anonymous: false;
|
|
1033
|
+
readonly inputs: readonly [];
|
|
1034
|
+
readonly name: "PricingParametersChanged";
|
|
1035
|
+
readonly type: "event";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly anonymous: false;
|
|
1038
|
+
readonly inputs: readonly [{
|
|
1039
|
+
readonly indexed: false;
|
|
1040
|
+
readonly internalType: "address";
|
|
1041
|
+
readonly name: "token";
|
|
1042
|
+
readonly type: "address";
|
|
1043
|
+
}];
|
|
1044
|
+
readonly name: "TokenRegistrationSent";
|
|
1045
|
+
readonly type: "event";
|
|
1046
|
+
}, {
|
|
1047
|
+
readonly anonymous: false;
|
|
1048
|
+
readonly inputs: readonly [{
|
|
1049
|
+
readonly indexed: true;
|
|
1050
|
+
readonly internalType: "address";
|
|
1051
|
+
readonly name: "token";
|
|
1052
|
+
readonly type: "address";
|
|
1053
|
+
}, {
|
|
1054
|
+
readonly indexed: true;
|
|
1055
|
+
readonly internalType: "address";
|
|
1056
|
+
readonly name: "sender";
|
|
1057
|
+
readonly type: "address";
|
|
1058
|
+
}, {
|
|
1059
|
+
readonly indexed: true;
|
|
1060
|
+
readonly internalType: "ParaID";
|
|
1061
|
+
readonly name: "destinationChain";
|
|
1062
|
+
readonly type: "uint32";
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly components: readonly [{
|
|
1065
|
+
readonly internalType: "enum Kind";
|
|
1066
|
+
readonly name: "kind";
|
|
1067
|
+
readonly type: "uint8";
|
|
1068
|
+
}, {
|
|
1069
|
+
readonly internalType: "bytes";
|
|
1070
|
+
readonly name: "data";
|
|
1071
|
+
readonly type: "bytes";
|
|
1072
|
+
}];
|
|
1073
|
+
readonly indexed: false;
|
|
1074
|
+
readonly internalType: "struct MultiAddress";
|
|
1075
|
+
readonly name: "destinationAddress";
|
|
1076
|
+
readonly type: "tuple";
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly indexed: false;
|
|
1079
|
+
readonly internalType: "uint128";
|
|
1080
|
+
readonly name: "amount";
|
|
1081
|
+
readonly type: "uint128";
|
|
1082
|
+
}];
|
|
1083
|
+
readonly name: "TokenSent";
|
|
1084
|
+
readonly type: "event";
|
|
1085
|
+
}, {
|
|
1086
|
+
readonly anonymous: false;
|
|
1087
|
+
readonly inputs: readonly [];
|
|
1088
|
+
readonly name: "TokenTransferFeesChanged";
|
|
1089
|
+
readonly type: "event";
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly anonymous: false;
|
|
1092
|
+
readonly inputs: readonly [{
|
|
1093
|
+
readonly indexed: true;
|
|
1094
|
+
readonly internalType: "bytes32";
|
|
1095
|
+
readonly name: "operatorKey";
|
|
1096
|
+
readonly type: "bytes32";
|
|
1097
|
+
}, {
|
|
1098
|
+
readonly indexed: false;
|
|
1099
|
+
readonly internalType: "uint256";
|
|
1100
|
+
readonly name: "slashFranction";
|
|
1101
|
+
readonly type: "uint256";
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly indexed: true;
|
|
1104
|
+
readonly internalType: "uint256";
|
|
1105
|
+
readonly name: "epoch";
|
|
1106
|
+
readonly type: "uint256";
|
|
1107
|
+
}, {
|
|
1108
|
+
readonly indexed: false;
|
|
1109
|
+
readonly internalType: "bytes";
|
|
1110
|
+
readonly name: "error";
|
|
1111
|
+
readonly type: "bytes";
|
|
1112
|
+
}];
|
|
1113
|
+
readonly name: "UnableToProcessIndividualSlashB";
|
|
1114
|
+
readonly type: "event";
|
|
1115
|
+
}, {
|
|
1116
|
+
readonly anonymous: false;
|
|
1117
|
+
readonly inputs: readonly [{
|
|
1118
|
+
readonly indexed: true;
|
|
1119
|
+
readonly internalType: "bytes32";
|
|
1120
|
+
readonly name: "operatorKey";
|
|
1121
|
+
readonly type: "bytes32";
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly indexed: false;
|
|
1124
|
+
readonly internalType: "uint256";
|
|
1125
|
+
readonly name: "slashFranction";
|
|
1126
|
+
readonly type: "uint256";
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly indexed: true;
|
|
1129
|
+
readonly internalType: "uint256";
|
|
1130
|
+
readonly name: "epoch";
|
|
1131
|
+
readonly type: "uint256";
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly indexed: false;
|
|
1134
|
+
readonly internalType: "string";
|
|
1135
|
+
readonly name: "error";
|
|
1136
|
+
readonly type: "string";
|
|
1137
|
+
}];
|
|
1138
|
+
readonly name: "UnableToProcessIndividualSlashS";
|
|
1139
|
+
readonly type: "event";
|
|
1140
|
+
}, {
|
|
1141
|
+
readonly anonymous: false;
|
|
1142
|
+
readonly inputs: readonly [{
|
|
1143
|
+
readonly indexed: false;
|
|
1144
|
+
readonly internalType: "bytes";
|
|
1145
|
+
readonly name: "error";
|
|
1146
|
+
readonly type: "bytes";
|
|
1147
|
+
}];
|
|
1148
|
+
readonly name: "UnableToProcessRewardsMessageB";
|
|
1149
|
+
readonly type: "event";
|
|
1150
|
+
}, {
|
|
1151
|
+
readonly anonymous: false;
|
|
1152
|
+
readonly inputs: readonly [{
|
|
1153
|
+
readonly indexed: false;
|
|
1154
|
+
readonly internalType: "string";
|
|
1155
|
+
readonly name: "error";
|
|
1156
|
+
readonly type: "string";
|
|
1157
|
+
}];
|
|
1158
|
+
readonly name: "UnableToProcessRewardsMessageS";
|
|
1159
|
+
readonly type: "event";
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly anonymous: false;
|
|
1162
|
+
readonly inputs: readonly [{
|
|
1163
|
+
readonly indexed: false;
|
|
1164
|
+
readonly internalType: "bytes";
|
|
1165
|
+
readonly name: "error";
|
|
1166
|
+
readonly type: "bytes";
|
|
1167
|
+
}];
|
|
1168
|
+
readonly name: "UnableToProcessSlashMessageB";
|
|
1169
|
+
readonly type: "event";
|
|
1170
|
+
}, {
|
|
1171
|
+
readonly anonymous: false;
|
|
1172
|
+
readonly inputs: readonly [{
|
|
1173
|
+
readonly indexed: false;
|
|
1174
|
+
readonly internalType: "string";
|
|
1175
|
+
readonly name: "error";
|
|
1176
|
+
readonly type: "string";
|
|
1177
|
+
}];
|
|
1178
|
+
readonly name: "UnableToProcessSlashMessageS";
|
|
1179
|
+
readonly type: "event";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly anonymous: false;
|
|
1182
|
+
readonly inputs: readonly [{
|
|
1183
|
+
readonly indexed: true;
|
|
1184
|
+
readonly internalType: "address";
|
|
1185
|
+
readonly name: "implementation";
|
|
1186
|
+
readonly type: "address";
|
|
1187
|
+
}];
|
|
1188
|
+
readonly name: "Upgraded";
|
|
1189
|
+
readonly type: "event";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly inputs: readonly [];
|
|
1192
|
+
readonly name: "AGENT_EXECUTOR";
|
|
1193
|
+
readonly outputs: readonly [{
|
|
1194
|
+
readonly internalType: "address";
|
|
1195
|
+
readonly name: "";
|
|
1196
|
+
readonly type: "address";
|
|
1197
|
+
}];
|
|
1198
|
+
readonly stateMutability: "view";
|
|
1199
|
+
readonly type: "function";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly inputs: readonly [];
|
|
1202
|
+
readonly name: "BEEFY_CLIENT";
|
|
1203
|
+
readonly outputs: readonly [{
|
|
1204
|
+
readonly internalType: "address";
|
|
1205
|
+
readonly name: "";
|
|
1206
|
+
readonly type: "address";
|
|
1207
|
+
}];
|
|
1208
|
+
readonly stateMutability: "view";
|
|
1209
|
+
readonly type: "function";
|
|
1210
|
+
}, {
|
|
1211
|
+
readonly inputs: readonly [{
|
|
1212
|
+
readonly internalType: "bytes";
|
|
1213
|
+
readonly name: "data";
|
|
1214
|
+
readonly type: "bytes";
|
|
1215
|
+
}];
|
|
1216
|
+
readonly name: "agentExecute";
|
|
1217
|
+
readonly outputs: readonly [];
|
|
1218
|
+
readonly stateMutability: "nonpayable";
|
|
1219
|
+
readonly type: "function";
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly inputs: readonly [{
|
|
1222
|
+
readonly internalType: "bytes32";
|
|
1223
|
+
readonly name: "agentID";
|
|
1224
|
+
readonly type: "bytes32";
|
|
1225
|
+
}];
|
|
1226
|
+
readonly name: "agentOf";
|
|
1227
|
+
readonly outputs: readonly [{
|
|
1228
|
+
readonly internalType: "address";
|
|
1229
|
+
readonly name: "";
|
|
1230
|
+
readonly type: "address";
|
|
1231
|
+
}];
|
|
1232
|
+
readonly stateMutability: "view";
|
|
1233
|
+
readonly type: "function";
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly inputs: readonly [{
|
|
1236
|
+
readonly internalType: "ChannelID";
|
|
1237
|
+
readonly name: "channelID";
|
|
1238
|
+
readonly type: "bytes32";
|
|
1239
|
+
}];
|
|
1240
|
+
readonly name: "channelNoncesOf";
|
|
1241
|
+
readonly outputs: readonly [{
|
|
1242
|
+
readonly internalType: "uint64";
|
|
1243
|
+
readonly name: "";
|
|
1244
|
+
readonly type: "uint64";
|
|
1245
|
+
}, {
|
|
1246
|
+
readonly internalType: "uint64";
|
|
1247
|
+
readonly name: "";
|
|
1248
|
+
readonly type: "uint64";
|
|
1249
|
+
}];
|
|
1250
|
+
readonly stateMutability: "view";
|
|
1251
|
+
readonly type: "function";
|
|
1252
|
+
}, {
|
|
1253
|
+
readonly inputs: readonly [{
|
|
1254
|
+
readonly internalType: "ChannelID";
|
|
1255
|
+
readonly name: "channelID";
|
|
1256
|
+
readonly type: "bytes32";
|
|
1257
|
+
}];
|
|
1258
|
+
readonly name: "channelOperatingModeOf";
|
|
1259
|
+
readonly outputs: readonly [{
|
|
1260
|
+
readonly internalType: "enum OperatingMode";
|
|
1261
|
+
readonly name: "";
|
|
1262
|
+
readonly type: "uint8";
|
|
1263
|
+
}];
|
|
1264
|
+
readonly stateMutability: "view";
|
|
1265
|
+
readonly type: "function";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly inputs: readonly [{
|
|
1268
|
+
readonly internalType: "bytes";
|
|
1269
|
+
readonly name: "data";
|
|
1270
|
+
readonly type: "bytes";
|
|
1271
|
+
}];
|
|
1272
|
+
readonly name: "createAgent";
|
|
1273
|
+
readonly outputs: readonly [];
|
|
1274
|
+
readonly stateMutability: "nonpayable";
|
|
1275
|
+
readonly type: "function";
|
|
1276
|
+
}, {
|
|
1277
|
+
readonly inputs: readonly [{
|
|
1278
|
+
readonly internalType: "bytes";
|
|
1279
|
+
readonly name: "data";
|
|
1280
|
+
readonly type: "bytes";
|
|
1281
|
+
}];
|
|
1282
|
+
readonly name: "createChannel";
|
|
1283
|
+
readonly outputs: readonly [];
|
|
1284
|
+
readonly stateMutability: "nonpayable";
|
|
1285
|
+
readonly type: "function";
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly inputs: readonly [];
|
|
1288
|
+
readonly name: "implementation";
|
|
1289
|
+
readonly outputs: readonly [{
|
|
1290
|
+
readonly internalType: "address";
|
|
1291
|
+
readonly name: "";
|
|
1292
|
+
readonly type: "address";
|
|
1293
|
+
}];
|
|
1294
|
+
readonly stateMutability: "view";
|
|
1295
|
+
readonly type: "function";
|
|
1296
|
+
}, {
|
|
1297
|
+
readonly inputs: readonly [{
|
|
1298
|
+
readonly internalType: "bytes";
|
|
1299
|
+
readonly name: "data";
|
|
1300
|
+
readonly type: "bytes";
|
|
1301
|
+
}];
|
|
1302
|
+
readonly name: "initialize";
|
|
1303
|
+
readonly outputs: readonly [];
|
|
1304
|
+
readonly stateMutability: "nonpayable";
|
|
1305
|
+
readonly type: "function";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly inputs: readonly [{
|
|
1308
|
+
readonly internalType: "address";
|
|
1309
|
+
readonly name: "token";
|
|
1310
|
+
readonly type: "address";
|
|
1311
|
+
}];
|
|
1312
|
+
readonly name: "isTokenRegistered";
|
|
1313
|
+
readonly outputs: readonly [{
|
|
1314
|
+
readonly internalType: "bool";
|
|
1315
|
+
readonly name: "";
|
|
1316
|
+
readonly type: "bool";
|
|
1317
|
+
}];
|
|
1318
|
+
readonly stateMutability: "view";
|
|
1319
|
+
readonly type: "function";
|
|
1320
|
+
}, {
|
|
1321
|
+
readonly inputs: readonly [{
|
|
1322
|
+
readonly internalType: "bytes";
|
|
1323
|
+
readonly name: "data";
|
|
1324
|
+
readonly type: "bytes";
|
|
1325
|
+
}];
|
|
1326
|
+
readonly name: "mintForeignToken";
|
|
1327
|
+
readonly outputs: readonly [];
|
|
1328
|
+
readonly stateMutability: "nonpayable";
|
|
1329
|
+
readonly type: "function";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly inputs: readonly [];
|
|
1332
|
+
readonly name: "operatingMode";
|
|
1333
|
+
readonly outputs: readonly [{
|
|
1334
|
+
readonly internalType: "enum OperatingMode";
|
|
1335
|
+
readonly name: "";
|
|
1336
|
+
readonly type: "uint8";
|
|
1337
|
+
}];
|
|
1338
|
+
readonly stateMutability: "view";
|
|
1339
|
+
readonly type: "function";
|
|
1340
|
+
}, {
|
|
1341
|
+
readonly inputs: readonly [];
|
|
1342
|
+
readonly name: "pricingParameters";
|
|
1343
|
+
readonly outputs: readonly [{
|
|
1344
|
+
readonly internalType: "UD60x18";
|
|
1345
|
+
readonly name: "";
|
|
1346
|
+
readonly type: "uint256";
|
|
1347
|
+
}, {
|
|
1348
|
+
readonly internalType: "uint128";
|
|
1349
|
+
readonly name: "";
|
|
1350
|
+
readonly type: "uint128";
|
|
1351
|
+
}];
|
|
1352
|
+
readonly stateMutability: "view";
|
|
1353
|
+
readonly type: "function";
|
|
1354
|
+
}, {
|
|
1355
|
+
readonly inputs: readonly [{
|
|
1356
|
+
readonly internalType: "address";
|
|
1357
|
+
readonly name: "token";
|
|
1358
|
+
readonly type: "address";
|
|
1359
|
+
}];
|
|
1360
|
+
readonly name: "queryForeignTokenID";
|
|
1361
|
+
readonly outputs: readonly [{
|
|
1362
|
+
readonly internalType: "bytes32";
|
|
1363
|
+
readonly name: "";
|
|
1364
|
+
readonly type: "bytes32";
|
|
1365
|
+
}];
|
|
1366
|
+
readonly stateMutability: "view";
|
|
1367
|
+
readonly type: "function";
|
|
1368
|
+
}, {
|
|
1369
|
+
readonly inputs: readonly [];
|
|
1370
|
+
readonly name: "quoteRegisterTokenFee";
|
|
1371
|
+
readonly outputs: readonly [{
|
|
1372
|
+
readonly internalType: "uint256";
|
|
1373
|
+
readonly name: "";
|
|
1374
|
+
readonly type: "uint256";
|
|
1375
|
+
}];
|
|
1376
|
+
readonly stateMutability: "view";
|
|
1377
|
+
readonly type: "function";
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly inputs: readonly [{
|
|
1380
|
+
readonly internalType: "address";
|
|
1381
|
+
readonly name: "token";
|
|
1382
|
+
readonly type: "address";
|
|
1383
|
+
}, {
|
|
1384
|
+
readonly internalType: "ParaID";
|
|
1385
|
+
readonly name: "destinationChain";
|
|
1386
|
+
readonly type: "uint32";
|
|
1387
|
+
}, {
|
|
1388
|
+
readonly internalType: "uint128";
|
|
1389
|
+
readonly name: "destinationFee";
|
|
1390
|
+
readonly type: "uint128";
|
|
1391
|
+
}];
|
|
1392
|
+
readonly name: "quoteSendTokenFee";
|
|
1393
|
+
readonly outputs: readonly [{
|
|
1394
|
+
readonly internalType: "uint256";
|
|
1395
|
+
readonly name: "";
|
|
1396
|
+
readonly type: "uint256";
|
|
1397
|
+
}];
|
|
1398
|
+
readonly stateMutability: "view";
|
|
1399
|
+
readonly type: "function";
|
|
1400
|
+
}, {
|
|
1401
|
+
readonly inputs: readonly [{
|
|
1402
|
+
readonly internalType: "bytes";
|
|
1403
|
+
readonly name: "data";
|
|
1404
|
+
readonly type: "bytes";
|
|
1405
|
+
}];
|
|
1406
|
+
readonly name: "registerForeignToken";
|
|
1407
|
+
readonly outputs: readonly [];
|
|
1408
|
+
readonly stateMutability: "nonpayable";
|
|
1409
|
+
readonly type: "function";
|
|
1410
|
+
}, {
|
|
1411
|
+
readonly inputs: readonly [{
|
|
1412
|
+
readonly internalType: "address";
|
|
1413
|
+
readonly name: "token";
|
|
1414
|
+
readonly type: "address";
|
|
1415
|
+
}];
|
|
1416
|
+
readonly name: "registerToken";
|
|
1417
|
+
readonly outputs: readonly [];
|
|
1418
|
+
readonly stateMutability: "payable";
|
|
1419
|
+
readonly type: "function";
|
|
1420
|
+
}, {
|
|
1421
|
+
readonly inputs: readonly [{
|
|
1422
|
+
readonly internalType: "bytes";
|
|
1423
|
+
readonly name: "data";
|
|
1424
|
+
readonly type: "bytes";
|
|
1425
|
+
}];
|
|
1426
|
+
readonly name: "reportSlashes";
|
|
1427
|
+
readonly outputs: readonly [];
|
|
1428
|
+
readonly stateMutability: "nonpayable";
|
|
1429
|
+
readonly type: "function";
|
|
1430
|
+
}, {
|
|
1431
|
+
readonly inputs: readonly [];
|
|
1432
|
+
readonly name: "s_middleware";
|
|
1433
|
+
readonly outputs: readonly [{
|
|
1434
|
+
readonly internalType: "address";
|
|
1435
|
+
readonly name: "";
|
|
1436
|
+
readonly type: "address";
|
|
1437
|
+
}];
|
|
1438
|
+
readonly stateMutability: "view";
|
|
1439
|
+
readonly type: "function";
|
|
1440
|
+
}, {
|
|
1441
|
+
readonly inputs: readonly [{
|
|
1442
|
+
readonly internalType: "bytes32[]";
|
|
1443
|
+
readonly name: "data";
|
|
1444
|
+
readonly type: "bytes32[]";
|
|
1445
|
+
}, {
|
|
1446
|
+
readonly internalType: "uint48";
|
|
1447
|
+
readonly name: "epoch";
|
|
1448
|
+
readonly type: "uint48";
|
|
1449
|
+
}];
|
|
1450
|
+
readonly name: "sendOperatorsData";
|
|
1451
|
+
readonly outputs: readonly [];
|
|
1452
|
+
readonly stateMutability: "nonpayable";
|
|
1453
|
+
readonly type: "function";
|
|
1454
|
+
}, {
|
|
1455
|
+
readonly inputs: readonly [{
|
|
1456
|
+
readonly internalType: "bytes";
|
|
1457
|
+
readonly name: "data";
|
|
1458
|
+
readonly type: "bytes";
|
|
1459
|
+
}];
|
|
1460
|
+
readonly name: "sendRewards";
|
|
1461
|
+
readonly outputs: readonly [];
|
|
1462
|
+
readonly stateMutability: "nonpayable";
|
|
1463
|
+
readonly type: "function";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly inputs: readonly [{
|
|
1466
|
+
readonly internalType: "address";
|
|
1467
|
+
readonly name: "token";
|
|
1468
|
+
readonly type: "address";
|
|
1469
|
+
}, {
|
|
1470
|
+
readonly internalType: "ParaID";
|
|
1471
|
+
readonly name: "destinationChain";
|
|
1472
|
+
readonly type: "uint32";
|
|
1473
|
+
}, {
|
|
1474
|
+
readonly components: readonly [{
|
|
1475
|
+
readonly internalType: "enum Kind";
|
|
1476
|
+
readonly name: "kind";
|
|
1477
|
+
readonly type: "uint8";
|
|
1478
|
+
}, {
|
|
1479
|
+
readonly internalType: "bytes";
|
|
1480
|
+
readonly name: "data";
|
|
1481
|
+
readonly type: "bytes";
|
|
1482
|
+
}];
|
|
1483
|
+
readonly internalType: "struct MultiAddress";
|
|
1484
|
+
readonly name: "destinationAddress";
|
|
1485
|
+
readonly type: "tuple";
|
|
1486
|
+
}, {
|
|
1487
|
+
readonly internalType: "uint128";
|
|
1488
|
+
readonly name: "destinationFee";
|
|
1489
|
+
readonly type: "uint128";
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly internalType: "uint128";
|
|
1492
|
+
readonly name: "amount";
|
|
1493
|
+
readonly type: "uint128";
|
|
1494
|
+
}];
|
|
1495
|
+
readonly name: "sendToken";
|
|
1496
|
+
readonly outputs: readonly [];
|
|
1497
|
+
readonly stateMutability: "payable";
|
|
1498
|
+
readonly type: "function";
|
|
1499
|
+
}, {
|
|
1500
|
+
readonly inputs: readonly [{
|
|
1501
|
+
readonly internalType: "address";
|
|
1502
|
+
readonly name: "middleware";
|
|
1503
|
+
readonly type: "address";
|
|
1504
|
+
}];
|
|
1505
|
+
readonly name: "setMiddleware";
|
|
1506
|
+
readonly outputs: readonly [];
|
|
1507
|
+
readonly stateMutability: "nonpayable";
|
|
1508
|
+
readonly type: "function";
|
|
1509
|
+
}, {
|
|
1510
|
+
readonly inputs: readonly [{
|
|
1511
|
+
readonly internalType: "bytes";
|
|
1512
|
+
readonly name: "data";
|
|
1513
|
+
readonly type: "bytes";
|
|
1514
|
+
}];
|
|
1515
|
+
readonly name: "setOperatingMode";
|
|
1516
|
+
readonly outputs: readonly [];
|
|
1517
|
+
readonly stateMutability: "nonpayable";
|
|
1518
|
+
readonly type: "function";
|
|
1519
|
+
}, {
|
|
1520
|
+
readonly inputs: readonly [{
|
|
1521
|
+
readonly internalType: "bytes";
|
|
1522
|
+
readonly name: "data";
|
|
1523
|
+
readonly type: "bytes";
|
|
1524
|
+
}];
|
|
1525
|
+
readonly name: "setPricingParameters";
|
|
1526
|
+
readonly outputs: readonly [];
|
|
1527
|
+
readonly stateMutability: "nonpayable";
|
|
1528
|
+
readonly type: "function";
|
|
1529
|
+
}, {
|
|
1530
|
+
readonly inputs: readonly [{
|
|
1531
|
+
readonly internalType: "bytes";
|
|
1532
|
+
readonly name: "data";
|
|
1533
|
+
readonly type: "bytes";
|
|
1534
|
+
}];
|
|
1535
|
+
readonly name: "setTokenTransferFees";
|
|
1536
|
+
readonly outputs: readonly [];
|
|
1537
|
+
readonly stateMutability: "nonpayable";
|
|
1538
|
+
readonly type: "function";
|
|
1539
|
+
}, {
|
|
1540
|
+
readonly inputs: readonly [{
|
|
1541
|
+
readonly components: readonly [{
|
|
1542
|
+
readonly internalType: "ChannelID";
|
|
1543
|
+
readonly name: "channelID";
|
|
1544
|
+
readonly type: "bytes32";
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly internalType: "uint64";
|
|
1547
|
+
readonly name: "nonce";
|
|
1548
|
+
readonly type: "uint64";
|
|
1549
|
+
}, {
|
|
1550
|
+
readonly internalType: "enum Command";
|
|
1551
|
+
readonly name: "command";
|
|
1552
|
+
readonly type: "uint8";
|
|
1553
|
+
}, {
|
|
1554
|
+
readonly internalType: "bytes";
|
|
1555
|
+
readonly name: "params";
|
|
1556
|
+
readonly type: "bytes";
|
|
1557
|
+
}, {
|
|
1558
|
+
readonly internalType: "uint64";
|
|
1559
|
+
readonly name: "maxDispatchGas";
|
|
1560
|
+
readonly type: "uint64";
|
|
1561
|
+
}, {
|
|
1562
|
+
readonly internalType: "uint256";
|
|
1563
|
+
readonly name: "maxFeePerGas";
|
|
1564
|
+
readonly type: "uint256";
|
|
1565
|
+
}, {
|
|
1566
|
+
readonly internalType: "uint256";
|
|
1567
|
+
readonly name: "reward";
|
|
1568
|
+
readonly type: "uint256";
|
|
1569
|
+
}, {
|
|
1570
|
+
readonly internalType: "bytes32";
|
|
1571
|
+
readonly name: "id";
|
|
1572
|
+
readonly type: "bytes32";
|
|
1573
|
+
}];
|
|
1574
|
+
readonly internalType: "struct InboundMessage";
|
|
1575
|
+
readonly name: "message";
|
|
1576
|
+
readonly type: "tuple";
|
|
1577
|
+
}, {
|
|
1578
|
+
readonly internalType: "bytes32[]";
|
|
1579
|
+
readonly name: "leafProof";
|
|
1580
|
+
readonly type: "bytes32[]";
|
|
1581
|
+
}, {
|
|
1582
|
+
readonly components: readonly [{
|
|
1583
|
+
readonly components: readonly [{
|
|
1584
|
+
readonly internalType: "uint8";
|
|
1585
|
+
readonly name: "version";
|
|
1586
|
+
readonly type: "uint8";
|
|
1587
|
+
}, {
|
|
1588
|
+
readonly internalType: "uint32";
|
|
1589
|
+
readonly name: "parentNumber";
|
|
1590
|
+
readonly type: "uint32";
|
|
1591
|
+
}, {
|
|
1592
|
+
readonly internalType: "bytes32";
|
|
1593
|
+
readonly name: "parentHash";
|
|
1594
|
+
readonly type: "bytes32";
|
|
1595
|
+
}, {
|
|
1596
|
+
readonly internalType: "uint64";
|
|
1597
|
+
readonly name: "nextAuthoritySetID";
|
|
1598
|
+
readonly type: "uint64";
|
|
1599
|
+
}, {
|
|
1600
|
+
readonly internalType: "uint32";
|
|
1601
|
+
readonly name: "nextAuthoritySetLen";
|
|
1602
|
+
readonly type: "uint32";
|
|
1603
|
+
}, {
|
|
1604
|
+
readonly internalType: "bytes32";
|
|
1605
|
+
readonly name: "nextAuthoritySetRoot";
|
|
1606
|
+
readonly type: "bytes32";
|
|
1607
|
+
}];
|
|
1608
|
+
readonly internalType: "struct Verification.MMRLeafPartial";
|
|
1609
|
+
readonly name: "leafPartial";
|
|
1610
|
+
readonly type: "tuple";
|
|
1611
|
+
}, {
|
|
1612
|
+
readonly internalType: "bytes32[]";
|
|
1613
|
+
readonly name: "leafProof";
|
|
1614
|
+
readonly type: "bytes32[]";
|
|
1615
|
+
}, {
|
|
1616
|
+
readonly internalType: "bytes32";
|
|
1617
|
+
readonly name: "parachainHeadsRoot";
|
|
1618
|
+
readonly type: "bytes32";
|
|
1619
|
+
}, {
|
|
1620
|
+
readonly internalType: "uint256";
|
|
1621
|
+
readonly name: "leafProofOrder";
|
|
1622
|
+
readonly type: "uint256";
|
|
1623
|
+
}];
|
|
1624
|
+
readonly internalType: "struct Verification.Proof";
|
|
1625
|
+
readonly name: "headerProof";
|
|
1626
|
+
readonly type: "tuple";
|
|
1627
|
+
}];
|
|
1628
|
+
readonly name: "submitV1";
|
|
1629
|
+
readonly outputs: readonly [];
|
|
1630
|
+
readonly stateMutability: "nonpayable";
|
|
1631
|
+
readonly type: "function";
|
|
1632
|
+
}, {
|
|
1633
|
+
readonly inputs: readonly [{
|
|
1634
|
+
readonly internalType: "bytes32";
|
|
1635
|
+
readonly name: "tokenID";
|
|
1636
|
+
readonly type: "bytes32";
|
|
1637
|
+
}];
|
|
1638
|
+
readonly name: "tokenAddressOf";
|
|
1639
|
+
readonly outputs: readonly [{
|
|
1640
|
+
readonly internalType: "address";
|
|
1641
|
+
readonly name: "";
|
|
1642
|
+
readonly type: "address";
|
|
1643
|
+
}];
|
|
1644
|
+
readonly stateMutability: "view";
|
|
1645
|
+
readonly type: "function";
|
|
1646
|
+
}, {
|
|
1647
|
+
readonly inputs: readonly [{
|
|
1648
|
+
readonly internalType: "bytes";
|
|
1649
|
+
readonly name: "data";
|
|
1650
|
+
readonly type: "bytes";
|
|
1651
|
+
}];
|
|
1652
|
+
readonly name: "transferNativeFromAgent";
|
|
1653
|
+
readonly outputs: readonly [];
|
|
1654
|
+
readonly stateMutability: "nonpayable";
|
|
1655
|
+
readonly type: "function";
|
|
1656
|
+
}, {
|
|
1657
|
+
readonly inputs: readonly [{
|
|
1658
|
+
readonly internalType: "bytes";
|
|
1659
|
+
readonly name: "data";
|
|
1660
|
+
readonly type: "bytes";
|
|
1661
|
+
}];
|
|
1662
|
+
readonly name: "transferNativeToken";
|
|
1663
|
+
readonly outputs: readonly [];
|
|
1664
|
+
readonly stateMutability: "nonpayable";
|
|
1665
|
+
readonly type: "function";
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly inputs: readonly [{
|
|
1668
|
+
readonly internalType: "address";
|
|
1669
|
+
readonly name: "newOwner";
|
|
1670
|
+
readonly type: "address";
|
|
1671
|
+
}];
|
|
1672
|
+
readonly name: "transferOwnership";
|
|
1673
|
+
readonly outputs: readonly [];
|
|
1674
|
+
readonly stateMutability: "nonpayable";
|
|
1675
|
+
readonly type: "function";
|
|
1676
|
+
}, {
|
|
1677
|
+
readonly inputs: readonly [{
|
|
1678
|
+
readonly internalType: "bytes";
|
|
1679
|
+
readonly name: "data";
|
|
1680
|
+
readonly type: "bytes";
|
|
1681
|
+
}];
|
|
1682
|
+
readonly name: "updateChannel";
|
|
1683
|
+
readonly outputs: readonly [];
|
|
1684
|
+
readonly stateMutability: "nonpayable";
|
|
1685
|
+
readonly type: "function";
|
|
1686
|
+
}, {
|
|
1687
|
+
readonly inputs: readonly [{
|
|
1688
|
+
readonly internalType: "bytes";
|
|
1689
|
+
readonly name: "data";
|
|
1690
|
+
readonly type: "bytes";
|
|
1691
|
+
}];
|
|
1692
|
+
readonly name: "upgrade";
|
|
1693
|
+
readonly outputs: readonly [];
|
|
1694
|
+
readonly stateMutability: "nonpayable";
|
|
1695
|
+
readonly type: "function";
|
|
1696
|
+
}];
|
|
1697
|
+
|
|
1698
|
+
declare enum Protocols {
|
|
1699
|
+
TokenBridge = "TokenBridge",
|
|
1700
|
+
AutomaticTokenBridge = "AutomaticTokenBridge",
|
|
1701
|
+
ExecutorTokenBridge = "ExecutorTokenBridge"
|
|
1702
|
+
}
|
|
1703
|
+
type WormholeTransferFunctions = 'tokenTransfer';
|
|
1704
|
+
interface WormholeFunctionArgs {
|
|
1705
|
+
token: TokenId;
|
|
1706
|
+
amount: bigint;
|
|
1707
|
+
from: ChainAddress;
|
|
1708
|
+
to: ChainAddress;
|
|
1709
|
+
protocol: TokenTransfer.Protocol;
|
|
1710
|
+
payload?: Uint8Array;
|
|
1711
|
+
}
|
|
1712
|
+
interface WormholeConfigConstructorParams {
|
|
1713
|
+
args: WormholeFunctionArgs;
|
|
1714
|
+
func: WormholeTransferFunctions;
|
|
1715
|
+
}
|
|
1716
|
+
declare class WormholeConfig {
|
|
1717
|
+
readonly args: WormholeFunctionArgs;
|
|
1718
|
+
readonly func: WormholeTransferFunctions;
|
|
1719
|
+
readonly provider = Provider.Wormhole;
|
|
1720
|
+
static is(obj: unknown): obj is WormholeConfig;
|
|
1721
|
+
constructor({ args, func }: WormholeConfigConstructorParams);
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
declare function wormhole$1(): {
|
|
1725
|
+
tokenTransfer: () => MrlConfigBuilder;
|
|
1726
|
+
};
|
|
1727
|
+
|
|
1728
|
+
declare function wormholeFactory(chain: AnyChain): Wormhole<"Testnet" | "Mainnet">;
|
|
1729
|
+
|
|
1730
|
+
declare enum Provider {
|
|
1731
|
+
Snowbridge = "snowbridge",
|
|
1732
|
+
Wormhole = "wormhole"
|
|
1733
|
+
}
|
|
1734
|
+
type MrlTransferConfig = ContractConfig | ExtrinsicConfig | WormholeConfig | SnowbridgeConfig;
|
|
1735
|
+
type MrlConfigBuilder = ConfigBuilder<MrlTransferConfig, MrlBuilderParams> & {
|
|
1736
|
+
provider?: Provider;
|
|
1737
|
+
};
|
|
1738
|
+
type MrlExecuteConfigBuilder = ConfigBuilder<ContractConfig, MrlExecuteBuilderParams>;
|
|
1739
|
+
interface MrlBuilderParams extends BuilderParams<AnyChain> {
|
|
1740
|
+
isAutomatic: boolean;
|
|
1741
|
+
protocolFee?: AssetAmount;
|
|
1742
|
+
moonApi: ApiPromise;
|
|
1743
|
+
moonAsset: ChainAsset;
|
|
1744
|
+
bridgeChain: AnyParachain;
|
|
1745
|
+
bridgeChainGasLimit?: bigint;
|
|
1746
|
+
sendOnlyRemoteExecution?: boolean;
|
|
1747
|
+
transact?: Transact;
|
|
1748
|
+
}
|
|
1749
|
+
interface MrlExecuteBuilderParams {
|
|
1750
|
+
bytes?: Uint8Array;
|
|
1751
|
+
}
|
|
1752
|
+
interface Transact {
|
|
1753
|
+
call: HexString;
|
|
1754
|
+
txWeight: {
|
|
1755
|
+
refTime: bigint;
|
|
1756
|
+
proofSize: bigint;
|
|
1757
|
+
};
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
declare function Gateway(): {
|
|
1761
|
+
sendToken: () => MrlConfigBuilder;
|
|
1762
|
+
approveAndSendToken: () => MrlConfigBuilder;
|
|
1763
|
+
};
|
|
1764
|
+
|
|
1765
|
+
declare function contract$1(): {
|
|
1766
|
+
Gateway: typeof Gateway;
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1769
|
+
declare function ethereumTokenTransfers(): {
|
|
1770
|
+
transferNativeToken: () => MrlConfigBuilder;
|
|
1771
|
+
};
|
|
1772
|
+
|
|
1773
|
+
declare function xcmPallet(): {
|
|
1774
|
+
transferAssets: () => {
|
|
1775
|
+
globalConsensus: () => MrlConfigBuilder;
|
|
1776
|
+
globalConsensusErc20: () => MrlConfigBuilder;
|
|
1777
|
+
};
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
declare function extrinsic$1(): {
|
|
1781
|
+
ethereumTokenTransfers: typeof ethereumTokenTransfers;
|
|
1782
|
+
xcmPallet: typeof xcmPallet;
|
|
1783
|
+
};
|
|
1784
|
+
|
|
1785
|
+
declare function snowbridge(): {
|
|
1786
|
+
contract: typeof contract$1;
|
|
1787
|
+
extrinsic: typeof extrinsic$1;
|
|
1788
|
+
};
|
|
630
1789
|
|
|
631
1790
|
declare function Batch(): {
|
|
632
1791
|
transferAssetsAndMessage: () => MrlConfigBuilder;
|
|
@@ -759,9 +1918,10 @@ declare function wormhole(): {
|
|
|
759
1918
|
};
|
|
760
1919
|
|
|
761
1920
|
declare function MrlBuilder(): {
|
|
1921
|
+
snowbridge: typeof snowbridge;
|
|
762
1922
|
wormhole: typeof wormhole;
|
|
763
1923
|
};
|
|
764
1924
|
|
|
765
1925
|
declare const BATCH_CONTRACT_ADDRESS = "0x0000000000000000000000000000000000000808";
|
|
766
1926
|
|
|
767
|
-
export { type AssetAddressFormat, AssetMinBuilder, type AssetMinConfigBuilder, type AssetMinConfigBuilderParams, type AssetMultilocation, BATCH_CONTRACT_ABI, BATCH_CONTRACT_ADDRESS, BalanceBuilder, type BalanceBuilderParams, type BalanceConfigBuilder, type BuilderParams, type ConfigBuilder, ContractBuilder, ContractConfig, type ContractConfigBuilder, type ContractConfigConstructorParams, type DestinationMultilocation, ERC20_ABI, type EquilibriumSystemBalanceData, type EventMonitoringConfig, type EvmFunctionArgs, EvmQueryConfig, type EvmQueryConfigParams, type EvmQueryFunctions, ExtrinsicBuilder, ExtrinsicConfig, type ExtrinsicConfigBuilder, type ExtrinsicConfigConstructorParams, FeeBuilder, type FeeConfigBuilder, type FeeConfigBuilderParams, type GetVersionedAssetId, MonitoringBuilder, type MonitoringBuilderConfig, type MoonbeamRuntimeXcmConfigAssetType, MrlBuilder, type MrlBuilderParams, type MrlConfigBuilder, type MrlExecuteBuilderParams, type MrlExecuteConfigBuilder, type PalletBalancesAccountDataOld, type Parents, Protocols, type QueryConfigConstructorParams, SubstrateCallConfig, type SubstrateCallConfigConstructorParams, SubstrateQueryConfig, type TokensPalletAccountData, type Transact, TransferType, WormholeConfig, type WormholeConfigConstructorParams, type WormholeFunctionArgs, type WormholeTransferFunctions, type XcmPaymentFeeProps, XcmVersion, calculateSystemAccountBalance, evm, substrate, wormhole, wormholeFactory };
|
|
1927
|
+
export { type AssetAddressFormat, AssetMinBuilder, type AssetMinConfigBuilder, type AssetMinConfigBuilderParams, type AssetMultilocation, BATCH_CONTRACT_ABI, BATCH_CONTRACT_ADDRESS, BalanceBuilder, type BalanceBuilderParams, type BalanceConfigBuilder, type BridgeFeeConfigBuilder, type BridgeFeeConfigBuilderParams, type BuilderParams, type ConfigBuilder, ContractBuilder, ContractConfig, type ContractConfigBuilder, type ContractConfigConstructorParams, type DestinationMultilocation, ERC20_ABI, type EquilibriumSystemBalanceData, type EventMonitoringConfig, type EvmFunctionArgs, EvmQueryConfig, type EvmQueryConfigParams, type EvmQueryFunctions, ExtrinsicBuilder, ExtrinsicConfig, type ExtrinsicConfigBuilder, type ExtrinsicConfigConstructorParams, FeeBuilder, type FeeConfigBuilder, type FeeConfigBuilderParams, GATEWAY_ABI, type GetVersionedAssetId, MonitoringBuilder, type MonitoringBuilderConfig, type MoonbeamRuntimeXcmConfigAssetType, MrlBuilder, type MrlBuilderParams, type MrlConfigBuilder, type MrlExecuteBuilderParams, type MrlExecuteConfigBuilder, type MrlTransferConfig, type PalletBalancesAccountDataOld, type Parents, Protocols, Provider, type QueryConfigConstructorParams, SnowbridgeConfig, type SnowbridgeConfigConstructorParams, type SnowbridgeFunctionArgs, type SnowbridgeFunctions, SubstrateCallConfig, type SubstrateCallConfigConstructorParams, SubstrateQueryConfig, type TokensPalletAccountData, type Transact, TransferType, WormholeConfig, type WormholeConfigConstructorParams, type WormholeFunctionArgs, type WormholeTransferFunctions, type XcmPaymentFeeProps, XcmVersion, calculateSystemAccountBalance, evm, snowbridge, substrate, wormhole, wormholeFactory };
|