Commit Graph

35 Commits

Author SHA1 Message Date
Vecheslav Druzhbin e18c4e0bf5 refactor: instant sale considered open edition auction 2021-07-29 13:05:30 +03:00
bartosz-lipinski c0c87d3728 fix: ignore local storage errors for now 2021-07-26 22:30:19 -05:00
exromany d909cde774 fix using env for static builds 2021-07-21 13:08:51 +03:00
bartosz-lipinski b85da2f6ed chore: update packages 2021-07-19 20:49:34 -05:00
bartosz-lipinski 917ff4417f Merge remote-tracking branch 'origin/master' into exromany-migrate-next 2021-07-19 19:32:22 -05:00
bartosz-lipinski 793799599b Merge remote-tracking branch 'origin/master' into exromany-migrate-next 2021-07-19 19:28:15 -05:00
ChewingGlass d34637dd91
Fix webpack import and add wallet adapters to export (#142) 2021-07-19 13:39:29 -05:00
Jordan Prince 2bb79dd31c
Update token.ts
Fix layout
2021-07-19 08:41:57 -05: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
exromany bd3d80ec6a replace cra to next.js 2021-07-13 12:32:34 +03:00
exromany b372642d2e prepare less as global styles 2021-07-13 12:32:31 +03:00
Jordan Prince 921ad45044
Fix case where it's possible to assign authority to AuctionManager that does not yet exist (#94)
* A lovely wip commit on fixing a little loophole that could cause trouble when auction managers get front run.

* Finish up loophole closing
2021-06-28 18:28:10 -05:00
bartosz-lipinski 3be750cb69 Merge remote-tracking branch 'origin/master' into feature/video 2021-06-27 20:56:48 -05:00
Jordan Prince 3ec50ee190
Tick Size and Gap Tick Size (#66)
* Draft code for tick sizes

* Hooking up front to back end, need to test it now.

* Don't adjust ids.

* Fully working tick size and gap tick percentage

* Final fixes and validations for tick and gap

* Update cargo.lock
2021-06-27 19:34:38 -05:00
bartosz-lipinski cad35b1bb5 feat: fix video format 2021-06-26 23:15:18 -05:00
Jordan Prince 5a4086738b
reservation list fix for scaling (#70) 2021-06-24 19:07:29 -05:00
bartosz-lipinski 2f7ca5536f feat: add intersection observer 2021-06-23 23:35:45 -05:00
chaseeb 6087d2195c fix: build 2021-06-23 10:26:48 -04:00
bartosz-lipinski 9ca23dc186 feat: page load 2021-06-22 22:23:21 -05:00
bartosz-lipinski 005abe47c1 feat: faster load time 2021-06-22 21:42:57 -05:00
bartosz-lipinski 5c372963c1 feat: cache generated pdas 2021-06-21 13:52:07 -05:00
Jordan Prince 92bb856877 Remove the 0 checks needed for old struct keys, fix pubkey in serde for vault, remove unneeded price mint creation in ext price lookup, and add vault unwinding for cases where the vault remained with the maker 2021-06-18 11:51:03 -05:00
Jordan Prince bdb4c9f035
Streamline websockets (#56)
* Remove duplicate connection to halve websockets, then only make websocket connections for things we mostly expect to care about. Come back later for further whittling.

* Turns out we dont even need subscriptions.

* Rename variable

* Remove unused vars
2021-06-17 18:03:25 -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 205046d849
Fix minimum floor ui to pull minimum price correctly from accounts (#45) 2021-06-16 14:35:09 -05:00
Jordan Prince 377f6cd521
Minimum Price Support in UI + Minor contract fix (#37)
* Hook up minimum price to the front end with some borsh hacks, and fix a minor bug in the auction contract for minimum price checks

* Remove excess definitions we dont need from the hack.

* feat: no hacks allowed

Co-authored-by: bartosz-lipinski <264380+bartosz-lipinski@users.noreply.github.com>
2021-06-15 11:31:51 -05:00
bartosz-lipinski effac61e25 feat: update torus 2021-06-13 21:23:11 -05:00
bartosz-lipinski 43255f2616 Merge remote-tracking branch 'origin/master' into feature/init-store 2021-06-08 17:56:28 -05:00
bartosz-lipinski 56f668bad3 feat: custom store 2021-06-08 17:55:52 -05:00
Jordan Prince 9c0bf5fc7b Prep for switch of ids 2021-06-07 11:39:05 -04:00
bartosz-lipinski 8a22e9d0de feat: merge latest style changes 2021-06-05 21:44:28 -04:00
bartosz-lipinski f3b0a78216 chore: cleanup 2021-06-02 22:07:34 -04:00
Jordan Prince 53f7d1abcd updates to vault program pda structure to use vault id 2021-06-02 13:54:40 -05:00
Jordan Prince 485c6314b5 new ids 2021-06-02 10:12:15 -05:00
Jordan Prince dfa519cc4f New frontend only 2021-06-02 09:35:28 -05:00