Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapTxToEIP712 ¶
func WrapTxToEIP712( cdc AminoProtoCodecMarshaler, chainID uint64, signerData *authsigning.SignerData, timeoutHeight uint64, memo string, feeInfo legacytx.StdFee, msgs []cosmtypes.Msg, feeDelegation *FeeDelegationOptions, ) (typeddata.TypedData, error)
WrapTxToEIP712 is an ultimate method that wraps Amino-encoded Cosmos Tx JSON data into an EIP712-compatible request. All messages must be of the same type.
func WrapTxToEIP712V2 ¶ added in v1.47.15
func WrapTxToEIP712V2( cdc AminoProtoCodecMarshaler, chainID uint64, signerData *authsigning.SignerData, timeoutHeight uint64, memo string, feeInfo legacytx.StdFee, msgs []cosmtypes.Msg, feeDelegation *FeeDelegationOptions, ) (typeddata.TypedData, error)
Types ¶
type AminoProtoCodecMarshaler ¶ added in v1.55.1
type EIP712Wrapper ¶ added in v1.47.15
type EIP712Wrapper func( cdc AminoProtoCodecMarshaler, chainID uint64, signerData *authsigning.SignerData, timeoutHeight uint64, memo string, feeInfo legacytx.StdFee, msgs []cosmtypes.Msg, feeDelegation *FeeDelegationOptions, ) (typeddata.TypedData, error)
type FeeDelegationOptions ¶
type FeeDelegationOptions struct {
FeePayer cosmtypes.AccAddress
}
Directories
¶
Click to show internal directories.
Click to hide internal directories.