0 txs
1.06m calls
constructor
constructor(address _factory)
functions
customFee
viewfunction customFee(address) view returns (uint24)
factory
viewfunction factory() view returns (address)
getFee
viewfunction getFee(address pool) view returns (uint24)
MAX_FEE
viewfunction MAX_FEE() view returns (uint256)
ZERO_FEE_INDICATOR
viewfunction ZERO_FEE_INDICATOR() view returns (uint256)
setCustomFee
nonpayablefunction setCustomFee(address pool, uint24 fee)
events
SetCustomFee
event SetCustomFee(address indexed pool, uint24 indexed fee)
errors
No errors.
creation bytecode
0x60a060405234801561001057600080fd5b506040516104383803806104388339818101604052602081101561003357600080fd5b5051606081901b6001600160601b0319166080526001600160a01b03166103c7610071600039806101635280610222528061036f52506103c76000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c806338c55d46146100675780634d419abc14610081578063a89196b6146100bf578063b88c9148146100f2578063bc063e1a14610118578063c45a015514610120575b600080fd5b61006f610144565b60408051918252519081900360200190f35b6100a76004803603602081101561009757600080fd5b50356001600160a01b031661014a565b6040805162ffffff9092168252519081900360200190f35b6100f0600480360360408110156100d557600080fd5b5080356001600160a01b0316906020013562ffffff16610161565b005b6100a76004803603602081101561010857600080fd5b50356001600160a01b031661031b565b61006f610366565b61012861036d565b604080516001600160a01b039092168252519081900360200190f35b6101a481565b60006020819052908152604090205462ffffff1681565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166382e189e06040518163ffffffff1660e01b815260040160206040518083038186803b1580156101ba57600080fd5b505afa1580156101ce573d6000803e3d6000fd5b505050506040513d60208110156101e457600080fd5b50516001600160a01b031633146101fa57600080fd5b6207a1208162ffffff1611158061021757506101a48162ffffff16145b61022057600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e5e31b13836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561028d57600080fd5b505afa1580156102a1573d6000803e3d6000fd5b505050506040513d60208110156102b757600080fd5b50516102c257600080fd5b6001600160a01b038216600081815260208190526040808220805462ffffff191662ffffff861690811790915590519092917fd444e1b10a2a0c61e10ee9f0167820955df343074f16b69614952caef34de21d91a35050565b6001600160a01b03811660009081526020819052604081205462ffffff166101a4811461035c5762ffffff811661035557620186a0610357565b805b61035f565b60005b9392505050565b6207a12081565b7f00000000000000000000000000000000000000000000000000000000000000008156fea2646970667358221220d5aa8c87671a587cdf7043ce2148de935125db79ecf7b3ed676f78d8f2d10c2664736f6c6343000706003300000000000000000000000004625b046c69577efc40e6c0bb83cdbafab5a55f