OtcUtils
initializeOtc
function initializeOtc(struct IOtc.OtcConfig _config) internalupdateOtcConfig
function updateOtcConfig(struct IOtc.OtcConfig _config) internaladdOtcCollateralBalance
function addOtcCollateralBalance(uint8 _collateralIndex, uint256 _collateralAmount) internalsellGnsForCollateral
function sellGnsForCollateral(uint8 _collateralIndex, uint256 _collateralAmount) internalgetOtcConfig
getOtcBalance
getOtcRate
_getSlot
_getStorage
_getMultiCollatDiamond
_calculateGnsAmount
Parameters
Name
Type
Description
_calculateGnsDistribution
Parameters
Name
Type
Description
_distributeTreasuryGns
Parameters
Name
Type
Description
_distributeStakingGns
Parameters
Name
Type
Description
_burnGns
Parameters
Name
Type
Description
Was this helpful?