morpho-contracts-helper 0.0.18 → 0.0.19

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 (64) hide show
  1. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.d.ts +60 -0
  2. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.d.ts.map +1 -0
  3. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.js +3 -0
  4. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.js.map +1 -0
  5. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts +48 -0
  6. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts.map +1 -0
  7. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.js +3 -0
  8. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.js.map +1 -0
  9. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts +84 -0
  10. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts.map +1 -0
  11. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js +3 -0
  12. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js.map +1 -0
  13. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts +62 -0
  14. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts.map +1 -0
  15. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js +3 -0
  16. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js.map +1 -0
  17. package/dist/typechain-types/contracts/{MorphoMarketDataFetcher.d.ts → MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts} +12 -10
  18. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts.map +1 -0
  19. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js.map +1 -0
  20. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts +6 -0
  21. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +1 -0
  22. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.js +3 -0
  23. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.js.map +1 -0
  24. package/dist/typechain-types/contracts/index.d.ts +2 -1
  25. package/dist/typechain-types/contracts/index.d.ts.map +1 -1
  26. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.d.ts +44 -0
  27. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.d.ts.map +1 -0
  28. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.js +67 -0
  29. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.js.map +1 -0
  30. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts +56 -0
  31. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts.map +1 -0
  32. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js +84 -0
  33. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js.map +1 -0
  34. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts +108 -0
  35. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts.map +1 -0
  36. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js +151 -0
  37. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js.map +1 -0
  38. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts +69 -0
  39. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts.map +1 -0
  40. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js +101 -0
  41. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js.map +1 -0
  42. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts +230 -0
  43. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts.map +1 -0
  44. package/dist/typechain-types/factories/contracts/{MorphoMarketDataFetcher__factory.js → MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js} +16 -11
  45. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js.map +1 -0
  46. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts +6 -0
  47. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +1 -0
  48. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js +18 -0
  49. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js.map +1 -0
  50. package/dist/typechain-types/factories/contracts/index.d.ts +1 -1
  51. package/dist/typechain-types/factories/contracts/index.d.ts.map +1 -1
  52. package/dist/typechain-types/factories/contracts/index.js +2 -3
  53. package/dist/typechain-types/factories/contracts/index.js.map +1 -1
  54. package/dist/typechain-types/index.d.ts +4 -4
  55. package/dist/typechain-types/index.d.ts.map +1 -1
  56. package/dist/typechain-types/index.js +4 -4
  57. package/dist/typechain-types/index.js.map +1 -1
  58. package/package.json +1 -1
  59. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.d.ts.map +0 -1
  60. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.js.map +0 -1
  61. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher__factory.d.ts +0 -226
  62. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher__factory.d.ts.map +0 -1
  63. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher__factory.js.map +0 -1
  64. /package/dist/typechain-types/contracts/{MorphoMarketDataFetcher.js → MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js} +0 -0
