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

V1.2 #78

Merged
merged 130 commits into from
Jul 18, 2024
Merged

V1.2 #78

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
6864752
feat(offer): rename `borrower` address field in offer struct that is …
ashhanai Feb 13, 2024
6b306ca
feat(request): rename `lender` address field in request struct that i…
ashhanai Feb 13, 2024
323761c
feat(versioning): increase contracts version to 1.2
ashhanai Feb 13, 2024
1906dfe
feat(versioning): use contract version in domain separator
ashhanai Feb 13, 2024
0788ca4
feat: change version, typehash, and domain separator constants visibi…
ashhanai Feb 13, 2024
0a89289
feat(repayment): transfer repaid loan asset directly to original lend…
ashhanai Feb 13, 2024
cbb695f
test(deployed): remove deployed protocol tests for all testnets but s…
ashhanai Feb 13, 2024
59f90b1
feat(config): initialize config with zero values on deployment, forci…
ashhanai Feb 13, 2024
c8ef858
feat(config): implement default loan metadata uri
ashhanai Feb 14, 2024
75394c7
feat(config): remove dependency of initializer values on config address
ashhanai Feb 14, 2024
d39ea03
build(forge): increase forge version to v1.7.6
ashhanai Feb 15, 2024
47803c0
build(multitoken): increase multitoken version to v2.3.0-beta.2
ashhanai Feb 15, 2024
8a32748
build(open-zeppelin): increase open-zeppelin version to v4.9.5
ashhanai Feb 15, 2024
a735e35
feat(category-registry): check passed asset category in category regi…
ashhanai Feb 16, 2024
2df2ece
refactor(fee-calculator): use OZ Math.mulDiv
ashhanai Feb 21, 2024
9adbe53
feat(refinance): enable borrower to refinance a running loan
ashhanai Feb 21, 2024
3f8d2ad
style(simple-loan): code styling
ashhanai Feb 21, 2024
86790e7
refactor(loan-default-timestamp): rename loan expiration to default t…
ashhanai Feb 21, 2024
0a6e771
feat(refinancing-loan-id): add refinancing loan id into loan request …
ashhanai Feb 21, 2024
d48539c
feat(is-valid-asset): expose MultiToken isValid function on loan cont…
ashhanai Feb 22, 2024
7c623a4
feat(daily-interest-rate): update fixed loan interest to interest acc…
ashhanai Feb 26, 2024
44073ae
feat(refinance): emit refinancing loan event
ashhanai Feb 26, 2024
858f5dd
refactor(get-loan): return loan properties separately with some addit…
ashhanai Feb 26, 2024
af5a585
feat(on-chain-offer-request): enrich on-chain offer and request events
ashhanai Feb 26, 2024
f154419
style(repayment-amount): move loan repayment amount function into sep…
ashhanai Feb 27, 2024
45575be
feat(loan-extension): implement loan extension with price
ashhanai Feb 29, 2024
34ad546
refactor: make simple loan properties public
ashhanai Feb 29, 2024
ed387f4
feat(no-expiration): remove infinite expirations in offers and requests
ashhanai Feb 29, 2024
1d9f154
feat(create-and-revoke): implement option to revoke callers nonce whi…
ashhanai Feb 29, 2024
aeb4c21
feat(nonce-space): implement nonce space and use them in offers and r…
ashhanai Mar 1, 2024
3f86a36
build(shared-nonces): update deployment script with shared revoked no…
ashhanai Mar 1, 2024
01b5dd4
test(shared-nonces): update deployment test with shared revoked nonce…
ashhanai Mar 1, 2024
5efaceb
fix(script): pass category registry to simple loan constructor
ashhanai Mar 4, 2024
5cbe8f8
feat(state-fingerprint-computer-registry): implement state fingerprin…
ashhanai Mar 6, 2024
b11d992
feat(state-fingerprint): extend offers and request by an optional col…
ashhanai Mar 6, 2024
9bcd05f
refactor: remove base offer and request contracts
ashhanai Mar 6, 2024
50dd63e
feat(revoked-nonce): implement is nonce usable getter to distinguish …
ashhanai Mar 6, 2024
6bed870
refactor: change import style
ashhanai Mar 7, 2024
b7257fb
feat(available-credit-limit): add availabel credit limit value to off…
ashhanai Mar 7, 2024
394f9ef
feat: refactor loan creation flow
ashhanai Mar 12, 2024
aecf753
refactor: use calldata instead of memory where possible
ashhanai Mar 12, 2024
8c79ba4
refactor: rename loan asset to credit
ashhanai Mar 13, 2024
6dba9de
feat(loan-extension): enable using any fungible token as lenders exte…
ashhanai Mar 13, 2024
a30240f
feat: add auxiliary data to loan creation functions
ashhanai Mar 14, 2024
0597cdd
feat: update how permit is handled
ashhanai Mar 15, 2024
2c9b7a4
feat(on-chain-proposal): emit typed proposal object
ashhanai Mar 19, 2024
7ad0d04
feat(fungible-offer): implement simple loan fungible offer
ashhanai Mar 20, 2024
9f79ed6
docs: update accept offer / request docs
ashhanai Mar 20, 2024
fde8463
feat(fungible-proposal): update fungible offer to support borrower si…
ashhanai Mar 21, 2024
f742632
feat: remove unnecessary fungible offer files
ashhanai Mar 21, 2024
f8d5403
test: add missing fungible proposal tests
ashhanai Mar 21, 2024
f5957b1
feat(simple-proposal): merge simple loan simple offer and request int…
ashhanai Mar 21, 2024
ce0a4eb
feat(list-proposal): extend simple loan list offer by list request an…
ashhanai Mar 22, 2024
c5457a3
feat(dutch-auction-proposal): implement dutch auction proposal
ashhanai Mar 25, 2024
82fbed4
feat(dutch-auction-proposal): update proposal version
ashhanai Mar 25, 2024
d6f76ba
feat(fungible-proposal): update proposal version
ashhanai Mar 25, 2024
3091405
feat(dutch-auction-proposal): remove invariant check
ashhanai Mar 25, 2024
aa27f9a
feat(fungible-proposal): change credit amount computing function visi…
ashhanai Mar 25, 2024
a2b12dc
feat(state-fingerprint-computer-registry): move computer registry int…
ashhanai Mar 26, 2024
afe2cb8
script: update deployment scripts
ashhanai Mar 27, 2024
3fe1680
refactor: merge accept new and refactoring proposal into one function
ashhanai Mar 27, 2024
8302cba
feat(revoked-nonce): enable tagged address revoke of users nonce in c…
ashhanai Mar 27, 2024
adb6063
remove forgotten file
ashhanai Mar 27, 2024
6500163
feat(revoked-nonce): revert when revoking already revoked nonce
ashhanai Mar 29, 2024
7f82503
feat: refactor loan creation flow back to the one, where loan contrac…
ashhanai Mar 29, 2024
5d0ad3a
feat(source-of-funds): implement lenders source of funds and allow to…
ashhanai Apr 4, 2024
50ac875
feat: extend loan creation event by lender spec
ashhanai Apr 4, 2024
d1291d6
feat: check vault balance after compound withdraw and supply
ashhanai Apr 4, 2024
21774f7
feat(multiproposal): implement multiproposal
ashhanai Apr 5, 2024
31c12ca
feat(state-fingerprint): allow computer to support more than one stat…
ashhanai Apr 8, 2024
2bea522
feat(uni-v3-state-fingerprint): implement uni v3 position state finge…
ashhanai Apr 9, 2024
91a5d68
feat(chicken-bond-state-fingerprint): implement chicken bond state fi…
ashhanai Apr 9, 2024
b43752e
ci: redeploy to tenderly ethereum fork
ashhanai Apr 9, 2024
72b1e20
feat(pool-adapter): implement pool adapter registry in config
ashhanai Apr 10, 2024
9e674d1
feat(pool-adapter): update simple loan to use pool adapter instead of…
ashhanai Apr 10, 2024
0d6d1fe
feat(revoked-nonce): remove dependency on PWNHubAccessControl
ashhanai Apr 11, 2024
3f0f9db
ci: add tenderly as rpc endpoint
ashhanai Apr 11, 2024
f432db2
test: move mock tokens
ashhanai Apr 11, 2024
0c8ece8
test: move deployment test contract
ashhanai Apr 11, 2024
575eb0a
test: update integration tests
ashhanai Apr 11, 2024
a5783b0
test: update fork tests
ashhanai Apr 11, 2024
eb36edc
test: add integration tests for fungible and dutch auction proposals
ashhanai Apr 12, 2024
989c488
feat: add check for same proposer and acceptor address
ashhanai Apr 12, 2024
78e1e11
test: rename loan asset to credit in fork tests
ashhanai Apr 12, 2024
6e25e55
feat: use permit data as bytes string instead of Permit struct to not…
ashhanai Apr 12, 2024
9180d52
refactor: update PWNHub and PWNLOAN imports
ashhanai Apr 12, 2024
6dd9b4f
ci(timelocks): use product timelock as admin timelock
ashhanai Apr 13, 2024
e0547c2
refactor: remove unnecessary remappings
ashhanai Apr 13, 2024
c99aa0c
refactor: update remappings
ashhanai Apr 13, 2024
8545d52
refactor: move interfaces into its own directory
ashhanai Apr 13, 2024
b5d1944
refactor: move state fingerprint computers into standalone repo
ashhanai Apr 13, 2024
360aa79
build(multi-token): increase multi token lib to v3.0.0
ashhanai Apr 14, 2024
0d01882
test: remove periphery contracts fork tests
ashhanai Apr 14, 2024
9baabd6
test: fix proposal fuzz test
ashhanai Apr 14, 2024
72c09be
feat: withdraw funds to lender address when pool source of funds
ashhanai Apr 15, 2024
16666a0
style: remove unnecessary comment
ashhanai Apr 18, 2024
be49bd0
docs: remove deployed addresses from readme
ashhanai Apr 18, 2024
969361c
refactor: update error docs and move them to contract files when poss…
ashhanai Apr 18, 2024
555bb71
refactor: define project remapping
ashhanai Apr 19, 2024
9d8086e
feat: add additional subpath to deployments contracts to allow having…
ashhanai Apr 19, 2024
127f8b0
refactor: make loan errors more descriptive
ashhanai Apr 24, 2024
a70c015
docs: update proposal docs
ashhanai Apr 24, 2024
4263b76
refactor: stop using protocol safe
ashhanai Apr 25, 2024
62d0424
refactor: implement timelock utils
ashhanai Apr 25, 2024
f5b94b9
refactor: update pwn scripts to use timelock utils
ashhanai Apr 25, 2024
7549628
redeploy to Tenderly Sepolia fork
ashhanai Apr 25, 2024
232ad69
style: update timelock script names
ashhanai Apr 26, 2024
91071d9
refactor: set default metadata in script
ashhanai Apr 26, 2024
e732e53
refactor: merge timelock deployment scripts
ashhanai Apr 29, 2024
dcf5b00
docs: update latest deployment addresses
ashhanai Apr 29, 2024
628edeb
fix: tenderly contract verification
ashhanai Apr 29, 2024
4b28847
feat: implement tenderly helper script
ashhanai Apr 29, 2024
b3faccc
refactor: remove unnecessary zero address check
ashhanai May 20, 2024
824c5eb
fix: typo
ashhanai May 20, 2024
dec9665
feat: do not call transfer with 0 amount
ashhanai May 21, 2024
031e3e1
feat: move refinancing loan id value into LOANCreated event and remov…
ashhanai May 21, 2024
28ef532
feat: accrue interest per minute
ashhanai May 21, 2024
1e7d561
feat: delete legacy pwn hub access control abstract contract
ashhanai May 21, 2024
7ba25a0
refactor: move custom errors to its contract files
ashhanai May 21, 2024
1a5bd9a
build: update foundry config
ashhanai May 21, 2024
8a614c7
feat: implement revoking multiple nonces at once
ashhanai May 22, 2024
e37fbc6
build: update multitoken lib to v3.0.1
ashhanai May 22, 2024
7e06503
Merge pull request #77 from PWNFinance/extropy-initial-findings
ashhanai Jun 4, 2024
bdf0f8b
refactor: update APR value type to uint24 and decrease decimals to 2
ashhanai May 24, 2024
f06e6eb
ci: update deployment script
ashhanai Jun 11, 2024
d5b8b16
ci: update latest deployed addresses
ashhanai Jun 11, 2024
51a1fd2
docs: update readme
ashhanai Jun 11, 2024
349ab57
ci: update deployment script
ashhanai Jul 18, 2024
1610410
feat: deploy to Linea
ashhanai Jul 18, 2024
7e813a4
test: test deployed protocols
ashhanai Jul 18, 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
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
CRONOS_URL: ${{ secrets.CRONOS_URL }}
MANTLE_URL: ${{ secrets.MANTLE_URL }}
BSC_URL: ${{ secrets.BSC_URL }}
LINEA_URL: ${{ secrets.LINEA_URL }}
SEPOLIA_URL: ${{ secrets.SEPOLIA_URL }}
GOERLI_URL: ${{ secrets.GOERLI_URL }}
BASE_GOERLI_URL: ${{ secrets.BASE_GOERLI_URL }}
Expand Down
101 changes: 36 additions & 65 deletions README.md

