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 ¶
Path | Synopsis |
---|---|
chain
|
|
client
|
|
ethereum
|
|
examples
|
|
chain/34_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
|
|
accounts_rpc/pb
Package injective_accounts_rpcpb is a reverse proxy.
|
Package injective_accounts_rpcpb is a reverse proxy. |
auction_rpc/pb
Package injective_auction_rpcpb is a reverse proxy.
|
Package injective_auction_rpcpb is a reverse proxy. |
derivative_exchange_rpc/pb
Package injective_derivative_exchange_rpcpb is a reverse proxy.
|
Package injective_derivative_exchange_rpcpb is a reverse proxy. |
exchange_rpc/pb
Package injective_exchange_rpcpb is a reverse proxy.
|
Package injective_exchange_rpcpb is a reverse proxy. |
explorer_rpc/pb
Package injective_explorer_rpcpb is a reverse proxy.
|
Package injective_explorer_rpcpb is a reverse proxy. |
insurance_rpc/pb
Package injective_insurance_rpcpb is a reverse proxy.
|
Package injective_insurance_rpcpb is a reverse proxy. |
meta_rpc/pb
Package injective_meta_rpcpb is a reverse proxy.
|
Package injective_meta_rpcpb is a reverse proxy. |
oracle_rpc/pb
Package injective_oracle_rpcpb is a reverse proxy.
|
Package injective_oracle_rpcpb is a reverse proxy. |
portfolio_rpc/pb
Package injective_portfolio_rpcpb is a reverse proxy.
|
Package injective_portfolio_rpcpb is a reverse proxy. |
spot_exchange_rpc/pb
Package injective_spot_exchange_rpcpb is a reverse proxy.
|
Package injective_spot_exchange_rpcpb is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.