sunshine icon indicating copy to clipboard operation
sunshine copied to clipboard

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

Open 4meta5 opened this issue 5 years ago • 0 comments

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),
}

4meta5 avatar Aug 02 '20 09:08 4meta5