Spoke
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "Spoke"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "Spoke"
ABI
ABI objects
Getter at block 22742298
admin() view returns (address)
0x0000000000000000000000000000000000000000
cctpChannel() view returns (address)
0x0000000000000000000000000000000000000000
chainProtocolReserves() view returns (uint256)
0
endpoint() view returns (address)
0x0000000000000000000000000000000000000000
gateway() view returns (address)
0x0000000000000000000000000000000000000000
hubChainId() view returns (uint16)
0
hubGateway() view returns (address)
0x0000000000000000000000000000000000000000
isActive() view returns (bool)
false
nativeAsset() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
spokeChainId() view returns (uint16)
0
usdcTokenAddress() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
allowedTokens(address) view returns (bool)
State-modifying
Events borrow(uint8 asset, uint8 transport, address assetToken, uint256 borrowAmount, bool usdcMintRequired, uint16 targetChainId, address targetAddress, uint16 cctpTargetChainId, uint256 forwardCost) payable
borrowApproved(struct DataTypesSpokeBorrowForward args)
borrowDeclined(struct DataTypesSpokeDecline args)
initialize(address _gateway, address _hubGateway, address _endpoint, address _cctpChannel, uint16 _hubChainId, uint16 _spokeChainId)
liquidate(uint8 assetType, uint8 transport, address assetToken, uint16 chainId, address borrower, uint256 repayAmount, bool usdcMintRequired, uint256 forwardCost) payable
liquidationApproved(struct DataTypesSpokeLiquidateForward args)
liquidationDeclined(struct DataTypesSpokeDecline args)
pause()
repay(uint256 repayAmount, uint256 forwardCost) payable
repayDeclined(struct DataTypesSpokeDecline args)
repayErc(uint8 assetType, address assetToken, address targetToken, uint16 targetChainId, uint256 repayAmount, uint256 forwardCost) payable
setAllowedToken(address token, bool allowed)
setNativeAssetAddress(address token)
setUsdcTokenAddress(address token)
supply(uint256 depositAmount, uint256 forwardCost) payable
supplyDeclined(struct DataTypesSpokeDecline args)
supplyErc(uint8 assetType, address assetToken, uint256 depositAmount, uint256 forwardCost) payable
unpause()
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw(uint8 asset, uint8 transport, address assetToken, uint256 withdrawAmount, bool usdcMintRequired, uint16 targetChainId, address targetAddress, uint16 cctpTargetChainId, uint256 forwardCost) payable
withdrawalApproved(struct DataTypesSpokeWithdrawalForward args)
withdrawalDeclined(struct DataTypesSpokeDecline args)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
BorrowRequestDeclined(address indexed user, uint256 amount)
Initialized(uint8 version)
LiquidationRequestDeclined(address indexed user, uint256 amount)
Paused(address account)
PikeBorrowActionCompleted(uint16 indexed spokeChainId, uint8 indexed asset, address indexed user, uint256 nonce, uint256 timestamp, address assetToken, bool usdcMintRequired, uint256 borrowAmount)
PikeDepositActionInitiated(uint16 indexed spokeChainId, uint8 indexed asset, address indexed user, uint256 nonce, uint256 timestamp, address assetToken, uint256 amountDeposited)
PikeLiquidationActionCompleted(uint16 indexed spokeChainId, uint8 asset, address indexed liquidator, address indexed user, uint256 nonce, uint256 timestamp, address targetToken, uint256 totalDiscounted, uint256 seizedShare)
PikeRepayActionInitiated(uint16 indexed sourceChainId, uint8 indexed asset, address indexed user, uint256 nonce, uint256 timestamp, uint16 targetChainId, address sourceToken, address targetToken, uint256 repaidAmount)
PikeWithdrawalActionCompleted(uint16 indexed spokeChainId, uint8 indexed asset, address indexed user, uint256 nonce, uint256 timestamp, address assetToken, uint256 withdrawAmount, bool usdcMintRequired)
RepayRequestDeclined(address indexed user, uint256 amount)
SupplyRequestDeclined(address indexed user, uint256 amount)
Unpaused(address account)
Upgraded(address indexed implementation)
WithdrawalRequestDeclined(address indexed user, uint256 amount)
constructor()
receive()
AssetTransferFailed()
CallerNotAuthorized()
InvalidArguments()
InvalidGateway()
ReserveNotEnough()
SpokeNotActive()
SpokeNotFound()
ZeroAddressNotValid()
ZeroValueProvided()