 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ErrNoMessage = errors.New("no message found. There should be at least one message")
    Functions ¶
func WrapTxToEIP712 ¶
func WrapTxToEIP712( cdc codec.ProtoCodecMarshaler, 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 codec.ProtoCodecMarshaler, chainID uint64, signerData *authsigning.SignerData, timeoutHeight uint64, memo string, feeInfo legacytx.StdFee, msgs []cosmtypes.Msg, feeDelegation *FeeDelegationOptions, ) (typeddata.TypedData, error)
Types ¶
type EIP712Wrapper ¶ added in v1.47.15
type EIP712Wrapper func( cdc codec.ProtoCodecMarshaler, 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
      ¶
      Directories
      ¶
    
     Click to show internal directories. 
   Click to hide internal directories.