// Copyright 2017-2020 @polkadot/apps-config authors & contributors // SPDX-License-Identifier: Apache-2.0 // structs need to be in order /* eslint-disable sort-keys */ export default { Address: 'AccountId', RefCount: 'u8', AddressInfo: 'Vec', FileAlias: 'Vec', Guarantee: { targets: 'Vec>', total: 'Compact', submitted_in: 'EraIndex', suppressed: 'bool' }, IASSig: 'Vec', Identity: { pub_key: 'Vec', code: 'Vec' }, ISVBody: 'Vec', LookupSource: 'AccountId', MerchantInfo: { address: 'Vec', storage_price: 'Balance', file_map: 'Vec<(Vec, Vec)>' }, MerchantPunishment: { success: 'EraIndex', failed: 'EraIndex', value: 'Balance' }, MerkleRoot: 'Vec', OrderStatus: { _enum: ['Success', 'Failed', 'Pending'] }, PaymentLedger: { total: 'Balance', paid: 'Balance', unreserved: 'Balance' }, Pledge: { total: 'Balance', used: 'Balance' }, ReportSlot: 'u64', Releases: { _enum: ['V1_0_0', 'V2_0_0'] }, Status: { _enum: ['Free', 'Reserved'] }, StorageOrder: { file_identifier: 'Vec', file_size: 'u64', created_on: 'BlockNumber', completed_on: 'BlockNumber', expired_on: 'BlockNumber', provider: 'AccountId', client: 'AccountId', amount: 'Balance', order_status: 'OrderStatus' }, SworkerCert: 'Vec', SworkerCode: 'Vec', SworkerPubKey: 'Vec', SworkerSignature: 'Vec', WorkReport: { block_number: 'u64', used: 'u64', reserved: 'u64', cached_reserved: 'u64', files: 'Vec<(Vec, u64)>' } };