"use strict";
// Copyright 2017-2020 @polkadot/types authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
    types: {
        DigestOf: "Digest",
        DispatchError: {
            _enum: {
                Other: "Null",
                CannotLookup: "Null",
                BadOrigin: "Null",
                Module: "DispatchErrorModule"
            }
        },
        DispatchErrorModule: {
            index: "u8",
            error: "u8"
        },
        DispatchErrorTo198: {
            module: "Option<u8>",
            error: "u8"
        },
        DispatchResult: "Result<(), DispatchError>",
        DispatchResultOf: "DispatchResult",
        DispatchResultTo198: "Result<(), Text>",
        Event: "GenericEvent",
        EventId: "[u8; 2]",
        EventIndex: "u32",
        EventRecord: {
            phase: "Phase",
            event: "Event",
            topics: "Vec<Hash>"
        },
        EventRecordTo76: {
            phase: "Phase",
            event: "Event"
        },
        Key: "Bytes",
        Phase: {
            _enum: {
                ApplyExtrinsic: "u32",
                Finalization: "Null"
            }
        }
    }
};
