LPTokenProcessorV2

Verified contract

Active on Base with 10 txns
Deployed by via 0x74d9de7c at 2391043
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xabfdf5d0886cfaf208b5b0b9c6cc46f34744dc4e9ededd5632d0d9d525faf065
0x5eeb2063b0731c73a30c0de26369716a25fed5cbc79d1abad39ea1192bb796bf
0xdf5fd42e7cc2784aae58494ea81db25205f10c70fecd869e4cbba382be6b49a1
0x50a1f1ff590d072963fed19720a0b7d9395bb4a12cdf836e6855695c0b4f1ead
0x668bf6b7828c52fe8278fc158061f8ed9efc8a38a7c2c768c866c7c6966b4bcb
0x2a16aee5d99bb699d8e6b3189857240d623bd7b9fb6b3612f282a52d43357226
0xbfcef96907a298cc0a924a74ba92735b77479f48a58d90ba5b27259b71d6640b
0x415081f4635a546a7202319cb6dd1369dcb60f62ba71d71f24c2234c584ce05e
0xb98a321f2f6dc3034b3bf1d729cfa197ebde5d119820204ed87dcebcbe57d8fb
0xd5afbd684420fe5bb80966675f52cd982cefe392bed29cb5ae2b0cbf93adab05

Functions
Getter at block 21862409
BURN_ADDRESS(view returns (address)
0x000000000000000000000000000000000000dead
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
FLOKI(view returns (address)
0x0000000000000000000000000000000000000000
LP_ADMIN_ROLE(view returns (bytes32)
0x53314c6c94ad7090bf88f7cf797a3546615cca0693e09e2de2cb72c9c0136817
burnBasisPoints(view returns (uint256)
2500
feeCollectedLastBlock(view returns (uint256)
3061064
feeToken(view returns (address)
0x4200000000000000000000000000000000000006
flokiBurnedLastBlock(view returns (uint256)
0
 
getTokensForSwapping(view returns (struct ILPTokenProcessorV2TokenSwapInfo[])
priceOracle(view returns (address)
0x35de829e9c29a65fac34341e6c9d1fd0e0790a60
referrerBasisPoints(view returns (uint256)
2500
referrerShareLastBlock(view returns (uint256)
0
requireOraclePrice(view returns (bool)
false
routerForFloki(view returns (address)
0xfb7ef66a7e61224dd6fcd0d7d9c3be5c8b049b9f
slippageBasisPoints(view returns (uint256)
300
treasury(view returns (address)
0x1ef87bbc50cb2c977e89b2e4948bfaad696387dc
wethToUsdV3PoolFee(view returns (uint24)
3000
Read-only
checkUpkeep(bytesview returns (bool upkeepNeededbytes performData)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getRouter(address tokenAddressview returns (address)
getV3Position(address tokenAddressuint256 tokenIdview returns (addressaddressuint128uint24)
hasRole(bytes32 roleaddress accountview returns (bool)
isV2LiquidityPoolToken(address tokenview returns (bool)
isV3LiquidityPoolToken(address tokenAddressuint256 tokenIdview returns (bool)
perTokenSlippage(addressview returns (uint256)
routerByFactory(addressview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
v2Routers(addressview returns (bool)
State-modifying
addRouter(address routerAddressbool isV2
addTokenForSwapping(struct ILPTokenProcessorV2TokenSwapInfo params
adminWithdraw(address tokenAddressuint256 amountaddress destination
clearTokensFromSwapping(
grantRole(bytes32 roleaddress account
performUpkeep(bytes
processTokenSwapping(address token
processTokenSwappingByIndex(uint256 index
removeTokenFromSwapping(address tokenAddress
removeTokensFromSwappingByIndexes(uint256[] indexes
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setFeeToken(address newFeeToken
setPriceOracle(address newOracle
setRequireOraclePrice(bool requires
setSellDelay(uint256 newDelay
setSlippageBasisPoints(uint256 newSlippage
setSlippagePerToken(uint256 slippageaddress token
setWethToUsdV3PoolFee(uint24 newFee
swapTokens(address sourceTokenuint256 sourceAmountaddress destinationTokenaddress receiveraddress routerAddressuint24[] poolFeesreturns (bool)
Events
FeeCollected(uint256 indexed previousBlockaddress indexed vaultuint256 feeAmount
FeeTokenUpdated(address indexed oldFeeTokenaddress indexed newFeeToken
FlokiBurned(uint256 indexed previousBlockaddress indexed vaultuint256 feeAmountuint256 flokiAmount
PriceOracleUpdated(address indexed oldOracleaddress indexed newOracle
ReferrerSharedPaid(uint256 indexed previousBlockaddress indexed vaultaddress referreruint256 feeAmount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SellDelayUpdated(uint256 indexed oldDelayuint256 indexed newDelay
SlippagePerTokenUpdated(uint256 oldSlippageuint256 newSlippageaddress token
SlippageUpdated(uint256 oldSlippageuint256 newSlippage
TokenAdded(address indexed tokenAddress
TokenProcessed(address indexed tokenAddress
TokenRemoved(address indexed tokenAddress
Constructor
constructor(address flokiAddressuint256 sellDelayaddress mainRouterbool isV2Routeraddress feeTokenAddressaddress treasuryAddressaddress priceOracleAddressuint24 v3DefaultPoolFee
Fallback and receive
receive(
Errors
OnlySimulatedBackend(