PrimaryLendingPlatformLeverageCore
Overview
License: MIT
abstract contract PrimaryLendingPlatformLeverageCore is Initializable, AccessControlUpgradeable, ReentrancyGuardUpgradeableEnums info
LeverageType
enum LeverageType {
AMPLIFY,
MARGIN_TRADE
}Structs info
Ratio
Events info
SetExchangeAggregator
Name
Type
Description
LeveragedBorrow
Name
Type
Description
SetPrimaryLendingPlatform
Name
Type
Description
Constants info
MODERATOR_ROLE (0x797669c9)
BUFFER_PERCENTAGE (0x952038c2)
State variables info
isLeveragePosition (0x3226d284)
primaryLendingPlatform (0x92641a7c)
exchangeAggregator (0x60df4f35)
registryAggregator (0xf38cb29a)
typeOfLeveragePosition (0x4118a1bd)
Modifiers info
onlyModerator
isProjectTokenListed
Name
Type
Description
isLendingTokenListed
Name
Type
Description
isPrimaryLendingPlatform
onlyRelatedContracts
Functions info
initialize (0xc4d66de8)
Name
Type
Description
setExchangeAggregator (0x3c4841b4)
Name
Type
Description
setPrimaryLendingPlatformAddress (0xcec5a0b0)
Name
Type
Description
getTokenPrice (0xd02641a0)
Name
Type
Description
Name
Type
Description
calculateLendingTokenCount (0xcc65e637)
Name
Type
Description
Name
Type
Description
deleteLeveragePosition (0x0614a25a)
Name
Type
Description
calculateAddingAmount (0x545c5699)
Name
Type
Description
Name
Type
Description
getLeverageType (0x68faa77f)
Name
Type
Description
Name
Type
Description
Last updated