Closed tensojka closed 1 month ago
In the case governance is hacked, the treasury needs to have a cooldown period (two days). Any transfer out from the treasury is subject to it. During the period, anyone from a list of guardians can come in and cancel not-yet-executed transfer.
Storage layout
transfer_on_cooldown: Map::<u64, Transfer>, current_transfer_pointer: u64 guardian: Map::<u32, ContractAddress>
External functions:
execute_all_pending cancel_execution
assigned to @faurdent
Thanks
Hello please can I take this up?
Hello @tensojka i would love to take up this issue. ETA 4-6 days
Done in #131
In the case governance is hacked, the treasury needs to have a cooldown period (two days). Any transfer out from the treasury is subject to it. During the period, anyone from a list of guardians can come in and cancel not-yet-executed transfer.
Storage layout
External functions:
execute_all_pending cancel_execution
assigned to @faurdent