diff --git a/.github/workflows/deploy-comptroller.yml b/.github/workflows/deploy-comptroller.yml deleted file mode 100644 index 2b4f1cd3b..000000000 --- a/.github/workflows/deploy-comptroller.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: "Deploy Comptroller" - -env: - API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} - FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.EVM_MNEMONIC }} - -on: - workflow_dispatch: - inputs: - admin: - default: "0xF3663da48030b6c88535413Fd643aB0B5F3496ff" - description: "Initial contract admin." - required: false - chain: - default: "sepolia" - description: "Chain name as defined in the Foundry config." - required: false - -jobs: - deploy-comptroller: - runs-on: "ubuntu-latest" - steps: - - name: "Check out the repo" - uses: "actions/checkout@v4" - - - name: "Install Foundry" - uses: "foundry-rs/foundry-toolchain@v1" - - - name: "Deploy the SablierV2Comptroller contract" - run: >- - forge script script/DeployComptroller.s.sol - --broadcast - --rpc-url "${{ inputs.chain }}" - --sig "run(address)" - --verify - -vvvv - "${{ inputs.admin }}" - - - name: "Add workflow summary" - run: | - echo "## Result" >> $GITHUB_STEP_SUMMARY - echo "✅ Done" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/deploy-core.yml b/.github/workflows/deploy-core.yml deleted file mode 100644 index f3fb8d5fb..000000000 --- a/.github/workflows/deploy-core.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: "Deploy Core" - -env: - API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} - FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.EVM_MNEMONIC }} - -on: - workflow_dispatch: - inputs: - admin: - default: "0xF3663da48030b6c88535413Fd643aB0B5F3496ff" - description: "Initial protocol admin." - required: false - chain: - default: "sepolia" - description: "Chain name as defined in the Foundry config." - required: false - max-segment-count: - default: "300" - description: "Maximum number of segments allowed in a stream." - required: false - -jobs: - deploy-core: - runs-on: "ubuntu-latest" - steps: - - name: "Check out the repo" - uses: "actions/checkout@v4" - - - name: "Install Foundry" - uses: "foundry-rs/foundry-toolchain@v1" - - - name: "Deploy the Sablier V2 Core protocol" - run: >- - forge script script/DeployCore.s.sol - --broadcast - --rpc-url "${{ inputs.chain }}" - --sig "run(address,uint256)" - --verify - "${{ inputs.admin }}" - "${{ inputs.max-segment-count }}" - -vvvv - - - name: "Add workflow summary" - run: | - echo "## Result" >> $GITHUB_STEP_SUMMARY - echo "✅ Done" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/deploy-lockup-dynamic.yml b/.github/workflows/deploy-lockup-dynamic.yml deleted file mode 100644 index 0792d2da8..000000000 --- a/.github/workflows/deploy-lockup-dynamic.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: "Deploy Lockup Dynamic" - -env: - API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} - FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.EVM_MNEMONIC }} - -on: - workflow_dispatch: - inputs: - admin: - default: "0xF3663da48030b6c88535413Fd643aB0B5F3496ff" - description: "Initial contract admin." - required: false - chain: - default: "sepolia" - description: "Chain name as defined in the Foundry config." - required: false - comptroller: - description: "Address of an already deployed comptroller." - required: true - nft-descriptor: - description: "Address of an NFT descriptor contract." - required: true - max-segment-count: - default: "300" - description: "Maximum number of segments allowed in a stream." - required: false - -jobs: - deploy-lockup-dynamic: - runs-on: "ubuntu-latest" - steps: - - name: "Check out the repo" - uses: "actions/checkout@v4" - - - name: "Install Foundry" - uses: "foundry-rs/foundry-toolchain@v1" - - - name: "Deploy the SablierV2LockupDynamic contract" - run: >- - forge script script/DeployLockupDynamic.s.sol - --broadcast - --rpc-url "${{ inputs.chain }}" - --sig "run(address,address,address,uint256)" - --verify - "${{ inputs.admin }}" - "${{ inputs.comptroller }}" - "${{ inputs.nft-descriptor }}" - "${{ inputs.max-segment-count }}" - -vvvv - - - name: "Add workflow summary" - run: | - echo "## Result" >> $GITHUB_STEP_SUMMARY - echo "✅ Done" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/deploy-lockup-linear.yml b/.github/workflows/deploy-lockup-linear.yml deleted file mode 100644 index 951dda899..000000000 --- a/.github/workflows/deploy-lockup-linear.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: "Deploy Lockup Linear" - -env: - API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} - FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.EVM_MNEMONIC }} - -on: - workflow_dispatch: - inputs: - admin: - default: "0xF3663da48030b6c88535413Fd643aB0B5F3496ff" - description: "Initial contract admin." - required: false - chain: - default: "sepolia" - description: "Chain name as defined in the Foundry config." - required: false - comptroller: - description: "Address of an already deployed comptroller." - required: true - nft-descriptor: - description: "Address of an NFT descriptor contract." - required: true - -jobs: - deploy-lockup-linear: - runs-on: "ubuntu-latest" - steps: - - name: "Check out the repo" - uses: "actions/checkout@v4" - - - name: "Install Foundry" - uses: "foundry-rs/foundry-toolchain@v1" - - - name: "Deploy the SablierV2LockupLinear contract" - run: >- - forge script script/DeployLockupLinear.s.sol - --broadcast - --rpc-url ${{ inputs.chain }} - --sig "run(address,address,address)" - --verify - "${{ inputs.admin }}" - "${{ inputs.comptroller }}" - "${{ inputs.nft-descriptor }}" - -vvvv - - - name: "Add workflow summary" - run: | - echo "## Result" >> $GITHUB_STEP_SUMMARY - echo "✅ Done" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/deploy-nft-descriptor.yml b/.github/workflows/deploy-nft-descriptor.yml deleted file mode 100644 index 327229491..000000000 --- a/.github/workflows/deploy-nft-descriptor.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: "Deploy NFT Descriptor" - -env: - API_KEY_INFURA: ${{ secrets.API_KEY_INFURA }} - FOUNDRY_PROFILE: "optimized" - MNEMONIC: ${{ secrets.EVM_MNEMONIC }} - -on: - workflow_dispatch: - inputs: - chain: - default: "sepolia" - description: "Chain name as defined in the Foundry config." - required: false - -jobs: - deploy-nft-descriptor: - runs-on: "ubuntu-latest" - steps: - - name: "Check out the repo" - uses: "actions/checkout@v4" - - - name: "Install Foundry" - uses: "foundry-rs/foundry-toolchain@v1" - - - name: "Deploy the NFT Descriptor" - run: >- - forge script script/DeployNFTDescriptor.s.sol - --broadcast - --rpc-url "${{ inputs.chain }}" - --verify - -vvvv - - - name: "Add workflow summary" - run: | - echo "## Result" >> $GITHUB_STEP_SUMMARY - echo "✅ Done" >> $GITHUB_STEP_SUMMARY