Class: Nis::Transaction::MultisigAggregateModification
- Inherits:
-
Object
- Object
- Nis::Transaction::MultisigAggregateModification
- Includes:
- Mixin::Struct
- Defined in:
- lib/nis/transaction/multisig_aggregate_modification.rb
Overview
Constant Summary collapse
- TYPE =
4097 (multisig aggregate modification transfer transaction)
0x1001
Instance Attribute Summary collapse
-
#deadline ⇒ Integer
The current value of deadline.
-
#fee ⇒ Integer
The current value of fee.
-
#min_cosigs ⇒ Interger
The current value of min_cosigs.
-
#minCosignatories ⇒ Object
(also: #min_cosignatories)
Returns the value of attribute minCosignatories.
-
#modifications ⇒ Array <Nis::Struct::MultisigCosignatoryModification>
The current value of modifications.
-
#network ⇒ Object
Returns the value of attribute 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(modifications, min_cosigs, network: :testnet) ⇒ MultisigAggregateModification
constructor
A new instance of MultisigAggregateModification.
Methods included from Mixin::Struct
Constructor Details
#initialize(modifications, min_cosigs, network: :testnet) ⇒ MultisigAggregateModification
Returns a new instance of MultisigAggregateModification.
26 27 28 29 30 31 32 33 34 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 26 def initialize(modifications, min_cosigs, network: :testnet) @type = TYPE @network = network @modifications = modifications @minCosignatories = min_cosigs # @minCosignatories = { relativeChange: 1 } @fee = Nis::Fee::MultisigAggregateModification.new(self) end |
Instance Attribute Details
#deadline ⇒ Integer
Returns the current value of deadline.
12 13 14 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12 def deadline @deadline end |
#fee ⇒ Integer
Returns the current value of fee.
12 13 14 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12 def fee @fee end |
#min_cosigs ⇒ Interger
Returns the current value of min_cosigs.
12 13 14 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12 def min_cosigs @min_cosigs end |
#minCosignatories ⇒ Object Also known as: min_cosignatories
Returns the value of attribute minCosignatories.
16 17 18 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 16 def minCosignatories @minCosignatories end |
#modifications ⇒ Array <Nis::Struct::MultisigCosignatoryModification>
Returns the current value of modifications.
12 13 14 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12 def modifications @modifications end |
#network ⇒ Object
Returns the value of attribute network.
16 17 18 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 16 def network @network end |
#signature ⇒ String
Returns the current value of signature.
12 13 14 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12 def signature @signature end |
#signer ⇒ String
Returns the current value of signer.
12 13 14 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12 def signer @signer end |
#timeStamp ⇒ Integer Also known as: timestamp
Returns the current value of timeStamp.
12 13 14 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12 def timeStamp @timeStamp end |
#type ⇒ Integer
Returns the current value of type.
12 13 14 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12 def type @type end |
#version ⇒ Integer
Returns the current value of version.
12 13 14 |
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12 def version @version end |