yuichiroaoki / inverse-finance-exploit

Oracle Manipulation Attack on Inverse Finance

Home Page:https://medium.com/coinmonks/how-the-oracle-manipulation-attack-happened-to-inverse-finance-cb95e5343034

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

contract error

Carl79c opened this issue · comments

Hello, I run yarn attack and see this error )below). What is mean? ETH for Gas is missing?

PS C:\F_BOT\fanance\inverse-finance-exploit> yarn attack npm WARN config global --global, --localare deprecated. Use--location=global instead. × Help us improve Hardhat with anonymous crash reports & basic usage data? (Y/n) · y Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="Transaction reverted: function call to a non-contract account", method="estimateGas", transaction={"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","data":"0x60c06040523480156200001157600080fd5b5060405162001985380380620019858339810160408190526200003491620000e0565b80806001600160a01b03166080816001600160a01b031660601b81525050806001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200008c57600080fd5b505afa158015620000a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000c79190620000e0565b60601b6001600160601b03191660a052506200011f9050565b600060208284031215620000f2578081fd5b8151620000ff8162000106565b9392505050565b6001600160a01b03811681146200011c57600080fd5b50565b60805160601c60a05160601c61182e620001576000396000818160dd0152818161020101526106be015260006061015261182e6000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630542975c1461005c57806335bdec5d146100a0578063920f5c84146100b5578063b4dcfc77146100d8578063c7e42b1b146100ff575b600080fd5b6100837f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100b36100ae366004611282565b610112565b005b6100c86100c3366004611169565b610274565b6040519015158152602001610097565b6100837f000000000000000000000000000000000000000000000000000000000000000081565b6100b361010d36600461114d565b61073b565b6000604051806101200160405280336001600160a01b0316815260200183606001516001600160a01b03168152602001836080015181526020018360a001516001600160a01b031681526020018360c001516001600160a01b031681526020018360e001516001600160a01b031681526020018361010001516001600160a01b031681526020018361012001516001600160a01b031681526020018361014001516001600160a01b03168152506040516020016101cf919061162c565b60408051601f19818403018152828252845160208601519286015163ab9c4b5d60e01b85529194506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169363ab9c4b5d9361023e9330939284908990600090600401611541565b600060405180830381600087803b15801561025857600080fd5b505af115801561026c573d6000803e3d6000fd5b505050505050565b6000808280602001905181019061028b91906113be565b905060008a8a60008181106102b057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906102c5919061114d565b6040516370a0823160e01b81523060048201529091506001600160a01b038216906370a082319060240160206040518083038186803b15801561030757600080fd5b505afa15801561031b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033f919061146c565b8989600081811061036057634e487b7160e01b600052603260045260246000fd5b9050602002013511156103ac5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c69642062616c616e636560881b60448201526064015b60405180910390fd5b6103de82828b8b60008181106103d257634e487b7160e01b600052603260045260246000fd5b905060200201356107eb565b6103eb8260a0015161084d565b5060c08201516040516370a0823160e01b81523060048201526104799183916001600160a01b038316906370a08231906024015b60206040518083038186803b15801561043757600080fd5b505afa15801561044b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046f919061146c565b85602001516108f6565b6104868260a0015161084d565b506104958261010001516109f4565b60c08201516040516370a0823160e01b81523060048201526104cd919083906001600160a01b038316906370a082319060240161041f565b61010082015160e08301516040516370a0823160e01b815230600482015261056f9291906001600160a01b038316906370a082319060240160206040518083038186803b15801561051d57600080fd5b505afa158015610531573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610555919061146c565b73aa5a67c256e27a5d80712c51971408db3370927d6108f6565b61057c8260e00151610aa8565b6105968260c00151826509184e72a00085602001516108f6565b60006105f9888860008181106105bc57634e487b7160e01b600052603260045260246000fd5b905060200201358b8b60008181106105e457634e487b7160e01b600052603260045260246000fd5b90506020020135610c0990919063ffffffff16565b6040516370a0823160e01b815230600482015290915081906001600160a01b038416906370a082319060240160206040518083038186803b15801561063d57600080fd5b505afa158015610651573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610675919061146c565b10156106a75760405162461bcd60e51b81526020600482015260016024820152603760f91b60448201526064016103a3565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820183905283169063095ea7b390604401600060405180830381600087803b15801561071157600080fd5b505af1158015610725573d6000803e3d6000fd5b5060019f9e505050505050505050505050505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561077d57600080fd5b505afa158015610791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b5919061146c565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb9060440161023e565b6107ff836020015183838660400151610c1c565b600061081384606001518560800151610cc8565b90506000731429a930ec3bcf5aa32ef298ccc5ab09836ef587905061083d85608001518383610e89565b61084681610f18565b5050505050565b6000816001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561088857600080fd5b505afa15801561089c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c0919061146c565b90506108f16040518060400160405280600d81526020016c3630ba32b9ba1030b739bbb2b960991b81525082610fae565b919050565b60405163095ea7b360e01b8152738e764be4288b842791989db5b8ec0672798298096004820181905260248201849052906001600160a01b0386169063095ea7b390604401600060405180830381600087803b15801561095557600080fd5b505af1158015610969573d6000803e3d6000fd5b5050604051631a4c1ca360e01b81526001600160a01b0385811660048301528881166024830152878116604483015260648201879052600060848301523060a483015284169250631a4c1ca3915060c4015b600060405180830381600087803b1580156109d557600080fd5b505af11580156109e9573d6000803e3d6000fd5b505050505050505050565b6040516370a0823160e01b8152737fcb7dac61ee35b3d4a51117a7c58d53f0a8a6706004820181905290819063c5ebeaec906001600160a01b038516906370a082319060240160206040518083038186803b158015610a5257600080fd5b505afa158015610a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8a919061146c565b6040518263ffffffff1660e01b815260040161023e91815260200190565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610aea57600080fd5b505afa158015610afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b22919061146c565b60405163095ea7b360e01b815273bebc44782c7db0a1a60cb6fe97d0b483032ff1c760048201819052602482018390529192506001600160a01b0384169063095ea7b390604401600060405180830381600087803b158015610b8357600080fd5b505af1158015610b97573d6000803e3d6000fd5b5050604051630d2680e960e11b81526004810185905260026024820152600060448201526001600160a01b0384169250631a4d01d291506064015b600060405180830381600087803b158015610bec57600080fd5b505af1158015610c00573d6000803e3d6000fd5b50505050505050565b6000610c1582846117a6565b9392505050565b60405163095ea7b360e01b81526001600160a01b0385811660048301526024820184905284169063095ea7b390604401600060405180830381600087803b158015610c6657600080fd5b505af1158015610c7a573d6000803e3d6000fd5b5050604080516060810182526000808252602082018690528183018190529151634515cef360e01b81529093506001600160a01b0388169250634515cef3916109bb918591906004016115d2565b6040516370a0823160e01b815230600482015260009081906001600160a01b038516906370a082319060240160206040518083038186803b158015610d0c57600080fd5b505afa158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d44919061146c565b60405163095ea7b360e01b81526001600160a01b038581166004830152602482018390529192509085169063095ea7b390604401600060405180830381600087803b158015610d9257600080fd5b505af1158015610da6573d6000803e3d6000fd5b5050604051636e553f6560e01b8152600481018490523060248201526001600160a01b0386169250636e553f659150604401600060405180830381600087803b158015610df257600080fd5b505af1158015610e06573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201526001600160a01b03861692506370a08231915060240160206040518083038186803b158015610e4957600080fd5b505afa158015610e5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e81919061146c565b949350505050565b60405163095ea7b360e01b81526001600160a01b0382811660048301526024820184905284169063095ea7b390604401600060405180830381600087803b158015610ed357600080fd5b505af1158015610ee7573d6000803e3d6000fd5b505060405163140e25ad60e31b8152600481018590526001600160a01b038416925063a0712d689150602401610bd2565b604080516001808252818301909252734dcf7407ae5c07f8681e1659f626e114a76673399160009190602080830190803683370190505090508281600081518110610f7357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152604051631853304760e31b81529083169063c299823890610bd29084906004016115bf565b610ff38282604051602401610fc492919061160a565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b179052610ff7565b5050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b80356108f1816117e0565b80516108f1816117e0565b60008083601f84011261103f578182fd5b50813567ffffffffffffffff811115611056578182fd5b6020830191508360208260051b850101111561107157600080fd5b9250929050565b600082601f830112611088578081fd5b8135602061109d61109883611782565b611751565b80838252828201915082860187848660051b89010111156110bc578586fd5b855b858110156110e35781356110d1816117e0565b845292840192908401906001016110be565b5090979650505050505050565b600082601f830112611100578081fd5b8135602061111061109883611782565b80838252828201915082860187848660051b890101111561112f578586fd5b855b858110156110e357813584529284019290840190600101611131565b60006020828403121561115e578081fd5b8135610c15816117e0565b60008060008060008060008060a0898b031215611184578384fd5b883567ffffffffffffffff8082111561119b578586fd5b6111a78c838d0161102e565b909a509850602091508a820135818111156111c0578687fd5b6111cc8d828e0161102e565b90995097505060408b0135818111156111e3578687fd5b6111ef8d828e0161102e565b90975095505060608b0135611203816117e0565b935060808b013581811115611216578384fd5b8b01601f81018d13611226578384fd5b803582811115611238576112386117ca565b61124a601f8201601f19168501611751565b92508083528d8482840101111561125f578485fd5b808483018585013784848285010152505080925050509295985092959890939650565b600060208284031215611293578081fd5b813567ffffffffffffffff808211156112aa578283fd5b9083019061016082860312156112be578283fd5b6112c6611703565b8235828111156112d4578485fd5b6112e087828601611078565b8252506020830135828111156112f4578485fd5b611300878286016110f0565b602083015250604083013582811115611317578485fd5b611323878286016110f0565b60408301525061133560608401611018565b60608201526080830135608082015261135060a08401611018565b60a082015261136160c08401611018565b60c082015261137260e08401611018565b60e08201526101009150611387828401611018565b82820152610120915061139b828401611018565b8282015261014091506113af828401611018565b91810191909152949350505050565b600061012082840312156113d0578081fd5b6113d861172d565b6113e183611023565b81526113ef60208401611023565b60208201526040830151604082015261140a60608401611023565b606082015261141b60808401611023565b608082015261142c60a08401611023565b60a082015261143d60c08401611023565b60c082015261144e60e08401611023565b60e0820152610100611461818501611023565b908201529392505050565b60006020828403121561147d578081fd5b5051919050565b6000815180845260208085019450808401835b838110156114bc5781516001600160a01b031687529582019590820190600101611497565b509495945050505050565b6000815180845260208085019450808401835b838110156114bc578151875295820195908201906001016114da565b60008151808452815b8181101561151b576020818501810151868301820152016114ff565b8181111561152c5782602083870101525b50601f01601f19169290920160200192915050565b600060018060a01b03808a16835260e0602084015261156360e084018a611484565b8381036040850152611575818a6114c7565b9050838103606085015261158981896114c7565b9050818716608085015283810360a08501526115a581876114f6565b9250505061ffff831660c083015298975050505050505050565b602081526000610c156020830184611484565b60808101818460005b60038110156115fa5781518352602092830192909101906001016115db565b5050508260608301529392505050565b60408152600061161d60408301856114f6565b90508260208301529392505050565b81516001600160a01b03168152602080830151610120830191611659908401826001600160a01b03169052565b5060408301516040830152606083015161167e60608401826001600160a01b03169052565b50608083015161169960808401826001600160a01b03169052565b5060a08301516116b460a08401826001600160a01b03169052565b5060c08301516116cf60c08401826001600160a01b03169052565b5060e08301516116ea60e08401826001600160a01b03169052565b50610100928301516001600160a01b0316919092015290565b604051610160810167ffffffffffffffff81118282101715611727576117276117ca565b60405290565b604051610120810167ffffffffffffffff81118282101715611727576117276117ca565b604051601f8201601f1916810167ffffffffffffffff8111828210171561177a5761177a6117ca565b604052919050565b600067ffffffffffffffff82111561179c5761179c6117ca565b5060051b60200190565b600082198211156117c557634e487b7160e01b81526011600452602481fd5b500190565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146117f557600080fd5b5056fea2646970667358221220202322dcab3bec435ff3ec038a43050d20425448a840c19e8424e2fca906bf4064736f6c63430008040033000000000000000000000000b53c1a33016b2dc2ff3653530bff1848a515c8c5","accessList":null}, error={"stackTrace":[{"type":14,"sourceReference":{"function":"constructor","contract":"Attack","sourceName":"contracts/aave/FlashLoanReceiverBase.sol","sourceContent":"// This is a file copied from https://github.com/aave/aave-v3-core/blob/e46341caf815edc268893f4f9398035f242375d9/contracts/flashloan/base/FlashLoanSimpleReceiverBase.sol\r\n// SPDX-License-Identifier: AGPL-3.0\r\npragma solidity 0.8.4;\r\n\r\n// import \"@openzeppelin/contracts/interfaces/IERC20.sol\";\r\nimport {IFlashLoanReceiver} from \"./IFlashLoanReceiver.sol\";\r\nimport {ILendingPoolAddressesProvider} from \"./ILendingPoolAddressesProvider.sol\";\r\nimport {ILendingPool} from \"./ILendingPool.sol\";\r\nimport \"@openzeppelin/contracts/utils/math/SafeMath.sol\";\r\n\r\nabstract contract FlashLoanReceiverBase is IFlashLoanReceiver {\r\n using SafeMath for uint256;\r\n\r\n ILendingPoolAddressesProvider public immutable override ADDRESSES_PROVIDER;\r\n ILendingPool public immutable override LENDING_POOL;\r\n\r\n constructor(ILendingPoolAddressesProvider provider) {\r\n ADDRESSES_PROVIDER = provider;\r\n LENDING_POOL = ILendingPool(provider.getLendingPool());\r\n }\r\n}\r\n","line":19,"range":[928,953]}}],"data":"0x"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.6.8) at Logger.makeError (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\@ethersproject\logger\src.ts\index.ts:261:28) at Logger.throwError (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\@ethersproject\logger\src.ts\index.ts:273:20) at checkError (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\@ethersproject\providers\src.ts\json-rpc-provider.ts:78:20) at EthersProviderWrapper.<anonymous> (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\@ethersproject\providers\src.ts\json-rpc-provider.ts:603:20) at step (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:48:23) at Object.throw (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:29:53) at rejected (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\@ethersproject\providers\lib\json-rpc-provider.js:21:65) at processTicksAndRejections (node:internal/process/task_queues:96:5) { reason: 'Transaction reverted: function call to a non-contract account', code: 'UNPREDICTABLE_GAS_LIMIT', method: 'estimateGas', transaction: { from: '0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266', data: '0x60c06040523480156200001157600080fd5b5060405162001985380380620019858339810160408190526200003491620000e0565b80806001600160a01b03166080816001600160a01b031660601b81525050806001600160a01b0316630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200008c57600080fd5b505afa158015620000a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000c79190620000e0565b60601b6001600160601b03191660a052506200011f9050565b600060208284031215620000f2578081fd5b8151620000ff8162000106565b9392505050565b6001600160a01b03811681146200011c57600080fd5b50565b60805160601c60a05160601c61182e620001576000396000818160dd0152818161020101526106be015260006061015261182e6000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630542975c1461005c57806335bdec5d146100a0578063920f5c84146100b5578063b4dcfc77146100d8578063c7e42b1b146100ff575b600080fd5b6100837f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6100b36100ae366004611282565b610112565b005b6100c86100c3366004611169565b610274565b6040519015158152602001610097565b6100837f000000000000000000000000000000000000000000000000000000000000000081565b6100b361010d36600461114d565b61073b565b6000604051806101200160405280336001600160a01b0316815260200183606001516001600160a01b03168152602001836080015181526020018360a001516001600160a01b031681526020018360c001516001600160a01b031681526020018360e001516001600160a01b031681526020018361010001516001600160a01b031681526020018361012001516001600160a01b031681526020018361014001516001600160a01b03168152506040516020016101cf919061162c565b60408051601f19818403018152828252845160208601519286015163ab9c4b5d60e01b85529194506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169363ab9c4b5d9361023e9330939284908990600090600401611541565b600060405180830381600087803b15801561025857600080fd5b505af115801561026c573d6000803e3d6000fd5b505050505050565b6000808280602001905181019061028b91906113be565b905060008a8a60008181106102b057634e487b7160e01b600052603260045260246000fd5b90506020020160208101906102c5919061114d565b6040516370a0823160e01b81523060048201529091506001600160a01b038216906370a082319060240160206040518083038186803b15801561030757600080fd5b505afa15801561031b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033f919061146c565b8989600081811061036057634e487b7160e01b600052603260045260246000fd5b9050602002013511156103ac5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c69642062616c616e636560881b60448201526064015b60405180910390fd5b6103de82828b8b60008181106103d257634e487b7160e01b600052603260045260246000fd5b905060200201356107eb565b6103eb8260a0015161084d565b5060c08201516040516370a0823160e01b81523060048201526104799183916001600160a01b038316906370a08231906024015b60206040518083038186803b15801561043757600080fd5b505afa15801561044b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046f919061146c565b85602001516108f6565b6104868260a0015161084d565b506104958261010001516109f4565b60c08201516040516370a0823160e01b81523060048201526104cd919083906001600160a01b038316906370a082319060240161041f565b61010082015160e08301516040516370a0823160e01b815230600482015261056f9291906001600160a01b038316906370a082319060240160206040518083038186803b15801561051d57600080fd5b505afa158015610531573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610555919061146c565b73aa5a67c256e27a5d80712c51971408db3370927d6108f6565b61057c8260e00151610aa8565b6105968260c00151826509184e72a00085602001516108f6565b60006105f9888860008181106105bc57634e487b7160e01b600052603260045260246000fd5b905060200201358b8b60008181106105e457634e487b7160e01b600052603260045260246000fd5b90506020020135610c0990919063ffffffff16565b6040516370a0823160e01b815230600482015290915081906001600160a01b038416906370a082319060240160206040518083038186803b15801561063d57600080fd5b505afa158015610651573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610675919061146c565b10156106a75760405162461bcd60e51b81526020600482015260016024820152603760f91b60448201526064016103a3565b60405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820183905283169063095ea7b390604401600060405180830381600087803b15801561071157600080fd5b505af1158015610725573d6000803e3d6000fd5b5060019f9e505050505050505050505050505050565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b15801561077d57600080fd5b505afa158015610791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b5919061146c565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb9060440161023e565b6107ff836020015183838660400151610c1c565b600061081384606001518560800151610cc8565b90506000731429a930ec3bcf5aa32ef298ccc5ab09836ef587905061083d85608001518383610e89565b61084681610f18565b5050505050565b6000816001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561088857600080fd5b505afa15801561089c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c0919061146c565b90506108f16040518060400160405280600d81526020016c3630ba32b9ba1030b739bbb2b960991b81525082610fae565b919050565b60405163095ea7b360e01b8152738e764be4288b842791989db5b8ec0672798298096004820181905260248201849052906001600160a01b0386169063095ea7b390604401600060405180830381600087803b15801561095557600080fd5b505af1158015610969573d6000803e3d6000fd5b5050604051631a4c1ca360e01b81526001600160a01b0385811660048301528881166024830152878116604483015260648201879052600060848301523060a483015284169250631a4c1ca3915060c4015b600060405180830381600087803b1580156109d557600080fd5b505af11580156109e9573d6000803e3d6000fd5b505050505050505050565b6040516370a0823160e01b8152737fcb7dac61ee35b3d4a51117a7c58d53f0a8a6706004820181905290819063c5ebeaec906001600160a01b038516906370a082319060240160206040518083038186803b158015610a5257600080fd5b505afa158015610a66573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8a919061146c565b6040518263ffffffff1660e01b815260040161023e91815260200190565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a082319060240160206040518083038186803b158015610aea57600080fd5b505afa158015610afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b22919061146c565b60405163095ea7b360e01b815273bebc44782c7db0a1a60cb6fe97d0b483032ff1c760048201819052602482018390529192506001600160a01b0384169063095ea7b390604401600060405180830381600087803b158015610b8357600080fd5b505af1158015610b97573d6000803e3d6000fd5b5050604051630d2680e960e11b81526004810185905260026024820152600060448201526001600160a01b0384169250631a4d01d291506064015b600060405180830381600087803b158015610bec57600080fd5b505af1158015610c00573d6000803e3d6000fd5b50505050505050565b6000610c1582846117a6565b9392505050565b60405163095ea7b360e01b81526001600160a01b0385811660048301526024820184905284169063095ea7b390604401600060405180830381600087803b158015610c6657600080fd5b505af1158015610c7a573d6000803e3d6000fd5b5050604080516060810182526000808252602082018690528183018190529151634515cef360e01b81529093506001600160a01b0388169250634515cef3916109bb918591906004016115d2565b6040516370a0823160e01b815230600482015260009081906001600160a01b038516906370a082319060240160206040518083038186803b158015610d0c57600080fd5b505afa158015610d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d44919061146c565b60405163095ea7b360e01b81526001600160a01b038581166004830152602482018390529192509085169063095ea7b390604401600060405180830381600087803b158015610d9257600080fd5b505af1158015610da6573d6000803e3d6000fd5b5050604051636e553f6560e01b8152600481018490523060248201526001600160a01b0386169250636e553f659150604401600060405180830381600087803b158015610df257600080fd5b505af1158015610e06573d6000803e3d6000fd5b50506040516370a0823160e01b81523060048201526001600160a01b03861692506370a08231915060240160206040518083038186803b158015610e4957600080fd5b505afa158015610e5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e81919061146c565b949350505050565b60405163095ea7b360e01b81526001600160a01b0382811660048301526024820184905284169063095ea7b390604401600060405180830381600087803b158015610ed357600080fd5b505af1158015610ee7573d6000803e3d6000fd5b505060405163140e25ad60e31b8152600481018590526001600160a01b038416925063a0712d689150602401610bd2565b604080516001808252818301909252734dcf7407ae5c07f8681e1659f626e114a76673399160009190602080830190803683370190505090508281600081518110610f7357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152604051631853304760e31b81529083169063c299823890610bd29084906004016115bf565b610ff38282604051602401610fc492919061160a565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b179052610ff7565b5050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b80356108f1816117e0565b80516108f1816117e0565b60008083601f84011261103f578182fd5b50813567ffffffffffffffff811115611056578182fd5b6020830191508360208260051b850101111561107157600080fd5b9250929050565b600082601f830112611088578081fd5b8135602061109d61109883611782565b611751565b80838252828201915082860187848660051b89010111156110bc578586fd5b855b858110156110e35781356110d1816117e0565b845292840192908401906001016110be565b5090979650505050505050565b600082601f830112611100578081fd5b8135602061111061109883611782565b80838252828201915082860187848660051b890101111561112f578586fd5b855b858110156110e357813584529284019290840190600101611131565b60006020828403121561115e578081fd5b8135610c15816117e0565b60008060008060008060008060a0898b031215611184578384fd5b883567ffffffffffffffff8082111561119b578586fd5b6111a78c838d0161102e565b909a509850602091508a820135818111156111c0578687fd5b6111cc8d828e0161102e565b90995097505060408b0135818111156111e3578687fd5b6111ef8d828e0161102e565b90975095505060608b0135611203816117e0565b935060808b013581811115611216578384fd5b8b01601f81018d13611226578384fd5b803582811115611238'... 3132 more characters, accessList: null }, error: Error: Transaction reverted: function call to a non-contract account at Attack.constructor (contracts/aave/FlashLoanReceiverBase.sol:19) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async EthModule._estimateGasAction (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\hardhat\src\internal\hardhat-network\provider\modules\eth.ts:429:7) at async HardhatNetworkProvider.request (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\hardhat\src\internal\hardhat-network\provider\provider.ts:118:18) at async EthersProviderWrapper.send (C:\F_BOT\fanance\inverse-finance-exploit\node_modules\@nomiclabs\hardhat-ethers\src\internal\ethers-provider-wrapper.ts:13:20)