• Gav Wood's avatar
    Introduce safe types for handling imbalances (#2048) · cc8f93c0
    Gav Wood authored and asynchronous rob's avatar asynchronous rob committed
    * Be a little safer with total issuance.
    
    * PairT instead of _Pair
    
    * Remove rev causing upset
    
    * Remove fees stuff.
    
    * Fix build (including tests)
    
    * Update runtime, bump version
    
    * Fix
    
    * Handle gas refunds properly.
    
    * Rename identifier
    
    ala #2025
    
    * Address grumbles
    
    * New not-quite-linear-typing API
    
    * Slimmer API
    
    * More linear-type test fixes
    
    * Fix tests
    
    * Tidy
    
    * Fix some grumbles
    
    * Keep unchecked functions private
    
    * Remove another less-than-safe currency function and ensure that
    contracts module can never create cash.
    
    * Address a few grumbles and fix tests
    cc8f93c0