difftreelog
NFTPAR-142 Off-chain and on-chain data schema. Updated custom types.
in: master
1 file changed
README.mddiffbeforeafterboth167 "CollectionMode": {167 "CollectionMode": {168 "_enum": {168 "_enum": {169 "Invalid": null,169 "Invalid": null,170 "NFT": "u32",170 "NFT": null,171 "Fungible": "u32",171 "Fungible": "u32",172 "ReFungible": "(u32, u32)"172 "ReFungible": "u32"173 }173 }174 },174 },175 "Ownership": {175 "Ownership": {189 "NftItemType": {189 "NftItemType": {190 "Collection": "u64",190 "Collection": "u64",191 "Owner": "AccountId",191 "Owner": "AccountId",192 "Data": "Vec<u8>"192 "ConstData": "Vec<u8>",193 "VariableData": "Vec<u8>"193 },194 },194 "Ownership": {195 "Ownership": {195 "owner": "AccountId",196 "owner": "AccountId",198 "ReFungibleItemType": {199 "ReFungibleItemType": {199 "Collection": "u64",200 "Collection": "u64",200 "Owner": "Vec<Ownership<AccountId>>",201 "Owner": "Vec<Ownership<AccountId>>",201 "Data": "Vec<u8>"202 "ConstData": "Vec<u8>",203 "VariableData": "Vec<u8>"202 },204 },203 "CollectionType": {205 "CollectionType": {204 "Owner": "AccountId",206 "Owner": "AccountId",208 "Name": "Vec<u16>",210 "Name": "Vec<u16>",209 "Description": "Vec<u16>",211 "Description": "Vec<u16>",210 "TokenPrefix": "Vec<u8>",212 "TokenPrefix": "Vec<u8>",211 "CustomDataSize": "u32",212 "MintMode": "bool",213 "MintMode": "bool",213 "OffchainSchema": "Vec<u8>",214 "OffchainSchema": "Vec<u8>",214 "Sponsor": "AccountId",215 "Sponsor": "AccountId",215 "UnconfirmedSponsor": "AccountId"216 "UnconfirmedSponsor": "AccountId",217 "VariableOnChainSchema": "Vec<u8>",218 "ConstOnChainSchema": "Vec<u8>"216 },219 },217 "ApprovePermissions": {220 "ApprovePermissions": {218 "Approved": "AccountId",221 "Approved": "AccountId",221 "RawData": "Vec<u8>",224 "RawData": "Vec<u8>",222 "Address": "AccountId",225 "Address": "AccountId",223 "LookupSource": "AccountId",226 "LookupSource": "AccountId",224 "Weight": "u64"227 "Weight": "u64",228 "CreateNftData": {229 "const_data": "Vec<u8>",230 "variable_data": "Vec<u8>" 231 },232 "CreateFungibleData": {},233 "CreateReFungibleData": {234 "const_data": "Vec<u8>",235 "variable_data": "Vec<u8>" 236 },237 "CreateItemData": {238 "_enum": {239 "NFT": "CreateNftData",240 "Fungible": "CreateFungibleData",241 "ReFungible": "CreateReFungibleData"242 }243 }225}244}226245227```246```