File tree Expand file tree Collapse file tree 12 files changed +10890
-0
lines changed Expand file tree Collapse file tree 12 files changed +10890
-0
lines changed Original file line number Diff line number Diff line change
1
+ .encryptedKey.json
2
+ # vscode
3
+ .vscode
4
+ typechain-types
5
+
6
+ # hardhat
7
+ artifacts
8
+ cache
9
+ deployments
10
+ node_modules
11
+ coverage
12
+ coverage.json
13
+ typechain
14
+
15
+ # don't push the environment vars!
16
+ .env
17
+
18
+ # Built application files
19
+ .DS *
20
+ * .apk
21
+ * .ap_
22
+ * .aab
23
+
24
+ # Files for the ART/Dalvik VM
25
+ * .dex
26
+
27
+ # Java class files
28
+ * .class
29
+
30
+ # Generated files
31
+ bin /
32
+ gen /
33
+ out /
34
+ # Uncomment the following line in case you need and you don't have the release build type files in your app
35
+ # release/
36
+
37
+ # Gradle files
38
+ .gradle /
39
+ build /
40
+
41
+ # Local configuration file (sdk path, etc)
42
+ local.properties
43
+
44
+ # Proguard folder generated by Eclipse
45
+ proguard /
46
+
47
+ # Log Files
48
+ * .log
49
+
50
+ # Android Studio Navigation editor temp files
51
+ .navigation /
52
+
53
+ # Android Studio captures folder
54
+ captures /
55
+
56
+ # IntelliJ
57
+ * .iml
58
+ .idea /workspace.xml
59
+ .idea /tasks.xml
60
+ .idea /gradle.xml
61
+ .idea /assetWizardSettings.xml
62
+ .idea /dictionaries
63
+ .idea /libraries
64
+ # Android Studio 3 in .gitignore file.
65
+ .idea /caches
66
+ .idea /modules.xml
67
+ # Comment next line if keeping position of elements in Navigation Editor is relevant for you
68
+ .idea /navEditor.xml
69
+
70
+ # Keystore files
71
+ # Uncomment the following lines if you do not want to check your keystore files in.
72
+ # *.jks
73
+ # *.keystore
74
+
75
+ # External native build folder generated in Android Studio 2.2 and later
76
+ .externalNativeBuild
77
+
78
+ # Google Services (e.g. APIs or Firebase)
79
+ # google-services.json
80
+
81
+ # Freeline
82
+ freeline.py
83
+ freeline /
84
+ freeline_project_description.json
85
+
86
+ # fastlane
87
+ fastlane /report.xml
88
+ fastlane /Preview.html
89
+ fastlane /screenshots
90
+ fastlane /test_output
91
+ fastlane /readme.md
92
+
93
+ # Version control
94
+ vcs.xml
95
+
96
+ # lint
97
+ lint /intermediates /
98
+ lint /generated /
99
+ lint /outputs /
100
+ lint /tmp /
101
+ # lint/reports/
102
+
103
+ gas-report.txt
Original file line number Diff line number Diff line change
1
+ node_modules
2
+ package.json
3
+ img
4
+ artifacts
5
+ cache
6
+ coverage
7
+ .env
8
+ . *
9
+ README.md
10
+ coverage.json
Original file line number Diff line number Diff line change
1
+ {
2
+ "tabWidth": 2,
3
+ "useTabs": false,
4
+ "semi": false,
5
+ "singleQuote": false
6
+ }
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: MIT
2
+ pragma solidity ^ 0.4.19 ;
3
+
4
+ interface IWeth {
5
+ function allowance (
6
+ address owner ,
7
+ address spender
8
+ ) external view returns (uint256 remaining );
9
+
10
+ function approve (
11
+ address spender ,
12
+ uint256 value
13
+ ) external returns (bool success );
14
+
15
+ function balanceOf (address owner ) external view returns (uint256 balance );
16
+
17
+ function decimals () external view returns (uint8 decimalPlaces );
18
+
19
+ function name () external view returns (string memory tokenName );
20
+
21
+ function symbol () external view returns (string memory tokenSymbol );
22
+
23
+ function totalSupply () external view returns (uint256 totalTokensIssued );
24
+
25
+ function transfer (address to , uint256 value ) external returns (bool success );
26
+
27
+ function transferFrom (
28
+ address from ,
29
+ address to ,
30
+ uint256 value
31
+ ) external returns (bool success );
32
+
33
+ function deposit () external payable ;
34
+
35
+ function withdraw (uint256 wad ) external ;
36
+ }
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: MIT
2
+ pragma solidity ^ 0.6.0 ;
3
+
4
+ interface AggregatorV3Interface {
5
+ function decimals () external view returns (uint8 );
6
+
7
+ function description () external view returns (string memory );
8
+
9
+ function version () external view returns (uint256 );
10
+
11
+ // getRoundData and latestRoundData should both raise "No data present"
12
+ // if they do not have data to report, instead of returning unset values
13
+ // which could be misinterpreted as actual reported values.
14
+ function getRoundData (
15
+ uint80 _roundId
16
+ )
17
+ external
18
+ view
19
+ returns (
20
+ uint80 roundId ,
21
+ int256 answer ,
22
+ uint256 startedAt ,
23
+ uint256 updatedAt ,
24
+ uint80 answeredInRound
25
+ );
26
+
27
+ function latestRoundData ()
28
+ external
29
+ view
30
+ returns (
31
+ uint80 roundId ,
32
+ int256 answer ,
33
+ uint256 startedAt ,
34
+ uint256 updatedAt ,
35
+ uint80 answeredInRound
36
+ );
37
+ }
38
+
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: MIT
2
+ pragma solidity ^ 0.6.6 ;
3
+
4
+ interface IERC20 {
5
+ function allowance (
6
+ address owner ,
7
+ address spender
8
+ ) external view returns (uint256 remaining );
9
+
10
+ function approve (
11
+ address spender ,
12
+ uint256 value
13
+ ) external returns (bool success );
14
+
15
+ function balanceOf (address owner ) external view returns (uint256 balance );
16
+
17
+ function decimals () external view returns (uint8 decimalPlaces );
18
+
19
+ function decreaseApproval (
20
+ address spender ,
21
+ uint256 subtractedValue
22
+ ) external returns (bool success );
23
+
24
+ function increaseApproval (
25
+ address spender ,
26
+ uint256 addedValue
27
+ ) external returns (bool success );
28
+
29
+ function name () external view returns (string memory tokenName );
30
+
31
+ function symbol () external view returns (string memory tokenSymbol );
32
+
33
+ function totalSupply () external view returns (uint256 totalTokensIssued );
34
+
35
+ function transfer (address to , uint256 value ) external returns (bool success );
36
+
37
+ function transferFrom (
38
+ address from ,
39
+ address to ,
40
+ uint256 value
41
+ ) external returns (bool success );
42
+ }
You can’t perform that action at this time.
0 commit comments