* refactor(substreams): ignore transaction if contracts update are ignored. There are some cases where we ignore contracts updates (for example if the old and new values are the same). In that case if the transaction only contains ignored updates we don't emit it. * refactor(substreams): ignore deletions for freshly created attributes. There are cases where an attribute can be created and deleted during the same transaction. To avoid sending a confusing deletion for something that was never created before, we just ignore the deletion in that particular case. * feat(substreams): Add uniswap V3 logs only module (#98) * feat(substreams): add uniswapV3 logs only Substreams module * refactor(substreams): encode everything as big endian * refactor(substreams): mark changes as creation when a tick liq is updated from 0 This will allow the SDK to detect cases where a tick is created and deleted in the same transaction and ignore it. * ci(substreams): ignore built files for uniswapv3 logs only module and clean code * refactor(substreams): update uniswapv3 substreams with new SDK interface * feat(subtreams): emit default token balances value for uniswapv3 --------- Co-authored-by: zizou <111426680+flopell@users.noreply.github.com> --------- Co-authored-by: zizou <111426680+flopell@users.noreply.github.com>
989 lines
19 KiB
JSON
989 lines
19 KiB
JSON
[
|
|
{
|
|
"inputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "owner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "int24",
|
|
"name": "tickLower",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "int24",
|
|
"name": "tickUpper",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint128",
|
|
"name": "amount",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "amount0",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "amount1",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "Burn",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "owner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "int24",
|
|
"name": "tickLower",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "int24",
|
|
"name": "tickUpper",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint128",
|
|
"name": "amount0",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint128",
|
|
"name": "amount1",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"name": "Collect",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "sender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint128",
|
|
"name": "amount0",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint128",
|
|
"name": "amount1",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"name": "CollectProtocol",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "sender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "amount0",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "amount1",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "paid0",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "paid1",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "Flash",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint16",
|
|
"name": "observationCardinalityNextOld",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint16",
|
|
"name": "observationCardinalityNextNew",
|
|
"type": "uint16"
|
|
}
|
|
],
|
|
"name": "IncreaseObservationCardinalityNext",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint160",
|
|
"name": "sqrtPriceX96",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "int24",
|
|
"name": "tick",
|
|
"type": "int24"
|
|
}
|
|
],
|
|
"name": "Initialize",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"internalType": "address",
|
|
"name": "sender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "owner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "int24",
|
|
"name": "tickLower",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "int24",
|
|
"name": "tickUpper",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint128",
|
|
"name": "amount",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "amount0",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint256",
|
|
"name": "amount1",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "Mint",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint8",
|
|
"name": "feeProtocol0Old",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint8",
|
|
"name": "feeProtocol1Old",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint8",
|
|
"name": "feeProtocol0New",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint8",
|
|
"name": "feeProtocol1New",
|
|
"type": "uint8"
|
|
}
|
|
],
|
|
"name": "SetFeeProtocol",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "sender",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "int256",
|
|
"name": "amount0",
|
|
"type": "int256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "int256",
|
|
"name": "amount1",
|
|
"type": "int256"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint160",
|
|
"name": "sqrtPriceX96",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "uint128",
|
|
"name": "liquidity",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "int24",
|
|
"name": "tick",
|
|
"type": "int24"
|
|
}
|
|
],
|
|
"name": "Swap",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tickLower",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tickUpper",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"name": "burn",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount0",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount1",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tickLower",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tickUpper",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount0Requested",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount1Requested",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"name": "collect",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount0",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount1",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount0Requested",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount1Requested",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"name": "collectProtocol",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount0",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount1",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "factory",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "fee",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint24",
|
|
"name": "",
|
|
"type": "uint24"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "feeGrowthGlobal0X128",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "feeGrowthGlobal1X128",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount0",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount1",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "bytes",
|
|
"name": "data",
|
|
"type": "bytes"
|
|
}
|
|
],
|
|
"name": "flash",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint16",
|
|
"name": "observationCardinalityNext",
|
|
"type": "uint16"
|
|
}
|
|
],
|
|
"name": "increaseObservationCardinalityNext",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint160",
|
|
"name": "sqrtPriceX96",
|
|
"type": "uint160"
|
|
}
|
|
],
|
|
"name": "initialize",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "liquidity",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "maxLiquidityPerTick",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tickLower",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tickUpper",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "amount",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"internalType": "bytes",
|
|
"name": "data",
|
|
"type": "bytes"
|
|
}
|
|
],
|
|
"name": "mint",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount0",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "amount1",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "index",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "observations",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint32",
|
|
"name": "blockTimestamp",
|
|
"type": "uint32"
|
|
},
|
|
{
|
|
"internalType": "int56",
|
|
"name": "tickCumulative",
|
|
"type": "int56"
|
|
},
|
|
{
|
|
"internalType": "uint160",
|
|
"name": "secondsPerLiquidityCumulativeX128",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"internalType": "bool",
|
|
"name": "initialized",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint32[]",
|
|
"name": "secondsAgos",
|
|
"type": "uint32[]"
|
|
}
|
|
],
|
|
"name": "observe",
|
|
"outputs": [
|
|
{
|
|
"internalType": "int56[]",
|
|
"name": "tickCumulatives",
|
|
"type": "int56[]"
|
|
},
|
|
{
|
|
"internalType": "uint160[]",
|
|
"name": "secondsPerLiquidityCumulativeX128s",
|
|
"type": "uint160[]"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "bytes32",
|
|
"name": "key",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "positions",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "_liquidity",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "feeGrowthInside0LastX128",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "feeGrowthInside1LastX128",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "tokensOwed0",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "tokensOwed1",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "protocolFees",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "token0",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "token1",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "uint8",
|
|
"name": "feeProtocol0",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"internalType": "uint8",
|
|
"name": "feeProtocol1",
|
|
"type": "uint8"
|
|
}
|
|
],
|
|
"name": "setFeeProtocol",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "slot0",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint160",
|
|
"name": "sqrtPriceX96",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tick",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"internalType": "uint16",
|
|
"name": "observationIndex",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"internalType": "uint16",
|
|
"name": "observationCardinality",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"internalType": "uint16",
|
|
"name": "observationCardinalityNext",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"internalType": "uint8",
|
|
"name": "feeProtocol",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"internalType": "bool",
|
|
"name": "unlocked",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tickLower",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tickUpper",
|
|
"type": "int24"
|
|
}
|
|
],
|
|
"name": "snapshotCumulativesInside",
|
|
"outputs": [
|
|
{
|
|
"internalType": "int56",
|
|
"name": "tickCumulativeInside",
|
|
"type": "int56"
|
|
},
|
|
{
|
|
"internalType": "uint160",
|
|
"name": "secondsPerLiquidityInsideX128",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"internalType": "uint32",
|
|
"name": "secondsInside",
|
|
"type": "uint32"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"internalType": "bool",
|
|
"name": "zeroForOne",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"internalType": "int256",
|
|
"name": "amountSpecified",
|
|
"type": "int256"
|
|
},
|
|
{
|
|
"internalType": "uint160",
|
|
"name": "sqrtPriceLimitX96",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"internalType": "bytes",
|
|
"name": "data",
|
|
"type": "bytes"
|
|
}
|
|
],
|
|
"name": "swap",
|
|
"outputs": [
|
|
{
|
|
"internalType": "int256",
|
|
"name": "amount0",
|
|
"type": "int256"
|
|
},
|
|
{
|
|
"internalType": "int256",
|
|
"name": "amount1",
|
|
"type": "int256"
|
|
}
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "int16",
|
|
"name": "wordPosition",
|
|
"type": "int16"
|
|
}
|
|
],
|
|
"name": "tickBitmap",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "tickSpacing",
|
|
"outputs": [
|
|
{
|
|
"internalType": "int24",
|
|
"name": "",
|
|
"type": "int24"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"internalType": "int24",
|
|
"name": "tick",
|
|
"type": "int24"
|
|
}
|
|
],
|
|
"name": "ticks",
|
|
"outputs": [
|
|
{
|
|
"internalType": "uint128",
|
|
"name": "liquidityGross",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"internalType": "int128",
|
|
"name": "liquidityNet",
|
|
"type": "int128"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "feeGrowthOutside0X128",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "uint256",
|
|
"name": "feeGrowthOutside1X128",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"internalType": "int56",
|
|
"name": "tickCumulativeOutside",
|
|
"type": "int56"
|
|
},
|
|
{
|
|
"internalType": "uint160",
|
|
"name": "secondsPerLiquidityOutsideX128",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"internalType": "uint32",
|
|
"name": "secondsOutside",
|
|
"type": "uint32"
|
|
},
|
|
{
|
|
"internalType": "bool",
|
|
"name": "initialized",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "token0",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "token1",
|
|
"outputs": [
|
|
{
|
|
"internalType": "address",
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
}
|
|
]
|