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 {
|
2020-06-03 10:44:10 +00:00
|
|
|
Example = "Example",
|
|
|
|
LendingPoolAddressesProvider = "LendingPoolAddressesProvider"
|
2020-05-29 14:55:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|