Added LDoc comments for new files, ready to merge pt. 2

This commit is contained in:
SkylarHew
2022-01-23 18:21:23 -07:00
parent e72911c67c
commit 79b548f9a0
24 changed files with 118 additions and 94 deletions

View File

@ -1,6 +1,6 @@
--- create_token
--- Create token.
-- Depends on tokenomics
-- @module create_token
-- depends on tokenomics
local create_token = {
name = "Create a token (consent)",
@ -9,9 +9,6 @@ local create_token = {
hide = false;
}
--- (Required) Data for module
-- Variables that module uses during the course of a process
-- Can be blank
create_token.data = {
}
@ -19,9 +16,9 @@ create_token.config = {
token_name = ""
}
--- (Required): initiate function
-- @param result (optional) Callback if this module is embedded in other modules
-- @function initiate
--- Initiate function
-- @function create_toke:initiate
-- @param result Callback if this module is embedded in other modules
function create_token:initiate(result)
modpol.interactions.text_query(
self.initiator,
@ -49,5 +46,4 @@ function create_token:initiate(result)
)
end
--- (Required) Add to module table
modpol.modules.create_token = create_token