TokenInterface

decimals

function decimals() external view returns (uint8)

ConstantVariables

NATIVE_TOKEN

address NATIVE_TOKEN

SUPPLY_TOKEN

address SUPPLY_TOKEN

collateral token address

BORROW_TOKEN

address BORROW_TOKEN

borrow token address

SUPPLY_DECIMALS

uint8 SUPPLY_DECIMALS

Token decimals. For example wETH is 18 decimals

BORROW_DECIMALS

uint8 BORROW_DECIMALS

Token decimals. For example USDC is 6 decimals

ADMIN_IMPLEMENTATION

address ADMIN_IMPLEMENTATION

VaultT1 AdminModule implemenation address

SECONDARY_IMPLEMENTATION

address SECONDARY_IMPLEMENTATION

VaultT1 Secondary implemenation (main2.sol) address

LIQUIDITY

contract IFluidLiquidity LIQUIDITY

liquidity proxy contract address

VAULT_FACTORY

contract IFluidVaultFactory VAULT_FACTORY

vault factory contract address

VAULT_ID

uint256 VAULT_ID

X8

uint256 X8

X10

uint256 X10

X16

uint256 X16

X19

uint256 X19

X20

uint256 X20

X24

uint256 X24

X25

uint256 X25

X30

uint256 X30

X35

uint256 X35

X50

uint256 X50

X64

uint256 X64

X96

uint256 X96

X128

uint256 X128

EXCHANGE_PRICES_PRECISION

uint256 EXCHANGE_PRICES_PRECISION

LIQUIDITY_SUPPLY_EXCHANGE_PRICE_SLOT

bytes32 LIQUIDITY_SUPPLY_EXCHANGE_PRICE_SLOT

slot ids in Liquidity contract. Helps in low gas fetch from liquidity contract by skipping delegate call

LIQUIDITY_BORROW_EXCHANGE_PRICE_SLOT

bytes32 LIQUIDITY_BORROW_EXCHANGE_PRICE_SLOT

LIQUIDITY_USER_SUPPLY_SLOT

bytes32 LIQUIDITY_USER_SUPPLY_SLOT

LIQUIDITY_USER_BORROW_SLOT

bytes32 LIQUIDITY_USER_BORROW_SLOT

constantsView

function constantsView() external view returns (struct Structs.ConstantViews constantsView_)

returns all Vault constants

constructor

constructor(struct Structs.ConstantViews constants_) public