Amir Bandeali
|
d806701d28
|
Use fromHex instead of doing length -> byte length calculation
|
2019-09-03 17:51:41 -07:00 |
|
Amir Bandeali
|
3935e661fe
|
Add more writeLength tests
|
2019-09-03 17:05:32 -07:00 |
|
Amir Bandeali
|
cb8cf1f107
|
Add back batchFillOrders
|
2019-09-03 11:06:45 -07:00 |
|
Amir Bandeali
|
ea8669439f
|
Minor styling and naming changes
|
2019-09-03 09:48:21 -07:00 |
|
Amir Bandeali
|
75a8b1c081
|
Use same taker numerator/denominator for all math in calculateFillResults
|
2019-09-03 09:48:16 -07:00 |
|
Amir Bandeali
|
73144fa4d5
|
Fix _setCurrentContextAddressIfRequired
|
2019-09-02 20:35:20 -07:00 |
|
Amir Bandeali
|
a6b60f3230
|
Create _readSignatureType with minimal validation
|
2019-09-02 20:34:23 -07:00 |
|
Amir Bandeali
|
48dfb3317a
|
Fix tests
|
2019-09-02 14:36:27 -07:00 |
|
Amir Bandeali
|
b3b0496c49
|
Fix build and linting errors
|
2019-09-02 11:41:13 -07:00 |
|
Amir Bandeali
|
e880447714
|
Refactor EIP1271Wallet and Validator types to use new EIP1271SignatureError
|
2019-09-02 11:38:52 -07:00 |
|
Amir Bandeali
|
fd4d10e7a4
|
Create EIP1271SignatureError rich revert
|
2019-09-02 11:37:39 -07:00 |
|
Amir Bandeali
|
18b65a61ff
|
Fix build
|
2019-09-01 19:14:16 -07:00 |
|
Amir Bandeali
|
02a1e17f50
|
Reuse EIP1271 wallet code with internal function
|
2019-09-01 18:53:57 -07:00 |
|
Amir Bandeali
|
9a3a302754
|
Create writeLength function in LibBytes
|
2019-09-01 18:32:52 -07:00 |
|
Amir Bandeali
|
d131c39e46
|
Create _setCurrentContextAddressIfRequired function in MixinTransactions
|
2019-09-01 18:31:46 -07:00 |
|
Amir Bandeali
|
8231e7703e
|
Allow unlimited contract sizes by default
|
2019-09-01 18:30:33 -07:00 |
|
Amir Bandeali
|
406a78a11a
|
Use internal functions in Refundable modifiers
|
2019-09-01 17:43:18 -07:00 |
|
Amir Bandeali
|
fe01a150f0
|
Use internal function in onlyOwner, onlyAuthorized, and nonReentrant modifiers
|
2019-09-01 15:54:16 -07:00 |
|
Amir Bandeali
|
dd499591e9
|
Make assetProxies mapping internal (getter function already exists)
|
2019-09-01 15:13:57 -07:00 |
|
Amir Bandeali
|
c0f1e5f17f
|
Make fillOrderNoThrow internal only, remove batchFillOrders
|
2019-09-01 12:22:00 -07:00 |
|
Amir Bandeali
|
b888e48a30
|
Remove getOrdersInfo
|
2019-09-01 11:24:16 -07:00 |
|
Amir Bandeali
|
8410ee9d2f
|
Remove unnecessary public functions
|
2019-09-01 11:01:01 -07:00 |
|
Amir Bandeali
|
b7238c702b
|
Increase optimizer runs
|
2019-09-01 11:00:07 -07:00 |
|
Amir Bandeali
|
b20503c5a2
|
Fix off by 1 error
|
2019-08-30 11:39:28 -07:00 |
|
Amir Bandeali
|
d0869a8840
|
Fix linting errors
|
2019-08-30 11:39:28 -07:00 |
|
Amir Bandeali
|
c156bfc534
|
Remove TestValidatorWallet DataType
|
2019-08-30 11:39:28 -07:00 |
|
Amir Bandeali
|
5f8e092c96
|
Move EIP1271 selectors to their own interface
|
2019-08-30 11:39:27 -07:00 |
|
Amir Bandeali
|
87c9f9af71
|
Remove example contracts
|
2019-08-30 11:37:40 -07:00 |
|
Amir Bandeali
|
65e5ecf49d
|
Encode arguments with selector before passing into EIP1271 isValidSignature
|
2019-08-30 11:32:22 -07:00 |
|
Alex Towle
|
2c1393fb09
|
@0x:contracts-exchange Addressed lingering review comments
|
2019-08-29 23:50:48 -07:00 |
|
Alex Towle
|
dba0d8469d
|
@0x:contracts-exchange Addressed review feedback
|
2019-08-29 15:20:52 -07:00 |
|
Alex Towle
|
75e6c45285
|
@0x:contracts-exchange Added the tests for getOrdersInfo back into the exchange
|
2019-08-28 17:02:43 -07:00 |
|
Alex Towle
|
e64e0d7421
|
@0x:contracts-exchange Added getOrdersInfo back into the exchange
|
2019-08-28 16:42:29 -07:00 |
|
Alex Towle
|
13d5a5e2ec
|
@0x:contracts-exchange Added a test to ensure that registerAssetProxy will fail for non-contract proxies
|
2019-08-28 16:24:36 -07:00 |
|
Alex Towle
|
3432083343
|
@0x:contracts-staking Updated payProtocolFee trivially to fix the build.
This is not a real to update to `payProtocolFee`. Rather, the interface
was updated to it's finished state. This will be addressed in my next
PR.
|
2019-08-28 16:15:13 -07:00 |
|
Alex Towle
|
df4282fb34
|
Fixed issues after rebase
|
2019-08-28 15:50:23 -07:00 |
|
Alex Towle
|
861aebb2e3
|
@0x:contracts-exchange Refactored the protocol fee tests and added tests for batchFillOrders
|
2019-08-28 15:08:40 -07:00 |
|
Alex Towle
|
cc7b8359b4
|
@0x:contracts-exchange Added tests for matchOrders protocol fees
|
2019-08-28 15:05:33 -07:00 |
|
Alex Towle
|
dd0d848530
|
@0x:contracts-exchange Added tests for fillOrder protocol fees
|
2019-08-28 15:05:33 -07:00 |
|
Alex Towle
|
7f17033ce3
|
@0x:contracts-exchange Added protocol fees to fillOrders and matchOrders
|
2019-08-28 15:05:13 -07:00 |
|
Alex Towle
|
3a4e72bb08
|
@0x:contracts-exchange-libs Added protocol fees to LibFillResults
* This commit also squashed some bugs in the reference functions.
Thankfully, combinatorial testing had our back!
|
2019-08-28 15:03:32 -07:00 |
|
Alex Towle
|
bf3751fd9e
|
@0x:contracts-exchange Added the MixinProtocolFees contract
|
2019-08-28 15:03:32 -07:00 |
|
Alex Towle
|
05eb646848
|
@0x:contracts-utils Added a Refundable contract
|
2019-08-28 15:01:30 -07:00 |
|
Amir Bandeali
|
5fe231b689
|
Reorder Cancel event args for consistency
|
2019-08-28 15:01:30 -07:00 |
|
Amir Bandeali
|
5ee7c2f9dc
|
Reorder Fill event args to get around stack limit
|
2019-08-28 15:01:30 -07:00 |
|
Alex Towle
|
2c970a0466
|
@0x:contracts-exchange Added protocol fees to fill order
|
2019-08-28 15:01:30 -07:00 |
|
Alex Towle
|
c688b11c86
|
@0x:contracts-exchange-libs Added protocol fees to LibFillResults
* This commit also squashed some bugs in the reference functions.
Thankfully, combinatorial testing had our back!
|
2019-08-28 15:01:30 -07:00 |
|
Alex Towle
|
749c0354b3
|
@0x:contracts-staking Added protocol fee functions to IStaking
|
2019-08-28 14:56:40 -07:00 |
|
Alex Towle
|
415af90ae7
|
@0x:contracts-exchange Added the MixinStakingManager contract
|
2019-08-28 14:53:45 -07:00 |
|
Alex Towle
|
365cb161cf
|
@0x:contracts-utils Added a Refundable contract
|
2019-08-28 14:51:57 -07:00 |
|