This commit is contained in:
Thrilok kumar 2024-03-10 14:53:07 -04:00
parent f3add4e9a0
commit a47e9ccd95

View File

@ -270,10 +270,10 @@ contract PayloadIGP10 {
function execute() external { function execute() external {
require(address(this) == address(TIMELOCK), "not-valid-caller"); require(address(this) == address(TIMELOCK), "not-valid-caller");
// Action 1: Update rate current for USDC market // Action 1: Update market rates for USDC.
action1(); action1();
// Action 1: Update rate current for USDT market // Action 1: Update market rates for USDT.
action2(); action2();
} }
@ -283,7 +283,7 @@ contract PayloadIGP10 {
| Proposal Payload Actions | | Proposal Payload Actions |
|__________________________________*/ |__________________________________*/
/// @notice Action 1: Update rate current for USDC market /// @notice Action 1: Update market rates for USDC.
function action1() internal { function action1() internal {
AdminModuleStructs.RateDataV2Params[] memory params_ = new AdminModuleStructs.RateDataV2Params[](1); AdminModuleStructs.RateDataV2Params[] memory params_ = new AdminModuleStructs.RateDataV2Params[](1);
@ -300,7 +300,7 @@ contract PayloadIGP10 {
LIQUIDITY.updateRateDataV2s(params_); LIQUIDITY.updateRateDataV2s(params_);
} }
/// @notice Action 2: Update rate current for USDT market /// @notice Action 2: Update market rates for USDT.
function action2() internal { function action2() internal {
AdminModuleStructs.RateDataV2Params[] memory params_ = new AdminModuleStructs.RateDataV2Params[](1); AdminModuleStructs.RateDataV2Params[] memory params_ = new AdminModuleStructs.RateDataV2Params[](1);