From cdebc167b7d17e48456dcba1fdbb69a336424e3a Mon Sep 17 00:00:00 2001 From: Miguel Hervas Date: Thu, 10 Dec 2020 04:56:25 -0700 Subject: [PATCH] Adding Centrifuge Runtime Upgrade 4 types (#4185) --- .../src/api/spec/centrifuge-chain.ts | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/packages/apps-config/src/api/spec/centrifuge-chain.ts b/packages/apps-config/src/api/spec/centrifuge-chain.ts index 035a3df305..815798a4b1 100644 --- a/packages/apps-config/src/api/spec/centrifuge-chain.ts +++ b/packages/apps-config/src/api/spec/centrifuge-chain.ts @@ -35,5 +35,30 @@ export default { ChainId: 'u8', ResourceId: '[u8; 32]', 'chainbridge::ChainId': 'u8', - DepositNonce: 'u64' + DepositNonce: 'u64', + // NFT + RegistryId: 'H160', + TokenId: 'U256', + AssetId: { + registryId: 'RegistryId', + tokenId: 'TokenId' + }, + RegistryInfo: { + ownerCanBurn: 'bool', + fields: 'Vec' + }, + AssetInfo: { + metadata: 'Bytes' + }, + ProofMint: { + value: 'Bytes', + property: 'Bytes', + salt: '[u8; 32]', + hashes: 'Vec' + }, + MintInfo: { + anchorId: 'Hash', + staticHashes: '[Hash; 3]', + proofs: 'Vec' + } };