Type Definition pallet_asset_index::pallet::Deposits [−][src]
pub type Deposits<T: Config> = StorageMap<_GeneratedPrefixForStorageDeposits<T>, Blake2_128Concat, T::AccountId, BoundedVec<(T::Balance, T::BlockNumber), T::MaxActiveDeposits>, ValueQuery>;
Expand description
All timestamped deposits of an account.
This tracks all deposits, the index token a LP received upon deposit
.
This will be used to calculate a withdrawal fee depending on how long the deposit remained
in the index.