Skip to content

Multichain v2.2 #1787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 45 commits into
base: multichain-layout
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
0454c65
support liquidation factor
divhead Jul 7, 2025
2c71a80
support price impact logic
divhead Jul 15, 2025
657afaa
v2.2 price impact
divhead Jul 16, 2025
0a922b1
v2.2 price impact
divhead Jul 16, 2025
554720d
v2.2 price impact
divhead Jul 16, 2025
ec2f447
v2.2 price impact
divhead Jul 16, 2025
bd6e81a
fixes for price impact and monitor page
divhead Jul 21, 2025
5e1b8fa
fix net value and cap price impact
divhead Jul 25, 2025
e06298f
don't substract rebates
divhead Jul 25, 2025
b370b69
add debug values
divhead Jul 25, 2025
3bdc630
substract price imapct diff from fees
divhead Jul 25, 2025
c1fcbeb
remove translations
divhead Jul 25, 2025
f1fb8f7
don't add price impact diff to fees
divhead Jul 25, 2025
6d17fd6
add position impact to total fees
divhead Jul 25, 2025
865d757
add position impact to total fees
divhead Jul 25, 2025
75b82c3
fix fee type
divhead Jul 25, 2025
cc50c3c
fix pnl and fees
divhead Aug 1, 2025
58ecfee
fix pnl and fees
divhead Aug 1, 2025
cb36c05
upd squid
divhead Aug 6, 2025
4eb4556
Multichain prod contracts
midas-myth Aug 5, 2025
a0ab4e4
Multichain fixes
midas-myth Aug 5, 2025
0defa31
Update contract addresses
midas-myth Aug 14, 2025
cf65147
some v2.2 abis
midas-myth Aug 14, 2025
e3f3d0a
Multichain add prod LayerZeroProvider contracts
midas-myth Aug 15, 2025
0088597
Merge branch 'multichain-layout' of github.com:gmx-io/gmx-interface i…
divhead Aug 20, 2025
8d312a5
Multichain new contracts
midas-myth Aug 20, 2025
462979f
minor ui fixes
divhead Aug 20, 2025
5fed2aa
Merge branch 'multichain-layout-prod' of github.com:gmx-io/gmx-interf…
divhead Aug 20, 2025
873fadc
add space
divhead Aug 20, 2025
3691a9f
fix zero sizeDeltaUsd crash
divhead Aug 20, 2025
ba82337
Multichain prod enhancements
midas-myth Aug 20, 2025
9b3e51b
Multichain prod new squid
midas-myth Aug 20, 2025
1aa8ca1
Multichain new testnet contracts
midas-myth Aug 21, 2025
3e23b73
Multichain new testnet contracts
midas-myth Aug 21, 2025
4062bb7
Multichain new squid url
midas-myth Aug 21, 2025
179b7ca
Merge branch 'multichain-layout-prod' of github.com:gmx-io/gmx-interf…
divhead Aug 21, 2025
c745465
Multichain arbitrum new squid url
midas-myth Aug 22, 2025
e8dd939
Multichain subaccount approval invalidation
midas-myth Aug 22, 2025
ebffdcd
Multichain chain detect fix
midas-myth Aug 22, 2025
9ed26be
Merge branch 'multichain-layout-prod' of github.com:gmx-io/gmx-interf…
divhead Aug 24, 2025
8bb81f2
fixes
divhead Aug 25, 2025
99a0f65
messages
divhead Aug 25, 2025
67f0fe7
leverage with pnl
divhead Aug 25, 2025
e0a7642
leverage with pnl
divhead Aug 25, 2025
06f90f1
add squid types
divhead Aug 25, 2025
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
21 changes: 3 additions & 18 deletions sdk/src/abis/ClaimHandler.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"abi": [
"abi": [
{
"inputs": [
{
Expand Down Expand Up @@ -420,20 +420,5 @@
"stateMutability": "nonpayable",
"type": "function"
}
],
"libraries": {},
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
},
"storageLayout": {
"storage": [],
"types": null
}
}
]
}
98 changes: 98 additions & 0 deletions sdk/src/abis/CustomErrors.json
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,17 @@
"name": "DisabledMarket",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "existingDistributionId",
"type": "uint256"
}
],
"name": "DuplicateClaimTerms",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -334,6 +345,11 @@
"name": "EmptyAddressInMarketTokenBalanceValidation",
"type": "error"
},
{
"inputs": [],
"name": "EmptyAmount",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -361,6 +377,17 @@
"name": "EmptyClaimFeesMarket",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "EmptyClaimableAmount",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -1226,6 +1253,17 @@
"name": "InsufficientFee",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "InsufficientFunds",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -1647,6 +1685,33 @@
"name": "InvalidClaimFundingFeesInput",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "recoveredSigner",
"type": "address"
},
{
"internalType": "address",
"name": "expectedSigner",
"type": "address"
}
],
"name": "InvalidClaimTermsSignature",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "expectedSigner",
"type": "address"
}
],
"name": "InvalidClaimTermsSignatureForContract",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -2464,6 +2529,17 @@
"name": "InvalidOutputToken",
"type": "error"
},
{
"inputs": [
{
"internalType": "string",
"name": "reason",
"type": "string"
}
],
"name": "InvalidParams",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -2716,6 +2792,17 @@
"name": "InvalidSrcChainId",
"type": "error"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "desChainId",
"type": "uint256"
}
],
"name": "InvalidSubaccountApprovalDesChainId",
"type": "error"
},
{
"inputs": [
{
Expand Down Expand Up @@ -2791,6 +2878,17 @@
"name": "InvalidTimelockDelay",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "InvalidToken",
"type": "error"
},
{
"inputs": [
{
Expand Down
2 changes: 1 addition & 1 deletion sdk/src/abis/DataStore.json
Original file line number Diff line number Diff line change
Expand Up @@ -1456,4 +1456,4 @@
"type": "function"
}
]
}
}
Loading