Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

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

Open
4meta5 opened this issue Aug 2, 2020 · 0 comments

Comments

@4meta5
Copy link
Collaborator

4meta5 commented Aug 2, 2020

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),
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant