morpho-contracts-helper 0.0.16 → 0.0.18

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 (72) hide show
  1. package/contracts/MorphoMarketDataFetcher.sol +6 -3
  2. package/contracts/MorphoVaultV2DeployHelper.sol +184 -0
  3. package/dist/typechain-types/contracts/{MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts → MorphoMarketDataFetcher.d.ts} +7 -7
  4. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.d.ts.map +1 -0
  5. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.js.map +1 -0
  6. package/dist/typechain-types/contracts/MorphoVaultV2DeployHelper.d.ts +162 -0
  7. package/dist/typechain-types/contracts/MorphoVaultV2DeployHelper.d.ts.map +1 -0
  8. package/dist/typechain-types/contracts/{MorphoMarketDataFetcher.sol/IERC20Metadata.js → MorphoVaultV2DeployHelper.js} +1 -1
  9. package/dist/typechain-types/contracts/MorphoVaultV2DeployHelper.js.map +1 -0
  10. package/dist/typechain-types/contracts/index.d.ts +2 -2
  11. package/dist/typechain-types/contracts/index.d.ts.map +1 -1
  12. package/dist/typechain-types/factories/contracts/{MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts → MorphoMarketDataFetcher__factory.d.ts} +13 -13
  13. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher__factory.d.ts.map +1 -0
  14. package/dist/typechain-types/factories/contracts/{MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js → MorphoMarketDataFetcher__factory.js} +11 -11
  15. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher__factory.js.map +1 -0
  16. package/dist/typechain-types/factories/contracts/MorphoVaultV2DeployHelper__factory.d.ts +198 -0
  17. package/dist/typechain-types/factories/contracts/MorphoVaultV2DeployHelper__factory.d.ts.map +1 -0
  18. package/dist/typechain-types/factories/contracts/MorphoVaultV2DeployHelper__factory.js +265 -0
  19. package/dist/typechain-types/factories/contracts/MorphoVaultV2DeployHelper__factory.js.map +1 -0
  20. package/dist/typechain-types/factories/contracts/index.d.ts +2 -1
  21. package/dist/typechain-types/factories/contracts/index.d.ts.map +1 -1
  22. package/dist/typechain-types/factories/contracts/index.js +5 -2
  23. package/dist/typechain-types/factories/contracts/index.js.map +1 -1
  24. package/dist/typechain-types/index.d.ts +6 -4
  25. package/dist/typechain-types/index.d.ts.map +1 -1
  26. package/dist/typechain-types/index.js +7 -5
  27. package/dist/typechain-types/index.js.map +1 -1
  28. package/package.json +1 -1
  29. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.d.ts +0 -60
  30. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.d.ts.map +0 -1
  31. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.js +0 -3
  32. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator.js.map +0 -1
  33. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts +0 -48
  34. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.d.ts.map +0 -1
  35. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata.js.map +0 -1
  36. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts +0 -84
  37. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.d.ts.map +0 -1
  38. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js +0 -3
  39. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorpho.js.map +0 -1
  40. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts +0 -62
  41. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.d.ts.map +0 -1
  42. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js +0 -3
  43. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2.js.map +0 -1
  44. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.d.ts.map +0 -1
  45. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js.map +0 -1
  46. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts +0 -6
  47. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +0 -1
  48. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.js +0 -3
  49. package/dist/typechain-types/contracts/MorphoMarketDataFetcher.sol/index.js.map +0 -1
  50. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.d.ts +0 -44
  51. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.d.ts.map +0 -1
  52. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.js +0 -67
  53. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IChainlinkAggregator__factory.js.map +0 -1
  54. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts +0 -56
  55. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.d.ts.map +0 -1
  56. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js +0 -84
  57. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IERC20Metadata__factory.js.map +0 -1
  58. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts +0 -108
  59. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.d.ts.map +0 -1
  60. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js +0 -151
  61. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorphoChainlinkOracleV2__factory.js.map +0 -1
  62. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts +0 -69
  63. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.d.ts.map +0 -1
  64. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js +0 -101
  65. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/IMorpho__factory.js.map +0 -1
  66. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.d.ts.map +0 -1
  67. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher__factory.js.map +0 -1
  68. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts +0 -6
  69. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.d.ts.map +0 -1
  70. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js +0 -18
  71. package/dist/typechain-types/factories/contracts/MorphoMarketDataFetcher.sol/index.js.map +0 -1
  72. /package/dist/typechain-types/contracts/{MorphoMarketDataFetcher.sol/MorphoMarketDataFetcher.js → MorphoMarketDataFetcher.js} +0 -0
@@ -102,44 +102,44 @@ const _abi = [
102
102
  type: "address",
103
103
  },
104
104
  {
105
- internalType: "address",
105
+ internalType: "contract AggregatorV3Interface",
106
106
  name: "baseFeed1",
107
107
  type: "address",
108
108
  },
109
109
  {
110
- internalType: "address",
110
+ internalType: "contract AggregatorV3Interface",
111
111
  name: "baseFeed2",
112
112
  type: "address",
113
113
  },
114
114
  {
115
- internalType: "address",
115
+ internalType: "contract IERC4626",
116
116
  name: "baseVault",
117
117
  type: "address",
118
118
  },
119
119
  {
120
- internalType: "address",
120
+ internalType: "uint256",
121
121
  name: "baseVaultConversionSample",
122
- type: "address",
122
+ type: "uint256",
123
123
  },
124
124
  {
125
- internalType: "address",
125
+ internalType: "contract AggregatorV3Interface",
126
126
  name: "quoteFeed1",
127
127
  type: "address",
128
128
  },
129
129
  {
130
- internalType: "address",
130
+ internalType: "contract AggregatorV3Interface",
131
131
  name: "quoteFeed2",
132
132
  type: "address",
133
133
  },
134
134
  {
135
- internalType: "address",
135
+ internalType: "contract IERC4626",
136
136
  name: "quoteVault",
137
137
  type: "address",
138
138
  },
139
139
  {
140
- internalType: "address",
140
+ internalType: "uint256",
141
141
  name: "quoteVaultConversionSample",
142
- type: "address",
142
+ type: "uint256",
143
143
  },
144
144
  {
145
145
  internalType: "uint256",
@@ -270,7 +270,7 @@ const _abi = [
270
270
  type: "function",
271
271
  },
272
272
  ];
