Bladeren bron

Adding Eclipse fees.

Blockiosaurus 1 jaar geleden
bovenliggende
commit
cbea35688e
4 gewijzigde bestanden met toevoegingen van 218 en 613 verwijderingen
  1. 3 2
      markdoc/tags.js
  2. 193 600
      pnpm-lock.yaml
  3. 2 2
      src/components/Totem.jsx
  4. 20 9
      src/pages/protocol-fees.md

+ 3 - 2
markdoc/tags.js

@@ -5,16 +5,16 @@ import {
   transformDialectSwitcherTag,
 } from '@/components/DialectSwitcher'
 import { QuickLink, QuickLinks } from '@/components/QuickLinks'
+import { Seperator } from '@/components/Seperator'
 import { Totem, TotemAccordion, TotemProse } from '@/components/Totem'
 import {
   Diagram,
   transformDiagramTag,
   transformNodeTag,
 } from '@/components/diagrams'
-import {Seperator} from '@/components/Seperator'
+import { PackagesUsed } from '@/components/helperComponents/packagesUsed'
 import { MarkdocGrid as ProductGrid } from '@/components/products/Grid'
 import { MarkdocGrid as AllProductsGrid } from '@/components/products/GridAllProducts'
-import { PackagesUsed } from '@/components/helperComponents/packagesUsed'
 
 const tags = {
   callout: {
@@ -74,6 +74,7 @@ const tags = {
     render: TotemAccordion,
     attributes: {
       title: { type: String },
+      defaultOpen: { type: Boolean },
     },
   },
   'totem-prose': {

File diff suppressed because it is too large
+ 193 - 600
pnpm-lock.yaml


+ 2 - 2
src/components/Totem.jsx

@@ -7,9 +7,9 @@ export function Totem({ children }) {
   return <div className="totem overflow-hidden">{children}</div>
 }
 
-export function TotemAccordion({ children, title }) {
+export function TotemAccordion({ children, title, defaultOpen = false }) {
   return (
-    <Disclosure>
+    <Disclosure defaultOpen={defaultOpen}>
       {({ open }) => (
         <div>
           <Disclosure.Button className="flex w-full items-center justify-between px-4 py-3 hover:bg-neutral-800">

+ 20 - 9
src/pages/protocol-fees.md

@@ -6,16 +6,27 @@ description: A details of the onchain fees for Metaplex's products.
 
 The Metaplex Protocol currently includes the following fees:
 
-| Instruction     | Program         | Typical Payer | Amount (SOL) | Notes                                                                                                                                                                                                                                                                                    |
+{% totem %}
+{% totem-accordion title="Solana" test="test" defaultOpen="true" %}
+| Instruction | Program | Typical Payer | Amount (SOL) | Notes |
 | --------------- | --------------- | ------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
 | Create | Core | Collector | 0.0015 | Paid by the minter, which is typically individual collectors minting new drops. Includes all instructions that "create" an NFT including ones that create print editions. |
-| Create          | Token Metadata  | Collector     | 0.01         | Paid by the minter, which is typically individual collectors minting new drops. Alternatively creators may consider using Core (next gen NFTs) for maximum composability and lower mint costs, or Bubblegum (compressed NFTs). Includes all instructions that "create" an NFT including ones that create print editions. |
-| Create          | Bubblegum       | -             | Free |
-| Swap   | MPL-Hybrid | Collector | 0.005 | Paid by the individual who swaps tokens and NFTs. |
-| Combine         | Fusion (Trifle) | Collector     | 0.002        |                                                                                                                                                                                                                                                                                          |
-| Split           | Fusion (Trifle) | Collector     | 0.002        |                                                                                                                                                                                                                                                                                          |
-| Edit constraint | Fusion (Trifle) | Creator       | 0.01         |                                                                                                                                                                                                                                                                                          |
-
+| Create | Token Metadata | Collector | 0.01 | Paid by the minter, which is typically individual collectors minting new drops. Alternatively creators may consider using Core (next gen NFTs) for maximum composability and lower mint costs, or Bubblegum (compressed NFTs). Includes all instructions that "create" an NFT including ones that create print editions. |
+| Create | Bubblegum | - | Free |
+| Swap | MPL-Hybrid | Collector | 0.005 | Paid by the individual who swaps tokens and NFTs. |
+| Combine | Fusion (Trifle) | Collector | 0.002 | |
+| Split | Fusion (Trifle) | Collector | 0.002 | |
+| Edit constraint | Fusion (Trifle) | Creator | 0.01 | |
+{% /totem-accordion %}
+{% totem-accordion title="Eclipse" %}
+| Instruction | Program | Typical Payer | Amount (ETH) | Notes |
+| --------------- | --------------- | ------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| Create | Core | Collector | 0.00001822 | Paid by the minter, which is typically individual collectors minting new drops. Includes all instructions that "create" an NFT including ones that create print editions. |
+| Create | Token Metadata | Collector | 0.000103088 | Paid by the minter, which is typically individual collectors minting new drops. Alternatively creators may consider using Core (next gen NFTs) for maximum composability and lower mint costs, or Bubblegum (compressed NFTs). Includes all instructions that "create" an NFT including ones that create print editions. |
+| Create | Bubblegum | - | Free |
+| Swap | MPL-Hybrid | Collector | 0.005 | Paid by the individual who swaps tokens and NFTs. |
+{% /totem-accordion %}
+{% /totem %}
 
 ## FAQs
 
@@ -31,4 +42,4 @@ Creators will incur 0 SOL in Token Metadata or Core fees for a standard 10k NFT
 
 All protocol fees are used to further the objectives of the Metaplex Foundation, which is a non-profit organization established to foster the research, development and adoption of the Metaplex ecosystem. This includes providing incentives and assistance to the Metaplex community for the continued development, security, governance, and administration of the Metaplex Protocol and Metaplex DAO.
 
-Currently, 50% of protocol fees are converted to $MPLX and contributed to the Metaplex DAO treasury. The remaining 50% are reserved by the Metaplex Foundation to support the long-term sustainable development of the Metaplex ecosystem.
+Currently, 50% of protocol fees are converted to $MPLX and contributed to the Metaplex DAO treasury. The remaining 50% are reserved by the Metaplex Foundation to support the long-term sustainable development of the Metaplex ecosystem.

Some files were not shown because too many files changed in this diff