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