git.delta.rocks / unique-network / refs/commits / 513c1a07f507

difftreelog

Add schema limits to custom types

Greg Zaitsev2021-01-26parent: #4e9eae9.patch.diff
in: master

1 file changed

modifiedruntime_types.jsondiffbeforeafterboth
before · runtime_types.json
1{2    "Schedule": {3      "version": "u32",4      "put_code_per_byte_cost": "Gas",5      "grow_mem_cost": "Gas",6      "regular_op_cost": "Gas",7      "return_data_per_byte_cost": "Gas",8      "event_data_per_byte_cost": "Gas",9      "event_per_topic_cost": "Gas",10      "event_base_cost": "Gas",11      "call_base_cost": "Gas",12      "instantiate_base_cost": "Gas",13      "dispatch_base_cost": "Gas",14      "sandbox_data_read_cost": "Gas",15      "sandbox_data_write_cost": "Gas",16      "transfer_cost": "Gas",17      "instantiate_cost": "Gas",18      "max_event_topics": "u32",19      "max_stack_height": "u32",20      "max_memory_pages": "u32",21      "max_table_size": "u32",22      "enable_println": "bool",23      "max_subject_len": "u32"24    },25    "AccessMode": {26      "_enum": [27        "Normal",28        "WhiteList"29      ]30    },31    "DecimalPoints": "u8",32    "CollectionMode": {33      "_enum": {34        "Invalid": null,35        "NFT": null,36        "Fungible": "DecimalPoints",37        "ReFungible": "DecimalPoints"38      }39    },40    "Ownership": {41      "Owner": "AccountId",42      "Fraction": "u128"43    },44    "FungibleItemType": {45      "Value": "u128"46    },47    "NftItemType": {48      "Owner": "AccountId",49      "ConstData": "Vec<u8>",50      "VariableData": "Vec<u8>"51    },52    "ReFungibleItemType": {53      "Owner": "Vec<Ownership<AccountId>>",54      "ConstData": "Vec<u8>",55      "VariableData": "Vec<u8>"56    },57    "CollectionType": {58      "Owner": "AccountId",59      "Mode": "CollectionMode",60      "Access": "AccessMode",61      "DecimalPoints": "DecimalPoints",62      "Name": "Vec<u16>",63      "Description": "Vec<u16>",64      "TokenPrefix": "Vec<u8>",65      "MintMode": "bool",66      "OffchainSchema": "Vec<u8>",67      "SchemaVersion": "SchemaVersion",68      "Sponsor": "AccountId",69      "SponsorConfirmed": "bool",70      "Limits": "CollectionLimits",71      "VariableOnChainSchema": "Vec<u8>",72      "ConstOnChainSchema": "Vec<u8>"73    },74    "RawData": "Vec<u8>",75    "Address": "AccountId",76    "LookupSource": "AccountId",77    "Weight": "u64",78    "CreateNftData": {79      "const_data": "Vec<u8>",80      "variable_data": "Vec<u8>" 81    },82    "CreateFungibleData": {83      "value": "u128"84    },85    "CreateReFungibleData": {86      "const_data": "Vec<u8>",87      "variable_data": "Vec<u8>" 88    },89    "CreateItemData": {90      "_enum": {91        "NFT": "CreateNftData",92        "Fungible": "CreateFungibleData",93        "ReFungible": "CreateReFungibleData"94      }95    },96    "SchemaVersion": {97      "_enum": [98        "ImageURL",99        "Unique"100      ]101    },102    "CollectionId": "u32",103    "TokenId": "u32",104    "ChainLimits": {105      "collection_numbers_limit": "u32",106      "account_token_ownership_limit": "u32",107      "collections_admins_limit": "u64",108      "custom_data_limit": "u32",109      "nft_sponsor_timeout": "u32",110      "fungible_sponsor_timeout": "u32",111      "refungible_sponsor_timeout": "u32"112    },113    "CollectionLimits": {114      "AccountTokenOwnershipLimit": "u32",115      "SponsoredMintSize": "u32",116      "TokenLimit": "u32",117      "SponsorTimeout": "u32"118    }119  }120