mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-22 11:17:59 +00:00
48 lines
1.0 KiB
TypeScript
48 lines
1.0 KiB
TypeScript
// Copyright 2017-2026 @pezkuwi/apps-config authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type { OverrideBundleDefinition } from '@pezkuwi/types/types';
|
|
|
|
// structs need to be in order
|
|
/* eslint-disable sort-keys */
|
|
|
|
const definitions: OverrideBundleDefinition = {
|
|
types: [
|
|
{
|
|
minmax: [0, undefined],
|
|
types: {
|
|
Asset: {
|
|
_enum: {
|
|
Collateral: 'Collateral',
|
|
Fiat: 'Fiat',
|
|
Usdv: null
|
|
}
|
|
},
|
|
Collateral: {
|
|
_enum: [
|
|
'Usdc'
|
|
]
|
|
},
|
|
Fiat: {
|
|
_enum: [
|
|
'Cop',
|
|
'Vez'
|
|
]
|
|
},
|
|
CurrencyId: 'Asset',
|
|
OracleKey: 'Asset',
|
|
OracleValue: 'FixedU128',
|
|
CurrencyIdOf: 'Asset',
|
|
TimestampedValue: {
|
|
value: 'OracleValue',
|
|
timestamp: 'Moment'
|
|
},
|
|
TimestampedValueOf: 'TimestampedValue',
|
|
OrderedSet: 'Vec<AccountId>',
|
|
Share: 'Permill'
|
|
}
|
|
}]
|
|
};
|
|
|
|
export default definitions;
|