@darwinia/types
Version:
Implementation of the Parity codec
49 lines (47 loc) • 1.11 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
// Copyright 2017-2022 @darwinia/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
// order important in structs... :)
/* eslint-disable sort-keys */
var _default = {
rpc: {},
types: {
ExitRevert: {
_enum: ['Reverted']
},
ExitSucceed: {
_enum: ['Stopped', 'Returned', 'Suicided']
},
ExitFatal: {
_enum: {
NotSupported: 'Null',
UnhandledInterrupt: 'Null',
CallErrorAsFatal: 'ExitError',
Other: 'Text'
}
},
ExitError: {
_enum: {
StackUnderflow: 'Null',
StackOverflow: 'Null',
InvalidJump: 'Null',
InvalidRange: 'Null',
DesignatedInvalid: 'Null',
CallTooDeep: 'Null',
CreateCollision: 'Null',
CreateContractLimit: 'Null',
OutOfOffset: 'Null',
OutOfGas: 'Null',
OutOfFund: 'Null',
PCUnderflow: 'Null',
CreateEmpty: 'Null',
Other: 'Text'
}
}
}
};
exports.default = _default;