Class: TonSdkRubySmc::HighloadWalletV2Transfer

Inherits:
Object
  • Object
show all
Extended by:
TonSdkRuby, TonSdkRubySmc
Includes:
TonSdkRuby
Defined in:
lib/ton-sdk-ruby-smc/wallets/highload_wallet_v2.rb

Constant Summary

Constants included from TonSdkRubySmc

PWV2_CODE, TOKEN_ATTRIBUTES_SHA256, VERSION

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from TonSdkRubySmc

require_type

Constructor Details

#initialize(destination, bounce, value, mode, body = nil, init = nil) ⇒ HighloadWalletV2Transfer

Returns a new instance of HighloadWalletV2Transfer.



51
52
53
54
55
56
57
58
# File 'lib/ton-sdk-ruby-smc/wallets/highload_wallet_v2.rb', line 51

def initialize(destination, bounce, value, mode, body = nil, init = nil)
  @destination = destination # Address
  @bounce = bounce # Boolean
  @value = value  # Coins
  @mode = mode # Integer
  @body = body # Cell
  @init = init # StateInit
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



49
50
51
# File 'lib/ton-sdk-ruby-smc/wallets/highload_wallet_v2.rb', line 49

def body
  @body
end

#bounceObject

Returns the value of attribute bounce.



49
50
51
# File 'lib/ton-sdk-ruby-smc/wallets/highload_wallet_v2.rb', line 49

def bounce
  @bounce
end

#destinationObject

Returns the value of attribute destination.



49
50
51
# File 'lib/ton-sdk-ruby-smc/wallets/highload_wallet_v2.rb', line 49

def destination
  @destination
end

#initObject

Returns the value of attribute init.



49
50
51
# File 'lib/ton-sdk-ruby-smc/wallets/highload_wallet_v2.rb', line 49

def init
  @init
end

#modeObject

Returns the value of attribute mode.



49
50
51
# File 'lib/ton-sdk-ruby-smc/wallets/highload_wallet_v2.rb', line 49

def mode
  @mode
end

#valueObject

Returns the value of attribute value.



49
50
51
# File 'lib/ton-sdk-ruby-smc/wallets/highload_wallet_v2.rb', line 49

def value
  @value
end