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

difftreelog

UI types update

str-mv2020-08-04parent: #175b00b.patch.diff
in: master

2 files changed

modifiedREADME.mddiffbeforeafterboth
81```81```
8282
83Additional CLI usage options are available and may be shown by running `cargo run -- --help`.83Additional CLI usage options are available and may be shown by running `cargo run -- --help`.
8484
85
86## UI custom types
87```
88{
89 "Schedule": {
90 "version": "u32",
91 "put_code_per_byte_cost": "Gas",
92 "grow_mem_cost": "Gas",
93 "regular_op_cost": "Gas",
94 "return_data_per_byte_cost": "Gas",
95 "event_data_per_byte_cost": "Gas",
96 "event_per_topic_cost": "Gas",
97 "event_base_cost": "Gas",
98 "call_base_cost": "Gas",
99 "instantiate_base_cost": "Gas",
100 "dispatch_base_cost": "Gas",
101 "sandbox_data_read_cost": "Gas",
102 "sandbox_data_write_cost": "Gas",
103 "transfer_cost": "Gas",
104 "instantiate_cost": "Gas",
105 "max_event_topics": "u32",
106 "max_stack_height": "u32",
107 "max_memory_pages": "u32",
108 "max_table_size": "u32",
109 "enable_println": "bool",
110 "max_subject_len": "u32"
111 },
112 "CollectionMode": {
113 "_enum": {
114 "Invalid": null,
115 "NFT": "u32",
116 "Fungible": "u32",
117 "ReFungible": "(u32, u32)"
118 }
119 },
120 "NftItemType": {
121 "Collection": "u64",
122 "Owner": "AccountId",
123 "Data": "Vec<u8>"
124 },
125 "CollectionType": {
126 "Owner": "AccountId",
127 "Mode": "u8",
128 "ModeParam": "u32",
129 "Access": "u8",
130 "NextItemId": "u64",
131 "DecimalPoints": "u32",
132 "Name": "Vec<u16>",
133 "Description": "Vec<u16>",
134 "TokenPrefix": "Vec<u8>",
135 "CustomDataSize": "u32",
136 "OffchainSchema": "Vec<u8>",
137 "Sponsor": "AccountId",
138 "UnconfirmedSponsor": "AccountId"
139 },
140 "RawData": "Vec<u8>",
141 "Address": "AccountId",
142 "LookupSource": "AccountId",
143 "Weight": "u64"
144}
145```
modifiedsmart_contract/ink-types-node-runtime/README.mddiffbeforeafterboth
63 "Invalid": null,63 "Invalid": null,
64 "NFT": "u32",64 "NFT": "u32",
65 "Fungible": "u32",65 "Fungible": "u32",
66 "ReFungible": null66 "ReFungible": "(u32, u32)"
67 }67 }
68 },68 },
69 "NftItemType": {69 "NftItemType": {
70 "Collection": "u64",70 "Collection": "u64",
71 "Owner": "AccountId",71 "Owner": "AccountId",
72 "Data": "Vec<u8>"72 "Data": "Vec<u8>"
73 },73 },
74 74 "CollectionType": {
75
76"CollectionType": {
77 "Owner": "AccountId",75 "Owner": "AccountId",
78 "Mode": "u8",76 "Mode": "u8",
79 "ModeParam": "u32",77 "ModeParam": "u32",