dtr_core 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3352d93fadaa5ab7f0ff8eb5f5efbfe60612ab00b6ae6a78eabd52493a706058
4
- data.tar.gz: 71ce0be5d19044f5e0dd3b0ecf18622932ee66826af2ca9866dbf0a0b68020bb
3
+ metadata.gz: 71c160a63f67d1b82c407bbb6493f4f1df122157e36a65672a3f29849c48983c
4
+ data.tar.gz: 19628d6a63efa55634b589b1d11b3e5da0a6d654c7bb1ef56baf93b452e13046
5
5
  SHA512:
6
- metadata.gz: 5c84f2e6aa5a073d1a51459b935ea250e7da97348bbb0dc7db73512e5039d632d17b99523aff63c6407112764827c5dc97913b16aa659c490b15d325f62946c3
7
- data.tar.gz: 6ca2a19d5eda16344272aeb6fe26d408b39be39f7b59323361b05f37c1a99540276734ea194cb9a2e458b8ea9c0164dd3d0ec181a719ea9173c08ca2cd37dffa
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
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-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.