-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dutch auction program #69
Comments
A nice mechanism to integrate into Dutch auctions is to first release the "lot" to the bidder, and hand over execution to a provided call. Then you only ask for payment at the end of the execution. It basically amounts to flashloaning the full amount to the bidder, which means anybody can participate in discovering the fair market price, even if they are capital constrained. c.f. Makerdao Liq 2.0 auctions : https://docs.makerdao.com/smart-contract-modules/dog-and-clipper-detailed-documentation#flash-lending-of-collateral |
How would I delay asking for payment? Right now im just using |
I'm not sure how it would work in Fuel. In ethereum you can just check the contract balance after execution of the external call and check it has been credited with enough to pay, but there's no equivalent for that in Fuel. Anyway, we can add this feature later if there's a way to do it. |
The mechanism described above should be possible soon when arbitrary calls become possible (see #22 ) |
A Dutch auction is a type of auction where securities are priced via bids rather than the seller setting the price.
In this scenario, the seller sets a maximum price, which is lowered over time until all of the securities have been bid on.
Citation
The text was updated successfully, but these errors were encountered: