@perp/hottub-deployments
Version:
Perpetual Protocol Hot Tub contract artifacts (ABIs) and deployed addresses
94 lines (93 loc) • 2.22 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IRouter",
"sourceName": "contracts/interface/IRouter.sol",
"abi": [
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "tokenIn",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "tokenOut",
"type": "address"
},
{
"indexed": false,
"internalType": "bytes",
"name": "oldPath",
"type": "bytes"
},
{
"indexed": false,
"internalType": "bytes",
"name": "newPath",
"type": "bytes"
}
],
"name": "UpdateUniswapV3Path",
"type": "event"
},
{
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "tokenIn",
"type": "address"
},
{
"internalType": "address",
"name": "tokenOut",
"type": "address"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amountIn",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "amountOutMinimum",
"type": "uint256"
}
],
"internalType": "struct IRouterStruct.UniswapV3ExactInputParams",
"name": "params",
"type": "tuple"
}
],
"name": "uniswapV3ExactInput",
"outputs": [
{
"internalType": "uint256",
"name": "amountOut",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}