[−][src]Trait pallet_contracts::ContractAddressFor
A function that generates an AccountId
for a contract upon instantiation.
Required methods
pub fn contract_address_for(
code_hash: &CodeHash,
data: &[u8],
origin: &AccountId
) -> AccountId
[src]
code_hash: &CodeHash,
data: &[u8],
origin: &AccountId
) -> AccountId
Implementors
impl<T: Trait> ContractAddressFor<<T as Trait>::Hash, <T as Trait>::AccountId> for SimpleAddressDeterminer<T> where
T::AccountId: UncheckedFrom<T::Hash> + AsRef<[u8]>,
[src]
T::AccountId: UncheckedFrom<T::Hash> + AsRef<[u8]>,