Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
255 commits
Select commit Hold shift + click to select a range
888d6c7
fix bugs
haydenadams Sep 20, 2019
1acb47a
simplify contract
haydenadams Sep 20, 2019
5b47da1
fixes
haydenadams Sep 24, 2019
b3926aa
refactor
haydenadams Sep 25, 2019
6aeed89
fix bug
danrobinson Sep 26, 2019
c611ebc
contracts: fix assignment bug
danrobinson Sep 26, 2019
bfc8f36
contracts: drop swapOutput
danrobinson Sep 26, 2019
300d8a1
drop getOutputPrice
danrobinson Oct 1, 2019
bf6fbc9
Merge pull request #2 from Uniswap/dropSwapOutput
haydenadams Oct 1, 2019
2ca9261
contracts: split swapInput into two functions
danrobinson Oct 1, 2019
c6fec39
add semicolon
danrobinson Oct 1, 2019
13de4b8
fix recipient argument
danrobinson Oct 1, 2019
a4c565e
declare swap function before it is called
danrobinson Oct 1, 2019
3759eda
contracts: split swapInput into two functions
danrobinson Oct 1, 2019
17adf85
contracts: track reserves in ERC20 and remove transferFrom
danrobinson Oct 1, 2019
cc6902c
switch to use currentOutputReserve
danrobinson Oct 1, 2019
0483173
refactor
danrobinson Oct 1, 2019
91823f5
update addLiquidity
danrobinson Oct 2, 2019
69aa7e9
update removeLiquidity
danrobinson Oct 2, 2019
3d38410
remove external getInputPrice
danrobinson Oct 2, 2019
c72a44e
minor updates
danrobinson Oct 2, 2019
3047b69
Merge pull request #4 from Uniswap/trackReserves
haydenadams Oct 2, 2019
2fd7e6b
add Math library; change initial liquidity to geometric mean
danrobinson Oct 2, 2019
a22aabf
remove redundant checks
danrobinson Oct 2, 2019
2906f71
wip
danrobinson Oct 2, 2019
3438db5
refactor to keep stack small enough
danrobinson Oct 2, 2019
2c319cb
add recipient arg
danrobinson Oct 2, 2019
7d151ee
remove unnecessary checks
danrobinson Oct 2, 2019
180e1d6
fix spelling on reentrancyLock
danrobinson Oct 2, 2019
dccac5c
make getInputPrice internal
danrobinson Oct 2, 2019
b15d19b
update removeLiquidity
danrobinson Oct 2, 2019
0c2283f
add twap accumulator
danrobinson Oct 2, 2019
733bbbe
tweaks
danrobinson Oct 2, 2019
a2ced93
tweak
danrobinson Oct 2, 2019
073d954
add require statements
danrobinson Oct 2, 2019
9bdc993
add wrapper
danrobinson Oct 3, 2019
8b12368
fixes
danrobinson Oct 3, 2019
7cd5808
remove ETH contracts
haydenadams Oct 21, 2019
711605c
small fixes and notes
haydenadams Oct 21, 2019
ef60b1b
Merge pull request #6 from Uniswap/dan-dev
haydenadams Oct 21, 2019
758af2a
Merge pull request #7 from Uniswap/dev
haydenadams Oct 21, 2019
32d3869
add prettier
NoahZinsmeister Oct 22, 2019
1ad17ea
add circleci status badge
NoahZinsmeister Oct 22, 2019
d253a35
rework erc20
NoahZinsmeister Oct 22, 2019
be2cbc7
add todo comments
NoahZinsmeister Oct 23, 2019
1848909
run everything on constantinople
NoahZinsmeister Oct 24, 2019
9311157
initial exchange re-write
NoahZinsmeister Oct 25, 2019
6486c6c
add uniswapv2 interface
NoahZinsmeister Oct 25, 2019
bd37179
add liquidity amount to events
NoahZinsmeister Oct 25, 2019
a17456a
improve tests
NoahZinsmeister Oct 25, 2019
0ff1489
inline variable and tweak tests
NoahZinsmeister Oct 25, 2019
8c7f897
burn instead of burnFrom
NoahZinsmeister Oct 25, 2019
6d111cf
experiment with 712
NoahZinsmeister Oct 28, 2019
844ec54
finalize 191 signatures
NoahZinsmeister Oct 28, 2019
b6a1184
add downcast helpers
NoahZinsmeister Oct 28, 2019
439ee0b
more tabs -> spaces
NoahZinsmeister Oct 29, 2019
0363d18
fix burn logic/visibility
NoahZinsmeister Oct 29, 2019
9db8488
testing improvements
NoahZinsmeister Oct 30, 2019
57da6c3
add uint128 where applicable
NoahZinsmeister Oct 30, 2019
55511e9
repo cleanup
NoahZinsmeister Oct 31, 2019
2b3cbb2
named return variables in libraries...
NoahZinsmeister Oct 31, 2019
ade15b8
tweaks
NoahZinsmeister Oct 31, 2019
8e5f9e9
rework function order
NoahZinsmeister Oct 31, 2019
9d097f8
more specific error
NoahZinsmeister Oct 31, 2019
b5ae6ff
automatically get burned liquidity
NoahZinsmeister Oct 31, 2019
0d27600
add getOtherTokens
NoahZinsmeister Oct 31, 2019
9dd81a1
tweaks
NoahZinsmeister Oct 31, 2019
91f32ea
changes
NoahZinsmeister Nov 6, 2019
71dd456
changes
NoahZinsmeister Nov 7, 2019
e9912d7
improve reentrancy gas efficiency
NoahZinsmeister Nov 19, 2019
cc42973
no chainid in create2 salt
NoahZinsmeister Nov 19, 2019
051868a
712 signatures
NoahZinsmeister Nov 19, 2019
5f62ed1
remove chainid in favor of istanbul opcode mocks
NoahZinsmeister Nov 19, 2019
1f5ff35
implement rageQuit
NoahZinsmeister Nov 19, 2019
f15ba38
add exchanges data structure
NoahZinsmeister Nov 19, 2019
86aa7ee
require inside safeTransfer
NoahZinsmeister Nov 21, 2019
4ed4b6d
add require to rageQuit
NoahZinsmeister Nov 21, 2019
17db1a4
move inocmpatible erc20 interface into library
NoahZinsmeister Nov 21, 2019
8bd4f4e
remove extraneous files
NoahZinsmeister Nov 21, 2019
3a1848a
logically separate erc20 interface functions
NoahZinsmeister Nov 21, 2019
674bde9
mock out price accumulator
NoahZinsmeister Nov 21, 2019
585c92d
fix tests
NoahZinsmeister Nov 21, 2019
5418d88
add skeleton Q104.104 implementation
NoahZinsmeister Nov 21, 2019
19170cc
make clear that this is still just a mock
NoahZinsmeister Nov 21, 2019
ee2034d
add clarifying comments to the fixed point library
NoahZinsmeister Nov 22, 2019
5ab2db1
optimize uq104 to avoid higher bit space math
NoahZinsmeister Nov 22, 2019
e0f2ce4
add node_modules to gitignore
haydenadams Nov 22, 2019
f056218
update readme
Nov 25, 2019
685ca82
use uint240 for q104.104
Nov 25, 2019
64599a5
compact storing for blocknumber and oracle data
Nov 25, 2019
7ed5f38
fix bugs
Nov 26, 2019
0621671
Merge pull request #20 from Uniswap/ha-dev
NoahZinsmeister Nov 26, 2019
5261ead
make oracke data public
Nov 26, 2019
cb992a0
Merge branch 'ha-dev'
Nov 26, 2019
bd202bb
clean up names and implementation of oracle stuff
NoahZinsmeister Nov 26, 2019
b4ecf29
Merge branch 'master' of https://github.com/Uniswap/uniswap-v2
NoahZinsmeister Nov 26, 2019
0fe071a
fix interface
NoahZinsmeister Nov 26, 2019
d0f525a
uint256 -> uint
NoahZinsmeister Dec 4, 2019
281cbdc
remove all structs and rename variables
haydenadams Dec 4, 2019
bc17765
don't pack prices as much
NoahZinsmeister Dec 5, 2019
4c7ecb8
remove ragequit, some cleanup
NoahZinsmeister Dec 5, 2019
c32e0ee
remove Pair struct from factory
haydenadams Dec 6, 2019
0bfee28
tweak factory api
NoahZinsmeister Dec 8, 2019
0e0f96e
version bumps
NoahZinsmeister Dec 8, 2019
b7393c3
tweak erc20
NoahZinsmeister Dec 8, 2019
032508a
tweak math
NoahZinsmeister Dec 8, 2019
4020139
tweak uniswap
NoahZinsmeister Dec 8, 2019
8140e9a
fix tests
NoahZinsmeister Dec 8, 2019
f975c09
initial (borked) fee implementation
NoahZinsmeister Dec 8, 2019
c06c49d
squash errors
NoahZinsmeister Dec 9, 2019
58aeea0
istanbul evm
NoahZinsmeister Dec 9, 2019
2bfccfa
fix test errors
NoahZinsmeister Dec 9, 2019
b2adead
add skeleton LiquidityMinted event
NoahZinsmeister Dec 9, 2019
0b68d1d
small tweaks
NoahZinsmeister Dec 9, 2019
302bdeb
add fee implementation
NoahZinsmeister Dec 11, 2019
99d1994
improve fee logic, make clamping logic more robust
NoahZinsmeister Dec 11, 2019
1faefe7
fix some edge cases and burnLiquidity bug
NoahZinsmeister Dec 11, 2019
04aaa2a
clean up naming
NoahZinsmeister Dec 11, 2019
a9e7599
Merge pull request #24 from Uniswap/expanded-prices
NoahZinsmeister Dec 11, 2019
3b52397
tweak name
NoahZinsmeister Dec 11, 2019
34b1972
bump solc to 0.5.14
NoahZinsmeister Dec 12, 2019
4ece950
bulk out fee implementation
NoahZinsmeister Dec 12, 2019
1b0f8c4
add more tests
NoahZinsmeister Dec 13, 2019
4079b3f
mineBlocks and increase default timeout
NoahZinsmeister Dec 13, 2019
e079cf4
approveMeta -> permit
NoahZinsmeister Dec 13, 2019
5f6a872
prettier if statements
NoahZinsmeister Dec 13, 2019
faac612
inline bool check
NoahZinsmeister Dec 16, 2019
b013715
change to more flexible variant
NoahZinsmeister Dec 18, 2019
488f96b
prefix burn/burnFrom in ERC20 with unsafe
NoahZinsmeister Dec 18, 2019
036b4ab
unsafeBurn{,from} -> forfeit{,From}
NoahZinsmeister Dec 19, 2019
5386f7c
try out fees on swap
NoahZinsmeister Dec 19, 2019
63fd629
tweak rate when fees are on
NoahZinsmeister Dec 19, 2019
31a1494
use interface in the factory
NoahZinsmeister Dec 19, 2019
dc5d679
forfeit -> burn
NoahZinsmeister Dec 19, 2019
58e1c57
fix fee on swap implementation
NoahZinsmeister Dec 20, 2019
36db883
bump to [email protected]
NoahZinsmeister Dec 20, 2019
49dde6c
add istanbul support for testing environment
NoahZinsmeister Dec 20, 2019
3574883
note edge case
NoahZinsmeister Dec 20, 2019
67659a0
support node >=10
NoahZinsmeister Dec 30, 2019
9387223
remove getTokens from the factory
NoahZinsmeister Dec 30, 2019
89708bc
notLocked -> unlocked
NoahZinsmeister Dec 30, 2019
17afbe8
rm -> rimraf
NoahZinsmeister Dec 30, 2019
e5bba42
burn -> forfeit
NoahZinsmeister Dec 30, 2019
fea56af
increase test timeout
NoahZinsmeister Dec 30, 2019
5b4a274
move fee from swap back to mint + burn
NoahZinsmeister Dec 30, 2019
a68db80
make push syntax more explicit
NoahZinsmeister Dec 30, 2019
a636564
add "to" parameter to relevant functions
NoahZinsmeister Dec 30, 2019
178d538
fix swapped price accumulators
NoahZinsmeister Jan 2, 2020
9a8fd5f
clean up fee minting
NoahZinsmeister Jan 2, 2020
359e8fe
condense if statement
NoahZinsmeister Jan 6, 2020
8f89e1c
optimize _mintFee
NoahZinsmeister Jan 6, 2020
f951180
make casting explicit
NoahZinsmeister Jan 6, 2020
449e7d2
remove unused dependency
NoahZinsmeister Jan 6, 2020
1c95ed5
change variable name
NoahZinsmeister Jan 6, 2020
61174df
gas golf swap
NoahZinsmeister Jan 6, 2020
91ca3ee
more SLOAD golfing
NoahZinsmeister Jan 6, 2020
6596023
put a trailing _ on private variable
NoahZinsmeister Jan 6, 2020
3afb278
add getReserves to wrap single SLOAD
NoahZinsmeister Jan 6, 2020
d09a24a
Update README.md
haydenadams Jan 7, 2020
d568f9e
remove exchangeBytecode in favor of .creationCode
NoahZinsmeister Jan 7, 2020
67eeb7e
fix tests related to bytecode
NoahZinsmeister Jan 8, 2020
dba0d55
fix bug with updating invariantLast
NoahZinsmeister Jan 8, 2020
b96e5e2
remove forfeit{,from}
NoahZinsmeister Jan 13, 2020
6722023
make invariantLast public
NoahZinsmeister Jan 13, 2020
a86e854
make GenericERC20 inherit from...
NoahZinsmeister Jan 14, 2020
32e9b5c
address uint(-1) failure case
NoahZinsmeister Jan 21, 2020
f67ae87
bump optimizer runs
NoahZinsmeister Jan 22, 2020
9a81905
update to [email protected]
NoahZinsmeister Jan 22, 2020
9db98d9
fix CI format
NoahZinsmeister Jan 22, 2020
43d6771
improve code quality of tests
NoahZinsmeister Jan 22, 2020
023a94c
reorder ERC20 functions, clean up naming
NoahZinsmeister Jan 22, 2020
7dd99d6
remove conditional from mint in test ERC20
NoahZinsmeister Jan 22, 2020
bc69ba4
tweak factory functions
NoahZinsmeister Jan 22, 2020
eaed7c0
tighten up permit
NoahZinsmeister Jan 22, 2020
9cf0c01
tweak and add explanatory comments to libraries
NoahZinsmeister Jan 22, 2020
18e8313
add some comments
NoahZinsmeister Jan 22, 2020
48a593b
fix permit test
NoahZinsmeister Jan 22, 2020
74fd53a
make selector public
NoahZinsmeister Jan 22, 2020
560bb09
block.number -> block.timestamp
NoahZinsmeister Jan 23, 2020
bf2ccfa
run linter
NoahZinsmeister Jan 24, 2020
b3c9ac4
populate getExchange bidirectionally
NoahZinsmeister Jan 24, 2020
757ac44
remove superfluous safety checks
NoahZinsmeister Jan 24, 2020
9848589
clean up tests
NoahZinsmeister Jan 24, 2020
27b9221
emit klab-compatible output
NoahZinsmeister Jan 27, 2020
4a60289
fix stale cache bug from SLOAD optimization
NoahZinsmeister Jan 27, 2020
bcb434b
move from invariant -> k (compute sqrt lazily)
NoahZinsmeister Jan 29, 2020
35e5d74
add more robust tests for price{0,1}CumulativeLast
NoahZinsmeister Jan 30, 2020
21810f4
fix typo
NoahZinsmeister Jan 30, 2020
546f4aa
improve stability of tests in CI environment
NoahZinsmeister Jan 30, 2020
ee0d522
whitespace + comment cleanup
NoahZinsmeister Jan 30, 2020
3b6fa9e
add IUniswapV2ERC20 methods to IUniswapV2Exchange
NoahZinsmeister Jan 30, 2020
d317d03
view -> pure for the appropriate functions
NoahZinsmeister Jan 30, 2020
30aa629
fix kLast bug when fee goes on -> off -> on
NoahZinsmeister Jan 31, 2020
4fb5702
add THRESHOLD for pool shares balances
NoahZinsmeister Jan 31, 2020
8012e7e
test for transfer events on swap
NoahZinsmeister Jan 31, 2020
1ad8e15
add transfer event tests for burn
NoahZinsmeister Jan 31, 2020
a2d6f3e
THRESHOLD -> MINIMUM_TOTAL_SUPPLY
NoahZinsmeister Feb 3, 2020
7773f88
optimize lock w/r/t the gas refund counter
NoahZinsmeister Feb 3, 2020
a569bcd
MINIMUM_TOTAL_SUPPLY from 1e6 -> 1e4
NoahZinsmeister Feb 3, 2020
573e01e
fee to 5 bips
NoahZinsmeister Feb 6, 2020
91bdd40
Merge pull request #54 from Uniswap/fee-to-5-bips
NoahZinsmeister Feb 7, 2020
74f51b0
only run CI on pushes when it's to master
NoahZinsmeister Feb 7, 2020
41d5c6f
MINIMUM_TOTAL_SUPPLY -> MINIMUM_LIQUIDITY (#51)
NoahZinsmeister Feb 7, 2020
ed9847b
fix syntax
NoahZinsmeister Feb 7, 2020
25c66b3
optimistic swaps (#53)
NoahZinsmeister Feb 17, 2020
f626de3
update _mintFee comment
NoahZinsmeister Feb 19, 2020
4b4bc2a
fix commented out tests
NoahZinsmeister Feb 25, 2020
b557cf4
make gas test more correct
NoahZinsmeister Feb 27, 2020
c4ca416
add `build/` folder generated from the frozen code
NoahZinsmeister Mar 3, 2020
e643a36
switch lock from 2 -> 1 -> 2 to 1->0->1
NoahZinsmeister Mar 10, 2020
67a7118
open-source 🎉
NoahZinsmeister Mar 13, 2020
3bed3f7
exchange -> pair
NoahZinsmeister Mar 17, 2020
377f1e3
Merge pull request #58 from Uniswap/open-source
haydenadams Mar 23, 2020
7d27606
remove confusing comment
NoahZinsmeister Apr 1, 2020
483a7ee
Merge branch 'master' of https://github.com/Uniswap/uniswap-v2-core
NoahZinsmeister Apr 1, 2020
fcb38e2
bye mac
NoahZinsmeister Apr 1, 2020
6a67b82
Revert "remove confusing comment"
NoahZinsmeister Apr 13, 2020
40079f2
update yarn.lock
NoahZinsmeister Apr 13, 2020
ab4f9ac
Check the git status output is empty in CI to avoid uncommitted build…
moodysalem Apr 13, 2020
88e8410
Change logs into assertions so we can always see the gas cost changes…
moodysalem Apr 14, 2020
d56fb10
Prepare for deploying the contracts and build artifacts to npmjs
moodysalem Apr 15, 2020
4dc42e1
Remove overrides from fixtures.ts
moodysalem Apr 15, 2020
98dfa2f
Change the test to verify the actual gas used instead of the buggy es…
moodysalem Apr 15, 2020
ab7f661
Uncomment a test that was fixed with latest waffle
moodysalem Apr 15, 2020
ad31eae
Add back overrides to see if it fixes CI
moodysalem Apr 15, 2020
4e410e2
prepare -> prepublishOnly
moodysalem Apr 15, 2020
5f769f4
Merge pull request #62 from Uniswap/prepare-for-npm
moodysalem Apr 15, 2020
bb21260
Widen the pragma (#71)
moodysalem Apr 17, 2020
c5ff676
Revert "Revert "remove confusing comment""
NoahZinsmeister Apr 17, 2020
52067cc
update build
NoahZinsmeister Apr 17, 2020
cd258cf
Prepare to release 1.0.0-beta.1
moodysalem Apr 17, 2020
805309e
version bump
NoahZinsmeister Apr 17, 2020
463fd13
Remove build artifacts and add link to the README.md
moodysalem Apr 20, 2020
cba736f
Remove check-compile-output.sh and related CI/scripts
moodysalem Apr 20, 2020
7c96024
Prepare beta.3 with repository URL in package.json
moodysalem Apr 22, 2020
b01f3a7
Couple more clean ups to the package.json
moodysalem Apr 22, 2020
3cd7381
Release v1.0.0
moodysalem Apr 22, 2020
c04f322
Generate metadata (#78)
chriseth May 18, 2020
9d5ba28
Add emoji to description
moodysalem May 18, 2020
3d52245
Add keywords
moodysalem May 18, 2020
39d70bf
Release v1.0.1.
moodysalem May 18, 2020
bcadd1f
Create CITATION.cff (#154)
0xJepsen May 3, 2022
12805b0
feat: add stale config
marktoda Jul 13, 2022
24ad4db
Merge pull request #168 from Uniswap/add-stale
marktoda Jul 13, 2022
40b5f7c
chore: forge init
Madeveda Jul 4, 2024
1bbc4e5
forge install: forge-std
Madeveda Jul 4, 2024
753eb62
add tests for factory and erc20 (WIP)
Madeveda Jul 8, 2024
5b5aa62
finished factory and erc20 tests
Madeveda Jul 15, 2024
a073b1d
use forge formatter
Madeveda Jul 15, 2024
a41c3d8
feat: test base hardhat
EthanOK Aug 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*.sol linguist-language=Solidity
*.sol linguist-language=Solidity
25 changes: 25 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Configuration for probot-stale - https://github.com/probot/stale

issues:
# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 7

# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 7

# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
onlyLabels:
- question
- autoclose

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- p0
- bug

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
37 changes: 37 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches:
- master
pull_request:

jobs:
test:
strategy:
matrix:
node: ['10.x', '12.x']
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}

- run: npm install -g yarn

- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ matrix.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ matrix.os }}-yarn-

- run: yarn
- run: yarn lint
- run: yarn test
34 changes: 34 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: test

on: workflow_dispatch

env:
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build

- name: Run Forge tests
run: |
forge test -vvv
id: test
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
node_modules/
build/
out/
/cache

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
6 changes: 6 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extension": ["ts"],
"spec": "./test/**/*.spec.ts",
"require": "ts-node/register",
"timeout": 12000
}
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": false,
"singleQuote": true,
"printWidth": 120
}
24 changes: 24 additions & 0 deletions .waffle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"compilerVersion": "./node_modules/solc",
"outputType": "all",
"compilerOptions": {
"outputSelection": {
"*": {
"*": [
"evm.bytecode.object",
"evm.deployedBytecode.object",
"abi",
"evm.bytecode.sourceMap",
"evm.deployedBytecode.sourceMap",
"metadata"
],
"": ["ast"]
}
},
"evmVersion": "istanbul",
"optimizer": {
"enabled": true,
"runs": 999999
}
}
}
15 changes: 15 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Zinsmeister"
given-names: "Noah"
- family-names: "Adams"
given-names: "Hayden"
- family-names: "Robinson"
given-names: "Dan"
- family-names: "Salem"
given-names: "Moody"
title: "v2-core"
version: 1.0.1
date-released: 2019-05-03
url: "https://github.com/Uniswap/v2-core"
Loading