4 "github.com/vapor/protocol/bc"
9 LoginCandidate DposType = iota
17 SpendCommitmentSuffix []byte
29 func NewDpos(arguments [][]byte, from, to string, sourceID bc.Hash, assetID bc.AssetID, stake, amount, sourcePos uint64, controlProgram []byte, t TxType) *TxInput {
35 vote = "vapor:1:event:vote"
38 sc := SpendCommitment{
39 AssetAmount: bc.AssetAmount{
44 SourcePosition: sourcePos,
46 ControlProgram: controlProgram,
64 // InputType is the interface function for return the input type.
65 func (si *DposTx) InputType() uint8 { return DposInputType }