Maker Position Token

struct MakerPosition {
     
        // amount deposited by maker minus initial protocol fee
        uint256 capitalAmount;
        
        // bUSD
        uint256 positiveClaimAmount;
        
        // bUSDn
        uint256 negativeClaimAmount;
        
        // deposit_capital_amount * position_rate_positive * debt / maker_capital
        uint256 positiveRiskWeightedCapital;
        
        // deposit_capital_amount * position_rate_negative * debt / maker_capital
        uint256 negativeRiskWeightedCapital;
        
        // amount of BUMP tokens locked(/bonded) for this position
        uint128 bondAmount;
        
        // amount of bump locked as incentive
        uint128 incentiveAmount;
        
        // timestamp when position was opened
        uint32 start;
        
        // duration of the position in days
        uint16 term;
}

Last updated