Large diffs are not rendered by default.

176 changes: 176 additions & 0 deletions deployments/latest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
{
"deployedChains": [1, 10, 25, 56, 137, 8453, 42161, 59144, 11155111],
"chains": {
"1": {
"dao": "0x1B8383D2726E7e18189205337424a2631A2102F4",
"adminTimelock": "0xd57e72A328AB1deC6b374c2babe2dc489819B5Ea",
"protocolTimelock": "0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB",
"daoSafe": "0xd56635c0E91D31F88B89F195D3993a9e34516e59",
"deployerSafe": "0x42Cad20c964067f8e8b5c3E13fd0aa3C20a964C4",
"deployer": "0x706c9F2dd328E2C01483eCF705D2D9708F4aB727",
"categoryRegistry": "0xbB2168d5546A94AE2DA9254e63D88F7f137B2534",
"configSingleton": "0x1f5febF0efA3aD487508b6Cc7f39a0a54DE9De72",
"config": "0xd52a2898d61636bB3eEF0d145f05352FF543bdCC",
"hub": "0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5",
"loanToken": "0x4440C069272cC34b80C7B11bEE657D0349Ba9C23",
"revokedNonce": "0x972204fF33348ee6889B2d0A3967dB67d7b08e4c",
"simpleLoan": "0x9A93AE395F09C6F350E3306aec592763c517072e",
"simpleLoanSimpleProposal": "0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41",
"simpleLoanListProposal": "0x0E6cE603d328de0D357D624F10f3f448855fFBDC",
"simpleLoanFungibleProposal": "0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E",
"simpleLoanDutchAuctionProposal": "0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB"
},
"10": {
"dao": "0x0000000000000000000000000000000000000000",
"adminTimelock": "0xd57e72A328AB1deC6b374c2babe2dc489819B5Ea",
"protocolTimelock": "0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB",
"daoSafe": "0x282D9663815b1F9929a3C84a9a1290BE882E125f",
"deployerSafe": "0x1B4B37738De3bb9E6a7a4f99aFe4C145734c071d",
"deployer": "0x706c9F2dd328E2C01483eCF705D2D9708F4aB727",
"categoryRegistry": "0xbB2168d5546A94AE2DA9254e63D88F7f137B2534",
"configSingleton": "0x1f5febF0efA3aD487508b6Cc7f39a0a54DE9De72",
"config": "0xd52a2898d61636bB3eEF0d145f05352FF543bdCC",
"hub": "0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5",
"loanToken": "0x4440C069272cC34b80C7B11bEE657D0349Ba9C23",
"revokedNonce": "0x972204fF33348ee6889B2d0A3967dB67d7b08e4c",
"simpleLoan": "0x9A93AE395F09C6F350E3306aec592763c517072e",
"simpleLoanSimpleProposal": "0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41",
"simpleLoanListProposal": "0x0E6cE603d328de0D357D624F10f3f448855fFBDC",
"simpleLoanFungibleProposal": "0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E",
"simpleLoanDutchAuctionProposal": "0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB"
},
"25": {
"dao": "0x0000000000000000000000000000000000000000",
"adminTimelock": "0xd57e72A328AB1deC6b374c2babe2dc489819B5Ea",
"protocolTimelock": "0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB",
"daoSafe": "0x282D9663815b1F9929a3C84a9a1290BE882E125f",
"deployerSafe": "0x1B4B37738De3bb9E6a7a4f99aFe4C145734c071d",
"deployer": "0x706c9F2dd328E2C01483eCF705D2D9708F4aB727",
"categoryRegistry": "0xbB2168d5546A94AE2DA9254e63D88F7f137B2534",
"configSingleton": "0x1f5febF0efA3aD487508b6Cc7f39a0a54DE9De72",
"config": "0xd52a2898d61636bB3eEF0d145f05352FF543bdCC",
"hub": "0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5",
"loanToken": "0x4440C069272cC34b80C7B11bEE657D0349Ba9C23",
"revokedNonce": "0x972204fF33348ee6889B2d0A3967dB67d7b08e4c",
"simpleLoan": "0x9A93AE395F09C6F350E3306aec592763c517072e",
"simpleLoanSimpleProposal": "0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41",
"simpleLoanListProposal": "0x0E6cE603d328de0D357D624F10f3f448855fFBDC",
"simpleLoanFungibleProposal": "0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E",
"simpleLoanDutchAuctionProposal": "0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB"
},
"56": {
"dao": "0x0000000000000000000000000000000000000000",
"adminTimelock": "0xd57e72A328AB1deC6b374c2babe2dc489819B5Ea",
"protocolTimelock": "0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB",
"daoSafe": "0xd56635c0E91D31F88B89F195D3993a9e34516e59",
"deployerSafe": "0x42Cad20c964067f8e8b5c3E13fd0aa3C20a964C4",
"deployer": "0x706c9F2dd328E2C01483eCF705D2D9708F4aB727",
"categoryRegistry": "0xbB2168d5546A94AE2DA9254e63D88F7f137B2534",
"configSingleton": "0x1f5febF0efA3aD487508b6Cc7f39a0a54DE9De72",
"config": "0xd52a2898d61636bB3eEF0d145f05352FF543bdCC",
"hub": "0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5",
"loanToken": "0x4440C069272cC34b80C7B11bEE657D0349Ba9C23",
"revokedNonce": "0x972204fF33348ee6889B2d0A3967dB67d7b08e4c",
"simpleLoan": "0x9A93AE395F09C6F350E3306aec592763c517072e",
"simpleLoanSimpleProposal": "0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41",
"simpleLoanListProposal": "0x0E6cE603d328de0D357D624F10f3f448855fFBDC",
"simpleLoanFungibleProposal": "0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E",
"simpleLoanDutchAuctionProposal": "0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB"
},
"137": {
"dao": "0x0000000000000000000000000000000000000000",
"adminTimelock": "0xd57e72A328AB1deC6b374c2babe2dc489819B5Ea",
"protocolTimelock": "0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB",
"daoSafe": "0xd56635c0E91D31F88B89F195D3993a9e34516e59",
"deployerSafe": "0x42Cad20c964067f8e8b5c3E13fd0aa3C20a964C4",
"deployer": "0x706c9F2dd328E2C01483eCF705D2D9708F4aB727",
"categoryRegistry": "0xbB2168d5546A94AE2DA9254e63D88F7f137B2534",
"configSingleton": "0x1f5febF0efA3aD487508b6Cc7f39a0a54DE9De72",
"config": "0xd52a2898d61636bB3eEF0d145f05352FF543bdCC",
"hub": "0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5",
"loanToken": "0x4440C069272cC34b80C7B11bEE657D0349Ba9C23",
"revokedNonce": "0x972204fF33348ee6889B2d0A3967dB67d7b08e4c",
"simpleLoan": "0x9A93AE395F09C6F350E3306aec592763c517072e",
"simpleLoanSimpleProposal": "0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41",
"simpleLoanListProposal": "0x0E6cE603d328de0D357D624F10f3f448855fFBDC",
"simpleLoanFungibleProposal": "0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E",
"simpleLoanDutchAuctionProposal": "0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB"
},
"8453": {
"dao": "0x0000000000000000000000000000000000000000",
"adminTimelock": "0xd57e72A328AB1deC6b374c2babe2dc489819B5Ea",
"protocolTimelock": "0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB",
"daoSafe": "0x282D9663815b1F9929a3C84a9a1290BE882E125f",
"deployerSafe": "0x1B4B37738De3bb9E6a7a4f99aFe4C145734c071d",
"deployer": "0x706c9F2dd328E2C01483eCF705D2D9708F4aB727",
"categoryRegistry": "0xbB2168d5546A94AE2DA9254e63D88F7f137B2534",
"configSingleton": "0x1f5febF0efA3aD487508b6Cc7f39a0a54DE9De72",
"config": "0xd52a2898d61636bB3eEF0d145f05352FF543bdCC",
"hub": "0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5",
"loanToken": "0x4440C069272cC34b80C7B11bEE657D0349Ba9C23",
"revokedNonce": "0x972204fF33348ee6889B2d0A3967dB67d7b08e4c",
"simpleLoan": "0x9A93AE395F09C6F350E3306aec592763c517072e",
"simpleLoanSimpleProposal": "0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41",
"simpleLoanListProposal": "0x0E6cE603d328de0D357D624F10f3f448855fFBDC",
"simpleLoanFungibleProposal": "0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E",
"simpleLoanDutchAuctionProposal": "0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB"
},
"42161": {
"dao": "0x0000000000000000000000000000000000000000",
"adminTimelock": "0xd57e72A328AB1deC6b374c2babe2dc489819B5Ea",
"protocolTimelock": "0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB",
"daoSafe": "0xd56635c0E91D31F88B89F195D3993a9e34516e59",
"deployerSafe": "0x42Cad20c964067f8e8b5c3E13fd0aa3C20a964C4",
"deployer": "0x706c9F2dd328E2C01483eCF705D2D9708F4aB727",
"categoryRegistry": "0xbB2168d5546A94AE2DA9254e63D88F7f137B2534",
"configSingleton": "0x1f5febF0efA3aD487508b6Cc7f39a0a54DE9De72",
"config": "0xd52a2898d61636bB3eEF0d145f05352FF543bdCC",
"hub": "0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5",
"loanToken": "0x4440C069272cC34b80C7B11bEE657D0349Ba9C23",
"revokedNonce": "0x972204fF33348ee6889B2d0A3967dB67d7b08e4c",
"simpleLoan": "0x9A93AE395F09C6F350E3306aec592763c517072e",
"simpleLoanSimpleProposal": "0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41",
"simpleLoanListProposal": "0x0E6cE603d328de0D357D624F10f3f448855fFBDC",
"simpleLoanFungibleProposal": "0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E",
"simpleLoanDutchAuctionProposal": "0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB"
},
"59144": {
"dao": "0x0000000000000000000000000000000000000000",
"adminTimelock": "0xd57e72A328AB1deC6b374c2babe2dc489819B5Ea",
"protocolTimelock": "0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB",
"daoSafe": "0x282D9663815b1F9929a3C84a9a1290BE882E125f",
"deployerSafe": "0x1B4B37738De3bb9E6a7a4f99aFe4C145734c071d",
"deployer": "0x706c9F2dd328E2C01483eCF705D2D9708F4aB727",
"categoryRegistry": "0xbB2168d5546A94AE2DA9254e63D88F7f137B2534",
"configSingleton": "0x1f5febF0efA3aD487508b6Cc7f39a0a54DE9De72",
"config": "0xd52a2898d61636bB3eEF0d145f05352FF543bdCC",
"hub": "0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5",
"loanToken": "0x4440C069272cC34b80C7B11bEE657D0349Ba9C23",
"revokedNonce": "0x972204fF33348ee6889B2d0A3967dB67d7b08e4c",
"simpleLoan": "0x9A93AE395F09C6F350E3306aec592763c517072e",
"simpleLoanSimpleProposal": "0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41",
"simpleLoanListProposal": "0x0E6cE603d328de0D357D624F10f3f448855fFBDC",
"simpleLoanFungibleProposal": "0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E",
"simpleLoanDutchAuctionProposal": "0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB"
},
"11155111": {
"dao": "0x0000000000000000000000000000000000000000",
"adminTimelock": "0xd57e72A328AB1deC6b374c2babe2dc489819B5Ea",
"protocolTimelock": "0xd8dbdDf1c0FDdf9b5eCFA5C067C38DB66739FBAB",
"daoSafe": "0x282D9663815b1F9929a3C84a9a1290BE882E125f",
"deployerSafe": "0x1B4B37738De3bb9E6a7a4f99aFe4C145734c071d",
"deployer": "0x706c9F2dd328E2C01483eCF705D2D9708F4aB727",
"categoryRegistry": "0xbB2168d5546A94AE2DA9254e63D88F7f137B2534",
"configSingleton": "0x1f5febF0efA3aD487508b6Cc7f39a0a54DE9De72",
"config": "0xd52a2898d61636bB3eEF0d145f05352FF543bdCC",
"hub": "0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5",
"loanToken": "0x4440C069272cC34b80C7B11bEE657D0349Ba9C23",
"revokedNonce": "0x972204fF33348ee6889B2d0A3967dB67d7b08e4c",
"simpleLoan": "0x9A93AE395F09C6F350E3306aec592763c517072e",
"simpleLoanSimpleProposal": "0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41",
"simpleLoanListProposal": "0x0E6cE603d328de0D357D624F10f3f448855fFBDC",
"simpleLoanFungibleProposal": "0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E",
"simpleLoanDutchAuctionProposal": "0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB"
}
}
}
2 changes: 1 addition & 1 deletion deployments.json → deployments/v1.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,4 @@
"simpleLoanSimpleRequest": "0x9Cb87eC6448299aBc326F32d60E191Ef32Ab225D"
}
}
}
}
5 changes: 4 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[profile.default]
solc_version = '0.8.16'
fs_permissions = [{ access = "read", path = "./deployments.json"}]
fs_permissions = [{ access = "read", path = "./deployments/latest.json"}]
gas_reports = ["PWNSimpleLoan"]


[rpc_endpoints]
Expand All @@ -13,6 +14,7 @@ base = "${BASE_URL}"
cronos = "${CRONOS_URL}"
mantle = "${MANTLE_URL}"
bsc = "${BSC_URL}"
linea = "${LINEA_URL}"

# Testnets
sepolia = "${SEPOLIA_URL}"
Expand All @@ -21,4 +23,5 @@ base_goerli = "${BASE_GOERLI_URL}"
cronos_testnet = "${CRONOS_TESTNET_URL}"
mantle_testnet = "${MANTLE_TESTNET_URL}"

tenderly = "${TENDERLY_URL}"
local = "${LOCAL_URL}"
2 changes: 1 addition & 1 deletion lib/MultiToken
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts
10 changes: 1 addition & 9 deletions remappings.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
@MT/=lib/MultiToken/src/
@openzeppelin/=lib/openzeppelin-contracts/contracts/
@pwn-test/=test/
@pwn/=src/

MultiToken/=lib/MultiToken/src/
ds-test/=lib/forge-std/lib/ds-test/src/
forge-std/=lib/forge-std/src/
openzeppelin-contracts/=lib/openzeppelin-contracts/
pwn/=src/
Loading
Loading