dtr_core 0.2.4 → 0.2.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3352d93fadaa5ab7f0ff8eb5f5efbfe60612ab00b6ae6a78eabd52493a706058
4
- data.tar.gz: 71ce0be5d19044f5e0dd3b0ecf18622932ee66826af2ca9866dbf0a0b68020bb
3
+ metadata.gz: 242efbb99a793163e085853ecaf69ef2e07d8bd0fc2952fdc7490d116d09af4a
4
+ data.tar.gz: 3c363a459f8e5d23d2e81d188fa160deb567fb6a25cca378a5ae5f73a82cc16d
5
5
  SHA512:
6
- metadata.gz: 5c84f2e6aa5a073d1a51459b935ea250e7da97348bbb0dc7db73512e5039d632d17b99523aff63c6407112764827c5dc97913b16aa659c490b15d325f62946c3
7
- data.tar.gz: 6ca2a19d5eda16344272aeb6fe26d408b39be39f7b59323361b05f37c1a99540276734ea194cb9a2e458b8ea9c0164dd3d0ec181a719ea9173c08ca2cd37dffa
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
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-14 00:00:00.000000000 Z
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.