git.delta.rocks / unique-network / refs/commits / 4168444d4e84

difftreelog

Fix buggy Markdown

Dan Forbes2020-09-12parent: #f847a9e.patch.diff
in: master

1 file changed

modifieddoc/application_development.mddiffbeforeafterboth
4040
41##### Permissions41##### Permissions
4242
43Anyone43- Anyone
4444
45##### Parameters45##### Parameters
4646
47customDataSz: Size of NFT properties data.47- customDataSz: Size of NFT properties data.
4848
49##### Events49##### Events
5050
51CollectionCreated CollectionID: Globally unique identifier of newly created collection. Owner: Collection owner51- CollectionCreated
52 - CollectionID: Globally unique identifier of newly created collection.
53 - Mode: Collection mode
54 - Owner: Collection owner
5255
53#### ChangeCollectionOwner56#### ChangeCollectionOwner
5457
5861
59##### Permissions62##### Permissions
6063
61Collection Owner64- Collection Owner
6265
63##### Parameters66##### Parameters
6467
65CollectionId68- CollectionId
6669
67#### DestroyCollection70#### DestroyCollection
6871
7376
74##### Permissions77##### Permissions
7578
76Collection Owner79- Collection Owner
7780
78##### Parameters81##### Parameters
7982
80CollectionId83- CollectionId
8184
82#### CreateItem85#### CreateItem
8386
8790
88##### Permissions91##### Permissions
8992
90Collection Owner Collection Admin93- Collection Owner
94- Collection Admin
9195
92##### Parameters96##### Parameters
9397
94CollectionID: ID of the collection Properties: Array of bytes that contains NFT properties. Since NFT Module is agnostic98- CollectionID: ID of the collection
95of 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 is
100 treated purely as an array of bytes
101- Owner: Address, initial owner of the NFT
96102
97##### Events103##### Events
98104
99ItemCreated ItemId: Identifier of newly created NFT, which is unique within the Collection, so the NFT is uniquely105- ItemCreated
106 - ItemId: Identifier of newly created NFT, which is unique within the Collection, so the NFT is uniquely
100identified with a pair of values: CollectionId and ItemId.107 identified with a pair of values: CollectionId and ItemId.
101108
102#### BurnItem109#### BurnItem
103110
107114
108##### Permissions115##### Permissions
109116
110Collection Owner Collection Admin Current NFT Owner117- Collection Owner
118- Collection Admin
119- Current NFT Owner
111120
112##### Parameters121##### Parameters
113122
114CollectionID: ID of the collection ItemID: ID of NFT to burn123- CollectionID: ID of the collection
124- ItemID: ID of NFT to burn
115125
116##### Events126##### Events
117127
118ItemDestroyed CollectionID ItemId: Identifier of burned NFT128- ItemDestroyed
129 - CollectionID
130 - ItemId: Identifier of burned NFT
119131
120#### AddCollectionAdmin132#### AddCollectionAdmin
121133
128140
129##### Permissions141##### Permissions
130142
131Collection Owner Collection Admin143- Collection Owner
144- Collection Admin
132145
133##### Parameters146##### Parameters
134147
135CollectionID: ID of the Collection to add admin for Admin: Address of new admin to add148- CollectionID: ID of the Collection to add admin for
149- Admin: Address of new admin to add
136150
137#### RemoveCollectionAdmin151#### RemoveCollectionAdmin
138152
143157
144##### Permissions158##### Permissions
145159
146Collection Owner Collection Admin160- Collection Owner
161- Collection Admin
147162
148##### Parameters163##### Parameters
149164
150CollectionID: ID of the Collection to remove admin for Admin: Address of admin to remove165- CollectionID: ID of the Collection to remove admin for
166- Admin: Address of admin to remove
151167
152### Item Ownership and Transfers168### Item Ownership and Transfers
153169
161177
162##### Permissions178##### Permissions
163179
164Anyone180- Anyone
165181
166##### Parameters182##### Parameters
167183
168CollectionId ItemId: ID of the NFT184- CollectionId
185- ItemId: ID of the NFT
169186
170##### Returns187##### Returns
171188
180197
181##### Permissions198##### Permissions
182199
183Anyone200- Anyone
184201
185##### Parameters202##### Parameters
186203
187CollectionId Address to count NFTs for204- CollectionId
205- Address to count NFTs for
188206
189##### Returns207##### Returns
190208
198216
199##### Permissions217##### Permissions
200218
201Collection Owner Collection Admin Current NFT owner219- Collection Owner
220- Collection Admin
221- Current NFT owner
202222
203##### Parameters223##### Parameters
204224
205Recipient: Address of token recipient ClassId: ID of item class ItemId: ID of the item225- Recipient: Address of token recipient
226- ClassId: ID of item class
227- ItemId: ID of the item
206228
207#### TransferFrom229#### TransferFrom
208230
214236
215##### Permissions237##### Permissions
216238
217Collection Owner Collection Admin Current NFT owner Address approved by current NFT owner239- Collection Owner
240- Collection Admin
241- Current NFT owner
242- Address approved by current NFT owner
218243
219##### Parameters244##### Parameters
220245
221Recipient: Address of token recipient ClassId: ID of item class ItemId: ID of the item246- Recipient: Address of token recipient
247- ClassId: ID of item class
248- ItemId: ID of the item
222249
223#### Approve250#### Approve
224251
228255
229##### Permissions256##### Permissions
230257
231Collection Owner Collection Admin Current NFT owner258- Collection Owner
259- Collection Admin
260- Current NFT owner
232261
233##### Parameters262##### Parameters
234263
235Approved: 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 class
236ItemId: ID of the item266- ItemId: ID of the item
237267
238#### GetApproved268#### GetApproved
239269
243273
244##### Permissions274##### Permissions
245275
246Anyone276- Anyone
247277
248##### Parameters278##### Parameters
249279
250ClassId: ID of item class ItemId: ID of the item280- ClassId: ID of item class
281- ItemId: ID of the item
251282
252##### Returns283##### Returns
253284