Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions contracts/managers/interfaces/IAssetPairManager.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
Copyright 2020 Set Labs Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

pragma solidity 0.5.7;
pragma experimental "ABIEncoderV2";

/**
* @title IAssetPairManager
* @author Set Protocol
*
* Interface for interacting with AssetPairManager contracts
*/
interface IAssetPairManager {
function signalConfirmationMinTime() external view returns (uint256);
function signalConfirmationMaxTime() external view returns (uint256);
function recentInitialProposeTimestamp() external view returns (uint256);
}

31 changes: 31 additions & 0 deletions contracts/managers/interfaces/IMACOStrategyManagerV2.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*
Copyright 2020 Set Labs Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

pragma solidity 0.5.7;
pragma experimental "ABIEncoderV2";

/**
* @title IMACOStrategyManagerV2
* @author Set Protocol
*
* Interface for interacting with MACOStrategyManagerV2 contracts
*/
interface IMACOStrategyManagerV2 {
function crossoverConfirmationMinTime() external view returns (uint256);
function crossoverConfirmationMaxTime() external view returns (uint256);
function lastCrossoverConfirmationTimestamp() external view returns (uint256);
}

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "set-protocol-strategies",
"version": "1.1.27",
"version": "1.1.28",
"main": "dist/artifacts/index.js",
"typings": "dist/typings/artifacts/index.d.ts",
"files": [
Expand Down