Module levana_perpswap_cosmos::contracts::factory::entry
source · Expand description
Entrypoint messages for the factory
Structs§
- Response from QueryMsg::AddrIsContract
- Which code IDs are currently set for new markets
- Leader address
- Copy trading contract information
- Same as CopyTradingInfo, but has raw addresses
- Response from QueryMsg::Markets
- Information on owners and other protocol-wide special addresses
- Instantiate a new factory contract.
- Leader address
- Response from QueryMsg::ListRefereeCount
- Helper for enumerated referee count queries.
- Response from QueryMsg::ListReferees
- Information about a specific market, returned from QueryMsg::MarketInfo.
- Response from QueryMsg::Markets
- Placeholder migration message
- The count of referees for an individual referrer.
- Return value from QueryMsg::ShutdownStatus
Enums§
- The type of contract identified by QueryMsg::AddrIsContract.
- Execute a message on the factory.
- Response from QueryMsg::GetReferrer
- Queries available on the factory contract
Constants§
- Default limit for QueryMsg::Markets
- Default limit for queries.
Functions§
- Make a lookup key for the count of referees for a referrer.
- Make a lookup key for the given referee