Comments (10)
@KeneePatel Okay, thanks, looks great, assigned you! Good luck and don't hesitate to reach out regarding Cairo
from konoha.
@KeneePatel No PR from you, unassigning you, okay?
from konoha.
Can u handle this
from konoha.
@Oshioke-Salaki Refer to CONTRIBUTING.md on how to claim a complex task, thanks
from konoha.
I would like to take this task.
- I will need two working days for research and 1 working day for implementation.
- I am a fullstack engineer and I have vast experience building on both ethereum and starknet. I have also deployed a couple of profile to the mainnet and contributed to a number of core projects in the ecosystem.
- I have the following skills relevant for this task: Cairo, Solidity.
from konoha.
i will like to jump on it
from konoha.
@princeibs @vibenedict @Oshioke-Salaki I'm missing details on how specifically you are planning on handling this task. Where would you look for staking curves? Which ones do you have in mind?
from konoha.
Hello @tensojka,
I will try to tackle this issue. Just a short introduction about myself. I am a grad student with a bit of experience in open source contribution. I am more inclined towards having backend tasks because I enjoy its complexities and I just like playing with data.
Here is how I will try to tackle this issue.
- I will first try to come up with some options for the curve, make those curve functions in the desmos graphing calculator.
- I will then present it to the team, get it approved, and start working on the implementation of the curve.
- After the implementation of its logic with manual testing, I will then write necessary tests for the function.
Note: I am not that comfortable with Cairo lang, so I will be relying on help at times with the implementation and test part, so please help out with that when in need.
from konoha.
New Staking Curve that implements linear decay. Allows for you to create a lock that sets the staking amount and time you will lock it for (create_lock(amount, lock_time). Basically queries when you do so and keeps track of locked amount and lock creation time. Then if you call get_balance_of, it applies linear decay formula which to calculate your current amount at this time stamp.
IMPORTANT:
by changing the functions like set_staking_curve, it affected almost all other test files that used these functions like test_treasury.
Not sure what we must do about this, since both curves are different.
from konoha.
accidentally closed, finished but needs review
from konoha.
Related Issues (20)
- ODHack: Discussion with onchain data HOT 15
- ODHack: Extend Proposal Component to Support Discussions HOT 7
- ODHack: Backend for discussion HOT 8
- ODHack: Streaming Vesting HOT 15
- ODHack: Deposits to support Nostra Lending Pools HOT 14
- ODHack: Deposits to support ZKLend HOT 12
- ODHack: Documentation HOT 35
- ODHack: Integrate Ekubo TWAMM to Treasury HOT 9
- ODHack: Fix vote delegation HOT 4
- ODHack: Implement Unit and Integration Tests for Upgrades HOT 5
- Finish Proposals tests HOT 1
- ODHack: Fix and Complete Airdrop Tests HOT 8
- ODHack: Modular integration tests HOT 9
- Upgrade snforge to newest version HOT 2
- 2 articles acompanying Konoha
- Safe upgrades: Add healthcheck function and call it when upgrading a contract HOT 4
- Treasury functionality in frontend HOT 5
- Only one wallet connection option (“Connect Argent”) is functional HOT 5
- Update delegation to work with linear decay based staking HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from konoha.