1. 23 May, 2019 1 commit
    • Hero Bird's avatar
      Major clean up of ink! codebase (#99) · fa906cad
      Hero Bird authored
      * [ink] Update rust-toolchain from 2019-04-20 to 2019-05-21
      
      * [core,lang] Update & fix Cargo information
      
      * [chores] Update rustfmt version to the current toolchain
      
      * [core] Clean up, fix some warnings
      
      * [core] Remove unneeded dependency
      
      * [core] Ignore return value of Key ops
      
      Fixes a warning
      
      * [core,model] Adjust warning level
      
      * [lang] Minor rustfmt run
      
      * [ink] Add topics to events
      
      For now, ink! will simply leave topics slice empty.
      
      * [core] Add ext_gas_left, ext_gas_price and ext_value_transferred bindings
      
      * [core] Clean up some code by dedup
      
      * [core] Further code clean up
      
      * [core] Simplify SrmlEnv::load impl
      fa906cad
  2. 17 May, 2019 1 commit
    • Andrew Jones's avatar
      [cli] contract new template (#90) · 1748b51a
      Andrew Jones authored
      * WIP: add template
      
      * Zip build file from temp dir
      
      * Unzip in new command
      
      * Unzip files to target dir
      
      * Fix warnings
      
      * Remove unwraps from unzipping
      
      * Refactor build.rs
      
      * rustfmt
      
      * Remove printlns
      
      * Use PathBuf in build.rs
      
      * Replace variables in template files
      
      * Diable zip default features
      
      * rustfmt
      1748b51a
  3. 14 May, 2019 1 commit
  4. 10 May, 2019 2 commits
  5. 09 May, 2019 3 commits
    • Hero Bird's avatar
      Support `Vec` and `Result` types in message interfaces (#91) · e637367b
      Hero Bird authored
      * [lang] Implement Vec<T> as message param or return type
      
      * [lang] Apply rustfmt
      
      * [lang] Reorganize Option api.rs tests
      
      * [lang] Add tests for Vec in api.rs
      
      * [lang] Support Result<T,E> type in message interfaces
      e637367b
    • Shawn Tabrizi's avatar
      [examples] Update ERC20 contract to use code from workshop (#76) · 6194dfd6
      Shawn Tabrizi authored
      * [examples] Fix a bug in `transfer_from`
      
      This should fix the known bug, but may have some others in there...
      
      Would rather have a more direct implementation: either simplified or directly copied from a known working sample.
      
      * [examples] Making ERC20 tests even better
      
      * [example] Make `balance_of` getter use `balance_of_or_zero`
      
      * Use the final ERC20 contract from workshop
      
      * [examples] Reduce getters to one line
      
      * [examples] Fix a bug in `transfer_from`
      
      This should fix the known bug, but may have some others in there...
      
      Would rather have a more direct implementation: either simplified or directly copied from a known working sample.
      
      * [examples] Making ERC20 tests even better
      
      * [example] Make `balance_of` getter use `balance_of_or_zero`
      
      * Use the final ERC20 contract from workshop
      
      * [examples] Reduce getters to one line
      
      * [examples] Use new event syntax
      
      * [examples] Run cargo fmt
      6194dfd6
    • Jordan Beauchamp's avatar
      28406bfc
  6. 07 May, 2019 1 commit
  7. 06 May, 2019 1 commit
  8. 05 May, 2019 5 commits
  9. 24 Apr, 2019 4 commits
  10. 23 Apr, 2019 1 commit
  11. 22 Apr, 2019 16 commits
  12. 21 Apr, 2019 2 commits
  13. 20 Apr, 2019 2 commits