AlienFinanceLens
0xF090b119b10FE4aF048B3EAEB9c0d4821CaBcD30
Methods
getAllCurrentMarketsStatus
Gets the current market status for all markets.
This function is not gas efficient and should not be called on chain.
Parameters
alien
contract AlienFinance
The Alien contract
Returns
_0
AlienFinanceLens.MarketStatus[]
The list of all market status
getAllMarketsMetadata
Gets the market metadata for all markets.
Parameters
alien
contract AlienFinance
The Alien contract
Returns
_0
AlienFinanceLens.MarketMetadata[]
The list of all market metadata
getAllMarketsStatus
Gets the market status for all markets.
Parameters
alien
contract AlienFinance
The Alien contract
Returns
_0
AlienFinanceLens.MarketStatus[]
The list of all market status
getCurrentMarketStatus
Gets the current market status for a given market.
This function is not gas efficient and should not be called on chain.
Parameters
alien
contract AlienFinance
The Alien contract
market
address
The market to get status for
Returns
_0
AlienFinanceLens.MarketStatus
The market status
getCurrentUserMarketStatus
Gets the user's current market status for a given market.
This function is not gas efficient and should not be called on chain.
Parameters
alien
contract AlienFinance
The Alien contract
user
address
The user to get status for
market
address
The market to get status for
Returns
_0
AlienFinanceLens.UserMarketStatus
The user's market status
getMarketMetadata
Gets the market metadata for a given market.
Parameters
alien
contract AlienFinance
The Alien contract
market
address
The market to get metadata for
Returns
_0
AlienFinanceLens.MarketMetadata
The market metadata
getMarketStatus
Gets the market status for a given market.
Parameters
alien
contract AlienFinance
The Alien contract
market
address
The market to get status for
Returns
_0
AlienFinanceLens.MarketStatus
The market status
getUserAllCurrentMarketsStatus
Gets the user's current market status for all markets.
This function is not gas efficient and should not be called on chain.
Parameters
alien
contract AlienFinance
The Alien contract
user
address
The user to get status for
Returns
_0
AlienFinanceLens.UserMarketStatus[]
The list of all user's market status
getUserAllMarketsStatus
Gets the user's market status for all markets.
Parameters
alien
contract AlienFinance
The Alien contract
user
address
The user to get status for
Returns
_0
AlienFinanceLens.UserMarketStatus[]
The list of all user's market status
getUserMarketStatus
Gets the user's market status for a given market.
Parameters
alien
contract AlienFinance
The Alien contract
user
address
The user to get status for
market
address
The market to get status for
Returns
_0
AlienFinanceLens.UserMarketStatus
The user's market status
Last updated