Commit Graph

25 Commits

Author SHA1 Message Date
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