-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relay Bridge (v1.0.0) [RelayFacet v1.0.0,LibAsset v1.0.1] (#843)
* Scaffold Relay Facet * Add verification modifier * Add calldata * Implement ERC20 * Implement tests * Deploy to staging * Add deployment requirements * Implement demo for Relay * Update documentation * Update doc link * Deploy to POL and OP staging * Remove unneeded comment * Fixes * Fixes * Add swap and bridge TX to demo * Add params needed to handle non EVM addresses * Update tests to handle non-evm * Redeploy to staging * Update Relay Demo * add revert case * use standardized method for creating hash * add comments for clarity * add URL for listing chain ids * fix typo * add explicit test for non-evm chains * add comments fix typo * add NON_EVM_ADDRESS constant to LibAsset * update name * fix typo * remove unused imports * Update and redeploy to staging * Use floating pragma * Update version * Add more tests * Add even more tests * Use mock to surgically make call fail * Add explicit test for _getMappedChainId() * update event * prevent replay * prevent empty non-evm addresses * remove unused import * Update audit log * Update audit log * Test constructor * sort audited contracts
- Loading branch information
Showing
26 changed files
with
1,767 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"mainnet": { | ||
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"optimism": { | ||
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"polygon": { | ||
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"boba": { | ||
"relayReceiver": "0xa06e1351e2fd2d45b5d35633ca7ecf328684a109", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"arbitrum": { | ||
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"avalanche": { | ||
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"blast": { | ||
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"mode": { | ||
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"linea": { | ||
"relayReceiver": "0x00000000aa467eba42a3d604b3d74d63b2b6c6cb", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"taiko": { | ||
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
}, | ||
"scroll": { | ||
"relayReceiver": "0xa5f565650890fba1824ee0f21ebbbf660a179934", | ||
"relaySolver": "0xf70da97812CB96acDF810712Aa562db8dfA3dbEF" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.