Skip to content

CLQquoter quote reverted #91

@mianshenglee

Description

@mianshenglee

error description:
i'm using CLQuoter("0xd0737C9762912dD34c3271197E362Aa736Df0926") to quote, but always got reverted error. for ex: this infinity pool ZBT/USDT: https://pancakeswap.finance/liquidity/pool/bsc/0xc0205f133fafa76a14c9cbb153d2cc198f66900a6bdda6e24ff9846080b0e509,i got the pool fee data using bscPancakeInfinityClPoolManager's poolIdToPoolKey function:currency0:0x55d398326f99059ff775485246999027b3197955,currency1:0xfab99fcf605fd8f4593edb70a43ba56542777777,hooks:0x0000000000000000000000000000000000000000,poolManager:0xa0ffb9c1ce1fe56963b0321b32e7a0302114058b,fee:6722,parameters:0。
we can see the poolFee is 6722. but when i use this poolFee to quote, got reveted error:Contract Call has been reverted by the EVM with the reason: 'execution reverted: 0x6190b2b000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000004486aa30700000000000000000000000000000000000000000000000000000000'.

question:
(1)why the poolFee is 6722 not the 1%(which is 10000) showing on the website?
(2) using 6722 not work(error reverted above). i try all other poolFee(100/500/2500/10000), no one can quote correctly, all reverted. why ? how to solve it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions