Commit Graph

6 Commits

Author SHA1 Message Date
r4bbit a84c46b3d6 refactor!: rename `CollectibleV1`to `CommunityERC721`
As discussed in #46, `CollectibleV1` is not a good name for this
contract as we don't want versioning in the naming. To align with other
contracts in this repository, we're renaming this contract to
`CommunityERC721`.

BREAKING CHANGE: Any references to `CollectibleV1` must be replaced with
`CommunityERC721`

Closes #46
2024-02-27 11:44:06 +01:00
r4bbit e3142f1e52 refactor: move certora configs into individual scripts
This is done to allow execution of multiple verifications per command,
such that we can still use `pnpm verify` as usual to run all specs, but
also target individual specs using `pnpm verify:sub_command`.
2024-01-19 07:28:25 +01:00
r4bbit 847cbb9107 chore: introduce certora specs for CommunityTokenDeployer
This adds some basic specs for the `CommunityTokenDeployer` and its
interaction with `CommunityOwnerTokenRegistry`.
2024-01-19 07:28:25 +01:00
r4bbit 8773220abe
feat: add certora CI integration (#24)
This backports Certora CI integration to this repository, resulting in
GitHub Actions being extended to run formal verification on any change
to contracts that comes in via pull requests.
2023-12-14 08:53:57 +01:00
r4bbit c2f500c2e5
refactor: move project to foundry template and introduce tests
This commit does a couple of things:

- moves the project to our foundry template structure and workflows
- removes hardhat usage and dependencies
- removes unused contracts
- ports existing JS tests to foundry tests
- adds additional tests for `CommunityERC20` contract
- Introduces deploy scripts written in solidity which are also covered
  by tests

The projects can now be build and tests with:

```
$ forge build
```

```
$ forge test
```

Test deployments can be done via

```
$ forge script script/DeployOwnerToken.sol
```
2023-09-08 12:36:20 +02:00
0xb337r007 a10b8ad16d import from old project 2023-01-19 12:21:41 +01:00