BlockPo / BlockPo-to-Tradelayer

Incubation Repo for the TradeLayer protocol, 0.2.0
http://www.tradelayer.org
Other
8 stars 8 forks source link

Theory on margins issue #177

Closed Galuf1 closed 4 years ago

Galuf1 commented 4 years ago

haven't checked too deep, but since i can't buy or sell contracts yet, i think that instead of the math being the problem it might be the collateral choosing. Before when we were testing stuff for demos, everything was collateralized in ALL or sLTC (being innate propertyid 1 and 3 if i remember correctly) while Pid 1 and 2 were ecosystems, so it might be that some of that code is still there and when i create contracts collateralized in propertyid 16, it can't use those tokens, so it always spits the same error that we don't have enough balance for margin.

santos177 commented 4 years ago

working on collateral branch.