Skip to content

v4.3.4

Latest

Choose a tag to compare

@ifelsedeveloper ifelsedeveloper released this 24 Sep 14:30
7da2988

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. See native-swap.md. By @k06a in #384, @SevenSwen in #390.
  • extensions/Permit2Proxy.sol, interfaces/IPermit2TransferFrom.sol — Permit2 permitTransferFrom without witness data; func_nZHTch selector equals IERC20.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.30 across all contracts; @1inch/solidity-utils 6.4.1 → 6.7.1. By @Sunnesoft in #385.
  • EIP712Alien.sol moved from mocks/ to utils/. By @k06a in #384.

Removed

  • extensions/ETHOrders.sol — replaced by NativeOrderFactory (breaking). By @k06a in #384.

Full Changelog: 4.3.2...4.3.4