Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
19792b6
Initial commit
sunbreak1211 May 24, 2023
07375c0
Use wards for everything
sunbreak1211 May 26, 2023
936dae6
Renaming: AllocatorVault => AllocatorBuffer
sunbreak1211 May 29, 2023
0e4c567
forge install: dss-test
sunbreak1211 May 29, 2023
6656947
forge remove: forge-std
sunbreak1211 May 29, 2023
9378bbf
Fix file error message
sunbreak1211 May 29, 2023
f5dae4d
Add unit tests for AllocatorBuffer
sunbreak1211 May 30, 2023
576d48b
Add AllocatorOracle and change supply to 1M
sunbreak1211 May 31, 2023
d78847b
Fix copyright Oracle
sunbreak1211 Jun 2, 2023
2446bae
Add README
sunbreak1211 Jun 6, 2023
25a46ff
Add getters
sunbreak1211 Jun 7, 2023
685204d
Fix slot + minors
sunbreak1211 Jun 7, 2023
9b99efe
Use Art for calculating slot
sunbreak1211 Jun 7, 2023
27aca28
Fix typo
sunbreak1211 Jun 13, 2023
332ca1e
Change Buffer back to Vault and add an Escrow called Buffer (#3)
sunbreak1211 Jun 13, 2023
8b97ec3
Move test directory and add CI for tests
sunbreak1211 Jun 13, 2023
8fd99a4
Add Roles contract (#4)
sunbreak1211 Jun 14, 2023
6a671ba
Make Roles a Singleton + Add AllocatorConduit interface and example (#6)
sunbreak1211 Jun 19, 2023
febaad6
Add Router + Modify Buffer (#9)
sunbreak1211 Jun 20, 2023
94b35fb
Add missing events, fix others and add check in tests for all of them
sunbreak1211 Jun 20, 2023
7ecc43a
Use non relative paths
sunbreak1211 Jun 20, 2023
2995cc6
Change withdraw interface and implementations
sunbreak1211 Jun 21, 2023
0346df2
Add comment and few checks in test
sunbreak1211 Jun 21, 2023
e4d2bb7
Remove Router + Add Registry + Modify Buffer, IConduit and example (#13)
sunbreak1211 Jun 30, 2023
715606f
Upgrade dss-test
sunbreak1211 Jul 21, 2023
d1e14ab
Swapper + Depositor (#2)
telome Jul 31, 2023
c730ed9
TokenLike => GemLike (#34)
sunbreak1211 Aug 1, 2023
92a05a3
Move IAllocatorConduit to src dir (#35)
oldchili Aug 2, 2023
7923bcc
Add unchecked to a couple of places (#39)
sunbreak1211 Aug 4, 2023
c76d7b4
Remove TODO that is not necessary
sunbreak1211 Aug 7, 2023
1517a5a
Remove unusesd WAD definition
oldchili Aug 7, 2023
6d8c592
Add support for conduit <--> buffer moves (#43)
telome Aug 9, 2023
36e0830
Nit: fix variable name
sunbreak1211 Aug 9, 2023
651d06c
Remove AllocatorVault.s.sol
oldchili Aug 14, 2023
74d5721
Vault: Only allow to draw and wipe to the Buffer (#45)
sunbreak1211 Aug 14, 2023
a3d2095
Add README content (#44)
oldchili Aug 14, 2023
a24fc13
Roles: Add hasActionRole getter + minor change to hasUserRole (#47)
sunbreak1211 Aug 15, 2023
ecba065
Fix README
sunbreak1211 Aug 15, 2023
204d18c
Revert "Fix README"
sunbreak1211 Aug 15, 2023
7a145fd
Vault: Remove usage of Gem and GemJoin (#48)
sunbreak1211 Aug 15, 2023
f6bc6a8
AllocatorVault - make draw and wipe external
oldchili Aug 16, 2023
5af7242
Callee swap => swapCallback
sunbreak1211 Aug 17, 2023
aea59a1
Add automation keeper scripts (#31)
telome Aug 22, 2023
4000587
Fix typo in uniswapV3MintCallback (#50)
telome Aug 23, 2023
e8275c8
Remove path validation from callee (#54)
telome Aug 29, 2023
a8bdf07
Remove init function and use grab in spell set up (#53)
sunbreak1211 Aug 29, 2023
0ff5f8d
Minor gas optimisations (#55)
telome Aug 29, 2023
c0ba9ee
Remove Vault getters + some old unused interfaces (#56)
sunbreak1211 Aug 29, 2023
a546988
Add unchecked to the 2 functions in TickMath.sol (#51)
oldchili Aug 29, 2023
c3e065c
Readme Additions (#57)
oldchili Sep 4, 2023
bdda5fa
Add ChainSecurity and FPS audits (#58)
oldchili Sep 5, 2023
9403ef2
Deployment Scripts (#49)
oldchili Sep 12, 2023
dc19248
Minor spacing fixes
sunbreak1211 Sep 12, 2023
422c20e
Use expected amounts in tests (#60)
telome Sep 28, 2023
1d36641
Configure autoline in init script (#62)
oldchili Sep 28, 2023
f934c91
Add init validation for UniV3 Factory (#63)
oldchili Oct 10, 2023
c68b72a
Add ChainSecurity Deployment Scripts audit
oldchili Oct 11, 2023
4ad21cd
Fix testGetPosition
Oct 12, 2023
7692abe
Changes from audit (#61)
sunbreak1211 Oct 13, 2023
7268b57
Add SwapperCalleePsm (#66)
telome Nov 8, 2023
fdf12ec
AllocatorOracle: 1 WAD price (#69)
sunbreak1211 Nov 15, 2023
ca2c554
Test for Rely events in constructors + minor test re-arranging (#71)
telome Nov 15, 2023
35f468a
Add VaultMinter automation contract (#70)
sunbreak1211 Nov 15, 2023
7d8403d
Add Certora specs (#46)
sunbreak1211 Nov 20, 2023
9318d51
SwapperCalleePsm: Add note regarding dust accumulation (#72)
telome Nov 21, 2023
021fe89
Update audit report to version 4 (#73)
oldchili Nov 30, 2023
584dab1
add cantina report (#74)
oldchili Dec 4, 2023
8bcb724
Update CS audit report to version 5 (#75)
oldchili Dec 5, 2023
de55fba
Update CS audit report to version 6 (#76)
sunbreak1211 Jan 8, 2024
6304bfd
README - mark funnels as obsolete (#77)
oldchili Jul 1, 2024
d941bae
Split deploy/init scripts into core components and default funnels (#78)
hexonaut Aug 22, 2024
d429f33
Split funnel init libs to deploy/funnels (#79)
oldchili Aug 26, 2024
226584d
Renaming (#80)
sunbreak1211 Aug 28, 2024
6e99d87
Update CS reports (#81)
sunbreak1211 Sep 9, 2024
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
51 changes: 51 additions & 0 deletions .github/workflows/certora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Certora

on: [push, pull_request]

jobs:
certora:
name: Certora
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
allocator:
- buffer
- vault
- roles
- oracle
- registry
- swapper
- depositoruniv3
- stable-swapper
- stable-depositoruniv3
- conduit-mover

steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '11'
java-package: jre

- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8

- name: Install solc-select
run: pip3 install solc-select

- name: Solc Select 0.8.16
run: solc-select install 0.8.16

- name: Install Certora
run: pip3 install certora-cli-beta

- name: Certora verify ${{ matrix.allocator }}
run: make certora-${{ matrix.allocator }}
env:
CERTORAKEY: ${{ secrets.CERTORAKEY }}
30 changes: 9 additions & 21 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,22 @@
name: test
name: Tests

on: workflow_dispatch

env:
FOUNDRY_PROFILE: ci
on: [push, pull_request]

jobs:
check:
strategy:
fail-fast: true

name: Foundry project
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Install Dependencies
run: forge install

- name: Run Forge tests
run: |
forge test -vvv
id: test
- name: Run tests
run: forge test
env:
ETH_RPC_URL: ${{ secrets.ETH_RPC_URL }}
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,12 @@ docs/

# Dotenv file
.env
tmp

# Certora
.*certora*
.last_confs/
*.zip
resource_errors.json
.zip-output-url.txt
certora_debug_log.txt
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/dss-test"]
path = lib/dss-test
url = https://github.com/makerdao/dss-test
Loading