Skip to content

IERC20 ​

decimals ​

solidity
function decimals() external view returns (uint8)

FluidVaultT3DeploymentLogic ​

NATIVE_TOKEN ​

solidity
address NATIVE_TOKEN

LIQUIDITY ​

solidity
address LIQUIDITY

address of liquidity contract

DEPLOYER ​

solidity
address DEPLOYER

MINI_DEPLOYER ​

solidity
contract MiniDeployer MINI_DEPLOYER

address of MiniDeployer Contract

ADMIN_IMPLEMENTATION ​

solidity
address ADMIN_IMPLEMENTATION

address of Admin implementation

SECONDARY_IMPLEMENTATION ​

solidity
address SECONDARY_IMPLEMENTATION

address of Secondary implementation

VAULT_T3_CREATIONCODE_MAIN_OPERATE ​

solidity
address VAULT_T3_CREATIONCODE_MAIN_OPERATE

VAULT_T3_CREATIONCODE_MAIN ​

solidity
address VAULT_T3_CREATIONCODE_MAIN

ADDRESS_THIS ​

solidity
address ADDRESS_THIS

address of this contract

VaultT3Deployed ​

solidity
event VaultT3Deployed(address vault, uint256 vaultId, address supplyToken, address smartDebt)

Emitted when a new vaultT3 is deployed.

Parameters ​

NameTypeDescription
vaultaddressThe address of the newly deployed vault.
vaultIduint256The id of the newly deployed vault.
supplyTokenaddressThe address of the supply token.
smartDebtaddressThe address of the dex for which the smart debt is used.

constructor ​

solidity
constructor(address liquidity_, address vaultFactory_, address deployer_, address vaultAdminImplementation_, address vaultSecondaryImplementation_, address vaultOperateImplementation_, address vaultMainImplementation_) public

each vault type has different vaultAdminImplementation but same vaultSecondaryImplementatio

vaultT3 ​

solidity
function vaultT3(address supplyToken_, address smartDebt_) external returns (bytes vaultCreationBytecode_)

operateCreationCode ​

solidity
function operateCreationCode() public view returns (bytes)

Retrieves the creation code for the Operate contract

mainCreationCode ​

solidity
function mainCreationCode() public view returns (bytes)

Retrieves the creation code for the main contract