Skip to main content

GnoOsTokenVaultEscrow

Git Source ↗

Inherits: OsTokenVaultEscrow

Used for initiating assets exits from the vault without burning osToken on Gnosis

State Variables

_gnoToken

IERC20 private immutable _gnoToken

Functions

constructor

Constructor

constructor(
address osTokenVaultController,
address osTokenConfig,
address initialOwner,
address _authenticator,
uint64 _liqThresholdPercent,
uint256 _liqBonusPercent,
address gnoToken
)
OsTokenVaultEscrow(
osTokenVaultController, osTokenConfig, initialOwner, _authenticator, _liqThresholdPercent, _liqBonusPercent
);

Parameters

NameTypeDescription
osTokenVaultControlleraddressThe address of the OsTokenVaultController contract
osTokenConfigaddressThe address of the OsTokenConfig contract
initialOwneraddressThe address of the contract owner
_authenticatoraddressThe address of the OsTokenVaultEscrowAuth contract
_liqThresholdPercentuint64The liquidation threshold percent
_liqBonusPercentuint256The liquidation bonus percent
gnoTokenaddressThe address of the GNO token

_transferAssets

Internal function for transferring assets from the Vault to the receiver

function _transferAssets(address receiver, uint256 assets) internal override;

Parameters

NameTypeDescription
receiveraddressThe address that will receive the assets
assetsuint256The number of assets to transfer