Repository navigation
Limit Order Protocol 4.3.4
Contract changes since 4.3.2. Core protocol (LimitOrderProtocol, OrderMixin) is unchanged apart from the compiler bump.
Added
extensions/NativeOrderFactory.sol,extensions/NativeOrderImpl.sol— native-currency orders via deterministic per-order clones that wrap to WETH and act as EIP-1271 makers; maker cancel/withdraw, resolver cancel of expired orders for a bounded reward. Seenative-swap.md. By @k06a in #384, @SevenSwen in #390.extensions/Permit2Proxy.sol,interfaces/IPermit2TransferFrom.sol— Permit2permitTransferFromwithout witness data;func_nZHTchselector equalsIERC20.transferFrom, callable only by the router; Permit2 address is a constructor parameter (zkSync Era uses a non-canonical one); Permit2 nonces are single-use. By @ifelsedeveloper in #400, #413.OrderLib.hashMemory— EIP-712 hash of an in-memory order. By @k06a in #384.
Changed
- Solidity
0.8.23→0.8.30across all contracts;@1inch/solidity-utils6.4.1→6.7.1. By @Sunnesoft in #385. EIP712Alien.solmoved frommocks/toutils/. By @k06a in #384.
Removed
Full Changelog: 4.3.2...4.3.4