keep3r-v2
Version:
The Keep3r Network is a decentralized network for projects that need external devops, and for external teams to find keeper jobs
330 lines (329 loc) • 6.83 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "IKeep3rHelper",
"sourceName": "solidity/interfaces/IKeep3rHelper.sol",
"abi": [
{
"inputs": [],
"name": "LiquidityPairInvalid",
"type": "error"
},
{
"inputs": [],
"name": "BOOST_BASE",
"outputs": [
{
"internalType": "uint256",
"name": "_base",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "KP3R",
"outputs": [
{
"internalType": "address",
"name": "_kp3r",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "KP3R_WETH_POOL",
"outputs": [
{
"internalType": "address",
"name": "_kp3rWeth",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MAX",
"outputs": [
{
"internalType": "uint256",
"name": "_multiplier",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "MIN",
"outputs": [
{
"internalType": "uint256",
"name": "_multiplier",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "TARGETBOND",
"outputs": [
{
"internalType": "uint256",
"name": "_target",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_keeper",
"type": "address"
}
],
"name": "bonds",
"outputs": [
{
"internalType": "uint256",
"name": "_amountBonded",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_liquidityAmount",
"type": "uint256"
},
{
"internalType": "int56",
"name": "_tickDifference",
"type": "int56"
},
{
"internalType": "uint256",
"name": "_timeInterval",
"type": "uint256"
}
],
"name": "getKP3RsAtTick",
"outputs": [
{
"internalType": "uint256",
"name": "_kp3rAmount",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_pool",
"type": "address"
}
],
"name": "getPoolTokens",
"outputs": [
{
"internalType": "address",
"name": "_token0",
"type": "address"
},
{
"internalType": "address",
"name": "_token1",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint128",
"name": "_baseAmount",
"type": "uint128"
},
{
"internalType": "int56",
"name": "_tickDifference",
"type": "int56"
},
{
"internalType": "uint256",
"name": "_timeInterval",
"type": "uint256"
}
],
"name": "getQuoteAtTick",
"outputs": [
{
"internalType": "uint256",
"name": "_quoteAmount",
"type": "uint256"
}
],
"stateMutability": "pure",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_gasUsed",
"type": "uint256"
}
],
"name": "getRewardAmount",
"outputs": [
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_keeper",
"type": "address"
},
{
"internalType": "uint256",
"name": "_gasUsed",
"type": "uint256"
}
],
"name": "getRewardAmountFor",
"outputs": [
{
"internalType": "uint256",
"name": "_kp3r",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_bonds",
"type": "uint256"
}
],
"name": "getRewardBoostFor",
"outputs": [
{
"internalType": "uint256",
"name": "_rewardBoost",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_pool",
"type": "address"
}
],
"name": "isKP3RToken0",
"outputs": [
{
"internalType": "bool",
"name": "_isKP3RToken0",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_pool",
"type": "address"
},
{
"internalType": "uint32[]",
"name": "_secondsAgo",
"type": "uint32[]"
}
],
"name": "observe",
"outputs": [
{
"internalType": "int56",
"name": "_tickCumulative1",
"type": "int56"
},
{
"internalType": "int56",
"name": "_tickCumulative2",
"type": "int56"
},
{
"internalType": "bool",
"name": "_success",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "_eth",
"type": "uint256"
}
],
"name": "quote",
"outputs": [
{
"internalType": "uint256",
"name": "_amountOut",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x",
"deployedBytecode": "0x",
"linkReferences": {},
"deployedLinkReferences": {}
}