File tree Expand file tree Collapse file tree 3 files changed +64
-1
lines changed Expand file tree Collapse file tree 3 files changed +64
-1
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ Copyright 2021 Set Labs Inc.
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+
16
+ SPDX-License-Identifier: Apache License, Version 2.0
17
+ */
18
+
19
+ pragma solidity 0.6.10 ;
20
+
21
+ /**
22
+ * @title LendingPoolAddressProviderMock
23
+ * @author Set Protocol
24
+ * @notice Mock contract for Aave's LendingPoolAddressProvider
25
+ */
26
+ contract LendingPoolAddressProviderMock {
27
+ function getLendingPool () external pure returns (address ) {
28
+ return address (0 );
29
+ }
30
+ }
Original file line number Diff line number Diff line change
1
+ /*
2
+ Copyright 2021 Set Labs Inc.
3
+
4
+ Licensed under the Apache License, Version 2.0 (the "License");
5
+ you may not use this file except in compliance with the License.
6
+ You may obtain a copy of the License at
7
+
8
+ http://www.apache.org/licenses/LICENSE-2.0
9
+
10
+ Unless required by applicable law or agreed to in writing, software
11
+ distributed under the License is distributed on an "AS IS" BASIS,
12
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ See the License for the specific language governing permissions and
14
+ limitations under the License.
15
+
16
+ SPDX-License-Identifier: Apache License, Version 2.0
17
+ */
18
+
19
+ pragma solidity 0.6.10 ;
20
+ pragma experimental ABIEncoderV2;
21
+
22
+ import "../../interfaces/external/aave-v2/IProtocolDataProvider.sol " ;
23
+
24
+ /**
25
+ * @title ProtocolDataProviderMock
26
+ * @author Set Protocol
27
+ * @notice Mock contract for Aave's ProtocolDataProvider
28
+ */
29
+ contract ProtocolDataProviderMock {
30
+ function getAllReservesTokens () external pure returns (IProtocolDataProvider.TokenData[] memory ) {
31
+ return new IProtocolDataProvider.TokenData [](0 );
32
+ }
33
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @setprotocol/set-protocol-v2" ,
3
- "version" : " 0.0.49 " ,
3
+ "version" : " 0.0.50 " ,
4
4
"description" : " " ,
5
5
"main" : " dist" ,
6
6
"types" : " dist/types" ,
You can’t perform that action at this time.
0 commit comments