Commit Graph

38 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 b998378131
add IERC721Metadata 2020-05-18 11:39:53 +02:00
Andrea Franz eb980ce1a2
add support for NFT 2020-05-13 10:22:40 +02:00
Michele Balistreri c0bee3caf3
make maxTxDelayInBlocks a parameter - closes #4 2020-05-04 09:04:30 +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
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
Michele Balistreri d942033969
remove gift terminology 2020-04-28 12:36:34 +03:00
Andrea Franz 008ab8e881
remove comments and blank lines 2020-04-24 19:08:23 +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
Michele Balistreri e34f1a8e99
extracted redeem validation utils 2020-04-21 13:39:40 +03:00
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
Andrea Franz f2971e659c
re-organize contracts 2020-04-03 14:19:40 +02:00
Michele Balistreri cd909d6adc
add block number and hash 2020-04-02 14:28:41 +03: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
Michele Balistreri 7bfa7275e7
remove recipient from Reedem struct 2020-03-25 11:23:22 +03:00
Richard Ramos ac2b2ca61e
initialize GiftBucket in Proxy constructor 2020-02-23 21:46:50 -04: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 1d2818cce0
rename contract to GiftBucket 2020-02-21 12:41:03 +01:00
Andrea Franz 422b65072c
enable tests and use hardcoded chainid 1 2020-02-19 14:35:11 +01:00
Andrea Franz 55dbd113f9
initial import 2020-02-18 20:23:31 +01:00