Class: Nis::Transaction::MosaicDefinitionCreation
- Inherits:
-
Object
- Object
- Nis::Transaction::MosaicDefinitionCreation
- Includes:
- Mixin::Struct
- Defined in:
- lib/nis/transaction/mosaic_definition_creation.rb
Overview
Constant Summary collapse
- TYPE =
16385 (mosaic definition creation transaction)
0x4001
Instance Attribute Summary collapse
-
#creationFee ⇒ Integer
(also: #creation_fee)
The current value of creationFee.
-
#creationFeeSink ⇒ Integer
(also: #creation_fee_sink)
The current value of creationFeeSink.
-
#deadline ⇒ Integer
The current value of deadline.
-
#fee ⇒ Integer
The current value of fee.
-
#mosaicDefinition ⇒ Nis::Struct::MosaicDefinition
(also: #mosaic_definition)
The current value of mosaicDefinition.
-
#network ⇒ Symbol
The current value of network.
-
#signature ⇒ String
The current value of signature.
-
#signer ⇒ String
The current value of signer.
-
#timeStamp ⇒ Integer
(also: #timestamp)
The current value of timeStamp.
-
#type ⇒ Integer
The current value of type.
-
#version ⇒ Integer
The current value of version.
Instance Method Summary collapse
-
#initialize(mosaic_definition, network: :testnet) ⇒ MosaicDefinitionCreation
constructor
A new instance of MosaicDefinitionCreation.
Methods included from Mixin::Struct
Constructor Details
#initialize(mosaic_definition, network: :testnet) ⇒ MosaicDefinitionCreation
Returns a new instance of MosaicDefinitionCreation.
31 32 33 34 35 36 37 38 39 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 31 def initialize(mosaic_definition, network: :testnet) @type = TYPE @network = network @mosaicDefinition = mosaic_definition @creationFee = creation[:fee] @creationFeeSink = creation[:sink] @fee = Nis::Fee::MosaicDefinitionCreation.new(self) end |
Instance Attribute Details
#creationFee ⇒ Integer Also known as: creation_fee
Returns the current value of creationFee.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def creationFee @creationFee end |
#creationFeeSink ⇒ Integer Also known as: creation_fee_sink
Returns the current value of creationFeeSink.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def creationFeeSink @creationFeeSink end |
#deadline ⇒ Integer
Returns the current value of deadline.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def deadline @deadline end |
#fee ⇒ Integer
Returns the current value of fee.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def fee @fee end |
#mosaicDefinition ⇒ Nis::Struct::MosaicDefinition Also known as: mosaic_definition
Returns the current value of mosaicDefinition.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def mosaicDefinition @mosaicDefinition end |
#network ⇒ Symbol
Returns the current value of network.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def network @network end |
#signature ⇒ String
Returns the current value of signature.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def signature @signature end |
#signer ⇒ String
Returns the current value of signer.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def signer @signer end |
#timeStamp ⇒ Integer Also known as: timestamp
Returns the current value of timeStamp.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def timeStamp @timeStamp end |
#type ⇒ Integer
Returns the current value of type.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def type @type end |
#version ⇒ Integer
Returns the current value of version.
15 16 17 |
# File 'lib/nis/transaction/mosaic_definition_creation.rb', line 15 def version @version end |