74db03ba06
Keep ownedTokensCount state var in sync in full ERC721 implementation
2018-03-21 11:56:42 -03:00
3f2ea8a329
Use if-statements instead of boolean one-liners for clarity
...
:-(
2018-03-21 11:42:47 -03:00
6b98e4e080
Use address(0) instead of 0 or 0x0
2018-03-21 11:42:10 -03:00
fb4f728734
Minor text changes in natspec comments
2018-03-21 11:41:45 -03:00
f4748dabc3
Use 4-params safeTransferFrom for implementing the 3-params overload
2018-03-21 11:40:28 -03:00
b33299569b
Add constant modifier to ERC721_RECEIVED magic value
2018-03-21 11:13:20 -03:00
95a1f9a4c5
Change natspec delimiters for consistency
2018-03-21 11:05:17 -03:00
6fbe771c27
Remove deprecated implementation
...
We only want to keep the interface, for interacting with already deployed contracts
2018-03-09 17:19:11 -03:00
6f180a6c5a
Remove gas stipend restriction in call to 721 receiver
2018-03-09 17:19:11 -03:00
3cef880803
Allow operators to call approve on a token
2018-03-09 17:19:11 -03:00
851685c40e
Add default implementation for metadata URI
...
This allows token implementation to be non-abstract
2018-03-09 17:19:11 -03:00
54a1d2eacc
Implement tokensByIndex extension
...
- Remove restrictions from mock mint and burn calls
2018-03-09 17:19:11 -03:00
d726c79e5f
Update comments in ERC721 contracts
2018-03-09 17:19:11 -03:00
559df81c49
Implement suggestions by @dekz
2018-03-09 17:19:11 -03:00
3745025a1e
Add more tests for ERC721
2018-03-09 17:19:11 -03:00
71cbc511ec
Support for new ERC721 interface
...
- Tests for new features are pending
- ERC721 is abstract, since it requires metadata implementation
- Move some methods into DeprecatedERC721 contract
- Reorganise base vs full implementation
- Pending tokenByIndex
2018-03-09 17:19:11 -03:00
ca163a849b
Implement ERC721 optional & approveAll functionality
2018-03-09 17:19:11 -03:00
1192e684c2
Rename current ERC721 implementation to BaseERC721
2018-03-09 17:19:11 -03:00
1eea95f9ac
Move ERC721 files to custom folder ( #700 )
2018-01-23 17:03:05 -03:00