fn instantiate_erc20_contract() -> AccountId {
            let erc20 = Erc20::new(1000000);
            let callee =
                ink_env::account_id::<ink_env::DefaultEnvironment>().unwrap_or([0x0; 32].into());
            callee
        }
/// We test if the constructor does its job.
We test if the constructor does its job.
We test if the constructor does its job .
fn instantiate_erc20_contract() -> AccountId {
            let erc20 = Erc20::new(1000000);
            let callee =
                ink_env::account_id::<ink_env::DefaultEnvironment>().unwrap_or([0x0; 32].into());
            callee
        }
fn instantiate_erc20_contract ( ) -> AccountId { let erc20 = Erc20 :: new ( 1000000 ) ; let callee = ink_env :: account_id :: < ink_env :: DefaultEnvironment > ( ) . unwrap_or ( [ 0x0 ; 32 ] . into ( ) ) ; callee }
We test if the constructor does its job.
We test if the constructor does its job .