Explorar el Código

Adding Eclipse fees.

Blockiosaurus hace 1 año
padre
commit
cbea35688e
Se han modificado 4 ficheros con 218 adiciones y 613 borrados
  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': {

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 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.

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio