RigoBlock / contracts

[DEPRECATED] directory of our contracts
Apache License 2.0
1 stars 0 forks source link

drago return change #31

Open gabririgo opened 6 years ago

gabririgo commented 6 years ago

keeping track of this change in the drago interface

function sellDrago(uint _amount) public minimum_period_past returns (uint net_revenue, bool success) {

becomes function sellDrago(uint _amount) public minimum_period_past returns (bool success) {

to make it compatible with vault.

if returning a value is helpful, we can bring them back into both

gabririgo commented 6 years ago

right now the netRevenue is not returned, as the format has been made more similar to the sellVault call. Leaving it open to explore whether it makes sense to return the revenue in both before mainnet launch