Class: Nis::Transaction::MultisigAggregateModification

Inherits:
Object
  • Object
show all
Includes:
Mixin::Network, Util::Assignable
Defined in:
lib/nis/transaction/multisig_aggregate_modification.rb

Overview

Constant Summary collapse

TYPE =

4097 (multisig aggregate modification transfer transaction)

0x1001
FEE =
16_000_000

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Util::Assignable

#[], #initialize, #to_json

Methods included from Mixin::Network

#mainnet?, #testnet?

Instance Attribute Details

#deadlineInteger

Returns the current value of deadline.

Returns:

  • (Integer)

    the current value of deadline



12
13
14
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12

def deadline
  @deadline
end

#feeInteger

Returns:

  • (Integer)


12
13
14
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12

def fee
  @fee
end

#minCosignatoriesHash Also known as: min_cosignatories

Returns the current value of minCosignatories.

Returns:

  • (Hash)

    the current value of minCosignatories



12
13
14
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12

def minCosignatories
  @minCosignatories
end

#modificationsArray <Nis::Struct::MultisigCosignatoryModification>

Returns the current value of modifications.

Returns:



12
13
14
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12

def modifications
  @modifications
end

#signatureString

Returns the current value of signature.

Returns:

  • (String)

    the current value of signature



12
13
14
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12

def signature
  @signature
end

#signerString

Returns the current value of signer.

Returns:

  • (String)

    the current value of signer



12
13
14
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12

def signer
  @signer
end

#timeStampInteger Also known as: timestamp

Returns the current value of timeStamp.

Returns:

  • (Integer)

    the current value of timeStamp



12
13
14
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12

def timeStamp
  @timeStamp
end

#typeInteger

Returns:

  • (Integer)


12
13
14
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12

def type
  @type
end

#versionInteger

Returns the current value of version.

Returns:

  • (Integer)

    the current value of version



12
13
14
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 12

def version
  @version
end

Class Method Details

.build(attrs) ⇒ Object



28
29
30
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 28

def self.build(attrs)
  new(attrs)
end

Instance Method Details

#to_hashObject



44
45
46
47
48
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 44

def to_hash
  type
  fee
  to_hash_old
end

#to_hash_oldObject



42
# File 'lib/nis/transaction/multisig_aggregate_modification.rb', line 42

alias to_hash_old to_hash