@moonbeam-network/xcm-builder 1.0.0-dev.257 → 1.0.0-dev.258

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 CHANGED
@@ -83,7 +83,9 @@ declare class ContractConfig extends BaseConfig {
83
83
  type ContractConfigBuilder = ConfigBuilder<ContractConfig>;
84
84
  type DestinationMultilocation = [
85
85
  /**
86
+ * 0 - if destination is referring to a location in the same chain
86
87
  * 1 - if transaction is going through or to a relay chain
88
+ * 2 - if transaction is going to a parachain in another ecosystem
87
89
  */
88
90
  0 | 1 | 2,
89
91
  ([
@@ -120,7 +122,7 @@ declare enum TransferType {
120
122
  LocalReserve = 1,
121
123
  DestinationReserve = 2
122
124
  }
123
- type AssetMultilocation = (bigint | (number | string[])[])[];
125
+ type AssetMultilocation = [[number, string[]], bigint];
124
126
 
125
127
  declare function XcmPrecompile(): {
126
128
  transferAssetsToPara20: (shouldTransferAssetPrecedeFeeAsset?: boolean) => ContractConfigBuilder;