fill round update + notification update + visual fixes
This commit is contained in:
@@ -44,18 +44,18 @@ export const useUniswapStore = defineStore("uniswap", {
|
||||
const memeBurnerStore = useMemeburnerStore();
|
||||
var amountEthBase = await memeBurnerStore.getAmountETHBase(amount);
|
||||
console.log("amountEthBase", amountEthBase);
|
||||
console.log("123", {
|
||||
console.log("quoteExactInputSingle-parameter", {
|
||||
token0: this.poolData.token0,
|
||||
token1: this.poolData.token1,
|
||||
fee: this.poolData.fee,
|
||||
amountEthBase: amountEthBase,
|
||||
amountEthBase: amountEthBase[1],
|
||||
pricelimit: 0, //sqrtPriceLimitX96
|
||||
});
|
||||
const quotedAmountOut = await this.quoateV3Contract.read.quoteExactInputSingle([
|
||||
this.poolData.token0, //bloodline
|
||||
this.poolData.token1, //weth
|
||||
this.poolData.fee,
|
||||
amountEthBase,
|
||||
amountEthBase[1],
|
||||
0, //sqrtPriceLimitX96
|
||||
]);
|
||||
return {result: true, amount: quotedAmountOut};
|
||||
|
||||
Reference in New Issue
Block a user