Commit Graph
100 Commits
Author SHA1 Message Date
Joaquim Verges 8d4fdbcbd1 Expose proxy deploy flow for released contracts (#509)
* Expose proxy deploy flow for released contracts

* disable chain ids that don't have implementations

* update imports

* add factory/proxy to tracking event

* add s_factory on deploy too
2022-09-27 18:12:31 -07:00
Nacho Iacovino 1dba6075c6 Render goerli l2s on dashboard (#490)
* Render goerli l2s on dashboard

* Fix wrong chainId
2022-09-22 03:05:40 -07:00
Jonas Daniels 02dbfb5f9f Update embeds, update SDKs (#489)
* use dev sdks

* upgrade dev versions

* upgrade to nightly

* upgrade embeds

* fix default color option

* fix small issue

* fix uri issues for ipfs resolution

* update sdks again
2022-09-22 09:43:44 +00:00
Jonas Daniels 46c82127d1 add KYB and init adding register contract (#463)
* add KYB and init adding register contract

* bearer id

* full setup loop

* merge in main

* integrate nightly of sdk

* paper enabled flag
2022-09-20 22:07:18 +00:00
Jonas Daniels 53e92add39 move over the last prebuilt pages and use @nightly (#481)
* move over the last prebuilt pages and use nightly

* fix lint

* update to latest dev

* remove log

* fix various more things

* upgrade to @nightly

* fix lister for creating listings

* update dependencies to solve token metadata issue
2022-09-13 21:15:37 +00:00
752b2c2634 Refactor for react/sdk v3 (#457)
* Refactor claim conditions

* Add util function

* Full NFT pages refactor

* Improve onDashboard

* Token refactor fun

* Fix some logic

* Make token drop use custom contract pages

* Remove all the things

* Fix checks

* Fix delayed reveal

* Fix marketplace embed

* Fix lgtm

* Change detection strategy

* Improve some checks

* Reduce use of actualContract

* Fix lgtm

* Fix build

* Some renamings and some more cleanup

* Default sources to release source if found

* Fix lgtm

* Rename multiwrap

* Use useTokenDecimals hook

* Fix token forms not accepting decimals

* Check decimals for inputs

* Fix logic

* Update packages

* update SDK + add Optimism/Arbitrum goerli testnets

* Add goerli l2s to disabled chains of gnosis

* Add comment

* Fix todo

* Rename detection

* Fix code tab on multiwrap and pack

* Add deprecated text

* Add faucet links

* Prettier comments

* Check isDirty for all forms

* add latest nightly

* upgrade nightly and use stable for storage

Co-authored-by: Joaquim Verges <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
2022-09-09 18:16:09 -07:00
Jonas Daniels 9f9566366b remove alchemy sdk (#467) 2022-09-08 21:28:35 -07:00
Nacho IacovinoandJonas Daniels 13a09e6c8c Dashboard releaser improvements (#451)
* Create released contracts component

* Pass address as prop

* A lot ot stuff, make stuff nice

* Clean imports

* Fix build

* Add visit profile button

* Fix releases not showing correctly

* No need for this

* Remove selectable

* Small stuff

* Merge

* Don't show projects on releaser profile

* Working version, only mainnets

* Only fetch mainnets on releaser page

* Improve loading and fetched states

* Copy update

* Fix only showing mainnets for ens

Co-authored-by: Jonas Daniels <[email protected]>
2022-09-07 22:35:57 +02:00
Avneesh AgarwalandJonas Daniels cdaf68ee70 fix: typos (#455)
Co-authored-by: Jonas Daniels <[email protected]>
2022-09-06 14:25:24 -07:00
Jonas Daniels a275770c79 Jd/og (#454)
* og generation

* internalize og:image generation

* correctly specify image dimensions

* remove unused constants

* downgrade puppeteer core & chrome-aws-lambda

* attempt to slim things down further

* add vercel.json?

* fix pattern

* slim things down further

* move unused-things

* massively shrink _app.ts

* small landingpage improvement

* extract screenshot-taking

* remove unsused screenshot

* deal with wrong url

* fix env stuff

* add profile og image

* fix release vs releases
2022-09-06 09:31:52 -07:00
Nacho Iacovino 2f111dd7c1 Add binance faucet (#445) 2022-09-01 14:09:15 +00:00
Nacho IacovinoandJonas Daniels c480421c97 Make nft drop contracts use custom contract page (#405)
* Make nft drop contracts use custom contract page

* Fix claim conditions detection of token drop

* Hide tab until we fix erc20 cc

* Fix hooks

* Fix lgtm

* Add MinterOnly checks

* Only show burn/transfer/airdrop if balance > 0

* Fix token balance

* Fix lgtm

* Redirect old urls

* Delete console.logs

* Fix import

* Add claim conditions banner

* Use old code tab for prebuilts

* Disable add button when conditions are saving

* Only show banner to admins

* Remove eslint disable

* Use activeChainId

* Don't render Drawer if not minter

* Clean stuff

* Stop breaking react

* Improvypvyvpy

* Show button but disable it

* Save omg

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-31 01:41:41 +00:00
Jonas Daniels 34780d7fcd binance + monorepo nightly (#435)
* binance + monorepo nightly

* update to latest nightly

* even more nightly

* update versions

* stable versions
2022-08-29 23:50:56 +00:00
Jonas Daniels 9babbf16ed add careers link (#417) 2022-08-24 10:35:39 -07:00
Nacho IacovinoandJonas Daniels 7777cd81b8 Sources cleanup (#392)
* Add Copy ABI to relases

* Use Accordion, fix types

* Move accordion to own component

* Fix condition

* Move stuff around

* Rename source to sources

* Simplify logic

* Simplify logic in sources tab

* Fix abi type

* Fix more abi types

* Prettier did this

* Fix lgtm

* Get ABI from deployed contract

* Fix query

* Get ABI for prebuilts

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-17 16:59:58 -07:00
Adam MajmudarandJonas Daniels a6d5d6e573 Fix batch upload bug on edition drop (#391)
* Fix batch upload bug on edition drop

* Remove .yalc

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 12:18:56 -07:00
Nacho IacovinoandJonas Daniels 7b6e9a0fa6 Move remove button to settings tab (#388)
* Move remove button to settings tab

* Make on dashboard one single component

* Remove unused imports

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 12:11:07 -07:00
Nacho IacovinoandJonas Daniels 6ee73cfc2e Add isAdmin check on settings for prebuilts (#389)
* Add isAdmin check on settings for prebuilts

* Use AdminOnly component where it makes sense

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 11:39:29 -07:00
Nacho IacovinoandJonas Daniels b01c95568b Add reset flag to make signature drop single phase consistent (#387)
Co-authored-by: Jonas Daniels <[email protected]>
2022-08-16 18:23:09 +02:00
Nacho IacovinoandJonas Daniels adb13cc148 Show toggles for prebuilts on custom contract pages (#374)
* Show toggles for prebuilts

* Fix lgtm

* useIsAdmin for prebuilts

* Revert back

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-15 09:28:29 -07:00
Jonas Daniels c65366365e show contract name in dashboard instead "custom" when possible (#373)
* show contract name in dashboard instead "custom" when possible

* fix typescript issue
2022-08-12 15:43:40 -07:00
Nacho IacovinoandJonas Daniels 7bddef4082 Prebuilt source tab (#366)
* Working hardcoded version

* Fetch correct contract for each prebuilt

* Fix lgtm

* Hardcode latest version, not main

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-12 12:26:53 -07:00
Nacho IacovinoandJonas Daniels 53dbc1b647 Add burn to NFTs and Token custom contract pages (#367)
* Working for nft with yalc

* Add detected extension

* Add token burn, use dev release of react sdk

* Use new hook instead of old mutation

* Update react dev SDK

* Add clarification text

* Number -> parseInt

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-12 20:40:37 +02:00
Jonas Daniels f81d732a8f various quick wins (#343)
* various quick wins

* fix more various things, unify table for functions, variables, events, etc

* input types table and markdown parsing for the fn comments

* attempt to fix the drawer behavior
2022-08-07 18:51:52 -07:00
Jonas Daniels 6e09d7f85b much longer cache for releases (#326)
* much longer cache for releases

* lots of cache changes etc

* fix vercel url issue

* fix small further things

* only revalidate on actions that actually cause caches to get stale
2022-08-02 21:34:44 -07:00
Nacho IacovinoandJonas Daniels 70d03dafc2 Deploy drawer (#317)
* Make deploy from release a drawer

* Fix spacing

* Fix menu going off-screen

* Remove another instance of matchWidth

Co-authored-by: Jonas Daniels <[email protected]>
2022-08-02 03:13:14 +02:00
Jonas DanielsandNacho Iacovino 688dc80043 lots of changes to handle new routing (#310)
* lots of changes to handle new routing

* handle some redirect cases

* remove unused stuff

Co-authored-by: Nacho Iacovino <[email protected]>
2022-08-01 09:57:40 -07:00
Jonas Daniels ab9494897f upgrade react query to stable (#307) 2022-07-27 11:51:18 -07:00
Nacho Iacovino 7116b90ec2 Enable minting additional supply (#294)
* Enable minting additional supply

* FIx error
2022-07-26 00:32:18 +02:00
Jonas Daniels c12b41fddd now with hexagon avatar + parsing for markdown (#285) 2022-07-20 14:45:11 -07:00
Nacho Iacovino 74c83e2362 Fix transfer and burn in sig drop (#254)
* Fix transfer and burn in sig drop

* Add typings, fix cache

* Delete console.log
2022-07-13 03:34:51 +02:00
Adam Majmudar 4429e7184d Add activity tab to custom contracts (#245)
* Move activity display to activity tab

* Add new activity table

* Update padding on accordion

* Show at most 2 events on a row

* Removed unused imports
2022-07-08 16:23:55 -04:00
Nacho Iacovino d6fe693b72 Fix single NFT lazy mint on Signature Drop (#246)
Fix single NFT lazy mint
2022-07-08 13:08:45 -07:00
Nacho IacovinoandJoaquim Verges b59471034e Enable signature drop custom page (#230)
* WIP of enabling signature drop

* Update SDK

* Fix copy

* fix build error

* Reset to empty array if maxClaimable 0

* Consistent methods

* Fix filter

* Fix build

* Add embed

* Fix useEffect

Co-authored-by: Joaquim Verges <[email protected]>
2022-07-08 16:19:22 +02:00
Jake Loo f523829412 Update index.tsx 2022-07-04 18:51:59 -07:00
Jake Loo 11b0d5cca7 Update index.tsx 2022-07-04 18:44:29 -07:00
Nacho Iacovino 2edd66628e Merge both batch uploads into one (#219)
* Make two batch files into one

* Disable Delayed Reveal on Edition Drop

* Don't use full width drawer for airdrop/snapshot
2022-07-01 03:36:20 +02:00
Nacho IacovinoandJonas Daniels 4885193acb New "Add to Dashboard" flow (#213)
* Add checkbox on deploy

* New add to dashboard flow

* Fix form

* Add tracking

* Fix build

* Fix lgtm

* Switch logic

* Delete console.log

* Remove add to dashboard from prebuilt

* Fix layout shift

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-29 01:34:38 +02:00
Jonas Daniels 548eff41a8 update interact with contract ui (#208)
* update interact with contract ui

* fix eslint
2022-06-23 15:31:04 -07:00
Nacho IacovinoandJonas Daniels 78c00505ba Enable L2s (#204)
* Enable L2s

* push up changes

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-22 20:17:38 -07:00
Nacho Iacovino 99a892d9c9 Old/New FTUX (#199)
* Move learn more

* Redirect to /contracts if no contracts found

* Hide navbar connect wallet to avoid duplication

* Track wallet_connected and connector

* Register chainId and balance

* Fix learn more placement

* Remove unreachable code

* Only redirect when fetched

* Fix magic register

* Edge case of projects but no contracts

* Delete console.log

* Flow working

* UI changes

* Remove unused imports

* Fix link to /new

* Add ERC badge, fix descriptions

* Add tracking

* Add learn more

* Add attempt/failed connect wallet events

* Add sdk context
2022-06-17 23:39:35 -07:00
Nacho Iacovino 9cc65c0654 Small ftux changes (#197)
* Move learn more

* Redirect to /contracts if no contracts found

* Hide navbar connect wallet to avoid duplication

* Track wallet_connected and connector

* Register chainId and balance

* Fix learn more placement

* Remove unreachable code

* Only redirect when fetched

* Fix magic register

* Edge case of projects but no contracts

* Delete console.log
2022-06-16 21:18:12 -07:00
Nacho IacovinoandJonas Daniels fcba9f7bc1 Add all new chains (#191)
* Add all new chains

* Import from SDK

* Add RPC urls

* Fix type error

* Fix currency map

* Fix build

* Fix imports

* Add faucets, fix stuff

* Rename

* Add Optimism/Arbitrum icons

* Disable arbitrum/optimism

* Fix build

* Fix build again

* Update SDK

* Update TypeScript SDK

* Add registry

* Fix faucets

* Update embeds

* slight changes

* Update embeds

* Filter gnosis, update optimism kovan alchemy url

* Simplify transfer modal

* Remove console.logs

* Fix embeds

Co-authored-by: Jonas Daniels <[email protected]>
2022-06-14 17:02:21 -07:00
Nacho Iacovino 978b2d33ac Remove all console.logs (#178)
* Remove console.log

* Remove another log

* Update to console.error
2022-06-07 23:40:58 +02:00
b5a3982523 Add balance zero notice (#158)
* Wip balance zero notice

* use new balance hook

* fix build

* switch mismatch logic

* Add tracking

Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Joaquim Verges <[email protected]>
2022-06-02 01:55:13 +02:00
Nacho Iacovino d33fc6ae05 Update sdk, fix snapshot (#161) 2022-06-01 19:58:19 +02:00
Jonas Daniels a81f7eeb86 merge in main 2022-05-27 18:50:39 -07:00
adam-majandJonas Daniels 28b9e5d5ef Add progress (need to update SDK) (#150)
* Add progress (need to update SDK)

* Push updates

Co-authored-by: Jonas Daniels <[email protected]>
2022-05-27 18:45:32 -07:00
Joaquim VergesandJonas Daniels c0258fec48 update SDK and show new API for contract functions (#153)
* update SDK and show new API for contract functions

* add multiwrap to all mappings

Co-authored-by: Jonas Daniels <[email protected]>
2022-05-27 18:05:24 -07:00
Jonas Daniels 34cd7237fe merge in main 2022-05-26 22:04:35 -07:00