This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: AGPL-3.0-or-later | |
| pragma solidity ^0.8.7; | |
| import { MapleBorrowerInternals } from "./MapleBorrowerInternals.sol"; | |
| /// @title MapleBorrowerInitializer is intended to initialize the storage of a MapleBorrower proxy. | |
| contract MapleBorrowerInitializer is MapleBorrowerInternals { | |
| function encodeArguments(address owner_) external pure returns (bytes memory encodedArguments_) { | |
| return abi.encode(owner_); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: AGPL-3.0-or-later | |
| pragma solidity ^0.8.7; | |
| import { ERC20Helper } from "../modules/erc20-helper/src/ERC20Helper.sol"; | |
| import { MapleProxied } from "../modules/maple-proxy-factory/contracts/MapleProxied.sol"; | |
| import { IMapleLoan } from "./interfaces/IMapleLoan.sol"; | |
| contract MapleBorrowerInternals is MapleProxied { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| export TEST_ADDR=$(dapp create Test) | |
| echo TEST_ADDR $TEST_ADDR | |
| seth send $TEST_ADDR 'test_upgradeability_withNoMigration()' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| export ETH_GAS=4000000 | |
| ########################################################## | |
| ## Deploy ProxyFactory, InitializerV1, ImplementationV1 ## | |
| ########################################################## | |
| echo 'Deploying ProxyFactory' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| export ETH_GAS=4000000 | |
| ########################################################## | |
| ## Deploy ProxyFactory, InitializerV1, ImplementationV1 ## | |
| ########################################################## | |
| echo 'Deploying ProxyFactory' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "name": "Priority: Critical", | |
| "description": null, | |
| "color": "b60205" | |
| }, | |
| { | |
| "name": "Priority: High", | |
| "description": null, | |
| "color": "d93f0b" |
NewerOlder