Class: EverSdk::Tvm::ParamsOfRunTvm

Inherits:
Object
  • Object
show all
Defined in:
lib/ever_sdk_client/tvm.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message:, account:, execution_options: nil, abi: nil, boc_cache: nil, return_updated_account: nil) ⇒ ParamsOfRunTvm

Returns a new instance of ParamsOfRunTvm.



108
109
110
111
112
113
114
115
# File 'lib/ever_sdk_client/tvm.rb', line 108

def initialize(message:, account:, execution_options: nil, abi: nil, boc_cache: nil, return_updated_account: nil)
  @message = message
  @account = 
  @execution_options = execution_options
  @abi = abi
  @boc_cache = boc_cache
  @return_updated_account = 
end

Instance Attribute Details

#abiObject (readonly)

Returns the value of attribute abi.



105
106
107
# File 'lib/ever_sdk_client/tvm.rb', line 105

def abi
  @abi
end

#accountObject (readonly)

Returns the value of attribute account.



105
106
107
# File 'lib/ever_sdk_client/tvm.rb', line 105

def 
  @account
end

#boc_cacheObject (readonly)

Returns the value of attribute boc_cache.



105
106
107
# File 'lib/ever_sdk_client/tvm.rb', line 105

def boc_cache
  @boc_cache
end

#execution_optionsObject (readonly)

Returns the value of attribute execution_options.



105
106
107
# File 'lib/ever_sdk_client/tvm.rb', line 105

def execution_options
  @execution_options
end

#messageObject (readonly)

Returns the value of attribute message.



105
106
107
# File 'lib/ever_sdk_client/tvm.rb', line 105

def message
  @message
end

#return_updated_accountObject (readonly)

Returns the value of attribute return_updated_account.



105
106
107
# File 'lib/ever_sdk_client/tvm.rb', line 105

def 
  @return_updated_account
end

Instance Method Details

#to_hObject



117
118
119
120
121
122
123
124
125
126
# File 'lib/ever_sdk_client/tvm.rb', line 117

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