Commit Graph

53 Commits

Author SHA1 Message Date
Michele Balistreri c4b7027a56
use constant for ERC721 callback 2020-04-14 09:31:53 +03:00
Michele Balistreri 0a10824c6a
adapt create-gift tool 2020-04-13 12:08:37 +03:00
Michele Balistreri 8e7ab9ebc9
onERC721Received must be called by the NFT only 2020-04-13 11:46:09 +03:00
Michele Balistreri f3a07496fa
add NFT tests 2020-04-10 13:14:50 +03:00
Michele Balistreri bef186115e
Add NFTBucketFactory 2020-04-09 13:05:00 +03:00
Michele Balistreri af787e1ecd
Add NFTBucketFactory 2020-04-09 12:59:43 +03:00
Michele Balistreri 97e1f60329
NFT support 2020-04-09 11:13:16 +03:00
Michele Balistreri 84850e0270
use recipient to test existance 2020-04-08 14:00:16 +03:00
Michele Balistreri 456f699f67
Merge branch 'master' of github.com:status-im/keycard-redeem 2020-04-06 11:18:21 +03:00
Michele Balistreri ebd69a4ee6
update minimist 2020-04-06 11:17:05 +03:00
Andrea Franz f2971e659c
re-organize contracts 2020-04-03 14:19:40 +02:00
Andrea Franz 3da8c8c43c
move block info to Message interface 2020-04-03 12:49:22 +02:00
Bitgamma 46ee4862b4
Merge pull request #3 from status-im/add-block-num
add block number and hash
2020-04-03 08:57:48 +03:00
Michele Balistreri a9574f14ca
small improvements 2020-04-03 08:56:24 +03:00
Michele Balistreri cd909d6adc
add block number and hash 2020-04-02 14:28:41 +03:00
Michele Balistreri 8a5c979115
make sender a string 2020-04-02 12:34:38 +03:00
Michele Balistreri 827965e8eb
avoid parallel tx execution 2020-04-02 11:06:53 +03:00
Andrea Franz 5d9e3bcb6c
add redeem actions 2020-04-01 18:30:01 +02:00
Andrea Franz 3fbbffca65
fix web3/config error 2020-04-01 18:29:09 +02:00
Michele Balistreri 5c51dcc1d8
Merge branch 'master' of github.com:status-im/gift-keycard
merge
2020-04-01 13:50:41 +03:00
Michele Balistreri 1bb13358d5
set destination field 2020-04-01 13:50:22 +03:00
Michele Balistreri 4fd3162439
add gift creation tool 2020-04-01 13:18:28 +03:00
Andrea Franz 003c875590
add utils 2020-03-30 17:40:45 +02:00
Andrea Franz fa1f796695
add Home and update config 2020-03-30 16:23:01 +02:00
Andrea Franz 0937a83f93
convert to TypeScript and add bucket actions 2020-03-30 15:54:59 +02:00
Andrea Franz 88f019e6c6
add IERC20Detailed contract and update TestToken constructor 2020-03-30 15:43:39 +02:00
Andrea Franz 35903220cc
update contracts 2020-03-25 10:03:27 +01:00
Michele Balistreri c0ba796183
rename verifySig into recoverSigner 2020-03-25 11:43:52 +03:00
Andrea Franz f5c1b56060
update test based on embark version 2020-03-25 09:41:59 +01:00
Michele Balistreri 7bfa7275e7
remove recipient from Reedem struct 2020-03-25 11:23:22 +03:00
Andrea Franz 470b00ba9a
update embark versions 2020-03-25 09:08:21 +01:00
Andrea Franz 76cb481b50
Merge pull request #1 from richard-ramos/fix/giftbucket-init
initialize GiftBucket in Proxy constructor
2020-02-24 15:26:36 +01:00
Richard Ramos ac2b2ca61e
initialize GiftBucket in Proxy constructor 2020-02-23 21:46:50 -04:00
Andrea Franz 7d19a6f98e
add relayer in tests 2020-02-21 23:57:44 +01:00
Andrea Franz fb4ba43469
update tests to use the factory 2020-02-21 20:01:15 +01:00
Andrea Franz 29cdc8527f
add factory and proxy contracts 2020-02-21 20:00:48 +01:00
Andrea Franz 0fa3f26f57
add GiftBucket initialization 2020-02-21 19:55:53 +01:00
Andrea Franz 54a98a773c
check overflows and reset amount before transfer 2020-02-21 16:57:23 +01:00
Andrea Franz 42feca196c
remove addSupply method and reply on ERC20.balanceOf 2020-02-21 16:09:42 +01:00
Andrea Franz 301777def0
update .gitattributes 2020-02-21 14:07:41 +01:00
Andrea Franz da06a47cdc
add .gitattributes 2020-02-21 14:00:57 +01:00
Andrea Franz ce9603600c
fix deps 2020-02-21 12:41:23 +01:00
Andrea Franz 1d2818cce0
rename contract to GiftBucket 2020-02-21 12:41:03 +01:00
Andrea Franz 18388581ea
add redux to deps 2020-02-19 23:56:04 +01:00
Andrea Franz 438aa2ad7a
display account, net ID, and error 2020-02-19 17:41:40 +01:00
Andrea Franz 9f4c668029
add yarn.lock 2020-02-19 17:36:50 +01:00
Andrea Franz e2cb14c713
remove package lock 2020-02-19 17:36:09 +01:00
Andrea Franz 26907b7482
add bsae redux structure 2020-02-19 17:35:22 +01:00
Andrea Franz 422b65072c
enable tests and use hardcoded chainid 1 2020-02-19 14:35:11 +01:00
Andrea Franz ef49923d34
avoid deploying contract manually in tests 2020-02-19 12:28:05 +01:00