1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
use codec::{Decode, Encode, MaxEncodedLen};
use currency::CurrencyId;
use primitives::{VaultCurrencyPair, VaultId};
use scale_info::TypeInfo;
pub(crate) type BalanceOf<T> = <T as currency::Config>::Balance;
pub type UnsignedFixedPoint<T> = <T as currency::Config>::UnsignedFixedPoint;
pub(crate) type DefaultVaultId<T> = VaultId<<T as frame_system::Config>::AccountId, CurrencyId<T>>;
pub(crate) type DefaultVaultCurrencyPair<T> = VaultCurrencyPair<CurrencyId<T>>;
#[derive(Encode, Decode, Eq, PartialEq, TypeInfo, MaxEncodedLen)]
pub enum Version {
V0,
}