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

update tricrypto-ng #23

Merged
merged 56 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
0ad0764
feat: no more weth; no more public claim_admin_fees; wip: working on …
bout3fiddy Aug 1, 2023
3d0a62c
remove claiming fees from remove_liquidity
bout3fiddy Aug 1, 2023
b8e6393
amend docstring
bout3fiddy Aug 1, 2023
247920a
move fee collection to the top of liquidity methods
bout3fiddy Aug 1, 2023
3373977
raise fees while pool is ramping and only allow claiming admin fees w…
bout3fiddy Aug 2, 2023
b3b86d5
add MIN_GULP_INTERVAL logic
bout3fiddy Aug 2, 2023
5652a3d
convert some methods to pure to facilitate easier handling of state
bout3fiddy Aug 2, 2023
0c19f16
bye bye exchange_extended. you were good, but nobody used you
bout3fiddy Aug 2, 2023
1b5095e
Merge branch 'main' into remove_eth_transfers
bout3fiddy Aug 2, 2023
ed15aa1
simplify claim admin fees a bit
bout3fiddy Aug 2, 2023
19cd912
remove unneeded args from _exchange method
bout3fiddy Aug 2, 2023
184eeb8
adjust tests
bout3fiddy Aug 3, 2023
956311b
goodbye gulp. you were a feature too many
bout3fiddy Aug 3, 2023
2a90f9f
remove balances update
bout3fiddy Aug 3, 2023
1a6e898
wip: admin fee in individual tokens proposal
bout3fiddy Aug 4, 2023
b76e267
some ironing out of var names and remove updating D in storage since …
bout3fiddy Aug 4, 2023
d961100
remove stored_balances and use balances instead
bout3fiddy Aug 4, 2023
b98f895
update boa and start fixing tests
bout3fiddy Aug 4, 2023
033bd42
fix test: use _immutables since packed precisions are immutables
bout3fiddy Aug 4, 2023
7eebe94
fix tests: remove stored_balances
bout3fiddy Aug 4, 2023
8d1b609
fix: fee was waaaayyyy too high
bout3fiddy Aug 6, 2023
7acfc14
update tests and fix admin fee claiming logic
bout3fiddy Aug 7, 2023
96a09b9
add tests for exchange_received
bout3fiddy Aug 8, 2023
5b6bc95
test donation does not account in self.balances; add comments explain…
bout3fiddy Aug 8, 2023
958ffd5
fix: must adjust virtual price and D anyway
bout3fiddy Aug 8, 2023
7a21ea5
remove TODO in contract
bout3fiddy Aug 8, 2023
e55ae53
fix test_get_p test
bout3fiddy Aug 8, 2023
7467292
cei
bout3fiddy Aug 9, 2023
10507c9
set default receiver in exchange received to msg.sender
bout3fiddy Aug 14, 2023
178d8e4
add getter for gauge_implementaiton in l2 factory that points to zero
bout3fiddy Aug 14, 2023
043705a
revert changes to L2 factory
bout3fiddy Aug 14, 2023
9eab58c
add tvl oracle
bout3fiddy Aug 14, 2023
ae3e5cd
update tvl oracle
bout3fiddy Aug 14, 2023
73b5224
docstrings
bout3fiddy Aug 14, 2023
52ae070
optimise D oracle and rename to match stableswap-ng
bout3fiddy Aug 23, 2023
29940df
add tests; change name to xcp_oracle
bout3fiddy Aug 23, 2023
e6d616c
add clarity in comment
bout3fiddy Aug 27, 2023
2eea2a5
fix: precisions is not longer stored packed
bout3fiddy Aug 28, 2023
991db54
fix: use cached last_xcp insteadgit add .
bout3fiddy Sep 4, 2023
73a3398
remove raising fees
bout3fiddy Sep 4, 2023
b67ad80
reduce number of reads of coin balance
bout3fiddy Sep 4, 2023
7ea427f
remove invariant for fee check during ramp (in test)
bout3fiddy Sep 4, 2023
ab7a8f0
clean up _transfer_in
bout3fiddy Sep 5, 2023
b7cc65f
remove increaseAllowance and decreaseAllowance since we don't use it …
bout3fiddy Sep 8, 2023
8bbd3d8
break cei but use dx received for calcs instead
bout3fiddy Sep 12, 2023
a2b126c
fix test since we now acknowledge what goes in
bout3fiddy Sep 13, 2023
4630a27
add xcp time for oracle; make commit and apply for parameters a singl…
bout3fiddy Sep 13, 2023
de7d4cd
fix: set rebalancing params to the right var
bout3fiddy Sep 13, 2023
b30f59f
remove test that is no longer necessary'
bout3fiddy Sep 13, 2023
e925470
fix: add checks for applying xcp_ma_time
bout3fiddy Sep 13, 2023
59b387f
add exchange received note
bout3fiddy Sep 13, 2023
22b14b0
Merge branch 'main' into remove_eth_transfers
bout3fiddy Sep 14, 2023
6ed527d
remove unused local var
bout3fiddy Sep 14, 2023
1bc9337
Merge branch 'remove_eth_transfers' of https://github.com/bout3fiddy/…
bout3fiddy Sep 14, 2023
de23ace
reduce one redundant for-loop
bout3fiddy Sep 14, 2023
7ab6023
deploy new tricrypto implementations
bout3fiddy Sep 14, 2023
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
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ Ethereum:
5. Gauge Blueprint: [0x5fC124a161d888893529f67580ef94C2784e9233](https://etherscan.io/address/0x5fC124a161d888893529f67580ef94C2784e9233)
6. TricryptoFactoryHandler: [0x30a4249C42be05215b6063691949710592859697](https://etherscan.io/address/0x30a4249C42be05215b6063691949710592859697)

Updated AMM Blueprint (14-09-2023): [0xbC0797015fcFc47d9C1856639CaE50D0e69FbEE8](https://etherscan.io/address/0xbC0797015fcFc47d9C1856639CaE50D0e69FbEE8)

Deployed Pool:

1. [TricryptoUSDC 0x7f86bf177dd4f3494b841a37e810a34dd56c829b](https://etherscan.io/address/0x7f86bf177dd4f3494b841a37e810a34dd56c829b)
Expand All @@ -64,6 +66,8 @@ Arbitrum:
3. Math: [0x604388Bb1159AFd21eB5191cE22b4DeCdEE2Ae22](https://arbiscan.io/address/0x604388Bb1159AFd21eB5191cE22b4DeCdEE2Ae22)
4. Views: [0x06452f9c013fc37169B57Eab8F50A7A48c9198A3](https://arbiscan.io/address/0x06452f9c013fc37169B57Eab8F50A7A48c9198A3)

Updated AMM Blueprint (14-09-2023): [0xbC0797015fcFc47d9C1856639CaE50D0e69FbEE8](https://arbiscan.io/address/0x5a8C93EE12a8Df4455BA111647AdA41f29D5CfcC)

Deployed Pool:

1. [TricryptoUSDC 0x7706128aFAC8875981b2412faC6C4f3053EA705f](https://arbiscan.io/address/0x7706128aFAC8875981b2412faC6C4f3053EA705f)
Expand Down
Loading
Loading