class TonSdk::Tvm::ParamsOfRunTvm

Attributes

abi[R]
account[R]
boc_cache[R]
execution_options[R]
message[R]
return_updated_account[R]

Public Class Methods

new(message:, account:, execution_options: nil, abi: nil, boc_cache: nil, return_updated_account: nil) click to toggle source
# File lib/ton_sdk_client/tvm.rb, line 109
def initialize(message:, account:, execution_options: nil, abi: nil, boc_cache: nil, return_updated_account: nil)
  @message = message
  @account = account
  @execution_options = execution_options
  @abi = abi
  @boc_cache = boc_cache
  @return_updated_account = return_updated_account
end

Public Instance Methods

to_h() click to toggle source
# File lib/ton_sdk_client/tvm.rb, line 118
def to_h
  {
    message: @message,
    account: @account,
    execution_options: @execution_options&.to_h,
    abi: @abi&.to_h,
    boc_cache: @boc_cache&.to_h,
    return_updated_account: @return_updated_account
  }
end