Module near_contract_tools::approval
source · Expand description
Queue and approve actions
Modules
Approval action type for native NEAR transaction actions (create account,
delete account, add key, delete key, deploy contract, function call, stake,
transfer)
Simple multi-signature wallet component. Generic over approvable actions.
Use with NativeTransactionAction for multisig over native transactions.
Structs
An action request is composed of an action that will be executed when the
associated approval state is satisfied
The account is ineligile to perform an action for some reason
Enums
Top-level errors that may occur when attempting to approve a request
Errors that may occur when trying to create a request
Errors that may occur when trying to execute a request
Errors that may occur when trying to remove a request
Constants
Error message emitted when the init function is called multiple times
Error message emitted when the component is used before it is initialized
Traits
Actions can be executed after they are approved
Defines the operating parameters for an ApprovalManager and performs
approvals
Collection of action requests that manages their approval state and
execution