decoders := map[string]func([]byte) (txbuilder.Action, error){
"control_address": txbuilder.DecodeControlAddressAction,
"control_program": txbuilder.DecodeControlProgramAction,
- "retire": txbuilder.DecodeRetireAction,
"cross_chain_out": txbuilder.DecodeCrossOutAction,
+ "vote_output": txbuilder.DecodeVoteOutputAction,
+ "retire": txbuilder.DecodeRetireAction,
+ "cross_chain_in": a.wallet.AssetReg.DecodeCrossInAction,
"spend_account": a.wallet.AccountMgr.DecodeSpendAction,
"spend_account_unspent_output": a.wallet.AccountMgr.DecodeSpendUTXOAction,
+ "unvote": a.wallet.AccountMgr.DecodeUnvoteAction,
}
decoder, ok := decoders[action]
return decoder, ok