Right now we support payouts only in a single token (permit URL example) per a single network (DAI for mainnet + WXDAI for gnosis). We should add support for payouts in multiple tokens so that the following example scenario would be supported:
Bounty hunter solves an issue
Bounty hunter gets rewards in DAI and UBQ on mainnet
What should be done:
Refactor the bot's config so that each reward asset had a unique incentive and payout configuration. Example for DAI and UBQ on mainnet:
So when there are multiple reward tokens set then multiple price labels should be generated. For example, for DAI and UBQ in the config above and Priority: 1 (Normal) with Time: 1 Day the following price labels should be generated:
a) Price: 100 DAI
b) Price: 10 UBQ
Refactor the permit URL query params (example) and pass base64 encoded array of permits instead of a single one (this is how it works right now)
Original meta issue: https://github.com/ubiquity/ubiquibot/issues/753
Right now we support payouts only in a single token (permit URL example) per a single network (
DAI
for mainnet +WXDAI
for gnosis). We should add support for payouts in multiple tokens so that the following example scenario would be supported:What should be done:
DAI
andUBQ
on mainnet:So when there are multiple reward tokens set then multiple price labels should be generated. For example, for
DAI
andUBQ
in the config above andPriority: 1 (Normal)
withTime: 1 Day
the following price labels should be generated: a)Price: 100 DAI
b)Price: 10 UBQ