Skip to content

Commit

Permalink
feat: deploy to Linea
Browse files Browse the repository at this point in the history
  • Loading branch information
ashhanai committed Jul 18, 2024
1 parent 349ab57 commit 1610410
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 10 deletions.
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
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ For developers interested in integrating with or building on top of PWN, we prov

| Name | Address | Chain |
|------------------------------------|--------------------------------------------|-------------------------|
| Config | 0xd52a2898d61636bB3eEF0d145f05352FF543bdCC | [Ethereum](https://etherscan.io/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Polygon](https://polygonscan.com/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Arbitrum](https://arbiscan.io/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Optimism](https://optimistic.etherscan.io/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Base](https://basescan.org/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Cronos](https://cronoscan.com/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [BSC](https://bscscan.com/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Sepolia](https://sepolia.etherscan.io/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) |
| Hub | 0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5 | [Ethereum](https://etherscan.io/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Polygon](https://polygonscan.com/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Arbitrum](https://arbiscan.io/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Optimism](https://optimistic.etherscan.io/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Base](https://basescan.org/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Cronos](https://cronoscan.com/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [BSC](https://bscscan.com/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Sepolia](https://sepolia.etherscan.io/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) |
| LOAN Token | 0x4440C069272cC34b80C7B11bEE657D0349Ba9C23 | [Ethereum](https://etherscan.io/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Polygon](https://polygonscan.com/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Arbitrum](https://arbiscan.io/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Optimism](https://optimistic.etherscan.io/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Base](https://basescan.org/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Cronos](https://cronoscan.com/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [BSC](https://bscscan.com/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Sepolia](https://sepolia.etherscan.io/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) |
| Revoked Nonce | 0x972204fF33348ee6889B2d0A3967dB67d7b08e4c | [Ethereum](https://etherscan.io/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Polygon](https://polygonscan.com/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Arbitrum](https://arbiscan.io/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Optimism](https://optimistic.etherscan.io/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Base](https://basescan.org/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Cronos](https://cronoscan.com/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [BSC](https://bscscan.com/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Sepolia](https://sepolia.etherscan.io/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) |
| Simple Loan | 0x9A93AE395F09C6F350E3306aec592763c517072e | [Ethereum](https://etherscan.io/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Polygon](https://polygonscan.com/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Arbitrum](https://arbiscan.io/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Optimism](https://optimistic.etherscan.io/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Base](https://basescan.org/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Cronos](https://cronoscan.com/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [BSC](https://bscscan.com/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Sepolia](https://sepolia.etherscan.io/address/0x9A93AE395F09C6F350E3306aec592763c517072e) |
| Simple Loan Simple Proposal | 0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41 | [Ethereum](https://etherscan.io/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Polygon](https://polygonscan.com/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Arbitrum](https://arbiscan.io/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Optimism](https://optimistic.etherscan.io/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Base](https://basescan.org/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Cronos](https://cronoscan.com/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [BSC](https://bscscan.com/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Sepolia](https://sepolia.etherscan.io/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) |
| Simple Loan List Proposal | 0x0E6cE603d328de0D357D624F10f3f448855fFBDC | [Ethereum](https://etherscan.io/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Polygon](https://polygonscan.com/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Arbitrum](https://arbiscan.io/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Optimism](https://optimistic.etherscan.io/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Base](https://basescan.org/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Cronos](https://cronoscan.com/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [BSC](https://bscscan.com/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Sepolia](https://sepolia.etherscan.io/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) |
| Simple Loan Fungible Proposal | 0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E | [Ethereum](https://etherscan.io/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Polygon](https://polygonscan.com/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Arbitrum](https://arbiscan.io/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Optimism](https://optimistic.etherscan.io/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Base](https://basescan.org/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Cronos](https://cronoscan.com/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [BSC](https://bscscan.com/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Sepolia](https://sepolia.etherscan.io/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) |
| Simple Loan Dutch Auction Proposal | 0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB | [Ethereum](https://etherscan.io/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Polygon](https://polygonscan.com/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Arbitrum](https://arbiscan.io/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Optimism](https://optimistic.etherscan.io/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Base](https://basescan.org/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Cronos](https://cronoscan.com/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [BSC](https://bscscan.com/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Sepolia](https://sepolia.etherscan.io/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) |
| Config | 0xd52a2898d61636bB3eEF0d145f05352FF543bdCC | [Ethereum](https://etherscan.io/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Polygon](https://polygonscan.com/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Arbitrum](https://arbiscan.io/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Optimism](https://optimistic.etherscan.io/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Base](https://basescan.org/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Cronos](https://cronoscan.com/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [BSC](https://bscscan.com/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Linea](https://lineascan.build/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) [Sepolia](https://sepolia.etherscan.io/address/0xd52a2898d61636bB3eEF0d145f05352FF543bdCC) |
| Hub | 0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5 | [Ethereum](https://etherscan.io/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Polygon](https://polygonscan.com/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Arbitrum](https://arbiscan.io/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Optimism](https://optimistic.etherscan.io/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Base](https://basescan.org/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Cronos](https://cronoscan.com/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [BSC](https://bscscan.com/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Linea](https://lineascan.build/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) [Sepolia](https://sepolia.etherscan.io/address/0x37807A2F031b3B44081F4b21500E5D70EbaDAdd5) |
| LOAN Token | 0x4440C069272cC34b80C7B11bEE657D0349Ba9C23 | [Ethereum](https://etherscan.io/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Polygon](https://polygonscan.com/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Arbitrum](https://arbiscan.io/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Optimism](https://optimistic.etherscan.io/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Base](https://basescan.org/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Cronos](https://cronoscan.com/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [BSC](https://bscscan.com/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Linea](https://lineascan.build/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) [Sepolia](https://sepolia.etherscan.io/address/0x4440C069272cC34b80C7B11bEE657D0349Ba9C23) |
| Revoked Nonce | 0x972204fF33348ee6889B2d0A3967dB67d7b08e4c | [Ethereum](https://etherscan.io/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Polygon](https://polygonscan.com/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Arbitrum](https://arbiscan.io/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Optimism](https://optimistic.etherscan.io/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Base](https://basescan.org/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Cronos](https://cronoscan.com/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [BSC](https://bscscan.com/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Linea](https://lineascan.build/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) [Sepolia](https://sepolia.etherscan.io/address/0x972204fF33348ee6889B2d0A3967dB67d7b08e4c) |
| Simple Loan | 0x9A93AE395F09C6F350E3306aec592763c517072e | [Ethereum](https://etherscan.io/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Polygon](https://polygonscan.com/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Arbitrum](https://arbiscan.io/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Optimism](https://optimistic.etherscan.io/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Base](https://basescan.org/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Cronos](https://cronoscan.com/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [BSC](https://bscscan.com/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Linea](https://lineascan.build/address/0x9A93AE395F09C6F350E3306aec592763c517072e) [Sepolia](https://sepolia.etherscan.io/address/0x9A93AE395F09C6F350E3306aec592763c517072e) |
| Simple Loan Simple Proposal | 0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41 | [Ethereum](https://etherscan.io/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Polygon](https://polygonscan.com/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Arbitrum](https://arbiscan.io/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Optimism](https://optimistic.etherscan.io/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Base](https://basescan.org/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Cronos](https://cronoscan.com/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [BSC](https://bscscan.com/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Linea](https://lineascan.build/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) [Sepolia](https://sepolia.etherscan.io/address/0xEb3e6B9B51911175F3a121b5Efb46Fa354520f41) |
| Simple Loan List Proposal | 0x0E6cE603d328de0D357D624F10f3f448855fFBDC | [Ethereum](https://etherscan.io/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Polygon](https://polygonscan.com/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Arbitrum](https://arbiscan.io/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Optimism](https://optimistic.etherscan.io/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Base](https://basescan.org/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Cronos](https://cronoscan.com/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [BSC](https://bscscan.com/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Linea](https://lineascan.build/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) [Sepolia](https://sepolia.etherscan.io/address/0x0E6cE603d328de0D357D624F10f3f448855fFBDC) |
| Simple Loan Fungible Proposal | 0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E | [Ethereum](https://etherscan.io/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Polygon](https://polygonscan.com/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Arbitrum](https://arbiscan.io/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Optimism](https://optimistic.etherscan.io/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Base](https://basescan.org/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Cronos](https://cronoscan.com/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [BSC](https://bscscan.com/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Linea](https://lineascan.build/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) [Sepolia](https://sepolia.etherscan.io/address/0x0618504Fa17888ec36AC5D46A4A0Ed59436Fb77E) |
| Simple Loan Dutch Auction Proposal | 0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB | [Ethereum](https://etherscan.io/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Polygon](https://polygonscan.com/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Arbitrum](https://arbiscan.io/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Optimism](https://optimistic.etherscan.io/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Base](https://basescan.org/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Cronos](https://cronoscan.com/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [BSC](https://bscscan.com/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Linea](https://lineascan.build/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) [Sepolia](https://sepolia.etherscan.io/address/0x807eb2A61B2d0193b0696436BeFFcFE4d6D520CB) |

The addresses listed in the table above are the same on all deployed chains. This means that regardless of the blockchain network you are using, such as Ethereum or Arbitrum, the addresses for the PWN smart contracts remain consistent. This provides a seamless experience for developers and users who want to interact with the PWN protocol across different blockchain ecosystems.

Expand Down
21 changes: 20 additions & 1 deletion deployments/latest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"deployedChains": [1, 10, 25, 56, 137, 8453, 42161, 11155111],
"deployedChains": [1, 10, 25, 56, 137, 8453, 42161, 59144, 11155111],
"chains": {
"1": {
"dao": "0x1B8383D2726E7e18189205337424a2631A2102F4",
Expand Down Expand Up @@ -134,6 +134,25 @@
"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",
Expand Down
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ base = "${BASE_URL}"
cronos = "${CRONOS_URL}"
mantle = "${MANTLE_URL}"
bsc = "${BSC_URL}"
linea = "${LINEA_URL}"

# Testnets
sepolia = "${SEPOLIA_URL}"
Expand Down

0 comments on commit 1610410

Please sign in to comment.