Versions in this module Expand all Collapse all v0 v0.0.2 Dec 18, 2024 Changes in this version + var DefaultFee = sdk.NewCoin(utils.BaseDenom, sdk.NewIntFromUint64(uint64(feeAmt))) + func CreateEIP712CosmosTx(ctx sdk.Context, appEvmos *app.Evmos, args EIP712TxArgs) (sdk.Tx, error) + func CreateEthTx(ctx sdk.Context, appEvmos *app.Evmos, 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, appEvmos *app.Evmos, args CosmosTxArgs) (authsigning.Tx, error) + func PrepareEIP712CosmosTx(ctx sdk.Context, appEvmos *app.Evmos, args EIP712TxArgs) (client.TxBuilder, error) + func PrepareEthTx(txCfg client.TxConfig, appEvmos *app.Evmos, priv cryptotypes.PrivKey, ...) (authsigning.Tx, error) + type CosmosTxArgs struct + ChainID string + 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)