You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bidding interface is confusing currently, when specifying a price, it also requires the wantCollateral. If this information can be implied by the price argument and giveCurrency param, requiring the user to provide this is not ergonomic.
To Reproduce
Steps to reproduce the behavior:
agops inter bid by-price --price 0.80 --giveCurrency 10
see error about required wantCollateral
Expected behavior
A bidding user should be able to specify the minimum input required to make a bid instead of having to calculate the wanted collateral
The text was updated successfully, but these errors were encountered:
I'm not convinced that the bidSpec's want (though admittedly mis-named) is extraneous. There are two ways of specifying a bid: by price and by discount
I'm willing to spend 37 IST per ATOM, and I want 100. I might get only 50, and they might only cost me 35 IST each. I don't have to give 3700 IST in order to make this bid.
I'd like to buy ATOM at a 80% of the oracle price, and I'd like up to 1000. The amount of IST I provide is unrelated to how many I'd like to acquire.
Describe the bug
The bidding interface is confusing currently, when specifying a price, it also requires the wantCollateral. If this information can be implied by the price argument and
giveCurrency
param, requiring the user to provide this is not ergonomic.To Reproduce
Steps to reproduce the behavior:
agops inter bid by-price --price 0.80 --giveCurrency 10
wantCollateral
Expected behavior
A bidding user should be able to specify the minimum input required to make a bid instead of having to calculate the wanted collateral
The text was updated successfully, but these errors were encountered: