Module brontes_classifier::UniswapV3Factory
source · Expand description
Generated by the following Solidity interface…
interface UniswapV3Factory {
event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing);
event OwnerChanged(address indexed oldOwner, address indexed newOwner);
event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool);
constructor();
function createPool(address tokenA, address tokenB, uint24 fee) external returns (address pool);
function enableFeeAmount(uint24 fee, int24 tickSpacing) external;
function feeAmountTickSpacing(uint24) external view returns (int24);
function getPool(address, address, uint24) external view returns (address);
function owner() external view returns (address);
function parameters() external view returns (address factory, address token0, address token1, uint24 fee, int24 tickSpacing);
function setOwner(address _owner) external;
}
…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "createPool",
"inputs": [
{
"name": "tokenA",
"type": "address",
"internalType": "address"
},
{
"name": "tokenB",
"type": "address",
"internalType": "address"
},
{
"name": "fee",
"type": "uint24",
"internalType": "uint24"
}
],
"outputs": [
{
"name": "pool",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "enableFeeAmount",
"inputs": [
{
"name": "fee",
"type": "uint24",
"internalType": "uint24"
},
{
"name": "tickSpacing",
"type": "int24",
"internalType": "int24"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "feeAmountTickSpacing",
"inputs": [
{
"name": "",
"type": "uint24",
"internalType": "uint24"
}
],
"outputs": [
{
"name": "",
"type": "int24",
"internalType": "int24"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPool",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "address",
"internalType": "address"
},
{
"name": "",
"type": "uint24",
"internalType": "uint24"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "parameters",
"inputs": [],
"outputs": [
{
"name": "factory",
"type": "address",
"internalType": "address"
},
{
"name": "token0",
"type": "address",
"internalType": "address"
},
{
"name": "token1",
"type": "address",
"internalType": "address"
},
{
"name": "fee",
"type": "uint24",
"internalType": "uint24"
},
{
"name": "tickSpacing",
"type": "int24",
"internalType": "int24"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "setOwner",
"inputs": [
{
"name": "_owner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "FeeAmountEnabled",
"inputs": [
{
"name": "fee",
"type": "uint24",
"indexed": true,
"internalType": "uint24"
},
{
"name": "tickSpacing",
"type": "int24",
"indexed": true,
"internalType": "int24"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OwnerChanged",
"inputs": [
{
"name": "oldOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PoolCreated",
"inputs": [
{
"name": "token0",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "token1",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "fee",
"type": "uint24",
"indexed": true,
"internalType": "uint24"
},
{
"name": "tickSpacing",
"type": "int24",
"indexed": false,
"internalType": "int24"
},
{
"name": "pool",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
}
]
Structs§
- Event with signature
FeeAmountEnabled(uint24,int24)
and selector0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc
. - Event with signature
OwnerChanged(address,address)
and selector0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c
. - Event with signature
PoolCreated(address,address,uint24,int24,address)
and selector0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118
. - Constructor`.
- Function with signature
createPool(address,address,uint24)
and selector0xa1671295
. - Container type for the return parameters of the
createPool(address,address,uint24)
function. - Function with signature
enableFeeAmount(uint24,int24)
and selector0x8a7c195f
. - Container type for the return parameters of the
enableFeeAmount(uint24,int24)
function. - Function with signature
feeAmountTickSpacing(uint24)
and selector0x22afcccb
. - Container type for the return parameters of the
feeAmountTickSpacing(uint24)
function. - Function with signature
getPool(address,address,uint24)
and selector0x1698ee82
. - Container type for the return parameters of the
getPool(address,address,uint24)
function. - Function with signature
owner()
and selector0x8da5cb5b
. - Container type for the return parameters of the
owner()
function. - Function with signature
parameters()
and selector0x89035730
. - Container type for the return parameters of the
parameters()
function. - Function with signature
setOwner(address)
and selector0x13af4035
. - Container type for the return parameters of the
setOwner(address)
function.
Enums§
- Container for all the
UniswapV3Factory
function calls. - Container for all the
UniswapV3Factory
events.