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 @@
--- send_token
--- Send token.
-- Depends on tokenomics
-- @module send_token
-- depends on tokenomics
local send_token = {
name = "Send tokens",
@ -19,9 +19,9 @@ send_token.config = {
token_name = ""
}
--- (Required): initiate function
-- @param result (optional) Callback if this module is embedded in other modules
-- @function initiate
--- initiate function
-- @function send_token:initiate
-- @param result Callback if this module is embedded in other modules
function send_token:initiate(result)
local token_list = {}
if self.org.tokens then
@ -73,5 +73,4 @@ function send_token:initiate(result)
end
end
--- (Required) Add to module table
modpol.modules.send_token = send_token