morpho-contracts-helper 0.0.18 → 0.0.20

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.
Files changed (71) hide show
  1. package/contracts/MorphoVaultV2DeployHelper.sol +64 -4
  2. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.d.ts +60 -0
  3. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.d.ts.map +1 -0
  4. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.js +3 -0
  5. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.js.map +1 -0
  6. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts +48 -0
  7. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts.map +1 -0
  8. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.js +3 -0
  9. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.js.map +1 -0
  10. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts +84 -0
  11. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts.map +1 -0
  12. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js +3 -0
  13. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js.map +1 -0
  14. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts +62 -0
  15. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts.map +1 -0
  16. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js +3 -0
  17. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js.map +1 -0
  18. package/dist/typechain-types/contracts/{MorphoMarketDataFetcher.d.ts → MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts} +12 -10
  19. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts.map +1 -0
  20. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js.map +1 -0
  21. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts +6 -0
  22. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +1 -0
  23. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.js +3 -0
  24. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.js.map +1 -0
  25. package/dist/typechain-types/contracts/MorphoVaultV2DeployHelper.d.ts +3 -0
  26. package/dist/typechain-types/contracts/MorphoVaultV2DeployHelper.d.ts.map +1 -1
  27. package/dist/typechain-types/contracts/index.d.ts +2 -1
  28. package/dist/typechain-types/contracts/index.d.ts.map +1 -1
  29. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.d.ts +44 -0
  30. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.d.ts.map +1 -0
  31. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.js +67 -0
  32. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.js.map +1 -0
  33. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts +56 -0
  34. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts.map +1 -0
  35. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js +84 -0
  36. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js.map +1 -0
  37. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts +108 -0
  38. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts.map +1 -0
  39. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js +151 -0
  40. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js.map +1 -0
  41. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts +69 -0
  42. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts.map +1 -0
  43. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js +101 -0
  44. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js.map +1 -0
  45. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts +230 -0
  46. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts.map +1 -0
  47. package/dist/typechain-types/factories/contracts/{MorphoMarketDataFetcher__factory.js → MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js} +16 -11
  48. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js.map +1 -0
  49. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts +6 -0
  50. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +1 -0
  51. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js +18 -0
  52. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js.map +1 -0
  53. package/dist/typechain-types/factories/contracts/MorphoVaultV2DeployHelper__factory.d.ts +5 -1
  54. package/dist/typechain-types/factories/contracts/MorphoVaultV2DeployHelper__factory.d.ts.map +1 -1
  55. package/dist/typechain-types/factories/contracts/MorphoVaultV2DeployHelper__factory.js +6 -1
  56. package/dist/typechain-types/factories/contracts/MorphoVaultV2DeployHelper__factory.js.map +1 -1
  57. package/dist/typechain-types/factories/contracts/index.d.ts +1 -1
  58. package/dist/typechain-types/factories/contracts/index.d.ts.map +1 -1
  59. package/dist/typechain-types/factories/contracts/index.js +2 -3
  60. package/dist/typechain-types/factories/contracts/index.js.map +1 -1
  61. package/dist/typechain-types/index.d.ts +4 -4
  62. package/dist/typechain-types/index.d.ts.map +1 -1
  63. package/dist/typechain-types/index.js +4 -4
  64. package/dist/typechain-types/index.js.map +1 -1
  65. package/package.json +1 -1
  66. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.d.ts.map +0 -1
  67. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.js.map +0 -1
  68. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher__factory.d.ts +0 -226
  69. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher__factory.d.ts.map +0 -1
  70. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher__factory.js.map +0 -1
  71. /package/dist/typechain-types/contracts/{MorphoMarketDataFetcher.js → MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMorpho__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.ts"],"names":[],"mappings":"AAKA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,QAAQ,CAAC;AAClE,OAAO,KAAK,EACV,OAAO,EACP,gBAAgB,EACjB,MAAM,wDAAwD,CAAC;AAqFhE,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,gBAAgB;IAG1C,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,OAAO;CAGzE"}
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ // @ts-nocheck
4
+ /* tslint:disable */
5
+ /* eslint-disable */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.IMorpho__factory = void 0;
8
+ const ethers_1 = require("ethers");
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "bytes32",
14
+ name: "marketId",
15
+ type: "bytes32",
16
+ },
17
+ ],
18
+ name: "idToMarketParams",
19
+ outputs: [
20
+ {
21
+ components: [
22
+ {
23
+ internalType: "address",
24
+ name: "loanToken",
25
+ type: "address",
26
+ },
27
+ {
28
+ internalType: "address",
29
+ name: "collateralToken",
30
+ type: "address",
31
+ },
32
+ {
33
+ internalType: "address",
34
+ name: "oracle",
35
+ type: "address",
36
+ },
37
+ {
38
+ internalType: "address",
39
+ name: "irm",
40
+ type: "address",
41
+ },
42
+ {
43
+ internalType: "uint256",
44
+ name: "lltv",
45
+ type: "uint256",
46
+ },
47
+ ],
48
+ internalType: "struct MarketParams",
49
+ name: "",
50
+ type: "tuple",
51
+ },
52
+ ],
53
+ stateMutability: "view",
54
+ type: "function",
55
+ },
56
+ {
57
+ inputs: [
58
+ {
59
+ internalType: "bytes32",
60
+ name: "marketId",
61
+ type: "bytes32",
62
+ },
63
+ {
64
+ internalType: "address",
65
+ name: "account",
66
+ type: "address",
67
+ },
68
+ ],
69
+ name: "position",
70
+ outputs: [
71
+ {
72
+ internalType: "uint128",
73
+ name: "supplyShares",
74
+ type: "uint128",
75
+ },
76
+ {
77
+ internalType: "uint128",
78
+ name: "borrowShares",
79
+ type: "uint128",
80
+ },
81
+ {
82
+ internalType: "uint128",
83
+ name: "collateral",
84
+ type: "uint128",
85
+ },
86
+ ],
87
+ stateMutability: "view",
88
+ type: "function",
89
+ },
90
+ ];
91
+ class IMorpho__factory {
92
+ static abi = _abi;
93
+ static createInterface() {
94
+ return new ethers_1.Interface(_abi);
95
+ }
96
+ static connect(address, runner) {
97
+ return new ethers_1.Contract(address, _abi, runner);
98
+ }
99
+ }
100
+ exports.IMorpho__factory = IMorpho__factory;
101
+ //# sourceMappingURL=IMorpho__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMorpho__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,cAAc;AACd,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE;YACP;gBACE,UAAU,EAAE;oBACV;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,WAAW;wBACjB,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,iBAAiB;wBACvB,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,KAAK;wBACX,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,SAAS;qBAChB;iBACF;gBACD,YAAY,EAAE,qBAAqB;gBACnC,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,OAAO;aACd;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,UAAU;QAChB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,gBAAgB;IAC3B,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAqB,CAAC;IACjD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAuB,CAAC;IACnE,CAAC;;AAPH,4CAQC"}
@@ -0,0 +1,230 @@
1
+ import { ContractFactory, ContractTransactionResponse } from "ethers";
2
+ import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
3
+ import type { NonPayableOverrides } from "../../../common";
4
+ import type { MorphoMarketDataFetcher, MorphoMarketDataFetcherInterface } from "../../../contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher";
5
+ type MorphoMarketDataFetcherConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class MorphoMarketDataFetcher__factory extends ContractFactory {
7
+ constructor(...args: MorphoMarketDataFetcherConstructorParams);
8
+ getDeployTransaction(_morphoAddress: AddressLike, overrides?: NonPayableOverrides & {
9
+ from?: string;
10
+ }): Promise<ContractDeployTransaction>;
11
+ deploy(_morphoAddress: AddressLike, overrides?: NonPayableOverrides & {
12
+ from?: string;
13
+ }): Promise<MorphoMarketDataFetcher & {
14
+ deploymentTransaction(): ContractTransactionResponse;
15
+ }>;
16
+ connect(runner: ContractRunner | null): MorphoMarketDataFetcher__factory;
17
+ static readonly bytecode = "0x60a060405234801561001057600080fd5b5060405161161038038061161083398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516115646100ac6000396000818160690152818160c4015281816102b40152818161030501528181610d350152610d9001526115646000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063890a7d5f1461003b578063e183129814610064575b600080fd5b61004e610049366004610f73565b6100a3565b60405161005b919061109f565b60405180910390f35b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161005b565b6100ab610e1a565b604051632c3c915760e01b8152600481018490526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632c3c91579060240160a060405180830381865afa158015610113573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013791906112da565b60608301819052805183516001600160a01b0391821690528151604080516306fdde0360e01b815290519394509116916306fdde03916004808201926000929091908290030181865afa9250505080156101b357506040513d6000823e601f3d908101601f191682016040526101b0919081019061136d565b60015b156101bf578251602001525b80600001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561022257506040513d6000823e601f3d908101601f1916820160405261021f919081019061136d565b60015b1561022e578251604001525b80600001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561028c575060408051601f3d908101601f1916820190925261028991810190611403565b60015b1561029f57825160ff9091166060909101525b6001600160a01b038316158015906102df57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b1561037d578051604051636eb1769f60e11b81526001600160a01b0385811660048301527f0000000000000000000000000000000000000000000000000000000000000000811660248301529091169063dd62ed3e90604401602060405180830381865afa925050508015610371575060408051601f3d908101601f1916820190925261036e9181019061142d565b60015b1561037d578251608001525b80602001518260200151600001906001600160a01b031690816001600160a01b03168152505080602001516001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561040657506040513d6000823e601f3d908101601f19168201604052610403919081019061136d565b60015b156104145760208084015101525b80602001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561047757506040513d6000823e601f3d908101601f19168201604052610474919081019061136d565b60015b15610486576020830151604001525b80602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156104e4575060408051601f3d908101601f191682019092526104e191810190611403565b60015b156104fa57602083015160ff9091166060909101525b60408101516001600160a01b0316156109cb5760408082018051848301516001600160a01b03918216905290518251631ea148e360e31b8152925191169163f50a47189160048083019260209291908290030181865afa92505050801561057e575060408051601f3d908101601f1916820190925261057b91810190611446565b60015b1561059a5760408301516001600160a01b039091166020909101525b80604001516001600160a01b031663dc53858c6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156105f8575060408051601f3d908101601f191682019092526105f591810190611446565b60015b15610612576040808401516001600160a01b039092169101525b80604001516001600160a01b031663eaa2d7b46040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610670575060408051601f3d908101601f1916820190925261066d91810190611446565b60015b1561068c5760408301516001600160a01b039091166060909101525b80604001516001600160a01b031663054f7ac06040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156106ea575060408051601f3d908101601f191682019092526106e791810190611446565b60015b156107065760408301516001600160a01b039091166080909101525b80604001516001600160a01b03166356095e116040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610764575060408051601f3d908101601f1916820190925261076191810190611446565b60015b156107805760408301516001600160a01b0390911660a0909101525b80604001516001600160a01b031663acfbd39e6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156107de575060408051601f3d908101601f191682019092526107db91810190611446565b60015b156107fa5760408301516001600160a01b0390911660c0909101525b80604001516001600160a01b0316632e6f20a66040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610858575060408051601f3d908101601f1916820190925261085591810190611446565b60015b156108745760408301516001600160a01b0390911660e0909101525b80604001516001600160a01b031663461739d26040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156108d2575060408051601f3d908101601f191682019092526108cf91810190611446565b60015b156108ef5760408301516001600160a01b03909116610100909101525b80604001516001600160a01b031663ce4b5bbe6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561094d575060408051601f3d908101601f1916820190925261094a9181019061142d565b60015b1561095d57604083015161012001525b80604001516001600160a01b031663a035b1fe6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156109bb575060408051601f3d908101601f191682019092526109b89181019061142d565b60015b156109cb57604083015161014001525b6040820151602001516001600160a01b031615610b815760408083018051602080820151610160909201516001600160a01b0392831690529151909101518251633fabe5a360e21b8152925191169163feaf968c9160048083019260a09291908290030181865afa925050508015610a60575060408051601f3d908101601f19168201909252610a5d91810190611482565b60015b15610a8a5760008413610a74576000610a76565b835b604088015161016001516020015250505050505b8160400151602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610aec575060408051601f3d908101601f19168201909252610ae991810190611403565b60015b15610b07576040830151610160015160ff9091166060909101525b8160400151602001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610b6e57506040513d6000823e601f3d908101601f19168201604052610b6b919081019061136d565b60015b15610b8157604080840151610160015101525b604082015160a001516001600160a01b031615610d33576040808301805160a080820151610180909201516001600160a01b03928316905291518201518351633fabe5a360e21b8152935191169263feaf968c9260048083019391928290030181865afa925050508015610c12575060408051601f3d908101601f19168201909252610c0f91810190611482565b60015b15610c3c5760008413610c26576000610c28565b835b604088015161018001516020015250505050505b816040015160a001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c9e575060408051601f3d908101601f19168201909252610c9b91810190611403565b60015b15610cb9576040830151610180015160ff9091166060909101525b816040015160a001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610d2057506040513d6000823e601f3d908101601f19168201604052610d1d919081019061136d565b60015b15610d3357604080840151610180015101525b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615801590610d6a57508315155b15610e13576040516349e2903160e11b81526004810185905261dead60248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906393c5206290604401606060405180830381865afa925050508015610dfb575060408051601f3d908101601f19168201909252610df8918101906114eb565b60015b15610e115750506001600160801b031660808401525b505b5092915050565b6040518060a00160405280610e2d610f20565b8152602001610e3a610f20565b8152602001610ee5604080516101a081018252600080825260208083018290528284018290526060808401839052608080850184905260a0850184905260c0850184905260e0850184905261010085018490526101208501849052610140850184905285518082018752848152808401859052808701839052808301859052610160860152855190810186528381529182018390529381018490529283015261018081019190915290565b81526040805160a081018252600080825260208281018290529282018190526060820181905260808201529101908152602001600081525090565b6040518060a0016040528060006001600160a01b031681526020016060815260200160608152602001600060ff168152602001600081525090565b6001600160a01b0381168114610f7057600080fd5b50565b60008060408385031215610f8657600080fd5b823591506020830135610f9881610f5b565b809150509250929050565b60005b83811015610fbe578181015183820152602001610fa6565b50506000910152565b60008151808452610fdf816020860160208601610fa3565b601f01601f19169290920160200192915050565b60018060a01b0381511682526000602082015160a0602085015261101a60a0850182610fc7565b9050604083015184820360408601526110338282610fc7565b91505060ff6060840151166060850152608083015160808501528091505092915050565b60018060a01b0381511682526020810151602083015260006040820151608060408501526110886080850182610fc7565b60609384015160ff16949093019390935250919050565b602081526000825161012060208401526110bd610140840182610ff3565b90506020840151601f198483030160408501526110da8282610ff3565b9150506040840151601f198483030160608501526111018282516001600160a01b03169052565b602081015161111b60208401826001600160a01b03169052565b50604081015161113660408401826001600160a01b03169052565b50606081015161115160608401826001600160a01b03169052565b50608081015161116c60808401826001600160a01b03169052565b5060a081015161118760a08401826001600160a01b03169052565b5060c08101516111a260c08401826001600160a01b03169052565b5060e08101516111bd60e08401826001600160a01b03169052565b506101008101516111da6101008401826001600160a01b03169052565b506101208101516101208301526101408101516101408301526101608101516101a06101608401526112106101a0840182611057565b9050610180820151915082810361018084015261122d8183611057565b92505050606084015161127d608085018280516001600160a01b03908116835260208083015182169084015260408083015182169084015260608083015190911690830152608090810151910152565b5060808401516101208401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156112d2576112d2611293565b604052919050565b600060a08284031280156112ed57600080fd5b5060405160a0810167ffffffffffffffff8111828210171561131157611311611293565b604052825161131f81610f5b565b8152602083015161132f81610f5b565b6020820152604083015161134281610f5b565b6040820152606083015161135581610f5b565b60608201526080928301519281019290925250919050565b60006020828403121561137f57600080fd5b815167ffffffffffffffff81111561139657600080fd5b8201601f810184136113a757600080fd5b805167ffffffffffffffff8111156113c1576113c1611293565b6113d4601f8201601f19166020016112a9565b8181528560208385010111156113e957600080fd5b6113fa826020830160208601610fa3565b95945050505050565b60006020828403121561141557600080fd5b815160ff8116811461142657600080fd5b9392505050565b60006020828403121561143f57600080fd5b5051919050565b60006020828403121561145857600080fd5b815161142681610f5b565b805169ffffffffffffffffffff8116811461147d57600080fd5b919050565b600080600080600060a0868803121561149a57600080fd5b6114a386611463565b602087015160408801516060890151929750909550935091506114c860808701611463565b90509295509295909350565b80516001600160801b038116811461147d57600080fd5b60008060006060848603121561150057600080fd5b611509846114d4565b9250611517602085016114d4565b9150611525604085016114d4565b9050925092509256fea26469706673582212205d9824ce9af186960d8a22148286ebbddb3dc7ce366fc2254eed2fd705bf6ed764736f6c634300081b0033";
18
+ static readonly abi: readonly [{
19
+ readonly inputs: readonly [{
20
+ readonly internalType: "address";
21
+ readonly name: "_morphoAddress";
22
+ readonly type: "address";
23
+ }];
24
+ readonly stateMutability: "nonpayable";
25
+ readonly type: "constructor";
26
+ }, {
27
+ readonly inputs: readonly [{
28
+ readonly internalType: "bytes32";
29
+ readonly name: "marketId";
30
+ readonly type: "bytes32";
31
+ }, {
32
+ readonly internalType: "address";
33
+ readonly name: "user";
34
+ readonly type: "address";
35
+ }];
36
+ readonly name: "getMarketDetails";
37
+ readonly outputs: readonly [{
38
+ readonly components: readonly [{
39
+ readonly components: readonly [{
40
+ readonly internalType: "address";
41
+ readonly name: "tokenAddress";
42
+ readonly type: "address";
43
+ }, {
44
+ readonly internalType: "string";
45
+ readonly name: "name";
46
+ readonly type: "string";
47
+ }, {
48
+ readonly internalType: "string";
49
+ readonly name: "symbol";
50
+ readonly type: "string";
51
+ }, {
52
+ readonly internalType: "uint8";
53
+ readonly name: "decimals";
54
+ readonly type: "uint8";
55
+ }, {
56
+ readonly internalType: "uint256";
57
+ readonly name: "userAllowance";
58
+ readonly type: "uint256";
59
+ }];
60
+ readonly internalType: "struct MorphoMarketDataFetcher.TokenInfo";
61
+ readonly name: "loanToken";
62
+ readonly type: "tuple";
63
+ }, {
64
+ readonly components: readonly [{
65
+ readonly internalType: "address";
66
+ readonly name: "tokenAddress";
67
+ readonly type: "address";
68
+ }, {
69
+ readonly internalType: "string";
70
+ readonly name: "name";
71
+ readonly type: "string";
72
+ }, {
73
+ readonly internalType: "string";
74
+ readonly name: "symbol";
75
+ readonly type: "string";
76
+ }, {
77
+ readonly internalType: "uint8";
78
+ readonly name: "decimals";
79
+ readonly type: "uint8";
80
+ }, {
81
+ readonly internalType: "uint256";
82
+ readonly name: "userAllowance";
83
+ readonly type: "uint256";
84
+ }];
85
+ readonly internalType: "struct MorphoMarketDataFetcher.TokenInfo";
86
+ readonly name: "collateralToken";
87
+ readonly type: "tuple";
88
+ }, {
89
+ readonly components: readonly [{
90
+ readonly internalType: "address";
91
+ readonly name: "oracleAddress";
92
+ readonly type: "address";
93
+ }, {
94
+ readonly internalType: "address";
95
+ readonly name: "baseFeed1";
96
+ readonly type: "address";
97
+ }, {
98
+ readonly internalType: "address";
99
+ readonly name: "baseFeed2";
100
+ readonly type: "address";
101
+ }, {
102
+ readonly internalType: "address";
103
+ readonly name: "baseVault";
104
+ readonly type: "address";
105
+ }, {
106
+ readonly internalType: "address";
107
+ readonly name: "baseVaultConversionSample";
108
+ readonly type: "address";
109
+ }, {
110
+ readonly internalType: "address";
111
+ readonly name: "quoteFeed1";
112
+ readonly type: "address";
113
+ }, {
114
+ readonly internalType: "address";
115
+ readonly name: "quoteFeed2";
116
+ readonly type: "address";
117
+ }, {
118
+ readonly internalType: "address";
119
+ readonly name: "quoteVault";
120
+ readonly type: "address";
121
+ }, {
122
+ readonly internalType: "address";
123
+ readonly name: "quoteVaultConversionSample";
124
+ readonly type: "address";
125
+ }, {
126
+ readonly internalType: "uint256";
127
+ readonly name: "scaleFactor";
128
+ readonly type: "uint256";
129
+ }, {
130
+ readonly internalType: "uint256";
131
+ readonly name: "currentPrice";
132
+ readonly type: "uint256";
133
+ }, {
134
+ readonly components: readonly [{
135
+ readonly internalType: "address";
136
+ readonly name: "oracleAddress";
137
+ readonly type: "address";
138
+ }, {
139
+ readonly internalType: "uint256";
140
+ readonly name: "price";
141
+ readonly type: "uint256";
142
+ }, {
143
+ readonly internalType: "string";
144
+ readonly name: "symbol";
145
+ readonly type: "string";
146
+ }, {
147
+ readonly internalType: "uint8";
148
+ readonly name: "decimals";
149
+ readonly type: "uint8";
150
+ }];
151
+ readonly internalType: "struct MorphoMarketDataFetcher.MockOracleInfo";
152
+ readonly name: "baseFeed";
153
+ readonly type: "tuple";
154
+ }, {
155
+ readonly components: readonly [{
156
+ readonly internalType: "address";
157
+ readonly name: "oracleAddress";
158
+ readonly type: "address";
159
+ }, {
160
+ readonly internalType: "uint256";
161
+ readonly name: "price";
162
+ readonly type: "uint256";
163
+ }, {
164
+ readonly internalType: "string";
165
+ readonly name: "symbol";
166
+ readonly type: "string";
167
+ }, {
168
+ readonly internalType: "uint8";
169
+ readonly name: "decimals";
170
+ readonly type: "uint8";
171
+ }];
172
+ readonly internalType: "struct MorphoMarketDataFetcher.MockOracleInfo";
173
+ readonly name: "quoteFeed";
174
+ readonly type: "tuple";
175
+ }];
176
+ readonly internalType: "struct MorphoMarketDataFetcher.OracleInfo";
177
+ readonly name: "oracle";
178
+ readonly type: "tuple";
179
+ }, {
180
+ readonly components: readonly [{
181
+ readonly internalType: "address";
182
+ readonly name: "loanToken";
183
+ readonly type: "address";
184
+ }, {
185
+ readonly internalType: "address";
186
+ readonly name: "collateralToken";
187
+ readonly type: "address";
188
+ }, {
189
+ readonly internalType: "address";
190
+ readonly name: "oracle";
191
+ readonly type: "address";
192
+ }, {
193
+ readonly internalType: "address";
194
+ readonly name: "irm";
195
+ readonly type: "address";
196
+ }, {
197
+ readonly internalType: "uint256";
198
+ readonly name: "lltv";
199
+ readonly type: "uint256";
200
+ }];
201
+ readonly internalType: "struct MarketParams";
202
+ readonly name: "marketParams";
203
+ readonly type: "tuple";
204
+ }, {
205
+ readonly internalType: "uint256";
206
+ readonly name: "deadAddressSupply";
207
+ readonly type: "uint256";
208
+ }];
209
+ readonly internalType: "struct MorphoMarketDataFetcher.MarketData";
210
+ readonly name: "data";
211
+ readonly type: "tuple";
212
+ }];
213
+ readonly stateMutability: "view";
214
+ readonly type: "function";
215
+ }, {
216
+ readonly inputs: readonly [];
217
+ readonly name: "morphoAddress";
218
+ readonly outputs: readonly [{
219
+ readonly internalType: "address";
220
+ readonly name: "";
221
+ readonly type: "address";
222
+ }];
223
+ readonly stateMutability: "view";
224
+ readonly type: "function";
225
+ }];
226
+ static createInterface(): MorphoMarketDataFetcherInterface;
227
+ static connect(address: string, runner?: ContractRunner | null): MorphoMarketDataFetcher;
228
+ }
229
+ export {};
230
+ //# sourceMappingURL=MorphoMarketDataFetcher__factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MorphoMarketDataFetcher__factory.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFet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;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,gCAAgC;IAG1D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,uBAAuB;CAO3B"}
@@ -25,6 +25,11 @@ const _abi = [
25
25
  name: "marketId",
26
26
  type: "bytes32",
27
27
  },
