MoCHelperLibMock
View Source: contracts/mocks/MoCHelperLibMock.sol
MoCHelperLibMock - version: 0.1.12
Contract Members
Constants & Variables
MethodCalled
Parameters
name
bytes32
Functions
Constructor
Arguments
spotInrate
Arguments
tMin
uint256
tMax
uint256
doc0
uint256
doct
uint256
maxBProWithDiscount
Arguments
nB
uint256
nDoc
uint256
utpdu
uint256
peg
uint256
btcPrice
uint256
bproUsdPrice
uint256
spotDiscount
uint256
inrateAvg
Arguments
tMax
uint256
fact
uint256
tMin
uint256
abRat1
uint256
abRat2
uint256
avgInt
Arguments
tMax
uint256
fact
uint256
tMin
uint256
abRat1
uint256
abRat2
uint256
potential
Arguments
tMax
uint256
fact
uint256
tMin
uint256
abRat
uint256
integral
Arguments
tMax
uint256
fact
uint256
tMin
uint256
abRat
uint256
bproSpotDiscountRate
Arguments
bproLiqDiscountRate
uint256
liq
uint256
utpdu
uint256
cov
uint256
bucketTransferAmountInfiniteLeverage
Arguments
nB
uint256
delta
uint256
bucketTransferAmount
Arguments
nB
uint256
lev
uint256
coverage
Arguments
nB
uint256
lB
uint256
leverageFromCoverage
Arguments
cov
uint256
leverage
Arguments
nB
uint256
lB
uint256
maxBProxBtcValue
⚠ This has been deprecated since the Proposal to remove leveraged positions from the protocol was approved, however it is necessary to maintain the contracts and their documentation for legacy support.
Arguments
nDoc
uint256
peg
uint256
btcPrice
uint256
lev
uint256
maxBProxBtcValueInfiniteLeverage
⚠ This has been deprecated since the Proposal to remove leveraged positions from the protocol was approved, however it is necessary to maintain the contracts and their documentation for legacy support.
Arguments
nDoc
uint256
peg
uint256
btcPrice
uint256
delta
uint256
Last updated