Versions in this module Expand all Collapse all v12 v12.2.0 Jan 3, 2024 Changes in this version + var DefaultFee = sdk.NewCoin(utils.BaseDenom, sdk.NewIntFromUint64(uint64(feeAmt))) + func CreateEIP712CosmosTx(ctx sdk.Context, appServ *app.Serv, args EIP712TxArgs) (sdk.Tx, error) + func CreateEthTx(ctx sdk.Context, appServ *app.Serv, privKey cryptotypes.PrivKey, ...) (*evmtypes.MsgEthereumTx, error) + func GasLimit(ctx sdk.Context, from common.Address, data evmtypes.HexString, ...) (uint64, error) + func GenerateAddress() common.Address + func NewAccAddressAndKey() (sdk.AccAddress, *ethsecp256k1.PrivKey) + func NewAddrKey() (common.Address, *ethsecp256k1.PrivKey) + func NewSigner(sk cryptotypes.PrivKey) keyring.Signer + func PrepareCosmosTx(ctx sdk.Context, appServ *app.Serv, args CosmosTxArgs) (authsigning.Tx, error) + func PrepareEIP712CosmosTx(ctx sdk.Context, appServ *app.Serv, args EIP712TxArgs) (client.TxBuilder, error) + func PrepareEthTx(txCfg client.TxConfig, appServ *app.Serv, priv cryptotypes.PrivKey, ...) (authsigning.Tx, error) + type CosmosTxArgs struct + ChainID string + FeeGranter sdk.AccAddress + Fees sdk.Coins + Gas uint64 + GasPrice *sdkmath.Int + Msgs []sdk.Msg + Priv cryptotypes.PrivKey + TxCfg client.TxConfig + type EIP712TxArgs struct + CosmosTxArgs CosmosTxArgs + UseLegacyExtension bool + UseLegacyTypedData bool + type InvalidTx struct + func (InvalidTx) GetMsgs() []sdk.Msg + func (InvalidTx) ValidateBasic() error + type Signer struct + func (s Signer) Sign(_ string, msg []byte) ([]byte, cryptotypes.PubKey, error) + func (s Signer) SignByAddress(address sdk.Address, msg []byte) ([]byte, cryptotypes.PubKey, error)