tx

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewMsgCreateCoin          = coinTypes.NewMsgCreateCoin
	NewMsgUpdateCoin          = coinTypes.NewMsgUpdateCoin
	NewMsgMultiSendCoin       = coinTypes.NewMsgMultiSendCoin
	NewMsgBuyCoin             = coinTypes.NewMsgBuyCoin
	NewMsgSellCoin            = coinTypes.NewMsgSellCoin
	NewMsgSellAllCoin         = coinTypes.NewMsgSellAllCoin
	NewMsgSendCoin            = coinTypes.NewMsgSendCoin
	NewMsgRedeemCheck         = coinTypes.NewMsgRedeemCheck
	NewMsgReturnLegacyBalance = coinTypes.NewMsgReturnLegacyBalance

	NewMsgMintNFT          = nftTypes.NewMsgMintNFT
	NewMsgBurnNFT          = nftTypes.NewMsgBurnNFT
	NewMsgUpdateReserveNFT = nftTypes.NewMsgUpdateReserveNFT
	NewMsgTransferNFT      = nftTypes.NewMsgTransferNFT
	NewMsgEditNFTMetadata  = nftTypes.NewMsgEditNFTMetadata

	NewMsgCreateWallet      = multisigTypes.NewMsgCreateWallet
	NewMsgCreateTransaction = multisigTypes.NewMsgCreateTransaction
	NewMsgSignTransaction   = multisigTypes.NewMsgSignTransaction
)

Functions

This section is empty.

Types

type MsgBurnNFT

type MsgBurnNFT = nftTypes.MsgBurnNFT

type MsgBuyCoin

type MsgBuyCoin = coinTypes.MsgBuyCoin

type MsgCreateCoin

type MsgCreateCoin = coinTypes.MsgCreateCoin

type MsgCreateTransaction

type MsgCreateTransaction = multisigTypes.MsgCreateTransaction

type MsgCreateWallet

type MsgCreateWallet = multisigTypes.MsgCreateWallet

type MsgEditNFTMetadata

type MsgEditNFTMetadata = nftTypes.MsgEditNFTMetadata

type MsgMintNFT

type MsgMintNFT = nftTypes.MsgMintNFT

type MsgMultiSendCoin

type MsgMultiSendCoin = coinTypes.MsgMultiSendCoin

type MsgRedeemCheck

type MsgRedeemCheck = coinTypes.MsgRedeemCheck

type MsgReturnLegacyBalance

type MsgReturnLegacyBalance = coinTypes.MsgReturnLegacyBalance

type MsgSellAllCoin

type MsgSellAllCoin = coinTypes.MsgSellAllCoin

type MsgSellCoin

type MsgSellCoin = coinTypes.MsgSellCoin

type MsgSendCoin

type MsgSendCoin = coinTypes.MsgSendCoin

type MsgSignTransaction

type MsgSignTransaction = multisigTypes.MsgSignTransaction

type MsgTransferNFT

type MsgTransferNFT = nftTypes.MsgTransferNFT

type MsgUpdateCoin

type MsgUpdateCoin = coinTypes.MsgUpdateCoin

type MsgUpdateReserveNFT

type MsgUpdateReserveNFT = nftTypes.MsgUpdateReserveNFT

type OneSend

type OneSend = coinTypes.Send

type TxConstructor

type TxConstructor struct {
	// contains filtered or unexported fields
}

TxConstruct is used in process of building, signing and sending transactions

func BuildTransaction

func BuildTransaction(acc *wallet.Account, msgs []sdk.Msg, memo string, feeDenom string) (*TxConstructor, error)

BuildTransaction creates transaction builder with automatic fee calculation

func (*TxConstructor) BytesToSend

func (constructor *TxConstructor) BytesToSend() ([]byte, error)

BytesToSend return binary encoded transaction

func (*TxConstructor) SetFeeAmount

func (constructor *TxConstructor) SetFeeAmount(coins sdk.Coins)

SignTransaction signs transaction and appends signature to transaction signatures.

func (*TxConstructor) SignTransaction

func (constructor *TxConstructor) SignTransaction(acc *wallet.Account) error

SignTransaction signs transaction and appends signature to transaction signatures.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL