Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
constructor() public
function initializeOtc(struct IOtc.OtcConfig _config) external
function updateOtcConfig(struct IOtc.OtcConfig _config) external
treasuryShareP
stakingShareP
burnShareP
premiumP
function addOtcCollateralBalance(uint8 _collateralIndex, uint256 _collateralAmount) external virtual
function sellGnsForCollateral(uint8 _collateralIndex, uint256 _collateralAmount) external
_amountCollateral
_collateralIndex
function getOtcConfig() external view returns (struct IOtc.OtcConfig)
function getOtcBalance(uint8 _collateralIndex) external view returns (uint256)
function getOtcRate(uint8 _collateralIndex) external view returns (uint256)