• Michael Müller's avatar
    Add example which uses ext_transfer + ext_terminate (#554) · 89620e7d
    Michael Müller authored
    
    
    * [chores] Fix typo: invokation ➜ invocation
    
    * [chores] Fix typo: timstamp ➜ timestamp
    
    * [chores] Fix typo: ininitialized ➜ initialized
    
    * [env] Implement terminate_contract in off-chain env
    
    * [examples] Add lock-until
    
    * [env] Implement proper off-chain testing for ext_terminate
    
    * Apply suggestions from code review
    
    Co-authored-by: default avatarHero Bird <robin.freyler@gmail.com>
    
    * [env] Fix Environment type
    
    * [env] Derive Balance/AccountId from Environment
    
    * [env] Fix types in macro
    
    * [examples] Remove lock-until
    
    * [examples] Add contract-terminate
    
    * [examples] Add contract-transfer
    
    * [examples] Make clippy happy
    
    * [examples] Fix example name
    
    * [examples] Remove Default impls
    
    * [examples] Move macro to contract-terminate/test_utils
    
    * [env] Migrate macro to fn which gets Environment type param
    
    * [env] Add explanatory dev comment
    
    * [examples] Allow clippy::new_without_default
    
    Co-authored-by: default avatarHero Bird <robin.freyler@gmail.com>
    89620e7d