forked from yearn/tokenized-strategy-foundry-mix
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (39 loc) · 1.34 KB
/
deploy-sepolia-vault-wrapped-votes.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "[sepolia-deploy] deploy vault wrapped votes"
on:
workflow_dispatch:
inputs:
vaultToken:
description: 'Vault token address'
required: true
default: '0x'
wrappedTokenName:
description: 'Wrapped Votes Token name'
required: true
default: '0x'
wrappedTokenSymbol:
description: 'Wrapped Votes Token Symbol'
required: true
default: '0x'
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: sepolia
url: https://term-finance.github.io/yearn-v3-term-vault/
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
submodules: recursive
- uses: foundry-rs/foundry-toolchain@v1
- run: forge install
- run: forge build
- run: forge tree
- run: forge script script/TermFinanceVaultWrappedVotesToken.s.sol:DeployTermFinanceVaultWrappedVotesToken --rpc-url $RPC_URL --broadcast --verify --verbosity 4
env:
RPC_URL: ${{ secrets.RPC_URL }}
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
VAULT_TOKEN: ${{ github.event.inputs.vaultToken }}
WRAPPED_TOKEN_NAME: ${{ github.event.inputs.wrappedTokenName }}
WRAPPED_TOKEN_SYMBOL: ${{ github.event.inputs.wrappedTokenSymbol }}