Please enable JavaScript.
Coggle requires JavaScript to display documents.
Apollo Smart Contracts (DAE Tokens (Functions (changeOwners (Public (Admin…
Apollo Smart Contracts
DAE Tokens
-
Functions
Init
Public
Sets Admin to msg.sender - This can never change
Might also have option to set other owners used with admin for the multisig
Also, can possibly set the whitelisted withdraw address for ETH.
changeOwners
Public
Admin can change, add or remove other owners addresses
Must also have approval from 2 other owners
-
changeETHWithdraw
Public
Admin and 2 owners must approve this change
This changes the address that all ETH must be withdrawn to.
Has to fire event when used.
-
ETHWithdraw
Public
Admin plus 2 owners required
Once admin and 2 owners approve, withdraw should not be allowed to execute for 2 days, and at any time before then, admin or 2 owners can cancel any withdraw authorization
-
ApproveAuthNumber
Public
Admin or any 1 owner can run this function
This function will store input provided by admin or owner
Stores ( current authorization number , msg.sender, "true" )
-
RejectAuthNumber
Public
This will change anything stored, or store a rejection for auth # provided
Stores ( current authorization number , msg.sender, "false" )
-
-
Modifiers
AdminPlusOwners
Not a 100% if this is the best way, so open to suggestions.
Any function that requires this to be true will have to provide
-
-
-