Commit Graph

122 Commits

Author SHA1 Message Date
Andrea Franz 9f4a48e282 downgrade solidity version to 0.5.16 in contracts 2020-09-23 12:05:04 +02:00
Andrea Franz a68f726097 remove embark files 2020-09-23 12:05:04 +02:00
Andrea Franz ca23be2d2f move react app to client folder 2020-09-23 12:05:04 +02:00
Andrea Franz 23c04a558a
remove bucket and bucket-list args, check bucket owner directly calling the contract (#27) 2020-07-01 18:18:03 +02:00
Andrea Franz 670c20b3c9
fix redeem dockerfile to compile contracts 2020-07-01 13:16:11 +02:00
Andrea Franz 0677ea7b89
add -d to docker run relayer 2020-07-01 12:49:00 +02:00
Andrea Franz 7e9f98b50d
update makefile env variables 2020-07-01 12:35:30 +02:00
Andrea Franz 67edf8f149
fix bucket/redeemable deploy and add relayer URI 2020-07-01 12:35:02 +02:00
Andrea Franz 5be3c57ab8
add makefile task to build docker image and deploy factory and buckets 2020-06-29 17:41:28 +02:00
Andrea Franz 9befd72459
update scripts to load ABI or BIN files 2020-06-23 17:34:03 +02:00
Andrea Franz 712ebc1b34
add relayer Dockerfile 2020-06-23 17:33:44 +02:00
Andrea Franz 6a93ad468b
add Makefile with build-relayer-contracts task 2020-06-23 15:52:35 +02:00
Andrea Franz 3ee7293a84
add debug messages in the UI 2020-06-22 13:53:51 +02:00
Andrea Franz a1cfd3e1fb
use prev block number instead of latest in the Redeem message 2020-06-04 16:47:58 +02:00
Andrea Franz 3e52ede7cf
set build homepage 2020-05-29 15:26:09 +02:00
Andrea Franz 066a1b716f
send tx via web3 or relayer depending on the bucket 2020-05-29 15:23:59 +02:00
Andrea Franz eac7bac8bc
add getget and setter for relayerURI in Bucket.sol 2020-05-29 15:23:58 +02:00
Andrea Franz 083398f82b
add debug panel 2020-05-29 15:23:51 +02:00
Michele Balistreri d163192572
added README 2020-05-26 11:52:56 +03:00
Michele Balistreri 04944931e3
added missing argument 2020-05-25 15:38:19 +03:00
Andrea Franz 2f60bf5553
add package.json and lock to scripts 2020-05-25 14:30:31 +02:00
Andrea Franz 47eb954ceb
add CORS headers 2020-05-25 14:15:19 +02:00
Andrea Franz 602c2b84db
put gas estimation back 2020-05-22 12:33:57 +02:00
Andrea Franz 3299ff15f6
avoid embark enabling ethereum automatically 2020-05-22 12:33:57 +02:00
Michele Balistreri 3e0ee71891
document the relay 2020-05-19 09:22:23 +03:00
Andrea Franz cb6762d5b7
add styles to "loading..." elements 2020-05-18 14:09:20 +02:00
Andrea Franz b998378131
add IERC721Metadata 2020-05-18 11:39:53 +02:00
Andrea Franz 46415b1c8a
fix error font size 2020-05-18 11:35:01 +02:00
Andrea Franz e9e1af076b
add base layout/ui styles 2020-05-18 11:21:57 +02:00
Andrea Franz a89b4d76e6
rename app to layout 2020-05-15 07:13:09 +02:00
Michele Balistreri e28d13e846
fix typo 2020-05-14 13:49:52 +03:00
Michele Balistreri c6c3edff8b
add bucket check endpoint 2020-05-14 13:39:26 +03:00
Michele Balistreri 0f9e34f426
add whitelist 2020-05-14 13:14:16 +03:00
Michele Balistreri 1e471c01bb
accept only JSON 2020-05-14 11:13:36 +03:00
Andrea Franz dedc818388
rename js "names" from bucket to redeemable 2020-05-14 09:30:08 +02:00
Michele Balistreri bf00d10bd2
add relay 2020-05-13 17:39:52 +03:00
Andrea Franz 38eb174fe1
better error messages on redeem 2020-05-13 15:53:40 +02:00
Michele Balistreri c09de707e6
extract common code 2020-05-13 14:23:17 +03:00
Andrea Franz a3e988a419
if redeemable.recipient is zero, the redeemable doesn't exist 2020-05-13 13:06:47 +02:00
Andrea Franz eb980ce1a2
add support for NFT 2020-05-13 10:22:40 +02:00
Michele Balistreri c93dc78ff4
add documentation, fix small bug 2020-05-12 15:36:00 +03:00
Michele Balistreri 2ca995f033
drop ESM requirement 2020-05-08 12:54:42 +03:00
Michele Balistreri c42421b63f
better handling of amounts 2020-05-07 14:59:58 +03:00
Michele Balistreri ea6b4c00cf
support utf-8 codes, perform kekkac256 automatically 2020-05-06 13:01:14 +03:00
Michele Balistreri 0ab131a198
use the JSON files directly 2020-05-04 09:34:36 +03:00
Michele Balistreri c0bee3caf3
make maxTxDelayInBlocks a parameter - closes #4 2020-05-04 09:04:30 +03:00
Andrea Franz 0a5292bdbc
check bucket type before loading ERC20 or NFT bucket 2020-04-30 12:16:02 +02:00
Michele Balistreri 60133de7d1
Merge branch 'master' of github.com:status-im/keycard-redeem 2020-04-30 08:34:41 +03:00
Michele Balistreri 3062b69502
correct assert 2020-04-30 08:34:24 +03:00
Andrea Franz c2251bd20d
inline contract functions to save gas for buckets
ERC20Bucket from 47,372 to 46,971
NFTBucket   from 53,056 to 52,225
2020-04-30 01:06:18 +02:00