Class: Nis::Struct::MultisigAggregateModificationTransaction
- Inherits:
-
Object
- Object
- Nis::Struct::MultisigAggregateModificationTransaction
- Includes:
- Util::Assignable
- Defined in:
- lib/nis/struct/multisig_aggregate_modification_transaction.rb
Overview
Constant Summary collapse
- TYPE =
4097 (multisig aggregate modification transfer transaction)
0x1001- FEE =
16_000_000
Instance Attribute Summary collapse
-
#deadline ⇒ Integer
The current value of deadline.
-
#fee ⇒ Integer
The current value of fee.
-
#minCosignatories ⇒ Hash
(also: #min_cosignatories)
The current value of minCosignatories.
-
#modifications ⇒ Array <Nis::Struct::MultisigCosignatoryModification>
The current value of modifications.
-
#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.
Class Method Summary collapse
Instance Method Summary collapse
- #_version ⇒ Integer
- #calculate_fee ⇒ Integer
- #mainnet? ⇒ Boolean
- #testnet? ⇒ Boolean
- #to_hash ⇒ Object
- #to_hash_old ⇒ Object
Methods included from Util::Assignable
Instance Attribute Details
#deadline ⇒ Integer
Returns the current value of deadline.
12 13 14 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 12 def deadline @deadline end |
#fee ⇒ Integer
Returns the current value of fee.
12 13 14 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 12 def fee @fee end |
#minCosignatories ⇒ Hash Also known as: min_cosignatories
Returns the current value of minCosignatories.
12 13 14 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 12 def minCosignatories @minCosignatories end |
#modifications ⇒ Array <Nis::Struct::MultisigCosignatoryModification>
Returns the current value of modifications.
12 13 14 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 12 def modifications @modifications end |
#signature ⇒ String
Returns the current value of signature.
12 13 14 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 12 def signature @signature end |
#signer ⇒ String
Returns the current value of signer.
12 13 14 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.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/struct/multisig_aggregate_modification_transaction.rb', line 12 def timeStamp @timeStamp end |
#type ⇒ Integer
Returns the current value of type.
12 13 14 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 12 def type @type end |
#version ⇒ Integer
Returns the current value of version.
12 13 14 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 12 def version @version end |
Class Method Details
.build(attrs) ⇒ Object
25 26 27 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 25 def self.build(attrs) new(attrs) end |
Instance Method Details
#_version ⇒ Integer
30 31 32 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 30 def _version (0xFFFFFFF0 & @version) end |
#calculate_fee ⇒ Integer
56 57 58 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 56 def calculate_fee FEE end |
#mainnet? ⇒ Boolean
40 41 42 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 40 def mainnet? (0x0000000F & @version) == Nis::Util::MAINNET end |
#testnet? ⇒ Boolean
35 36 37 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 35 def testnet? (0x0000000F & @version) == Nis::Util::TESTNET end |
#to_hash ⇒ Object
50 51 52 53 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 50 def to_hash fee to_hash_old end |
#to_hash_old ⇒ Object
48 |
# File 'lib/nis/struct/multisig_aggregate_modification_transaction.rb', line 48 alias to_hash_old to_hash |