Creates BigDecimal number from WAD BigInt.
import { decimals } from "@protofire/subgraph-devkit";import { BigInt } from "@graphprotocol/graph-ts";const wad = BigInt.fromString("12500000000000000000");decimals.fromWad(wad); // => 12.5
the BigDecimal representation of the WAD BigInt.
the WAD BigInt number.
Generated using TypeDoc
Creates BigDecimal number from WAD BigInt.
Example
Returns
the BigDecimal representation of the WAD BigInt.