-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIRoute.sol
More file actions
43 lines (39 loc) · 829 Bytes
/
IRoute.sol
File metadata and controls
43 lines (39 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// SPDX-License-Identifier: LGPL-3.0-only
pragma solidity 0.8.28;
interface IRoute {
// Note, only extend enums at the end to maintain backward compatibility.
enum Domain {
ETHEREUM,
AVALANCHE,
OP_MAINNET,
ARBITRUM_ONE,
BASE,
POLYGON_MAINNET,
ETHEREUM_SEPOLIA,
AVALANCHE_FUJI,
OP_SEPOLIA,
ARBITRUM_SEPOLIA,
BASE_SEPOLIA,
POLYGON_AMOY,
UNICHAIN,
BSC,
LINEA
}
enum Provider {
LOCAL,
CCTP,
ACROSS,
STARGATE,
EVERCLEAR,
SUPERCHAIN_STANDARD_BRIDGE,
ARBITRUM_GATEWAY
}
enum PoolType {
ASSETS,
ALL
}
error ZeroAddress();
error ProcessFailed();
error UnsupportedDomain();
error InvalidLength();
}