Skip to content

v1.3.0: Assets

Compare
Choose a tag to compare
@ipapandinas ipapandinas released this 25 Oct 15:38
· 399 commits to main since this release
11906c1

This release is the first release for the Assets pallet integration.
Note: There is no change from v1.3.0-rc0.

Breaking changes

  • Export renaming in src/index.ts:
    • accountModule renamed Account: export * as Account from “./account”
    • balanceModule renamed Balance: export * as Balance from “./balance”

Assets pallet 🪙

This pallet is a simple module to deal with fungible assets that are meant for use within a dApp.
The related TIP is TIP-600, only the transfer extrinsic is implemented for the moment.

assets/extrinsics

  • assetTransferTx - Creates an unsigned unsubmitted Assets-Transfer Transaction Hash.
  • assetTransfer - Transfers some balance to another account.

assets/storage

  • getAccountAssetData - The holdings of a specific account for a specific asset.
  • getAssetBalance - Get the balance of an account for a specific asset.

assets/types

  • AccountAssetDataType

Added

Fixes

  • Added missing exports of functions/folders #106