浏览代码

Adding Eclipse fees.

Blockiosaurus 1 年之前
父节点
当前提交
cbea35688e
共有 4 个文件被更改,包括 218 次插入613 次删除
  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,
   transformDialectSwitcherTag,
 } from '@/components/DialectSwitcher'
 } from '@/components/DialectSwitcher'
 import { QuickLink, QuickLinks } from '@/components/QuickLinks'
 import { QuickLink, QuickLinks } from '@/components/QuickLinks'
+import { Seperator } from '@/components/Seperator'
 import { Totem, TotemAccordion, TotemProse } from '@/components/Totem'
 import { Totem, TotemAccordion, TotemProse } from '@/components/Totem'
 import {
 import {
   Diagram,
   Diagram,
   transformDiagramTag,
   transformDiagramTag,
   transformNodeTag,
   transformNodeTag,
 } from '@/components/diagrams'
 } 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 ProductGrid } from '@/components/products/Grid'
 import { MarkdocGrid as AllProductsGrid } from '@/components/products/GridAllProducts'
 import { MarkdocGrid as AllProductsGrid } from '@/components/products/GridAllProducts'
-import { PackagesUsed } from '@/components/helperComponents/packagesUsed'
 
 
 const tags = {
 const tags = {
   callout: {
   callout: {
@@ -74,6 +74,7 @@ const tags = {
     render: TotemAccordion,
     render: TotemAccordion,
     attributes: {
     attributes: {
       title: { type: String },
       title: { type: String },
+      defaultOpen: { type: Boolean },
     },
     },
   },
   },
   'totem-prose': {
   'totem-prose': {

文件差异内容过多而无法显示
+ 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>
   return <div className="totem overflow-hidden">{children}</div>
 }
 }
 
 
-export function TotemAccordion({ children, title }) {
+export function TotemAccordion({ children, title, defaultOpen = false }) {
   return (
   return (
-    <Disclosure>
+    <Disclosure defaultOpen={defaultOpen}>
       {({ open }) => (
       {({ open }) => (
         <div>
         <div>
           <Disclosure.Button className="flex w-full items-center justify-between px-4 py-3 hover:bg-neutral-800">
           <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:
 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 | 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
 ## 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.
 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.

部分文件因为文件数量过多而无法显示