types

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: AGPL-3.0 Imports: 23 Imported by: 15

Documentation

Index

Constants

View Source
const (
	Denom = "BNB"

	// DecimalBNB defines number of BNB decimal places
	DecimalBNB = 18

	// DecimalGwei defines number of gweiBNB decimal places
	DecimalGwei = 9
)

Variables

View Source
var (
	KeyManagerNotInitError  = errors.New("Key manager is not initialized yet ")
	ChainIdNotSetError      = errors.New("ChainID is not set yet ")
	SimulatedGasPriceError  = errors.New("Simulated gas price is 0 ")
	FeeAmountNotValidError  = errors.New("Fee Amount coin should only be BNB")
	GasInfoNotProvidedError = errors.New("Gas limit and(or) Fee Amount missing in txOpt")
)

Functions

func Cdc

func Cdc() *codec.ProtoCodec

func NewIntFromInt64WithDecimal

func NewIntFromInt64WithDecimal(amount int64, decimal int64) sdkmath.Int

Types

type MsgAttest added in v0.0.7

type MsgAttest = challengetypes.MsgAttest

type MsgBeginRedelegate

type MsgBeginRedelegate = stakingtypes.MsgBeginRedelegate

type MsgClaim

type MsgClaim = oracletypes.MsgClaim

type MsgCopyObject

type MsgCopyObject = storagetypes.MsgCopyObject

type MsgCreateBucket

type MsgCreateBucket = storagetypes.MsgCreateBucket

type MsgCreateGroup

type MsgCreateGroup = storagetypes.MsgCreateGroup

type MsgCreateObject

type MsgCreateObject = storagetypes.MsgCreateObject

type MsgCreatePaymentAccount

type MsgCreatePaymentAccount = paymenttypes.MsgCreatePaymentAccount

type MsgCreateStorageProvider

type MsgCreateStorageProvider = sptypes.MsgCreateStorageProvider

type MsgCreateValidator

type MsgCreateValidator = stakingtypes.MsgCreateValidator

type MsgDelegate

type MsgDelegate = stakingtypes.MsgDelegate

type MsgDeleteBucket

type MsgDeleteBucket = storagetypes.MsgDeleteBucket

type MsgDeleteGroup

type MsgDeleteGroup = storagetypes.MsgDeleteGroup

type MsgDeleteObject

type MsgDeleteObject = storagetypes.MsgDeleteObject

type MsgDisableRefund

type MsgDisableRefund = paymenttypes.MsgDisableRefund

type MsgEditStorageProvider

type MsgEditStorageProvider = sptypes.MsgEditStorageProvider

type MsgEditValidator

type MsgEditValidator = stakingtypes.MsgEditValidator

type MsgExecLegacyContent

type MsgExecLegacyContent = govv1.MsgExecLegacyContent

type MsgFundCommunityPool

type MsgFundCommunityPool = distrtypes.MsgFundCommunityPool

type MsgGovDeposit

type MsgGovDeposit = govv1.MsgDeposit

type MsgGrant

type MsgGrant = authztypes.MsgGrant

type MsgGrantAllowance

type MsgGrantAllowance = feegranttypes.MsgGrantAllowance

type MsgImpeach

type MsgImpeach = slashingtypes.MsgImpeach

type MsgLeaveGroup

type MsgLeaveGroup = storagetypes.MsgLeaveGroup

type MsgPaymentDeposit

type MsgPaymentDeposit = paymenttypes.MsgDeposit

type MsgRejectSealObject

type MsgRejectSealObject = storagetypes.MsgRejectSealObject

type MsgRevoke

type MsgRevoke = authztypes.MsgRevoke

type MsgRevokeAllowance

type MsgRevokeAllowance = feegranttypes.MsgRevokeAllowance

type MsgSealObject

type MsgSealObject = storagetypes.MsgSealObject

type MsgSend

type MsgSend = banktypes.MsgSend

type MsgSetWithdrawAddress

type MsgSetWithdrawAddress = distrtypes.MsgSetWithdrawAddress

type MsgSpDeposit

type MsgSpDeposit = sptypes.MsgDeposit

type MsgSubmit added in v0.0.7

type MsgSubmit = challengetypes.MsgSubmit

type MsgSubmitProposal

type MsgSubmitProposal = govv1.MsgSubmitProposal

type MsgTransferOut

type MsgTransferOut = bridgetypes.MsgTransferOut

type MsgUndelegate

type MsgUndelegate = stakingtypes.MsgUndelegate

type MsgUnjail

type MsgUnjail = slashingtypes.MsgUnjail

type MsgUpdateGroupMember

type MsgUpdateGroupMember = storagetypes.MsgUpdateGroupMember

type MsgVote

type MsgVote = govv1.MsgVote

type MsgVoteWeighted

type MsgVoteWeighted = govv1.MsgVoteWeighted

type MsgWithdraw

type MsgWithdraw = paymenttypes.MsgWithdraw

type MsgWithdrawDelegatorReward

type MsgWithdrawDelegatorReward = distrtypes.MsgWithdrawDelegatorReward

type MsgWithdrawValidatorCommission

type MsgWithdrawValidatorCommission = distrtypes.MsgWithdrawValidatorCommission

type TxOption

type TxOption struct {
	Mode       *tx.BroadcastMode
	NoSimulate bool
	GasLimit   uint64
	FeeAmount  sdk.Coins
	Nonce      uint64
	FeePayer   sdk.AccAddress
	FeeGranter sdk.AccAddress
	Tip        *tx.Tip
	Memo       string
}

Jump to

Keyboard shortcuts

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