Derive Macro near_contract_tools::Pause
source · #[derive(Pause)]
{
// Attributes available to this derive:
#[pause]
}
Expand description
Makes a contract pausable. Provides an implementation of the Pause
trait.
The storage key prefix for the fields can be optionally specified (default:
"~p"
) using #[pause(storage_key = "<expression>")]
.