morpho-contracts-helper 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/external/morpho/interfaces/AggregatorV3Interface.sol +22 -0
- package/contracts/external/morpho/interfaces/IERC4626.sol +6 -0
- package/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.sol +39 -0
- package/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory.sol +56 -0
- package/contracts/external/morpho/libraries/ChainlinkDataFeedLib.sol +36 -0
- package/contracts/external/morpho/libraries/ErrorsLib.sol +9 -0
- package/contracts/external/morpho/libraries/VaultLib.sol +18 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/AggregatorV3Interface.d.ts +104 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/AggregatorV3Interface.d.ts.map +1 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/AggregatorV3Interface.js +3 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/AggregatorV3Interface.js.map +1 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IERC4626.d.ts +26 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IERC4626.d.ts.map +1 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IERC4626.js +3 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IERC4626.js.map +1 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.d.ts +62 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.d.ts.map +1 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.js +3 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.js.map +1 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory.d.ts +91 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory.d.ts.map +1 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory.js +3 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory.js.map +1 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/index.d.ts +4 -0
- package/dist/typechain-types/contracts/external/morpho/interfaces/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/AggregatorV3Interface__factory.d.ts +94 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/AggregatorV3Interface__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/AggregatorV3Interface__factory.js +132 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/AggregatorV3Interface__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IERC4626__factory.d.ts +22 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IERC4626__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IERC4626__factory.js +40 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IERC4626__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory__factory.d.ts +91 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory__factory.js +128 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2__factory.d.ts +108 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2__factory.d.ts.map +1 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2__factory.js +151 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2__factory.js.map +1 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.d.ts +4 -0
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.d.ts.map +1 -1
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.js +9 -1
- package/dist/typechain-types/factories/contracts/external/morpho/interfaces/index.js.map +1 -1
- package/dist/typechain-types/index.d.ts +8 -0
- package/dist/typechain-types/index.d.ts.map +1 -1
- package/dist/typechain-types/index.js +9 -1
- package/dist/typechain-types/index.js.map +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// SPDX-License-Identifier: MIT
|
|
2
|
+
pragma solidity >=0.5.0;
|
|
3
|
+
|
|
4
|
+
/// @dev From
|
|
5
|
+
/// https://github.com/smartcontractkit/chainlink/blob/master/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol
|
|
6
|
+
interface AggregatorV3Interface {
|
|
7
|
+
function decimals() external view returns (uint8);
|
|
8
|
+
|
|
9
|
+
function description() external view returns (string memory);
|
|
10
|
+
|
|
11
|
+
function version() external view returns (uint256);
|
|
12
|
+
|
|
13
|
+
function getRoundData(uint80 _roundId)
|
|
14
|
+
external
|
|
15
|
+
view
|
|
16
|
+
returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);
|
|
17
|
+
|
|
18
|
+
function latestRoundData()
|
|
19
|
+
external
|
|
20
|
+
view
|
|
21
|
+
returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);
|
|
22
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
2
|
+
pragma solidity >=0.5.0;
|
|
3
|
+
|
|
4
|
+
import {IERC4626} from "./IERC4626.sol";
|
|
5
|
+
import {IOracle} from "./IOracle.sol";
|
|
6
|
+
import {AggregatorV3Interface} from "./AggregatorV3Interface.sol";
|
|
7
|
+
|
|
8
|
+
/// @title IMorphoChainlinkOracleV2
|
|
9
|
+
/// @author Morpho Labs
|
|
10
|
+
/// @custom:contact security@morpho.org
|
|
11
|
+
/// @notice Interface of MorphoChainlinkOracleV2.
|
|
12
|
+
interface IMorphoChainlinkOracleV2 is IOracle {
|
|
13
|
+
/// @notice Returns the address of the base ERC4626 vault.
|
|
14
|
+
function BASE_VAULT() external view returns (IERC4626);
|
|
15
|
+
|
|
16
|
+
/// @notice Returns the base vault conversion sample.
|
|
17
|
+
function BASE_VAULT_CONVERSION_SAMPLE() external view returns (uint256);
|
|
18
|
+
|
|
19
|
+
/// @notice Returns the address of the quote ERC4626 vault.
|
|
20
|
+
function QUOTE_VAULT() external view returns (IERC4626);
|
|
21
|
+
|
|
22
|
+
/// @notice Returns the quote vault conversion sample.
|
|
23
|
+
function QUOTE_VAULT_CONVERSION_SAMPLE() external view returns (uint256);
|
|
24
|
+
|
|
25
|
+
/// @notice Returns the address of the first base feed.
|
|
26
|
+
function BASE_FEED_1() external view returns (AggregatorV3Interface);
|
|
27
|
+
|
|
28
|
+
/// @notice Returns the address of the second base feed.
|
|
29
|
+
function BASE_FEED_2() external view returns (AggregatorV3Interface);
|
|
30
|
+
|
|
31
|
+
/// @notice Returns the address of the first quote feed.
|
|
32
|
+
function QUOTE_FEED_1() external view returns (AggregatorV3Interface);
|
|
33
|
+
|
|
34
|
+
/// @notice Returns the address of the second quote feed.
|
|
35
|
+
function QUOTE_FEED_2() external view returns (AggregatorV3Interface);
|
|
36
|
+
|
|
37
|
+
/// @notice Returns the price scale factor, calculated at contract creation.
|
|
38
|
+
function SCALE_FACTOR() external view returns (uint256);
|
|
39
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
2
|
+
pragma solidity >=0.5.0;
|
|
3
|
+
|
|
4
|
+
import {IERC4626} from "../libraries/VaultLib.sol";
|
|
5
|
+
import {AggregatorV3Interface} from "../libraries/ChainlinkDataFeedLib.sol";
|
|
6
|
+
import {IMorphoChainlinkOracleV2} from "./IMorphoChainlinkOracleV2.sol";
|
|
7
|
+
|
|
8
|
+
/// @title IMorphoChainlinkOracleV2Factory
|
|
9
|
+
/// @author Morpho Labs
|
|
10
|
+
/// @custom:contact security@morpho.org
|
|
11
|
+
/// @notice Interface for MorphoChainlinkOracleV2Factory
|
|
12
|
+
interface IMorphoChainlinkOracleV2Factory {
|
|
13
|
+
/// @notice Emitted when a new Chainlink oracle is created.
|
|
14
|
+
/// @param oracle The address of the Chainlink oracle.
|
|
15
|
+
/// @param caller The caller of the function.
|
|
16
|
+
event CreateMorphoChainlinkOracleV2(address caller, address oracle);
|
|
17
|
+
|
|
18
|
+
/// @notice Whether a Chainlink oracle vault was created with the factory.
|
|
19
|
+
function isMorphoChainlinkOracleV2(address target) external view returns (bool);
|
|
20
|
+
|
|
21
|
+
/// @dev Here is the list of assumptions that guarantees the oracle behaves as expected:
|
|
22
|
+
/// - The vaults, if set, are ERC4626-compliant.
|
|
23
|
+
/// - The feeds, if set, are Chainlink-interface-compliant.
|
|
24
|
+
/// - Decimals passed as argument are correct.
|
|
25
|
+
/// - The base vaults's sample shares quoted as assets and the base feed prices don't overflow when multiplied.
|
|
26
|
+
/// - The quote vault's sample shares quoted as assets and the quote feed prices don't overflow when multiplied.
|
|
27
|
+
/// @param baseVault Base vault. Pass address zero to omit this parameter.
|
|
28
|
+
/// @param baseVaultConversionSample The sample amount of base vault shares used to convert to underlying.
|
|
29
|
+
/// Pass 1 if the base asset is not a vault. Should be chosen such that converting `baseVaultConversionSample` to
|
|
30
|
+
/// assets has enough precision.
|
|
31
|
+
/// @param baseFeed1 First base feed. Pass address zero if the price = 1.
|
|
32
|
+
/// @param baseFeed2 Second base feed. Pass address zero if the price = 1.
|
|
33
|
+
/// @param baseTokenDecimals Base token decimals.
|
|
34
|
+
/// @param quoteVault Quote vault. Pass address zero to omit this parameter.
|
|
35
|
+
/// @param quoteVaultConversionSample The sample amount of quote vault shares used to convert to underlying.
|
|
36
|
+
/// Pass 1 if the quote asset is not a vault. Should be chosen such that converting `quoteVaultConversionSample` to
|
|
37
|
+
/// assets has enough precision.
|
|
38
|
+
/// @param quoteFeed1 First quote feed. Pass address zero if the price = 1.
|
|
39
|
+
/// @param quoteFeed2 Second quote feed. Pass address zero if the price = 1.
|
|
40
|
+
/// @param quoteTokenDecimals Quote token decimals.
|
|
41
|
+
/// @param salt The salt to use for the CREATE2.
|
|
42
|
+
/// @dev The base asset should be the collateral token and the quote asset the loan token.
|
|
43
|
+
function createMorphoChainlinkOracleV2(
|
|
44
|
+
IERC4626 baseVault,
|
|
45
|
+
uint256 baseVaultConversionSample,
|
|
46
|
+
AggregatorV3Interface baseFeed1,
|
|
47
|
+
AggregatorV3Interface baseFeed2,
|
|
48
|
+
uint256 baseTokenDecimals,
|
|
49
|
+
IERC4626 quoteVault,
|
|
50
|
+
uint256 quoteVaultConversionSample,
|
|
51
|
+
AggregatorV3Interface quoteFeed1,
|
|
52
|
+
AggregatorV3Interface quoteFeed2,
|
|
53
|
+
uint256 quoteTokenDecimals,
|
|
54
|
+
bytes32 salt
|
|
55
|
+
) external returns (IMorphoChainlinkOracleV2 oracle);
|
|
56
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
2
|
+
pragma solidity ^0.8.0;
|
|
3
|
+
|
|
4
|
+
import {AggregatorV3Interface} from "../interfaces/AggregatorV3Interface.sol";
|
|
5
|
+
|
|
6
|
+
import {ErrorsLib} from "./ErrorsLib.sol";
|
|
7
|
+
|
|
8
|
+
/// @title ChainlinkDataFeedLib
|
|
9
|
+
/// @author Morpho Labs
|
|
10
|
+
/// @custom:contact security@morpho.org
|
|
11
|
+
/// @notice Library exposing functions to interact with a Chainlink-compliant feed.
|
|
12
|
+
library ChainlinkDataFeedLib {
|
|
13
|
+
/// @dev Performs safety checks and returns the latest price of a `feed`.
|
|
14
|
+
/// @dev When `feed` is the address zero, returns 1.
|
|
15
|
+
/// @dev Notes on safety checks:
|
|
16
|
+
/// - L2s are not supported.
|
|
17
|
+
/// - Staleness is not checked because it's assumed that the Chainlink feed keeps its promises on this.
|
|
18
|
+
/// - The price is not checked to be in the min/max bounds because it's assumed that the Chainlink feed keeps its
|
|
19
|
+
/// promises on this.
|
|
20
|
+
function getPrice(AggregatorV3Interface feed) internal view returns (uint256) {
|
|
21
|
+
if (address(feed) == address(0)) return 1;
|
|
22
|
+
|
|
23
|
+
(, int256 answer,,,) = feed.latestRoundData();
|
|
24
|
+
require(answer >= 0, ErrorsLib.NEGATIVE_ANSWER);
|
|
25
|
+
|
|
26
|
+
return uint256(answer);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/// @dev Returns the number of decimals of a `feed`.
|
|
30
|
+
/// @dev When `feed` is the address zero, returns 0.
|
|
31
|
+
function getDecimals(AggregatorV3Interface feed) internal view returns (uint256) {
|
|
32
|
+
if (address(feed) == address(0)) return 0;
|
|
33
|
+
|
|
34
|
+
return feed.decimals();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -77,4 +77,13 @@ library ErrorsLib {
|
|
|
77
77
|
|
|
78
78
|
/// @notice Thrown when the maximum uint128 is exceeded.
|
|
79
79
|
string internal constant MAX_UINT128_EXCEEDED = "max uint128 exceeded";
|
|
80
|
+
|
|
81
|
+
/// @notice Thrown when the answer returned by a Chainlink feed is negative.
|
|
82
|
+
string constant NEGATIVE_ANSWER = "negative answer";
|
|
83
|
+
|
|
84
|
+
/// @notice Thrown when the vault conversion sample is 0.
|
|
85
|
+
string constant VAULT_CONVERSION_SAMPLE_IS_ZERO = "vault conversion sample is zero";
|
|
86
|
+
|
|
87
|
+
/// @notice Thrown when the vault conversion sample is not 1 while vault = address(0).
|
|
88
|
+
string constant VAULT_CONVERSION_SAMPLE_IS_NOT_ONE = "vault conversion sample is not one";
|
|
80
89
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
2
|
+
pragma solidity ^0.8.0;
|
|
3
|
+
|
|
4
|
+
import {IERC4626} from "../interfaces/IERC4626.sol";
|
|
5
|
+
|
|
6
|
+
/// @title VaultLib
|
|
7
|
+
/// @author Morpho Labs
|
|
8
|
+
/// @custom:contact security@morpho.org
|
|
9
|
+
/// @notice Library exposing functions to price shares of an ERC4626 vault.
|
|
10
|
+
library VaultLib {
|
|
11
|
+
/// @dev Converts `shares` into the corresponding assets on the `vault`.
|
|
12
|
+
/// @dev When `vault` is the address zero, returns 1.
|
|
13
|
+
function getAssets(IERC4626 vault, uint256 shares) internal view returns (uint256) {
|
|
14
|
+
if (address(vault) == address(0)) return 1;
|
|
15
|
+
|
|
16
|
+
return vault.convertToAssets(shares);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
+
export interface AggregatorV3InterfaceInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "decimals" | "description" | "getRoundData" | "latestRoundData" | "version"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
6
|
+
encodeFunctionData(functionFragment: "description", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "getRoundData", values: [BigNumberish]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "latestRoundData", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "version", values?: undefined): string;
|
|
10
|
+
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
11
|
+
decodeFunctionResult(functionFragment: "description", data: BytesLike): Result;
|
|
12
|
+
decodeFunctionResult(functionFragment: "getRoundData", data: BytesLike): Result;
|
|
13
|
+
decodeFunctionResult(functionFragment: "latestRoundData", data: BytesLike): Result;
|
|
14
|
+
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
|
|
15
|
+
}
|
|
16
|
+
export interface AggregatorV3Interface extends BaseContract {
|
|
17
|
+
connect(runner?: ContractRunner | null): AggregatorV3Interface;
|
|
18
|
+
waitForDeployment(): Promise<this>;
|
|
19
|
+
interface: AggregatorV3InterfaceInterface;
|
|
20
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
21
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
22
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
23
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
24
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
25
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
26
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
27
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
28
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
29
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
30
|
+
description: TypedContractMethod<[], [string], "view">;
|
|
31
|
+
getRoundData: TypedContractMethod<[
|
|
32
|
+
_roundId: BigNumberish
|
|
33
|
+
], [
|
|
34
|
+
[
|
|
35
|
+
bigint,
|
|
36
|
+
bigint,
|
|
37
|
+
bigint,
|
|
38
|
+
bigint,
|
|
39
|
+
bigint
|
|
40
|
+
] & {
|
|
41
|
+
roundId: bigint;
|
|
42
|
+
answer: bigint;
|
|
43
|
+
startedAt: bigint;
|
|
44
|
+
updatedAt: bigint;
|
|
45
|
+
answeredInRound: bigint;
|
|
46
|
+
}
|
|
47
|
+
], "view">;
|
|
48
|
+
latestRoundData: TypedContractMethod<[
|
|
49
|
+
], [
|
|
50
|
+
[
|
|
51
|
+
bigint,
|
|
52
|
+
bigint,
|
|
53
|
+
bigint,
|
|
54
|
+
bigint,
|
|
55
|
+
bigint
|
|
56
|
+
] & {
|
|
57
|
+
roundId: bigint;
|
|
58
|
+
answer: bigint;
|
|
59
|
+
startedAt: bigint;
|
|
60
|
+
updatedAt: bigint;
|
|
61
|
+
answeredInRound: bigint;
|
|
62
|
+
}
|
|
63
|
+
], "view">;
|
|
64
|
+
version: TypedContractMethod<[], [bigint], "view">;
|
|
65
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
66
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
67
|
+
getFunction(nameOrSignature: "description"): TypedContractMethod<[], [string], "view">;
|
|
68
|
+
getFunction(nameOrSignature: "getRoundData"): TypedContractMethod<[
|
|
69
|
+
_roundId: BigNumberish
|
|
70
|
+
], [
|
|
71
|
+
[
|
|
72
|
+
bigint,
|
|
73
|
+
bigint,
|
|
74
|
+
bigint,
|
|
75
|
+
bigint,
|
|
76
|
+
bigint
|
|
77
|
+
] & {
|
|
78
|
+
roundId: bigint;
|
|
79
|
+
answer: bigint;
|
|
80
|
+
startedAt: bigint;
|
|
81
|
+
updatedAt: bigint;
|
|
82
|
+
answeredInRound: bigint;
|
|
83
|
+
}
|
|
84
|
+
], "view">;
|
|
85
|
+
getFunction(nameOrSignature: "latestRoundData"): TypedContractMethod<[
|
|
86
|
+
], [
|
|
87
|
+
[
|
|
88
|
+
bigint,
|
|
89
|
+
bigint,
|
|
90
|
+
bigint,
|
|
91
|
+
bigint,
|
|
92
|
+
bigint
|
|
93
|
+
] & {
|
|
94
|
+
roundId: bigint;
|
|
95
|
+
answer: bigint;
|
|
96
|
+
startedAt: bigint;
|
|
97
|
+
updatedAt: bigint;
|
|
98
|
+
answeredInRound: bigint;
|
|
99
|
+
}
|
|
100
|
+
], "view">;
|
|
101
|
+
getFunction(nameOrSignature: "version"): TypedContractMethod<[], [bigint], "view">;
|
|
102
|
+
filters: {};
|
|
103
|
+
}
|
|
104
|
+
//# sourceMappingURL=AggregatorV3Interface.d.ts.map
|
package/dist/typechain-types/contracts/external/morpho/interfaces/AggregatorV3Interface.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AggregatorV3Interface.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/AggregatorV3Interface.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,cAAc,EACd,cAAc,EACd,QAAQ,EACT,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,mBAAmB,EACpB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,8BAA+B,SAAQ,SAAS;IAC/D,WAAW,CACT,eAAe,EACX,UAAU,GACV,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,SAAS,GACZ,gBAAgB,CAAC;IAEpB,kBAAkB,CAAC,gBAAgB,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC7E,kBAAkB,CAChB,gBAAgB,EAAE,aAAa,EAC/B,MAAM,CAAC,EAAE,SAAS,GACjB,MAAM,CAAC;IACV,kBAAk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AM;YAAE,MAAM;YAAE,MAAM;YAAE,MAAM;SAAC,GAAG;YACzC,OAAO,EAAE,MAAM,CAAC;YAChB,MAAM,EAAE,MAAM,CAAC;YACf,SAAS,EAAE,MAAM,CAAC;YAClB,SAAS,EAAE,MAAM,CAAC;YAClB,eAAe,EAAE,MAAM,CAAC;SACzB;KACF,EACD,MAAM,CACP,CAAC;IACF,WAAW,CACT,eAAe,EAAE,iBAAiB,GACjC,mBAAmB,CACpB;KAAE,EACF;QACE;YAAC,MAAM;YAAE,MAAM;YAAE,MAAM;YAAE,MAAM;YAAE,MAAM;SAAC,GAAG;YACzC,OAAO,EAAE,MAAM,CAAC;YAChB,MAAM,EAAE,MAAM,CAAC;YACf,SAAS,EAAE,MAAM,CAAC;YAClB,SAAS,EAAE,MAAM,CAAC;YAClB,eAAe,EAAE,MAAM,CAAC;SACzB;KACF,EACD,MAAM,CACP,CAAC;IACF,WAAW,CACT,eAAe,EAAE,SAAS,GACzB,mBAAmB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAE7C,OAAO,EAAE,EAAE,CAAC;CACb"}
|
package/dist/typechain-types/contracts/external/morpho/interfaces/AggregatorV3Interface.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AggregatorV3Interface.js","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/AggregatorV3Interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
+
export interface IERC4626Interface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "convertToAssets"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "convertToAssets", values: [BigNumberish]): string;
|
|
6
|
+
decodeFunctionResult(functionFragment: "convertToAssets", data: BytesLike): Result;
|
|
7
|
+
}
|
|
8
|
+
export interface IERC4626 extends BaseContract {
|
|
9
|
+
connect(runner?: ContractRunner | null): IERC4626;
|
|
10
|
+
waitForDeployment(): Promise<this>;
|
|
11
|
+
interface: IERC4626Interface;
|
|
12
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
13
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
14
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
15
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
16
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
19
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
20
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
21
|
+
convertToAssets: TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
22
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
23
|
+
getFunction(nameOrSignature: "convertToAssets"): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
24
|
+
filters: {};
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=IERC4626.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IERC4626.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/IERC4626.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,cAAc,EACd,cAAc,EACd,QAAQ,EACT,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,mBAAmB,EACpB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,WAAW,CAAC,eAAe,EAAE,iBAAiB,GAAG,gBAAgB,CAAC;IAElE,kBAAkB,CAChB,gBAAgB,EAAE,iBAAiB,EACnC,MAAM,EAAE,CAAC,YAAY,CAAC,GACrB,MAAM,CAAC;IAEV,oBAAoB,CAClB,gBAAgB,EAAE,iBAAiB,EACnC,IAAI,EAAE,SAAS,GACd,MAAM,CAAC;CACX;AAED,MAAM,WAAW,QAAS,SAAQ,YAAY;IAC5C,OAAO,CAAC,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,QAAQ,CAAC;IAClD,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnC,SAAS,EAAE,iBAAiB,CAAC;IAE7B,WAAW,CAAC,OAAO,SAAS,kBAAkB,EAC5C,KAAK,EAAE,OAAO,EACd,oBAAoB,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,EAClD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1C,WAAW,CAAC,OAAO,SAAS,kBAAkB,EAC5C,MAAM,EAAE,wBAAwB,CAAC,OAAO,CAAC,EACzC,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AAC,CAAC;IAE7E,WAAW,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,EACnD,GAAG,EAAE,MAAM,GAAG,gBAAgB,GAC7B,CAAC,CAAC;IAEL,WAAW,CACT,eAAe,EAAE,iBAAiB,GACjC,mBAAmB,CAAC,CAAC,IAAI,EAAE,YAAY,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAE/D,OAAO,EAAE,EAAE,CAAC;CACb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IERC4626.js","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/IERC4626.ts"],"names":[],"mappings":""}
|
package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
+
export interface IMorphoChainlinkOracleV2Interface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "BASE_FEED_1" | "BASE_FEED_2" | "BASE_VAULT" | "BASE_VAULT_CONVERSION_SAMPLE" | "QUOTE_FEED_1" | "QUOTE_FEED_2" | "QUOTE_VAULT" | "QUOTE_VAULT_CONVERSION_SAMPLE" | "SCALE_FACTOR" | "price"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "BASE_FEED_1", values?: undefined): string;
|
|
6
|
+
encodeFunctionData(functionFragment: "BASE_FEED_2", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "BASE_VAULT", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "BASE_VAULT_CONVERSION_SAMPLE", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "QUOTE_FEED_1", values?: undefined): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "QUOTE_FEED_2", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "QUOTE_VAULT", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "QUOTE_VAULT_CONVERSION_SAMPLE", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "SCALE_FACTOR", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "price", values?: undefined): string;
|
|
15
|
+
decodeFunctionResult(functionFragment: "BASE_FEED_1", data: BytesLike): Result;
|
|
16
|
+
decodeFunctionResult(functionFragment: "BASE_FEED_2", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "BASE_VAULT", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "BASE_VAULT_CONVERSION_SAMPLE", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "QUOTE_FEED_1", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "QUOTE_FEED_2", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "QUOTE_VAULT", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "QUOTE_VAULT_CONVERSION_SAMPLE", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "SCALE_FACTOR", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "price", data: BytesLike): Result;
|
|
25
|
+
}
|
|
26
|
+
export interface IMorphoChainlinkOracleV2 extends BaseContract {
|
|
27
|
+
connect(runner?: ContractRunner | null): IMorphoChainlinkOracleV2;
|
|
28
|
+
waitForDeployment(): Promise<this>;
|
|
29
|
+
interface: IMorphoChainlinkOracleV2Interface;
|
|
30
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
31
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
32
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
33
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
34
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
35
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
36
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
37
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
38
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
39
|
+
BASE_FEED_1: TypedContractMethod<[], [string], "view">;
|
|
40
|
+
BASE_FEED_2: TypedContractMethod<[], [string], "view">;
|
|
41
|
+
BASE_VAULT: TypedContractMethod<[], [string], "view">;
|
|
42
|
+
BASE_VAULT_CONVERSION_SAMPLE: TypedContractMethod<[], [bigint], "view">;
|
|
43
|
+
QUOTE_FEED_1: TypedContractMethod<[], [string], "view">;
|
|
44
|
+
QUOTE_FEED_2: TypedContractMethod<[], [string], "view">;
|
|
45
|
+
QUOTE_VAULT: TypedContractMethod<[], [string], "view">;
|
|
46
|
+
QUOTE_VAULT_CONVERSION_SAMPLE: TypedContractMethod<[], [bigint], "view">;
|
|
47
|
+
SCALE_FACTOR: TypedContractMethod<[], [bigint], "view">;
|
|
48
|
+
price: TypedContractMethod<[], [bigint], "view">;
|
|
49
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
50
|
+
getFunction(nameOrSignature: "BASE_FEED_1"): TypedContractMethod<[], [string], "view">;
|
|
51
|
+
getFunction(nameOrSignature: "BASE_FEED_2"): TypedContractMethod<[], [string], "view">;
|
|
52
|
+
getFunction(nameOrSignature: "BASE_VAULT"): TypedContractMethod<[], [string], "view">;
|
|
53
|
+
getFunction(nameOrSignature: "BASE_VAULT_CONVERSION_SAMPLE"): TypedContractMethod<[], [bigint], "view">;
|
|
54
|
+
getFunction(nameOrSignature: "QUOTE_FEED_1"): TypedContractMethod<[], [string], "view">;
|
|
55
|
+
getFunction(nameOrSignature: "QUOTE_FEED_2"): TypedContractMethod<[], [string], "view">;
|
|
56
|
+
getFunction(nameOrSignature: "QUOTE_VAULT"): TypedContractMethod<[], [string], "view">;
|
|
57
|
+
getFunction(nameOrSignature: "QUOTE_VAULT_CONVERSION_SAMPLE"): TypedContractMethod<[], [bigint], "view">;
|
|
58
|
+
getFunction(nameOrSignature: "SCALE_FACTOR"): TypedContractMethod<[], [bigint], "view">;
|
|
59
|
+
getFunction(nameOrSignature: "price"): TypedContractMethod<[], [bigint], "view">;
|
|
60
|
+
filters: {};
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=IMorphoChainlinkOracleV2.d.ts.map
|
package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMorphoChainlinkOracleV2.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,cAAc,EACd,cAAc,EACd,QAAQ,EACT,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,aAAa,EACb,mBAAmB,EACpB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,iC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C9C,mBAAmB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAC7C,WAAW,CACT,eAAe,EAAE,cAAc,GAC9B,mBAAmB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAC7C,WAAW,CACT,eAAe,EAAE,cAAc,GAC9B,mBAAmB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAC7C,WAAW,CACT,eAAe,EAAE,aAAa,GAC7B,mBAAmB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAC7C,WAAW,CACT,eAAe,EAAE,+BAA+B,GAC/C,mBAAmB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAC7C,WAAW,CACT,eAAe,EAAE,cAAc,GAC9B,mBAAmB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAC7C,WAAW,CACT,eAAe,EAAE,OAAO,GACvB,mBAAmB,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IAE7C,OAAO,EAAE,EAAE,CAAC;CACb"}
|
package/dist/typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMorphoChainlinkOracleV2.js","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
+
export interface IMorphoChainlinkOracleV2FactoryInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "createMorphoChainlinkOracleV2" | "isMorphoChainlinkOracleV2"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "CreateMorphoChainlinkOracleV2"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "createMorphoChainlinkOracleV2", values: [
|
|
7
|
+
AddressLike,
|
|
8
|
+
BigNumberish,
|
|
9
|
+
AddressLike,
|
|
10
|
+
AddressLike,
|
|
11
|
+
BigNumberish,
|
|
12
|
+
AddressLike,
|
|
13
|
+
BigNumberish,
|
|
14
|
+
AddressLike,
|
|
15
|
+
AddressLike,
|
|
16
|
+
BigNumberish,
|
|
17
|
+
BytesLike
|
|
18
|
+
]): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "isMorphoChainlinkOracleV2", values: [AddressLike]): string;
|
|
20
|
+
decodeFunctionResult(functionFragment: "createMorphoChainlinkOracleV2", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "isMorphoChainlinkOracleV2", data: BytesLike): Result;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace CreateMorphoChainlinkOracleV2Event {
|
|
24
|
+
type InputTuple = [caller: AddressLike, oracle: AddressLike];
|
|
25
|
+
type OutputTuple = [caller: string, oracle: string];
|
|
26
|
+
interface OutputObject {
|
|
27
|
+
caller: string;
|
|
28
|
+
oracle: string;
|
|
29
|
+
}
|
|
30
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
31
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
32
|
+
type Log = TypedEventLog<Event>;
|
|
33
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
34
|
+
}
|
|
35
|
+
export interface IMorphoChainlinkOracleV2Factory extends BaseContract {
|
|
36
|
+
connect(runner?: ContractRunner | null): IMorphoChainlinkOracleV2Factory;
|
|
37
|
+
waitForDeployment(): Promise<this>;
|
|
38
|
+
interface: IMorphoChainlinkOracleV2FactoryInterface;
|
|
39
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
40
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
41
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
42
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
43
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
44
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
45
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
46
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
47
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
48
|
+
createMorphoChainlinkOracleV2: TypedContractMethod<[
|
|
49
|
+
baseVault: AddressLike,
|
|
50
|
+
baseVaultConversionSample: BigNumberish,
|
|
51
|
+
baseFeed1: AddressLike,
|
|
52
|
+
baseFeed2: AddressLike,
|
|
53
|
+
baseTokenDecimals: BigNumberish,
|
|
54
|
+
quoteVault: AddressLike,
|
|
55
|
+
quoteVaultConversionSample: BigNumberish,
|
|
56
|
+
quoteFeed1: AddressLike,
|
|
57
|
+
quoteFeed2: AddressLike,
|
|
58
|
+
quoteTokenDecimals: BigNumberish,
|
|
59
|
+
salt: BytesLike
|
|
60
|
+
], [
|
|
61
|
+
string
|
|
62
|
+
], "nonpayable">;
|
|
63
|
+
isMorphoChainlinkOracleV2: TypedContractMethod<[
|
|
64
|
+
target: AddressLike
|
|
65
|
+
], [
|
|
66
|
+
boolean
|
|
67
|
+
], "view">;
|
|
68
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
69
|
+
getFunction(nameOrSignature: "createMorphoChainlinkOracleV2"): TypedContractMethod<[
|
|
70
|
+
baseVault: AddressLike,
|
|
71
|
+
baseVaultConversionSample: BigNumberish,
|
|
72
|
+
baseFeed1: AddressLike,
|
|
73
|
+
baseFeed2: AddressLike,
|
|
74
|
+
baseTokenDecimals: BigNumberish,
|
|
75
|
+
quoteVault: AddressLike,
|
|
76
|
+
quoteVaultConversionSample: BigNumberish,
|
|
77
|
+
quoteFeed1: AddressLike,
|
|
78
|
+
quoteFeed2: AddressLike,
|
|
79
|
+
quoteTokenDecimals: BigNumberish,
|
|
80
|
+
salt: BytesLike
|
|
81
|
+
], [
|
|
82
|
+
string
|
|
83
|
+
], "nonpayable">;
|
|
84
|
+
getFunction(nameOrSignature: "isMorphoChainlinkOracleV2"): TypedContractMethod<[target: AddressLike], [boolean], "view">;
|
|
85
|
+
getEvent(key: "CreateMorphoChainlinkOracleV2"): TypedContractEvent<CreateMorphoChainlinkOracleV2Event.InputTuple, CreateMorphoChainlinkOracleV2Event.OutputTuple, CreateMorphoChainlinkOracleV2Event.OutputObject>;
|
|
86
|
+
filters: {
|
|
87
|
+
"CreateMorphoChainlinkOracleV2(address,address)": TypedContractEvent<CreateMorphoChainlinkOracleV2Event.InputTuple, CreateMorphoChainlinkOracleV2Event.OutputTuple, CreateMorphoChainlinkOracleV2Event.OutputObject>;
|
|
88
|
+
CreateMorphoChainlinkOracleV2: TypedContractEvent<CreateMorphoChainlinkOracleV2Event.InputTuple, CreateMorphoChainlinkOracleV2Event.OutputTuple, CreateMorphoChainlinkOracleV2Event.OutputObject>;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=IMorphoChainlinkOracleV2Factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IMorphoChainlinkOracleV2Factory.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,aAAa,EACb,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACT,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACpB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,wCAAyC,SAAQ,SAAS;IACzE,WAAW,CACT,eAAe,EACX,+BAA+B,GAC/B,2BAA2B,GAC9B,gBAAgB,CAAC;IAEpB,QAAQ,CACN,sBAAsB,EAAE,+BAA+B,GACtD,aAAa,CAAC;IAEjB,kBAAkB,CAChB,gBAAgB,EAAE,+BAA+B,EACjD,MAAM,EAAE;QACN,WAAW;QACX,YAAY;QACZ,WAAW;QACX,WAAW;QACX,YAAY;QACZ,WAAW;QACX,YAAY;QACZ,WAAW;QACX,WAAW;QACX,YAAY;QACZ,SAAS;KACV,GACA,MAAM,CAAC;IACV,kBAAkB,CAChB,gBAAgB,EAAE,2BAA2B,EAC7C,MAAM,EAAE,CAAC,WAAW,CAAC,GACpB,MAAM,CAAC;IAEV,oBAAoB,CAClB,gBAAgB,EAAE,+BAA+B,EACjD,IAAI,EAAE,SAAS,GACd,MAAM,CAAC;IACV,oBAAoB,CAClB,gBAAgB,EAAE,2BAA2B,EAC7C,IAAI,EAAE,SAAS,GACd,MAAM,CAAC;CACX;AAED,yBAAiB,kCAAkC,CAAC;IAClD,KAAY,UAAU,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,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IMorphoChainlinkOracleV2Factory.js","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/IMorphoChainlinkOracleV2Factory.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type * as iMorphoSol from "./IMorpho.sol";
|
|
2
2
|
export type { iMorphoSol };
|
|
3
|
+
export type { AggregatorV3Interface } from "./AggregatorV3Interface";
|
|
4
|
+
export type { IERC4626 } from "./IERC4626";
|
|
3
5
|
export type { IIrm } from "./IIrm";
|
|
6
|
+
export type { IMorphoChainlinkOracleV2 } from "./IMorphoChainlinkOracleV2";
|
|
7
|
+
export type { IMorphoChainlinkOracleV2Factory } from "./IMorphoChainlinkOracleV2Factory";
|
|
4
8
|
export type { IOracle } from "./IOracle";
|
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,UAAU,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,UAAU,EAAE,CAAC;AAC3B,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../typechain-types/contracts/external/morpho/interfaces/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,UAAU,MAAM,eAAe,CAAC;AACjD,YAAY,EAAE,UAAU,EAAE,CAAC;AAC3B,YAAY,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAC3C,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACzF,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC"}
|