Commit Graph

393 Commits

Author SHA1 Message Date
Dmitry Holodov
330a231aa4 multi-arch build script and version fixes (#435) v0.2.0 2023-04-27 15:39:11 -05:00
Matt
498baa3bf1 repair ui (#396) 2023-04-27 08:47:28 -05:00
Dmitry Holodov
a3dabebe2f fixed double restart test (#432) 2023-04-27 08:27:55 -04:00
noot
c1d5347616 fix: set GasLimit for relayed transactions (#425)
Co-authored-by: Dmitry Holodov <dimalinux@protonmail.com>
2023-04-26 15:55:46 -04:00
Dmitry Holodov
caa5251e59 move to gsnforwarder that is bytecode identical on mainnet and dev (#427) 2023-04-26 13:55:00 -05:00
noot
4c10263ebd fix xmrtaker key overwrite on restart (#423) 2023-04-26 12:22:04 -04:00
noot
0b59d9a95e add another bootnode (#426) 2023-04-25 19:23:29 -04:00
noot
83d4cee884 release: mainnet contract address, set env defaults to mainnet (#417) 2023-04-25 19:18:29 +02:00
noot
74f52af9d5 fix: handle RPC server panic if port is in use (#418) 2023-04-25 12:30:51 -04:00
noot
177b96da76 contract comment updates (#415) 2023-04-25 08:43:03 -04:00
noot
9cc39e84da solc optimize contract bytecode (#414) 2023-04-25 08:02:56 -04:00
noot
d2629f8246 release: add another bootnode (#413) 2023-04-24 18:52:51 -04:00
noot
08577d0a3c fix bootnode doc (#412) 2023-04-24 17:23:28 -04:00
noot
3c2ea1e580 fix contract semver (#410) 2023-04-24 17:06:10 -04:00
noot
dc64531325 fix: add SweepingXMR status, fixes restart during sweep (#399)
Co-authored-by: Dmitry Holodov <dimalinux@protonmail.com>
2023-04-24 16:44:26 -04:00
noot
c2aa51b695 release: add more mainnet bootnodes (#411) 2023-04-24 14:57:07 -04:00
Dmitry Holodov
c91b9bb82a dockerized bootnode fixes (#409) 2023-04-24 09:01:08 -05:00
noot
921d08bc89 docs: add mainnet usage doc (#403) 2023-04-23 15:46:57 -05:00
noot
5426ebecdc fix: update event watcher to not checks blocks twice (#408) 2023-04-23 15:27:54 -05:00
noot
7c90e7f76b release: add initial mainnet bootnodes (#400) 2023-04-23 14:20:20 -04:00
Dmitry Holodov
df97eebcae feat: dockerized bootnode (#405)
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
2023-04-23 14:01:08 -04:00
noot
5d49051f39 fix: a few more contract checks (#398)
Co-authored-by: Dmitry Holodov <dimalinux@protonmail.com>
2023-04-23 11:33:58 -04:00
drank40
d9334f1605 fix: modified struct initialization syntax in contract (#406) 2023-04-23 11:09:51 -04:00
noot
606f80fb4d maintenance: remove swaptester (#401) 2023-04-22 23:12:03 -05:00
noot
ea8bae1416 feat: add dockerfile (#387)
Co-authored-by: Dmitry Holodov <dimalinux@protonmail.com>
v0.1.1
2023-04-21 15:37:10 -05:00
noot
dbcc97f9c1 feat: add bootnode binary (#397) 2023-04-21 12:52:07 -04:00
Matt
dda4cacaea Simulate relayer tx and check return value (#395)
Co-authored-by: Dmitry Holodov <dimalinux@protonmail.com>
2023-04-21 11:47:10 -04:00
noot
0a90f6bd4d implement database rpc service for querying recovery DB (#383) 2023-04-19 12:51:51 -04:00
noot
c4a5e12615 small additions to contract unit tests (#388) 2023-04-19 12:23:36 -04:00
Dmitry Holodov
59c10d8d03 upgraded go version and dependencies (#390)
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
2023-04-19 10:49:39 -04:00
Matt
3f9e4eecf6 Fix messages for xmrmaker provided amount out of range errors (#394) 2023-04-19 09:57:26 -04:00
noot
f344d09fc6 add AUTHORS file and update copyright in license header (#389) 2023-04-18 12:25:30 -04:00
Matt
002adc58ad Taker: provided amount out of range checks (#386) 2023-04-17 15:10:50 -05:00
noot
c0c87e8ecb contract updates and cleanup (#382)
Co-authored-by: Dmitry Holodov <dimalinux@protonmail.com>
2023-04-17 13:49:53 -04:00
Dmitry Holodov
15b8378c76 ERC20 balance support (#380)
* Added --token flag to swapcli's balances request allowing the user to query their token balance
* --eth-asset flag on swapcli make changed to --token
* Added TokenInfo RPC API method to retrieve an ERC20 token's metadata
* Added an end-to-end ERC20 unit test to the daemon package
* Fixed ERC20 token approval amount to SwapCreator contract to use the minimum value required (instead of approving the entire user's balance for transfer by the contract)
* Fixed a race condition between concurrent contract calls to approve/new_swap in ERC20 token swaps
* Removed hard coded assumptions that all tokens have 18 decimals
* Maked the decimal places in our test ERC20 token configurable
* Fixed token exchange rate calculations
* Updated ongoing and past swap queries to correctly support ERC20 tokens
* Initial unit tests in swapcli's main package
2023-04-17 11:59:47 -05:00
noot
a2d9e8ddd7 net: add initiate, query and relay timeouts (#378)
Co-authored-by: Dmitry Holodov <dimalinux@protonmail.com>
2023-04-15 14:09:49 +02:00
Matt
8bd9281a4e swapd version & shutdown (#379) 2023-04-14 17:35:00 -05:00
Dmitry Holodov
a17f95d414 SwapFactory to SwapCreator rename, upgrade to solc 0.8.19 (#372) 2023-04-09 03:08:17 -05:00
Dmitry Holodov
7fef2d7b76 XMR taker is relayer of last resort for the maker (#366)
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
2023-04-05 20:16:41 -05:00
noot
fea16bc0fe update contract to allow setting t0/t1 separately (#364) 2023-04-05 14:54:55 -04:00
noot
4545aff7cd remove swap_refund in favour of swap_cancel (#371) 2023-04-04 20:52:27 -04:00
noot
b26228805c add license header to files; update readme disclaimer (#368) 2023-04-04 13:12:12 -04:00
noot
aa70b55a5c log updates for ERC20 swaps (#369) 2023-04-02 18:38:46 -04:00
noot
bf0443c5bc xmrmaker: check if swap was completed already when restarting swap (#361) 2023-04-01 18:04:28 -04:00
noot
b83f57e60c move stagenet from goerli to sepolia (#363)
Co-authored-by: Dmitry Holodov <dimalinux@protonmail.com>
2023-03-30 23:53:13 -04:00
noot
d7a03494a4 update go-relayer and go-dleq deps (#362) 2023-03-28 23:39:29 -05:00
noot
4c3caedcc3 fix: remove ws eth endpoint requirement, update taker exit (#358) 2023-03-28 10:21:28 -04:00
Dmitry Holodov
528715b602 swapd daemon setup/start decoupled from CLI parsing (#354) 2023-03-25 19:18:51 -05:00
noot
58d94723e1 add estimated time for swap to complete for swap_getOngoing (#351) 2023-03-20 22:49:17 -04:00
noot
310bafbc7e update swap_getPast to match swap_getOngoing; update docs (#350) 2023-03-19 20:27:31 -04:00