morpho-contracts-helper 0.0.12 → 0.0.13

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 (52) hide show
  1. package/contracts/MorphoMarketDataFetcher.sol +129 -0
  2. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts +48 -0
  3. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts.map +1 -0
  4. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.js +3 -0
  5. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.js.map +1 -0
  6. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts +84 -0
  7. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts.map +1 -0
  8. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js +3 -0
  9. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js.map +1 -0
  10. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts +62 -0
  11. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts.map +1 -0
  12. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js +3 -0
  13. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js.map +1 -0
  14. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts +135 -0
  15. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts.map +1 -0
  16. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js +3 -0
  17. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js.map +1 -0
  18. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts +5 -0
  19. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +1 -0
  20. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.js +3 -0
  21. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.js.map +1 -0
  22. package/dist/typechain-types/contracts/index.d.ts +2 -0
  23. package/dist/typechain-types/contracts/index.d.ts.map +1 -1
  24. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts +56 -0
  25. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts.map +1 -0
  26. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js +84 -0
  27. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js.map +1 -0
  28. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts +108 -0
  29. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts.map +1 -0
  30. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js +151 -0
  31. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js.map +1 -0
  32. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts +69 -0
  33. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts.map +1 -0
  34. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js +101 -0
  35. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js.map +1 -0
  36. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts +293 -0
  37. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts.map +1 -0
  38. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js +389 -0
  39. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js.map +1 -0
  40. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts +5 -0
  41. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +1 -0
  42. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js +16 -0
  43. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js.map +1 -0
  44. package/dist/typechain-types/factories/contracts/index.d.ts +1 -0
  45. package/dist/typechain-types/factories/contracts/index.d.ts.map +1 -1
  46. package/dist/typechain-types/factories/contracts/index.js +2 -1
  47. package/dist/typechain-types/factories/contracts/index.js.map +1 -1
  48. package/dist/typechain-types/index.d.ts +2 -0
  49. package/dist/typechain-types/index.d.ts.map +1 -1
  50. package/dist/typechain-types/index.js +4 -2
  51. package/dist/typechain-types/index.js.map +1 -1
  52. package/package.json +1 -1
