difftreelog
Fix buggy Markdown
in: master
1 file changed
doc/application_development.mddiffbeforeafterboth404041##### Permissions41##### Permissions424243Anyone43- Anyone444445##### Parameters45##### Parameters464647customDataSz: Size of NFT properties data.47- customDataSz: Size of NFT properties data.484849##### Events49##### Events505051CollectionCreated CollectionID: Globally unique identifier of newly created collection. Owner: Collection owner51- CollectionCreated52 - CollectionID: Globally unique identifier of newly created collection.53 - Mode: Collection mode54 - Owner: Collection owner525553#### ChangeCollectionOwner56#### ChangeCollectionOwner5457586159##### Permissions62##### Permissions606361Collection Owner64- Collection Owner626563##### Parameters66##### Parameters646765CollectionId68- CollectionId666967#### DestroyCollection70#### DestroyCollection6871737674##### Permissions77##### Permissions757876Collection Owner79- Collection Owner778078##### Parameters81##### Parameters798280CollectionId83- CollectionId818482#### CreateItem85#### CreateItem8386879088##### Permissions91##### Permissions899290Collection Owner Collection Admin93- Collection Owner94- Collection Admin919592##### Parameters96##### Parameters939794CollectionID: ID of the collection Properties: Array of bytes that contains NFT properties. Since NFT Module is agnostic98- CollectionID: ID of the collection95of properties’ meaning, it is treated purely as an array of bytes Owner: Address, initial owner of the NFT99- Properties: Array of bytes that contains NFT properties. Since NFT Module is agnostic of properties’ meaning, it is100 treated purely as an array of bytes101- Owner: Address, initial owner of the NFT9610297##### Events103##### Events9810499ItemCreated ItemId: Identifier of newly created NFT, which is unique within the Collection, so the NFT is uniquely105- ItemCreated106 - ItemId: Identifier of newly created NFT, which is unique within the Collection, so the NFT is uniquely100identified with a pair of values: CollectionId and ItemId.107 identified with a pair of values: CollectionId and ItemId.101108102#### BurnItem109#### BurnItem103110107114108##### Permissions115##### Permissions109116110Collection Owner Collection Admin Current NFT Owner117- Collection Owner118- Collection Admin119- Current NFT Owner111120112##### Parameters121##### Parameters113122114CollectionID: ID of the collection ItemID: ID of NFT to burn123- CollectionID: ID of the collection124- ItemID: ID of NFT to burn115125116##### Events126##### Events117127118ItemDestroyed CollectionID ItemId: Identifier of burned NFT128- ItemDestroyed129 - CollectionID130 - ItemId: Identifier of burned NFT119131120#### AddCollectionAdmin132#### AddCollectionAdmin121133128140129##### Permissions141##### Permissions130142131Collection Owner Collection Admin143- Collection Owner144- Collection Admin132145133##### Parameters146##### Parameters134147135CollectionID: ID of the Collection to add admin for Admin: Address of new admin to add148- CollectionID: ID of the Collection to add admin for149- Admin: Address of new admin to add136150137#### RemoveCollectionAdmin151#### RemoveCollectionAdmin138152143157144##### Permissions158##### Permissions145159146Collection Owner Collection Admin160- Collection Owner161- Collection Admin147162148##### Parameters163##### Parameters149164150CollectionID: ID of the Collection to remove admin for Admin: Address of admin to remove165- CollectionID: ID of the Collection to remove admin for166- Admin: Address of admin to remove151167152### Item Ownership and Transfers168### Item Ownership and Transfers153169161177162##### Permissions178##### Permissions163179164Anyone180- Anyone165181166##### Parameters182##### Parameters167183168CollectionId ItemId: ID of the NFT184- CollectionId185- ItemId: ID of the NFT169186170##### Returns187##### Returns171188180197181##### Permissions198##### Permissions182199183Anyone200- Anyone184201185##### Parameters202##### Parameters186203187CollectionId Address to count NFTs for204- CollectionId205- Address to count NFTs for188206189##### Returns207##### Returns190208198216199##### Permissions217##### Permissions200218201Collection Owner Collection Admin Current NFT owner219- Collection Owner220- Collection Admin221- Current NFT owner202222203##### Parameters223##### Parameters204224205Recipient: Address of token recipient ClassId: ID of item class ItemId: ID of the item225- Recipient: Address of token recipient226- ClassId: ID of item class227- ItemId: ID of the item206228207#### TransferFrom229#### TransferFrom208230214236215##### Permissions237##### Permissions216238217Collection Owner Collection Admin Current NFT owner Address approved by current NFT owner239- Collection Owner240- Collection Admin241- Current NFT owner242- Address approved by current NFT owner218243219##### Parameters244##### Parameters220245221Recipient: Address of token recipient ClassId: ID of item class ItemId: ID of the item246- Recipient: Address of token recipient247- ClassId: ID of item class248- ItemId: ID of the item222249223#### Approve250#### Approve224251228255229##### Permissions256##### Permissions230257231Collection Owner Collection Admin Current NFT owner258- Collection Owner259- Collection Admin260- Current NFT owner232261233##### Parameters262##### Parameters234263235Approved: Address that is approved to transfer this NFT or zero (if needed to remove approval) ClassId: ID of item class264- Approved: Address that is approved to transfer this NFT or zero (if needed to remove approval)265- ClassId: ID of item class236ItemId: ID of the item266- ItemId: ID of the item237267238#### GetApproved268#### GetApproved239269243273244##### Permissions274##### Permissions245275246Anyone276- Anyone247277248##### Parameters278##### Parameters249279250ClassId: ID of item class ItemId: ID of the item280- ClassId: ID of item class281- ItemId: ID of the item251282252##### Returns283##### Returns253284