Skip to main content

IFinancialContract

IFinancialContract#

Functions#

positions(address sponsor) โ†’ struct IFinancialContract.PositionData (external)
collateralCurrency() โ†’ address (external)
tokenCurrency() โ†’ address (external)
finder() โ†’ address (external)
pfc() โ†’ struct FixedPoint.Unsigned (external)
totalTokensOutstanding() โ†’ struct FixedPoint.Unsigned (external)
create(struct FixedPoint.Unsigned collateralAmount, struct FixedPoint.Unsigned numTokens) (external)
createLiquidation(address sponsor, struct FixedPoint.Unsigned minCollateralPerToken, struct FixedPoint.Unsigned maxCollateralPerToken, struct FixedPoint.Unsigned maxTokensToLiquidate, uint256 deadline) โ†’ uint256 liquidationId, struct FixedPoint.Unsigned tokensLiquidated, struct FixedPoint.Unsigned finalFeeBond (external)