@@ -0,0 +1,293 @@
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 = "0x60a060405234801561001057600080fd5b506040516113e03803806113e083398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516113346100ac6000396000818160870152818160e201528181610363015281816103b201528181610a280152610a8301526113346000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806358bbfb5e14610046578063668a920f1461006f578063e183129814610082575b600080fd5b610059610054366004610bd3565b6100c1565b6040516100669190610ca0565b60405180910390f35b61005961007d366004610dea565b6101f6565b6100a97f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610066565b6100c9610b0f565b604051632c3c915760e01b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632c3c91579060240160a060405180830381865afa158015610131573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101559190610ee8565b80516020820151604080840151905163668a920f60e01b81526001600160a01b039384166004820152918316602483015291909116604482015260648101859052336084820152909150309063668a920f9060a401600060405180830381865afa1580156101c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526101ef919081019061109d565b9392505050565b6101fe610b0f565b80516001600160a01b03871690819052604080516306fdde0360e01b815290516306fdde03916004808201926000929091908290030181865afa92505050801561026a57506040513d6000823e601f3d908101601f19168201604052610267919081019061121e565b60015b15610276578151602001525b856001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa9250505080156102d557506040513d6000823e601f3d908101601f191682016040526102d2919081019061121e565b60015b156102e1578151604001525b856001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561033b575060408051601f3d908101601f1916820190925261033891810190611253565b60015b1561034e57815160ff9091166060909101525b6001600160a01b0382161580159061038e57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b1561042957604051636eb1769f60e11b81526001600160a01b0383811660048301527f00000000000000000000000000000000000000000000000000000000000000008116602483015287169063dd62ed3e90604401602060405180830381865afa92505050801561041d575060408051601f3d908101601f1916820190925261041a9181019061126e565b60015b15610429578151608001525b60208101516001600160a01b03861690819052604080516306fdde0360e01b815290516306fdde03916004808201926000929091908290030181865afa92505050801561049857506040513d6000823e601f3d908101601f19168201604052610495919081019061121e565b60015b156104a65760208083015101525b846001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561050557506040513d6000823e601f3d908101601f19168201604052610502919081019061121e565b60015b15610514576020820151604001525b846001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561056e575060408051601f3d908101601f1916820190925261056b91810190611253565b60015b1561058457602082015160ff9091166060909101525b6001600160a01b03841615610a26576040808201516001600160a01b038616908190528151631ea148e360e31b81529151909163f50a47189160048083019260209291908290030181865afa9250505080156105fd575060408051601f3d908101601f191682019092526105fa91810190611287565b60015b156106195760408201516001600160a01b039091166020909101525b836001600160a01b031663dc53858c6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610673575060408051601f3d908101601f1916820190925261067091810190611287565b60015b1561068d576040808301516001600160a01b039092169101525b836001600160a01b031663eaa2d7b46040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156106e7575060408051601f3d908101601f191682019092526106e491810190611287565b60015b156107035760408201516001600160a01b039091166060909101525b836001600160a01b031663054f7ac06040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561075d575060408051601f3d908101601f1916820190925261075a91810190611287565b60015b156107795760408201516001600160a01b039091166080909101525b836001600160a01b03166356095e116040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156107d3575060408051601f3d908101601f191682019092526107d091810190611287565b60015b156107ef5760408201516001600160a01b0390911660a0909101525b836001600160a01b031663acfbd39e6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610849575060408051601f3d908101601f1916820190925261084691810190611287565b60015b156108655760408201516001600160a01b0390911660c0909101525b836001600160a01b0316632e6f20a66040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156108bf575060408051601f3d908101601f191682019092526108bc91810190611287565b60015b156108db5760408201516001600160a01b0390911660e0909101525b836001600160a01b031663461739d26040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610935575060408051601f3d908101601f1916820190925261093291810190611287565b60015b156109525760408201516001600160a01b03909116610100909101525b836001600160a01b031663ce4b5bbe6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156109ac575060408051601f3d908101601f191682019092526109a99181019061126e565b60015b156109bc57604082015161012001525b836001600160a01b031663a035b1fe6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610a16575060408051601f3d908101601f19168201909252610a139181019061126e565b60015b15610a2657604082015161014001525b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615801590610a5d57508215155b15610b06576040516349e2903160e11b81526004810184905261dead60248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906393c5206290604401606060405180830381865afa925050508015610aee575060408051601f3d908101601f19168201909252610aeb918101906112bb565b60015b15610b045750506001600160801b031660608301525b505b95945050505050565b6040518060800160405280610b22610b98565b8152602001610b2f610b98565b8152604080516101608101825260008082526020828101829052928201819052606082018190526080820181905260a0820181905260c0820181905260e08201819052610100820181905261012082018190526101408201529101908152602001600081525090565b6040518060a0016040528060006001600160a01b031681526020016060815260200160608152602001600060ff168152602001600081525090565b600060208284031215610be557600080fd5b5035919050565b60005b83811015610c07578181015183820152602001610bef565b50506000910152565b60008151808452610c28816020860160208601610bec565b601f01601f19169290920160200192915050565b60018060a01b0381511682526000602082015160a06020850152610c6360a0850182610c10565b905060408301518482036040860152610c7c8282610c10565b91505060ff6060840151166060850152608083015160808501528091505092915050565b60208152600082516101c06020840152610cbe6101e0840182610c3c565b90506020840151601f19848303016040850152610cdb8282610c3c565b9150506040840151610cf96060850182516001600160a01b03169052565b60208101516001600160a01b03811660808601525060408101516001600160a01b03811660a08601525060608101516001600160a01b03811660c08601525060808101516001600160a01b03811660e08601525060a08101516001600160a01b0381166101008601525060c08101516001600160a01b0381166101208601525060e08101516001600160a01b038116610140860152506101008101516001600160a01b0381166101608601525061012081015161018085015261014001516101a0840152606093909301516101c0909201919091525090565b6001600160a01b0381168114610de757600080fd5b50565b600080600080600060a08688031215610e0257600080fd5b8535610e0d81610dd2565b94506020860135610e1d81610dd2565b93506040860135610e2d81610dd2565b9250606086013591506080860135610e4481610dd2565b809150509295509295909350565b634e487b7160e01b600052604160045260246000fd5b60405160a0810167ffffffffffffffff81118282101715610e8b57610e8b610e52565b60405290565b6040516080810167ffffffffffffffff81118282101715610e8b57610e8b610e52565b604051610160810167ffffffffffffffff81118282101715610e8b57610e8b610e52565b8051610ee381610dd2565b919050565b600060a0828403128015610efb57600080fd5b50610f04610e68565b8251610f0f81610dd2565b81526020830151610f1f81610dd2565b60208201526040830151610f3281610dd2565b60408201526060830151610f4581610dd2565b60608201526080928301519281019290925250919050565b600082601f830112610f6e57600080fd5b815167ffffffffffffffff811115610f8857610f88610e52565b604051601f8201601f19908116603f0116810167ffffffffffffffff81118282101715610fb757610fb7610e52565b604052818152838201602001851015610fcf57600080fd5b610fe0826020830160208701610bec565b949350505050565b805160ff81168114610ee357600080fd5b600060a0828403121561100b57600080fd5b611013610e68565b9050815161102081610dd2565b8152602082015167ffffffffffffffff81111561103c57600080fd5b61104884828501610f5d565b602083015250604082015167ffffffffffffffff81111561106857600080fd5b61107484828501610f5d565b60408301525061108660608301610fe8565b606082015260809182015191810191909152919050565b6000602082840312156110af57600080fd5b815167ffffffffffffffff8111156110c657600080fd5b82018084036101c08112156110da57600080fd5b6110e2610e91565b825167ffffffffffffffff8111156110f957600080fd5b61110587828601610ff9565b825250602083015167ffffffffffffffff81111561112257600080fd5b61112e87828601610ff9565b602083015250610160603f198301121561114757600080fd5b61114f610eb4565b915061115d60408401610ed8565b825261116b60608401610ed8565b602083015261117c60808401610ed8565b604083015261118d60a08401610ed8565b606083015261119e60c08401610ed8565b60808301526111af60e08401610ed8565b60a08301526111c16101008401610ed8565b60c08301526111d36101208401610ed8565b60e08301526111e56101408401610ed8565b61010083015261016083015161012083015261018083015161014083015260408101919091526101a09091015160608201529392505050565b60006020828403121561123057600080fd5b815167ffffffffffffffff81111561124757600080fd5b610fe084828501610f5d565b60006020828403121561126557600080fd5b6101ef82610fe8565b60006020828403121561128057600080fd5b5051919050565b60006020828403121561129957600080fd5b81516101ef81610dd2565b80516001600160801b0381168114610ee357600080fd5b6000806000606084860312156112d057600080fd5b6112d9846112a4565b92506112e7602085016112a4565b91506112f5604085016112a4565b9050925092509256fea2646970667358221220c9cc5228127b14058a936657f4cd32490c1cae7e04c197ffbb62a7ccf4510e0964736f6c634300081b0033";
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: "address";
29
+ readonly name: "loanToken";
30
+ readonly type: "address";
31
+ }, {
32
+ readonly internalType: "address";
33
+ readonly name: "collateralToken";
34
+ readonly type: "address";
35
+ }, {
36
+ readonly internalType: "address";
37
+ readonly name: "oracle";
38
+ readonly type: "address";
39
+ }, {
40
+ readonly internalType: "bytes32";
41
+ readonly name: "marketId";
42
+ readonly type: "bytes32";
43
+ }, {
44
+ readonly internalType: "address";
45
+ readonly name: "connectedAddress";
46
+ readonly type: "address";
47
+ }];
48
+ readonly name: "getMarketDetails";
49
+ readonly outputs: readonly [{
50
+ readonly components: readonly [{
51
+ readonly components: readonly [{
52
+ readonly internalType: "address";
53
+ readonly name: "tokenAddress";
54
+ readonly type: "address";
55
+ }, {
56
+ readonly internalType: "string";
57
+ readonly name: "name";
58
+ readonly type: "string";
59
+ }, {
60
+ readonly internalType: "string";
61
+ readonly name: "symbol";
62
+ readonly type: "string";
63
+ }, {
64
+ readonly internalType: "uint8";
65
+ readonly name: "decimals";
66
+ readonly type: "uint8";
67
+ }, {
68
+ readonly internalType: "uint256";
69
+ readonly name: "userAllowance";
70
+ readonly type: "uint256";
71
+ }];
72
+ readonly internalType: "struct MorphoMarketDataFetcher.TokenInfo";
73
+ readonly name: "loanToken";
74
+ readonly type: "tuple";
75
+ }, {
76
+ readonly components: readonly [{
77
+ readonly internalType: "address";
78
+ readonly name: "tokenAddress";
79
+ readonly type: "address";
80
+ }, {
81
+ readonly internalType: "string";
82
+ readonly name: "name";
83
+ readonly type: "string";
84
+ }, {
85
+ readonly internalType: "string";
86
+ readonly name: "symbol";
87
+ readonly type: "string";
88
+ }, {
89
+ readonly internalType: "uint8";
90
+ readonly name: "decimals";
91
+ readonly type: "uint8";
92
+ }, {
93
+ readonly internalType: "uint256";
94
+ readonly name: "userAllowance";
95
+ readonly type: "uint256";
96
+ }];
97
+ readonly internalType: "struct MorphoMarketDataFetcher.TokenInfo";
98
+ readonly name: "collateralToken";
99
+ readonly type: "tuple";
100
+ }, {
101
+ readonly components: readonly [{
102
+ readonly internalType: "address";
103
+ readonly name: "oracleAddress";
104
+ readonly type: "address";
105
+ }, {
106
+ readonly internalType: "address";
107
+ readonly name: "baseFeed1";
108
+ readonly type: "address";
109
+ }, {
110
+ readonly internalType: "address";
111
+ readonly name: "baseFeed2";
112
+ readonly type: "address";
113
+ }, {
114
+ readonly internalType: "address";
115
+ readonly name: "baseVault";
116
+ readonly type: "address";
117
+ }, {
118
+ readonly internalType: "address";
119
+ readonly name: "baseVaultConversionSample";
120
+ readonly type: "address";
121
+ }, {
122
+ readonly internalType: "address";
123
+ readonly name: "quoteFeed1";
124
+ readonly type: "address";
125
+ }, {
126
+ readonly internalType: "address";
127
+ readonly name: "quoteFeed2";
128
+ readonly type: "address";
129
+ }, {
130
+ readonly internalType: "address";
131
+ readonly name: "quoteVault";
132
+ readonly type: "address";
133
+ }, {
134
+ readonly internalType: "address";
135
+ readonly name: "quoteVaultConversionSample";
136
+ readonly type: "address";
137
+ }, {
138
+ readonly internalType: "uint256";
139
+ readonly name: "scaleFactor";
140
+ readonly type: "uint256";
141
+ }, {
142
+ readonly internalType: "uint256";
143
+ readonly name: "currentPrice";
144
+ readonly type: "uint256";
145
+ }];
146
+ readonly internalType: "struct MorphoMarketDataFetcher.OracleInfo";
147
+ readonly name: "oracle";
148
+ readonly type: "tuple";
149
+ }, {
150
+ readonly internalType: "uint256";
151
+ readonly name: "deadAddressSupply";
152
+ readonly type: "uint256";
153
+ }];
154
+ readonly internalType: "struct MorphoMarketDataFetcher.MarketData";
155
+ readonly name: "data";
156
+ readonly type: "tuple";
157
+ }];
158
+ readonly stateMutability: "view";
159
+ readonly type: "function";
160
+ }, {
161
+ readonly inputs: readonly [{
162
+ readonly internalType: "bytes32";
163
+ readonly name: "marketId";
164
+ readonly type: "bytes32";
165
+ }];
166
+ readonly name: "getMarketDetailsById";
167
+ readonly outputs: readonly [{
168
+ readonly components: readonly [{
169
+ readonly components: readonly [{
170
+ readonly internalType: "address";
171
+ readonly name: "tokenAddress";
172
+ readonly type: "address";
173
+ }, {
174
+ readonly internalType: "string";
175
+ readonly name: "name";
176
+ readonly type: "string";
177
+ }, {
178
+ readonly internalType: "string";
179
+ readonly name: "symbol";
180
+ readonly type: "string";
181
+ }, {
182
+ readonly internalType: "uint8";
183
+ readonly name: "decimals";
184
+ readonly type: "uint8";
185
+ }, {
186
+ readonly internalType: "uint256";
187
+ readonly name: "userAllowance";
188
+ readonly type: "uint256";
189
+ }];
190
+ readonly internalType: "struct MorphoMarketDataFetcher.TokenInfo";
191
+ readonly name: "loanToken";
192
+ readonly type: "tuple";
193
+ }, {
194
+ readonly components: readonly [{
195
+ readonly internalType: "address";
196
+ readonly name: "tokenAddress";
197
+ readonly type: "address";
198
+ }, {
199
+ readonly internalType: "string";
200
+ readonly name: "name";
201
+ readonly type: "string";
202
+ }, {
203
+ readonly internalType: "string";
204
+ readonly name: "symbol";
205
+ readonly type: "string";
206
+ }, {
207
+ readonly internalType: "uint8";
208
+ readonly name: "decimals";
209
+ readonly type: "uint8";
210
+ }, {
211
+ readonly internalType: "uint256";
212
+ readonly name: "userAllowance";
213
+ readonly type: "uint256";
214
+ }];
215
+ readonly internalType: "struct MorphoMarketDataFetcher.TokenInfo";
216
+ readonly name: "collateralToken";
217
+ readonly type: "tuple";
218
+ }, {
219
+ readonly components: readonly [{
220
+ readonly internalType: "address";
221
+ readonly name: "oracleAddress";
222
+ readonly type: "address";
223
+ }, {
224
+ readonly internalType: "address";
225
+ readonly name: "baseFeed1";
226
+ readonly type: "address";
227
+ }, {
228
+ readonly internalType: "address";
229
+ readonly name: "baseFeed2";
230
+ readonly type: "address";
231
+ }, {
232
+ readonly internalType: "address";
233
+ readonly name: "baseVault";
234
+ readonly type: "address";
235
+ }, {
236
+ readonly internalType: "address";
237
+ readonly name: "baseVaultConversionSample";
238
+ readonly type: "address";
239
+ }, {
240
+ readonly internalType: "address";
241
+ readonly name: "quoteFeed1";
242
+ readonly type: "address";
243
+ }, {
244
+ readonly internalType: "address";
245
+ readonly name: "quoteFeed2";
246
+ readonly type: "address";
247
+ }, {
248
+ readonly internalType: "address";
249
+ readonly name: "quoteVault";
250
+ readonly type: "address";
251
+ }, {
252
+ readonly internalType: "address";
253
+ readonly name: "quoteVaultConversionSample";
254
+ readonly type: "address";
255
+ }, {
256
+ readonly internalType: "uint256";
257
+ readonly name: "scaleFactor";
258
+ readonly type: "uint256";
259
+ }, {
260
+ readonly internalType: "uint256";
261
+ readonly name: "currentPrice";
262
+ readonly type: "uint256";
263
+ }];
264
+ readonly internalType: "struct MorphoMarketDataFetcher.OracleInfo";
265
+ readonly name: "oracle";
266
+ readonly type: "tuple";
267
+ }, {
268
+ readonly internalType: "uint256";
269
+ readonly name: "deadAddressSupply";
270
+ readonly type: "uint256";
271
+ }];
272
+ readonly internalType: "struct MorphoMarketDataFetcher.MarketData";
273
+ readonly name: "";
274
+ readonly type: "tuple";
275
+ }];
276
+ readonly stateMutability: "view";
277
+ readonly type: "function";
278
+ }, {
279
+ readonly inputs: readonly [];
280
+ readonly name: "morphoAddress";
281
+ readonly outputs: readonly [{
282
+ readonly internalType: "address";
283
+ readonly name: "";
284
+ readonly type: "address";
285
+ }];
286
+ readonly stateMutability: "view";
287
+ readonly type: "function";
288
+ }];
289
+ static createInterface(): MorphoMarketDataFetcherInterface;
290
+ static connect(address: string, runner?: ContractRunner | null): MorphoMarketDataFetcher;
291
+ }
292
+ export {};
293
+ //# 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/MorphoMarketDataFetcher__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,MAAM,EACN,WAAW,EACX,yBAAyB,EACzB,cAAc,EACf,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,wEAAwE,CAAC;AAoWhF,KAAK,wCAAwC,GACzC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,gCAAiC,SAAQ,eAAe;gBACvD,GAAG,IAAI,EAAE,wCAAwC;IAQpD,oBAAoB,CAC3B,cAAc,EAAE,WAAW,EAC3B,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,MAAM,CACb,cAAc,EAAE,WAAW,EAC3B,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAEK,OAAO,CAC7D,uBAAuB,GAAG;QACxB,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CACd,MAAM,EAAE,cAAc,GAAG,IAAI,GAC5B,gCAAgC;IAInC,MAAM,CAAC,QAAQ,CAAC,QAAQ,w8TAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}