UNPKG

@price-oracle/v1-core-interfaces

Version:

Price Oracle v1 Core Interfaces and needed integration files

1,238 lines 240 kB
{ "abi": [ { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" }, { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "AlreadyVoted", "type": "error" }, { "inputs": [], "name": "NoVotes", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" }, { "internalType": "bytes", "name": "_expectedParameters", "type": "bytes" }, { "internalType": "bytes", "name": "_actualParameters", "type": "bytes" } ], "name": "ParametersMismatch", "type": "error" }, { "inputs": [], "name": "PoolManager_ActiveLockManager", "type": "error" }, { "inputs": [], "name": "PoolManager_FeeManagerAlreadySet", "type": "error" }, { "inputs": [ { "internalType": "contract IFeeManager", "name": "_expected", "type": "address" }, { "internalType": "contract IFeeManager", "name": "_actual", "type": "address" } ], "name": "PoolManager_FeeManagerMismatch", "type": "error" }, { "inputs": [], "name": "PoolManager_InvalidFeeManager", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "_expected", "type": "address" }, { "internalType": "address", "name": "_actual", "type": "address" } ], "name": "PoolManager_MigrationContractMismatch", "type": "error" }, { "inputs": [], "name": "PoolManager_MigrationFailed", "type": "error" }, { "inputs": [], "name": "PoolManager_NoRewardsToClaim", "type": "error" }, { "inputs": [], "name": "PoolManager_OnlyFactory", "type": "error" }, { "inputs": [], "name": "PoolManager_OnlyPool", "type": "error" }, { "inputs": [], "name": "PoolManager_PoolManipulated", "type": "error" }, { "inputs": [], "name": "PoolManager_PriceOracleAlreadySet", "type": "error" }, { "inputs": [ { "internalType": "contract IPriceOracle", "name": "_expected", "type": "address" }, { "internalType": "contract IPriceOracle", "name": "_actual", "type": "address" } ], "name": "PoolManager_PriceOracleMismatch", "type": "error" }, { "inputs": [], "name": "PoolManager_ZeroAddress", "type": "error" }, { "inputs": [], "name": "PoolManager_ZeroAmount", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" }, { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "ProposalAlreadyQueued", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" }, { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "ProposalClosed", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" }, { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "ProposalNotExecutable", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" }, { "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "QuorumNotReached", "type": "error" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_user", "type": "address" }, { "indexed": false, "internalType": "address", "name": "_to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_wethAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_tokenAmount", "type": "uint256" } ], "name": "ClaimedRewards", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "contract IFeeManager", "name": "_newFeeManager", "type": "address" } ], "name": "FeeManagerMigrated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_totalFeeWeth", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_totalFeeToken", "type": "uint256" } ], "name": "FeesCollected", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "contract ILockManager", "name": "_oldLockManager", "type": "address" }, { "indexed": false, "internalType": "contract ILockManager", "name": "_newLockManager", "type": "address" } ], "name": "LockManagerDeprecated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_method", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "_params", "type": "bytes" } ], "name": "NewProposal", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_voter", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_votes", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_method", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "NewVote", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "contract IPriceOracle", "name": "_newPriceOracle", "type": "address" } ], "name": "PriceOracleSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_method", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "_params", "type": "bytes" } ], "name": "ProposalCancelled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_method", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "_params", "type": "bytes" } ], "name": "ProposalExecuted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_id", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_method", "type": "uint256" }, { "indexed": false, "internalType": "bytes", "name": "_params", "type": "bytes" } ], "name": "ProposalQueued", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_wethAmount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_tokenAmount", "type": "uint256" } ], "name": "RewardsAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "_liquidity", "type": "uint256" } ], "name": "SeederLiquidityBurned", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "_voter", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "_method", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "_id", "type": "uint256" } ], "name": "VoteCancelled", "type": "event" }, { "inputs": [], "name": "FEE", "outputs": [ { "internalType": "uint24", "name": "_fee", "type": "uint24" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "IS_WETH_TOKEN0", "outputs": [ { "internalType": "bool", "name": "_isWethToken0", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "POOL", "outputs": [ { "internalType": "contract IUniswapV3Pool", "name": "_pool", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "POOL_MANAGER_FACTORY", "outputs": [ { "internalType": "contract IPoolManagerFactory", "name": "_poolManagerFactory", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "QUORUM", "outputs": [ { "internalType": "uint256", "name": "_quorum", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "TOKEN", "outputs": [ { "internalType": "contract IERC20", "name": "_token", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "WETH", "outputs": [ { "internalType": "contract IERC20", "name": "_weth", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "contract IFeeManager", "name": "_newFeeManager", "type": "address" } ], "name": "acceptFeeManagerChange", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_migrationContract", "type": "address" } ], "name": "acceptMigrate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "contract IPriceOracle", "name": "_newPriceOracle", "type": "address" } ], "name": "acceptPriceOracleChange", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_liquidity", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" } ], "name": "cancelProposal", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" } ], "name": "cancelVote", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_to", "type": "address" } ], "name": "claimRewards", "outputs": [ { "internalType": "uint256", "name": "_rewardWeth", "type": "uint256" }, { "internalType": "uint256", "name": "_rewardToken", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "claimable", "outputs": [ { "internalType": "uint256", "name": "_wethClaimable", "type": "uint256" }, { "internalType": "uint256", "name": "_tokenClaimable", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "collectFees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "deprecateLockManager", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_index", "type": "uint256" } ], "name": "deprecatedLockManagers", "outputs": [ { "internalType": "contract ILockManager", "name": "_deprecatedLockManagers", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" }, { "internalType": "bytes", "name": "_parameters", "type": "bytes" } ], "name": "execute", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "executionTimelock", "outputs": [ { "internalType": "uint256", "name": "_executionTimelock", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "feeManager", "outputs": [ { "internalType": "contract IFeeManager", "name": "_feeManager", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" } ], "name": "getLatest", "outputs": [ { "components": [ { "internalType": "uint256", "name": "id", "type": "uint256" }, { "internalType": "bytes", "name": "params", "type": "bytes" }, { "internalType": "uint256", "name": "forVotes", "type": "uint256" }, { "internalType": "bool", "name": "open", "type": "bool" }, { "internalType": "uint256", "name": "timelockExpiry", "type": "uint256" } ], "internalType": "struct IGovernorMiniBravo.Proposal", "name": "_proposal", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_donor", "type": "address" }, { "internalType": "uint128", "name": "_liquidity", "type": "uint128" }, { "internalType": "uint160", "name": "_sqrtPriceX96", "type": "uint160" } ], "name": "increaseFullRangePosition", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_wethAmount", "type": "uint256" }, { "internalType": "uint256", "name": "_tokenAmount", "type": "uint256" } ], "name": "increaseFullRangePosition", "outputs": [ { "internalType": "uint256", "name": "__amountWeth", "type": "uint256" }, { "internalType": "uint256", "name": "__amountToken", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" } ], "name": "isExecutable", "outputs": [ { "internalType": "bool", "name": "_availableToExecute", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "lockManager", "outputs": [ { "internalType": "contract ILockManager", "name": "_lockManager", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_wethAmount", "type": "uint256" }, { "internalType": "uint256", "name": "_tokenAmount", "type": "uint256" } ], "name": "mintLiquidityForFullRange", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "poolLiquidity", "outputs": [ { "internalType": "uint256", "name": "_poolLiquidity", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "poolRewards", "outputs": [ { "internalType": "uint256", "name": "wethPerSeededLiquidity", "type": "uint256" }, { "internalType": "uint256", "name": "tokenPerSeededLiquidity", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "priceOracle", "outputs": [ { "internalType": "contract IPriceOracle", "name": "_priceOracle", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "contract IFeeManager", "name": "_newFeeManager", "type": "address" } ], "name": "proposeFeeManagerChange", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_migrationContract", "type": "address" } ], "name": "proposeMigrate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "contract IPriceOracle", "name": "_newPriceOracle", "type": "address" } ], "name": "proposePriceOracleChange", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" }, { "internalType": "bytes", "name": "_parameters", "type": "bytes" } ], "name": "queue", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_method", "type": "uint256" } ], "name": "quorumReached", "outputs": [ { "internalType": "bool", "name": "_quorumReached", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_donor", "type": "address" } ], "name": "seederBalance", "outputs": [ { "internalType": "uint256", "name": "_seederBalance", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_donor", "type": "address" } ], "name": "seederBurned", "outputs": [ { "internalType": "uint256", "name": "_seederBurned", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "seederRewards", "outputs": [ { "internalType": "uint256", "name": "wethPaid", "type": "uint256" }, { "internalType": "uint256", "name": "tokenPaid", "type": "uint256" }, { "internalType": "uint256", "name": "wethAvailable", "type": "uint256" }, { "internalType": "uint256", "name": "tokenAvailable", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalVotes", "outputs": [ { "internalType": "uint256", "name": "_totalVotes", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount0Owed", "type": "uint256" }, { "internalType": "uint256", "name": "_amount1Owed", "type": "uint256" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "name": "uniswapV3MintCallback", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_user", "type": "address" } ], "name": "votingPower", "outputs": [ { "internalType": "uint256", "name": "_balance", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ], "bytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} }, "deployedBytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} }, "methodIdentifiers": { "FEE()": "c57981b5", "IS_WETH_TOKEN0()": "5c8bec40", "POOL()": "7535d246", "POOL_MANAGER_FACTORY()": "daa6f534", "QUORUM()": "2e80d9b6", "TOKEN()": "82bfefc8", "WETH()": "ad5c4648", "acceptFeeManagerChange(address)": "7a1a0ea5", "acceptMigrate(address)": "c968116d", "acceptPriceOracleChange(address)": "f4b1b3f2", "burn(uint256)": "42966c68", "cancelProposal(uint256)": "e0a8f6f5", "cancelVote(uint256)": "bacbe2da", "claimRewards(address)": "ef5cfb8c", "claimable(address)": "402914f5", "collectFees()": "c8796572", "deprecateLockManager()": "24db7d71", "deprecatedLockManagers(uint256)": "1433a214", "execute(uint256,bytes)": "59efcb15", "executionTimelock()": "77806118", "feeManager()": "d0fb0203", "getLatest(uint256)": "33495dd3", "increaseFullRangePosition(address,uint128,uint160)": "4135b124", "increaseFullRangePosition(uint256,uint256)": "74f7f069", "isExecutable(uint256)": "4e395e2a", "lockManager()": "acca30a2", "mintLiquidityForFullRange(uint256,uint256)": "dcf18aaf", "poolLiquidity()": "3b228b3e", "poolRewards()": "8bc6beb2", "priceOracle()": "2630c12f", "proposeFeeManagerChange(address)": "28fe1fb6", "proposeMigrate(address)": "e1f4e321", "proposePriceOracleChange(address)": "70ffbe6c", "queue(uint256,bytes)": "caca0c94", "quorumReached(uint256)": "d4a8dd98", "seederBalance(address)": "d3ba2ab2", "seederBurned(address)": "9ae84b01", "seederRewards(address)": "0cfe6098", "totalVotes()": "0d15fd77", "uniswapV3MintCallback(uint256,uint256,bytes)": "d3487997", "votingPower(address)": "c07473f6" }, "rawMetadata": "{\"compiler\":{\"version\":\"0.8.10+commit.fc410830\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"AlreadyVoted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NoVotes\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_expectedParameters\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_actualParameters\",\"type\":\"bytes\"}],\"name\":\"ParametersMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_ActiveLockManager\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_FeeManagerAlreadySet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"contract IFeeManager\",\"name\":\"_expected\",\"type\":\"address\"},{\"internalType\":\"contract IFeeManager\",\"name\":\"_actual\",\"type\":\"address\"}],\"name\":\"PoolManager_FeeManagerMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_InvalidFeeManager\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_expected\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_actual\",\"type\":\"address\"}],\"name\":\"PoolManager_MigrationContractMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_MigrationFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_NoRewardsToClaim\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_OnlyFactory\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_OnlyPool\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_PoolManipulated\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_PriceOracleAlreadySet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"contract IPriceOracle\",\"name\":\"_expected\",\"type\":\"address\"},{\"internalType\":\"contract IPriceOracle\",\"name\":\"_actual\",\"type\":\"address\"}],\"name\":\"PoolManager_PriceOracleMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_ZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PoolManager_ZeroAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"ProposalAlreadyQueued\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"ProposalClosed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"ProposalNotExecutable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"QuorumNotReached\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_wethAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_tokenAmount\",\"type\":\"uint256\"}],\"name\":\"ClaimedRewards\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contract IFeeManager\",\"name\":\"_newFeeManager\",\"type\":\"address\"}],\"name\":\"FeeManagerMigrated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_totalFeeWeth\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_totalFeeToken\",\"type\":\"uint256\"}],\"name\":\"FeesCollected\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contract ILockManager\",\"name\":\"_oldLockManager\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"contract ILockManager\",\"name\":\"_newLockManager\",\"type\":\"address\"}],\"name\":\"LockManagerDeprecated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_params\",\"type\":\"bytes\"}],\"name\":\"NewProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_votes\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"NewVote\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"contract IPriceOracle\",\"name\":\"_newPriceOracle\",\"type\":\"address\"}],\"name\":\"PriceOracleSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_params\",\"type\":\"bytes\"}],\"name\":\"ProposalCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_params\",\"type\":\"bytes\"}],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_params\",\"type\":\"bytes\"}],\"name\":\"ProposalQueued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_wethAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_tokenAmount\",\"type\":\"uint256\"}],\"name\":\"RewardsAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_liquidity\",\"type\":\"uint256\"}],\"name\":\"SeederLiquidityBurned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"VoteCancelled\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"FEE\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"_fee\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"IS_WETH_TOKEN0\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_isWethToken0\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL\",\"outputs\":[{\"internalType\":\"contract IUniswapV3Pool\",\"name\":\"_pool\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POOL_MANAGER_FACTORY\",\"outputs\":[{\"internalType\":\"contract IPoolManagerFactory\",\"name\":\"_poolManagerFactory\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"QUORUM\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_quorum\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TOKEN\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"_token\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"contract IERC20\",\"name\":\"_weth\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IFeeManager\",\"name\":\"_newFeeManager\",\"type\":\"address\"}],\"name\":\"acceptFeeManagerChange\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_migrationContract\",\"type\":\"address\"}],\"name\":\"acceptMigrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IPriceOracle\",\"name\":\"_newPriceOracle\",\"type\":\"address\"}],\"name\":\"acceptPriceOracleChange\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_liquidity\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"}],\"name\":\"cancelProposal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"}],\"name\":\"cancelVote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"claimRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardWeth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_rewardToken\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"claimable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_wethClaimable\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokenClaimable\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deprecateLockManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"deprecatedLockManagers\",\"outputs\":[{\"internalType\":\"contract ILockManager\",\"name\":\"_deprecatedLockManagers\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_parameters\",\"type\":\"bytes\"}],\"name\":\"execute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executionTimelock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_executionTimelock\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeManager\",\"outputs\":[{\"internalType\":\"contract IFeeManager\",\"name\":\"_feeManager\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"}],\"name\":\"getLatest\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"forVotes\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"open\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"timelockExpiry\",\"type\":\"uint256\"}],\"internalType\":\"struct IGovernorMiniBravo.Proposal\",\"name\":\"_proposal\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_donor\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"_liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint160\",\"name\":\"_sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"increaseFullRangePosition\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_wethAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokenAmount\",\"type\":\"uint256\"}],\"name\":\"increaseFullRangePosition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"__amountWeth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"__amountToken\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"}],\"name\":\"isExecutable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_availableToExecute\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lockManager\",\"outputs\":[{\"internalType\":\"contract ILockManager\",\"name\":\"_lockManager\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_wethAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_tokenAmount\",\"type\":\"uint256\"}],\"name\":\"mintLiquidityForFullRange\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolLiquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"wethPerSeededLiquidity\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenPerSeededLiquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"priceOracle\",\"outputs\":[{\"internalType\":\"contract IPriceOracle\",\"name\":\"_priceOracle\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IFeeManager\",\"name\":\"_newFeeManager\",\"type\":\"address\"}],\"name\":\"proposeFeeManagerChange\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_migrationContract\",\"type\":\"address\"}],\"name\":\"proposeMigrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contract IPriceOracle\",\"name\":\"_newPriceOracle\",\"type\":\"address\"}],\"name\":\"proposePriceOracleChange\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_parameters\",\"type\":\"bytes\"}],\"name\":\"queue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_method\",\"type\":\"uint256\"}],\"name\":\"quorumReached\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_quorumReached\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_donor\",\"type\":\"address\"}],\"name\":\"seederBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_seederBalance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_donor\",\"type\":\"address\"}],\"name\":\"seederBurned\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_seederBurned\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"seederRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"wethPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenPaid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"wethAvailable\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tokenAvailable\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_totalVotes\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount0Owed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount1Owed\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3MintCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"votingPower\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"PoolManager_FeeManagerMismatch(address,address)\":[{\"params\":{\"_actual\":\"The actual fee manager\",\"_expected\":\"The expected fee manager\"}}],\"PoolManager_MigrationContractMismatch(address,address)\":[{\"params\":{\"_actual\":\"The actual migration contract\",\"_expected\":\"The expected migration contract\"}}],\"PoolManager_PriceOracleMismatch(address,address)\":[{\"params\":{\"_actual\":\"The actual price oracle\",\"_expected\":\"The expected price oracle\"}}]},\"events\":{\"ClaimedRewards(address,address,uint256,uint256)\":{\"params\":{\"_tokenAmount\":\"The amount of non-WETH tokens to claim\",\"_user\":\"The address of the user that claimed the rewards\",\"_wethAmount\":\"The amount of WETH tokens to claim\"}},\"FeesCollected(uint256,uint256)\":{\"params\":{\"_totalFeeToken\":\"Total token amount collected\",\"_totalFeeWeth\":\"Total WETH amount collected\"}},\"LockManagerDeprecated(address,address)\":{\"params\":{\"_newLockManager\":\"The new lock manager\",\"_oldLockManager\":\"The lock manager that was deprecated\"}},\"RewardsAdded(uint256,uint256)\":{\"params\":{\"_tokenAmount\":\"The amount of WETH added\",\"_wethAmount\":\"The amount of WETH added\"}},\"SeederLiquidityBurned(uint256)\":{\"params\":{\"_liquidity\":\"The liquidity that has been burned\"}}},\"kind\":\"dev\",\"methods\":{\"FEE()\":{\"returns\":{\"_fee\":\"The pool manager's fee\"}},\"IS_WETH_TOKEN0()\":{\"returns\":{\"_isWethToken0\":\"If WETH is token0\"}},\"POOL()\":{\"returns\":{\"_pool\":\"The underlying UniswapV3 pool contract\"}},\"POOL_MANAGER_FACTORY()\":{\"returns\":{\"_poolManagerFactory\":\"The pool manager factory\"}},\"QUORUM()\":{\"returns\":{\"_quorum\":\"The needed quorum percentage\"}},\"TOKEN()\":{\"returns\":{\"_token\":\"The non-WETH token of the underlying pool\"}},\"WETH()\":{\"returns\":{\"_weth\":\"The WETH token\"}},\"acceptFeeManagerChange(address)\":{\"params\":{\"_newFeeManager\":\"The new fee manager to be set up\"}},\"acceptMigrate(address)\":{\"params\":{\"_migrationContract\":\"The migration contract\"}},\"acceptPriceOracleChange(address)\":{\"params\":{\"_newPriceOracle\":\"The new price oracle to be set up\"}},\"burn(uint256)\":{\"details\":\"The voting power for the user remains the same but they donate all rewards\",\"params\":{\"_liquidity\":\"The amount of liquidity\"}},\"cancelProposal(uint256)\":{\"details\":\"Admin can only call\",\"params\":{\"_method\":\"The method proposal to cancel\"}},\"cancelVote(uint256)\":{\"params\":{\"_method\":\"The method to subtract the votes\"}},\"claimRewards(address)\":{\"params\":{\"_to\":\"The recipient the rewards\"},\"returns\":{\"_rewardToken\":\"The amount of rewards in non-WETH token that were claimed\",\"_rewardWeth\":\"The amount of rewards in WETH that were claimed\"}},\"claimable(address)\":{\"params\":{\"_account\":\"The address of the account\"},\"returns\":{\"_tokenClaimable\":\"The amount of non-WETH token claimable\",\"_wethClaimable\":\"The amount of WETH claimable\"}},\"deprecatedLockManagers(uint256)\":{\"returns\":{\"_deprecatedLockManagers\":\"A deprecated lock manager\"}},\"execute(uint256,bytes)\":{\"params\":{\"_method\":\"The target method\",\"_parameters\":\"The proposal parameters\"}},\"executionTimelock()\":{\"returns\":{\"_executionTimelock\":\"The time lock to execute transactions\"}},\"feeManager()\":{\"returns\":{\"_feeManager\":\"The fee manager\"}},\"getLatest(uint256)\":{\"params\":{\"_method\":\"The target method proposal\"},\"returns\":{\"_proposal\":\"The latest proposal for the method\"}},\"increaseFullRangePosition(address,uint128,uint160)\":{\"params\":{\"_donor\":\"The user that will provide WETH and the other token\",\"_liquidity\":\"The liquidity that will be minted\",\"_sqrtPriceX96\":\"A sqrt price representing the current pool prices\"}},\"increaseFullRangePosition(uint256,uint256)\":{\"details\":\"Pool manager will make a callback to the fee manager, who will provide the liquidity\",\"params\":{\"_tokenAmount\":\"The amount of non-WETH to be inserted in the full range position\",\"_wethAmount\":\"The amount of WETH token to be inserted in the full range position\"},\"returns\":{\"__amountToken\":\"The amount in non-WETH token added to the full range\",\"__amountWeth\":\"The amount in WETH added to the full range\"}},\"isExecutable(uint256)\":{\"params\":{\"_method\":\"The method of the proposal\"},\"returns\":{\"_availableToExecute\":\"True if the proposal is executable\"}},\"lockManager()\":{\"returns\":{\"_lockManager\":\"The lock manager\"}},\"mintLiquidityForFullRange(uint256,uint256)\":{\"params\":{\"_tokenAmount\":\"The amount of non-WETH token to be inserted in the full range position\",\"_wethAmount\":\"The amount of WETH token to be inserted in the full range position\"}},\"poolLiquidity()\":{\"returns\":{\"_poolLiquidity\":\"The pool liquidity\"}},\"poolRewards()\":{\"returns\":{\"tokenPerSeededLiquidity\":\"The value of the reward per non-WETH token locked\",\"wethPerSeededLiquidity\":\"The value of the reward per WETH locked\"}},\"priceOracle()\":{\"returns\":{\"_priceOracle\":\"The price oracle\"}},\"proposeFeeManagerChange(address)\":{\"details\":\"_newFeeManager must be equal to the current fee manager on the pool manager factory and different from the current fee manager\",\"params\":{\"_newFeeManager\":\"The new fee manager to be set up\"}},\"proposeMigrate(address)\":{\"details\":\"_migrationCont