Class: TonSdkRuby::StateInitOptions
- Inherits:
-
Object
- Object
- TonSdkRuby::StateInitOptions
- Extended by:
- TonSdkRuby
- Includes:
- TonSdkRuby
- Defined in:
- lib/ton-sdk-ruby/types/block.rb
Constant Summary
Constants included from TonSdkRuby
DEPTH_BITS, FLAG_BOUNCEABLE, FLAG_NON_BOUNCEABLE, FLAG_TEST_ONLY, HASH_BITS, INT32_MAX, INT32_MIN, LEAN_BOC_MAGIC_PREFIX, LEAN_BOC_MAGIC_PREFIX_CRC, REACH_BOC_MAGIC_PREFIX, VERSION
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#data ⇒ Object
Returns the value of attribute data.
-
#library ⇒ Object
Returns the value of attribute library.
-
#special ⇒ Object
Returns the value of attribute special.
-
#split_depth ⇒ Object
Returns the value of attribute split_depth.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ StateInitOptions
constructor
A new instance of StateInitOptions.
Methods included from TonSdkRuby
augment, base64_to_bytes, bits_to_big_int, bits_to_big_uint, bits_to_bytes, bits_to_hex, bits_to_int_uint, breadth_first_sort, bytes_compare, bytes_needed_for_words_bip39, bytes_to_base64, bytes_to_bits, bytes_to_data_string, bytes_to_hex, bytes_to_string, bytes_to_uint, crc16, crc16_bytes_be, crc32c, crc32c_bytes_le, depth_first_sort, deserialize, deserialize_cell, deserialize_fift, deserialize_header, generate_words_bip39, get_mapper, hex_to_bits, hex_to_bytes, hex_to_data_string, read_json_from_link, read_post_json_from_link, require_type, rollback, serialize, serialize_cell, sha256, sha512, sign_cell, slice_into_chunks, string_to_bytes, uint_to_hex, validate_library_reference, validate_merkle_proof, validate_merkle_update, validate_ordinary, validate_pruned_branch
Constructor Details
#initialize(options = {}) ⇒ StateInitOptions
Returns a new instance of StateInitOptions.
77 78 79 80 81 82 83 |
# File 'lib/ton-sdk-ruby/types/block.rb', line 77 def initialize( = {}) @split_depth = [:split_depth] @special = [:special] @code = [:code] @data = [:data] @library = [:library] end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
75 76 77 |
# File 'lib/ton-sdk-ruby/types/block.rb', line 75 def code @code end |
#data ⇒ Object
Returns the value of attribute data.
75 76 77 |
# File 'lib/ton-sdk-ruby/types/block.rb', line 75 def data @data end |
#library ⇒ Object
Returns the value of attribute library.
75 76 77 |
# File 'lib/ton-sdk-ruby/types/block.rb', line 75 def library @library end |
#special ⇒ Object
Returns the value of attribute special.
75 76 77 |
# File 'lib/ton-sdk-ruby/types/block.rb', line 75 def special @special end |
#split_depth ⇒ Object
Returns the value of attribute split_depth.
75 76 77 |
# File 'lib/ton-sdk-ruby/types/block.rb', line 75 def split_depth @split_depth end |