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

Create stargate v2 strategy [CU-86du2qrnp] #73

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
22efc13
feat(`stargate v2 strategy`): added `StargateV2Strategy` [`86du2qrnp`]
cryptotechmaker Jul 11, 2024
dbe4428
chore: missing onlyOwner and events
cryptotechmaker Jul 11, 2024
9483400
chore: used arb oracle
cryptotechmaker Jul 11, 2024
995a21e
feat(`stargate v2 strategy`): added `StargateV2Strategy` [`86du2qrnp`]
cryptotechmaker Jul 11, 2024
801ed03
chore: missing onlyOwner and events
cryptotechmaker Jul 11, 2024
98d805f
chore: used arb oracle
cryptotechmaker Jul 11, 2024
84bd33b
chore: rebase dependency refactor
vnmrtz Aug 2, 2024
86af00a
fix: withdrawal amount check
Aug 6, 2024
2cde9a6
fix: remove setPool() function and set pool, inputToken and lpToken …
Aug 6, 2024
35dcb78
fix: do not revert if ARB or STG reward are disabled
Aug 7, 2024
08c6293
fix: return expected withdrawal balance with conversion rate
Aug 8, 2024
59828cd
feat(`BTT tests`): added `BTT` tests for `StargateV2Strategy` + merge
cryptotechmaker Aug 8, 2024
fc9598c
fix: setFarm now claims previous rewards before updating farm/staking…
Aug 8, 2024
5755bd8
Merge branch 'feat/stargate-v2-strategy' into fix/enigma-12
kartojal Aug 8, 2024
5bd1fa9
fix: check if oracle is active to sum the output amount
Aug 9, 2024
e6b3798
fix: remove clearAllowance
Aug 9, 2024
ea46584
fix: detect if output swap token is correct at StargateV2Strategy.inv…
Aug 9, 2024
624dd74
Merge pull request #80 from kartojal/fix/enigma-12
cryptotechmaker Aug 19, 2024
e985d64
Merge pull request #78 from kartojal/fix/enigma-13
cryptotechmaker Aug 19, 2024
decde68
Merge pull request #84 from kartojal/fix/enigma-15
cryptotechmaker Aug 19, 2024
e33d17a
Merge pull request #81 from kartojal/fix/enigma-16
cryptotechmaker Aug 19, 2024
2e9647c
Merge pull request #82 from kartojal/fix/enigma-16-18
cryptotechmaker Aug 19, 2024
21511a9
Merge pull request #83 from kartojal/fix/enigma-23
cryptotechmaker Aug 19, 2024
3364825
Merge pull request #79 from kartojal/fix/enigma-17
cryptotechmaker Aug 19, 2024
1a277a1
Merge branch 'feat/stargate-v2-strategy' into fix/enigma-14
kartojal Aug 19, 2024
87d2e27
patch(`StargateV2Strategy`): minor fix for `setFarm` - check if `lpBa…
cryptotechmaker Aug 19, 2024
4c35efb
Merge pull request #77 from kartojal/fix/enigma-14
cryptotechmaker Aug 19, 2024
4de9a0f
Merge branch 'feat/stargate-v2-strategy' of https://github.com/Tapioc…
cryptotechmaker Aug 19, 2024
30b7d8c
chore(`tests`): fixed old StargateV2Strategy `setUp`
cryptotechmaker Aug 19, 2024
d57152e
feat: added ZRO rewards to StargateV2Strategy
cryptotechmaker Aug 30, 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
7 changes: 6 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@ export SCAN_API_KEY= # Arbitrum Sepolia API key

# Forking Arbitrum

FORKING_ARBITRUM_BLOCK_NUMBER=62653925
FORKING_ARBITRUM_BLOCK_NUMBER=238439389
FORKING_BLOCK_NUMBER=238639389
ARB_WETH="0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"
ARB_USDC="0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
STARGATEV2_POOL="0xe8CDF27AcD73a434D661C84887215F7598e7d0d3"
STARGATEV2_FARM="0x3da4f8E456AC648c489c286B99Ca37B666be7C4C"

## ------------------ BINANCE ------------------
BINANCE_WALLET_ADDRESS="0xb38e8c17e38363af6ebdcb3dae12e0243582891d"
Expand Down
1 change: 0 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
[submodule "lib/tap-yieldbox"]
path = lib/tap-yieldbox
url = https://github.com/Tapioca-DAO/tap-yieldbox
branch = fix-dependencies
[submodule "lib/tap-utils"]
path = lib/tap-utils
url = https://github.com/Tapioca-DAO/tap-utils
Expand Down
Loading