Alex Towle
|
036c8fe920
|
@0x:contracts-staking Fixed style issues in staking RichErrors
|
2019-09-11 17:11:04 -07:00 |
|
Lawrence Forman
|
34acd71835
|
@0x/order-utils : Rename InvalidParamValue RevertError to InvalidParamValueError .
|
2019-09-10 15:31:19 -04:00 |
|
Lawrence Forman
|
3b28c9d5a7
|
@0x/order-utils : Rename OperatorShareMustBeBetween0And100 to OperatorShareTooLarge .
|
2019-09-10 00:39:45 -04:00 |
|
Lawrence Forman
|
d8d791e4f0
|
@0x/order-utils : Remove redundant InvalidStakeStatusError in registry.
|
2019-09-10 00:32:43 -04:00 |
|
Lawrence Forman
|
2a21d87193
|
@0x-order-utils : Rename InvalidTuningValue -> InvalidParamValue .
|
2019-09-10 00:31:24 -04:00 |
|
Lawrence Forman
|
7cee17887a
|
@0x/order-utils : Add MxinParamsAlreadyInitialized to StakingRevertErrors.InitializationErrorCode .
|
2019-09-10 00:31:24 -04:00 |
|
Lawrence Forman
|
a554ae904f
|
@0x/order-utils : Add InvalidRewardDelegatedStakeWeight and InvalidMaximumMakersInPool to InvalidTuningValueErrorCode .
|
2019-09-10 00:31:24 -04:00 |
|
Lawrence Forman
|
b9d243e70e
|
@0x/order-utils : Add InitializationError , InvalidTuningValue to StakingRevertErrors .
|
2019-09-10 00:31:24 -04:00 |
|
Michael Zhu
|
1d6406bbd6
|
move operator from staking logic to vault, allow operator to decrease operatorShare
|
2019-09-09 16:29:19 -07:00 |
|
James Towle
|
c21bce9641
|
Merge pull request #2130 from 0xProject/feature/staking/protocol-fees
Feature/staking/protocol fees
|
2019-09-09 15:13:33 -07:00 |
|
Alex Towle
|
2fdd4e9760
|
@0x:contracts-staking Addressed some review comments
|
2019-09-09 10:25:19 -07:00 |
|
Amir Bandeali
|
67ef17f929
|
Consolidate TransactionSignatureError with SignatureError
|
2019-09-08 18:55:42 -07:00 |
|
Alex Towle
|
30fee43928
|
@0x:contracts-staking Added tests for protocol fees
|
2019-09-07 13:44:04 -07:00 |
|
Michael Zhu
|
86a28f0d19
|
New logic for makers joining pools
|
2019-09-06 16:09:35 -07:00 |
|
Greg Hysen
|
49baafadc1
|
updated changelogs
|
2019-09-05 12:37:54 -07:00 |
|
Greg Hysen
|
24e62feadf
|
Fixed linter
|
2019-09-05 12:27:44 -07:00 |
|
Greg Hysen
|
67079d96af
|
Got build to work after rebase
|
2019-09-05 12:27:43 -07:00 |
|
Greg Hysen
|
293c428186
|
Tests for new staking mechanics
|
2019-09-05 12:27:43 -07:00 |
|
Greg Hysen
|
d1b004ffc1
|
Some readability plus updated changelogs
|
2019-09-05 12:26:04 -07:00 |
|
Greg Hysen
|
da83f75a13
|
Readability Improvements
|
2019-09-05 11:54:16 -07:00 |
|
Greg Hysen
|
7e5e2241cb
|
Rich Reverts in new staking mechanics
|
2019-09-05 11:50:22 -07:00 |
|
Lawrence Forman
|
7c3567f5e7
|
@0x/utils : Remove redundant FixedMath prefix from FixedMath RevertError types.
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
b07fc95c81
|
@0x/utils : Add docstring for raw constructor parameter in RevertError .
`@0x/utils`: Use `...is.instanceof()` pattern in `RevertError` tests.
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
f601329a47
|
@0x/utils : Rename length field to len in AuthorizableRevertErrors.IndexOutOfBoundsError .
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
2b3e7e7ab7
|
@0x/dev-utils : Remove no longer applicable test case in chai_test.ts .
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
cb1dc92594
|
@0x/order-utils : Rename OperatorShareMustBeBetween0And100Error RevertError type to InvalidPoolOperatorShareError .
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
495bf08498
|
@0x/utils : Update CHANGELOG.
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
a1a5bdce78
|
@0x/order-utils : Prettier.
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
f724212fd7
|
@0x/utils : Prettier.
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
2e357ffeab
|
@0x/dev-utils : Add total_accounts option to Web3Config .
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
7f40665a0e
|
@0x/utils : Fix order of BinOpErrorCodes enum in FixedMathRevertErrors .
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
b10036444d
|
@0x/order-utils : Add TransactionInvalidContextError to the RevertError registry.
|
2019-09-04 20:18:55 -04:00 |
|
Lawrence Forman
|
0542c70d22
|
@0x/utils : Make decoding of unknown selectors to RawRevertError optional.
|
2019-09-04 20:16:44 -04:00 |
|
Lawrence Forman
|
f71484c9f0
|
@0x/order-utils : Add TransactionGasPriceError to error registry.
|
2019-09-04 20:16:44 -04:00 |
|
Lawrence Forman
|
2cf74a7a96
|
@0x/utils : Make RevertError.decode() return a RawRevertError if the selector is unknown.
|
2019-09-04 20:15:16 -04:00 |
|
Lawrence Forman
|
018bcf273f
|
@0x/utils : Fix FixedMathRevertError.FixedMathBinOpError type.
`@0x/utils`: Have Ganache `Error` -> `RevertError` coercion fail if it can't look up the selector.
|
2019-09-04 20:15:15 -04:00 |
|
Lawrence Forman
|
1a3da4b363
|
@0x/utils : Fix registering FixedMathSignedValueError twice.
|
2019-09-04 20:15:15 -04:00 |
|
Lawrence Forman
|
7b5e3dab17
|
@0x/contracts-staking : Add rich reverts.
`@0x/utils`: Add `LibFixedMath` `RevertError` types.
`@0x/order-utils`: Add `InvalidCobbDouglasAlphaerror` `RevertError` type.
|
2019-09-04 20:15:15 -04:00 |
|
Amir Bandeali
|
f792d403e5
|
Add new rich revert errors
|
2019-09-03 20:11:47 -07:00 |
|
Amir Bandeali
|
fd4d10e7a4
|
Create EIP1271SignatureError rich revert
|
2019-09-02 11:37:39 -07:00 |
|
Amir Bandeali
|
9974e10069
|
Fix Buffer warning
|
2019-09-01 19:14:28 -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
|
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 |
|
mzhu25
|
c926a586d2
|
Merge pull request #2103 from 0xProject/feature/contracts-staking/rich-reverts
Staking RichErrors and cleanup
|
2019-08-26 17:32:05 -07:00 |
|
Michael Zhu
|
9b957524a5
|
replace abi.encodeWithSelector calls with bytes constant + other nits
|
2019-08-26 16:58:56 -07:00 |
|
Michael Zhu
|
078b1af04e
|
Binop -> BinOp
|
2019-08-26 16:06:31 -07:00 |
|
Michael Zhu
|
2c15b3f9bd
|
remove staking RevertReasons from TS types, ExchangeAlreadyRegisteredError -> ExchangeAddressAlreadyRegisteredError
|
2019-08-26 15:49:09 -07:00 |
|
Michael Zhu
|
dbda3a04b2
|
update tests to use RichErrors
|
2019-08-26 15:49:09 -07:00 |
|
Michael Zhu
|
98e5b26eb7
|
refactor SafeMath rich errors and use them in staking libs
|
2019-08-26 15:49:09 -07:00 |
|
Michael Zhu
|
52ef745f7c
|
run codegen script
|
2019-08-26 15:49:08 -07:00 |
|