aave-protocol-v2/helpers/types.ts

19 lines
532 B
TypeScript
Raw Normal View History

2020-05-29 14:55:31 +00:00
import BigNumber from "bignumber.js";
export enum eEthereumNetwork {
buidlerevm = "buidlerevm",
kovan = "kovan",
ropsten = "ropsten",
main = "main"
}
export enum eContractid {
Example = "Example"
}
export type tEthereumAddress = string;
export type tStringTokenBigUnits = string; // 1 ETH, or 10e6 USDC or 10e18 DAI
export type tBigNumberTokenBigUnits = BigNumber;
export type tStringTokenSmallUnits = string; // 1 wei, or 1 basic unit of USDC, or 1 basic unit of DAI
export type tBigNumberTokenSmallUnits = BigNumber;