Commit Graph

3 Commits

Author SHA1 Message Date
0xb337r007 6f83e7346c
add CommunityVault contract (#22)
* add CommunityVault contract

* use named import

* test vault transfer functions for erc20 and erc721

* fix camel case test name

* update format with latest version of forge
2023-12-12 23:10:27 +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