Skip to content

Commit

Permalink
added contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
naveenailawadi committed Feb 13, 2023
1 parent 78bd006 commit 6bffec3
Show file tree
Hide file tree
Showing 945 changed files with 160,709 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ out/
cache/
lcov.info
test/reference/RPC.sol

# environment
.env
21 changes: 21 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/uniswap/v3-periphery"]
path = lib/uniswap/v3-periphery
url = https://github.com/Uniswap/v3-periphery
[submodule "lib/uniswap/v3-core"]
path = lib/uniswap/v3-core
url = https://github.com/Uniswap/v3-core
[submodule "lib/ds-test"]
path = lib/ds-test
url = https://github.com/dapphub/ds-test.git
[submodule "lib/canonical-weth"]
path = lib/canonical-weth
url = https://github.com/gnosis/canonical-weth.git
[submodule "lib/chainlink"]
path = lib/chainlink
url = https://github.com/smartcontractkit/chainlink
1 change: 1 addition & 0 deletions deploy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
forge create --rpc-url %INFURA_GOERLI% --constructor-args 100 0xE592427A0AEce92De3Edee1F18E0157C05861564 --private-key %PRIVATE_KEY% --etherscan-api-key %ETHERSCAN_API_KEY% --verify src/KyotoPay.sol:KyotoPay
15 changes: 15 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']
gas_reports = ["KyotoPay", "Deployer"]
remappings = ["ds-test/=lib/ds-test/src", "@openzeppelin/=lib/openzeppelin-contracts/", "@uniswap=lib/uniswap", "@chainlink=lib/chainlink"]

[rpc_endpoints]
mainnet = "${MAINNET_RPC_URL}"
goerli = "${GOERLI_RPC_URL}"
polygon = "${POLYGON_RPC_URL}"

[etherscan]
mainnet = { key = "${ETHERSCAN_MAINNET_KEY}" }
goerli = { key = "${ETHERSCAN_MAINNET_KEY}", chain = "goerli" }
4 changes: 4 additions & 0 deletions lib/canonical-weth/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
env: { es6: true, node: true },
extends: ["plugin:prettier/recommended"]
};
59 changes: 59 additions & 0 deletions lib/canonical-weth/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

3 changes: 3 additions & 0 deletions lib/canonical-weth/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package.json
package-lock.json
build/
4 changes: 4 additions & 0 deletions lib/canonical-weth/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
node_js:
- "node"
- "8"
Loading

0 comments on commit 6bffec3

Please sign in to comment.