Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
b19afa4
feat: add trade guard with Chainlink oracle verification for DEX with…
DiRaiks Apr 10, 2026
e3a1233
refactor: enhance trade guard functionality and improve code structure
DiRaiks Apr 13, 2026
8324503
refactor: enhance trade guard functionality and improve code structure
DiRaiks Apr 13, 2026
7c23104
feat: introduce oracle utilities and constants for trade guard functi…
DiRaiks Apr 13, 2026
307fbd9
Merge branch 'feature/dex-slipage' of github.com:lidofinance/ethereum…
DiRaiks Apr 13, 2026
2c12295
feat: add isInBounds utility to oracle utilities for trade guard func…
DiRaiks Apr 13, 2026
b80130a
fix: move showBlockedMessageRef after useTradeGuard to fix ReferenceE…
DiRaiks Apr 13, 2026
9150bfa
feat: add neutral 'limit' modal level for sell amount threshold
DiRaiks Apr 13, 2026
50637f4
refactor: streamline sell amount validation and improve modal message…
DiRaiks Apr 13, 2026
d1b48dc
refactor: move sell-limit logic into useTradeGuard, remove refs from …
DiRaiks Apr 13, 2026
957d660
refactor: modularize CSP handling and Ethereum provider logic
DiRaiks Apr 13, 2026
d4b25e1
feat: show token symbol in sell-limit modal and warning banner
DiRaiks Apr 13, 2026
1fbb2ab
fix: update default thresholds for fiat and oracle deviations in trad…
DiRaiks Apr 13, 2026
f622c8a
fix: adjust fiatDeviationBlock threshold in trade guard constants to …
DiRaiks Apr 13, 2026
3678911
fix: adjust fiatDeviationBlock threshold in trade guard constants to …
DiRaiks Apr 13, 2026
3ad9377
refactor: rename maxSellUnits to maxAllowedSellAmount and update rela…
DiRaiks Apr 13, 2026
2753def
refactor: remove warning level and implausible gain check from trade …
DiRaiks Apr 14, 2026
86a377e
Merge branch 'feature/dex-slipage' of github.com:lidofinance/ethereum…
DiRaiks Apr 14, 2026
c496d49
feat: verify EIP-712 order fields before signing (defense-in-depth)
DiRaiks Apr 14, 2026
54b488e
feat: verify EIP-712 order amounts against validated trade params
DiRaiks Apr 14, 2026
2b1d032
refactor: remove danger level, simplify to safe/blocked/limit only
DiRaiks Apr 14, 2026
d5c4a9f
refactor: remove dead fiat deviation and slippage checks from trade g…
DiRaiks Apr 14, 2026
d65a2d5
refactor: update texts
DiRaiks Apr 14, 2026
81e0f8a
feat: add structural pre-check on onBeforeApproval hook
DiRaiks Apr 15, 2026
9c68c1a
fix: address code review findings (LEVEL_ORDER, BigInt guard, wallet …
DiRaiks Apr 15, 2026
20690e3
fix: rename safe-parce-decimal, add verify-order tests, block approva…
DiRaiks Apr 15, 2026
a7d3f65
fix: security hardening from code-review and security-review
DiRaiks Apr 15, 2026
1a2954f
refactor: update texts
DiRaiks Apr 15, 2026
3065a4a
chore: update @cowprotocol/widget-react dependency to version 2.0.2
DiRaiks Apr 16, 2026
7c31407
chore: update dependencies in yarn.lock to latest versions
DiRaiks Apr 16, 2026
118a821
fix: dynamic import CowSwap widget to avoid SSR document error
DiRaiks Apr 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 27 additions & 8 deletions IPFS.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
"leastSafeVersion": "0.76.1",
"config": {
"enabledWithdrawalDexes": ["one-inch", "paraswap", "bebop", "jumper"],
"withdrawalDex": {
"integration": "cowswap",
"enabled": true
},
"multiChainBanner": [
324, 10, 42161, 137, 8453, 5000, 59144, 534352, 56, 34443, 48900, 1868,
130, 1135, 1923
Expand All @@ -26,9 +30,10 @@
"featureFlags": {
"disableSendCalls": false,
"dgBannerEnabled": true,
"rewardsMaintenance": true,
"rewardsMaintenance": false,
"holidayDecorEnabled": false,
"forceAllowance": false
"forceAllowance": false,
"amountBannerEnabled": true
},
"pages": {
"/earn": {
Expand All @@ -47,7 +52,10 @@
"cid": "bafybeiecvujvs74xvxgpwctmbfkcucazyaudmwuiw4wfv6ys7uio7o376u",
"leastSafeVersion": "0.76.1",
"config": {
"enabledWithdrawalDexes": ["one-inch", "paraswap", "bebop", "jumper"],
"withdrawalDex": {
"integration": "cowswap",
"enabled": true
},
"multiChainBanner": [
324, 10, 42161, 137, 8453, 5000, 59144, 534352, 56, 34443, 48900, 1868,
130, 1135, 1923
Expand All @@ -72,7 +80,8 @@
"dgBannerEnabled": true,
"rewardsMaintenance": false,
"holidayDecorEnabled": false,
"forceAllowance": false
"forceAllowance": false,
"amountBannerEnabled": true
},
"pages": {
"/earn": {
Expand All @@ -92,7 +101,10 @@
"cid": "bafybeibbsoqlofslw273b4ih2pdxfaz2zbjmred2ijog725tcmfoewix7y",
"leastSafeVersion": "0.36.1",
"config": {
"enabledWithdrawalDexes": ["one-inch", "paraswap", "bebop", "jumper"],
"withdrawalDex": {
"integration": "cowswap",
"enabled": true
},
"multiChainBanner": [],
"featureFlags": {
"ledgerLiveL2": true
Expand All @@ -110,7 +122,10 @@
"cid": "",
"leastSafeVersion": "0.36.1",
"config": {
"enabledWithdrawalDexes": ["one-inch", "paraswap", "bebop", "jumper"],
"withdrawalDex": {
"integration": "cowswap",
"enabled": true
},
"multiChainBanner": [],
"featureFlags": {
"ledgerLiveL2": true
Expand Down Expand Up @@ -139,7 +154,10 @@
"cid": "",
"leastSafeVersion": "0.36.1",
"config": {
"enabledWithdrawalDexes": ["one-inch", "paraswap", "bebop", "jumper"],
"withdrawalDex": {
"integration": "cowswap",
"enabled": true
},
"multiChainBanner": [],
"featureFlags": {
"ledgerLiveL2": true,
Expand All @@ -148,7 +166,8 @@
"dgWarningState": false,
"rewardsMaintenance": false,
"holidayDecorEnabled": false,
"forceAllowance": false
"forceAllowance": false,
"amountBannerEnabled": true
},
"earnVaultsBanner": {
"showOnStakeForm": true,
Expand Down
9 changes: 9 additions & 0 deletions abi/wsteth-abi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export const wstethABI = [
{
inputs: [],
name: 'stEthPerToken',
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
stateMutability: 'view',
type: 'function',
},
] as const;
6 changes: 0 additions & 6 deletions assets/icons/balancer-banner-icon.svg

This file was deleted.

4 changes: 0 additions & 4 deletions assets/icons/bebop.svg

This file was deleted.

5 changes: 0 additions & 5 deletions assets/icons/cowswap-circle.svg

This file was deleted.

Loading
Loading