Skip to content

Commit

Permalink
Rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
aviggiano committed Apr 15, 2024
1 parent 100f30d commit 9017bd1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# size-v2-solidity
# size-solidity

![Size](./size.jpeg)
![Size](./size.png)

Size is an order book based fixed rate lending protocol with an integrated variable pool (Aave v3).

Expand Down
18 changes: 9 additions & 9 deletions script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@ contract DeployScript is BaseScript, Addresses, Deploy {
}

function run() public parseEnv broadcast returns (Deployment[] memory, Parameter[] memory) {
console.log("[Size v2] deploying...");
console.log("[Size v1] deploying...");

console.log("[Size v2] chain\t", chainName);
console.log("[Size v2] owner\t", deployer);
console.log("[Size v1] chain\t", chainName);
console.log("[Size v1] owner\t", deployer);

address weth = addresses(chainName).weth;
address usdc = addresses(chainName).usdc;

if (mockContracts) {
setupChainWithMocks(deployer, weth, usdc);
console.log("[Size v2] using MOCK contracts");
console.log("[Size v1] using MOCK contracts");
} else {
setupChain(owner, weth, usdc, address(variablePool), wethAggregator, usdcAggregator);
console.log("[Size v2] using REAL contracts");
console.log("[Size v1] using REAL contracts");
}

deployments.push(Deployment({name: "Size-implementation", addr: address(size)}));
Expand All @@ -60,18 +60,18 @@ contract DeployScript is BaseScript, Addresses, Deploy {
parameters.push(Parameter({key: "usdcAggregator", value: Strings.toHexString(usdcAggregator)}));
parameters.push(Parameter({key: "variablePool", value: Strings.toHexString(address(variablePool))}));

console.log("[Size v2] deployed\n");
console.log("[Size v1] deployed\n");

for (uint256 i = 0; i < deployments.length; i++) {
console.log("[Size v2] Deployment: ", deployments[i].name, "\t", address(deployments[i].addr));
console.log("[Size v1] Deployment: ", deployments[i].name, "\t", address(deployments[i].addr));
}
for (uint256 i = 0; i < parameters.length; i++) {
console.log("[Size v2] Parameter: ", parameters[i].key, "\t", parameters[i].value);
console.log("[Size v1] Parameter: ", parameters[i].key, "\t", parameters[i].value);
}

exportDeployments();

console.log("[Size v2] done");
console.log("[Size v1] done");

return (deployments, parameters);
}
Expand Down
Binary file removed size.jpeg
Binary file not shown.
Binary file added size.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/interfaces/ISize.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {SetCreditForSaleParams} from "@src/libraries/fixed/actions/SetCreditForS

/// @title ISize
/// @author Size Lending
/// @notice This interface is the main interface for all user-facing methods of the Size v2 protocol
/// @notice This interface is the main interface for all user-facing methods of the Size protocol
/// @dev All functions are `payable` to allow for ETH deposits in a `multicall` pattern.
/// See `Multicall.sol`
interface ISize {
Expand Down

0 comments on commit 9017bd1

Please sign in to comment.