cw-pause-once

Crates.iocw-pause-once
lib.rscw-pause-once
version0.1.0
sourcesrc
created_at2024-05-13 05:17:54.573676
updated_at2024-05-13 05:17:54.573676
descriptiona package to allow an address to pause a single time for a prespecified duration
homepage
repository
max_upload_size
id1237985
size6,293
Jorge Hernandez (jhernandezb)

documentation

README

This provides a simple type, PauseOrchestrator, that allows a specified address to execute a pause a single time and pause for a prespecified duration.

This might be useful if you want to delegate the ability to pause a contract to an address, while also not allowing that address to perminantly lock the contract. For example, you may want to set the prespecified duration to slightly over one governance cycle for SDK governance, and then set a small subDAO as the pauser. This way the subDAO may pause the contract quickly, but must be reauthorized by governance to do it again.

Commit count: 0

cargo fmt