cennznet / plug-blockchain

PL^G: a framework for building customised blockchains
GNU General Public License v3.0
10 stars 3 forks source link

Multi currency trait design #5

Open bette7 opened 5 years ago

bette7 commented 5 years ago

There is Currency trait which only support single Currency. We need a MultiCurrency trait that supports multi currency model.

xlc commented 5 years ago

Make a new MultiCurrency trait. Can be mostly copied from the existing Currency trait. It will be primarily used by smart contract module at this stage so keep it simple by only keeping necessary pieces required by smart contract usages.