yuichiroaoki / poly-flash

Flashloan on Polygon
https://yuichiroaoki.medium.com/no-flashloan-fee-with-dodo-cc78215d7f93
MIT License
294 stars 174 forks source link

Warning! Error encountered during contract execution [out of gas] #43

Open bloodha opened 2 years ago

bloodha commented 2 years ago

what wrong please i just created my smart contract but when i want to transfert some Matic i can't https://polygonscan.com/tx/0xe0873a4e679e5c74c2692e832e6d27e601c970b0bebcc7a9ef18f7c5c28a8d81

yuichiroaoki commented 2 years ago

Probably because the contract doesn't have a receive or payable function, so the contract cannot receive any native token (MATIC on polygon).