Class: TonSdkRubySmc::WalletV3Transfer
- Inherits:
-
Object
- Object
- TonSdkRubySmc::WalletV3Transfer
- Extended by:
- TonSdkRuby, TonSdkRubySmc
- Includes:
- TonSdkRuby
- Defined in:
- lib/ton-sdk-ruby-smc/wallets/wallet_v3.rb
Constant Summary
Constants included from TonSdkRubySmc
PWV2_CODE, SUB_WALLET_ID, TOKEN_ATTRIBUTES_SHA256, VERSION, WALLET_V3_CODE, WALLET_V4_CODE
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#bounce ⇒ Object
Returns the value of attribute bounce.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#init ⇒ Object
Returns the value of attribute init.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(destination, bounce, value, mode, body = nil, init = nil) ⇒ WalletV3Transfer
constructor
A new instance of WalletV3Transfer.
Methods included from TonSdkRubySmc
Constructor Details
#initialize(destination, bounce, value, mode, body = nil, init = nil) ⇒ WalletV3Transfer
Returns a new instance of WalletV3Transfer.
52 53 54 55 56 57 58 59 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v3.rb', line 52 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
#body ⇒ Object
Returns the value of attribute body.
50 51 52 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v3.rb', line 50 def body @body end |
#bounce ⇒ Object
Returns the value of attribute bounce.
50 51 52 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v3.rb', line 50 def bounce @bounce end |
#destination ⇒ Object
Returns the value of attribute destination.
50 51 52 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v3.rb', line 50 def destination @destination end |
#init ⇒ Object
Returns the value of attribute init.
50 51 52 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v3.rb', line 50 def init @init end |
#mode ⇒ Object
Returns the value of attribute mode.
50 51 52 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v3.rb', line 50 def mode @mode end |
#value ⇒ Object
Returns the value of attribute value.
50 51 52 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v3.rb', line 50 def value @value end |