index-coop-smart-contracts
index-coop-smart-contracts copied to clipboard
add chainlink keepers for claiming streaming fees
The treasury committee has been asking about automating fee claims a lot lately. This could have probably been more easily done with a node script or a defender autotask, but I figured I'd get some practice with chainlink keepers if we are going to be using them in the future more.
Here's the keeper in action on kovan: https://kovan.etherscan.io/address/0x26984f581ff8decd263713ab7904b1cb5d42af2e#internaltx You need to look at the internal transactions to see the calls since they get routed through another contract. This one is set to claim the fees every 3 minutes.