MCPcopy Create free account
hub / github.com/subquery/subql / formatSQT

Function formatSQT

packages/cli/src/controller/network/constants.ts:162–164  ·  view source on GitHub ↗
(amount: BigNumberish, places = SQT_DECIMAL, symbol = 'SQT')

Source from the content-addressed store, hash-verified

160}
161
162export function formatSQT(amount: BigNumberish, places = SQT_DECIMAL, symbol = 'SQT'): string {
163 return `${formatUnits(amount, places).slice(0, 10)} ${symbol}`;
164}

Callers 9

runMethod · 0.90
runMethod · 0.90
runMethod · 0.90
createFlexPlanAdapterFunction · 0.90
runMethod · 0.90
runMethod · 0.90
runMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected