Lawrence Forman
7ef3c12722
@0x/contracts-staking
: Well, it almost worked.
2019-09-22 12:10:41 -04:00
Lawrence Forman
a1aad2e55e
@0x/contracts-exchange
: Fixing tests and writing new ones.
2019-09-22 12:07:46 -04:00
Lawrence Forman
d548ddac0d
@0x/contracts-staking
: Fixing tests.
2019-09-22 12:07:46 -04:00
Michael Zhu
f7462c9f2b
keep track of globalStakeByStatus + tests
2019-09-18 10:09:45 -07:00
Greg Hysen
5a225795e1
Updated changelog and ran linter
2019-09-17 17:51:16 -07:00
Greg Hysen
768387fea9
Rebased and addressed PR comments
2019-09-17 17:37:12 -07:00
Greg Hysen
be1a70c461
refactored the staking vault
2019-09-17 17:36:46 -07:00
Amir Bandeali
9b2672841d
Fix build and tests
2019-09-17 15:51:46 -07:00
Amir Bandeali
f98f3660f9
Add back balanceOf getters in vaults, remove public variable getters from inherited interfaces
2019-09-16 22:50:47 -07:00
Amir Bandeali
fd4141e1f3
Fix build
2019-09-16 22:50:11 -07:00
Alex Towle
6fd9308e1b
@0x:contract-staking
Added integration tests for
2019-09-12 18:17:00 -07:00
Lawrence Forman
2ed39cd18d
@0x/contracts-staking
: Rename Tuned
event to ParamsChanged
.
...
`@0x/contracts-staking`: Merge `exchange_fees` unit tests into `protocol_fees` unit tests.
`@0x/contracts-staking`: Remove `ProtocolFeeActor` and any use of it.
`@0x/contracts-staking`: Remove unused constants.
`@0x/contracts-staking`: Move WETH assertion constructor into `MixinDeploymentConstants`.
`@0x/contracts-staking`: Add more unit tests.
2019-09-10 00:32:43 -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
Michael Zhu
6d83b2676e
rip staking_wrapper.ts, use wrapped staking proxy pattern instead
2019-09-09 15:47:15 -07:00
Alex Towle
2fdd4e9760
@0x:contracts-staking
Addressed some review comments
2019-09-09 10:25:19 -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
5ac4c72f1a
current -> currentEpochBalance and next -> nextEpochBalance
2019-09-05 12:27:43 -07:00
Greg Hysen
deceed37f3
Stake State -> Status in tests
2019-09-05 12:27:43 -07:00
Greg Hysen
4bc84cd526
Rich reverts in tests plus readability
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
eb6ad7d29d
New staking mechanics: delay on entry opposed to exit
2019-09-05 11:45:11 -07:00
Michael Zhu
2c15b3f9bd
remove staking RevertReasons from TS types, ExchangeAlreadyRegisteredError -> ExchangeAddressAlreadyRegisteredError
2019-08-26 15:49:09 -07:00
Michael Zhu
0d5e037081
use mocha extensions in staking tests
2019-08-26 15:49:09 -07:00
Michael Zhu
dbda3a04b2
update tests to use RichErrors
2019-08-26 15:49:09 -07:00
Greg Hysen
d106051ee3
CamelCase for timelocks
2019-08-21 13:04:20 -07:00
Greg Hysen
cd14d1ef0f
ran prettier
2019-08-21 13:04:19 -07:00
Greg Hysen
598d70c6dc
Renamed getStakeDelegatedToPool -> getTotalStakeDelegatedToPool for readability
2019-08-21 13:04:19 -07:00
Greg Hysen
3e6cae0ca0
Documentation for MixinDelegatedStake
2019-08-21 13:04:18 -07:00
Greg Hysen
93844343de
Documented MixinStake.sol
2019-08-21 13:04:18 -07:00
Greg Hysen
44c44a2b9c
Some renaming pool -> staking pool for readability
2019-08-21 13:04:18 -07:00
Greg Hysen
ab3246cc71
Cleaned up staking pool mixin
2019-08-21 13:04:17 -07:00
Greg Hysen
5147b6e699
fixing linter errors
2019-08-21 13:04:16 -07:00
Greg Hysen
9294bf40a7
Ran yarn fix
2019-08-21 13:04:16 -07:00
Greg Hysen
a02f96c913
ran prettier
2019-08-21 13:04:16 -07:00
Greg Hysen
8a2df9cd1f
Working on simulation to make it easier to follow the end-to-end tests. Mostly working.
2019-08-21 13:04:16 -07:00
Greg Hysen
74d9891e06
actors for maker / pool operator + comprehensive test cases
2019-08-21 13:04:16 -07:00
Greg Hysen
2c7efd0b97
separating out tests for readability
2019-08-21 13:04:15 -07:00
Greg Hysen
99a0835ecc
Fixed staker actor assertions
2019-08-21 13:04:15 -07:00
Greg Hysen
0bb227a79b
Delegator Actor
2019-08-21 13:04:15 -07:00
Greg Hysen
84e7357960
starting on a delegator actror
2019-08-21 13:04:15 -07:00
Greg Hysen
8343105b54
cleaned up staker actor
2019-08-21 13:04:15 -07:00
Greg Hysen
38cad56bf9
Staker Actor
2019-08-21 13:04:15 -07:00