pendulum-chain / pendulum

GNU General Public License v3.0
43 stars 14 forks source link

Deploy the farming smart contract for Nabla #373

Open prayagd opened 11 months ago

prayagd commented 11 months ago

Context

In order to enable farming and distribute rewards to the Nabla LP's. We want to deploy the farming smart contract on Pendulum. This is the follow up ticket of the research done on this smart contract whether it is compatible with Pendulum, results can be found here.

tl;dr - Can it be compiled to WASM? It is. With only a minor modification. It was compiled and deployed to foucoco-standalone using wasm-deploy. Along with the SafeERC20 contract which is already implemented by Nabla

Requirement

Notes

prayagd commented 11 months ago

@ebma @gianfra-t Please check and let me know if anything missing. Also i assume you would need certain parameters that needs to be configures in this smart contract, if you can help me with what are those? i can get this ticket ready for execution.

ebma commented 11 months ago

@prayagd as far as I can tell the things we need are mentioned here. We need to know:

prayagd commented 11 months ago

@ebma ok, will get you these parameters but would this be required to deploy it on foucoco and test the rewards? If not can we progress on foucoco then?

gianfra-t commented 11 months ago

Yes those things we need to pass when creating the contract. But I imagine we could deploy in foucoco with some mock values to test the contract.

ebma commented 11 months ago

Yeah, we could test without knowing the production parameters by choosing some values ourselves. But it would make more sense to test with the parameters that you eventually want to use also in production 😅

prayagd commented 11 months ago

Ok, putting this on hold i until i get the production values

TorstenStueber commented 11 months ago

@prayagd I would continue to be agile and not prioritize this ticket. No urgency for this at the moment.

prayagd commented 10 months ago

@TorstenStueber agree and hence put this on hold

vadaynujra commented 7 months ago

@prayagd in light of the off ramp feature we're building, how do we plan to get the initial liquidity to Nabla for the stablecoins? When would an LP incentives feature be required on Nabla?

TorstenStueber commented 6 months ago

I think we should plan this around how we are going to use Nabla or its different instances in the next couple of months.

vadaynujra commented 6 months ago

If we want organic liquidity, we would need to consider incentivising LPers, at least initially, when the swap traction is low. We could do this manually but on-chain rewards would just be simpler, though implementing it might not be. @TorstenStueber what would this kind of plan look like?

TorstenStueber commented 6 months ago

I think we should not make these assumptions preemptively before we actually see Nabla in action and observe pain points. Could very well be that we find another solution for liquidity where we don't need to incentivize through farming.

Considering the effort that went into Nabla, I think that this would be quite some effort.

TorstenStueber commented 3 weeks ago

@pendulum-chain/product let's move to the icebox or close.

prayagd commented 3 weeks ago

I would suggest icebox