Alex Towle
8943b670a4
@0x:contracts-integrations
Refactored match_order_test
to do some testing with Weth protocol fees
2019-11-18 17:56:07 -08:00
Alex Towle
c92ff7c622
@0x:contracts-integrations
Polished up match order tester
2019-11-18 17:56:07 -08:00
Alex Towle
301b5e1721
@0x:contracts-integrations
Added a sanity check for different token types
2019-11-18 17:56:07 -08:00
Alex Towle
4e50b9b479
@0x:contracts-integrations
Refactored match_orders_test
2019-11-18 17:56:07 -08:00
Alex Towle
f8b7b8cc28
@0x:contracts-integrations
Made an initial refactor of MatchOrderTester
2019-11-18 17:56:07 -08:00
Alex Towle
2a6ea74be7
@0x:contracts-integrations
Moved matchOrders into integrations
2019-11-18 17:56:06 -08:00
Jacob Evans
6d6a0c12cd
Merge pull request #2343 from 0xProject/optimize/refactor-templates
...
abi-gen-wrappers: Move shared logic into BaseContract
2019-11-19 11:53:30 +10:00
Amir Bandeali
784a03300a
Update CHANGELOGs
2019-11-18 16:10:54 -08:00
Amir Bandeali
392f578567
Make timelock configs synchronous
2019-11-18 16:10:54 -08:00
Amir Bandeali
a91b1d2dd2
Update mainnet ZrxVault in MixinDeploymentConstants
2019-11-18 16:10:54 -08:00
Amir Bandeali
400b3d961e
Fix custom timelock config
2019-11-18 16:10:54 -08:00
Amir Bandeali
4f128470bd
Update addresses for all networks
2019-11-18 16:10:54 -08:00
Amir Bandeali
fe06f41136
Add UniswapBridge and Eth2DaiBridge deployments to testnet migration script
2019-11-18 16:10:54 -08:00
Amir Bandeali
f81a99565e
Update staking logic contract address, add UniswapBridge and Eth2DaiBridge addresses
2019-11-18 16:10:54 -08:00
Jacob Evans
81e146650b
Merge branch 'development' into optimize/refactor-templates
2019-11-19 10:07:46 +10:00
Jacob Evans
bd4e04d331
Update mesh-rpc-client to 7.0.4-beta-0xv3
2019-11-19 09:55:48 +10:00
Fabio B
7663d2c64b
Merge pull request #2347 from 0xProject/refactor/supportDocsForContractPackages
...
docs: Generate MD docs for contracts-* packages and a few others
2019-11-18 23:54:24 +00:00
fabioberger
443c3c2802
Add missing export from stakiong
2019-11-19 00:02:43 +01:00
fabioberger
17a546af5d
Add more exessive type ignores
2019-11-18 23:42:45 +01:00
fabioberger
71faf46735
Add exception for EnvVars because we use it in a lot of places
2019-11-18 23:04:15 +01:00
fabioberger
ac28744df6
Stop exporting types from integrations package
2019-11-18 23:00:16 +01:00
fabioberger
adaf304b4e
Add missing staking exports
2019-11-18 22:44:48 +01:00
fabioberger
16b13f9768
Fix exports from exchange
2019-11-18 22:32:47 +01:00
fabioberger
d64bf98dc0
Update mesh dep
2019-11-18 22:21:24 +01:00
Jacob Evans
71f57d13fa
Update Wrappers after rebase
2019-11-18 20:43:44 +10:00
Jacob Evans
469c10e45f
Fix Rich Error test bind context
2019-11-18 20:37:27 +10:00
Jacob Evans
62def596af
Reuse getABIEncodedTransactionData
2019-11-18 20:37:27 +10:00
Jacob Evans
aa10844d9e
Remove Lodash as a dependency in BaseContract
2019-11-18 20:37:27 +10:00
Jacob Evans
be52079182
Re-enable estimateGas in sendTransaction
2019-11-18 20:37:27 +10:00
Jacob Evans
255aca8789
Moved shared logic into BaseContract
...
Shared validation and default application can be moved into BaseContract
Assignment before return can be skipped here as it saves a line and
makes a dramatic difference.
Store the functionSignature once and reuse, this saving is large for
Exchange functions with order tuples.
2019-11-18 20:35:38 +10:00
fabioberger
117f4a282d
Add EnvVars type
2019-11-18 10:29:25 +00:00
fabioberger
e1ea65525f
Add doc generation to several more packages and fix up their index.ts files so all public interface types are exported
2019-11-18 10:29:25 +00:00
fabioberger
d0a3495b5f
Refactor docgen command to also support generating docs for contracts-* packages
2019-11-18 10:24:48 +00:00
xianny
9e9e0d6592
Publish
...
- @0x/contracts-asset-proxy@2.3.0-beta.2
- @0x/contracts-coordinator@2.1.0-beta.2
- @0x/contracts-dev-utils@0.1.0-beta.2
- @0x/contracts-erc1155@1.2.0-beta.2
- @0x/contracts-erc20@2.3.0-beta.2
- @0x/contracts-erc721@2.2.0-beta.2
- @0x/contracts-exchange-forwarder@3.1.0-beta.2
- @0x/contracts-exchange-libs@3.1.0-beta.2
- @0x/contracts-exchange@2.2.0-beta.2
- @0x/contracts-extensions@4.1.0-beta.2
- @0x/contracts-integrations@1.0.2
- @0x/contracts-multisig@3.2.0-beta.2
- @0x/contracts-staking@1.1.0-beta.2
- @0x/contracts-test-utils@3.2.0-beta.2
- @0x/contracts-tests@0.0.3
- @0x/contracts-utils@3.3.0-beta.2
- 0x.js@8.0.0-beta.1
- @0x/abi-gen-wrappers@5.4.0-beta.2
- @0x/abi-gen@4.4.0-beta.2
- @0x/assert@2.2.0-beta.2
- @0x/asset-buyer@6.2.0-beta.2
- @0x/asset-swapper@2.1.0-beta.2
- @0x/base-contract@5.5.0-beta.2
- @0x/connect@5.1.0-beta.2
- @0x/contract-addresses@3.3.0-beta.3
- @0x/contract-artifacts@2.3.0-beta.3
- @0x/contract-wrappers@12.2.0-beta.2
- @0x/contracts-gen@1.1.0-beta.2
- @0x/dev-utils@2.4.0-beta.2
- ethereum-types@2.2.0-beta.2
- @0x/instant@1.0.34
- @0x/json-schemas@4.1.0-beta.2
- @0x/migrations@4.4.0-beta.2
- @0x/monorepo-scripts@1.0.40
- @0x/order-utils@8.5.0-beta.2
- @0x/orderbook@0.1.0-beta.2
- @0x/sol-compiler@3.2.0-beta.2
- @0x/sol-coverage@3.1.0-beta.2
- @0x/sol-doc@2.1.0-beta.2
- @0x/sol-profiler@3.2.0-beta.2
- @0x/sol-resolver@2.1.0-beta.2
- @0x/sol-trace@2.1.0-beta.2
- @0x/sol-tracing-utils@6.1.0-beta.2
- @0x/sra-spec@2.1.0-beta.2
- @0x/subproviders@5.1.0-beta.2
- @0x/tslint-config@3.1.0-beta.2
- @0x/types@2.5.0-beta.2
- @0x/typescript-typings@4.4.0-beta.2
- @0x/utils@4.6.0-beta.2
- @0x/web3-wrapper@6.1.0-beta.2
0x.js@8.0.0-beta.1
@0x/abi-gen-wrappers@5.4.0-beta.2
@0x/abi-gen@4.4.0-beta.2
@0x/assert@2.2.0-beta.2
@0x/asset-buyer@6.2.0-beta.2
@0x/asset-swapper@2.1.0-beta.2
@0x/base-contract@5.5.0-beta.2
@0x/connect@5.1.0-beta.2
@0x/contract-addresses@3.3.0-beta.3
@0x/contract-artifacts@2.3.0-beta.3
@0x/contracts-extensions@4.1.0-beta.2
@0x/contracts-integrations@1.0.2
@0x/contracts-multisig@3.2.0-beta.2
@0x/contracts-staking@1.1.0-beta.2
@0x/contracts-test-utils@3.2.0-beta.2
@0x/contracts-tests@0.0.3
@0x/contracts-utils@3.3.0-beta.2
@0x/monorepo-scripts@1.0.40
@0x/order-utils@8.5.0-beta.2
@0x/contract-wrappers@12.2.0-beta.2
@0x/contracts-asset-proxy@2.3.0-beta.2
@0x/contracts-coordinator@2.1.0-beta.2
@0x/contracts-dev-utils@0.1.0-beta.2
@0x/contracts-erc1155@1.2.0-beta.2
@0x/contracts-erc20@2.3.0-beta.2
@0x/contracts-erc721@2.2.0-beta.2
@0x/contracts-exchange-forwarder@3.1.0-beta.2
@0x/contracts-exchange-libs@3.1.0-beta.2
@0x/contracts-exchange@2.2.0-beta.2
@0x/contracts-gen@1.1.0-beta.2
@0x/dev-utils@2.4.0-beta.2
@0x/instant@1.0.34
@0x/json-schemas@4.1.0-beta.2
@0x/migrations@4.4.0-beta.2
@0x/sol-coverage@3.1.0-beta.2
@0x/sol-doc@2.1.0-beta.2
@0x/sol-tracing-utils@6.1.0-beta.2
@0x/sra-spec@2.1.0-beta.2
@0x/tslint-config@3.1.0-beta.2
@0x/orderbook@0.1.0-beta.2
@0x/sol-compiler@3.2.0-beta.2
@0x/sol-profiler@3.2.0-beta.2
@0x/sol-resolver@2.1.0-beta.2
@0x/sol-trace@2.1.0-beta.2
@0x/subproviders@5.1.0-beta.2
@0x/types@2.5.0-beta.2
@0x/typescript-typings@4.4.0-beta.2
@0x/utils@4.6.0-beta.2
@0x/web3-wrapper@6.1.0-beta.2
ethereum-types@2.2.0-beta.2
monorepo@9e9e0d6
2019-11-17 18:03:29 -05:00
xianny
cb5f9ba97d
Updated CHANGELOGS & MD docs
2019-11-17 18:03:13 -05:00
xianny
34538f2ced
prettier
2019-11-17 17:14:28 -05:00
xianny
2575644920
update CHANGELOG.json for beta publish
2019-11-17 17:11:35 -05:00
Greg Hysz
b4b43a9e9e
Updated Coordinator wrappers and artifacts ( #2346 )
...
* Updated Coordinator wrappers and artifacts
* Use contracts-coordinator package for Coordinator
* disable custom CoordinatorWrapper
* trim disallowed artifact fields; fix exports for docs; lint
2019-11-16 19:22:22 -05:00
F. Eugene Aumson
df97b20913
abi-gen/Py: fix incorrect method return types and other small issues ( #2345 )
...
* .gitignore gen'd Python staking contract wrappers
* abi-gen/test-cli: check Python type hints in lint
* sra_client.py: Update doc for replicating examples
* abi-gen/Py: fix call() return type incl. tx hash
Previously, generated wrappers for contract methods were including type
hints that suggested that a call() (as opposed to a send_transaction())
might return either the underlying return type or a transaction hash.
This doesn't make sense because a call() will never return a TX hash.
Now, the type hint just has the return type of the underlying method.
* abi-gen: fix test_cli:lint checking wrong code
test_cli:lint is meant to be a rudimentary test of the code generated by
abi-gen. However, previously, this script was incorporated into `yarn
lint`, and in CircleCI `static-tests` runs independently of `build`.
Consequently, the runs of test_cli:lint were checking the OLD code,
which was previously generated and checked in to git, NOT the code
generated with the version of abi-gen represented by the git repo. Now,
test_cli:lint happens during `yarn test` rather than `yarn lint`,
because `yarn test` IS dependent on `yarn build`.
* contract_wrappers.py: fix misplaced doc
Previously, the routines `order_to_jsdict()` and `jsdict_to_order()`
were moved from contract_wrappers.exchange.types to
contract_wrappers.order_conversions. However, the module-level
docstring describing those routines was accidentally left behind in
exchange.types.
* abi-gen/Py: stop documenting return types for TXs
Previously the send_transaction() interface included docstring
documentation for the return types of the contract method, but that
doesn't make any sense because send_transaction() returns a transaction
hash rather than any actual return values.
* abi-gen/Py: stop gen'ing send_tx for const methods
* abi-gen/Py: add build_tx to contract methods
* abi-gen/Py: fix incorrect method return types
Fixes #2298 .
* abi-gen/Py: rm validator arg to no-input methods
* abi-gen: mv Py Handlebars helpers to own module
Move all existing Python-related Handlebars helpers to the newly created
python_handlebars_helpers module.
* abi-gen: refactor internal interface
No functionality is changed. Sole purpose of this commit is to
facilitate an upcoming commit.
* abi-gen: refactor internal interface
No functionality is changed. Sole purpose of this commit is to
facilitate an upcoming commit.
* abi-gen/Py: name tuples w/internalType, not hash
Use the new `internalType` field on the `DataItem`s in the contract
artifact to give generated tuple classes a better name than just hashing
their component field names.
* Fix CI errors
* abi-gen/Py/wrapper: make internal member private
* Update CHANGELOGs
2019-11-15 18:27:45 -05:00
mzhu25
9e3cc379ed
Merge pull request #2335 from 0xProject/refactor/integrations/move-balance-stores
...
`@0x/contracts-integrations`: Restructure directories, welcome core.ts and balance stores
2019-11-15 11:10:02 -08:00
Michael Zhu
c1d78a94a2
move ValidatorWalletAction to signature_validator.ts
2019-11-15 09:53:06 -08:00
Michael Zhu
7f4cbba076
Refactor integrations directory structure; move core.ts, balance stores, and FillOrderWrapper to integrations
2019-11-15 09:49:20 -08:00
Fabio B
bdca84fe72
Merge pull request #2342 from 0xProject/update/bigNumberDep
...
Update BigNumber dep to ~9.0.0
2019-11-15 11:53:47 +00:00
fabioberger
cf8fd7103b
Add changelog entry re: BigNumber version change in packages that export BigNumber
2019-11-15 11:11:08 +00:00
fabioberger
8e8cdbd413
Update BigNumber dep to ~9.0.0
2019-11-15 11:04:53 +00:00
Jacob Evans
30f01681d4
Merge pull request #2341 from 0xProject/fix/parity-revert-errors
...
RevertError: Decode Parity revert errors
2019-11-15 20:31:40 +10:00
Fabio B
ecf1ad8da1
Merge pull request #2340 from 0xProject/fix/ciPublish
...
Fix CI test-publish
2019-11-15 10:23:28 +00:00
Jacob Evans
42dc112a13
RevertError: Decode Parity revert errors
2019-11-15 19:39:06 +10:00
Jacob Evans
58276cefce
Merge pull request #2323 from 0xProject/feat/3.0-staking-ganache
...
ganache: Added Staking, Forwarder, ERC20Bridge
2019-11-15 13:05:37 +10:00
Amir Bandeali
4b6501a739
Merge pull request #2338 from 0xProject/fix/contracts/exchange/marketBuyOrdersNoThrow-rounding
...
Round up in `marketBuyOrdersNoThrow()`
2019-11-14 18:57:29 -08:00