Elena
c4b1f043c6
Remove obsoleted code from 0x/contracts-utils ( #643 )
...
* Remove TestAuthorizable
* Remove contracts/utils Authorizable and IAuthorizable
* Remove contracts/utils D18 contract
* Remove contracts/utils LibAddress contracts
* Remove contracts/utils LogDecoding contracts
* Remove contracts/utils Refundable contracts
* Remove contracts/utils LibAuthorizableRichErrors contracts
* Remove contracts/utils EIP712 contracts
* Remove contracts/utils TestRefundableReceiver contracts
* Remove contracts/utils EIP1271 contracts
* Remove contracts/utils ReentrancyGuardV06 contracts
* Remove contracts/utils LibMath contracts
* Remove contracts/utils LibFractions contracts
* Remove contracts/utils LibMathRichErrors contracts
* Remove DeploymentConstants as per PR review
https://github.com/0xProject/protocol/pull/643#pullrequestreview-1264963784
2023-02-06 19:35:39 +02:00
Savarn Dontamsetti (Sav)
891d173705
chore: adding V08 contracts [LIT-783] ( #646 )
...
* Adding V08 contracts
* Removing LibSafeMathV08
* Apply suggestions from code review
Co-authored-by: duncancmt <1207590+duncancmt@users.noreply.github.com>
2023-01-23 18:00:43 -05:00
Jacob Evans
68656b4a4d
chore: Prune old contracts ( #304 )
...
Prune exchange-libs
deploy migrations at specific address
remove exchange-libs, moving LibMath into Utils
Remove staking order-utils multisig and remaining asset-proxy
2021-08-18 10:33:47 +10:00
Lawrence Forman
2fce332ed7
ZeroEx: TransformERC20, TokenSpender ( #2545 )
...
* `@0x/contracts-utils`: Convert more 0.6 contracts
* `@0x/contracts-erc20`: Add solidity 0.6 contracts.
* `@0x/utils`: Add new `ZeroExRevertErrors` revert types
* `@0x/contracts-zero-ex`: Introduce the `TransformERC20` feature.
* `@0x/subproviders`: Update ganache-core.
`@0x/web3-wrapper`: Update ganache-core.
* `@0x/contracts-zero-ex`: Make `TokenSpender`'s puppet contract a distinct contract type and rename `getTokenSpenderPuppet()` to `getAllowanceTarget()`
* `@0x/zero-ex`: Rebase and use "slot" instead of "offset" language in storage buckets.
* `@0x/web3-wrapper`: Add `getAccountNonceAsync()` to `Web3Wrapper`
* `@0x/contracts-zero-ex`: Revamp TransformERC20.
* `@0x/contracts-zero-ex`: Remove `payable` from `IERC20Transformer.transform()` and disable hex capitalization linter rule because of prettier conflicts.
* `@0x/contracts-zero-ex`: Use `immutable` owner in `Puppet` instead of `Ownable`.
* `@x/utils`: Address review feedback.
* `@0x/contracts-zero-ex`: Address review feedback.
* `@0x/contracts-utils`: Address review feedback.
* `@0x/contracts-zero-ex`: Return deployment nonce in `transform()`.
* `@0x/contracts-zero-ex`: Finish returning deployment nonce in `transform()`.
* `@0x/contracts-zero-ex`: Fix doc-gen bug.
* `@0x/contracts-zero-ex`: Address review comments.
* `@0x/utils`: Add `NegativeTransformERC20OutputERror`
* `@0x/contracts-zero-ex`: Revert if the taker's output amount decreases.
Co-authored-by: Lawrence Forman <me@merklejerk.com>
2020-05-20 22:47:21 -04:00
Lawrence Forman
4d8d944fe5
@0x/contracts-utils
: Update package.json
2020-04-24 01:06:44 -04:00
Lawrence Forman
5e0758917b
@0x/contracts-utils
: Update DevUtils
address in DeploymentConstants
.
2020-02-24 12:42:01 -05:00
Alex Towle
1fd92b6cbd
Added unit tests for onlyAuthorized
2019-11-25 14:02:53 -06:00
Lawrence Forman
460d5f2517
@0x/contracts-utils
: Add DeploymentConstants
.
2019-11-20 05:50:15 -05:00
fabioberger
86b76a3e75
Introduce publicFacingContracts config in all package.jsons, refactor all imports from src in contracts packages
2019-11-11 15:10:15 +00:00
fabioberger
f011be9347
Update all contracts-*is package.json, tsconfig.json, compiler.json, artifacts/ts and wrappers.js
2019-11-10 23:41:56 +00:00
Alex Towle
41d99e77c7
@0x:contracts-utils
Removed SafeMath and the use of the contract throughout contracts/
2019-10-15 14:31:48 -07:00
Greg Hysen
c0cb78bb3f
Improving readability of staking
2019-09-05 11:46:50 -07:00
Alex Towle
05eb646848
@0x:contracts-utils
Added a Refundable contract
2019-08-28 15:01:30 -07:00
Alex Towle
365cb161cf
@0x:contracts-utils
Added a Refundable contract
2019-08-28 14:51:57 -07:00
Alex Towle
22c8a25a26
Merge branch 'development' into 3.0
2019-08-19 11:13:21 -07:00
Amir Bandeali
ccce7e001e
Compile all contracts by default, regenerate boilerplate
2019-08-13 16:19:48 -07:00
Amir Bandeali
2e97cfa5e5
Remove LibAssetProxyIds and TestLibConstants
2019-08-13 16:04:33 -07:00
Alex Towle
6fc38292f2
Add RichErrors for Authorizable
2019-08-02 13:45:41 -07:00
Alex Towle
89d8df3385
Moved MixinAuthorizable to Authorizable and fixed imports
2019-08-02 13:45:41 -07:00
Alex Towle
9c7df2b41e
Reverted MixinAuthorizable to old version and moved the new version to utils
2019-08-02 13:45:41 -07:00
Alex Towle
03fced81f5
Added unit tests for LibRichErrors
2019-07-30 12:06:35 -07:00
Alex Towle
f9292a8fb8
Added unit tests for LibEIP712
2019-07-30 12:06:35 -07:00
Alex Towle
065f46a020
Added unit tests for LibAddress
2019-07-30 12:06:35 -07:00
Alex Towle
6efb7027b5
Added unit tests for ReentrancyGuard
2019-07-30 12:06:35 -07:00
Alex Towle
f4f922acb5
Added unit tests for Ownable
2019-07-30 12:06:35 -07:00
Alex Towle
4a4d2e7079
Added unit tests for SafeMath
2019-07-30 12:06:35 -07:00
Greg Hysen
365c056b0f
Added tests for for decoding log arguments when artifact dependencies are included/excluded
2019-07-29 12:11:02 +02:00
James Towle
e229d2d59f
Updated tests to work with LibMathRichErrors
2019-07-23 15:52:20 -07:00
Amir Bandeali
8bd29596c4
Rename remaining inconsistencies
2019-07-23 15:21:14 -07:00
Lawrence Forman
7232bef07b
Change LibRichErrors
to just RichErrors
.
...
Fix compilation issues in `exchange`.
2019-07-23 15:10:31 -07:00
Amir Bandeali
308ff15adc
Refactor EIP712 libraries
2019-07-23 15:09:46 -07:00
Lawrence
b8925baa88
Add unit tests for contracts/utils/LibAddressArray.
...
Fix `LibAddressArray.indexOf` returning wrong index.
2019-03-20 10:19:46 -04:00
Leonid Logvinov
6943bbcacb
Temp
2019-02-04 10:38:02 +01:00
Leonid Logvinov
e8d0aff333
Refactor @0x/contracts-utils from @0x/contracts-core
2018-12-04 14:41:18 +01:00