Commit Graph

7 Commits

Author SHA1 Message Date
Vecheslav Druzhbin e18c4e0bf5 refactor: instant sale considered open edition auction 2021-07-29 13:05:30 +03:00
Vadim 300fef21f8 Refactor after review 2021-07-23 20:02:48 +03:00
Vadim eb798f9825 Add instant_sale_price check to metaplex common redeem check util 2021-07-23 16:35:30 +03:00
Jordan Prince c3b9c5eb4a
Master edition refactor (#108)
* WIP on new instructions

* WIP on refactor

* Lot of wip here on refactoring to a new master edition v2. too much to mention.

* Next wip state on new master edition

* More work, unfortunately had to add proxy call to vault to get access to authority to use store token

* A bit of a checkpoint here - removed all the old cli code since we have deviated so much it is not worth maintaining anymore and there is no real use for it given it doesnt use sol wrapped accounts, and we are ready to start integration testing with the remaining CLIs. No front end changes yet.

* Adding a bunch of new actions for the front end...still need to hook up more.

* Working on integration testing all of this but really have a CPU problem

* Got redeem bid working for the simplest case. Need to test more tomorrow.

* Cut down on CPU time by cutting out the O(n) scan of bidders

* Smarter withdraw that takes participation and empty auctions into account.

* After much pain and misery, i have working participation bids as well.

* More fixes for redemption

* Add a double check in case account mint is empty for send participation bid because if that one messes up yo end up with dupes

* A bunch of super optimizations to get 50 person auction sto pass muster even on the old system.

* Working on more fixes for v2

* Moratorium on alotted address size check for 2weeks

* Working on a new set of methods that allow me to get rid of deserializing auction entirely in redemption for metaplex...

* Went medieval on auction manager and wrote my own save function, and removed auction from being deserialized at all. Going to test a 50 person auction now in v2.

* A working autoredeemer, nearly

* Work in progress on multiple edition redemptions

* Updates to site for edition redemption

* Add conversion button and update sale happened if it should be in auction creation process
2021-07-16 15:06:27 -05:00
Jordan Prince 8c46e6906c
Auction Manager Unwinder [2/2] (#63)
* Add the next level of unwinder - the auction manager unwinder.

* Remove print
2021-06-19 21:39:46 -05:00
Jordan Prince 434e1c5a11
Unwinding Unused Auctions (#38)
* First draft of unwinding code - cleverly use the redemption framework to allow auctioneers to redeem their own goods. No idea if it works, will begin testing tomorrow.

* Added missing instruction I noticd hadnt been created

* Update rust to fix issues with draft impl

* Comments for clarity

* Everything is working for unwinding

* Remove myself from .env

* Bring back proper ids

* Fix for case where auctioneer IS one of the winners...need to rethink how we check. Just check winner at the desired index and if it exists, disallow.

* Protect against mismatched winner attacks
2021-06-17 08:59:14 -05:00
Jordan Prince 983647bc74 History doesn't repeat itself, but it does rhyme. 2021-06-12 12:27:51 -05:00