UNPKG

@perp/hottub-deployments

Version:

Perpetual Protocol Hot Tub contract artifacts (ABIs) and deployed addresses

189 lines (188 loc) 3.89 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IVaultConfig", "sourceName": "contracts/interface/IVaultConfig.sol", "abi": [ { "inputs": [ { "internalType": "address", "name": "vault", "type": "address" } ], "name": "getDeleverageMarginRatio", "outputs": [ { "internalType": "uint24", "name": "", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getDeleverageMarginRatio", "outputs": [ { "internalType": "uint24", "name": "", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "vault", "type": "address" } ], "name": "getExchangeFeeRatio", "outputs": [ { "internalType": "uint24", "name": "feeRatio", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "trader", "type": "address" }, { "internalType": "address", "name": "vault", "type": "address" } ], "name": "getExchangeFeeRatioByTrader", "outputs": [ { "internalType": "uint24", "name": "", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "trader", "type": "address" } ], "name": "getFeeDiscountRatio", "outputs": [ { "internalType": "uint24", "name": "discountRatio", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getSwapRestrictionMarginRatio", "outputs": [ { "internalType": "uint24", "name": "", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "vault", "type": "address" } ], "name": "getSwapRestrictionMarginRatio", "outputs": [ { "internalType": "uint24", "name": "", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getWhitelistedLiquidityProviderAdder", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "isWhitelistedArbitrageur", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "isWhitelistedLiquidityProvider", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }