Owen
|
3fc9478190
|
new router
|
2022-10-31 20:43:10 -07:00 |
|
 owenandGitHub
|
63a0f9a3fc
|
Merge pull request #35 from defi-wonderland/feat/royalty
feat: adds royalty support for IERC2981 lookup addresses
|
2022-09-12 12:15:49 -07:00 |
|
  
|
346800b102
|
feat: adds royalty support for IERC2981 lookup addresses
* chore: copy LSSVMRouter.sol
* feat: creating router with royalties + integrating tests
* feat: adds robust swaps implementation with royalties
* feat: improves tests with royalty issuance checks
* feat: adds gas optimizations and event emission on royalty issuance
* feat: adds event emission on internal issuances
* feat: gas optimization on issueTokenRoyalties
* feat: rms double substraction
* feat: improved comments
* feat: avoids double transfers when no royalty
Co-authored-by: 0xng <87835144+0xng@users.noreply.github.com>
Co-authored-by: 0xGorilla <0xGorilla@defi.sucks>
|
2022-09-06 18:53:28 +02:00 |
|
 wei3erHaseandGitHub
|
d52312975c
|
chore: run linter on modified files
|
2022-09-06 18:30:54 +02:00 |
|
Owen
|
c8b228b2a3
|
add partial fill test support w/ fuzzing
|
2022-08-29 12:17:36 -07:00 |
|
Owen
|
0d0fc0fc8a
|
add compatibility to usingXYK for new tests
|
2022-08-28 23:03:00 -07:00 |
|
Owen
|
7449cffae4
|
Merge branch 'feat/xyk-bonding-curve' into main
|
2022-08-28 22:57:41 -07:00 |
|
Owen
|
e879f70122
|
add more tests
|
2022-08-28 14:45:10 -07:00 |
|
Owen
|
494b308f5d
|
add more tests to partial fill
|
2022-08-28 14:18:55 -07:00 |
|
Owen
|
f82834a9de
|
router2 tests wip
|
2022-08-26 23:29:15 -07:00 |
|
Owen
|
1244c8798f
|
buy and sell done
|
2022-08-25 16:43:42 -07:00 |
|
Owen
|
63ce4c39da
|
init
|
2022-08-24 19:32:11 -07:00 |
|
Owen
|
f970d9d2a2
|
first pass of router2
|
2022-08-23 23:52:28 -07:00 |
|
Owen
|
cfbe1eb24f
|
wip
|
2022-08-22 16:37:52 -07:00 |
|
Owen
|
a0fa75fb4f
|
wip router2
|
2022-08-19 12:29:21 -07:00 |
|
Owen
|
c0961a4810
|
new router wip
|
2022-08-11 22:24:04 -07:00 |
|
Owen
|
aff05e9d71
|
xyk curve, add one more check to avoid divide by 0 error
|
2022-08-11 22:18:22 -07:00 |
|
 owenandGitHub
|
198993a263
|
Merge pull request #30 from 0xacedia/path-independent-xyk
Path independent xyk
|
2022-08-11 22:08:11 -07:00 |
|
0xacedia
|
f61c92a8ee
|
make xyk curve path independent
|
2022-08-11 22:19:27 +01:00 |
|
 owenandGitHub
|
5508dca919
|
Merge pull request #29 from 0xacedia/xyk-bonding-curve
Add to xyk bonding curve branch
|
2022-08-05 12:45:15 -07:00 |
|
0xacedia
|
ee7f505d3d
|
update comment
|
2022-08-01 13:53:58 +01:00 |
|
0xacedia
|
5cedd5be4b
|
add test-cases
|
2022-08-01 13:49:39 +01:00 |
|
0xacedia
|
fbd80ad44f
|
switch to virtual reserves
|
2022-08-01 10:58:42 +01:00 |
|
0xacedia
|
46df347b30
|
add the rest of noarb tests for xyk
|
2022-07-31 23:07:56 +01:00 |
|
0xacedia
|
8036511a33
|
add noarb tests
|
2022-07-31 22:19:16 +01:00 |
|
0xacedia
|
cbb6d8c160
|
add xyk sell tests
|
2022-07-31 16:18:01 +01:00 |
|
0xacedia
|
f47302f864
|
switch xyk to use fixedpointmathlib
|
2022-07-31 15:47:41 +01:00 |
|
0xacedia
|
c66ba5606a
|
update sell xyk comments
|
2022-07-31 13:49:47 +01:00 |
|
0xacedia
|
c3e05a1b58
|
add initial sell logic
|
2022-07-31 13:00:58 +01:00 |
|
0xacedia
|
ce123f0eb5
|
add xyk swap test
|
2022-07-31 12:08:05 +01:00 |
|
0xacedia
|
1c1f8d805b
|
add basic tests to xyk curve
|
2022-07-31 11:04:19 +01:00 |
|
0xacedia
|
a8b5e34969
|
add isEthPair test for xyk curve
|
2022-07-31 10:28:00 +01:00 |
|
0xacedia
|
1635f1d814
|
update test
|
2022-07-30 21:18:24 +01:00 |
|
0xacedia
|
f11d5f8dc3
|
add initial buy logic
|
2022-07-30 21:16:50 +01:00 |
|
Owen
|
2ef9876f71
|
add comparison
|
2022-06-23 15:52:11 -07:00 |
|
Owen
|
85fd74dcf4
|
add extra conditions for workflow
|
2022-06-03 14:12:08 -07:00 |
|
Owen
|
b75ae80298
|
update actions
|
2022-06-03 14:01:27 -07:00 |
|
Owen
|
c5f3a289f9
|
fix arg issue?
|
2022-06-03 13:55:24 -07:00 |
|
Owen
|
9e8ee80f60
|
change name to be consistent
|
2022-05-28 20:54:32 -07:00 |
|
Owen
|
075496ab33
|
Merge branch 'main' of https://github.com/0xmons/lssvm into main
|
2022-05-28 20:46:34 -07:00 |
|
 owenandGitHub
|
249d7193e3
|
Create LICENSE
|
2022-05-28 20:45:47 -07:00 |
|
Owen
|
504e99b07e
|
package-lock changes
|
2022-04-23 22:11:45 -07:00 |
|
Owen
|
df8355072a
|
Add 1155 withdraw tests, and buy-sell in router
|
2022-04-23 00:46:43 -07:00 |
|
Owen
|
41b2a03cc1
|
add rescue erc1155
|
2022-04-14 18:38:07 -07:00 |
|
Owen
|
d4c4390434
|
merge snapshot
|
2022-04-11 19:55:37 -07:00 |
|
Owen
|
63e20d09db
|
consolidate spotPrice/delta updates to save gas
|
2022-04-11 19:52:38 -07:00 |
|
dleng16
|
222e643b3a
|
add NFT withdrawal events
|
2022-04-10 17:23:02 -07:00 |
|
Owen
|
e9af5aaf47
|
add prevOwner to callback
|
2022-04-10 01:26:02 -07:00 |
|
Owen
|
37a30df734
|
remove first ownership transfer event
|
2022-04-08 19:30:40 -07:00 |
|
Owen
|
e49135a6d8
|
make erc165 check even cheaper
|
2022-04-08 18:30:25 -07:00 |
|