Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

LensesV1

Git Source

State Variables

LONGTAIL

ILongtail public immutable LONGTAIL;

FACTORY

INineLivesFactory public immutable FACTORY;

Functions

constructor

constructor(ILongtail _longtail, INineLivesFactory _factory);

getLongtailQuote

function getLongtailQuote(address _pool, bool _zeroForOne, int256 _amount, uint256 _priceLimit)
    external
    returns (string memory data);

getShareAddr

function getShareAddr(INineLivesFactory _factory, bytes32 _hash, address _tradingAddr, bytes8 _outcomeId)
    public
    pure
    returns (address shareAddr);

balancesWithFactoryAndHash

function balancesWithFactoryAndHash(
    INineLivesFactory _factory,
    bytes32 _hash,
    address _tradingAddr,
    bytes32[] calldata _words,
    address _spender
) external view returns (uint256[] memory bals);