DexVault
The DexVault smart contract is used for creating vault and filling initial data.
constructor
constructorconstructor (address owner_, address root_, address token_factory_) publicName
Type
Description
_dexRoot
_dexRootfunction _dexRoot() override internal view returns(address)Type
Description
Owner
transferOwner
transferOwnerName
Type
Description
acceptOwner
acceptOwnergetOwner
getOwnerType
Description
getPendingOwner
getPendingOwnerType
Description
Token
setTokenFactory
setTokenFactoryName
Type
Description
installPlatformOnce
installPlatformOnceName
Type
Description
installOrUpdateLpTokenPendingCode
installOrUpdateLpTokenPendingCodeName
Type
Description
addLiquidityToken
addLiquidityTokenName
Type
Description
onLiquidityTokenDeployed
onLiquidityTokenDeployedName
Type
Description
onLiquidityTokenNotDeployed
onLiquidityTokenNotDeployedName
Type
Description
_buildLpTokenPendingInitData
_buildLpTokenPendingInitDataName
Type
Description
Type
Description
Withdraw
withdraw
withdrawName
Type
Description
Transfer
transfer
transferName
Type
Description
Code upgrade
upgrade
upgradeName
Type
Description
Reset
resetGas
resetGasName
Type
Description
resetTargetGas
resetTargetGasName
Type
Description
Key Events
VaultCodeUpgraded
VaultCodeUpgradedRequestedOwnerTransfer
RequestedOwnerTransferOwnerTransferAccepted
OwnerTransferAcceptedTokenFactoryAddressUpdated
TokenFactoryAddressUpdatedWithdrawTokens
WithdrawTokensPairTransferTokens
PairTransferTokensLast updated