HubPool

Verified contract

Proxy

Active on Ethereum with 115 txns
Deployed by via 0x1cd9b698 at 14704308
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
Native
Value $1,078.02
ERC-20
Value $586.98
ERC-20
Value $184.97
ERC-20
Value $10.02
ERC-20
Value $6.37
0xbcb6cc03574e4a0ea3825e4b9d7eb6c88ca076245034e7ca3dc974f0e8696735
0xc40bf978e1d512af560ffe62489246354bf1763ea8bdd69007ba0a848057aa0c
0x1e56d3c886c9c22e57839d0238cd2cbc423a10e3f599d05fb1d7e66938228835
0x0a69d82ccc13504e339ee1fded61ce7c1ae949b16ce7e3408e5f261c56c19d15
0x4d9b3fd0660e2d7f29b6e697ae4bf299b19de862b5750733d2cce808ede05ac9
0xbe14586084bb9033e1a2c24f2a5ea8d69c1471afe8b2da45e202c50c81ee9a4b
0x7c7905719cbbaf218199f4bad6c939a8b963a3bdf42bfe32ab2ebdd1bc414f6f
0xa1b41d4ba9c957e84a0cd21f5c69fc8c8e242f0c397fc220b0e452453f558c44
0x0ec03174eccc8d1e3bcc14f4e0bacdf8c7eb65e2167cf50cff057a3718758230
0x52c104d68e68aa34743063b66035f00738f2b1dcb2639d4b501da6759a60105d

