Skip to content

v0.1.0

Compare
Choose a tag to compare
@fgamundi fgamundi released this 21 Oct 11:51
· 331 commits to main since this release
19f2d56

What's Changed

  • Compatibility with local assets and better handling of deposits XCM fee by @fxgamundi in #31
  • Removed Centrifuge Alphanet and xUSDC by @fxgamundi in #35
  • Configure minimal balance for GLMR and MOVR on Acala and Karura by @mmaurello in #36

Breaking Changes

export interface DepositTransferData<
  Symbols extends AssetSymbol = AssetSymbol,
  ChainKeys extends ChainKey = ChainKey,
> {
  asset: AssetWithDecimals<Symbols>;
  existentialDeposit: bigint;
  min: bigint;
- moonChainFee?: bigint;
+ moonChainFee: XcmFeeWithBalance; 
  native: AssetWithDecimals<Symbols>;
  origin: MoonChain | Chain<ChainKeys>;
  source: Chain<ChainKeys>;
  sourceBalance: bigint;
  sourceFeeBalance?: Balance<Symbols>;
  sourceMinBalance: bigint;
  getFee: (amount?: bigint) => Promise<bigint>;
  send: (amount: bigint, cb?: ExtrinsicEventsCallback) => Promise<Hash>;
}

+export interface XcmFeeWithBalance extends Balance {
+  fee: bigint;
+}

Full Changelog: v0.0.26...v0.1.0