diff --git a/primitives/evm/src/account_provider.rs b/primitives/evm/src/account_provider.rs index 3f4a859c87..a9ee7c92a1 100644 --- a/primitives/evm/src/account_provider.rs +++ b/primitives/evm/src/account_provider.rs @@ -33,6 +33,7 @@ pub trait AccountProvider { /// /// Represent the account itself in accounts records. type AccountId; + /// Account nonce type. /// /// The number that helps to ensure that each transaction in the network is unique @@ -43,14 +44,17 @@ pub trait AccountProvider { /// /// The account associated with new created address EVM. fn create_account(who: &Self::AccountId); + /// Removes an account from accounts records. /// /// The account associated with removed address from EVM. fn remove_account(who: &Self::AccountId); + /// Return current account nonce value. /// /// Used to represent account basic information in EVM format. fn account_nonce(who: &Self::AccountId) -> Self::Nonce; + /// Increment a particular account's nonce value. /// /// Incremented with each new transaction submitted by the account.