Crate near_contract_tools
source · [−]Expand description
Helpful functions and macros for developing smart contracts on NEAR Protocol.
Modules
Helpers for #[derive(near_contract_tools::Event)]
Owner pattern
Contract method pausing/unpausing
Role-based access control
Managed storage slots
Utility functions for storage key generation, storage fee management
Derive Macros
Derives an NEP-297-compatible event emitting implementation of Event
.
Creates a managed, lazily-loaded Owner
implementation for the targeted
#[near_bindgen]
struct.
Makes a contract pausable. Provides an implementation of the Pause
trait.
Adds role-based access control. No external methods are exposed.