Position
The position object is the one that holds the information about a position and is crucial in managing reserved funds and profit/loss calculations.
function generatePositionHash (address user, bytes32 futuresContractHash, bool side) public view returns (bytes32)
{
return keccak256(this, user, futuresContractHash, side);
}Last updated