* feat: evm contracts for exact evm permit2 support * feat: refactor permit2 proxy passing from constructor to initializer * feat: validate EIP-2612 permit value matches Permit2 permitted amount * feat: gate initialize() to original deployer to prevent frontrunning * feat: add permit2 to submodule * fix: reject zero-amount settlements to prevent no-op nonce consumption * fix: remove extra field from Witness struct to eliminate unbounded calldata gas griefing * refactor: rename _settle() amount parameter to settlementAmount for clarity * fix: emit EIP2612PermitFailed event on permit failure for observability * refactor: rename PERMIT2 state variable to permit2 per Solidity naming conventions * fix: add facilitator to Witness struct to prevent settlement frontrunning and amount griefing * fix: remove tx.origin from constructor to support multisig deployment * fix: formatting * fix: use granular try/catch for EIP-2612 permit failure observability * fix: replace unguarded initialize() with constructor to prevent cross-chain deployment griefing * fix: rename permit2 to PERMIT2 * feat: remined salt & redeploy to base-sepolia * feat: updated exact evm spec * fix: reverted gitignore change (to avoid rebase, ensure commit hashes match audit report) * feat: added contract audit report * chore: renamed audit report file
10 lines
407 B
Plaintext
10 lines
407 B
Plaintext
[submodule "contracts/evm/lib/forge-std"]
|
|
path = contracts/evm/lib/forge-std
|
|
url = https://github.com/foundry-rs/forge-std
|
|
[submodule "contracts/evm/lib/openzeppelin-contracts"]
|
|
path = contracts/evm/lib/openzeppelin-contracts
|
|
url = https://github.com/openzeppelin/openzeppelin-contracts
|
|
[submodule "contracts/evm/lib/permit2"]
|
|
path = contracts/evm/lib/permit2
|
|
url = https://github.com/Uniswap/permit2
|