package
1.0.10-sph
Repository: https://github.com/spheronfdn/akash-api-fork.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MakeBidID returns BidID instance with provided order details and provider.
MakeLeaseID returns LeaseID instance with provided bid details.
MakeOrderID returns OrderID instance with provided groupID details and oseq.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMsgCloseBid creates a new MsgCloseBid instance.
NewMsgCloseLease creates a new MsgCloseLease instance.
NewMsgCreateBid creates a new MsgCreateBid instance.
NewMsgCreateLease creates a new MsgCreateLease instance.
NewMsgWithdrawLease creates a new MsgWithdrawLease instance.
No description provided by the author
No description provided by the author
No description provided by the author
ParseEvent parses event and returns details of event and error if occurred.
RegisterInterfaces registers the x/market interfaces types with the interface registry.
RegisterCodec registers the necessary x/market interfaces and concrete types on the provided Amino codec.
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
BidMatched denotes state for bid open.
BidClosed denotes state for bid closed.
BidLost denotes state for bid lost.
BidOpen denotes state for bid open.
Prefix should start with 0 in enum.
LeaseActive denotes state for lease active.
LeaseClosed denotes state for lease closed.
LeaseInsufficientFunds denotes state for lease insufficient_funds.
Prefix should start with 0 in enum.
ModuleName is the module name constant used in many places.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OrderMatched denotes state for order matched.
OrderClosed denotes state for order lost.
OrderOpen denotes state for order open.
Prefix should start with 0 in enum.
RouterKey is the message route for market.
StoreKey is the store key string for market.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
ErrAttributeMismatch is the error for attribute mismatch.
ErrBidExists bid exists.
ErrBidInvalidPrice bid invalid price.
ErrBidNotActive is the error when bid is not matched.
ErrBidNotFound bid not found.
ErrBidNotOpen is the error when bid is not matched.
ErrBidOverOrder is the error when bid price is above max order price.
ErrBidZeroPrice zero price.
ErrCapabilitiesMismatch is the error for capabilities mismatch.
ErrEmptyProvider is the error when provider is empty.
ErrGroupNotFound order not found.
ErrGroupNotOpen order not found.
ErrInternal is the error for internal error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidBid indicates an invalid chain parameter.
ErrInvalidDeposit indicates an invalid deposit.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrInvalidParam indicates an invalid chain parameter.
ErrLeaseNotActive is the error when lease is not active.
ErrLeaseNotFound lease not found.
ErrNoLeaseForOrder is the error when there is no lease for order.
ErrOrderActive order active.
ErrOrderClosed order closed.
ErrOrderDurationExceeded order should be closed.
ErrOrderExists indicates a new order was proposed overwrite the existing store key.
ErrOrderNotFound order not found.
ErrOrderNotOpen order not found.
ErrOrderTooEarly to match bid.
No description provided by the author
ErrSameAccount is the error when owner and provider are the same account.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrUnknownBid is the error for unknown bid.
ErrUnknownLease is the error for unknown bid.
ErrUnknownLeaseForBid is the error when lease is unknown for bid.
ErrUnknownOrderForBid is the error when order is unknown for bid.
ErrUnknownProvider indicates an invalid chain parameter.
No description provided by the author
No description provided by the author
ModuleCdc references the global x/market module codec.
No description provided by the author
No description provided by the author
# Structs
Bid stores BidID, state of bid and price.
BidFilters defines flags for bid list filter.
BidID stores owner and all other seq numbers A successful bid becomes a Lease(ID).
EventBidClosed struct.
EventBidCreated struct.
EventLeaseClosed struct.
EventLeaseCreated struct.
EventOrderClosed struct.
EventOrderCreated struct.
GenesisState defines the basic genesis state used by market module.
Lease stores LeaseID, state of lease and price.
LeaseFilters defines flags for lease list filter.
LeaseID stores bid details of lease.
MsgCloseBid defines an SDK message for closing bid.
MsgCloseBidResponse defines the Msg/CloseBid response type.
MsgCloseLease defines an SDK message for closing order.
MsgCloseLeaseResponse defines the Msg/CloseLease response type.
MsgCreateBid defines an SDK message for creating Bid.
MsgCreateBidResponse defines the Msg/CreateBid response type.
MsgCreateLease is sent to create a lease.
MsgCreateLeaseResponse is the response from creating a lease.
MsgWithdrawLease defines an SDK message for closing bid.
MsgWithdrawLeaseResponse defines the Msg/WithdrawLease response type.
Order stores orderID, state of order and other details.
OrderFilters defines flags for order list filter.
OrderID stores owner and all other seq numbers.
Params is the params for the x/market module.
QueryBidRequest is request type for the Query/Bid RPC method.
QueryBidResponse is response type for the Query/Bid RPC method.
QueryBidsRequest is request type for the Query/Bids RPC method.
QueryBidsResponse is response type for the Query/Bids RPC method.
QueryLeaseRequest is request type for the Query/Lease RPC method.
QueryLeaseResponse is response type for the Query/Lease RPC method.
QueryLeasesRequest is request type for the Query/Leases RPC method.
QueryLeasesResponse is response type for the Query/Leases RPC method.
QueryOrderRequest is request type for the Query/Order RPC method.
QueryOrderResponse is response type for the Query/Order RPC method.
QueryOrdersRequest is request type for the Query/Orders RPC method.
QueryOrdersResponse is response type for the Query/Orders RPC method.
ResourceOffer describes resources that provider is offering for deployment.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
# Interfaces
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.
# Type aliases
State is an enum which refers to state of bid.
Bids is a collection of Bid.
State is an enum which refers to state of lease.
Leases is a collection of Lease.
State is an enum which refers to state of order.
Orders is a collection of Order.
No description provided by the author