Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 ¶
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 ¶
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
|
|
ethereum
|
|
examples
|
|
chain/11_DecodeTx
command
|
|
chain/12_ChainStream
command
|
|
chain/1_LocalOrderHash
command
|
|
chain/2_MsgBatchCancelSpotOrders
command
|
|
chain/6_MsgRegisterAsDMM
command
|
|
chain/7_GetBlock
command
|
|
chain/8_OfflineSigning
command
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 |
chain/9_StreamEventOrderFail
command
|
|
chain/auction/1_MsgBid
command
|
|
chain/auth/query/1_Account
command
|
|
chain/authz/1_MsgGrant
command
|
|
chain/authz/2_MsgExec
command
|
|
chain/authz/3_MsgRevoke
command
|
|
chain/authz/query/1_Grants
command
|
|
chain/bank/1_MsgSend
command
|
|
chain/bank/2_MsgMultiSend
command
|
|
chain/bank/query/1_BankBalance
command
|
|
chain/bank/query/2_BankBalances
command
|
|
chain/bank/query/6_BankSupplyOf
command
|
|
chain/bank/query/7_DenomMetadata
command
|
|
chain/bank/query/9_DenomOwners
command
|
|
chain/exchange/1_MsgDeposit
command
|
|
chain/exchange/2_MsgWithdraw
command
|
|
chain/ibc/transfer/1_MsgTransfer
command
|
|
chain/ofac/1_DownloadOfacList
command
|
|
chain/peggy/1_MsgSendToEth
command
|
|
chain/permissions/6_ClaimVoucher
command
|
|
chain/staking/1_MsgDelegate
command
|
|
chain/tokenfactory/1_CreateDenom
command
|
|
chain/tokenfactory/2_MsgMint
command
|
|
chain/tokenfactory/3_MsgBurn
command
|
|
chain/tx/query/1_GetTx
command
|
|
chain/wasm/query/1_ContractInfo
command
|
|
exchange/accounts/7_OrderStates
command
|
|
exchange/accounts/8_Portfolio
command
|
|
exchange/accounts/9_Rewards
command
|
|
exchange/auction/1_Auction
command
|
|
exchange/auction/2_Auctions
command
|
|
exchange/auction/3_StreamBids
command
|
|
exchange/derivatives/12_Trades
command
|
|
exchange/derivatives/1_Market
command
|
|
exchange/derivatives/21_TradesV2
command
|
|
exchange/derivatives/2_Markets
command
|
|
exchange/derivatives/4_Orderbook
command
|
|
exchange/derivatives/8_Positions
command
|
|
exchange/derivatives/9_Orders
command
|
|
exchange/insurance/2_Redemptions
command
|
|
exchange/meta/1_Ping
command
|
|
exchange/meta/2_Version
command
|
|
exchange/meta/3_Info
command
|
|
exchange/meta/4_StreamKeepAlive
command
|
|
exchange/oracle/1_StreamPrices
command
|
|
exchange/oracle/2_Price
command
|
|
exchange/oracle/3_OracleList
command
|
|
exchange/spot/10_StreamTrades
command
|
|
exchange/spot/13_Orderbooks
command
|
|
exchange/spot/16_TradesV2
command
|
|
exchange/spot/17_StreamTradesV2
command
|
|
exchange/spot/1_Market
command
|
|
exchange/spot/2_Markets
command
|
|
exchange/spot/3_StreamMarket
command
|
|
exchange/spot/4_Orderbook
command
|
|
exchange/spot/5_Orders
command
|
|
exchange/spot/6_Trades
command
|
|
exchange/spot/7_StreamOrderbook
command
|
|
exchange/spot/9_StreamOrders
command
|
|
explorer/10_IBCTransfers
command
|
|
explorer/11_GetWasmCodes
command
|
|
explorer/12_GetWasmCodeById
command
|
|
explorer/13_GetWasmContracts
command
|
|
explorer/15_GetCW20Balance
command
|
|
explorer/1_GetTxByHash
command
|
|
explorer/2_AccountTxs
command
|
|
explorer/3_Blocks
command
|
|
explorer/4_Block
command
|
|
explorer/5_TxsRequest
command
|
|
explorer/6_StreamTxs
command
|
|
explorer/7_StreamBlocks
command
|
|
explorer/8_PeggyDeposits
command
|
|
explorer/9_PeggyWithdrawals
command
|
|
exchange
|
|
accounts_rpc/pb
Package injective_accounts_rpcpb is a reverse proxy.
|
Package injective_accounts_rpcpb is a reverse proxy. |
accounts_rpc/pb/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. |
campaign_rpc/pb
Package injective_campaign_rpcpb is a reverse proxy.
|
Package injective_campaign_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. |
health_rpc/pb
Package api_v1pb is a reverse proxy.
|
Package api_v1pb 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. |
trading_rpc/pb
Package injective_trading_rpcpb is a reverse proxy.
|
Package injective_trading_rpcpb is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.