6 "github.com/vapor/protocol/bc"
10 SpendCommitmentSuffix []byte
21 func NewDpos(arguments [][]byte, from, to string, sourceID bc.Hash, assetID bc.AssetID, stake, amount, sourcePos uint64, controlProgram []byte, t TxType, height uint64) *TxInput {
27 vote = "vapor:1:event:vote"
30 vote = fmt.Sprintf("vapor:1:event:confirm:%d", height)
32 sc := SpendCommitment{
33 AssetAmount: bc.AssetAmount{
38 SourcePosition: sourcePos,
40 ControlProgram: controlProgram,
58 // InputType is the interface function for return the input type.
59 func (si *DposTx) InputType() uint8 { return DposInputType }