Class: Counterparty::Issuance

Inherits:
CounterResource show all
Defined in:
lib/counterparty/resources.rb

Overview

An object that describes a specific occurance of a user defined asset being issued, or re-issued

Instance Attribute Summary collapse

Attributes inherited from CounterResource

#allow_unconfirmed_inputs, #encoding, #fee, #fee_per_kb, #pubkey, #result_attributes

Method Summary

Methods inherited from CounterResource

#==, api_name, bitcoin, find, #initialize, #save!, to_create_request, to_get_request, #to_raw_tx, #to_signed_tx

Constructor Details

This class inherits a constructor from Counterparty::CounterResource

Instance Attribute Details

#assetObject

(string): The asset being issued, or re-issued



408
409
410
# File 'lib/counterparty/resources.rb', line 408

def asset
  @asset
end

#block_indexObject

(integer): The block index (block number in the block chain)



405
406
407
# File 'lib/counterparty/resources.rb', line 405

def block_index
  @block_index
end

#descriptionObject

(string): This is used when creating an issuance, and indicates the destination address of the asset



434
435
436
# File 'lib/counterparty/resources.rb', line 434

def description
  @description
end

#divisibleObject

(boolean): Whether or not the asset is divisible (must agree with previous issuances of the asset, if there are any)



415
416
417
# File 'lib/counterparty/resources.rb', line 415

def divisible
  @divisible
end

#issuerObject

issuer (string):



418
419
420
# File 'lib/counterparty/resources.rb', line 418

def issuer
  @issuer
end

#quantityObject

(integer): The quantity of the specified asset being issued



411
412
413
# File 'lib/counterparty/resources.rb', line 411

def quantity
  @quantity
end

#sourceObject

(string): This is used when creating an issuance, and indicates the source address of the asset



430
431
432
# File 'lib/counterparty/resources.rb', line 430

def source
  @source
end

#transferObject

(boolean): Whether or not this objects marks the transfer of ownership rights for the specified quantity of this asset



422
423
424
# File 'lib/counterparty/resources.rb', line 422

def transfer
  @transfer
end

#transfer_destinationObject

(string): This is used when creating an issuance transfer, and indicates the destination address of the asset



438
439
440
# File 'lib/counterparty/resources.rb', line 438

def transfer_destination
  @transfer_destination
end

#tx_hashObject

(string): The transaction hash



402
403
404
# File 'lib/counterparty/resources.rb', line 402

def tx_hash
  @tx_hash
end

#tx_indexObject

(integer): The transaction index



399
400
401
# File 'lib/counterparty/resources.rb', line 399

def tx_index
  @tx_index
end

#validityObject

(string): Set to “valid” if a valid issuance. Any other setting signifies an invalid/improper issuance



426
427
428
# File 'lib/counterparty/resources.rb', line 426

def validity
  @validity
end