Spoke

Verified contract

Active on Ethereum with 17 txns
Deployed by via 0xba6314d1 at 21031848
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
ERC-20
Value $0
0x0ea87b4f46aa5c1023e5cdb03cda83765be42da34ce4fd38aa603b2ba89b4057
0x314ccfb65e457db9b22a1a627ad2ed7bcd616a2a8e7444f1ad71196b1ee28aff
0x76c85ae4a9c3e20f7af973d72d7d53b048d6b32ade6e860e8a30c1a84caf0930
0x22e92bc503311b749dc234aa344125c37d0fbe95f3ec65eb96ab67b8c1f2188b
0x891da79870239e74e64fa2d772639ee37fa1ec945364988cefd5a15127b5010e
0x17133739624fa59b0d51fc5e93b0e61a9520cdfed14069c7f09c8a38bc9a2aaa
0x361d0d8101daef39b5efd45074af526b589edb43a3695c9d55ee4e71178f2079
0x3707ec62ac028ad15731618889b8cfc7634b5570a4f73b5d6944980a553fba9c
0x14f8151b4337818786a615be8e030e86dd8607246209be364dbc90d5076907ab
0x9056d3542188e36e363b6449ff5d38f33bcfa1f9cc001f6bfb879670e4857d06

Functions
Getter at block 21093168
chainName(view returns (string chainName_)
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Spoke, version=1, chainId=1, verifyingContract=0x817d1a328c1ac1ab88f7fcf8dd6015ad1cfacccc, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
feeCollector(view returns (address)
0xc507c32c06f9672674c8f31dee90060fbe23f8cd
gasService(view returns (address)
0x2d5d7d31f671f86c782533cc367f14109a082712
gateway(view returns (address)
0x4f4495243837681061c4743b74b3eedf548d56a5
hubAddress(view returns (string)
0xDDddDDc9e866a21D66095c672Db8D7Cb5B376B45
hubChainName(view returns (string)
Fantom
permit2(view returns (address)
0x000000000022d473030f116ddee9f6b43ac78ba3
squidMulticall(view returns (address)
0xad6cea45f98444a922a2b4fe96b8c90f0862d2f4
Read-only
isTrustedAddress(string chainstring address_view returns (bool)
orderHashToStatus(bytes32view returns (uint8)
settlementToStatus(bytes32view returns (uint8)
tokenToCollectedFees(addressview returns (uint256)
trustedAddress(string chainview returns (string trustedAddress_)
trustedAddressHash(string chainview returns (bytes32 trustedAddressHash_)
State-modifying
batchFillOrder(struct ISpokeOrder[] ordersstruct ISquidMulticallCall[][] callspayable 
batchMultiTokenSingleChainSettlements(struct ISpokeOrder[] ordersaddress[] fromTokensaddress fillerpayable 
batchSingleChainSettlements(struct ISpokeOrder[] ordersaddress fromTokenaddress fillerpayable 
collectFees(address[] tokens
createOrder(struct ISpokeOrder orderpayable 
execute(bytes32 commandIdstring sourceChainstring sourceAddressbytes payload
executeWithToken(bytes32 commandIdstring sourceChainstring sourceAddressbytes payloadstring tokenSymboluint256 amount
fillOrder(struct ISpokeOrder orderstruct ISquidMulticallCall[] callspayable 
fillSingleChainAtomic(struct ISpokeOrder orderstruct ISquidMulticallCall[] callsbytes signaturepayable 
forwardSettlements(bytes32[] orderHashespayable 
initialize(address _axelarGatewayaddress _axelarGasServiceaddress _permit2address _squidMulticalladdress _feeCollectorstring _hubChainNamestring _hubAddress
refundOrder(struct ISpokeOrder order
sponsorOrder(struct ISpokeOrder orderbytes signature
sponsorOrderUsingPermit2(struct ISpokeOrder orderstruct ISignatureTransferPermitTransferFrom permitbytes signature
Events
EIP712DomainChanged(
FeesCollected(address indexed feeCollectoraddress indexed tokenuint256 indexed amount
Initialized(uint64 version
OrderCreated(bytes32 indexed orderHashstruct ISpokeOrder order
OrderFilled(bytes32 indexed orderHashstruct ISpokeOrder order
OrderRefunded(bytes32 indexed orderHash
SettlementForwarded(bytes32 indexed orderHash
SpokeInitialized(address indexed gatewayaddress indexed gasServiceaddress indexed permit2address squidMulticalladdress feeCollectorstring hubChainNamestring hubAddress
TokensReleased(bytes32 indexed orderHash
TrustedAddressRemoved(string chain
TrustedAddressSet(string chainstring address_
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AddressEmptyCode(address target
AddressInsufficientBalance(address account
FailedInnerCall(
GasRequired(
InvalidAddress(
InvalidAmount(
InvalidArrayLength(
InvalidCaller(
InvalidDestinationChain(
InvalidFillType(
InvalidInitialization(
InvalidNativeAmount(
InvalidPostHookProvided(
InvalidSettlementFiller(
InvalidSettlementSourceToken(
InvalidShortString(
InvalidSourceChain(
InvalidTotalNativeAmount(
InvalidUserSignature(
LengthMismatch(
NativeTokensNotAllowed(
NotApprovedByGateway(
NotInitializing(
OnlyFeeCollector(
OnlyFillerCanSettle(
OnlyTrustedAddress(
OrderAlreadyExists(
OrderAlreadySettled(
OrderExpired(
OrderNotExpired(
OrderNotSettled(
OrderStateNotCreated(
ReentrancyGuardReentrantCall(
SafeERC20FailedOperation(address token
StringTooLong(string str
UnexpectedNativeToken(
UntrustedChain(
ZeroAddress(
ZeroStringLength(