keep3r-network / keep3r.network

An incentivized keeper network for anonymous keeper and job registration
373 stars 117 forks source link

Multi coin bonds? #48

Open kaustavha-scribd opened 3 years ago

kaustavha-scribd commented 3 years ago

Hi!

Looking at the code it seems possible to bond any ERC20.
I'm wondering if it's possible to have a isMinKeeper check with a bond requirement of multiple coins e.g. 1 kp3r + 1 gov token from X project.
So that a keeper job can require a keeper to have both kp3r and the gov token of the project the function is called on for incentivization alignment.
This mechanism could also be used as a registration / test / MACI for advisors and contributors.

Curious if this is supported / planned / possible?
Or some reason it's a bad idea?
Is an implementation the blocker? Front end / contract or both? Any guidance would be appreciated.

ping! sorry for the spam @andrecronje @Soleone @Soleone @matjaz @Macarse @xiaojay @fameal @RomanHiden @Macarse @mwalol @cleanunicorn

Macarse commented 3 years ago

You can create the check yourself. Here's an example: https://github.com/Macarse/GenericKeep3rV2/blob/master/contracts/keep3r/Keep3rAbstract.sol#L19

I am making sure that the keeper is not a smart contract.