MCPcopy Create free account
hub / github.com/api3dao/airnode / casting.test.ts

File casting.test.ts

packages/airnode-adapter/src/response-processing/casting.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { BigNumber } from 'bignumber.js';
2import { ethers } from 'ethers';
3import { castValue, multiplyValue, bigNumberToString, floorStringifiedNumber } from './casting';
4

Callers

nothing calls this directly

Calls 4

castValueFunction · 0.90
multiplyValueFunction · 0.90
bigNumberToStringFunction · 0.90
floorStringifiedNumberFunction · 0.90

Tested by

no test coverage detected