Skip to content

Commit c4d8187

Browse files
authored
docs(examples): add comment clarifying sellers fee basis points param (#1648)
1 parent 9be22c2 commit c4d8187

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/lzapp-migration/tasks/solana/createOFT.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ interface CreateOFTTaskArgs {
7575
programId: string
7676

7777
/**
78-
* The seller fee basis points.
78+
* The seller fee basis points for Metaplex's Token Metadata standard (not enforced on-chain). This is not related to OFT fees.
7979
*/
8080
sellerFeeBasisPoints: number
8181

@@ -133,7 +133,7 @@ task('lz:oft:solana:create', 'Mints new SPL Token and creates new OFT Store acco
133133
.addParam('name', 'Token Name', 'MockOFT', devtoolsTypes.string)
134134
.addOptionalParam('mint', 'The Token mint public key (used for MABA only)', undefined, devtoolsTypes.string)
135135
.addParam('programId', 'The OFT Program id')
136-
.addParam('sellerFeeBasisPoints', 'Seller fee basis points', 0, devtoolsTypes.int)
136+
.addParam('sellerFeeBasisPoints', 'Seller fee basis points', 0, devtoolsTypes.int) // Note: This is for Metaplex's Token Metadata standard (not enforced on-chain). This is not related to OFT fees.
137137
.addParam('symbol', 'Token Symbol', 'MOFT', devtoolsTypes.string)
138138
.addParam('tokenMetadataIsMutable', 'Token metadata is mutable', true, devtoolsTypes.boolean)
139139
.addParam('additionalMinters', 'Comma-separated list of additional minters', undefined, devtoolsTypes.csv, true)

examples/oft-solana/tasks/solana/createOFT.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ interface CreateOFTTaskArgs {
7575
programId: string
7676

7777
/**
78-
* The seller fee basis points.
78+
* The seller fee basis points for Metaplex's Token Metadata standard (not enforced on-chain). This is not related to OFT fees.
7979
*/
8080
sellerFeeBasisPoints: number
8181

@@ -133,7 +133,7 @@ task('lz:oft:solana:create', 'Mints new SPL Token and creates new OFT Store acco
133133
.addParam('name', 'Token Name', 'MockOFT', devtoolsTypes.string)
134134
.addOptionalParam('mint', 'The Token mint public key (used for MABA only)', undefined, devtoolsTypes.string)
135135
.addParam('programId', 'The OFT Program id')
136-
.addParam('sellerFeeBasisPoints', 'Seller fee basis points', 0, devtoolsTypes.int)
136+
.addParam('sellerFeeBasisPoints', 'Seller fee basis points', 0, devtoolsTypes.int) // Note: This is for Metaplex's Token Metadata standard (not enforced on-chain). This is not related to OFT fees.
137137
.addParam('symbol', 'Token Symbol', 'MOFT', devtoolsTypes.string)
138138
.addParam('tokenMetadataIsMutable', 'Token metadata is mutable', true, devtoolsTypes.boolean)
139139
.addParam('additionalMinters', 'Comma-separated list of additional minters', undefined, devtoolsTypes.csv, true)

0 commit comments

Comments
 (0)