Manually interacting with a contract using OpenZepplin Defender shows: Transaction would revert

I’m conducting some tests and I sure hope I’m not asking silly laughable questions. I’m doing some of my own testing using OpenZepplin Defender.

I’m getting: “Transaction would not revert…”

Oh and WOW! This defender tool, wow! If I’m understanding it, it’s a platform to manage a contract. Great resource :wink:

1 Like

Hi @DINO,

Nice to see you playing with OpenZeppelin Defender.

You are trying to send Ether to a contract. In order to receive an Ether transfer the contract should have either ‘receive’ or payable ‘fallback’ function. Which is why the transaction would revert.

If you haven’t already, I suggest attending an Introduction to OpenZeppelin Defender:

2 Likes