Skip to main content

Contract Information

This page contains the contract addresses, supported coins, margin pools, and risk parameters for DeepBook Margin on Sui Mainnet.

Contract versions

DeepBook Margin uses upgradeable contracts. When a contract is upgraded, only MARGIN_PACKAGE_ID needs to be updated - previous versions remain compatible unless noted.

Current version

ParameterValue
Version1
Package ID0x97d9473771b01f77b0940c589484184b49f6444627ec121314fae6a6d36fb86b
Registry ID0x0e40998b359a9ccbab22a98ed21bd4346abf19158bc7980c8291908086b3a742

Version history

VersionDatePackage IDChanges
1Jan 13, 20260x97d9473771b01f77b0940c589484184b49f6444627ec121314fae6a6d36fb86bOriginal deployment

Supported coins

Click to open
SUI Token
ParameterValue
Type0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI
Decimals9
Click to open
Native USDC
ParameterValue
Type0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC
Decimals6
Click to open
DEEP Token
ParameterValue
Type0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP
Decimals6
Click to open
WAL Token
ParameterValue
Type0x356a26eb9e012a68958082340d4c4116e7f55615cf27affcff209cf0ae544f59::wal::WAL
Decimals9

Margin pools

Margin pools provide the liquidity for margin traders to borrow. Suppliers can deposit assets to earn interest from borrowers.

Click to open
SUI Margin Pool
ParameterValue
Pool ID0x53041c6f86c4782aabbfc1d4fe234a6d37160310c7ee740c915f0a01b7127344
Supply Cap500,000 SUI
Max Utilization Rate80%
Referral Spread20%
Min Borrow0.1 SUI
Click to open
USDC Margin Pool
ParameterValue
Pool ID0xba473d9ae278f10af75c50a8fa341e9c6a1c087dc91a3f23e8048baf67d0754f
Supply Cap1,000,000 USDC
Max Utilization Rate80%
Referral Spread20%
Min Borrow0.1 USDC
Click to open
DEEP Margin Pool
ParameterValue
Pool ID0x1d723c5cd113296868b55208f2ab5a905184950dd59c48eb7345607d6b5e6af7
Supply Cap20,000,000 DEEP
Max Utilization Rate80%
Referral Spread20%
Min Borrow0.1 DEEP
Click to open
WAL Margin Pool
ParameterValue
Pool ID0x38decd3dbb62bd4723144349bf57bc403b393aee86a51596846a824a1e0c2c01
Supply Cap7,000,000 WAL
Max Utilization Rate80%
Referral Spread20%
Min Borrow0.1 WAL

Risk parameters

Risk parameters determine the leverage limits and liquidation thresholds for each trading pair. See Risk Ratio for a detailed explanation of how these parameters work.

SUI/USDC (5x leverage)

ParameterValueDescription
Min Withdraw Risk Ratio2.0Minimum ratio required to withdraw collateral
Min Borrow Risk Ratio1.25Minimum ratio required to borrow
Liquidation Risk Ratio1.1Ratio at which position becomes liquidatable
Target Liquidation Risk Ratio1.25Target ratio after liquidation
User Liquidation Reward2%Reward to liquidator
Pool Liquidation Reward3%Reward to the pool

WAL/USDC (3x leverage)

ParameterValueDescription
Min Withdraw Risk Ratio2.0Minimum ratio required to withdraw collateral
Min Borrow Risk Ratio1.5Minimum ratio required to borrow
Liquidation Risk Ratio1.2Ratio at which position becomes liquidatable
Target Liquidation Risk Ratio1.5Target ratio after liquidation
User Liquidation Reward2%Reward to liquidator
Pool Liquidation Reward3%Reward to the pool

DEEP/USDC (3x leverage)

ParameterValueDescription
Min Withdraw Risk Ratio2.0Minimum ratio required to withdraw collateral
Min Borrow Risk Ratio1.5Minimum ratio required to borrow
Liquidation Risk Ratio1.2Ratio at which position becomes liquidatable
Target Liquidation Risk Ratio1.5Target ratio after liquidation
User Liquidation Reward2%Reward to liquidator
Pool Liquidation Reward3%Reward to the pool
DeepBook Margin repository

The DeepBook Margin package in the DeepBookV3 repository on GitHub.