Documentation ¶
Index ¶
- Constants
- func Commit(ctx sdk.Context, app *app.XteApp, t time.Duration, vs *tmtypes.ValidatorSet) (sdk.Context, error)
- func FundAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, addr sdk.AccAddress, ...) error
- func FundModuleAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, recipientMod string, ...) error
Constants ¶
View Source
const ( // TestnetChainID defines the xtechain EIP155 chain ID for testnet TestnetChainID = "xtechain_9527" // BaseDenom defines the xtechain mainnet denomination BaseDenom = "axte" )
Variables ¶
This section is empty.
Functions ¶
func Commit ¶
func Commit(ctx sdk.Context, app *app.XteApp, t time.Duration, vs *tmtypes.ValidatorSet) (sdk.Context, error)
Commit commits a block at a given time. Reminder: At the end of each Tendermint Consensus round the following methods are run
- BeginBlock
- DeliverTx
- EndBlock
- Commit
func FundAccount ¶
func FundAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, addr sdk.AccAddress, amounts sdk.Coins) error
FundAccount is a utility function that funds an account by minting and sending the coins to the address. This should be used for testing purposes only!
func FundModuleAccount ¶
func FundModuleAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, recipientMod string, amounts sdk.Coins) error
FundModuleAccount is a utility function that funds a module account by minting and sending the coins to the address. This should be used for testing purposes only!
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.