Memory Helpers

Load

Loads a value saved on the specified key.
  • Load(key, [ defaultValue ])
Returns the saved value or nil.
Return Type: Dynamic
Parameter Name
Parameter Type
Required
Suggested
key
String
True
-
defaultValue
Dynamic
False
Number, Text, True, False

Log

Create a message in the log.
  • Log(message)
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
message
Dynamic
True
Text

LogError

Create an error message in the log.
  • LogError(message)
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
message
Dynamic
True
Text

LogWalletError

Create a warning message in the log and activates the trade amount error.
  • LogWalletError(message)
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
message
Dynamic
True
Text

LogWarning

Create a warning message in the log.
  • LogWarning(message)
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
message
Dynamic
True
Text

Save

Saves a value on a specific key. This value can be retrieved with Load()
  • Save(key, value)
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
key
String
True
-
value
Dynamic
True
-
Copy link
On this page
Load
Log
LogError
LogWalletError
LogWarning
Save