Class: Nis::Transaction::Multisig
- Inherits:
-
Object
- Object
- Nis::Transaction::Multisig
- Includes:
- Mixin::Network, Util::Assignable
- Defined in:
- lib/nis/transaction/multisig.rb
Overview
Constant Summary collapse
- TYPE =
4099 (multisig transaction)
0x1004- FEE =
6_000_000
Instance Attribute Summary collapse
-
#deadline ⇒ Integer
The current value of deadline.
- #fee ⇒ Integer
-
#otherTrans ⇒ Nis::Struct::TransferTransaction
(also: #other_trans)
The current value of otherTrans.
-
#signer ⇒ String
The current value of signer.
-
#timeStamp ⇒ Integer
(also: #timestamp)
The current value of timeStamp.
- #type ⇒ Integer
-
#version ⇒ Integer
The current value of version.
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Util::Assignable
Methods included from Mixin::Network
Instance Attribute Details
#deadline ⇒ Integer
Returns the current value of deadline.
10 11 12 |
# File 'lib/nis/transaction/multisig.rb', line 10 def deadline @deadline end |
#fee ⇒ Integer
10 11 12 |
# File 'lib/nis/transaction/multisig.rb', line 10 def fee @fee end |
#otherTrans ⇒ Nis::Struct::TransferTransaction Also known as: other_trans
Returns the current value of otherTrans.
10 11 12 |
# File 'lib/nis/transaction/multisig.rb', line 10 def otherTrans @otherTrans end |
#signer ⇒ String
Returns the current value of signer.
10 11 12 |
# File 'lib/nis/transaction/multisig.rb', line 10 def signer @signer end |
#timeStamp ⇒ Integer Also known as: timestamp
Returns the current value of timeStamp.
10 11 12 |
# File 'lib/nis/transaction/multisig.rb', line 10 def timeStamp @timeStamp end |
#type ⇒ Integer
10 11 12 |
# File 'lib/nis/transaction/multisig.rb', line 10 def type @type end |
#version ⇒ Integer
Returns the current value of version.
10 11 12 |
# File 'lib/nis/transaction/multisig.rb', line 10 def version @version end |
Class Method Details
.build(attrs) ⇒ Object
26 27 28 |
# File 'lib/nis/transaction/multisig.rb', line 26 def self.build(attrs) new(attrs) end |
Instance Method Details
#mosaics ⇒ Object
40 41 42 |
# File 'lib/nis/transaction/multisig.rb', line 40 def mosaics @mosaics ||= [] end |
#to_hash ⇒ Object
46 47 48 49 50 |
# File 'lib/nis/transaction/multisig.rb', line 46 def to_hash type fee to_hash_old end |
#to_hash_old ⇒ Object
44 |
# File 'lib/nis/transaction/multisig.rb', line 44 alias to_hash_old to_hash |