From 8f8d39779075f706b91d02a63371a3e229ad3e4f Mon Sep 17 00:00:00 2001 From: Zombieliu <50917820+Zombieliu@users.noreply.github.com> Date: Sun, 14 Mar 2021 18:05:52 +0800 Subject: [PATCH] update Sgc testnet node types (#4844) * update chain types * update chain types * update node name * update sgc node types * update sgc node types --- packages/apps-config/src/api/spec/sgc.ts | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/packages/apps-config/src/api/spec/sgc.ts b/packages/apps-config/src/api/spec/sgc.ts index bbeb110433..de18eea701 100644 --- a/packages/apps-config/src/api/spec/sgc.ts +++ b/packages/apps-config/src/api/spec/sgc.ts @@ -14,7 +14,25 @@ const definitions: OverrideBundleDefinition = { types: { Address: 'MultiAddress', LookupSource: 'MultiAddress', - TokenId: 'u32' + TokenId: 'u64', + InstanceId: 'u64', + ExchangeId: 'u32', + TokenSymbol: { + _enum: { + SGC: 0, + DOT: 1, + ACA: 2, + AUSD: 3 + } + }, + CurrencyId: { + _enum: { + Token: 'TokenSymbol' + } + }, + CurrencyIdOf: 'CurrencyId', + CollectionId: 'u64', + AssetId: '64' } } ]