v1.5.0
版本发布时间: 2021-11-25 17:44:41
gnosis/cowswap最新发布版本:v1.12.8(2022-03-31 23:49:39)
Description
Pre-sign
This versions adds smart contract compatibility. This means that now, smart contract wallets can connect using WalletConnect and trade in CowSwap (i.e. Gnosis Safe or Argent)
The way it works is, any smart contract now can sign an Ethereum transaction that would approve an order. This is an alternative signing method equivalent to the EIP712 that EOA use.
FAQ and messages of all the app have been adapted to this new workflow/signing method.
Gnosis Safe
Other important change is that, if you use Gnosis Safe, you will get a better context on the state of your transactions and orders. Basically you will be able to see the Gnosis Safe nonce for each operation, so you can identify it in the Gnosis Safe web/app. Additionally, you will see how many signers approved the operation and you will have a convenient link that would take you to Gnosis Safe webapp.
Confirmation modal
Every time the Dapp is waiting for the user to sign an order or a transaction, it will show a convenient confirmation modal giving a better context to the user.
This is specially relevant for WalletConnect workflows, because in past versions, the Dapp would sen the transaction to the wallet to be signed, but nothing would change in the Dapp until the user signs the message. If for whatever reason, the Dapp doesn't receive the message to sign, then the user would have the perception the button to confirm transactions/orders is not doing anything.
Now the Dapp informs the user always what is the next step they have to do.
Example of a confirmation for "Unwrap WETH" transaction:
Example of a confirmation for "Swap WETH for USDC":
Show only relevant orders and transactions
Before this version, all the orders and transactions from all the accounts of the users were shown in the "Recent activity" panel.
This was a bit confusing, because all the activities were being mixed. Additionally, users were getting notifications on trades happening for activities of accounts that are not connected.
This version shows only the relevant activity for the connected wallet.
Big redesign for the recent activity
The recent activity dialog has been redesigned to be more intuitive, add more information, and use the space more efficiently.
Additionally, the current state of the orders are easier to understand.
Before this version, the Recent Activity looked like:
In this version, it looks like this:
Fixes for bugs and improvements
This release adds some fixes and improvements to make the Dapp more stable.
Changelog
fac6fcf98 (HEAD -> release/1.5, origin/release/1.5) Bumping version to 1.5 90958d086 (tag: v1.5.0-rc.4, origin/master, master) Merge pull request #1910 from gnosis/release/1.5 0a8d92d06 Bumping rc version to 1.5.0-rc.4 c2422d3a0 Merge remote-tracking branch 'origin/master' into release/1.5 787478b36 walletconnect QR code issue fix (#1907) 81d3f9c8d (tag: v1.5.0-rc.3) 1.5.0-rc.3 9a6ee7eb8 1836/txs notification (#1901) dda5cef3f Add latest backend errors to cowswap (#1896) d6d55801a Merge branch 'master' into release/1.5 d39495f04 Merge branch 'hotfix/1.4.12' 901e2bab5 (tag: v1.4.12, origin/hotfix/1.4.12) 1.4.12 161d8a71d When on barn.cowswap.exchange, use barn.gnosis-procol.io (#1890) 4956361ea Show proper warning when on barn (#1889) a3b00e00a (tag: v1.5.0-rc.2) 1.5.0-rc.2 5e52e812c Merge branch 'release/1.5' 56fd3713a Update Firefox scrollbar style. (#1848) 6f411a041 Cleanup and update favicon/app icons. (#1851) 80b421bf5 Fix unsupported token footer. (#1856) 3918f5712 Always create a new state object when adding an order (#1686) (#1885) e09117175 Fix wrong label (#1886) 653db4bb2 Fix autoconnect (#1884) 926a87cfd adjusts for connect a wallet btn (#1826) 1fa33c5d0 Revert "Use prod (#1880)" d31e0f571 Use prod (#1880) acdbd3b56 Fix notification popups mobile. (#1861) 5f24e87a0 Fix shifted activity modal Safe. (#1862) 0ab117f25 add cases of the tooltip visibility (#1824) d7afe2d4d (tag: v1.5.0-rc.1) 1.5.0-rc.1 5a42402f5 Adapt URL of gnosis safe to unified version (#1863) 4b0cd9ac1 Do not allow to wrap for unsupported wallets (#1846) 537b53769 Disable safe for xdai (#1841) 7d5c81a7a Fix e2e and autoconnect (#1870) 2d48388e5 Merge remote-tracking branch 'origin/master' into release/1.5 6af784c45 (tag: v1.4.11) 1.4.11 d91540417 (tag: v1.4.11-rc.0) Bump version to v1.14.11-rc.0 3bf4143f2 Merge pull request #1866 from gnosis/hotfix/1.4.11 54e5029c5 (origin/hotfix/1.4.11, hotfix/1.4.11) [Profile] Add name to IPFS files + Upload JSON using pinata (#1865) 60acdfbf0 FAQ - Styles on Links (#1833) 3a3af9c14 (tag: v1.5.0-rc.0, origin/master, master) 1.5.0-rc.0 770b94f7a (origin/release/1.5, release/1.5, faq-presign) Merge branch 'master' into release/1.5 c99877f1a Do not update txs other accounts (#1797) 215327e6e Do not update orders other accounts (#1791) 94f1e2b2b Merge branch 'master' into release/1.5 3c67fb2f2 added auto-connect to latest wallet (#1680) 18eb5d983 Filter by connected user (#1783) 437b47261 [Gnosis Safe] Fix xDAI (#1720) 677196875 Fix wrong EIP and add links (#1782) b75850fff [Gnosis Safe] Fix error toast tx hash (#1722) 3ce6e3163 Removed unused import breaking the build (#1770) 4eeee1b73 Merge branch 'master' into develop 1cc9f684a [presign] FAQ (#1715) 7aa95f311 Merge branch 'master' into develop 15d156fe4 Merge branch 'master' into develop 05da5da4d btn hover state fix (#1673) 926a4406f Merge branch 'release/1.4.0' into develop a20234b43 Merge branch 'master' into develop b3cc1a661 (tag: v1.4.0-rc.0) 1.4.0-rc.0 8b3184662 Remove warnings (#1723) 984b6281e Improve pending tx style (#1724) 2218878e5 [presign] Safe swap tx display (#1652) 02f035e49 Use the right modal for all operations (#1696) 26d80ad57 [presign] Get Gnosis Safe swap tx info (#1651) 9e6511dc6 Integrate with use-what-changed (#1690) f36882d91 [presign] Add safe transaction to swap (#1647) 967ef4ffe Profile minor fixes (PR #1604) a200816af don't use import for network and ignore Ethers uncaught error (#1679) a4a565ab1 Merge remote-tracking branch 'origin/master' into develop f790346d2 Merge remote-tracking branch 'origin/master' into develop 4a3406abb Merge remote-tracking branch 'origin/master' into develop 2ccf89794 Revert "fix toggle switch" 67262915c fix toggle switch 450ecb722 Fix issue with tests (#1628) 6f5c0d9c0 Merge remote-tracking branch 'origin/master' into develop 22bd392c4 Enable Pillar Wallet (#1613) bb61d5a3a Merge branch 'presign/base' into develop 4fb7795a5 Merge pull request #1625 from gnosis/merge-release-1.3 f8c69bee8 (merge-release-1.3) Merge branch 'release/1.3.0' into develop f9934771b (origin/presign/safe-tx-for-swap, presign/safe-tx-for-swap, presign/base) Merge branch 'develop' into presign/base 8cb5c7111 [presign] Allow to reject transactions (#1606) f26b71723 Restyle limit price alert. (#1561) fd1af810e Presign/base styles (#1552) d677abec6 Fix unwrap for Gnosis Safe (#1562) 4047f10ca Re-enable Argent wallet (#1566) a6f3037fd Avoid instantiating blocknative sdk when API key not set (#1546) 98670c4ad Presign/group tx try3 (#1568) c2077ebdc Fix epic label 350e63ca8 Improve epic description 4c7f6f292 Add epics support 087e88be7 Fix wrapping message (#1544) bd0a8c8ea Merge branch 'master' into develop 9750dc4f4 Merge branch 'master' into develop 2dba8138a Make REACT_APP_BLOCKNATIVE_API_KEY available on CI scripts (#1534) 90010ec45 [presign] confirmation: cleanup logic and determined if the wallet is EOA/Gnosis safe / EOA (#1543) 88791a223 Renable EOAs offchain signign (#1542) fecde862b Presign/restyle (#1541) 36109ceef Fix code style issues with Prettier a984b5041 Cleanup 6e94c05ae Fix code style issues with Prettier eb1abfe7e [presign] Enhanced safe transactions (#1488) 93f42f7ef [presign] Get Gnosis Safe transaction state and update ethereumTransactionHash (#1467) 0f89ba96d Fix code style issues with Prettier 5094f94ab [presign] Transactions enhancement: Safe state + refactor updater (#1430) 88ef399e6 [presign] Enhance transactions and refactor (#1429) 289c27617 Fix code style issues with Prettier ce007ffb5 [presign] Detect safe wallet, and load its data (#1418) 37b03f1de Fix pending loader not showing up (#1416) 67a698c66 [presign] Fix issue posting orders not workign (#1391) 6c0ef4c83 [presign] Remove cancelation of orders (#1408) 5f92cda18 [presign] Improve ux: consolidate order and tx (#1370) 34213faeb [presig] Presign orders (#1369) 5810f8d2a [presign] Add settlement types (#1367) d865dda80 [presign] Post presign order (#1366) b2667ce7d [presign] Enable smart contracts (#1314) 627c9a101 Confirmation on expert mode (#1530) 5dad88a41 Removed default blocknative key (#1524) 7fc0642b5 Confirmation on wrap (#1527) f795145e7 Add confirmation on approves (#1525) 62e2136b2 Confirmation modal on Swap (#1483)