Skip to content

Commit

Permalink
Merge pull request sushi-labs#30 from matthewlilley/deployments
Browse files Browse the repository at this point in the history
Deployments
  • Loading branch information
matthewlilley authored Feb 18, 2021
2 parents d487cc7 + b9625b3 commit 64b7581
Show file tree
Hide file tree
Showing 106 changed files with 27,375 additions and 1,771 deletions.
15 changes: 8 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
ALCHEMY_API_KEY=
ETHERSCAN_API_KEY=
COINMARKETCAP_API_KEY=
TENDERLY_PROJECT=
TENDERLY_USERNAME=
REPORT_GAS=
INFURA_API_KEY=
PRIVATE_KEY=
ETHERSCAN_API_KEY=
FORKING=false
HARDHAT_NETWORK=hardhat
HARDHAT_MAX_MEMORY=4096
HARDHAT_SHOW_STACK_TRACES=true
HARDHAT_VERBOSE=true
HARDHAT_VERBOSE=true
INFURA_API_KEY=
MNEMONIC="test test test test test test test test test test test junk"
REPORT_GAS=false
TENDERLY_PROJECT=
TENDERLY_USERNAME=
37 changes: 37 additions & 0 deletions .github/workflows/sushiswap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# workflow pipeline
name: sushiswap

on: ["push", "pull_request"]

jobs:
build:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node: ["14.x", "12.x"]
os: ["ubuntu-latest"]

steps:
- uses: actions/checkout@v2
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}

- name: Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
check-latest: true

- name: Install and Compile
run: |
yarn install
yarn build
- name: Test and Coverage
run: |
yarn test
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
abi/
artifacts/
build/
cache/
coverage/
deployments/
exports/
node_modules/
types/
package-lock.json
.coverage_artifacts/
.coverage_contracts/
coverage/
coverage.json
.env
.env
.DS_Store
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.15.1
lts/erbium
9 changes: 0 additions & 9 deletions .solcover.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,4 @@
module.exports = {
norpc: true,
testCommand: "npm test",
compileCommand: "npm run compile",
skipFiles: ["mocks/", "interfaces/", "uniswapv2/"],
providerOptions: {
default_balance_ether: "10000000000000000000000000",
},
mocha: {
fgrep: "[skip-on-coverage]",
invert: true,
},
}
3 changes: 3 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "solhint:default"
}
6 changes: 3 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.formatOnSave": true,
"editor.formatOnSave": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll": true
Expand All @@ -15,5 +15,5 @@
"solidity.validationDelay": 1500,
"solidity.packageDefaultDependenciesDirectory": "node_modules",
"solidity-va.deco.statevars": true,
"solidity-va.preview.markdown": false,
}
"solidity-va.preview.markdown": false
}
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,16 @@ https://sushiswap.fi.

## Deployed Contracts

- SushiToken - https://etherscan.io/token/0x6b3595068778dd592e39a122f4f5a5cf09c90fe2
- MasterChef - https://etherscan.io/address/0xc2edad668740f1aa35e4d8f227fb8e17dca888cd
- Timelock - https://etherscan.io/address/0x9a8541ddf3a932a9a922b607e9cf7301f1d47bd1
- (Uni|Sushi)swapV2Factory - https://etherscan.io/address/0xc0aee478e3658e2610c5f7a4a2e1777ce9e4f2ac
- (Uni|Sushi)swapV2Router02 - https://etherscan.io/address/0xd9e1ce17f2641f24ae83637ab66a2cca9c378b9f
- (Uni|Sushi)swapV2Pair init code hash - `e18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303`
- SushiBar - https://etherscan.io/address/0x8798249c2e607446efb7ad49ec89dd1865ff4272
- SushiMaker - https://etherscan.io/address/0xe11fc0b43ab98eb91e9836129d1ee7c3bc95df50
- SushiRoll - https://etherscan.io/address/0x16E58463eb9792Bc236d8860F5BC69A81E26E32B
https://dev.sushiswap.fi/sushiswap/contracts

## Docs

[Development](docs/DEVELOPMENT.md)

[Deployment](docs/DEPLOYMENT.md)

[History](docs/HISTORY.md)

## License

MIT
MIT
Loading

0 comments on commit 64b7581

Please sign in to comment.