Expand description
Entrypoint messages for the factory
Structs§
- Addr
IsContract Resp - Response from QueryMsg::AddrIsContract
- CodeIds
- Which code IDs are currently set for new markets
- Copy
Trading Addr - Copy trading address
- Copy
Trading Info - Copy trading contract information
- Copy
Trading Info Raw - Same as CopyTradingInfo, but has raw addresses
- Copy
Trading Resp - Response from QueryMsg::Markets
- Counter
Trade Addr - Counter trade contract address
- Counter
Trade Info - Copy trading contract information
- Counter
Trade Resp - Response from QueryMsg::Markets
- Factory
Owner Resp - Information on owners and other protocol-wide special addresses
- Instantiate
Msg - Instantiate a new factory contract.
- Leader
Addr - Leader address
- List
Referee Count Resp - Response from QueryMsg::ListRefereeCount
- List
Referee Count Start After - Helper for enumerated referee count queries.
- List
Referees Resp - Response from QueryMsg::ListReferees
- Market
Info Response - Information about a specific market, returned from QueryMsg::MarketInfo.
- Markets
Resp - Response from QueryMsg::Markets
- Migrate
Msg - Placeholder migration message
- Referee
Count - The count of referees for an individual referrer.
- Shutdown
Status - Return value from QueryMsg::ShutdownStatus
- Vault
Addr - Vault contract address
Enums§
- Contract
Type - The type of contract identified by QueryMsg::AddrIsContract.
- Execute
Msg - Execute a message on the factory.
- GetReferrer
Resp - Response from QueryMsg::GetReferrer
- Query
Msg - 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