Added LDoc comments for new files, ready to merge pt. 2
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user