aja asked on Telegram:
whats best practice for sending ether to a payable address? I'm using .send() for now, but I want to move to a more secure methodology
aja asked on Telegram:
whats best practice for sending ether to a payable address? I'm using .send() for now, but I want to move to a more secure methodology
Have a look at sendValue though you need to ensure that you don't introduce reentrancy vulnerabilities: https://docs.openzeppelin.com/contracts/2.x/api/utils#Address-sendValue-address-payable-uint256-
I suggest reading Reentrancy after Istanbul for ways to deal with this: