Skip to content

Releases: randa-mu/onlyswaps-solidity

v0.8.0 - Optimise event logs

19 Dec 15:51
a933857

Choose a tag to compare

add indexed to event parameters (#107)

v0.7.0 - permit2 and hooks

17 Nov 21:59
4c587e0

Choose a tag to compare

What's Changed

  • Add hooks feature with pre and post-hooks embedded in permit2 (additional) witness data by @najienka in #99
  • Add amountIn to SwapRequestParametersWithHooks struct returned in getSwapRequestParameters by @najienka in #100
  • fix: crosschain swap and relayTokens using different algos to generate by @CluEleSsUK in #101
  • Add amountIn to swap request params to sign by @najienka in #102
  • Update swap request parameters to bytes and add test for off-chain generated message to sign with signature verification by @najienka in #103

Full Changelog: v0.6.0...v0.7.0

v0.6.0 - add support for permit2

14 Nov 14:42
6f0e872

Choose a tag to compare

What's Changed

  • Fix forge lint warnings by @najienka in #94
  • feat: add support for Permit2 and multi-decimal tokens by @najienka in #93

Full Changelog: v0.5.0...v0.6.0

v0.5.0

29 Oct 15:43
432930b

Choose a tag to compare

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0 — Removes duplicate getter for chain Id

15 Oct 14:31
1d4bb16

Choose a tag to compare

What's Changed

  • Remove duplicate getChainId function from Router implementation logic by @najienka in #88
  • Update solidity on npm by @najienka in #89

Full Changelog: v0.3.0...v0.4.0

v0.3.0 — Add separate nonce for swap requests

08 Oct 09:13
f0266fd

Choose a tag to compare

Add unit test for Router contract upgrade with separate nonce for swa…

v0.2.0

26 Sep 09:18
bb2e7c8

Choose a tag to compare

What's Changed

  • Update gitignore by @najienka in #69
  • Add a zero address check for the recipient parameter in the requestCrossChainSwap function by @najienka in #70
  • Validate destination chain id in requestCrossChainSwap by @najienka in #71
  • Use BLS signature in setMinimumContractUpgradeDelay to prevent admin from delaying upgrades indefinitely by @najienka in #72
  • Prevent denial of service bug in relayTokens function with requestId reconstruction requirement by @najienka in #73
  • Allow solver to specify address for refund on the source chain by @najienka in #75
  • Update the SwapRequestReceipt parameters to include the tokenIn and tokenOut instead of only a token parameter representing the tokenOut by @AnomalRoil in #77
  • Allow swap requester to initiate request cancellation and claim refunds to a wallet address by @najienka in #78

Full Changelog: v0.1.0...v0.2.0

v0.1.0

12 Sep 08:35
70d423a

Choose a tag to compare

What's Changed

  • Repository setup (Foundry + Hardhat) by @najienka in #1
  • Merge interfaces with main by @najienka in #3
  • Add draft contracts and solidity interfaces by @najienka in #4
  • fixed interface/test errors from missing Bridge.sol by @CluEleSsUK in #7
  • Update request id tracking across source and destination chains by @najienka in #8
  • Update message signing and verification by @najienka in #9
  • Switch BN254 message signing from mcl to @kevincharm/noble-bn254-drand by @najienka in #10
  • Add foundry and hardhat unit tests for Router and Bridge by @najienka in #5
  • Update OnlySwaps deployment scripts for multichain deployment by @najienka in #12
  • Rewrite e2e demo for OnlySwaps and update README with steps to run demo by @najienka in #11
  • Allow contract owner set ERC-20 faucet amount and update deployment script by @najienka in #13
  • Update deployment scripts and json writing logic by @najienka in #14
  • Fix linting by @najienka in #16
  • feat: remove git in forge install to simplify docker builds as submodule by @CluEleSsUK in #17
  • Update transfer receipt and the getReceipt function by @najienka in #19
  • Add recipient address to transfer receipt and update unit tests by @najienka in #21
  • Replace amountOut with amount for consistency by @najienka in #38
  • Refactor the use of the executed parameter by @najienka in #41
  • Fix remappings, pin solidity dependencies and update readme file by @najienka in #37
  • Prevent zero swap request fees by @najienka in #42
  • Switch to soldeer solidity dependency manager by @najienka in #47
  • Fix naming convention and event parameters for swap requested and swap request fulfilled events by @najienka in #43
  • allow anyone to call rebalanceSolver, not just owner by @CluEleSsUK in #54
  • Extract verification fee from amount parameter by @najienka in #48
  • Add scheduled Router smart contract upgrades and update deployment scripts and e2e demo by @najienka in #52
  • Add explicit contract types / usage in the bls signature validators by @najienka in #55
  • Add ScheduledUpgradeable base contract by @najienka in #56
  • Deploy contracts to base sepolia and avalanche testnets by @najienka in #66
  • Add documentation for contract upgrades and setter functions that require BLS signatures by @najienka in #67
  • feat: enable second local anvil chain for testing by @CluEleSsUK in #68