@perp/hottub-deployments
Version:
Perpetual Protocol Hot Tub contract artifacts (ABIs) and deployed addresses
100 lines (99 loc) • 2.45 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IBeethoven",
"sourceName": "contracts/interface/IBeethoven.sol",
"abi": [
{
"inputs": [
{
"components": [
{
"internalType": "bytes32",
"name": "poolId",
"type": "bytes32"
},
{
"internalType": "enum IBeethoven.SwapKind",
"name": "kind",
"type": "uint8"
},
{
"internalType": "address",
"name": "assetIn",
"type": "address"
},
{
"internalType": "address",
"name": "assetOut",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "bytes",
"name": "userData",
"type": "bytes"
}
],
"internalType": "struct IBeethoven.SingleSwap",
"name": "singleSwap",
"type": "tuple"
},
{
"components": [
{
"internalType": "address",
"name": "sender",
"type": "address"
},
{
"internalType": "bool",
"name": "fromInternalBalance",
"type": "bool"
},
{
"internalType": "address",
"name": "recipient",
"type": "address"
},
{
"internalType": "bool",
"name": "toInternalBalance",
"type": "bool"
}
],
"internalType": "struct IBeethoven.FundManagement",
"name": "funds",
"type": "tuple"
},
{
"internalType": "uint256",
"name": "limit",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "deadline",
"type": "uint256"
}
],
"name": "swap",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "payable",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}