sunshine-protocol / sunshine

Governance + Bounty Platform
Other
43 stars 16 forks source link

create grant and/or bounty with Payment enum instead of BalanceOf<T> for Currency generic type #136

Open 4meta5 opened 4 years ago

4meta5 commented 4 years ago

see pallets/drip to define recurring payment metadata

pub enum Payment<Currency, BlockNumber> {
     // dripped with .0 amount sent every .1 blocks until the full amount .2 is paid
     RateUpToFullAmount(Currency, BlockNumber, Currency),
     FullAmountUpFront(Currency),
}