Remco Bloemen
4caf1271e4
Golf ERC721 transferFrom
2018-06-26 12:23:19 -07:00
Remco Bloemen
6921943aff
Inline ERC20 tranferFrom selector constant
2018-06-26 12:23:19 -07:00
Remco Bloemen
3ce90b8257
Optimize ERC20 transferFrom
2018-06-26 12:23:19 -07:00
Brandon Millman
744e6e60c5
Polish asset picker layout
2018-06-26 11:17:00 -07:00
Brandon Millman
3a808fe7fd
Update relayer grid fallback icon
2018-06-26 10:40:59 -07:00
Brandon Millman
2ca169b3c4
Merge pull request #777 from 0xProject/feature/website/browser-detection
...
Change metamask install link based on browser
2018-06-26 10:29:26 -07:00
Alex Browne
098d486291
Merge pull request #776 from 0xProject/ethereum-js-tx-1.3.5
...
Use ethereumjs-tx@1.3.5 instead of our fork
2018-06-26 10:22:53 -07:00
Fabio Berger
ec4fb70b80
Merge pull request #760 from 0xProject/refactor/check-revert-reasons
...
Check Revert Reasons in Contract Tests
2018-06-26 19:20:19 +02:00
Fabio Berger
1bc742aed1
Temporarily switch revert reasons to TransferFailed. Should be InvalidAmount but because of an oversight in the assembly implementation of dispatchTransferFrom, it always throws TransferFailed
2018-06-26 18:49:10 +02:00
Fabio Berger
f780e6f235
Expect RevertReason be passed in, not string
2018-06-26 08:11:32 +02:00
Fabio Berger
27670f4da6
Rename RevertReasons to RevertReason since singular enum names are more common
2018-06-26 08:11:14 +02:00
Fabio Berger
e051743a3d
Merge branch 'v2-prototype' into refactor/check-revert-reasons
...
* v2-prototype: (21 commits)
Don't use variables for revert reasons
Add comments to dispatchTransferFrom
Document IAssetData
Compute bytes4 proxyid constants
Return inplace bytes in LibBytes.readBytesWithLength
Add Greg's documentation to MixinErc721Transfer
Add Greg's documentation to MixinErc20Transfer
Gas golf the transfer success logic
Optimize like in PR #767
Run prettier and fix linting errors
Fix tests
Update tests
Fix AssetProxyUtils
Update tests
Fix ERC721Proxy TokenId
Update AssetProxyUtils
Add IAssetData
WIP
ABI encoded asset data
Remove proxyId argument from dispatchTransferFrom
...
# Conflicts:
# packages/contracts/test/asset_proxy/proxies.ts
2018-06-26 08:07:37 +02:00
Brandon Millman
e52d0a3512
Change metamask install link based on browser
2018-06-25 17:48:36 -07:00
Amir Bandeali
cba92a01b6
Merge pull request #743 from 0xProject/feature/contracts/abi-encoded
...
ABI encode assetData fields
2018-06-25 16:53:15 -07:00
Alex Browne
0a87364101
Use ethereumjs-tx@1.3.5 instead of our fork
2018-06-25 16:40:33 -07:00
Amir Bandeali
a89908540f
Don't use variables for revert reasons
2018-06-25 16:34:06 -07:00
Amir Bandeali
0163984ea4
Add comments to dispatchTransferFrom
2018-06-25 16:19:08 -07:00
Remco Bloemen
db3ce08cab
Document IAssetData
2018-06-25 16:19:08 -07:00
Remco Bloemen
1076959006
Compute bytes4 proxyid constants
2018-06-25 16:19:08 -07:00
Remco Bloemen
5127cbb22c
Return inplace bytes in LibBytes.readBytesWithLength
2018-06-25 16:19:08 -07:00
Remco Bloemen
9175b43542
Add Greg's documentation to MixinErc721Transfer
2018-06-25 16:19:07 -07:00
Remco Bloemen
562fec01d8
Add Greg's documentation to MixinErc20Transfer
2018-06-25 16:19:07 -07:00
Remco Bloemen
b8051c8fed
Gas golf the transfer success logic
2018-06-25 16:19:07 -07:00
Remco Bloemen
4df66a4802
Optimize like in PR #767
2018-06-25 16:19:07 -07:00
Amir Bandeali
a2ff63daa5
Run prettier and fix linting errors
2018-06-25 16:19:07 -07:00
Amir Bandeali
7ce0f9682f
Fix tests
2018-06-25 16:19:07 -07:00
Remco Bloemen
3c6d0dc3e0
Update tests
2018-06-25 16:19:07 -07:00
Remco Bloemen
64a6fb2344
Fix AssetProxyUtils
2018-06-25 16:19:07 -07:00
Remco Bloemen
07734a5184
Update tests
2018-06-25 16:19:07 -07:00
Remco Bloemen
32d4994219
Fix ERC721Proxy TokenId
2018-06-25 16:19:07 -07:00
Remco Bloemen
08d22d2f3c
Update AssetProxyUtils
2018-06-25 16:19:07 -07:00
Remco Bloemen
b7b0185baf
Add IAssetData
2018-06-25 16:19:07 -07:00
Remco Bloemen
7b0c13c121
WIP
2018-06-25 16:19:07 -07:00
Remco Bloemen
a98ecc05af
ABI encoded asset data
2018-06-25 16:19:07 -07:00
Remco Bloemen
f7337c1a05
Remove proxyId argument from dispatchTransferFrom
2018-06-25 16:19:07 -07:00
Fabio Berger
9341afe764
Merge pull request #772 from 0xProject/add-coverage-instructions
...
Improve Contracts README Testing Section
2018-06-25 19:58:15 +02:00
Fabio Berger
ec9d1ca57e
Document all the contract test options in README
2018-06-25 15:18:02 +02:00
Fabio Berger
f811c07454
Move RevertReasons to @0xproject/types package
2018-06-25 12:59:26 +02:00
Fabio Berger
bb85382824
Add missing import
2018-06-25 12:47:44 +02:00
Fabio Berger
df79fb19af
Merge branch 'v2-prototype' into refactor/check-revert-reasons
...
* v2-prototype: (48 commits)
Fix typos in comments
Add modifier and tests for removeAuthorizedAddressAtIndex
Update and add tests
Change removeAuthorizedAddress => removeAuthorizedAddressAtIndex
Move isFunctionRemoveAuthorizedAddress to test
Fix usage of `popLastByte`
Fix LibBytes is a library
Remove `areBytesEqual`
Fix usage of `contentAddress()`
Clean low bits in bytes4
Clean high bits in address
Refactor LibBytes.readBytes4 for consistency
Fix LibBytes.equals
Add trailing garbage testcase for LibBytes.equals
Rename bytes.equals
Add slice and sliceDestructive
Rename bytes.rawAddress and add bytes.contentAddress
Rename read/writeBytesWithLength
Using LibBytes for bytes
Make LibBytes a library
...
# Conflicts:
# packages/contracts/src/contracts/current/utils/Ownable/Ownable.sol
# packages/contracts/test/libraries/lib_bytes.ts
2018-06-25 11:45:17 +02:00
Leonid Logvinov
f8bde5ab9b
Merge pull request #735 from feuGeneA/metacoin-independence
...
Metacoin independence
2018-06-25 11:35:24 +02:00
Jacob Evans
0cd37cbf7e
Merge pull request #758 from 0xProject/fix/order-utils/known-order-hash
...
Fix known order hash value test in order-utils
2018-06-25 15:47:07 +10:00
Remco Bloemen
d621e4201d
Merge pull request #698 from 0xProject/fix/contracts/using-libbytes
...
Fixes and refactoring regarding LibBytes
2018-06-23 14:08:40 +02:00
Remco Bloemen
82af1df3c3
Fix typos in comments
2018-06-23 13:55:02 +02:00
Amir Bandeali
ea8c2b8d69
Add modifier and tests for removeAuthorizedAddressAtIndex
2018-06-23 13:53:39 +02:00
Amir Bandeali
8ddcb6c841
Update and add tests
2018-06-23 13:53:39 +02:00
Amir Bandeali
1681361aed
Change removeAuthorizedAddress => removeAuthorizedAddressAtIndex
2018-06-23 13:53:39 +02:00
Remco Bloemen
6a6f98299d
Move isFunctionRemoveAuthorizedAddress to test
2018-06-23 13:53:39 +02:00
Remco Bloemen
19ba272d62
Fix usage of popLastByte
2018-06-23 13:53:39 +02:00
Remco Bloemen
2f8ceca2ef
Fix LibBytes is a library
2018-06-23 13:53:39 +02:00