Closed code423n4 closed 2 years ago
We have successfully integrated with Chainlink, the base contracts just force you to extend the two functions we have on our own contract.
Another integration with the exact code underscope is live now and being served by keepers.
For those reasons, I must dispute
The
MyStrategy.sol
contract has defined correctly the 2 functions to be compatible with the chainlink upkeep network,checkUpkeep
andperformUpkeep
(from line 385 to 394).But following the official chainlink guidelines, a contract needs to also import the
KeepersCompatible.sol
to meet all requirements, it imports the functions from bothKeeperBase.sol
andKeeperCompatibleInterface.sol
. During an upkeep contract registration, the contract doesn't need to be validated on-chain, but for keepers to work it needs to be keepers-compatible.Keeper compatible contract -> (https://docs.chain.link/docs/chainlink-keepers/compatible-contracts/) Register upkeep -> (https://docs.chain.link/docs/chainlink-keepers/register-upkeep/)