casper_storage/system/mint/system_provider.rs
1use casper_types::{account::AccountHash, system::mint::Error, URef, U512};
2
3/// Provides functionality of a system module.
4pub trait SystemProvider {
5 /// Records a transfer.
6 fn record_transfer(
7 &mut self,
8 maybe_to: Option<AccountHash>,
9 source: URef,
10 target: URef,
11 amount: U512,
12 id: Option<u64>,
13 ) -> Result<(), Error>;
14}