Module application

Source

Structs§

AgentApplication
Decentralized autonomous organization application, it’s used to do agent operations on the network, like creating or removing, and needs to be approved by other peers.

Enums§

ApplicationAction
Possible operations are adding or removing applications.
ApplicationStatus

Functions§

accept_application
Accepts an agent application and executes it if it’s still open, fails otherwise.
deny_application
Rejects an open application.
submit_application
Creates a new agent application if the key is not yet whitelisted. It withdraws a fee from the payer account, which is given back if the application is accepted. The fee avoids actors spamming applications.