From cc4f4c04af108c2cc41c26ba852620fc08019e0d Mon Sep 17 00:00:00 2001 From: Jakub Nowakowski Date: Wed, 5 Jan 2022 12:01:35 +0100 Subject: [PATCH 1/2] Add LPRewardsTBTCv2SaddleV2 contract The new contract will be used with the new version of Saddle contracts. Refs: https://github.com/keep-network/keep-ecdsa/issues/944 --- solidity/contracts/LPRewards.sol | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/solidity/contracts/LPRewards.sol b/solidity/contracts/LPRewards.sol index 1784dcf75..bcad12c5a 100644 --- a/solidity/contracts/LPRewards.sol +++ b/solidity/contracts/LPRewards.sol @@ -270,3 +270,13 @@ contract LPRewardsTBTCv2Saddle is LPRewardsTBTCSaddle { LPRewardsTBTCSaddle(keepToken, tbtcV2SaddleLPToken) {} } + +/// @title KEEP rewards for the tBTC V2 Saddle V2 liquidity pool. +/// @dev LP token: TODO: Fill +/// Pool: TODO: Fill +contract LPRewardsTBTCv2SaddleV2 is LPRewardsTBTCSaddle { + constructor(KeepToken keepToken, IERC20 tbtcV2SaddleLPToken) + public + LPRewardsTBTCSaddle(keepToken, tbtcV2SaddleLPToken) + {} +} From 2cc8e0b89043e3c12eedb8c3ce46734c2f3fd2d6 Mon Sep 17 00:00:00 2001 From: Jakub Nowakowski Date: Wed, 5 Jan 2022 17:13:26 +0100 Subject: [PATCH 2/2] Update addresses of Saddle LP pools and tokens The addresses were taken from Saddle's documentation: https://docs.saddle.finance/contracts#tbtcv2-metapool-v2 --- solidity/contracts/LPRewards.sol | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/solidity/contracts/LPRewards.sol b/solidity/contracts/LPRewards.sol index bcad12c5a..2503013b7 100644 --- a/solidity/contracts/LPRewards.sol +++ b/solidity/contracts/LPRewards.sol @@ -262,8 +262,8 @@ contract LPRewardsTBTCSaddle is LPRewards { } /// @title KEEP rewards for the tBTC V2 Saddle liquidity pool. -/// @dev LP token: https://etherscan.io/address/0x122Eca07139EB368245A29FB702c9ff11E9693B7 -/// Pool: https://saddle.exchange/#/pools/tbtc/deposit +/// @dev LP token: 0x122Eca07139EB368245A29FB702c9ff11E9693B7 +/// Pool: 0xf74ebe6e5586275dc4CeD78F5DBEF31B1EfbE7a5 contract LPRewardsTBTCv2Saddle is LPRewardsTBTCSaddle { constructor(KeepToken keepToken, IERC20 tbtcV2SaddleLPToken) public @@ -272,8 +272,8 @@ contract LPRewardsTBTCv2Saddle is LPRewardsTBTCSaddle { } /// @title KEEP rewards for the tBTC V2 Saddle V2 liquidity pool. -/// @dev LP token: TODO: Fill -/// Pool: TODO: Fill +/// @dev LP token: 0x3f2f811605bC6D701c3Ad6E501be13461c560320 +/// Pool: 0xA0b4a2667dD60d5CdD7EcFF1084F0CeB8dD84326 contract LPRewardsTBTCv2SaddleV2 is LPRewardsTBTCSaddle { constructor(KeepToken keepToken, IERC20 tbtcV2SaddleLPToken) public