dtr_core 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/dtr_core/supported_attributes.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71c160a63f67d1b82c407bbb6493f4f1df122157e36a65672a3f29849c48983c
|
4
|
+
data.tar.gz: 19628d6a63efa55634b589b1d11b3e5da0a6d654c7bb1ef56baf93b452e13046
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66aa5ede8dec5cd1300b7ab5f3786812ba3cf78fef363f47e4dcf49b81f7ab2cc12a0d16cc4913226ec8ee54da4007b315b1bff568c4dfc3d2972b5edf9e9a2b
|
7
|
+
data.tar.gz: 3a1e92adad72c46e14c2ca6027c2abe2e0c2b27bb926496ba7a68ddba16d6631a78908ba0930d73f87e85dd96ef6ad21a0798c619f6fa4eb850c0402cde8bce7
|
@@ -20,6 +20,7 @@ module DTRCore
|
|
20
20
|
INSTRUCTIONS = [
|
21
21
|
# basic operations
|
22
22
|
{ name: 'return', description: 'Return a value from a function.', category: INSTRUCTION_CATEGORY_BASIC },
|
23
|
+
{ name: 'assign', description: 'Assign a value to a variable.', category: INSTRUCTION_CATEGORY_BASIC },
|
23
24
|
# state operations
|
24
25
|
{ name: 'fetch_state', description: 'Fetch a value from the state.', category: INSTRUCTION_CATEGORY_STATE },
|
25
26
|
{ name: 'save_state', description: 'Save a value to the state.', category: INSTRUCTION_CATEGORY_STATE },
|
@@ -31,7 +32,7 @@ module DTRCore
|
|
31
32
|
# string operations
|
32
33
|
{ name: 'add_strings', description: 'Concatenate two strings.', category: INSTRUCTION_CATEGORY_STRING },
|
33
34
|
# environment operations
|
34
|
-
{ name: 'contract_address', description: 'Get the contract address.', category: INSTRUCTION_CATEGORY_ENVIRONMENT}
|
35
|
+
{ name: 'contract_address', description: 'Get the contract address.', category: INSTRUCTION_CATEGORY_ENVIRONMENT }
|
35
36
|
].freeze
|
36
37
|
|
37
38
|
# Supported Types for DTR.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dtr_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rob Durst
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Core smart contract intermediate language (Digicus Textual Representation)
|
14
14
|
parser.
|