Commit Graph

277 Commits

Author SHA1 Message Date
Jordan Prince 8ea6b0e2d4
Refactor WinningConfigs into more scalable independent SafetyDepositConfig solution (#144)
* WIP on new configs

* WIP on building out primary pathway of new safety config, needs its own serde

* Finish the serde for safety config.

* Upgrade solana library and borsh library

* Refactor bid redemption ticket to use a bitmask behind the scenes and present a nice facade

* WIP commit - got most of the redemption stuff worked out through abstraction. Need to take a hard look at participation and work that one out next.

* WIP on smoothing out validations and participation

* More fixes to smooth out the facade between the v1 and v2 auction manager, mostly in withdraw master edition

* Lots of work on getting this thing ready to test but hit a snagin empty payment account that requires a whole new account to be created

* Still working

* Massive push to finish all the bugfixes to get the refactor ready for integration with UI

* Beginning the long work of integrating refactor into the UI

* Update the model files to have the latest new account keys for the refactor

* Still WIPing the front end into shape

* Slowly creating facades on the front end so that it no longer knows about winning configs in many places.

* Lots of refactoring to get rid of winning configs

* More build fixes

* Doesnt seem like much, but this commit is the first commit that can do an end to end auction to settlement with a single token in v2.

* More fixes to withdrawing editions and edition management in the v2 universe, and a fix for expected redemptions in the v1 universe that exists as a bug right now.

* Forgot to include the fix for expected redemptions in v1

* This commit demarcates open edition auctions working again

* Fixes to tiered auctions.

* Remove debugger

* Show token winning type

* Fix for bad royalties calcs

* More fixes

* Still working through various bugfixes in participation nfts

* More fixes to participation

* more bugfixes

* Dont allow av1s to create new redempton tickets

* Make a new endpoint for participation redemption since it now requires an argument

* Switch ok() to normal match as this seems to make a different and wont throw missing account keys

* Revert "Switch ok() to normal match as this seems to make a different and wont throw missing account keys"

This reverts commit 68b8c7cfc2eb2bc6d3b5297b337042c884e7c2c0.

* Master edition is actually safety deposit in the case of a v1 since it still is consuming from same iterator
2021-08-09 08:52:30 -05:00
B 0fc9458163
Merge pull request #186 from jamland/fix-start-on-win
Fix server start on Windows
2021-08-04 22:26:07 -05:00
Andy Burkovetsky 51d7ce5033 Update package.json 2021-08-04 22:41:37 +03:00
Ilia bf95a0723b
Feature/token metadata tests(negative) (#182)
* feature: update borsh version, wip testing module

* Fixed signatures for create metadata in tests

* feature: success test for create_metadata_account

* feature: success test for update_metadata_account, added is_mutable param to create method

* feature: success test for update_primary_sale_happened_via_token, added token account creation in test metadata structure

* feature: success test for create_master_edition

* feature: success test for mint_new_edition_from_master_edition_via_token

* feature: added more success tests checks, wip: added necessary accounts

* feature: added more internal mocks, added mint_new_edition_from_master_edition_via_vault_proxy

* feature: added basic negative tests

Co-authored-by: Yuriy Savchenko <yuriy.savchenko@gmail.com>
2021-08-04 13:17:00 -05:00
Jordan Prince 8fac1aca13
Analytics (#185)
* Built out logic for analytics view

* Scope to sol only

* WIP commit on adding visuals and fixing rendering

* Analytics 1.0 done. Please delete later.

* Dont spam rpc if on all mode
2021-08-04 12:55:24 -05:00
Jordan Prince 0645a7029c
Fix secondary markets + Admin Conversion (#183)
* Add rate limiting to the converter, only show in the case of non public stores, and bring it back from the dead

* Dont mark an item as sold just because you're doing a full rights auction
2021-08-03 09:34:21 -05:00
Jordan Prince 5b61acc5a1
Update deploy.md 2021-08-02 22:27:24 -05:00
praskoson 877e53c1b8
Use edition number in data (#171)
This call is not used anywhere yet, but it might be in the future...
2021-07-31 11:35:36 -05:00
Ilia 7a01f3c650
feature: success tests for token-metadata (#173)
* feature: update borsh version, wip testing module

* Fixed signatures for create metadata in tests

* feature: success test for create_metadata_account

* feature: success test for update_metadata_account, added is_mutable param to create method

* feature: success test for update_primary_sale_happened_via_token, added token account creation in test metadata structure

* feature: success test for create_master_edition

* feature: success test for mint_new_edition_from_master_edition_via_token

* feature: added more success tests checks, wip: added necessary accounts

* feature: added more internal mocks, added mint_new_edition_from_master_edition_via_vault_proxy

Co-authored-by: Yuriy Savchenko <yuriy.savchenko@gmail.com>
2021-07-30 10:33:22 -05:00
B 54a99c1ba3
Merge pull request #174 from exromany/bugfix/cross-scripts 2021-07-29 18:01:47 +02:00
Leslie P. Polzer 47f2c56c65
Token meta CLI client: add --mint and --mutable args to create call. (#175) 2021-07-29 09:41:57 -05:00
exromany ea08b87e90 fix scripts for windows-users 2021-07-29 11:56:57 +03:00
B 5ccad3d82e
Merge pull request #172 from exromany/bugfix/console-erorrs
fix console errors with key attribute
2021-07-28 04:24:59 +02:00
exromany fdebea99d0 fix console errors with key attribute 2021-07-27 17:03:22 +03:00
bartosz-lipinski f4cbebbcf7 Merge branch 'master' of https://github.com/metaplex-foundation/metaplex 2021-07-26 22:30:25 -05:00
bartosz-lipinski c0c87d3728 fix: ignore local storage errors for now 2021-07-26 22:30:19 -05:00
Jordan Prince b71adad26f
Dont validate edition info ownership if token only transfer since it is not used for token only (#169) 2021-07-26 18:19:55 -05:00
Yuriy Savchenko 18c3b0b1b7
Cancelling bid only if the auction has not ended yet (#165) 2021-07-25 16:38:27 -05:00
Flappy a96a5f9b2d
Resales tab added (#134)
* Resales tab added

* updated review changes

Co-authored-by: Jordan Prince <jordanmprince@gmail.com>
2021-07-24 17:27:22 -04:00
bartosz-lipinski 53379b9af2 chore: hide converter 2021-07-24 15:48:52 -05:00
B 4c34eec87b
Merge pull request #150 from exromany/docs/deployment-md 2021-07-22 15:41:49 +02:00
exromany 2a3c47f222 add docs/deploy.md 2021-07-22 11:01:27 +03:00
B c1e50922bc
Merge pull request #147 from exromany/bugfix/fix-static-env
fix using env for static builds
2021-07-21 18:23:47 +02:00
exromany d909cde774 fix using env for static builds 2021-07-21 13:08:51 +03:00
bartosz-lipinski bbb05b7e68 chore: move export to deploy 2021-07-20 22:29:08 -05:00
B 71df94bcd1
Merge pull request #145 from exromany/bugfix/fix-static-deploy
web: fix export & deploy
2021-07-21 05:20:29 +02:00
exromany 04904ea2bf move assets_prefix to packages.json script 2021-07-20 17:13:36 +03:00
exromany f3d2e5cf9d move asset_prefix to env 2021-07-20 16:32:26 +03:00
exromany b872aab5e3 web: fix export & deploy 2021-07-20 15:49:22 +03:00
bartosz-lipinski fe62f13c57 fix: add export 2021-07-19 21:58:11 -05:00
bartosz-lipinski 9eb8789fc1 chore: update dependencies 2021-07-19 21:15:35 -05:00
bartosz-lipinski b85da2f6ed chore: update packages 2021-07-19 20:49:34 -05:00
bartosz-lipinski 22d79c6a84 fix: build error 2021-07-19 19:56:02 -05:00
bartosz-lipinski 6f38285f94 Merge branch 'exromany-migrate-next' 2021-07-19 19:32:39 -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 d7ce58a3f7
Update ARCHITECTURE.md 2021-07-19 12:33:40 -05:00
B cca7a530f4
Merge pull request #140 from mchl18/fix-typo
Fix typo
2021-07-19 17:48:31 +02:00
Jordan Prince 2bb79dd31c
Update token.ts
Fix layout
2021-07-19 08:41:57 -05:00
mchl18 aac32d2d8c Fix typo 2021-07-17 23:39:41 +02:00
Jordan Prince 397bf8dbdc
Fix for bad state calculation (#139) 2021-07-17 15:06:36 -05:00
bartosz-lipinski b1a4a0c392 Merge branch 'migrate-next' of https://github.com/exromany/metaplex into exromany-migrate-next 2021-07-17 19:17:47 +02: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
B e0de192dbd
Merge pull request #120 from Arrowana/draco-loader-proposal
add DRACO loader
2021-07-16 20:37:23 +02:00
SULTAN PEYEK 2334a06973
Fix unexpected extra and operator (#129) 2021-07-16 08:51:32 -05:00
B 178e72abdd
Merge pull request #128 from sultanpeyek/feature/bonfida-twitter-handling
[FEATURE] Implement Bonfida Twitter Handling
2021-07-16 10:28:40 +02:00
SULTAN PEYEK ff7475d019 Implement Bonfida Twitter Handling 2021-07-16 12:58:28 +07:00
Pigeon 4fe27d45dc
Added participated view (#119)
* Resolved filename space issue

* Participated view added

* fixed arts view for creators

Co-authored-by: Jordan Prince <jordanmprince@gmail.com>
2021-07-15 18:45:55 -05:00
shotgunofdeath 5d14dc958f
feat(actions): manual auction start (#127) 2021-07-15 18:30:37 -05:00