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
¶
Path | Synopsis |
---|---|
chain
|
|
ethereum
|
|
examples
|
|
chain/8_OfflineSigning
example for how to sign tx offline, store to file and load + broadcast later
|
example for how to sign tx offline, store to file and load + broadcast later |
exchange
|
|
Click to show internal directories.
Click to hide internal directories.