-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23b8570
commit 73a26e0
Showing
10 changed files
with
83 additions
and
110 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
/** | ||
* @title OETHVaultCoreExposed contract | ||
* @notice Contract that exposes additional data points required by the Jupyter | ||
* research notebook | ||
* @author Origin Protocol Inc | ||
*/ | ||
|
||
import { OETHVaultCore } from "../vault/OETHVaultCore.sol"; | ||
|
||
contract OETHVaultCoreExposed is OETHVaultCore { | ||
function totalValueInVault() external view virtual returns (uint256 value) { | ||
return _totalValueInVault(); | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
/** | ||
* @title VaultCoreExposed contract | ||
* @notice Contract that exposes additional data points required by the Jupyter | ||
* research notebook | ||
* @author Origin Protocol Inc | ||
*/ | ||
|
||
import { VaultCore } from "../vault/VaultCore.sol"; | ||
|
||
contract VaultCoreExposed is VaultCore { | ||
function totalValueInVault() external view virtual returns (uint256 value) { | ||
return _totalValueInVault(); | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
const log = require("../utils/logger")("task:hot-deploy"); | ||
const { hotDeployVaultAdmin } = require("../test/_hot-deploy") | ||
|
||
async function jupyterFixture(taskArguments, hre) { | ||
Check failure on line 4 in contracts/tasks/hotDeploy.js
|
||
await hotDeployVaultAdmin( | ||
{}, // fixture | ||
false, // deployVaultAdmin | ||
true, // deployVaultCore | ||
true, // isOeth | ||
true // isJupiterDeploy | ||
); | ||
} | ||
|
||
module.exports = { | ||
jupyterFixture | ||
}; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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