Skip to content

Commit

Permalink
remove more assets
Browse files Browse the repository at this point in the history
  • Loading branch information
vincetiu8 committed Apr 10, 2024
1 parent e3b5463 commit a99961f
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions contracts/Comet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,6 @@ contract Comet is CometMainInterface {
uint256 internal immutable asset10_b;
uint256 internal immutable asset11_a;
uint256 internal immutable asset11_b;
uint256 internal immutable asset12_a;
uint256 internal immutable asset12_b;
uint256 internal immutable asset13_a;
uint256 internal immutable asset13_b;
uint256 internal immutable asset14_a;
uint256 internal immutable asset14_b;

/**
* @notice Construct a new protocol instance
Expand Down Expand Up @@ -196,9 +190,6 @@ contract Comet is CometMainInterface {
(asset09_a, asset09_b) = getPackedAssetInternal(config.assetConfigs, 9);
(asset10_a, asset10_b) = getPackedAssetInternal(config.assetConfigs, 10);
(asset11_a, asset11_b) = getPackedAssetInternal(config.assetConfigs, 11);
(asset12_a, asset12_b) = getPackedAssetInternal(config.assetConfigs, 12);
(asset13_a, asset13_b) = getPackedAssetInternal(config.assetConfigs, 13);
(asset14_a, asset14_b) = getPackedAssetInternal(config.assetConfigs, 14);
}

/**
Expand Down Expand Up @@ -355,15 +346,6 @@ contract Comet is CometMainInterface {
} else if (i == 11) {
word_a = asset11_a;
word_b = asset11_b;
} else if (i == 12) {
word_a = asset12_a;
word_b = asset12_b;
} else if (i == 13) {
word_a = asset13_a;
word_b = asset13_b;
} else if (i == 14) {
word_a = asset14_a;
word_b = asset14_b;
} else {
revert Absurd();
}
Expand Down

0 comments on commit a99961f

Please sign in to comment.