diff --git a/packages/apps-config/src/api/spec/robonomics.ts b/packages/apps-config/src/api/spec/robonomics.ts index 16880a7cfd..4143527071 100644 --- a/packages/apps-config/src/api/spec/robonomics.ts +++ b/packages/apps-config/src/api/spec/robonomics.ts @@ -12,17 +12,54 @@ const definitions: OverrideBundleDefinition = { // on all versions minmax: [0, undefined], types: { + Address: 'AccountId', + LookupSource: 'AccountId', + Lighthouse: 'H160', Record: 'Vec', - TechnicalParam: 'Vec', - TechnicalReport: 'Vec', - EconomicalParam: '{}', - ProofParam: 'MultiSignature', - LiabilityIndex: 'u64', + Technics: 'Vec', + Economics: '{}', + Report: { + index: 'LiabilityIndex', + sender: 'AccountId', + payload: 'Vec', + signature: 'MultiSignature' + }, + ReportFor: 'Report', + Agreement: { + technics: 'Technics', + economics: 'Economics', + promisee: 'AccountId', + promisor: 'AccountId', + promisee_signature: 'MultiSignature', + promisor_signature: 'MultiSignature' + }, + LiabilityIndex: 'u32', ValidationFunctionParams: { max_code_size: 'u32', relay_chain_height: 'u32', code_upgrade_allowed: 'Option' - } + }, + ChainId: { + _enum: { + RelayChain: null, + Parachain: 'ParaId' + } + }, + XCurrencyId: { + chain_id: 'ChainId', + currency_id: 'Bytes' + }, + CurrencyIdOf: 'CurrencyId', + CurrencyId: { + _enum: { + Token: 'TokenSymbol' + } + }, + TokenSymbol: { + _enum: ['ACA', 'AUSD', 'DOT', 'XBTC', 'LDOT', 'RENBTC', 'SDN', 'PLM', 'XRT'] + }, + AmountOf: 'Amount', + Amount: 'i128' } } ]