Class: TonSdkRubySmc::WalletV4Transfer
- Inherits:
-
Object
- Object
- TonSdkRubySmc::WalletV4Transfer
- Extended by:
- TonSdkRuby, TonSdkRubySmc
- Includes:
- TonSdkRuby
- Defined in:
- lib/ton-sdk-ruby-smc/wallets/wallet_v4.rb
Constant Summary
Constants included from TonSdkRubySmc
PWV2_CODE, TOKEN_ATTRIBUTES_SHA256, VERSION
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) ⇒ WalletV4Transfer
constructor
A new instance of WalletV4Transfer.
Methods included from TonSdkRubySmc
Constructor Details
#initialize(destination, bounce, value, mode, body = nil, init = nil) ⇒ WalletV4Transfer
Returns a new instance of WalletV4Transfer.
47 48 49 50 51 52 53 54 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v4.rb', line 47 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.
45 46 47 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v4.rb', line 45 def body @body end |
#bounce ⇒ Object
Returns the value of attribute bounce.
45 46 47 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v4.rb', line 45 def bounce @bounce end |
#destination ⇒ Object
Returns the value of attribute destination.
45 46 47 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v4.rb', line 45 def destination @destination end |
#init ⇒ Object
Returns the value of attribute init.
45 46 47 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v4.rb', line 45 def init @init end |
#mode ⇒ Object
Returns the value of attribute mode.
45 46 47 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v4.rb', line 45 def mode @mode end |
#value ⇒ Object
Returns the value of attribute value.
45 46 47 |
# File 'lib/ton-sdk-ruby-smc/wallets/wallet_v4.rb', line 45 def value @value end |