273
- const _bytecode = "0x60a060405234801561001057600080fd5b506040516115e23803806115e283398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516115366100ac6000396000818160690152818160c4015281816102ab015281816102fa01528181610d2a0152610d8501526115366000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063881268cb1461003b578063e183129814610064575b600080fd5b61004e610049366004610f4f565b6100a3565b60405161005b9190611064565b60405180910390f35b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161005b565b6100ab610e0e565b604051632c3c915760e01b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632c3c91579060240160a060405180830381865afa158015610113573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061013791906112bb565b60608301819052805183516001600160a01b0391821690528151604080516306fdde0360e01b815290519394509116916306fdde03916004808201926000929091908290030181865afa9250505080156101b357506040513d6000823e601f3d908101601f191682016040526101b09190810190611346565b60015b156101bf578251602001525b80600001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561022257506040513d6000823e601f3d908101601f1916820160405261021f9190810190611346565b60015b1561022e578251604001525b80600001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561028c575060408051601f3d908101601f19168201909252610289918101906113dc565b60015b1561029f57825160ff9091166060909101525b33158015906102d657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b15610372578051604051636eb1769f60e11b81523360048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301529091169063dd62ed3e90604401602060405180830381865afa925050508015610366575060408051601f3d908101601f1916820190925261036391810190611406565b60015b15610372578251608001525b80602001518260200151600001906001600160a01b031690816001600160a01b03168152505080602001516001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa9250505080156103fb57506040513d6000823e601f3d908101601f191682016040526103f89190810190611346565b60015b156104095760208084015101525b80602001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561046c57506040513d6000823e601f3d908101601f191682016040526104699190810190611346565b60015b1561047b576020830151604001525b80602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156104d9575060408051601f3d908101601f191682019092526104d6918101906113dc565b60015b156104ef57602083015160ff9091166060909101525b60408101516001600160a01b0316156109c05760408082018051848301516001600160a01b03918216905290518251631ea148e360e31b8152925191169163f50a47189160048083019260209291908290030181865afa925050508015610573575060408051601f3d908101601f191682019092526105709181019061141f565b60015b1561058f5760408301516001600160a01b039091166020909101525b80604001516001600160a01b031663dc53858c6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156105ed575060408051601f3d908101601f191682019092526105ea9181019061141f565b60015b15610607576040808401516001600160a01b039092169101525b80604001516001600160a01b031663eaa2d7b46040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610665575060408051601f3d908101601f191682019092526106629181019061141f565b60015b156106815760408301516001600160a01b039091166060909101525b80604001516001600160a01b031663054f7ac06040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156106df575060408051601f3d908101601f191682019092526106dc9181019061141f565b60015b156106fb5760408301516001600160a01b039091166080909101525b80604001516001600160a01b03166356095e116040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610759575060408051601f3d908101601f191682019092526107569181019061141f565b60015b156107755760408301516001600160a01b0390911660a0909101525b80604001516001600160a01b031663acfbd39e6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156107d3575060408051601f3d908101601f191682019092526107d09181019061141f565b60015b156107ef5760408301516001600160a01b0390911660c0909101525b80604001516001600160a01b0316632e6f20a66040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561084d575060408051601f3d908101601f1916820190925261084a9181019061141f565b60015b156108695760408301516001600160a01b0390911660e0909101525b80604001516001600160a01b031663461739d26040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156108c7575060408051601f3d908101601f191682019092526108c49181019061141f565b60015b156108e45760408301516001600160a01b03909116610100909101525b80604001516001600160a01b031663ce4b5bbe6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610942575060408051601f3d908101601f1916820190925261093f91810190611406565b60015b1561095257604083015161012001525b80604001516001600160a01b031663a035b1fe6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156109b0575060408051601f3d908101601f191682019092526109ad91810190611406565b60015b156109c057604083015161014001525b6040820151602001516001600160a01b031615610b765760408083018051602080820151610160909201516001600160a01b0392831690529151909101518251633fabe5a360e21b8152925191169163feaf968c9160048083019260a09291908290030181865afa925050508015610a55575060408051601f3d908101601f19168201909252610a5291810190611454565b60015b15610a7f5760008413610a69576000610a6b565b835b604088015161016001516020015250505050505b8160400151602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ae1575060408051601f3d908101601f19168201909252610ade918101906113dc565b60015b15610afc576040830151610160015160ff9091166060909101525b8160400151602001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610b6357506040513d6000823e601f3d908101601f19168201604052610b609190810190611346565b60015b15610b7657604080840151610160015101525b604082015160a001516001600160a01b031615610d28576040808301805160a080820151610180909201516001600160a01b03928316905291518201518351633fabe5a360e21b8152935191169263feaf968c9260048083019391928290030181865afa925050508015610c07575060408051601f3d908101601f19168201909252610c0491810190611454565b60015b15610c315760008413610c1b576000610c1d565b835b604088015161018001516020015250505050505b816040015160a001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c93575060408051601f3d908101601f19168201909252610c90918101906113dc565b60015b15610cae576040830151610180015160ff9091166060909101525b816040015160a001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610d1557506040513d6000823e601f3d908101601f19168201604052610d129190810190611346565b60015b15610d2857604080840151610180015101525b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615801590610d5f57508215155b15610e08576040516349e2903160e11b81526004810184905261dead60248201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906393c5206290604401606060405180830381865afa925050508015610df0575060408051601f3d908101601f19168201909252610ded918101906114bd565b60015b15610e065750506001600160801b031660808401525b505b50919050565b6040518060a00160405280610e21610f14565b8152602001610e2e610f14565b8152602001610ed9604080516101a081018252600080825260208083018290528284018290526060808401839052608080850184905260a0850184905260c0850184905260e0850184905261010085018490526101208501849052610140850184905285518082018752848152808401859052808701839052808301859052610160860152855190810186528381529182018390529381018490529283015261018081019190915290565b81526040805160a081018252600080825260208281018290529282018190526060820181905260808201529101908152602001600081525090565b6040518060a0016040528060006001600160a01b031681526020016060815260200160608152602001600060ff168152602001600081525090565b600060208284031215610f6157600080fd5b5035919050565b60005b83811015610f83578181015183820152602001610f6b565b50506000910152565b60008151808452610fa4816020860160208601610f68565b601f01601f19169290920160200192915050565b60018060a01b0381511682526000602082015160a06020850152610fdf60a0850182610f8c565b905060408301518482036040860152610ff88282610f8c565b91505060ff6060840151166060850152608083015160808501528091505092915050565b60018060a01b03815116825260208101516020830152600060408201516080604085015261104d6080850182610f8c565b60609384015160ff16949093019390935250919050565b60208152600082516101206020840152611082610140840182610fb8565b90506020840151601f1984830301604085015261109f8282610fb8565b9150506040840151601f198483030160608501526110c68282516001600160a01b03169052565b60208101516110e060208401826001600160a01b03169052565b5060408101516110fb60408401826001600160a01b03169052565b50606081015161111660608401826001600160a01b03169052565b50608081015161113160808401826001600160a01b03169052565b5060a081015161114c60a08401826001600160a01b03169052565b5060c081015161116760c08401826001600160a01b03169052565b5060e081015161118260e08401826001600160a01b03169052565b5061010081015161119f6101008401826001600160a01b03169052565b506101208101516101208301526101408101516101408301526101608101516101a06101608401526111d56101a084018261101c565b905061018082015191508281036101808401526111f2818361101c565b925050506060840151611242608085018280516001600160a01b03908116835260208083015182169084015260408083015182169084015260608083015190911690830152608090810151910152565b5060808401516101208401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561129757611297611258565b604052919050565b80516001600160a01b03811681146112b657600080fd5b919050565b600060a08284031280156112ce57600080fd5b5060405160a0810167ffffffffffffffff811182821017156112f2576112f2611258565b6040526112fe8361129f565b815261130c6020840161129f565b602082015261131d6040840161129f565b604082015261132e6060840161129f565b60608201526080928301519281019290925250919050565b60006020828403121561135857600080fd5b815167ffffffffffffffff81111561136f57600080fd5b8201601f8101841361138057600080fd5b805167ffffffffffffffff81111561139a5761139a611258565b6113ad601f8201601f191660200161126e565b8181528560208385010111156113c257600080fd5b6113d3826020830160208601610f68565b95945050505050565b6000602082840312156113ee57600080fd5b815160ff811681146113ff57600080fd5b9392505050565b60006020828403121561141857600080fd5b5051919050565b60006020828403121561143157600080fd5b6113ff8261129f565b805169ffffffffffffffffffff811681146112b657600080fd5b600080600080600060a0868803121561146c57600080fd5b6114758661143a565b6020870151604088015160608901519297509095509350915061149a6080870161143a565b90509295509295909350565b80516001600160801b03811681146112b657600080fd5b6000806000606084860312156114d257600080fd5b6114db846114a6565b92506114e9602085016114a6565b91506114f7604085016114a6565b9050925092509256fea264697066735822122063839ef333c088d4cd36eafd43f98185d02e7137bd2a3ff3e271a9162a8c0cad64736f6c634300081b0033";
273
+ const _bytecode = "0x60a060405234801561001057600080fd5b506040516115da3803806115da83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b60805161152e6100ac6000396000818160690152818160c4015281816102ab015281816102fa01528181610d100152610d6e015261152e6000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063881268cb1461003b578063e183129814610064575b600080fd5b61004e610049366004610f31565b6100a3565b60405161005b9190611046565b60405180910390f35b61008b7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161005b565b6100ab610df0565b604051632c3c915760e01b8152600481018390526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690632c3c91579060240160a060405180830381865afa158015610113573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101379190611277565b60608301819052805183516001600160a01b0391821690528151604080516306fdde0360e01b815290519394509116916306fdde03916004808201926000929091908290030181865afa9250505080156101b357506040513d6000823e601f3d908101601f191682016040526101b0919081019061130a565b60015b156101bf578251602001525b80600001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561022257506040513d6000823e601f3d908101601f1916820160405261021f919081019061130a565b60015b1561022e578251604001525b80600001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561028c575060408051601f3d908101601f19168201909252610289918101906113a0565b60015b1561029f57825160ff9091166060909101525b33158015906102d657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615155b15610372578051604051636eb1769f60e11b81523360048201526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301529091169063dd62ed3e90604401602060405180830381865afa925050508015610366575060408051601f3d908101601f19168201909252610363918101906113ca565b60015b15610372578251608001525b80602001518260200151600001906001600160a01b031690816001600160a01b03168152505080602001516001600160a01b03166306fdde036040518163ffffffff1660e01b8152600401600060405180830381865afa9250505080156103fb57506040513d6000823e601f3d908101601f191682016040526103f8919081019061130a565b60015b156104095760208084015101525b80602001516001600160a01b03166395d89b416040518163ffffffff1660e01b8152600401600060405180830381865afa92505050801561046c57506040513d6000823e601f3d908101601f19168201604052610469919081019061130a565b60015b1561047b576020830151604001525b80602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156104d9575060408051601f3d908101601f191682019092526104d6918101906113a0565b60015b156104ef57602083015160ff9091166060909101525b60408101516001600160a01b0316156109a65760408082018051848301516001600160a01b03918216905290518251631ea148e360e31b8152925191169163f50a47189160048083019260209291908290030181865afa925050508015610573575060408051601f3d908101601f19168201909252610570918101906113e3565b60015b1561058f5760408301516001600160a01b039091166020909101525b80604001516001600160a01b031663dc53858c6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156105ed575060408051601f3d908101601f191682019092526105ea918101906113e3565b60015b15610607576040808401516001600160a01b039092169101525b80604001516001600160a01b031663eaa2d7b46040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610665575060408051601f3d908101601f19168201909252610662918101906113e3565b60015b156106815760408301516001600160a01b039091166060909101525b80604001516001600160a01b031663054f7ac06040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156106df575060408051601f3d908101601f191682019092526106dc918101906113ca565b60015b156106ee576040830151608001525b80604001516001600160a01b03166356095e116040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561074c575060408051601f3d908101601f19168201909252610749918101906113e3565b60015b156107685760408301516001600160a01b0390911660a0909101525b80604001516001600160a01b031663acfbd39e6040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156107c6575060408051601f3d908101601f191682019092526107c3918101906113e3565b60015b156107e25760408301516001600160a01b0390911660c0909101525b80604001516001600160a01b0316632e6f20a66040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610840575060408051601f3d908101601f1916820190925261083d918101906113e3565b60015b1561085c5760408301516001600160a01b0390911660e0909101525b80604001516001600160a01b031663461739d26040518163ffffffff1660e01b8152600401602060405180830381865afa9250505080156108ba575060408051601f3d908101601f191682019092526108b7918101906113ca565b60015b156108ca57604083015161010001525b80604001516001600160a01b031663ce4b5bbe6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610928575060408051601f3d908101601f19168201909252610925918101906113ca565b60015b1561093857604083015161012001525b80604001516001600160a01b031663a035b1fe6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610996575060408051601f3d908101601f19168201909252610993918101906113ca565b60015b156109a657604083015161014001525b6040820151602001516001600160a01b031615610b5c5760408083018051602080820151610160909201516001600160a01b0392831690529151909101518251633fabe5a360e21b8152925191169163feaf968c9160048083019260a09291908290030181865afa925050508015610a3b575060408051601f3d908101601f19168201909252610a389181019061141f565b60015b15610a655760008413610a4f576000610a51565b835b604088015161016001516020015250505050505b8160400151602001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610ac7575060408051601f3d908101601f19168201909252610ac4918101906113a0565b60015b15610ae2576040830151610160015160ff9091166060909101525b8160400151602001516001600160a01b0316637284e4166040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610b4957506040513d6000823e601f3d908101601f19168201604052610b46919081019061130a565b60015b15610b5c57604080840151610160015101525b604082015160a001516001600160a01b031615610d0e576040808301805160a080820151610180909201516001600160a01b03928316905291518201518351633fabe5a360e21b8152935191169263feaf968c9260048083019391928290030181865afa925050508015610bed575060408051601f3d908101601f19168201909252610bea9181019061141f565b60015b15610c175760008413610c01576000610c03565b835b604088015161018001516020015250505050505b816040015160a001516001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c79575060408051601f3d908101601f19168201909252610c76918101906113a0565b60015b15610c94576040830151610180015160ff9091166060909101525b816040015160a001516001600160a01b0316637284e4166040518163ffffffff1660e01b8152600401600060405180830381865afa925050508015610cfb57506040513d6000823e601f3d908101601f19168201604052610cf8919081019061130a565b60015b15610d0e57604080840151610180015101525b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031615801590610d4557508215155b15610dea576040516349e2903160e11b81526004810184905261dead60248201819052906000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906393c5206290604401606060405180830381865afa158015610dbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de19190611491565b51608085015250505b50919050565b6040518060a00160405280610e03610ef6565b8152602001610e10610ef6565b8152602001610ebb604080516101a081018252600080825260208083018290528284018290526060808401839052608080850184905260a0850184905260c0850184905260e0850184905261010085018490526101208501849052610140850184905285518082018752848152808401859052808701839052808301859052610160860152855190810186528381529182018390529381018490529283015261018081019190915290565b81526040805160a081018252600080825260208281018290529282018190526060820181905260808201529101908152602001600081525090565b6040518060a0016040528060006001600160a01b031681526020016060815260200160608152602001600060ff168152602001600081525090565b600060208284031215610f4357600080fd5b5035919050565b60005b83811015610f65578181015183820152602001610f4d565b50506000910152565b60008151808452610f86816020860160208601610f4a565b601f01601f19169290920160200192915050565b60018060a01b0381511682526000602082015160a06020850152610fc160a0850182610f6e565b905060408301518482036040860152610fda8282610f6e565b91505060ff6060840151166060850152608083015160808501528091505092915050565b60018060a01b03815116825260208101516020830152600060408201516080604085015261102f6080850182610f6e565b60609384015160ff16949093019390935250919050565b60208152600082516101206020840152611064610140840182610f9a565b90506020840151601f198483030160408501526110818282610f9a565b9150506040840151601f198483030160608501526110a88282516001600160a01b03169052565b60208101516110c260208401826001600160a01b03169052565b5060408101516110dd60408401826001600160a01b03169052565b5060608101516110f860608401826001600160a01b03169052565b506080810151608083015260a081015161111d60a08401826001600160a01b03169052565b5060c081015161113860c08401826001600160a01b03169052565b5060e081015161115360e08401826001600160a01b03169052565b506101008101516101008301526101208101516101208301526101408101516101408301526101608101516101a06101608401526111956101a0840182610ffe565b905061018082015191508281036101808401526111b28183610ffe565b925050506060840151611202608085018280516001600160a01b03908116835260208083015182169084015260408083015182169084015260608083015190911690830152608090810151910152565b5060808401516101208401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561125757611257611218565b604052919050565b6001600160a01b038116811461127457600080fd5b50565b600060a082840312801561128a57600080fd5b5060405160a0810167ffffffffffffffff811182821017156112ae576112ae611218565b60405282516112bc8161125f565b815260208301516112cc8161125f565b602082015260408301516112df8161125f565b604082015260608301516112f28161125f565b60608201526080928301519281019290925250919050565b60006020828403121561131c57600080fd5b815167ffffffffffffffff81111561133357600080fd5b8201601f8101841361134457600080fd5b805167ffffffffffffffff81111561135e5761135e611218565b611371601f8201601f191660200161122e565b81815285602083850101111561138657600080fd5b611397826020830160208601610f4a565b95945050505050565b6000602082840312156113b257600080fd5b815160ff811681146113c357600080fd5b9392505050565b6000602082840312156113dc57600080fd5b5051919050565b6000602082840312156113f557600080fd5b81516113c38161125f565b805169ffffffffffffffffffff8116811461141a57600080fd5b919050565b600080600080600060a0868803121561143757600080fd5b61144086611400565b6020870151604088015160608901519297509095509350915061146560808701611400565b90509295509295909350565b80516fffffffffffffffffffffffffffffffff8116811461141a57600080fd5b600060608284031280156114a457600080fd5b506040516060810167ffffffffffffffff811182821017156114c8576114c8611218565b604052825181526114db60208401611471565b60208201526114ec60408401611471565b6040820152939250505056fea264697066735822122002d3425b89c02f9e7be223b7253512a9671a416430486ef7eac944a00099090264736f6c634300081b0033";
274
274
  const isSuperArgs = (xs) => xs.length > 1;
