Lawrence Forman
7762b7b665
@0x/contracts-asset-proxy
: Add signature validation.
2019-10-01 19:46:14 -07:00
Lawrence Forman
82ac8e29e3
@0x/contracts-asset-proxy
: Add Eth2DaiBridge
and tests.
2019-10-01 19:46:14 -07:00
Michael Zhu
8077123e9f
update contracts and tests to support different maker assets
2019-10-01 16:19:47 -07:00
Michael Zhu
3948f8b66b
Replace nonReentrant + refundFinalBalance with refundFinalBalanceNoReentry
2019-10-01 15:39:50 -07:00
Michael Zhu
0ff8b12770
rmeove maker asset equality check; update to reflect removal of weth asset proxy
2019-10-01 13:08:17 -07:00
fabioberger
8c5e12d389
Update or add CHANGELOG entries for all packages that will be published by Lerna to include a beta version. This dictates the version published to NPM and avoids any default patch bumps
2019-10-01 17:56:57 +08:00
Michael Zhu
b01de802cb
address styling nits; only calculate protocol fee once
2019-09-30 21:51:34 -07:00
Michael Zhu
e954e9ca20
update tests
2019-09-30 21:51:34 -07:00
Michael Zhu
3f8639bd9c
Update MixinExchangeWrapper to handle protocol fees
2019-09-30 21:51:34 -07:00
James Towle
c4b621e44d
Merge pull request #2215 from 0xProject/feature/staking/end-to-end/deployment-test
...
End-to-end Deployment Test
2019-09-30 19:42:41 -07:00
Lawrence Forman
2c8f7fac0e
Merge pull request #2220 from 0xProject/feat/erc20-bridge/hello-world
...
ERC20BridgeProxy
2019-09-30 20:52:36 -04:00
Alex Towle
072ff65bf9
@0x:contracts-staking
Removed multisig as a dependency
2019-09-30 17:46:57 -07:00
Amir Bandeali
aa198ad15f
Add tests for adding/removing an exchange called by owner
2019-09-30 17:42:25 -07:00
Amir Bandeali
745da8e363
Fix tests
2019-09-30 17:36:37 -07:00
Amir Bandeali
be173a9970
Add sender as authorized address before calling init in test contracts
2019-09-30 17:36:37 -07:00
Amir Bandeali
8b2b500414
Remove authorization of owner in StakingProxy after init is called in constructor
2019-09-30 17:36:37 -07:00
Amir Bandeali
98d1f5405a
Do not authorize owner in ZrxVault constructor
2019-09-30 17:36:37 -07:00
Lawrence Forman
6da48be1a4
@0x/contracts-asset-proxy
: Merge ERC20Bridge
into IERC20Bridge
.
2019-09-30 17:28:36 -07:00
Alex Towle
6ca8edbf19
@0x:contracts-exchange
Moved the deployment test to the exchange and addressed other review comments
2019-09-30 17:25:31 -07:00
Lawrence Forman
579dba1473
@0x/contracts-asset-proxy
: Minor ERC20BridgeProxy
test changes.
2019-09-30 17:06:31 -07:00
Amir Bandeali
1b5fa15c8c
Merge pull request #2222 from 0xProject/feat/3.0/remove-weth-asset-proxy
...
Remove wethAssetProxy and wethAssetData from staking contracts
2019-09-30 17:03:16 -07:00
F. Eugene Aumson
c051e11a49
OrderValidationUtils: don't parse fee asset data when there are no fees specified ( #2218 )
...
* exhibit bug: empty fee asset data induces revert
* fix bug: don't parse fee asset data unless fee>0
* Update DevUtils Kovan contract address
2019-09-30 17:53:21 -04:00
Amir Bandeali
a5692690dc
Fix protocol fees tests
2019-09-30 09:37:57 -07:00
Amir Bandeali
98106ca8a2
Fix test conttracts
2019-09-30 09:37:53 -07:00
Lawrence Forman
8006e4fe3b
@0x/contracts-asset-proxy
: Change proxy ID and add proxy signature to IAssetData
.
2019-09-29 21:53:42 -04:00
Amir Bandeali
f17c6b0a83
Remove unused IAssetProxy imports
2019-09-29 15:45:27 -07:00
Amir Bandeali
57ca601be1
Remove wethAssetProxy and wethAssetData from staking contract
2019-09-29 15:45:08 -07:00
Lawrence Forman
b50e26dc2a
@0x/contracts-asset-proxy
: Rename IERC20Bridge.transfer()
-> IERC20Bridge.withdrawTo()
.
...
`@0x/contracts-asset-proxy`: Make `bridgeData` last parameter in `IERC20Bridge.withdrawTo()`.
`@0x/contracts-asset-proxy`: Reuse `PROXY_ID` as `BRIDGE_SUCCESS`.
2019-09-29 17:10:38 -04:00
Lawrence Forman
b728d13d8c
@0x/contracts-asset-proxy
: Remove only
tests modifier.
2019-09-27 23:54:32 -04:00
Lawrence Forman
1959d149f8
@0x/contracts-asset-proxy
: Fix incorrect comments in ERC20BridgeProxy
tests.
2019-09-27 19:49:23 -04:00
Lawrence Forman
3e2e05caf2
Update changelogs
2019-09-27 19:47:14 -04:00
Lawrence Forman
d6a4d67a14
@0x/contracts-asset-proxy
: Add ERC20BridgeProxy
and tests.
2019-09-27 19:33:33 -04:00
Lawrence Forman
cf8d424b9b
@0x/contracts-test-utils
: Add number_utils.ts
and hexSize()
.
2019-09-27 19:32:55 -04:00
Francesco Agosti
d21f978def
Merge pull request #2212 from 0xProject/refactor/no-domain-in-order
...
Remove domain from Order and remove OrderWithoutDomain type
2019-09-27 14:04:18 -07:00
fragosti
88dcf6350d
Fix exchange-libs test
2019-09-27 13:20:09 -07:00
Michael Zhu
6cfc17de35
MixinStakeStorage unit tests
2019-09-27 13:01:20 -07:00
fragosti
efd5eff22c
Fix tests
2019-09-27 12:46:20 -07:00
Alex Towle
9282684d93
@0x:contracts-staking
Added a full end-to-end test of a deployment of the exchange and staking system
2019-09-26 18:10:52 -07:00
James Towle
c9e03f7d42
Merge pull request #2211 from 0xProject/feature/staking/exchange-manager-units
...
`@0x:contracts-staking` Added unit tests for MixinExchangeManager
2019-09-26 15:53:40 -07:00
Xianny
cb20f03a92
Use hardcoded deployedBytecode for local EVM execution ( #2198 )
...
* hardcode deployedBytecode in contracts
* log warning if bytecode is empty or invalid
* be typesafe
2019-09-26 08:38:29 -07:00
fragosti
f0e0f08e0c
Run linter and prettier
2019-09-25 18:44:19 -07:00
fragosti
8ba38b9b29
Remove the OrderWithoutDomain type
2019-09-25 18:44:19 -07:00
fragosti
9870f55d24
Remove domain from Order type
2019-09-25 18:44:19 -07:00
Alex Towle
3fa922dbab
@0x:contracts-staking
Wrote a basic deployment test
2019-09-25 18:09:50 -07:00
Alex Towle
aa7f082d56
@0x:contracts-staking
Addressed review comments
2019-09-25 16:48:34 -07:00
Alex Towle
b178d025b5
@0x:contracts-staking
Added unit tests for MixinExchangeManager
2019-09-25 15:32:02 -07:00
Lawrence Forman
96c8da9fdd
Merge pull request #2207 from 0xProject/fix/3.0/improve-readability
...
Improve readability, fix `_trySetCumulativeReward` logic
2019-09-25 17:14:06 -04:00
Greg Hysen
b9b135cfa2
Finished removing outdated contract comments
2019-09-25 13:41:27 -07:00
Lawrence Forman
f925c35344
@0x/contracts-staking: Always do
_withdrawAndSyncDelegatorRewards() before staking operations and always add a CR (if unset) in
_withdrawSyncDelegatorRewards()`.
2019-09-25 16:34:06 -04:00
Greg Hysen
ca2e9bed27
Updated README to point to new specification, plus removed images we no longer need.
2019-09-25 12:48:12 -07:00