Documentation ¶
Index ¶
- Variables
- func BatchSendTransferTxCmd() *cobra.Command
- func NewMainChainClient(paraRemoteGrpcClient string) chain33Ty.Chain33Client
- func SendChain33L2TxCmd() *cobra.Command
- func SendManyTransferTxCmd() *cobra.Command
- func SendManyTransferTxFromOneCmd() *cobra.Command
- func SendTransferTxCmd() *cobra.Command
- func SignTransaction(key chain33Crypto.PrivKey, tx *types.Transaction) (err error)
- func SignTxInEddsa(msg *zksyncTypes.ZkMsg, privateKey eddsa.PrivateKey) (*zksyncTypes.ZkSignature, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( L2ActionType2nameMap = map[int]string{ zt.TyNoopAction: zt.NameNoopAction, zt.TyDepositAction: zt.NameDepositAction, zt.TyWithdrawAction: zt.NameWithdrawAction, zt.TyContractToTreeAction: zt.NameContractToTreeAction, zt.TyTreeToContractAction: zt.NameTreeToContractAction, zt.TyTransferAction: zt.NameTransferAction, zt.TyTransferToNewAction: zt.NameTransferToNewAction, zt.TyProxyExitAction: zt.NameForceExitAction, zt.TySetPubKeyAction: zt.NameSetPubKeyAction, zt.TyFullExitAction: zt.NameFullExitAction, zt.TySwapAction: zt.NameSwapAction, zt.TySetVerifyKeyAction: zt.NameSetVerifyKeyAction, zt.TyCommitProofAction: zt.NameCommitProofAction, zt.TySetVerifierAction: zt.NameSetVerifierAction, zt.TySetFeeAction: zt.NameSetFeeAction, zt.TySetTokenSymbolAction: zt.NameSetTokenSymbolAction, zt.TyMintNFTAction: zt.NameMintNFTAction, zt.TyWithdrawNFTAction: zt.NameWithdrawNFTACTION, zt.TyTransferNFTAction: zt.NameTransferNFTAction, } )
Functions ¶
func BatchSendTransferTxCmd ¶
func NewMainChainClient ¶
func NewMainChainClient(paraRemoteGrpcClient string) chain33Ty.Chain33Client
func SendChain33L2TxCmd ¶
func SendManyTransferTxCmd ¶
func SendTransferTxCmd ¶
func SignTransaction ¶
func SignTransaction(key chain33Crypto.PrivKey, tx *types.Transaction) (err error)
func SignTxInEddsa ¶
func SignTxInEddsa(msg *zksyncTypes.ZkMsg, privateKey eddsa.PrivateKey) (*zksyncTypes.ZkSignature, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.