Vault that holds Ether.
event Authorized(address addr, bool authorized)
receive() external payable
function init(address addressManager) external
function sendEther(uint256 amount) public
Send Ether from EtherVault to the sender, checking they are authorized.
|amount||uint256||Amount of ether to send.|
function authorize(address addr, bool authorized) public
Set the authorized status of an address, only the owner can call this.
|addr||address||Address to set the authorized status of.|
|authorized||bool||Authorized status to set.|
function isAuthorized(address addr) public view returns (bool)
Get the authorized status of an address.
|addr||address||Address to get the authorized status of.|