dtr_core 0.2.4 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dtr_core/supported_attributes.rb +3 -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: 242efbb99a793163e085853ecaf69ef2e07d8bd0fc2952fdc7490d116d09af4a
|
4
|
+
data.tar.gz: 3c363a459f8e5d23d2e81d188fa160deb567fb6a25cca378a5ae5f73a82cc16d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 012c681fee649284f6ea504c68aa5c3b9ffd7fba9b4bf458fd45ecd88541c2d32f5b8b30ad44ebbdd7050237a0d2e479c812c1586014bdb84bf564a4282425e8
|
7
|
+
data.tar.gz: 7e7aefdd93759b7c3286ba14436a4540c32d01d276c1d587226b109dfb6f44dfb1a2e47543a9ecd19bb78bec075716ff0b6585a275cbdb3e7fb85f9bb2cf26db
|
@@ -20,6 +20,8 @@ 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 },
|
24
|
+
{ name: 'add', description: 'Add two things of unknown types together.', category: INSTRUCTION_CATEGORY_BASIC },
|
23
25
|
# state operations
|
24
26
|
{ name: 'fetch_state', description: 'Fetch a value from the state.', category: INSTRUCTION_CATEGORY_STATE },
|
25
27
|
{ name: 'save_state', description: 'Save a value to the state.', category: INSTRUCTION_CATEGORY_STATE },
|
@@ -31,7 +33,7 @@ module DTRCore
|
|
31
33
|
# string operations
|
32
34
|
{ name: 'add_strings', description: 'Concatenate two strings.', category: INSTRUCTION_CATEGORY_STRING },
|
33
35
|
# environment operations
|
34
|
-
{ name: 'contract_address', description: 'Get the contract address.', category: INSTRUCTION_CATEGORY_ENVIRONMENT}
|
36
|
+
{ name: 'contract_address', description: 'Get the contract address.', category: INSTRUCTION_CATEGORY_ENVIRONMENT }
|
35
37
|
].freeze
|
36
38
|
|
37
39
|
# 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.6
|
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.
|