Module proto

Module proto 

Source
Expand description

Protocol Buffer definitions for dYdX v4.

Re-exports proto definitions from the dydx_proto crate which includes both Cosmos SDK and dYdX protocol-specific messages.

Re-exports§

pub use dydx_proto::cosmos_sdk_proto;

Modules§

dydxprotocol
order_proto
Nested message and enum types in Order.

Structs§

AuthClient
BankClient
BaseAccount
BaseAccount defines a base account type. It contains all the necessary fields for basic account functionality. Any custom account type should extend this type for additional functionality (e.g. vesting).
BaseClient
Block
Block is tendermint type Block, with the Header proposer address field converted to bech32 string.
BroadcastTxRequest
BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.
ClobClient
Query defines the gRPC querier service.
ClobPair
ClobPair represents a single CLOB pair for a given product in state.
Coin
Coin defines a token with a denomination and an amount.
GetLatestBlockRequest
GetLatestBlockRequest is the request type for the Query/GetLatestBlock RPC method.
GetNodeInfoRequest
GetNodeInfoRequest is the request type for the Query/GetNodeInfo RPC method.
GetNodeInfoResponse
GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method.
GetTxRequest
GetTxRequest is the request type for the Service.GetTx RPC method.
MsgBatchCancel
MsgBatchCancel is a request type used for batch canceling orders. This msg is not atomic. Cancels will be performed optimistically even if some cancels are invalid or fail.
MsgCancelOrder
MsgCancelOrder is a request type used for canceling orders.
MsgCreateTransfer
MsgCreateTransfer is a request type used for initiating new transfers.
MsgDepositToSubaccount
MsgDepositToSubaccount represents a single transfer from an x/bank account to an x/subaccounts subaccount.
MsgPlaceOrder
MsgPlaceOrder is a request type used for placing orders.
MsgSend
MsgSend represents a message to send coins from one account to another.
MsgWithdrawFromSubaccount
MsgWithdrawFromSubaccount represents a single transfer from an x/subaccounts subaccount to an x/bank account.
Order
Order represents a single order belonging to a Subaccount for a particular ClobPair.
OrderBatch
OrderBatch represents a batch of orders all belonging to a single clob pair id. Along with a subaccount id and an order flag, is used to represent a batch of orders that share the same subaccount, order flag, and clob pair id.
OrderId
OrderId refers to a single order belonging to a Subaccount.
Perpetual
Perpetual represents a perpetual on the dYdX exchange.
PerpetualsClient
Query defines the gRPC querier service.
QueryAccountRequest
QueryAccountRequest is the request type for the Query/Account RPC method.
QueryAllBalancesRequest
QueryBalanceRequest is the request type for the Query/AllBalances RPC method.
QueryAllClobPairRequest
QueryAllClobPairRequest is request type for the ClobPairAll method.
QueryAllPerpetualsRequest
Queries a list of Perpetual items.
QueryGetSubaccountRequest
QueryGetSubaccountRequest is request type for the Query RPC method.
SimulateRequest
SimulateRequest is the request type for the Service.Simulate RPC method.
SubaccountId
SubaccountId defines a unique identifier for a Subaccount.
SubaccountInfo
Subaccount defines a single sub-account for a given address. Subaccounts are uniquely indexed by a subaccountNumber/owner pair.
SubaccountsClient
Query defines the gRPC querier service.
Transfer
Transfer represents a single transfer between two subaccounts.
TxClient
TxExtension
TxExtension allows for additional authenticator-specific data in transactions.

Enums§

BroadcastMode
BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.
ConditionType
OrderSide
Represents the side of the orderbook the order will be placed on. Note that Side.SIDE_UNSPECIFIED is an invalid order and cannot be placed on the orderbook.
OrderTimeInForce
TimeInForce indicates how long an order will remain active before it is executed or expires.

Traits§

ToAny