pub trait AccountIdGuard { }
Expand description

A trait to enforce that a type should be an Environment::AccountId.

If you have an Environment which uses an Environment::AccountId type other than the ink! provided AccountId you will need to implement this trait for your Environment::AccountId concrete type.

Implementations on Foreign Types§

source§

impl AccountIdGuard for AccountId

The ink! provided AccountId used in the DefaultEnvironment.

Implementors§