Spoke

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x5ae56d68 at 13687424
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "Spoke"

No transactions found for "Spoke"


Functions
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(addressview returns (bool)
State-modifying
borrow(uint8 assetuint8 transportaddress assetTokenuint256 borrowAmountbool usdcMintRequireduint16 targetChainIdaddress targetAddressuint16 cctpTargetChainIduint256 forwardCostpayable 
borrowApproved(struct DataTypesSpokeBorrowForward args
borrowDeclined(struct DataTypesSpokeDecline args
initialize(address _gatewayaddress _hubGatewayaddress _endpointaddress _cctpChanneluint16 _hubChainIduint16 _spokeChainId
liquidate(uint8 assetTypeuint8 transportaddress assetTokenuint16 chainIdaddress borroweruint256 repayAmountbool usdcMintRequireduint256 forwardCostpayable 
liquidationApproved(struct DataTypesSpokeLiquidateForward args
liquidationDeclined(struct DataTypesSpokeDecline args
pause(
repay(uint256 repayAmountuint256 forwardCostpayable 
repayDeclined(struct DataTypesSpokeDecline args
repayErc(uint8 assetTypeaddress assetTokenaddress targetTokenuint16 targetChainIduint256 repayAmountuint256 forwardCostpayable 
setAllowedToken(address tokenbool allowed
setNativeAssetAddress(address token
setUsdcTokenAddress(address token
supply(uint256 depositAmountuint256 forwardCostpayable 
supplyDeclined(struct DataTypesSpokeDecline args
supplyErc(uint8 assetTypeaddress assetTokenuint256 depositAmountuint256 forwardCostpayable 
unpause(
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(uint8 assetuint8 transportaddress assetTokenuint256 withdrawAmountbool usdcMintRequireduint16 targetChainIdaddress targetAddressuint16 cctpTargetChainIduint256 forwardCostpayable 
withdrawalApproved(struct DataTypesSpokeWithdrawalForward args
withdrawalDeclined(struct DataTypesSpokeDecline args
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
BorrowRequestDeclined(address indexed useruint256 amount
Initialized(uint8 version
LiquidationRequestDeclined(address indexed useruint256 amount
Paused(address account
PikeBorrowActionCompleted(uint16 indexed spokeChainIduint8 indexed assetaddress indexed useruint256 nonceuint256 timestampaddress assetTokenbool usdcMintRequireduint256 borrowAmount
PikeDepositActionInitiated(uint16 indexed spokeChainIduint8 indexed assetaddress indexed useruint256 nonceuint256 timestampaddress assetTokenuint256 amountDeposited
PikeLiquidationActionCompleted(uint16 indexed spokeChainIduint8 assetaddress indexed liquidatoraddress indexed useruint256 nonceuint256 timestampaddress targetTokenuint256 totalDiscounteduint256 seizedShare
PikeRepayActionInitiated(uint16 indexed sourceChainIduint8 indexed assetaddress indexed useruint256 nonceuint256 timestampuint16 targetChainIdaddress sourceTokenaddress targetTokenuint256 repaidAmount
PikeWithdrawalActionCompleted(uint16 indexed spokeChainIduint8 indexed assetaddress indexed useruint256 nonceuint256 timestampaddress assetTokenuint256 withdrawAmountbool usdcMintRequired
RepayRequestDeclined(address indexed useruint256 amount
SupplyRequestDeclined(address indexed useruint256 amount
Unpaused(address account
Upgraded(address indexed implementation
WithdrawalRequestDeclined(address indexed useruint256 amount
Constructor
constructor(
Fallback and receive
receive(
Errors
AssetTransferFailed(
CallerNotAuthorized(
InvalidArguments(
InvalidGateway(
ReserveNotEnough(
SpokeNotActive(
SpokeNotFound(
ZeroAddressNotValid(
ZeroValueProvided(