Skip to content
Compare
Choose a tag to compare
@Yuripetusko Yuripetusko released this 14 Dec 14:29
· 71 commits to master since this release

Breaking change:

The balance is now returned in the following format

interface BalanceDataType {
  raw: bigint | null;
  formatted: string | null;
}

export interface BalanceReturnType {
  balanceRaw: bigint | null;
  balanceFormatted: string | null;
  balance: BalanceDataType;
  locked?: BalanceDataType;
  reserved?: BalanceDataType;
  total?: BalanceDataType;
}

What's Changed

  • add types to provider config by @2075 in #8
  • Update README with missing dependencies by @matt-paul in #9
  • subtract locked tokens from balance by @Evilshoot in #11

New Contributors

Full Changelog: https://github.com/rmrk-team/substra-hooks/commits/@substra-hooks/[email protected]