> For the complete documentation index, see [llms.txt](https://docs.fly.trade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fly.trade/developers/deprecated-magpie-contracts/magpieaggregator-diamond-proxy/pauser/pauserfacet.md).

# PauserFacet

The `PauserFacet` contract provides an implementation of the `IPauser` interface, allowing the contract owner to pause and unpause the contract by invoking the corresponding functions.

### pause():

The `pause` function is used to pause the contract's functionality. It enforces that only the contract owner can call this function, and upon successful verification, it updates the `paused` state variable and emits a corresponding event.

### unpause():

The `unpause` function allows the contract owner to resume the functionality of the paused contract. It enforces that only the contract owner can call this function, and upon successful verification, it updates the `paused` state variable and emits a corresponding event.
