diff --git a/contracts/managers/interfaces/IAssetPairManager.sol b/contracts/managers/interfaces/IAssetPairManager.sol new file mode 100644 index 0000000..233208a --- /dev/null +++ b/contracts/managers/interfaces/IAssetPairManager.sol @@ -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); +} + diff --git a/contracts/managers/interfaces/IMACOStrategyManagerV2.sol b/contracts/managers/interfaces/IMACOStrategyManagerV2.sol new file mode 100644 index 0000000..3fb1665 --- /dev/null +++ b/contracts/managers/interfaces/IMACOStrategyManagerV2.sol @@ -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); +} + diff --git a/package.json b/package.json index 29c7db3..d1b12a0 100644 --- a/package.json +++ b/package.json @@ -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": [