Major improvements on policy configuration
- Bugfixes on change_policy - Replaced _consent modules with configurable modules
This commit is contained in:
@ -3,9 +3,9 @@
|
||||
-- @module create_token
|
||||
|
||||
local create_token = {
|
||||
name = "Create a token (consent)",
|
||||
name = "Create a token",
|
||||
slug = "create_token",
|
||||
desc = "With org consent, creates an org token",
|
||||
desc = "Creates an org token",
|
||||
hide = false;
|
||||
}
|
||||
|
||||
@ -13,7 +13,8 @@ create_token.data = {
|
||||
}
|
||||
|
||||
create_token.config = {
|
||||
token_name = ""
|
||||
token_name = "token",
|
||||
approval_module = false
|
||||
}
|
||||
|
||||
--- Initiate function
|
||||
@ -29,7 +30,7 @@ function create_token:initiate(result)
|
||||
"tokenomics",
|
||||
self.initiator,
|
||||
{
|
||||
consent = true,
|
||||
approval_module = self.config.approval_module,
|
||||
token_slug = self.config.token_name
|
||||
},
|
||||
function(input2)
|
||||
|
Reference in New Issue
Block a user