Class: Runar::SDK::DeployOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/runar/sdk/types.rb

Overview

Options for deploying a contract.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(satoshis: 10_000, change_address: '') ⇒ DeployOptions

Returns a new instance of DeployOptions.



158
159
160
# File 'lib/runar/sdk/types.rb', line 158

def initialize(satoshis: 10_000, change_address: '')
  super
end

Instance Attribute Details

#change_addressObject

Returns the value of attribute change_address

Returns:

  • (Object)

    the current value of change_address



157
158
159
# File 'lib/runar/sdk/types.rb', line 157

def change_address
  @change_address
end

#satoshisObject

Returns the value of attribute satoshis

Returns:

  • (Object)

    the current value of satoshis



157
158
159
# File 'lib/runar/sdk/types.rb', line 157

def satoshis
  @satoshis
end