125 lines
3.0 KiB
JSON
125 lines
3.0 KiB
JSON
{
|
|
"compiler": {
|
|
"version": "0.8.26+commit.8a97fa7a"
|
|
},
|
|
"language": "Solidity",
|
|
"output": {
|
|
"abi": [
|
|
{
|
|
"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": [
|
|
{
|
|
"internalType": "uint8",
|
|
"name": "feeProtocol0",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"internalType": "uint8",
|
|
"name": "feeProtocol1",
|
|
"type": "uint8"
|
|
}
|
|
],
|
|
"name": "setFeeProtocol",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}
|
|
],
|
|
"devdoc": {
|
|
"kind": "dev",
|
|
"methods": {
|
|
"collectProtocol(address,uint128,uint128)": {
|
|
"params": {
|
|
"amount0Requested": "The maximum amount of token0 to send, can be 0 to collect fees in only token1",
|
|
"amount1Requested": "The maximum amount of token1 to send, can be 0 to collect fees in only token0",
|
|
"recipient": "The address to which collected protocol fees should be sent"
|
|
},
|
|
"returns": {
|
|
"amount0": "The protocol fee collected in token0",
|
|
"amount1": "The protocol fee collected in token1"
|
|
}
|
|
},
|
|
"setFeeProtocol(uint8,uint8)": {
|
|
"params": {
|
|
"feeProtocol0": "new protocol fee for token0 of the pool",
|
|
"feeProtocol1": "new protocol fee for token1 of the pool"
|
|
}
|
|
}
|
|
},
|
|
"title": "Permissioned pool actions",
|
|
"version": 1
|
|
},
|
|
"userdoc": {
|
|
"kind": "user",
|
|
"methods": {
|
|
"collectProtocol(address,uint128,uint128)": {
|
|
"notice": "Collect the protocol fee accrued to the pool"
|
|
},
|
|
"setFeeProtocol(uint8,uint8)": {
|
|
"notice": "Set the denominator of the protocol's % share of the fees"
|
|
}
|
|
},
|
|
"notice": "Contains pool methods that may only be called by the factory owner",
|
|
"version": 1
|
|
}
|
|
},
|
|
"settings": {
|
|
"compilationTarget": {
|
|
"contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol": "IUniswapV3PoolOwnerActions"
|
|
},
|
|
"evmVersion": "cancun",
|
|
"libraries": {},
|
|
"metadata": {
|
|
"bytecodeHash": "ipfs"
|
|
},
|
|
"optimizer": {
|
|
"enabled": false,
|
|
"runs": 200
|
|
},
|
|
"remappings": []
|
|
},
|
|
"sources": {
|
|
"contracts/interfaces/pool/IUniswapV3PoolOwnerActions.sol": {
|
|
"keccak256": "0x9e84507ff95f4247bfc737381f628ae84b78b3c9d6717fd2abec778690a18504",
|
|
"license": "GPL-2.0-or-later",
|
|
"urls": [
|
|
"bzz-raw://19f0d36a524a4d551865a2598ae2a7620e5b916fd781c8e08bbc880606c0abe4",
|
|
"dweb:/ipfs/QmNqaGVukhKWDJLoBT8HyFtoJLUYuhh4LAvCTYxcXs1r34"
|
|
]
|
|
}
|
|
},
|
|
"version": 1
|
|
} |