// 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', LookupSource: 'AccountId', Keys: 'SessionKeys2', Did: '[u8;32]', Bytes32: { value: '[u8;32]' }, Bytes33: { value: '[u8;33]' }, Bytes64: { value: '[u8;64]' }, Bytes65: { value: '[u8;65]' }, PublicKey: { _enum: { Sr25519: 'Bytes32', Ed25519: 'Bytes32', Secp256k1: 'Bytes33' } }, DidSignature: { _enum: { Sr25519: 'Bytes64', Ed25519: 'Bytes64', Secp256k1: 'Bytes65' } }, KeyDetail: { controller: 'Did', public_key: 'PublicKey' }, KeyUpdate: { did: 'Did', public_key: 'PublicKey', controller: 'Option', last_modified_in_block: 'BlockNumber' }, DidRemoval: { did: 'Did', last_modified_in_block: 'BlockNumber' }, RegistryId: '[u8;32]', RevokeId: '[u8;32]', Registry: { policy: 'Policy', add_only: 'bool' }, Revoke: { registry_id: 'RegistryId', revoke_ids: 'BTreeSet', last_modified: 'BlockNumber' }, UnRevoke: { registry_id: 'RegistryId', revoke_ids: 'BTreeSet', last_modified: 'BlockNumber' }, RemoveRegistry: { registry_id: 'RegistryId', last_modified: 'BlockNumber' }, PAuth: 'BTreeMap', Policy: { _enum: { OneOf: 'BTreeSet' } }, BlobId: '[u8;32]', Blob: { id: 'BlobId', blob: 'Vec', author: 'Did' }, EpochNo: 'u32', EpochLen: 'u32', SlotNo: 'u64', Balance: 'u64', EpochDetail: { validator_count: 'u8', starting_slot: 'SlotNo', expected_ending_slot: 'SlotNo', ending_slot: 'Option', total_emission: 'Option', emission_for_treasury: 'Option', emission_for_validators: 'Option' }, ValidatorStatsPerEpoch: { block_count: 'EpochLen', locked_reward: 'Option', unlocked_reward: 'Option' }, Payload: { proposal: 'Vec', round_no: 'u64' }, Membership: { members: 'BTreeSet', vote_requirement: 'u64' }, PMAuth: 'BTreeMap', StateChange: { _enum: { KeyUpdate: 'KeyUpdate', DidRemoval: 'DidRemoval', Revoke: 'Revoke', UnRevoke: 'UnRevoke', RemoveRegistry: 'RemoveRegistry', Blob: 'Blob', MasterVote: 'Payload' } } };