-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from bandohq/chore/proxies-setup
CHORE - Setup specific proxy name contracts
- Loading branch information
Showing
21 changed files
with
499 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ on: | |
branches: [main] | ||
paths: | ||
- '**/*.sol' | ||
- 'deployments/**' | ||
jobs: | ||
build-abis: | ||
runs-on: ubuntu-latest | ||
|
@@ -27,16 +28,20 @@ jobs: | |
with: | ||
repository: bandohq/contract-abis | ||
token: ${{ secrets.GH_PAT }} | ||
path: abis | ||
path: abis_repo | ||
- name: Copy and commit ABIs | ||
run: | | ||
cp -r out/* abis/ | ||
rm -rf abis_repo/ | ||
mkdir -p abis_repo/abis | ||
mkdir -p abis_repo/contracts | ||
cp -r out/* abis_repo/abis/ | ||
cp -r deployments/* abis_repo/contracts/ | ||
cd abis | ||
git config user.name "bando-bot" | ||
git config user.email "[email protected]" | ||
git add . | ||
DATE=$(date '+%Y-%m-%d') | ||
git diff --staged --quiet || git commit -m "Update ABIs $DATE" | ||
git diff --staged --quiet || git commit -m "Update BFP EVM Contracts $DATE" | ||
VERSION=$(date '+%Y%m%d%H%M%S') | ||
git tag -a "v$VERSION" -m "Release v$VERSION" | ||
git push origin main --tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.28; | ||
|
||
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; | ||
|
||
/// @title BandoERC20FulfillableProxy | ||
/// @notice Proxy contract for BandoERC20Fulfillable | ||
contract BandoERC20FulfillableProxy is ERC1967Proxy { | ||
constructor(address _logic, bytes memory _data) | ||
ERC1967Proxy(_logic, _data) | ||
{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.28; | ||
|
||
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; | ||
|
||
/// @title BandoFulfillableProxy | ||
/// @notice Proxy contract for BandoFulfillable | ||
contract BandoFulfillableProxy is ERC1967Proxy { | ||
constructor(address _logic, bytes memory _data) | ||
ERC1967Proxy(_logic, _data) | ||
{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.28; | ||
|
||
import { ERC1967Proxy } from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol"; | ||
|
||
/// @title BandoFulfillmentManagerProxy | ||
/// @notice Proxy contract for BandoFulfillmentManager | ||
contract BandoFulfillmentManagerProxy is ERC1967Proxy { | ||
constructor(address _logic, bytes memory _data) | ||
ERC1967Proxy(_logic, _data) | ||
{} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.