git.delta.rocks / unique-network / refs/commits / e8d0e4032f16

difftreelog

Update custom types

Greg Zaitsev2020-08-05parent: #a46b40b.patch.diff
in: master

2 files changed

modifiedREADME.mddiffbeforeafterboth
122 "Owner": "AccountId",122 "Owner": "AccountId",
123 "Data": "Vec<u8>"123 "Data": "Vec<u8>"
124 },124 },
125 "Ownership": {
126 "owner": "AccountId",
127 "fraction": "u128"
128 },
129 "ReFungibleItemType": {
130 "Collection": u64,
131 "Owner": "Vec<Ownership<AccountId>>",
132 "Data": "Vec<u8>",
133 },
125 "CollectionType": {134 "CollectionType": {
126 "Owner": "AccountId",135 "Owner": "AccountId",
127 "Mode": "CollectionMode",136 "Mode": "CollectionMode",
modifieddoc/application_development.mddiffbeforeafterboth
--- a/doc/application_development.md
+++ b/doc/application_development.md
@@ -18,51 +18,7 @@
 
 ## Custom Types for JS API
 
-```
-{
-  "Schedule": {
-    "version": "u32",
-    "put_code_per_byte_cost": "Gas",
-    "grow_mem_cost": "Gas",
-    "regular_op_cost": "Gas",
-    "return_data_per_byte_cost": "Gas",
-    "event_data_per_byte_cost": "Gas",
-    "event_per_topic_cost": "Gas",
-    "event_base_cost": "Gas",
-    "call_base_cost": "Gas",
-    "instantiate_base_cost": "Gas",
-    "dispatch_base_cost": "Gas",
-    "sandbox_data_read_cost": "Gas",
-    "sandbox_data_write_cost": "Gas",
-    "transfer_cost": "Gas",
-    "instantiate_cost": "Gas",
-    "max_event_topics": "u32",
-    "max_stack_height": "u32",
-    "max_memory_pages": "u32",
-    "max_table_size": "u32",
-    "enable_println": "bool",
-    "max_subject_len": "u32"
-  },
-  "NftItemType": {
-    "Collection": "u64",
-    "Owner": "AccountId",
-    "Data": "Vec<u8>"
-  },
-  "CollectionType": {
-    "Owner": "AccountId",
-    "NextItemId": "u64",
-    "Name": "Vec<u16>",
-    "Description": "Vec<u16>",
-    "TokenPrefix": "Vec<u8>",
-    "CustomDataSize": "u32",
-    "Sponsor": "AccountId",
-    "UnconfirmedSponsor": "AccountId"
-  },
-  "Address": "AccountId",
-  "LookupSource": "AccountId",
-  "Weight": "u64"
-}
-```
+See in root README
 
 ## NFT Palette Methods