Commit Graph

106 Commits

Author SHA1 Message Date
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
Andrea Franz ce4df7d040
update app to be a create-react-app 2020-04-30 00:53:10 +02:00
Michele Balistreri 1e5c35c8e9
closes #24 2020-04-29 13:50:25 +03:00
Michele Balistreri 6a243df6e1
close #13 2020-04-29 13:33:14 +03:00
Andrea Franz e118c153f9
add error action 2020-04-28 16:09:34 +02:00
Bitgamma a7e86d8652
Merge pull request #22 from status-im/gift-to-erc20-redeemable
remove gift terminology
2020-04-28 13:16:54 +03:00
Michele Balistreri d942033969
remove gift terminology 2020-04-28 12:36:34 +03:00
Andrea Franz 835173b70b
Merge pull request #21 from status-im/base-bucket
add base Bucket contract
2020-04-27 16:14:33 +02:00
Andrea Franz 008ab8e881
remove comments and blank lines 2020-04-24 19:08:23 +02:00
Andrea Franz 16579768d3
remove duplicated test 2020-04-24 19:06:06 +02:00
Andrea Franz b4e923c0a3
fix test 2020-04-24 19:00:39 +02:00
Andrea Franz 3189f42e31
remove RedeemUtil 2020-04-24 19:00:20 +02:00
Andrea Franz a4dff0868c
add base Bucket contract 2020-04-24 18:59:08 +02:00
Michele Balistreri 726df43f41
closes #18 2020-04-23 15:51:05 +03:00
Bitgamma 4f9c711678
Merge pull request #20 from status-im/fix-tests
minAt NOW to avoid failing in next test files
2020-04-23 14:51:28 +03:00
Michele Balistreri 01ca6aaf01
closes #9 2020-04-23 14:44:04 +03:00
Andrea Franz d9b4ff8584
minAt NOW to avoid failing in next test files 2020-04-23 13:42:36 +02:00