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

feat: added contracts and tests #7

Merged
merged 24 commits into from
Oct 25, 2023
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
692ff4a
feat: added contracts, tests, and workflows
heueristik Oct 20, 2023
c01e93e
refactor: removed NetworkNameMapping and added base and sepolia support
heueristik Oct 20, 2023
77b2e07
ci: improvements
heueristik Oct 23, 2023
d729b1d
ci: fix subgraph workflow
heueristik Oct 23, 2023
e3223e8
ci: fix contracts workflow
heueristik Oct 23, 2023
846c46c
ci: added contracts subfolder to subgraph workflow triggers
heueristik Oct 23, 2023
8ec3491
refactor: improved proxy deployment helpers
heueristik Oct 23, 2023
244264a
refactor: folder structure
heueristik Oct 23, 2023
f61f238
test: added tests
heueristik Oct 23, 2023
3932311
style: formatting
heueristik Oct 23, 2023
d52643d
refactor: ProxyFactory and TestGovernanceERC20
heueristik Oct 23, 2023
f473fd4
test: add tests for proxy factory
heueristik Oct 23, 2023
259f08b
docs: NatSpec improvments
heueristik Oct 23, 2023
3884d0b
test: remove only
heueristik Oct 23, 2023
2caede5
style: fix formatting
heueristik Oct 23, 2023
a8913e2
chore: maintained changelog
heueristik Oct 23, 2023
f23d742
chore: added version number and descriptions
heueristik Oct 23, 2023
e673b0e
refactor: split helpers into proxy and event
heueristik Oct 23, 2023
0717be2
refactor: revert proxy factory addition
heueristik Oct 24, 2023
9314689
Terminal chore: maintained changelog 0717be
heueristik Oct 24, 2023
c7ae989
refactor: remove unused file
heueristik Oct 24, 2023
b7e0261
test: remove only
heueristik Oct 25, 2023
31d9dea
ci: removed comments
heueristik Oct 25, 2023
b3af749
refactor: remove redundant line number
heueristik Oct 25, 2023
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
Prev Previous commit
Next Next commit
docs: NatSpec improvments
heueristik committed Oct 23, 2023

Verified

This commit was signed with the committer’s verified signature.
ronnnnn Seiya Kokushi
commit 259f08bc68f76b8fc7fb7721cc2a07560a86e30e
4 changes: 4 additions & 0 deletions contracts/src/utils/VersionComparisonLib.sol
Original file line number Diff line number Diff line change
@@ -2,6 +2,10 @@

pragma solidity ^0.8.8;

/// @title VersionComparisonLib
/// @author Aragon Association - 2023
/// @notice A library containing methods for [semantic version number](https://semver.org/spec/v2.0.0.html) comparison.
/// @custom:security-contact [email protected]
library VersionComparisonLib {
/// @notice Equality comparator for two semantic version numbers.
/// @param lhs The left-hand side semantic version number.
4 changes: 4 additions & 0 deletions contracts/src/utils/proxy/ProxyLib.sol
Original file line number Diff line number Diff line change
@@ -6,6 +6,10 @@ import {ERC1967Proxy} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.s
import {Clones} from "@openzeppelin/contracts/proxy/Clones.sol";
import {Address} from "@openzeppelin/contracts/utils/Address.sol";

/// @title ProxyLib
/// @author Aragon Association - 2023
/// @notice A library containing methods for the deployment of proxies via the UUPS pattern (see [ERC-1822](https://eips.ethereum.org/EIPS/eip-1822)) and minimal proxy pattern (see [ERC-1167](https://eips.ethereum.org/EIPS/eip-1167)).
/// @custom:security-contact [email protected]
library ProxyLib {
using Clones for address;
using Address for address;