Functions
Getter at block 21217237
bondAmount(view returns (uint256)
351000000000000000
bondToken(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
finder(view returns (address)
0x40f941e48a552bf496b154af6bf55725f18d77c3
getCurrentTime(view returns (uint256)
1731964643
identifier(view returns (bytes32)
0x49535f4143524f53535f56325f42554e444c455f56414c494400000000000000
liveness(view returns (uint32)
7200
lpFeeRatePerSecond(view returns (uint256)
1500000000000
lpTokenFactory(view returns (address)
0x7db69eb9f52ed773e9b03f5068a1ea0275b2fd9d
owner(view returns (address)
0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d
paused(view returns (bool)
false
protocolFeeCaptureAddress(view returns (address)
0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d
protocolFeeCapturePct(view returns (uint256)
0
rootBundleProposal(view returns (bytes32 poolRebalanceRootbytes32 relayerRefundRootbytes32 slowRelayRootuint256 claimedBitMapaddress proposeruint8 unclaimedPoolRebalanceLeafCountuint32 challengePeriodEndTimestamp)
(poolRebalanceRoot=0x9f9bd18cd3035659d9aabc9d76b43180529a755a390a35c592385aa3cc02ebed, relayerRefundRoot=0xa87882a6af816161e4cc9270ba272fdbaa61acd7eb42132cc88404861ad69054, slowRelayRoot=0x78cf6f236411d2fb66e2f8c0b55cf442eaf7ec889e8928b6e4b02833a8795695, claimedBitMap=3, proposer=0x9a8f92a830a5cb89a3816e3d267cb7791c16b04d, unclaimedPoolRebalanceLeafCount=0, challengePeriodEndTimestamp=1653698544)
timerAddress(view returns (address)
0x0000000000000000000000000000000000000000
weth(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
dai(view returns (address)
[unknown]
daiOptimismBridge(view returns (address)
[unknown]
l1StandardBridge(view returns (address)
[unknown]
l1Weth(view returns (address)
[unknown]
l2GasLimit(view returns (uint32)
[unknown]
messenger(view returns (address)
[unknown]
snx(view returns (address)
[unknown]
snxOptimismBridge(view returns (address)
[unknown]
Read-only
crossChainContracts(uint256view returns (address adapteraddress spokePool)
poolRebalanceRoute(uint256 destinationChainIdaddress l1Tokenview returns (address destinationToken)
pooledTokens(addressview returns (address lpTokenbool isEnableduint32 lastLpFeeUpdateint256 utilizedReservesuint256 liquidReservesuint256 undistributedLpFees)
unclaimedAccumulatedProtocolFees(addressview returns (uint256)
State-modifying
addLiquidity(address l1Tokenuint256 l1TokenAmountpayable 
claimProtocolFeesCaptured(address l1Token
disableL1TokenForLiquidityProvision(address l1Token
disputeRootBundle(
emergencyDeleteProposal(
enableL1TokenForLiquidityProvision(address l1Token
exchangeRateCurrent(address l1Tokenreturns (uint256)
executeRootBundle(uint256 chainIduint256 groupIndexuint256[] bundleLpFeesint256[] netSendAmountsint256[] runningBalancesuint8 leafIdaddress[] l1Tokensbytes32[] proof
liquidityUtilizationCurrent(address l1Tokenreturns (uint256)
liquidityUtilizationPostRelay(address l1Tokenuint256 relayedAmountreturns (uint256)
loadEthForL2Calls(payable 
multicall(bytes[] datapayable returns (bytes[] results)
proposeRootBundle(uint256[] bundleEvaluationBlockNumbersuint8 poolRebalanceLeafCountbytes32 poolRebalanceRootbytes32 relayerRefundRootbytes32 slowRelayRoot
relaySpokePoolAdminFunction(uint256 chainIdbytes functionData
removeLiquidity(address l1Tokenuint256 lpTokenAmountbool sendEth
renounceOwnership(
setBond(address newBondTokenuint256 newBondAmount
setCrossChainContracts(uint256 l2ChainIdaddress adapteraddress spokePool
setCurrentTime(uint256 time
setDepositRoute(uint256 originChainIduint256 destinationChainIdaddress originTokenbool depositsEnabled
setIdentifier(bytes32 newIdentifier
setLiveness(uint32 newLiveness
setPaused(bool pause
setPoolRebalanceRoute(uint256 destinationChainIdaddress l1Tokenaddress destinationToken
setProtocolFeeCapture(address newProtocolFeeCaptureAddressuint256 newProtocolFeeCapturePct
sync(address l1Token
transferOwnership(address newOwner
relayMessage(address targetbytes messagepayable 
relayTokens(address l1Tokenaddress l2Tokenuint256 amountaddress topayable 
Events
BondSet(address indexed newBondTokenuint256 newBondAmount
CrossChainContractsSet(uint256 l2ChainIdaddress adapteraddress spokePool
EmergencyRootBundleDeleted(bytes32 indexed poolRebalanceRootbytes32 indexed relayerRefundRootbytes32 slowRelayRootaddress indexed proposer
IdentifierSet(bytes32 newIdentifier
L1TokenEnabledForLiquidityProvision(address l1Tokenaddress lpToken
L2TokenDisabledForLiquidityProvision(address l1Tokenaddress lpToken
LiquidityAdded(address indexed l1Tokenuint256 amountuint256 lpTokensMintedaddress indexed liquidityProvider
LiquidityRemoved(address indexed l1Tokenuint256 amountuint256 lpTokensBurntaddress indexed liquidityProvider
LivenessSet(uint256 newLiveness
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(bool indexed isPaused
ProposeRootBundle(uint32 challengePeriodEndTimestampuint8 poolRebalanceLeafCountuint256[] bundleEvaluationBlockNumbersbytes32 indexed poolRebalanceRootbytes32 indexed relayerRefundRootbytes32 slowRelayRootaddress indexed proposer
ProtocolFeeCaptureSet(address indexed newProtocolFeeCaptureAddressuint256 indexed newProtocolFeeCapturePct
ProtocolFeesCapturedClaimed(address indexed l1Tokenuint256 indexed accumulatedFees
RootBundleCanceled(address indexed disputeruint256 requestTime
RootBundleDisputed(address indexed disputeruint256 requestTime
RootBundleExecuted(uint256 groupIndexuint256 indexed leafIduint256 indexed chainIdaddress[] l1Tokensuint256[] bundleLpFeesint256[] netSendAmountsint256[] runningBalancesaddress indexed caller
SetEnableDepositRoute(uint256 indexed originChainIduint256 indexed destinationChainIdaddress indexed originTokenbool depositsEnabled
SetPoolRebalanceRoute(uint256 indexed destinationChainIdaddress indexed l1Tokenaddress indexed destinationToken
SpokePoolAdminFunctionTriggered(uint256 indexed chainIdbytes message
MessageRelayed(address targetbytes message
TokensRelayed(address l1Tokenaddress l2Tokenuint256 amountaddress to
Constructor
constructor(address _lpTokenFactoryaddress _finderaddress _wethaddress _timer
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.