From 2e132103f5a88026121558b4a4c028cf874a30c8 Mon Sep 17 00:00:00 2001 From: aazhou1 Date: Wed, 18 Dec 2024 12:37:02 -0800 Subject: [PATCH] update sepolia strategy deploy job --- .github/workflows/deploy-sepolia-strategy.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-sepolia-strategy.yaml b/.github/workflows/deploy-sepolia-strategy.yaml index fcf44837..d82c8b5e 100644 --- a/.github/workflows/deploy-sepolia-strategy.yaml +++ b/.github/workflows/deploy-sepolia-strategy.yaml @@ -14,10 +14,10 @@ on: description: 'Strategy management address' required: true default: '0x' - discountRateMarkup: - description: 'Discount rate markup' + feeRecipient: + description: 'FeeRecipient address' required: false - default: '0.01' + default: '0x' timeToMaturityThreshold: description: 'Time to maturity threshold' required: false @@ -58,7 +58,7 @@ jobs: - run: forge install - run: forge build - run: forge tree - - run: forge script script/Strategy.s.sol:DeployStrategy --rpc-url $RPC_URL --broadcast --gas-price 500000000000 --verify --verbosity 4 + - run: forge script script/Strategy.s.sol:DeployStrategy --rpc-url $RPC_URL --broadcast --verify --verbosity 4 env: RPC_URL: ${{ secrets.RPC_URL }} PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} @@ -70,7 +70,7 @@ jobs: STRATEGY_NAME: ${{ github.event.inputs.strategyName }} TERM_CONTROLLER_ADDRESS: ${{ vars.TERM_CONTROLLER_ADDRESS }} DISCOUNT_RATE_ADAPTER_ADDRESS: ${{ vars.DISCOUNT_RATE_ADAPTER_ADDRESS }} - DISCOUNT_RATE_MARKUP: ${{ github.event.inputs.discountRateMarkup }} + DISCOUNT_RATE_MARKUP: ${{ vars.DISCOUNT_RATE_MARKUP }} TIME_TO_MATURITY_THRESHOLD: ${{ github.event.inputs.timeToMaturityThreshold }} REPOTOKEN_CONCENTRATION_LIMIT: ${{ github.event.inputs.repoTokenConcentrationLimit }} ADMIN_ADDRESS: ${{ vars.ADMIN_ADDRESS }} @@ -82,4 +82,5 @@ jobs: COLLATERAL_TOKEN_ADDRESSES: ${{ github.event.inputs.collateralTokens }} MIN_COLLATERAL_RATIOS: ${{ github.event.inputs.minCollateralRatios }} PROFIT_MAX_UNLOCK_TIME: ${{ github.event.inputs.profitMaxUnlock }} + FEE_RECIPIENT: ${{ github.event.inputs.feeRecipient }} \ No newline at end of file