Class: TonSdkRuby::IntMsgInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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 = {}) ⇒ IntMsgInfo

Returns a new instance of IntMsgInfo.



140
141
142
143
144
145
146
147
148
149
150
151
152
# File 'lib/ton-sdk-ruby/types/block.rb', line 140

def initialize(options = {})
  @tag = 'int_msg_info'
  @ihr_disabled = options[:ihr_disabled]
  @bounce = options[:bounce]
  @bounced = options[:bounced]
  @src = options[:src]
  @dest = options[:dest]
  @value = options[:value]
  @ihr_fee = options[:ihr_fee]
  @fwd_fee = options[:fwd_fee]
  @created_lt = options[:created_lt]
  @created_at = options[:created_at]
end

Instance Attribute Details

#bounceObject

Returns the value of attribute bounce.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def bounce
  @bounce
end

#bouncedObject

Returns the value of attribute bounced.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def bounced
  @bounced
end

#created_atObject

Returns the value of attribute created_at.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def created_at
  @created_at
end

#created_ltObject

Returns the value of attribute created_lt.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def created_lt
  @created_lt
end

#destObject

Returns the value of attribute dest.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def dest
  @dest
end

#fwd_feeObject

Returns the value of attribute fwd_fee.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def fwd_fee
  @fwd_fee
end

#ihr_disabledObject

Returns the value of attribute ihr_disabled.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def ihr_disabled
  @ihr_disabled
end

#ihr_feeObject

Returns the value of attribute ihr_fee.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def ihr_fee
  @ihr_fee
end

#srcObject

Returns the value of attribute src.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def src
  @src
end

#tagObject

Returns the value of attribute tag.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def tag
  @tag
end

#valueObject

Returns the value of attribute value.



137
138
139
# File 'lib/ton-sdk-ruby/types/block.rb', line 137

def value
  @value
end