Contracts And ABIs

ABIs and natspec docs

  View on GitHub

Contract Addresses

Mainnet
{  "genesisBlock": 18291062,  "timestamp": 1659792695,  "contracts": {    "ClearingHouse": "0x4E3535964Cb5612a466d8bb25362d485452eFcEF",    "HubbleViewer": "0x7935C91b36C00091bD74043F3CBEe00c94ab2841",    "MarginAccount": "0x7648675cA85DfB9e2F9C764EbC5e9661ef46055D",    "Oracle": "0x7511E2ccAe82CdAb12d51F0d1519ad5450F157De",    "InsuranceFund": "0x870850A72490379f60A4924Ca64BcA89a6D53a9d",    "Registry": "0xfD704bc28097f1065640022Bee386985bDbc4122",    "Leaderboard": "0xa3C1E96F7E788DF5a5923c064006e30D17AC588F",    "MarginAccountHelper": "0x9Cff75010B16404F2cD58556Db317607A1eebfc5",    "HubbleReferral": "0x27f48404f6951702EAB36930a6671c459faC0B20",    "usdc": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",    "vusd": "0x5c6FC0AaF35A55E7a43Fff45575380bCEdb5Cbc2",    "amms": [      {        "perp": "AVAX-PERP",        "address": "0xD3575CC24dB98Bfa3C61Da7b484CF3a50a6f4fEd",        "underlying": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",        "vamm": "0x269Cd1827fCa5c4d3c7748C45708806c026052FE"      }    ],    "collateral": [      {        "name": "Hubble USD",        "ticker": "hUSD",        "decimals": "6",        "weight": "1000000",        "address": "0x5c6FC0AaF35A55E7a43Fff45575380bCEdb5Cbc2"      },      {        "name": "Wrapped AVAX",        "ticker": "WAVAX",        "decimals": "18",        "weight": "800000",        "address": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7"      }    ]  },  "systemParams": {    "maintenanceMargin": "100000",    "numCollateral": 2,    "insuranceFundFee": "250",    "liquidationFee": "50000"  }}
Whirlpool (Testnet)
{  "genesisBlock": 11951773,  "timestamp": 1658830227,  "contracts": {    "ClearingHouse": "0xd6693FA24b73d67ef8E19983cda7AAdAcc6B771A",    "HubbleViewer": "0xFCaFA336F190532Dc9586FbFc6e409b3127180a3",    "MarginAccount": "0x5124C2dD88B68DB9E5a142dB6E515E8325CeBd20",    "Oracle": "0x17803c2abE66139d478fA36e4e5Fef4e3aa57054",    "InsuranceFund": "0x4e3CF7C40FeB07689af4175f444B2a39633E8f4d",    "Registry": "0xb3C825B5c692fe53054F04B80d947A1966446a28",    "Leaderboard": "0xdD3f0a3710a4219F33D3919DD08657F2C92eCD5e",    "MarginAccountHelper": "0x9F52Ec123A3180E6b2Ec6Bf16a41949dADF94a03",    "HubbleReferral": "0x19A71B4A0F9DcE41366a5F0de4F808937f55948A",    "usdc": "0xBdAB32601ABbD79efF36bB23A4EFEBE334ffA09c",    "vusd": "0x4875E6621e9547f858fB88379B56909315607299",    "amms": [      {        "perp": "AVAX-PERP",        "address": "0x2F3363F05Aa37c18eb7BE4aE3E1bB51601237bA5",        "underlying": "0xd00ae08403B9bbb9124bB305C09058E32C39A48c",        "vamm": "0xdBf9c6EDFB852F19A57627196b1c7046FCBc45a3"      }    ],    "collateral": [      {        "name": "Hubble USD",        "ticker": "hUSD",        "decimals": "6",        "weight": "1000000",        "address": "0x4875E6621e9547f858fB88379B56909315607299"      },      {        "name": "Wrapped AVAX",        "ticker": "WAVAX",        "decimals": "18",        "weight": "800000",        "address": "0xd00ae08403B9bbb9124bB305C09058E32C39A48c"      }    ]  },  "systemParams": {    "maintenanceMargin": "100000",    "numCollateral": 2,    "insuranceFundFee": "250",    "liquidationFee": "50000"  }}
::