Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset group #34

Merged
merged 26 commits into from
Oct 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
3c8eba0
expand scope for setting limiter
iboss-ptk Sep 25, 2024
ccd9ff4
construct scope value pairs
iboss-ptk Sep 25, 2024
fd705cc
Add and remove asset group properly
iboss-ptk Sep 30, 2024
7a3a047
create asset group
iboss-ptk Oct 1, 2024
91a2a8a
add asset group
iboss-ptk Oct 2, 2024
48520dc
comment out current migration test
iboss-ptk Oct 2, 2024
ab50f6c
asset group weight
iboss-ptk Oct 2, 2024
e101202
remove corrupted asset also removes ref from asset group
iboss-ptk Oct 2, 2024
1283470
cascade remove drained corrupted asset group
iboss-ptk Oct 3, 2024
3f5f9c3
make sure reset_change_limiter_states instances track asset_group too
iboss-ptk Oct 4, 2024
d0cd908
remove unused todo
iboss-ptk Oct 4, 2024
83cc989
remove unused todo
iboss-ptk Oct 4, 2024
1cbb3ef
turn assets weights vec into map
iboss-ptk Oct 7, 2024
8e25224
impose max created asset group
iboss-ptk Oct 7, 2024
6934dfb
Remove asset_group const
iboss-ptk Oct 7, 2024
0aecd61
implement migration and update old migration tests
iboss-ptk Oct 7, 2024
c7847db
integration test the migration
iboss-ptk Oct 7, 2024
2d8d3c7
integration test for asset group limiter
iboss-ptk Oct 7, 2024
31cad52
update deps
iboss-ptk Oct 22, 2024
da1bf54
update test-tube version
iboss-ptk Oct 23, 2024
72a8c39
fix create_asset_group comment
iboss-ptk Oct 24, 2024
be7ba55
remove unused imports
iboss-ptk Oct 24, 2024
ba1e161
fix deprecataed
iboss-ptk Oct 24, 2024
fb4eb67
update rustc toolchain in gh workflow
iboss-ptk Oct 24, 2024
5551081
update rustc toolchain in gh workflow
iboss-ptk Oct 24, 2024
18f7a24
use rust 1.81.1 to avoid wasm build failure
iboss-ptk Oct 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unused todo
iboss-ptk committed Oct 4, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
Czaki Grzegorz Bokota
commit 83cc989d6f70eb293ec3a09c39171b50bb0a5a08
1 change: 0 additions & 1 deletion simulation/rebalance_incentive.py
Original file line number Diff line number Diff line change
@@ -164,7 +164,6 @@ def project_point(m):
Lower $𝑘$ values provide a more gradual and linear impact, leading to a more moderate fee structure.
'''

# TODO: observation, the more d (= starting point further from midpoint) with the same change in d, the less fee is taken?
# we want the opposite, the further away from midpoint, it scales up the fee.
# Potentially, Fee / (1-d)??????