@@ -1,226 +0,0 @@
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";
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 = "0x60a060405234801561001057600080fd5b506040516115da3803806115da83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161152e6100ac6000396000818160690152818160c4015281816102ab015281816102fa01528181610d100152610d6e015261152e6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063881268cb1461003b578063e183129814610064575b600080fd5b61004e610049366004610f31565b6100a3565b60405161005b9190611046565b60405180910390f35b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161005b565b6100ab610df0565b604051632c3c915760e01b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632c3c91579060240160a060405180830381865afa158015610113573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101379190611277565b60608301819052805183516001600160a01b0391821690528151604080516306fdde0360e01b815290519394509116916306fdde03916004808201926000929091908290030181865afa9250505080156101b357506040513d6000823e601f3d908101601f191682016040526101b0919081019061130a565b60015b156101bf578251602001525b80600001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561022257506040513d6000823e601f3d908101601f1916820160405261021f919081019061130a565b60015b1561022e578251604001525b80600001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561028c575060408051601f3d908101601f19168201909252610289918101906113a0565b60015b1561029f57825160ff9091166060909101525b33158015906102d657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b15610372578051604051636eb1769f60e11b81523360048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301529091169063dd62ed3e90604401602060405180830381865afa925050508015610366575060408051601f3d908101601f19168201909252610363918101906113ca565b60015b15610372578251608001525b80602001518260200151600001906001600160a01b031690816001600160a01b03168152505080602001516001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa9250505080156103fb57506040513d6000823e601f3d908101601f191682016040526103f8919081019061130a565b60015b156104095760208084015101525b80602001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561046c57506040513d6000823e601f3d908101601f19168201604052610469919081019061130a565b60015b1561047b576020830151604001525b80602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156104d9575060408051601f3d908101601f191682019092526104d6918101906113a0565b60015b156104ef57602083015160ff9091166060909101525b60408101516001600160a01b0316156109a65760408082018051848301516001600160a01b03918216905290518251631ea148e360e31b8152925191169163f50a47189160048083019260209291908290030181865afa925050508015610573575060408051601f3d908101601f19168201909252610570918101906113e3565b60015b1561058f5760408301516001600160a01b039091166020909101525b80604001516001600160a01b031663dc53858c6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156105ed575060408051601f3d908101601f191682019092526105ea918101906113e3565b60015b15610607576040808401516001600160a01b039092169101525b80604001516001600160a01b031663eaa2d7b46040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610665575060408051601f3d908101601f19168201909252610662918101906113e3565b60015b156106815760408301516001600160a01b039091166060909101525b80604001516001600160a01b031663054f7ac06040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156106df575060408051601f3d908101601f191682019092526106dc918101906113ca565b60015b156106ee576040830151608001525b80604001516001600160a01b03166356095e116040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561074c575060408051601f3d908101601f19168201909252610749918101906113e3565b60015b156107685760408301516001600160a01b0390911660a0909101525b80604001516001600160a01b031663acfbd39e6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156107c6575060408051601f3d908101601f191682019092526107c3918101906113e3565b60015b156107e25760408301516001600160a01b0390911660c0909101525b80604001516001600160a01b0316632e6f20a66040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610840575060408051601f3d908101601f1916820190925261083d918101906113e3565b60015b1561085c5760408301516001600160a01b0390911660e0909101525b80604001516001600160a01b031663461739d26040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156108ba575060408051601f3d908101601f191682019092526108b7918101906113ca565b60015b156108ca57604083015161010001525b80604001516001600160a01b031663ce4b5bbe6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610928575060408051601f3d908101601f19168201909252610925918101906113ca565b60015b1561093857604083015161012001525b80604001516001600160a01b031663a035b1fe6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610996575060408051601f3d908101601f19168201909252610993918101906113ca565b60015b156109a657604083015161014001525b6040820151602001516001600160a01b031615610b5c5760408083018051602080820151610160909201516001600160a01b0392831690529151909101518251633fabe5a360e21b8152925191169163feaf968c9160048083019260a09291908290030181865afa925050508015610a3b575060408051601f3d908101601f19168201909252610a389181019061141f565b60015b15610a655760008413610a4f576000610a51565b835b604088015161016001516020015250505050505b8160400151602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ac7575060408051601f3d908101601f19168201909252610ac4918101906113a0565b60015b15610ae2576040830151610160015160ff9091166060909101525b8160400151602001516001600160a01b0316637284e4166040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610b4957506040513d6000823e601f3d908101601f19168201604052610b46919081019061130a565b60015b15610b5c57604080840151610160015101525b604082015160a001516001600160a01b031615610d0e576040808301805160a080820151610180909201516001600160a01b03928316905291518201518351633fabe5a360e21b8152935191169263feaf968c9260048083019391928290030181865afa925050508015610bed575060408051601f3d908101601f19168201909252610bea9181019061141f565b60015b15610c175760008413610c01576000610c03565b835b604088015161018001516020015250505050505b816040015160a001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c79575060408051601f3d908101601f19168201909252610c76918101906113a0565b60015b15610c94576040830151610180015160ff9091166060909101525b816040015160a001516001600160a01b0316637284e4166040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610cfb57506040513d6000823e601f3d908101601f19168201604052610cf8919081019061130a565b60015b15610d0e57604080840151610180015101525b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615801590610d4557508215155b15610dea576040516349e2903160e11b81526004810184905261dead60248201819052906000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906393c5206290604401606060405180830381865afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de19190611491565b51608085015250505b50919050565b6040518060a00160405280610e03610ef6565b8152602001610e10610ef6565b8152602001610ebb604080516101a081018252600080825260208083018290528284018290526060808401839052608080850184905260a0850184905260c0850184905260e0850184905261010085018490526101208501849052610140850184905285518082018752848152808401859052808701839052808301859052610160860152855190810186528381529182018390529381018490529283015261018081019190915290565b81526040805160a081018252600080825260208281018290529282018190526060820181905260808201529101908152602001600081525090565b6040518060a0016040528060006001600160a01b031681526020016060815260200160608152602001600060ff168152602001600081525090565b600060208284031215610f4357600080fd5b5035919050565b60005b83811015610f65578181015183820152602001610f4d565b50506000910152565b60008151808452610f86816020860160208601610f4a565b601f01601f19169290920160200192915050565b60018060a01b0381511682526000602082015160a06020850152610fc160a0850182610f6e565b905060408301518482036040860152610fda8282610f6e565b91505060ff6060840151166060850152608083015160808501528091505092915050565b60018060a01b03815116825260208101516020830152600060408201516080604085015261102f6080850182610f6e565b60609384015160ff16949093019390935250919050565b60208152600082516101206020840152611064610140840182610f9a565b90506020840151601f198483030160408501526110818282610f9a565b9150506040840151601f198483030160608501526110a88282516001600160a01b03169052565b60208101516110c260208401826001600160a01b03169052565b5060408101516110dd60408401826001600160a01b03169052565b5060608101516110f860608401826001600160a01b03169052565b506080810151608083015260a081015161111d60a08401826001600160a01b03169052565b5060c081015161113860c08401826001600160a01b03169052565b5060e081015161115360e08401826001600160a01b03169052565b506101008101516101008301526101208101516101208301526101408101516101408301526101608101516101a06101608401526111956101a0840182610ffe565b905061018082015191508281036101808401526111b28183610ffe565b925050506060840151611202608085018280516001600160a01b03908116835260208083015182169084015260408083015182169084015260608083015190911690830152608090810151910152565b5060808401516101208401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561125757611257611218565b604052919050565b6001600160a01b038116811461127457600080fd5b50565b600060a082840312801561128a57600080fd5b5060405160a0810167ffffffffffffffff811182821017156112ae576112ae611218565b60405282516112bc8161125f565b815260208301516112cc8161125f565b602082015260408301516112df8161125f565b604082015260608301516112f28161125f565b60608201526080928301519281019290925250919050565b60006020828403121561131c57600080fd5b815167ffffffffffffffff81111561133357600080fd5b8201601f8101841361134457600080fd5b805167ffffffffffffffff81111561135e5761135e611218565b611371601f8201601f191660200161122e565b81815285602083850101111561138657600080fd5b611397826020830160208601610f4a565b95945050505050565b6000602082840312156113b257600080fd5b815160ff811681146113c357600080fd5b9392505050565b6000602082840312156113dc57600080fd5b5051919050565b6000602082840312156113f557600080fd5b81516113c38161125f565b805169ffffffffffffffffffff8116811461141a57600080fd5b919050565b600080600080600060a0868803121561143757600080fd5b61144086611400565b6020870151604088015160608901519297509095509350915061146560808701611400565b90509295509295909350565b80516fffffffffffffffffffffffffffffffff8116811461141a57600080fd5b600060608284031280156114a457600080fd5b506040516060810167ffffffffffffffff811182821017156114c8576114c8611218565b604052825181526114db60208401611471565b60208201526114ec60408401611471565b6040820152939250505056fea264697066735822122002d3425b89c02f9e7be223b7253512a9671a416430486ef7eac944a00099090264736f6c634300081b0033";
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 name: "getMarketDetails";
33
- readonly outputs: readonly [{
34
- readonly components: readonly [{
35
- readonly components: readonly [{
36
- readonly internalType: "address";
37
- readonly name: "tokenAddress";
38
- readonly type: "address";
39
- }, {
40
- readonly internalType: "string";
41
- readonly name: "name";
42
- readonly type: "string";
43
- }, {
44
- readonly internalType: "string";
45
- readonly name: "symbol";
46
- readonly type: "string";
47
- }, {
48
- readonly internalType: "uint8";
49
- readonly name: "decimals";
50
- readonly type: "uint8";
51
- }, {
52
- readonly internalType: "uint256";
53
- readonly name: "userAllowance";
54
- readonly type: "uint256";
55
- }];
56
- readonly internalType: "struct MorphoMarketDataFetcher.TokenInfo";
57
- readonly name: "loanToken";
58
- readonly type: "tuple";
59
- }, {
60
- readonly components: readonly [{
61
- readonly internalType: "address";
62
- readonly name: "tokenAddress";
63
- readonly type: "address";
64
- }, {
65
- readonly internalType: "string";
66
- readonly name: "name";
67
- readonly type: "string";
68
- }, {
69
- readonly internalType: "string";
70
- readonly name: "symbol";
71
- readonly type: "string";
72
- }, {
73
- readonly internalType: "uint8";
74
- readonly name: "decimals";
75
- readonly type: "uint8";
76
- }, {
77
- readonly internalType: "uint256";
78
- readonly name: "userAllowance";
79
- readonly type: "uint256";
80
- }];
81
- readonly internalType: "struct MorphoMarketDataFetcher.TokenInfo";
82
- readonly name: "collateralToken";
83
- readonly type: "tuple";
84
- }, {
85
- readonly components: readonly [{
86
- readonly internalType: "address";
87
- readonly name: "oracleAddress";
88
- readonly type: "address";
89
- }, {
90
- readonly internalType: "contract AggregatorV3Interface";
91
- readonly name: "baseFeed1";
92
- readonly type: "address";
93
- }, {
94
- readonly internalType: "contract AggregatorV3Interface";
95
- readonly name: "baseFeed2";
96
- readonly type: "address";
97
- }, {
98
- readonly internalType: "contract IERC4626";
99
- readonly name: "baseVault";
100
- readonly type: "address";
101
- }, {
102
- readonly internalType: "uint256";
103
- readonly name: "baseVaultConversionSample";
104
- readonly type: "uint256";
105
- }, {
106
- readonly internalType: "contract AggregatorV3Interface";
107
- readonly name: "quoteFeed1";
108
- readonly type: "address";
109
- }, {
110
- readonly internalType: "contract AggregatorV3Interface";
111
- readonly name: "quoteFeed2";
112
- readonly type: "address";
113
- }, {
114
- readonly internalType: "contract IERC4626";
115
- readonly name: "quoteVault";
116
- readonly type: "address";
117
- }, {
118
- readonly internalType: "uint256";
119
- readonly name: "quoteVaultConversionSample";
120
- readonly type: "uint256";
121
- }, {
122
- readonly internalType: "uint256";
123
- readonly name: "scaleFactor";
124
- readonly type: "uint256";
125
- }, {
126
- readonly internalType: "uint256";
127
- readonly name: "currentPrice";
128
- readonly type: "uint256";
129
- }, {
130
- readonly components: readonly [{
131
- readonly internalType: "address";
132
- readonly name: "oracleAddress";
133
- readonly type: "address";
134
- }, {
135
- readonly internalType: "uint256";
136
- readonly name: "price";
137
- readonly type: "uint256";
138
- }, {
139
- readonly internalType: "string";
140
- readonly name: "symbol";
141
- readonly type: "string";
142
- }, {
143
- readonly internalType: "uint8";
144
- readonly name: "decimals";
145
- readonly type: "uint8";
146
- }];
147
- readonly internalType: "struct MorphoMarketDataFetcher.MockOracleInfo";
148
- readonly name: "baseFeed";
149
- readonly type: "tuple";
150
- }, {
151
- readonly components: readonly [{
152
- readonly internalType: "address";
153
- readonly name: "oracleAddress";
154
- readonly type: "address";
155
- }, {
156
- readonly internalType: "uint256";
157
- readonly name: "price";
158
- readonly type: "uint256";
159
- }, {
160
- readonly internalType: "string";
161
- readonly name: "symbol";
162
- readonly type: "string";
163
- }, {
164
- readonly internalType: "uint8";
165
- readonly name: "decimals";
166
- readonly type: "uint8";
167
- }];
168
- readonly internalType: "struct MorphoMarketDataFetcher.MockOracleInfo";
169
- readonly name: "quoteFeed";
170
- readonly type: "tuple";
171
- }];
172
- readonly internalType: "struct MorphoMarketDataFetcher.OracleInfo";
173
- readonly name: "oracle";
174
- readonly type: "tuple";
175
- }, {
176
- readonly components: readonly [{
177
- readonly internalType: "address";
178
- readonly name: "loanToken";
179
- readonly type: "address";
180
- }, {
181
- readonly internalType: "address";
182
- readonly name: "collateralToken";
183
- readonly type: "address";
184
- }, {
185
- readonly internalType: "address";
186
- readonly name: "oracle";
187
- readonly type: "address";
188
- }, {
189
- readonly internalType: "address";
190
- readonly name: "irm";
191
- readonly type: "address";
192
- }, {
193
- readonly internalType: "uint256";
194
- readonly name: "lltv";
195
- readonly type: "uint256";
196
- }];
197
- readonly internalType: "struct MarketParams";
198
- readonly name: "marketParams";
199
- readonly type: "tuple";
200
- }, {
201
- readonly internalType: "uint256";
202
- readonly name: "deadAddressSupply";
203
- readonly type: "uint256";
204
- }];
205
- readonly internalType: "struct MorphoMarketDataFetcher.MarketData";
206
- readonly name: "data";
207
- readonly type: "tuple";
208
- }];
209
- readonly stateMutability: "view";
210
- readonly type: "function";
211
- }, {
212
- readonly inputs: readonly [];
213
- readonly name: "morphoAddress";
214
- readonly outputs: readonly [{
215
- readonly internalType: "address";
216
- readonly name: "";
217
- readonly type: "address";
218
- }];
219
- readonly stateMutability: "view";
220
- readonly type: "function";
221
- }];
222
- static createInterface(): MorphoMarketDataFetcherInterface;
223
- static connect(address: string, runner?: ContractRunner | null): MorphoMarketDataFetcher;
224
- }
225
- export {};
226
- //# sourceMappingURL=MorphoMarketDataFetcher__factory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MorphoMarketDataFetcher__factory.d.ts","sourceRoot":"","sources":["../../../../typechain-types/factories/contracts/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,cAAc,CAAC;AACxD,OAAO,KAAK,EACV,uBAAuB,EACvB,gCAAgC,EACjC,MAAM,yCAAyC,CAAC;AA8QjD,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,47VAAa;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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"MorphoMarketDataFetcher__factory.js","sourceRoot":"","sources":["../../../../typechain-types/factories/contracts/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;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,I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