20 lines
367 B
Solidity
20 lines
367 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.20;
|
|
|
|
interface IAdapterRegistry {
|
|
enum AdapterType {
|
|
DEFI,
|
|
FIAT_DTL
|
|
}
|
|
|
|
struct AdapterInfo {
|
|
string name;
|
|
AdapterType adapterType;
|
|
uint256 registeredAt;
|
|
bool whitelisted;
|
|
}
|
|
|
|
function isWhitelisted(address adapter) external view returns (bool);
|
|
}
|
|
|