275
275
  class MorphoMarketDataFetcher__factory extends ethers_1.ContractFactory {
276
276
  constructor(...args) {
@@ -0,0 +1 @@
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;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AAK,CAAC,MAAM,CAAC,cAAc,EAAE,SAAS,IAAI,EAAE,CAIlD,CAAC;IACJ,CAAC;IACQ,OAAO,CACd,MAA6B;QAE7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAAqC,CAAC;IACnE,CAAC;IAED,MAAM,CAAU,QAAQ,GAAG,SAAS,CAAC;IACrC,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAqC,CAAC;IACjE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CACjB,OAAO,EACP,IAAI,EACJ,MAAM,CAC+B,CAAC;IAC1C,CAAC;;AA7CH,4EA8CC"}
@@ -0,0 +1,198 @@
1
+ import { ContractFactory, ContractTransactionResponse } from "ethers";
2
+ import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
3
+ import type { NonPayableOverrides } from "../../common";
4
+ import type { MorphoVaultV2DeployHelper, MorphoVaultV2DeployHelperInterface } from "../../contracts/MorphoVaultV2DeployHelper";
5
+ type MorphoVaultV2DeployHelperConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class MorphoVaultV2DeployHelper__factory extends ContractFactory {
7
+ constructor(...args: MorphoVaultV2DeployHelperConstructorParams);
8
+ getDeployTransaction(_vaultV2FactoryAddress: AddressLike, _adapterV2FactoryAddress: AddressLike, _morphoRegistryAddress: AddressLike, overrides?: NonPayableOverrides & {
9
+ from?: string;
10
+ }): Promise<ContractDeployTransaction>;
11
+ deploy(_vaultV2FactoryAddress: AddressLike, _adapterV2FactoryAddress: AddressLike, _morphoRegistryAddress: AddressLike, overrides?: NonPayableOverrides & {
12
+ from?: string;
13
+ }): Promise<MorphoVaultV2DeployHelper & {
14
+ deploymentTransaction(): ContractTransactionResponse;
15
+ }>;
16
+ connect(runner: ContractRunner | null): MorphoVaultV2DeployHelper__factory;
17
+ static readonly bytecode = "0x60e060405234801561001057600080fd5b50604051611afc380380611afc83398101604081905261002f91610068565b6001600160a01b0392831660805290821660a0521660c0526100ab565b80516001600160a01b038116811461006357600080fd5b919050565b60008060006060848603121561007d57600080fd5b6100868461004c565b92506100946020850161004c565b91506100a26040850161004c565b90509250925092565b60805160a05160c051611a096100f36000396000818160fb015281816105120152610a8f01526000818160d401526103d70152600081816095015261018f0152611a096000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630c0cc01514610051578063186f0752146100905780632565ecff146100cf578063f5e985cd146100f6575b600080fd5b61006461005f3660046117b5565b61011d565b6040805182516001600160a01b0390811682526020938401511692810192909252015b60405180910390f35b6100b77f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610087565b6100b77f000000000000000000000000000000000000000000000000000000000000000081565b6100b77f000000000000000000000000000000000000000000000000000000000000000081565b604080518082019091526000808252602082015261013a82610140565b92915050565b604080518082019091526000808252602082015260005a61016190426117f8565b60405160200161017391815260200190565b60405160208183030381529060405280519060200120905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a7a28469308660000160208101906101d09190611831565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604481018590526064016020604051808303816000875af1158015610224573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610248919061184e565b6001600160a01b03811684529050806000610266602087018761186b565b905011156102da576001600160a01b03811663c47f002761028a602088018861186b565b6040518363ffffffff1660e01b81526004016102a79291906118b9565b600060405180830381600087803b1580156102c157600080fd5b505af11580156102d5573d6000803e3d6000fd5b505050505b60006102e9604087018761186b565b9050111561035d576001600160a01b03811663b84c824661030d604088018861186b565b6040518363ffffffff1660e01b815260040161032a9291906118b9565b600060405180830381600087803b15801561034457600080fd5b505af1158015610358573d6000803e3d6000fd5b505050505b60405163e90956cf60e01b81523060048201526001600160a01b0382169063e90956cf90602401600060405180830381600087803b15801561039e57600080fd5b505af11580156103b2573d6000803e3d6000fd5b50506040516306a5306760e51b81526001600160a01b038581166004830152600093507f000000000000000000000000000000000000000000000000000000000000000016915063d4a60ce0906024016020604051808303816000875af1158015610421573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610445919061184e565b6001600160a01b038082166020880152909150821663ef7fa71b61046f60c0890160a08a01611831565b6040516001600160a01b0390911660248201526001604482015260640160408051601f198184030181529181526020820180516001600160e01b03166358c9542560e11b179052516001600160e01b031960e084901b1681526104d5919060040161192e565b600060405180830381600087803b1580156104ef57600080fd5b505af1158015610503573d6000803e3d6000fd5b50506040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301528516925063ef7fa71b915060440160408051601f198184030181529181526020820180516001600160e01b0316635b34b82360e01b179052516001600160e01b031960e084901b16815261058f919060040161192e565b600060405180830381600087803b1580156105a957600080fd5b505af11580156105bd573d6000803e3d6000fd5b505050506000816040516020016105fe91906040808252600490820152637468697360e01b60608201526001600160a01b0391909116602082015260800190565b60408051601f19818403018152908290526001600160a01b03848116602484015290925084169063ef7fa71b9060440160408051601f198184030181529181526020820180516001600160e01b03166360d54d4160e01b179052516001600160e01b031960e084901b168152610677919060040161192e565b600060405180830381600087803b15801561069157600080fd5b505af11580156106a5573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b826001600160801b036040516024016106d2929190611941565b60408051601f198184030181529181526020820180516001600160e01b031663f6f98fd560e01b179052516001600160e01b031960e084901b16815261071b919060040161192e565b600060405180830381600087803b15801561073557600080fd5b505af1158015610749573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b82670de0b6b3a764000060405160240161077792919061196c565b60408051601f198184030181529181526020820180516001600160e01b0316632438525b60e01b179052516001600160e01b031960e084901b1681526107c0919060040161192e565b600060405180830381600087803b1580156107da57600080fd5b505af11580156107ee573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b635b34b82360e01b604051602401610819919061198e565b60408051601f198184030181529181526020820180516001600160e01b031663165c650960e31b179052516001600160e01b031960e084901b168152610862919060040161192e565b600060405180830381600087803b15801561087c57600080fd5b505af1158015610890573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b632cb19f9860e01b6040516024016108bb919061198e565b60408051601f198184030181529181526020820180516001600160e01b031663165c650960e31b179052516001600160e01b031960e084901b168152610904919060040161192e565b600060405180830381600087803b15801561091e57600080fd5b505af1158015610932573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b63c21ad02860e01b60405160240161095d919061198e565b60408051601f198184030181529181526020820180516001600160e01b031663165c650960e31b179052516001600160e01b031960e084901b1681526109a6919060040161192e565b600060405180830381600087803b1580156109c057600080fd5b505af11580156109d4573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b6304dbf0ce60e01b6040516024016109ff919061198e565b60408051601f198184030181529181526020820180516001600160e01b031663165c650960e31b179052516001600160e01b031960e084901b168152610a48919060040161192e565b600060405180830381600087803b158015610a6257600080fd5b505af1158015610a76573d6000803e3d6000fd5b5050604051635b34b82360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015286169250635b34b8239150602401600060405180830381600087803b158015610add57600080fd5b505af1158015610af1573d6000803e3d6000fd5b5050506001600160a01b038416905063b192a84a610b1560c08a0160a08b01611831565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b158015610b5d57600080fd5b505af1158015610b71573d6000803e3d6000fd5b50506040516360d54d4160e01b81526001600160a01b038581166004830152861692506360d54d419150602401600060405180830381600087803b158015610bb857600080fd5b505af1158015610bcc573d6000803e3d6000fd5b505060405163f6f98fd560e01b81526001600160a01b038616925063f6f98fd59150610c059084906001600160801b0390600401611941565b600060405180830381600087803b158015610c1f57600080fd5b505af1158015610c33573d6000803e3d6000fd5b5050604051632438525b60e01b81526001600160a01b0386169250632438525b9150610c6d908490670de0b6b3a76400009060040161196c565b600060405180830381600087803b158015610c8757600080fd5b505af1158015610c9b573d6000803e3d6000fd5b505060405163165c650960e31b81526001600160a01b038616925063b2e328489150610cd290635b34b82360e01b9060040161198e565b600060405180830381600087803b158015610cec57600080fd5b505af1158015610d00573d6000803e3d6000fd5b505060405163165c650960e31b81526001600160a01b038616925063b2e328489150610d379063059633f360e31b9060040161198e565b600060405180830381600087803b158015610d5157600080fd5b505af1158015610d65573d6000803e3d6000fd5b505060405163165c650960e31b81526001600160a01b038616925063b2e328489150610d9c906318435a0560e31b9060040161198e565b600060405180830381600087803b158015610db657600080fd5b505af1158015610dca573d6000803e3d6000fd5b505060405163165c650960e31b81526001600160a01b038616925063b2e328489150610e019063026df86760e11b9060040161198e565b600060405180830381600087803b158015610e1b57600080fd5b505af1158015610e2f573d6000803e3d6000fd5b50505050610e47848860e0013589610100013561107b565b610e5682886101200135611517565b6001600160a01b03831663e90956cf610e7560a08a0160808b01611831565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b158015610eb657600080fd5b505af1158015610eca573d6000803e3d6000fd5b5060009250610ee291505060e0890160c08a01611831565b6001600160a01b031614610f70576001600160a01b03831663920ed706610f0f60e08a0160c08b01611831565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b158015610f5757600080fd5b505af1158015610f6b573d6000803e3d6000fd5b505050505b6001600160a01b0383166313af4035610f8f60808a0160608b01611831565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b158015610fd057600080fd5b505af1158015610fe4573d6000803e3d6000fd5b5050506001600160a01b03838116915085167f02bb034d0b06b13b8d578b8dc4bd83551d120b6954ca7c855e4c59c2519f960f61102760808b0160608c01611831565b61103760a08c0160808d01611831565b61104760c08d0160a08e01611831565b604080516001600160a01b039485168152928416602084015292168183015290519081900360600190a35050505050919050565b60408051600780825261010082019092528491600091906020820160e0803683370190505090506360d54d4160e01b816000815181106110bd576110bd6119a3565b6001600160e01b031990921660209283029190910190910152805163f6f98fd560e01b90829060019081106110f4576110f46119a3565b6001600160e01b0319909216602092830291909101909101528051632438525b60e01b908290600290811061112b5761112b6119a3565b6001600160e01b0319909216602092830291909101909101528051633e9d2ac760e01b9082906003908110611162576111626119a3565b6001600160e01b031990921660209283029190910190910152805163165c650960e31b9082906004908110611199576111996119a3565b6001600160e01b031990921660209283029190910190910152805163585cd34b60e01b90829060059081106111d0576111d06119a3565b6001600160e01b0319909216602092830291909101909101528051634796629160e01b9082906006908110611207576112076119a3565b6001600160e01b03199092166020928302919091019091015260005b600481101561137557826001600160a01b031663ef7fa71b846001600160a01b0316634796629185858151811061125c5761125c6119a3565b6020026020010151886040516024016112769291906119b9565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519184901b6001600160e01b03191682526112be92509060040161192e565b600060405180830381600087803b1580156112d857600080fd5b505af11580156112ec573d6000803e3d6000fd5b50505050826001600160a01b03166347966291838381518110611311576113116119a3565b6020026020010151866040518363ffffffff1660e01b81526004016113379291906119b9565b600060405180830381600087803b15801561135157600080fd5b505af1158015611365573d6000803e3d6000fd5b5050600190920191506112239050565b5060045b81518110156114cb57826001600160a01b031663ef7fa71b846001600160a01b031663479662918585815181106113b2576113b26119a3565b6020026020010151896040516024016113cc9291906119b9565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519184901b6001600160e01b031916825261141492509060040161192e565b600060405180830381600087803b15801561142e57600080fd5b505af1158015611442573d6000803e3d6000fd5b50505050826001600160a01b03166347966291838381518110611467576114676119a3565b6020026020010151876040518363ffffffff1660e01b815260040161148d9291906119b9565b600060405180830381600087803b1580156114a757600080fd5b505af11580156114bb573d6000803e3d6000fd5b5050600190920191506113799050565b5060408051858152602081018590526001600160a01b038716917f16510a6ef47f5efaf26fd9ca14306746917eefc18dfd3d2900994966756edb14910160405180910390a25050505050565b60408051600480825260a082019092528391600091906020820160808036833701905050905063b2e3284860e01b81600081518110611558576115586119a3565b6001600160e01b0319909216602092830291909101909101528051632b30997b60e01b908290600190811061158f5761158f6119a3565b6001600160e01b0319909216602092830291909101909101528051630ecb796b60e21b90829060029081106115c6576115c66119a3565b6001600160e01b0319909216602092830291909101909101528051634796629160e01b90829060039081106115fd576115fd6119a3565b6001600160e01b03199092166020928302919091019091015260005b815181101561176b57826001600160a01b031663ef7fa71b846001600160a01b03166347966291858581518110611652576116526119a3565b60200260200101518860405160240161166c9291906119b9565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519184901b6001600160e01b03191682526116b492509060040161192e565b600060405180830381600087803b1580156116ce57600080fd5b505af11580156116e2573d6000803e3d6000fd5b50505050826001600160a01b03166347966291838381518110611707576117076119a3565b6020026020010151866040518363ffffffff1660e01b815260040161172d9291906119b9565b600060405180830381600087803b15801561174757600080fd5b505af115801561175b573d6000803e3d6000fd5b5050600190920191506116199050565b50836001600160a01b03167f8d951b34c60cdc2b628d601527f77b1a9eb22ff8a73cb6bc6c93e327e90054bc846040516117a791815260200190565b60405180910390a250505050565b6000602082840312156117c757600080fd5b813567ffffffffffffffff8111156117de57600080fd5b820161014081850312156117f157600080fd5b9392505050565b8082018082111561013a57634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461182e57600080fd5b50565b60006020828403121561184357600080fd5b81356117f181611819565b60006020828403121561186057600080fd5b81516117f181611819565b6000808335601e1984360301811261188257600080fd5b83018035915067ffffffffffffffff82111561189d57600080fd5b6020019150368190038213156118b257600080fd5b9250929050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6000815180845260005b8181101561190e576020818501810151868301820152016118f2565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006117f160208301846118e8565b60408152600061195460408301856118e8565b90506001600160801b03831660208301529392505050565b60408152600061197f60408301856118e8565b90508260208301529392505050565b6001600160e01b031991909116815260200190565b634e487b7160e01b600052603260045260246000fd5b6001600160e01b031992909216825260208201526040019056fea2646970667358221220cc4c6602825a6f85e9b35466c74ec7dd39fc944c6c7636d21e6cdb4c5a8303e564736f6c634300081b0033";
18
+ static readonly abi: readonly [{
19
+ readonly inputs: readonly [{
20
+ readonly internalType: "address";
21
+ readonly name: "_vaultV2FactoryAddress";
22
+ readonly type: "address";
23
+ }, {
24
+ readonly internalType: "address";
25
+ readonly name: "_adapterV2FactoryAddress";
26
+ readonly type: "address";
27
+ }, {
28
+ readonly internalType: "address";
29
+ readonly name: "_morphoRegistryAddress";
30
+ readonly type: "address";
31
+ }];
32
+ readonly stateMutability: "nonpayable";
33
+ readonly type: "constructor";
34
+ }, {
35
+ readonly anonymous: false;
36
+ readonly inputs: readonly [{
37
+ readonly indexed: true;
38
+ readonly internalType: "address";
39
+ readonly name: "adapter";
40
+ readonly type: "address";
41
+ }, {
42
+ readonly indexed: false;
43
+ readonly internalType: "uint256";
44
+ readonly name: "duration";
45
+ readonly type: "uint256";
46
+ }];
47
+ readonly name: "AdapterTimelocksConfigured";
48
+ readonly type: "event";
49
+ }, {
50
+ readonly anonymous: false;
51
+ readonly inputs: readonly [{
52
+ readonly indexed: true;
53
+ readonly internalType: "address";
54
+ readonly name: "vault";
55
+ readonly type: "address";
56
+ }, {
57
+ readonly indexed: true;
58
+ readonly internalType: "address";
59
+ readonly name: "adapter";
60
+ readonly type: "address";
61
+ }, {
62
+ readonly indexed: false;
63
+ readonly internalType: "address";
64
+ readonly name: "finalOwner";
65
+ readonly type: "address";
66
+ }, {
67
+ readonly indexed: false;
68
+ readonly internalType: "address";
69
+ readonly name: "finalCurator";
70
+ readonly type: "address";
71
+ }, {
72
+ readonly indexed: false;
73
+ readonly internalType: "address";
74
+ readonly name: "allocator";
75
+ readonly type: "address";
76
+ }];
77
+ readonly name: "VaultDeployed";
78
+ readonly type: "event";
79
+ }, {
80
+ readonly anonymous: false;
81
+ readonly inputs: readonly [{
82
+ readonly indexed: true;
83
+ readonly internalType: "address";
84
+ readonly name: "vault";
85
+ readonly type: "address";
86
+ }, {
87
+ readonly indexed: false;
88
+ readonly internalType: "uint256";
89
+ readonly name: "highDuration";
90
+ readonly type: "uint256";
91
+ }, {
92
+ readonly indexed: false;
93
+ readonly internalType: "uint256";
94
+ readonly name: "midDuration";
95
+ readonly type: "uint256";
96
+ }];
97
+ readonly name: "VaultTimelocksConfigured";
98
+ readonly type: "event";
99
+ }, {
100
+ readonly inputs: readonly [];
101
+ readonly name: "adapterV2FactoryAddress";
102
+ readonly outputs: readonly [{
103
+ readonly internalType: "address";
104
+ readonly name: "";
105
+ readonly type: "address";
106
+ }];
107
+ readonly stateMutability: "view";
108
+ readonly type: "function";
109
+ }, {
110
+ readonly inputs: readonly [{
111
+ readonly components: readonly [{
112
+ readonly internalType: "address";
113
+ readonly name: "asset";
114
+ readonly type: "address";
115
+ }, {
116
+ readonly internalType: "string";
117
+ readonly name: "vaultName";
118
+ readonly type: "string";
119
+ }, {
120
+ readonly internalType: "string";
121
+ readonly name: "vaultSymbol";
122
+ readonly type: "string";
123
+ }, {
124
+ readonly internalType: "address";
125
+ readonly name: "finalOwner";
126
+ readonly type: "address";
127
+ }, {
128
+ readonly internalType: "address";
129
+ readonly name: "finalCurator";
130
+ readonly type: "address";
131
+ }, {
132
+ readonly internalType: "address";
133
+ readonly name: "allocator";
134
+ readonly type: "address";
135
+ }, {
136
+ readonly internalType: "address";
137
+ readonly name: "sentinel";
138
+ readonly type: "address";
139
+ }, {
140
+ readonly internalType: "uint256";
141
+ readonly name: "vaultTimelockHigh";
142
+ readonly type: "uint256";
143
+ }, {
144
+ readonly internalType: "uint256";
145
+ readonly name: "vaultTimelockMid";
146
+ readonly type: "uint256";
147
+ }, {
148
+ readonly internalType: "uint256";
149
+ readonly name: "adapterTimelock";
150
+ readonly type: "uint256";
151
+ }];
152
+ readonly internalType: "struct MorphoVaultV2DeployHelper.DeployParams";
153
+ readonly name: "p";
154
+ readonly type: "tuple";
155
+ }];
156
+ readonly name: "deploy";
157
+ readonly outputs: readonly [{
158
+ readonly components: readonly [{
159
+ readonly internalType: "address";
160
+ readonly name: "vault";
161
+ readonly type: "address";
162
+ }, {
163
+ readonly internalType: "address";
164
+ readonly name: "adapter";
165
+ readonly type: "address";
166
+ }];
167
+ readonly internalType: "struct MorphoVaultV2DeployHelper.DeployResult";
168
+ readonly name: "result";
169
+ readonly type: "tuple";
170
+ }];
171
+ readonly stateMutability: "nonpayable";
172
+ readonly type: "function";
173
+ }, {
174
+ readonly inputs: readonly [];
175
+ readonly name: "morphoRegistryAddress";
176
+ readonly outputs: readonly [{
177
+ readonly internalType: "address";
178
+ readonly name: "";
179
+ readonly type: "address";
180
+ }];
181
+ readonly stateMutability: "view";
182
+ readonly type: "function";
183
+ }, {
184
+ readonly inputs: readonly [];
185
+ readonly name: "vaultV2FactoryAddress";
186
+ readonly outputs: readonly [{
187
+ readonly internalType: "address";
188
+ readonly name: "";
189
+ readonly type: "address";
190
+ }];
191
+ readonly stateMutability: "view";
192
+ readonly type: "function";
193
+ }];
194
+ static createInterface(): MorphoVaultV2DeployHelperInterface;
195
+ static connect(address: string, runner?: ContractRunner | null): MorphoVaultV2DeployHelper;
196
+ }
197
+ export {};
198
+ //# sourceMappingURL=MorphoVaultV2DeployHelper__factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MorphoVaultV2DeployHelper__factory.d.ts","sourceRoot":"","sources":["../../../../typechain-types/factories/contracts/MorphoVaultV2DeployHelper__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,yBAAyB,EACzB,kCAAkC,EACnC,MAAM,2CAA2C,CAAC;AAwOnD,KAAK,0CAA0C,GAC3C,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,kCAAmC,SAAQ,eAAe;gBACzD,GAAG,IAAI,EAAE,0CAA0C;IAQtD,oBAAoB,CAC3B,sBAAsB,EAAE,WAAW,EACnC,wBAAwB,EAAE,WAAW,EACrC,sBAAsB,EAAE,WAAW,EACnC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,yBAAyB,CAAC;IAQ5B,MAAM,CACb,sBAAsB,EAAE,WAAW,EACnC,wBAAwB,EAAE,WAAW,EACrC,sBAAsB,EAAE,WAAW,EACnC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAO9C,OAAO,CACV,yBAAyB,GAAG;QAC1B,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CACd,MAAM,EAAE,cAAc,GAAG,IAAI,GAC5B,kCAAkC;IAIrC,MAAM,CAAC,QAAQ,CAAC,QAAQ,ggbAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,kCAAkC;IAG5D,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,yBAAyB;CAO7B"}
@@ -0,0 +1,265 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MorphoVaultV2DeployHelper__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ // @ts-nocheck
6
+ /* tslint:disable */
7
+ /* eslint-disable */
8
+ const ethers_1 = require("ethers");
9
+ const _abi = [
10
+ {
11
+ inputs: [
12
+ {
13
+ internalType: "address",
14
+ name: "_vaultV2FactoryAddress",
15
+ type: "address",
16
+ },
17
+ {
18
+ internalType: "address",
19
+ name: "_adapterV2FactoryAddress",
20
+ type: "address",
21
+ },
22
+ {
23
+ internalType: "address",
24
+ name: "_morphoRegistryAddress",
25
+ type: "address",
26
+ },
27
+ ],
28
+ stateMutability: "nonpayable",
29
+ type: "constructor",
30
+ },
31
+ {
32
+ anonymous: false,
33
+ inputs: [
34
+ {
35
+ indexed: true,
36
+ internalType: "address",
37
+ name: "adapter",
38
+ type: "address",
39
+ },
40
+ {
41
+ indexed: false,
42
+ internalType: "uint256",
43
+ name: "duration",
44
+ type: "uint256",
45
+ },
46
+ ],
47
+ name: "AdapterTimelocksConfigured",
48
+ type: "event",
49
+ },
50
+ {
51
+ anonymous: false,
52
+ inputs: [
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "vault",
57
+ type: "address",
58
+ },
59
+ {
60
+ indexed: true,
61
+ internalType: "address",
62
+ name: "adapter",
63
+ type: "address",
64
+ },
65
+ {
66
+ indexed: false,
67
+ internalType: "address",
68
+ name: "finalOwner",
69
+ type: "address",
70
+ },
71
+ {
72
+ indexed: false,
73
+ internalType: "address",
74
+ name: "finalCurator",
75
+ type: "address",
76
+ },
77
+ {
78
+ indexed: false,
79
+ internalType: "address",
80
+ name: "allocator",
81
+ type: "address",
82
+ },
83
+ ],
84
+ name: "VaultDeployed",
85
+ type: "event",
86
+ },
87
+ {
88
+ anonymous: false,
89
+ inputs: [
90
+ {
91
+ indexed: true,
92
+ internalType: "address",
93
+ name: "vault",
94
+ type: "address",
95
+ },
96
+ {
97
+ indexed: false,
98
+ internalType: "uint256",
99
+ name: "highDuration",
100
+ type: "uint256",
101
+ },
102
+ {
103
+ indexed: false,
104
+ internalType: "uint256",
105
+ name: "midDuration",
106
+ type: "uint256",
107
+ },
108
+ ],
109
+ name: "VaultTimelocksConfigured",
110
+ type: "event",
111
+ },
112
+ {
113
+ inputs: [],
114
+ name: "adapterV2FactoryAddress",
115
+ outputs: [
116
+ {
117
+ internalType: "address",
118
+ name: "",
119
+ type: "address",
120
+ },
121
+ ],
122
+ stateMutability: "view",
123
+ type: "function",
124
+ },
125
+ {
126
+ inputs: [
127
+ {
128
+ components: [
129
+ {
130
+ internalType: "address",
131
+ name: "asset",
132
+ type: "address",
133
+ },
134
+ {
135
+ internalType: "string",
136
+ name: "vaultName",
137
+ type: "string",
138
+ },
139
+ {
140
+ internalType: "string",
141
+ name: "vaultSymbol",
142
+ type: "string",
143
+ },
144
+ {
145
+ internalType: "address",
146
+ name: "finalOwner",
147
+ type: "address",
148
+ },
149
+ {
150
+ internalType: "address",
151
+ name: "finalCurator",
152
+ type: "address",
153
+ },
154
+ {
155
+ internalType: "address",
156
+ name: "allocator",
157
+ type: "address",
158
+ },
159
+ {
160
+ internalType: "address",
161
+ name: "sentinel",
162
+ type: "address",
163
+ },
164
+ {
165
+ internalType: "uint256",
166
+ name: "vaultTimelockHigh",
167
+ type: "uint256",
168
+ },
169
+ {
170
+ internalType: "uint256",
171
+ name: "vaultTimelockMid",
172
+ type: "uint256",
173
+ },
174
+ {
175
+ internalType: "uint256",
176
+ name: "adapterTimelock",
177
+ type: "uint256",
178
+ },
179
+ ],
180
+ internalType: "struct MorphoVaultV2DeployHelper.DeployParams",
181
+ name: "p",
182
+ type: "tuple",
183
+ },
184
+ ],
185
+ name: "deploy",
186
+ outputs: [
187
+ {
188
+ components: [
189
+ {
190
+ internalType: "address",
191
+ name: "vault",
192
+ type: "address",
193
+ },
194
+ {
195
+ internalType: "address",
196
+ name: "adapter",
197
+ type: "address",
198
+ },
199
+ ],
200
+ internalType: "struct MorphoVaultV2DeployHelper.DeployResult",
201
+ name: "result",
202
+ type: "tuple",
203
+ },
204
+ ],
205
+ stateMutability: "nonpayable",
206
+ type: "function",
207
+ },
208
+ {
209
+ inputs: [],
210
+ name: "morphoRegistryAddress",
211
+ outputs: [
212
+ {
213
+ internalType: "address",
214
+ name: "",
215
+ type: "address",
216
+ },
217
+ ],
218
+ stateMutability: "view",
219
+ type: "function",
220
+ },
221
+ {
222
+ inputs: [],
223
+ name: "vaultV2FactoryAddress",
224
+ outputs: [
225
+ {
226
+ internalType: "address",
227
+ name: "",
228
+ type: "address",
229
+ },
230
+ ],
231
+ stateMutability: "view",
232
+ type: "function",
233
+ },
234
+ ];
235
+ const _bytecode = "0x60e060405234801561001057600080fd5b50604051611afc380380611afc83398101604081905261002f91610068565b6001600160a01b0392831660805290821660a0521660c0526100ab565b80516001600160a01b038116811461006357600080fd5b919050565b60008060006060848603121561007d57600080fd5b6100868461004c565b92506100946020850161004c565b91506100a26040850161004c565b90509250925092565b60805160a05160c051611a096100f36000396000818160fb015281816105120152610a8f01526000818160d401526103d70152600081816095015261018f0152611a096000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630c0cc01514610051578063186f0752146100905780632565ecff146100cf578063f5e985cd146100f6575b600080fd5b61006461005f3660046117b5565b61011d565b6040805182516001600160a01b0390811682526020938401511692810192909252015b60405180910390f35b6100b77f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610087565b6100b77f000000000000000000000000000000000000000000000000000000000000000081565b6100b77f000000000000000000000000000000000000000000000000000000000000000081565b604080518082019091526000808252602082015261013a82610140565b92915050565b604080518082019091526000808252602082015260005a61016190426117f8565b60405160200161017391815260200190565b60405160208183030381529060405280519060200120905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a7a28469308660000160208101906101d09190611831565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604481018590526064016020604051808303816000875af1158015610224573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610248919061184e565b6001600160a01b03811684529050806000610266602087018761186b565b905011156102da576001600160a01b03811663c47f002761028a602088018861186b565b6040518363ffffffff1660e01b81526004016102a79291906118b9565b600060405180830381600087803b1580156102c157600080fd5b505af11580156102d5573d6000803e3d6000fd5b505050505b60006102e9604087018761186b565b9050111561035d576001600160a01b03811663b84c824661030d604088018861186b565b6040518363ffffffff1660e01b815260040161032a9291906118b9565b600060405180830381600087803b15801561034457600080fd5b505af1158015610358573d6000803e3d6000fd5b505050505b60405163e90956cf60e01b81523060048201526001600160a01b0382169063e90956cf90602401600060405180830381600087803b15801561039e57600080fd5b505af11580156103b2573d6000803e3d6000fd5b50506040516306a5306760e51b81526001600160a01b038581166004830152600093507f000000000000000000000000000000000000000000000000000000000000000016915063d4a60ce0906024016020604051808303816000875af1158015610421573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610445919061184e565b6001600160a01b038082166020880152909150821663ef7fa71b61046f60c0890160a08a01611831565b6040516001600160a01b0390911660248201526001604482015260640160408051601f198184030181529181526020820180516001600160e01b03166358c9542560e11b179052516001600160e01b031960e084901b1681526104d5919060040161192e565b600060405180830381600087803b1580156104ef57600080fd5b505af1158015610503573d6000803e3d6000fd5b50506040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301528516925063ef7fa71b915060440160408051601f198184030181529181526020820180516001600160e01b0316635b34b82360e01b179052516001600160e01b031960e084901b16815261058f919060040161192e565b600060405180830381600087803b1580156105a957600080fd5b505af11580156105bd573d6000803e3d6000fd5b505050506000816040516020016105fe91906040808252600490820152637468697360e01b60608201526001600160a01b0391909116602082015260800190565b60408051601f19818403018152908290526001600160a01b03848116602484015290925084169063ef7fa71b9060440160408051601f198184030181529181526020820180516001600160e01b03166360d54d4160e01b179052516001600160e01b031960e084901b168152610677919060040161192e565b600060405180830381600087803b15801561069157600080fd5b505af11580156106a5573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b826001600160801b036040516024016106d2929190611941565b60408051601f198184030181529181526020820180516001600160e01b031663f6f98fd560e01b179052516001600160e01b031960e084901b16815261071b919060040161192e565b600060405180830381600087803b15801561073557600080fd5b505af1158015610749573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b82670de0b6b3a764000060405160240161077792919061196c565b60408051601f198184030181529181526020820180516001600160e01b0316632438525b60e01b179052516001600160e01b031960e084901b1681526107c0919060040161192e565b600060405180830381600087803b1580156107da57600080fd5b505af11580156107ee573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b635b34b82360e01b604051602401610819919061198e565b60408051601f198184030181529181526020820180516001600160e01b031663165c650960e31b179052516001600160e01b031960e084901b168152610862919060040161192e565b600060405180830381600087803b15801561087c57600080fd5b505af1158015610890573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b632cb19f9860e01b6040516024016108bb919061198e565b60408051601f198184030181529181526020820180516001600160e01b031663165c650960e31b179052516001600160e01b031960e084901b168152610904919060040161192e565b600060405180830381600087803b15801561091e57600080fd5b505af1158015610932573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b63c21ad02860e01b60405160240161095d919061198e565b60408051601f198184030181529181526020820180516001600160e01b031663165c650960e31b179052516001600160e01b031960e084901b1681526109a6919060040161192e565b600060405180830381600087803b1580156109c057600080fd5b505af11580156109d4573d6000803e3d6000fd5b50505050826001600160a01b031663ef7fa71b6304dbf0ce60e01b6040516024016109ff919061198e565b60408051601f198184030181529181526020820180516001600160e01b031663165c650960e31b179052516001600160e01b031960e084901b168152610a48919060040161192e565b600060405180830381600087803b158015610a6257600080fd5b505af1158015610a76573d6000803e3d6000fd5b5050604051635b34b82360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015286169250635b34b8239150602401600060405180830381600087803b158015610add57600080fd5b505af1158015610af1573d6000803e3d6000fd5b5050506001600160a01b038416905063b192a84a610b1560c08a0160a08b01611831565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b158015610b5d57600080fd5b505af1158015610b71573d6000803e3d6000fd5b50506040516360d54d4160e01b81526001600160a01b038581166004830152861692506360d54d419150602401600060405180830381600087803b158015610bb857600080fd5b505af1158015610bcc573d6000803e3d6000fd5b505060405163f6f98fd560e01b81526001600160a01b038616925063f6f98fd59150610c059084906001600160801b0390600401611941565b600060405180830381600087803b158015610c1f57600080fd5b505af1158015610c33573d6000803e3d6000fd5b5050604051632438525b60e01b81526001600160a01b0386169250632438525b9150610c6d908490670de0b6b3a76400009060040161196c565b600060405180830381600087803b158015610c8757600080fd5b505af1158015610c9b573d6000803e3d6000fd5b505060405163165c650960e31b81526001600160a01b038616925063b2e328489150610cd290635b34b82360e01b9060040161198e565b600060405180830381600087803b158015610cec57600080fd5b505af1158015610d00573d6000803e3d6000fd5b505060405163165c650960e31b81526001600160a01b038616925063b2e328489150610d379063059633f360e31b9060040161198e565b600060405180830381600087803b158015610d5157600080fd5b505af1158015610d65573d6000803e3d6000fd5b505060405163165c650960e31b81526001600160a01b038616925063b2e328489150610d9c906318435a0560e31b9060040161198e565b600060405180830381600087803b158015610db657600080fd5b505af1158015610dca573d6000803e3d6000fd5b505060405163165c650960e31b81526001600160a01b038616925063b2e328489150610e019063026df86760e11b9060040161198e565b600060405180830381600087803b158015610e1b57600080fd5b505af1158015610e2f573d6000803e3d6000fd5b50505050610e47848860e0013589610100013561107b565b610e5682886101200135611517565b6001600160a01b03831663e90956cf610e7560a08a0160808b01611831565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b158015610eb657600080fd5b505af1158015610eca573d6000803e3d6000fd5b5060009250610ee291505060e0890160c08a01611831565b6001600160a01b031614610f70576001600160a01b03831663920ed706610f0f60e08a0160c08b01611831565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b158015610f5757600080fd5b505af1158015610f6b573d6000803e3d6000fd5b505050505b6001600160a01b0383166313af4035610f8f60808a0160608b01611831565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401600060405180830381600087803b158015610fd057600080fd5b505af1158015610fe4573d6000803e3d6000fd5b5050506001600160a01b03838116915085167f02bb034d0b06b13b8d578b8dc4bd83551d120b6954ca7c855e4c59c2519f960f61102760808b0160608c01611831565b61103760a08c0160808d01611831565b61104760c08d0160a08e01611831565b604080516001600160a01b039485168152928416602084015292168183015290519081900360600190a35050505050919050565b60408051600780825261010082019092528491600091906020820160e0803683370190505090506360d54d4160e01b816000815181106110bd576110bd6119a3565b6001600160e01b031990921660209283029190910190910152805163f6f98fd560e01b90829060019081106110f4576110f46119a3565b6001600160e01b0319909216602092830291909101909101528051632438525b60e01b908290600290811061112b5761112b6119a3565b6001600160e01b0319909216602092830291909101909101528051633e9d2ac760e01b9082906003908110611162576111626119a3565b6001600160e01b031990921660209283029190910190910152805163165c650960e31b9082906004908110611199576111996119a3565b6001600160e01b031990921660209283029190910190910152805163585cd34b60e01b90829060059081106111d0576111d06119a3565b6001600160e01b0319909216602092830291909101909101528051634796629160e01b9082906006908110611207576112076119a3565b6001600160e01b03199092166020928302919091019091015260005b600481101561137557826001600160a01b031663ef7fa71b846001600160a01b0316634796629185858151811061125c5761125c6119a3565b6020026020010151886040516024016112769291906119b9565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519184901b6001600160e01b03191682526112be92509060040161192e565b600060405180830381600087803b1580156112d857600080fd5b505af11580156112ec573d6000803e3d6000fd5b50505050826001600160a01b03166347966291838381518110611311576113116119a3565b6020026020010151866040518363ffffffff1660e01b81526004016113379291906119b9565b600060405180830381600087803b15801561135157600080fd5b505af1158015611365573d6000803e3d6000fd5b5050600190920191506112239050565b5060045b81518110156114cb57826001600160a01b031663ef7fa71b846001600160a01b031663479662918585815181106113b2576113b26119a3565b6020026020010151896040516024016113cc9291906119b9565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519184901b6001600160e01b031916825261141492509060040161192e565b600060405180830381600087803b15801561142e57600080fd5b505af1158015611442573d6000803e3d6000fd5b50505050826001600160a01b03166347966291838381518110611467576114676119a3565b6020026020010151876040518363ffffffff1660e01b815260040161148d9291906119b9565b600060405180830381600087803b1580156114a757600080fd5b505af11580156114bb573d6000803e3d6000fd5b5050600190920191506113799050565b5060408051858152602081018590526001600160a01b038716917f16510a6ef47f5efaf26fd9ca14306746917eefc18dfd3d2900994966756edb14910160405180910390a25050505050565b60408051600480825260a082019092528391600091906020820160808036833701905050905063b2e3284860e01b81600081518110611558576115586119a3565b6001600160e01b0319909216602092830291909101909101528051632b30997b60e01b908290600190811061158f5761158f6119a3565b6001600160e01b0319909216602092830291909101909101528051630ecb796b60e21b90829060029081106115c6576115c66119a3565b6001600160e01b0319909216602092830291909101909101528051634796629160e01b90829060039081106115fd576115fd6119a3565b6001600160e01b03199092166020928302919091019091015260005b815181101561176b57826001600160a01b031663ef7fa71b846001600160a01b03166347966291858581518110611652576116526119a3565b60200260200101518860405160240161166c9291906119b9565b60408051808303601f1901815291815260208201805160e094851b6001600160e01b03909116179052519184901b6001600160e01b03191682526116b492509060040161192e565b600060405180830381600087803b1580156116ce57600080fd5b505af11580156116e2573d6000803e3d6000fd5b50505050826001600160a01b03166347966291838381518110611707576117076119a3565b6020026020010151866040518363ffffffff1660e01b815260040161172d9291906119b9565b600060405180830381600087803b15801561174757600080fd5b505af115801561175b573d6000803e3d6000fd5b5050600190920191506116199050565b50836001600160a01b03167f8d951b34c60cdc2b628d601527f77b1a9eb22ff8a73cb6bc6c93e327e90054bc846040516117a791815260200190565b60405180910390a250505050565b6000602082840312156117c757600080fd5b813567ffffffffffffffff8111156117de57600080fd5b820161014081850312156117f157600080fd5b9392505050565b8082018082111561013a57634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461182e57600080fd5b50565b60006020828403121561184357600080fd5b81356117f181611819565b60006020828403121561186057600080fd5b81516117f181611819565b6000808335601e1984360301811261188257600080fd5b83018035915067ffffffffffffffff82111561189d57600080fd5b6020019150368190038213156118b257600080fd5b9250929050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6000815180845260005b8181101561190e576020818501810151868301820152016118f2565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006117f160208301846118e8565b60408152600061195460408301856118e8565b90506001600160801b03831660208301529392505050565b60408152600061197f60408301856118e8565b90508260208301529392505050565b6001600160e01b031991909116815260200190565b634e487b7160e01b600052603260045260246000fd5b6001600160e01b031992909216825260208201526040019056fea2646970667358221220cc4c6602825a6f85e9b35466c74ec7dd39fc944c6c7636d21e6cdb4c5a8303e564736f6c634300081b0033";
236
+ const isSuperArgs = (xs) => xs.length > 1;
237
+ class MorphoVaultV2DeployHelper__factory extends ethers_1.ContractFactory {
238
+ constructor(...args) {
239
+ if (isSuperArgs(args)) {
240
+ super(...args);
241
+ }
242
+ else {
243
+ super(_abi, _bytecode, args[0]);
244
+ }
245
+ }
246
+ getDeployTransaction(_vaultV2FactoryAddress, _adapterV2FactoryAddress, _morphoRegistryAddress, overrides) {
247
+ return super.getDeployTransaction(_vaultV2FactoryAddress, _adapterV2FactoryAddress, _morphoRegistryAddress, overrides || {});
248
+ }
249
+ deploy(_vaultV2FactoryAddress, _adapterV2FactoryAddress, _morphoRegistryAddress, overrides) {
250
+ return super.deploy(_vaultV2FactoryAddress, _adapterV2FactoryAddress, _morphoRegistryAddress, overrides || {});
251
+ }
252
+ connect(runner) {
253
+ return super.connect(runner);
254
+ }
255
+ static bytecode = _bytecode;
256
+ static abi = _abi;
257
+ static createInterface() {
258
+ return new ethers_1.Interface(_abi);
259
+ }
260
+ static connect(address, runner) {
261
+ return new ethers_1.Contract(address, _abi, runner);
262
+ }
263
+ }
264
+ exports.MorphoVaultV2DeployHelper__factory = MorphoVaultV2DeployHelper__factory;
265
+ //# sourceMappingURL=MorphoVaultV2DeployHelper__factory.js.map