Module entry

Module entry 

Source
Expand description

Entrypoint messages for the factory

Structs§

AddrIsContractResp
Response from QueryMsg::AddrIsContract
CodeIds
Which code IDs are currently set for new markets
CopyTradingAddr
Copy trading address
CopyTradingInfo
Copy trading contract information
CopyTradingInfoRaw
Same as CopyTradingInfo, but has raw addresses
CopyTradingResp
Response from QueryMsg::Markets
CounterTradeAddr
Counter trade contract address
CounterTradeInfo
Copy trading contract information
CounterTradeResp
Response from QueryMsg::Markets
FactoryOwnerResp
Information on owners and other protocol-wide special addresses
InstantiateMsg
Instantiate a new factory contract.
LeaderAddr
Leader address
ListRefereeCountResp
Response from QueryMsg::ListRefereeCount
ListRefereeCountStartAfter
Helper for enumerated referee count queries.
ListRefereesResp
Response from QueryMsg::ListReferees
MarketInfoResponse
Information about a specific market, returned from QueryMsg::MarketInfo.
MarketsResp
Response from QueryMsg::Markets
MigrateMsg
Placeholder migration message
RefereeCount
The count of referees for an individual referrer.
ShutdownStatus
Return value from QueryMsg::ShutdownStatus
VaultAddr
Vault contract address

Enums§

ContractType
The type of contract identified by QueryMsg::AddrIsContract.
ExecuteMsg
Execute a message on the factory.
GetReferrerResp
Response from QueryMsg::GetReferrer
QueryMsg
Queries available on the factory contract

Constants§

MARKETS_QUERY_LIMIT_DEFAULT
Default limit for QueryMsg::Markets
QUERY_LIMIT_DEFAULT
Default limit for queries.

Functions§

make_referee_count_key
Make a lookup key for the count of referees for a referrer.
make_referrer_key
Make a lookup key for the given referee