UNPKG

@cryptoalgebra/integral-periphery

Version:

Peripheral smart contracts of Algebra Integral protocol

203 lines (202 loc) 4.37 kB
{ "_format": "hh-sol-artifact-1", "contractName": "IAlgebraCustomPoolEntryPoint", "sourceName": "contracts/interfaces/IAlgebraCustomPoolEntryPoint.sol", "abi": [ { "inputs": [ { "internalType": "address", "name": "plugin", "type": "address" }, { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "address", "name": "deployer", "type": "address" } ], "name": "afterCreatePoolHook", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "address", "name": "creator", "type": "address" }, { "internalType": "address", "name": "deployer", "type": "address" }, { "internalType": "address", "name": "token0", "type": "address" }, { "internalType": "address", "name": "token1", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "beforeCreatePoolHook", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "deployer", "type": "address" }, { "internalType": "address", "name": "creator", "type": "address" }, { "internalType": "address", "name": "tokenA", "type": "address" }, { "internalType": "address", "name": "tokenB", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "createCustomPool", "outputs": [ { "internalType": "address", "name": "customPool", "type": "address" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "factory", "outputs": [ { "internalType": "address", "name": "factory", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "uint16", "name": "newFee", "type": "uint16" } ], "name": "setFee", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "address", "name": "newPluginAddress", "type": "address" } ], "name": "setPlugin", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "uint8", "name": "newConfig", "type": "uint8" } ], "name": "setPluginConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "pool", "type": "address" }, { "internalType": "int24", "name": "newTickSpacing", "type": "int24" } ], "name": "setTickSpacing", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x", "deployedBytecode": "0x", "linkReferences": {}, "deployedLinkReferences": {} }