forked from paritytech/polkadot-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a4bf3be
commit 4ebf7e8
Showing
2 changed files
with
10 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// SPDX-FileCopyrightText: 2023 Snowfork <[email protected]> | ||
|
||
use crate::{AccountIdOf, BalanceOf}; | ||
use crate::AccountIdOf; | ||
use sp_core::U256; | ||
pub trait RewardLedger<T: frame_system::Config> { | ||
// Deposit reward which can later be claimed by `account` | ||
fn deposit(account: AccountIdOf<T>, value: BalanceOf<T>); | ||
fn deposit(account: AccountIdOf<T>, value: U256); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters