forked from bgd-labs/aave-delivery-infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGnosisChainAdapter.sol
35 lines (32 loc) · 1.12 KB
/
GnosisChainAdapter.sol
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
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.8;
import {TestNetChainIds} from './TestNetChainIds.sol';
import {GnosisChainAdapter} from '../../src/contracts/adapters/gnosisChain/GnosisChainAdapter.sol';
import {BaseAdapter, IBaseAdapter} from '../../src/contracts/adapters/BaseAdapter.sol';
/**
* @title GnosisChainAdapterTestnet
* @author BGD Labs
*/
contract GnosisChainAdapterTestnet is GnosisChainAdapter {
/**
* @param crossChainController address of the cross chain controller that will use this bridge adapter
* @param arbitraryMessageBridge The Gnosis AMB contract
* @param trustedRemotes list of remote configurations to set as trusted
*/
constructor(
address crossChainController,
address arbitraryMessageBridge,
uint256 providerGasLimit,
TrustedRemotesConfig[] memory trustedRemotes
)
GnosisChainAdapter(
crossChainController,
arbitraryMessageBridge,
providerGasLimit,
trustedRemotes
)
{}
function isDestinationChainIdSupported(uint256 chainId) public pure override returns (bool) {
return chainId == TestNetChainIds.GNOSIS_CHIADO;
}
}