28
+ {
29
+ internalType: "address",
30
+ name: "user",
31
+ type: "address",
32
+ },
28
33
  ],
29
34
  name: "getMarketDetails",
30
35
  outputs: [
@@ -102,44 +107,44 @@ const _abi = [
102
107
  type: "address",
103
108
  },
104
109
  {
105
- internalType: "contract AggregatorV3Interface",
110
+ internalType: "address",
106
111
  name: "baseFeed1",
107
112
  type: "address",
108
113
  },
109
114
  {
110
- internalType: "contract AggregatorV3Interface",
115
+ internalType: "address",
111
116
  name: "baseFeed2",
112
117
  type: "address",
113
118
  },
114
119
  {
115
- internalType: "contract IERC4626",
120
+ internalType: "address",
116
121
  name: "baseVault",
117
122
  type: "address",
118
123
  },
119
124
  {
120
- internalType: "uint256",
125
+ internalType: "address",
121
126
  name: "baseVaultConversionSample",
122
- type: "uint256",
127
+ type: "address",
123
128
  },
124
129
  {
125
- internalType: "contract AggregatorV3Interface",
130
+ internalType: "address",
126
131
  name: "quoteFeed1",
127
132
  type: "address",
128
133
  },
129
134
  {
130
- internalType: "contract AggregatorV3Interface",
135
+ internalType: "address",
131
136
  name: "quoteFeed2",
132
137
  type: "address",
133
138
  },
134
139
  {
135
- internalType: "contract IERC4626",
140
+ internalType: "address",
136
141
  name: "quoteVault",
137
142
  type: "address",
138
143
  },
139
144
  {
140
- internalType: "uint256",
145
+ internalType: "address",
141
146
  name: "quoteVaultConversionSample",
142
- type: "uint256",
147
+ type: "address",
143
148
  },
144
149
  {
145
150
  internalType: "uint256",
@@ -270,7 +275,7 @@ const _abi = [
270
275
  type: "function",
271
276
  },
272
277
  ];
273
- const _bytecode = "0x60a060405234801561001057600080fd5b506040516115da3803806115da83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161152e6100ac6000396000818160690152818160c4015281816102ab015281816102fa01528181610d100152610d6e015261152e6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063881268cb1461003b578063e183129814610064575b600080fd5b61004e610049366004610f31565b6100a3565b60405161005b9190611046565b60405180910390f35b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161005b565b6100ab610df0565b604051632c3c915760e01b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632c3c91579060240160a060405180830381865afa158015610113573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101379190611277565b60608301819052805183516001600160a01b0391821690528151604080516306fdde0360e01b815290519394509116916306fdde03916004808201926000929091908290030181865afa9250505080156101b357506040513d6000823e601f3d908101601f191682016040526101b0919081019061130a565b60015b156101bf578251602001525b80600001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561022257506040513d6000823e601f3d908101601f1916820160405261021f919081019061130a565b60015b1561022e578251604001525b80600001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561028c575060408051601f3d908101601f19168201909252610289918101906113a0565b60015b1561029f57825160ff9091166060909101525b33158015906102d657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b15610372578051604051636eb1769f60e11b81523360048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301529091169063dd62ed3e90604401602060405180830381865afa925050508015610366575060408051601f3d908101601f19168201909252610363918101906113ca565b60015b15610372578251608001525b80602001518260200151600001906001600160a01b031690816001600160a01b03168152505080602001516001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa9250505080156103fb57506040513d6000823e601f3d908101601f191682016040526103f8919081019061130a565b60015b156104095760208084015101525b80602001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561046c57506040513d6000823e601f3d908101601f19168201604052610469919081019061130a565b60015b1561047b576020830151604001525b80602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156104d9575060408051601f3d908101601f191682019092526104d6918101906113a0565b60015b156104ef57602083015160ff9091166060909101525b60408101516001600160a01b0316156109a65760408082018051848301516001600160a01b03918216905290518251631ea148e360e31b8152925191169163f50a47189160048083019260209291908290030181865afa925050508015610573575060408051601f3d908101601f19168201909252610570918101906113e3565b60015b1561058f5760408301516001600160a01b039091166020909101525b80604001516001600160a01b031663dc53858c6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156105ed575060408051601f3d908101601f191682019092526105ea918101906113e3565b60015b15610607576040808401516001600160a01b039092169101525b80604001516001600160a01b031663eaa2d7b46040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610665575060408051601f3d908101601f19168201909252610662918101906113e3565b60015b156106815760408301516001600160a01b039091166060909101525b80604001516001600160a01b031663054f7ac06040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156106df575060408051601f3d908101601f191682019092526106dc918101906113ca565b60015b156106ee576040830151608001525b80604001516001600160a01b03166356095e116040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561074c575060408051601f3d908101601f19168201909252610749918101906113e3565b60015b156107685760408301516001600160a01b0390911660a0909101525b80604001516001600160a01b031663acfbd39e6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156107c6575060408051601f3d908101601f191682019092526107c3918101906113e3565b60015b156107e25760408301516001600160a01b0390911660c0909101525b80604001516001600160a01b0316632e6f20a66040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610840575060408051601f3d908101601f1916820190925261083d918101906113e3565b60015b1561085c5760408301516001600160a01b0390911660e0909101525b80604001516001600160a01b031663461739d26040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156108ba575060408051601f3d908101601f191682019092526108b7918101906113ca565b60015b156108ca57604083015161010001525b80604001516001600160a01b031663ce4b5bbe6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610928575060408051601f3d908101601f19168201909252610925918101906113ca565b60015b1561093857604083015161012001525b80604001516001600160a01b031663a035b1fe6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610996575060408051601f3d908101601f19168201909252610993918101906113ca565b60015b156109a657604083015161014001525b6040820151602001516001600160a01b031615610b5c5760408083018051602080820151610160909201516001600160a01b0392831690529151909101518251633fabe5a360e21b8152925191169163feaf968c9160048083019260a09291908290030181865afa925050508015610a3b575060408051601f3d908101601f19168201909252610a389181019061141f565b60015b15610a655760008413610a4f576000610a51565b835b604088015161016001516020015250505050505b8160400151602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ac7575060408051601f3d908101601f19168201909252610ac4918101906113a0565b60015b15610ae2576040830151610160015160ff9091166060909101525b8160400151602001516001600160a01b0316637284e4166040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610b4957506040513d6000823e601f3d908101601f19168201604052610b46919081019061130a565b60015b15610b5c57604080840151610160015101525b604082015160a001516001600160a01b031615610d0e576040808301805160a080820151610180909201516001600160a01b03928316905291518201518351633fabe5a360e21b8152935191169263feaf968c9260048083019391928290030181865afa925050508015610bed575060408051601f3d908101601f19168201909252610bea9181019061141f565b60015b15610c175760008413610c01576000610c03565b835b604088015161018001516020015250505050505b816040015160a001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c79575060408051601f3d908101601f19168201909252610c76918101906113a0565b60015b15610c94576040830151610180015160ff9091166060909101525b816040015160a001516001600160a01b0316637284e4166040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610cfb57506040513d6000823e601f3d908101601f19168201604052610cf8919081019061130a565b60015b15610d0e57604080840151610180015101525b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615801590610d4557508215155b15610dea576040516349e2903160e11b81526004810184905261dead60248201819052906000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906393c5206290604401606060405180830381865afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de19190611491565b51608085015250505b50919050565b6040518060a00160405280610e03610ef6565b8152602001610e10610ef6565b8152602001610ebb604080516101a081018252600080825260208083018290528284018290526060808401839052608080850184905260a0850184905260c0850184905260e0850184905261010085018490526101208501849052610140850184905285518082018752848152808401859052808701839052808301859052610160860152855190810186528381529182018390529381018490529283015261018081019190915290565b81526040805160a081018252600080825260208281018290529282018190526060820181905260808201529101908152602001600081525090565b6040518060a0016040528060006001600160a01b031681526020016060815260200160608152602001600060ff168152602001600081525090565b600060208284031215610f4357600080fd5b5035919050565b60005b83811015610f65578181015183820152602001610f4d565b50506000910152565b60008151808452610f86816020860160208601610f4a565b601f01601f19169290920160200192915050565b60018060a01b0381511682526000602082015160a06020850152610fc160a0850182610f6e565b905060408301518482036040860152610fda8282610f6e565b91505060ff6060840151166060850152608083015160808501528091505092915050565b60018060a01b03815116825260208101516020830152600060408201516080604085015261102f6080850182610f6e565b60609384015160ff16949093019390935250919050565b60208152600082516101206020840152611064610140840182610f9a565b90506020840151601f198483030160408501526110818282610f9a565b9150506040840151601f198483030160608501526110a88282516001600160a01b03169052565b60208101516110c260208401826001600160a01b03169052565b5060408101516110dd60408401826001600160a01b03169052565b5060608101516110f860608401826001600160a01b03169052565b506080810151608083015260a081015161111d60a08401826001600160a01b03169052565b5060c081015161113860c08401826001600160a01b03169052565b5060e081015161115360e08401826001600160a01b03169052565b506101008101516101008301526101208101516101208301526101408101516101408301526101608101516101a06101608401526111956101a0840182610ffe565b905061018082015191508281036101808401526111b28183610ffe565b925050506060840151611202608085018280516001600160a01b03908116835260208083015182169084015260408083015182169084015260608083015190911690830152608090810151910152565b5060808401516101208401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561125757611257611218565b604052919050565b6001600160a01b038116811461127457600080fd5b50565b600060a082840312801561128a57600080fd5b5060405160a0810167ffffffffffffffff811182821017156112ae576112ae611218565b60405282516112bc8161125f565b815260208301516112cc8161125f565b602082015260408301516112df8161125f565b604082015260608301516112f28161125f565b60608201526080928301519281019290925250919050565b60006020828403121561131c57600080fd5b815167ffffffffffffffff81111561133357600080fd5b8201601f8101841361134457600080fd5b805167ffffffffffffffff81111561135e5761135e611218565b611371601f8201601f191660200161122e565b81815285602083850101111561138657600080fd5b611397826020830160208601610f4a565b95945050505050565b6000602082840312156113b257600080fd5b815160ff811681146113c357600080fd5b9392505050565b6000602082840312156113dc57600080fd5b5051919050565b6000602082840312156113f557600080fd5b81516113c38161125f565b805169ffffffffffffffffffff8116811461141a57600080fd5b919050565b600080600080600060a0868803121561143757600080fd5b61144086611400565b6020870151604088015160608901519297509095509350915061146560808701611400565b90509295509295909350565b80516fffffffffffffffffffffffffffffffff8116811461141a57600080fd5b600060608284031280156114a457600080fd5b506040516060810167ffffffffffffffff811182821017156114c8576114c8611218565b604052825181526114db60208401611471565b60208201526114ec60408401611471565b6040820152939250505056fea264697066735822122002d3425b89c02f9e7be223b7253512a9671a416430486ef7eac944a00099090264736f6c634300081b0033";
278
+ const _bytecode = "0x60a060405234801561001057600080fd5b5060405161161038038061161083398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516115646100ac6000396000818160690152818160c4015281816102b40152818161030501528181610d350152610d9001526115646000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063890a7d5f1461003b578063e183129814610064575b600080fd5b61004e610049366004610f73565b6100a3565b60405161005b919061109f565b60405180910390f35b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161005b565b6100ab610e1a565b604051632c3c915760e01b8152600481018490526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632c3c91579060240160a060405180830381865afa158015610113573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013791906112da565b60608301819052805183516001600160a01b0391821690528151604080516306fdde0360e01b815290519394509116916306fdde03916004808201926000929091908290030181865afa9250505080156101b357506040513d6000823e601f3d908101601f191682016040526101b0919081019061136d565b60015b156101bf578251602001525b80600001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561022257506040513d6000823e601f3d908101601f1916820160405261021f919081019061136d565b60015b1561022e578251604001525b80600001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561028c575060408051601f3d908101601f1916820190925261028991810190611403565b60015b1561029f57825160ff9091166060909101525b6001600160a01b038316158015906102df57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b1561037d578051604051636eb1769f60e11b81526001600160a01b0385811660048301527f0000000000000000000000000000000000000000000000000000000000000000811660248301529091169063dd62ed3e90604401602060405180830381865afa925050508015610371575060408051601f3d908101601f1916820190925261036e9181019061142d565b60015b1561037d578251608001525b80602001518260200151600001906001600160a01b031690816001600160a01b03168152505080602001516001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561040657506040513d6000823e601f3d908101601f19168201604052610403919081019061136d565b60015b156104145760208084015101525b80602001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561047757506040513d6000823e601f3d908101601f19168201604052610474919081019061136d565b60015b15610486576020830151604001525b80602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156104e4575060408051601f3d908101601f191682019092526104e191810190611403565b60015b156104fa57602083015160ff9091166060909101525b60408101516001600160a01b0316156109cb5760408082018051848301516001600160a01b03918216905290518251631ea148e360e31b8152925191169163f50a47189160048083019260209291908290030181865afa92505050801561057e575060408051601f3d908101601f1916820190925261057b91810190611446565b60015b1561059a5760408301516001600160a01b039091166020909101525b80604001516001600160a01b031663dc53858c6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156105f8575060408051601f3d908101601f191682019092526105f591810190611446565b60015b15610612576040808401516001600160a01b039092169101525b80604001516001600160a01b031663eaa2d7b46040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610670575060408051601f3d908101601f1916820190925261066d91810190611446565b60015b1561068c5760408301516001600160a01b039091166060909101525b80604001516001600160a01b031663054f7ac06040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156106ea575060408051601f3d908101601f191682019092526106e791810190611446565b60015b156107065760408301516001600160a01b039091166080909101525b80604001516001600160a01b03166356095e116040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610764575060408051601f3d908101601f1916820190925261076191810190611446565b60015b156107805760408301516001600160a01b0390911660a0909101525b80604001516001600160a01b031663acfbd39e6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156107de575060408051601f3d908101601f191682019092526107db91810190611446565b60015b156107fa5760408301516001600160a01b0390911660c0909101525b80604001516001600160a01b0316632e6f20a66040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610858575060408051601f3d908101601f1916820190925261085591810190611446565b60015b156108745760408301516001600160a01b0390911660e0909101525b80604001516001600160a01b031663461739d26040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156108d2575060408051601f3d908101601f191682019092526108cf91810190611446565b60015b156108ef5760408301516001600160a01b03909116610100909101525b80604001516001600160a01b031663ce4b5bbe6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561094d575060408051601f3d908101601f1916820190925261094a9181019061142d565b60015b1561095d57604083015161012001525b80604001516001600160a01b031663a035b1fe6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156109bb575060408051601f3d908101601f191682019092526109b89181019061142d565b60015b156109cb57604083015161014001525b6040820151602001516001600160a01b031615610b815760408083018051602080820151610160909201516001600160a01b0392831690529151909101518251633fabe5a360e21b8152925191169163feaf968c9160048083019260a09291908290030181865afa925050508015610a60575060408051601f3d908101601f19168201909252610a5d91810190611482565b60015b15610a8a5760008413610a74576000610a76565b835b604088015161016001516020015250505050505b8160400151602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610aec575060408051601f3d908101601f19168201909252610ae991810190611403565b60015b15610b07576040830151610160015160ff9091166060909101525b8160400151602001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610b6e57506040513d6000823e601f3d908101601f19168201604052610b6b919081019061136d565b60015b15610b8157604080840151610160015101525b604082015160a001516001600160a01b031615610d33576040808301805160a080820151610180909201516001600160a01b03928316905291518201518351633fabe5a360e21b8152935191169263feaf968c9260048083019391928290030181865afa925050508015610c12575060408051601f3d908101601f19168201909252610c0f91810190611482565b60015b15610c3c5760008413610c26576000610c28565b835b604088015161018001516020015250505050505b816040015160a001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c9e575060408051601f3d908101601f19168201909252610c9b91810190611403565b60015b15610cb9576040830151610180015160ff9091166060909101525b816040015160a001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610d2057506040513d6000823e601f3d908101601f19168201604052610d1d919081019061136d565b60015b15610d3357604080840151610180015101525b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615801590610d6a57508315155b15610e13576040516349e2903160e11b81526004810185905261dead60248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906393c5206290604401606060405180830381865afa925050508015610dfb575060408051601f3d908101601f19168201909252610df8918101906114eb565b60015b15610e115750506001600160801b031660808401525b505b5092915050565b6040518060a00160405280610e2d610f20565b8152602001610e3a610f20565b8152602001610ee5604080516101a081018252600080825260208083018290528284018290526060808401839052608080850184905260a0850184905260c0850184905260e0850184905261010085018490526101208501849052610140850184905285518082018752848152808401859052808701839052808301859052610160860152855190810186528381529182018390529381018490529283015261018081019190915290565b81526040805160a081018252600080825260208281018290529282018190526060820181905260808201529101908152602001600081525090565b6040518060a0016040528060006001600160a01b031681526020016060815260200160608152602001600060ff168152602001600081525090565b6001600160a01b0381168114610f7057600080fd5b50565b60008060408385031215610f8657600080fd5b823591506020830135610f9881610f5b565b809150509250929050565b60005b83811015610fbe578181015183820152602001610fa6565b50506000910152565b60008151808452610fdf816020860160208601610fa3565b601f01601f19169290920160200192915050565b60018060a01b0381511682526000602082015160a0602085015261101a60a0850182610fc7565b9050604083015184820360408601526110338282610fc7565b91505060ff6060840151166060850152608083015160808501528091505092915050565b60018060a01b0381511682526020810151602083015260006040820151608060408501526110886080850182610fc7565b60609384015160ff16949093019390935250919050565b602081526000825161012060208401526110bd610140840182610ff3565b90506020840151601f198483030160408501526110da8282610ff3565b9150506040840151601f198483030160608501526111018282516001600160a01b03169052565b602081015161111b60208401826001600160a01b03169052565b50604081015161113660408401826001600160a01b03169052565b50606081015161115160608401826001600160a01b03169052565b50608081015161116c60808401826001600160a01b03169052565b5060a081015161118760a08401826001600160a01b03169052565b5060c08101516111a260c08401826001600160a01b03169052565b5060e08101516111bd60e08401826001600160a01b03169052565b506101008101516111da6101008401826001600160a01b03169052565b506101208101516101208301526101408101516101408301526101608101516101a06101608401526112106101a0840182611057565b9050610180820151915082810361018084015261122d8183611057565b92505050606084015161127d608085018280516001600160a01b03908116835260208083015182169084015260408083015182169084015260608083015190911690830152608090810151910152565b5060808401516101208401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156112d2576112d2611293565b604052919050565b600060a08284031280156112ed57600080fd5b5060405160a0810167ffffffffffffffff8111828210171561131157611311611293565b604052825161131f81610f5b565b8152602083015161132f81610f5b565b6020820152604083015161134281610f5b565b6040820152606083015161135581610f5b565b60608201526080928301519281019290925250919050565b60006020828403121561137f57600080fd5b815167ffffffffffffffff81111561139657600080fd5b8201601f810184136113a757600080fd5b805167ffffffffffffffff8111156113c1576113c1611293565b6113d4601f8201601f19166020016112a9565b8181528560208385010111156113e957600080fd5b6113fa826020830160208601610fa3565b95945050505050565b60006020828403121561141557600080fd5b815160ff8116811461142657600080fd5b9392505050565b60006020828403121561143f57600080fd5b5051919050565b60006020828403121561145857600080fd5b815161142681610f5b565b805169ffffffffffffffffffff8116811461147d57600080fd5b919050565b600080600080600060a0868803121561149a57600080fd5b6114a386611463565b602087015160408801516060890151929750909550935091506114c860808701611463565b90509295509295909350565b80516001600160801b038116811461147d57600080fd5b60008060006060848603121561150057600080fd5b611509846114d4565b9250611517602085016114d4565b9150611525604085016114d4565b9050925092509256fea26469706673582212205d9824ce9af186960d8a22148286ebbddb3dc7ce366fc2254eed2fd705bf6ed764736f6c634300081b0033";
274
279
  const isSuperArgs = (xs) => xs.length > 1;
275
280
  class MorphoMarketDataFetcher__factory extends ethers_1.ContractFactory {
276
281
  constructor(...args) {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MorphoMarketDataFetcher__factory.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,cAAc;AACd,oBAAoB;AACpB,oBAAoB;AACpB,mCAKgB;AAahB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,kBAAkB;QACxB,OAAO,EAAE;YACP;gBACE,UAAU,EAAE;oBACV;wBACE,UAAU,EAAE;4BACV;gCACE,YAAY,EAAE,SAAS;gCACvB,IAAI,EAAE,cAAc;gCACpB,IAAI,EAAE,SAAS;6BAChB;4BACD;gCACE,YAAY,EAAE,QAAQ;gCACtB,IAAI,EAAE,MAAM;gCACZ,IAAI,EAAE,QAAQ;6BACf;4BACD;gCACE,YAAY,EAAE,QAAQ;gCACtB,IAAI,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J,MAAM,CAC+B,CAAC;IAC1C,CAAC;;AA7CH,4EA8CC"}
@@ -0,0 +1,6 @@
1
+ export { IChainlinkAggregator__factory } from "./IChainlinkAggregator__factory";
2
+ export { IERC20Metadata__factory } from "./IERC20Metadata__factory";
3
+ export { IMorpho__factory } from "./IMorpho__factory";
4
+ export { IMorphoChainlinkOracleV2__factory } from "./IMorphoChainlinkOracleV2__factory";
5
+ export { MorphoMarketDataFetcher__factory } from "./MorphoMarketDataFetcher__factory";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AACxF,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MorphoMarketDataFetcher__factory = exports.IMorphoChainlinkOracleV2__factory = exports.IMorpho__factory = exports.IERC20Metadata__factory = exports.IChainlinkAggregator__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ // @ts-nocheck
6
+ /* tslint:disable */
7
+ /* eslint-disable */
8
+ var IChainlinkAggregator__factory_1 = require("./IChainlinkAggregator__factory");
9
+ Object.defineProperty(exports, "IChainlinkAggregator__factory", { enumerable: true, get: function () { return IChainlinkAggregator__factory_1.IChainlinkAggregator__factory; } });
10
+ var IERC20Metadata__factory_1 = require("./IERC20Metadata__factory");
11
+ Object.defineProperty(exports, "IERC20Metadata__factory", { enumerable: true, get: function () { return IERC20Metadata__factory_1.IERC20Metadata__factory; } });
12
+ var IMorpho__factory_1 = require("./IMorpho__factory");
13
+ Object.defineProperty(exports, "IMorpho__factory", { enumerable: true, get: function () { return IMorpho__factory_1.IMorpho__factory; } });
14
+ var IMorphoChainlinkOracleV2__factory_1 = require("./IMorphoChainlinkOracleV2__factory");
15
+ Object.defineProperty(exports, "IMorphoChainlinkOracleV2__factory", { enumerable: true, get: function () { return IMorphoChainlinkOracleV2__factory_1.IMorphoChainlinkOracleV2__factory; } });
16
+ var MorphoMarketDataFetcher__factory_1 = require("./MorphoMarketDataFetcher__factory");
17
+ Object.defineProperty(exports, "MorphoMarketDataFetcher__factory", { enumerable: true, get: function () { return MorphoMarketDataFetcher__factory_1.MorphoMarketDataFetcher__factory; } });
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,cAAc;AACd,oBAAoB;AACpB,oBAAoB;AACpB,iFAAgF;AAAvE,8IAAA,6BAA6B,OAAA;AACtC,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAChC,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AACzB,yFAAwF;AAA/E,sJAAA,iCAAiC,OAAA;AAC1C,uFAAsF;AAA7E,oJAAA,gCAAgC,OAAA"}