This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' of https://github.com/0xProject/0x-monorepo …
…into feature/instant/move-features-over-from-zrx-buyer
- Loading branch information
Showing
338 changed files
with
14,530 additions
and
47,248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
*.sol linguist-language=Solidity | ||
|
||
# Automatically collapse generated files in GitHub. | ||
packages/contract-artifacts/artifacts/*json linguist-generated | ||
packages/abi-gen-wrappers/wrappers/*.ts liguist-generated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,12 @@ | ||
lib | ||
.nyc_output | ||
/packages/contract-wrappers/src/contract_wrappers/generated/ | ||
/packages/contracts/generated-wrappers | ||
/packages/contracts/generated-artifacts | ||
/packages/abi-gen-wrappers/src/generated-wrappers | ||
/packages/contract-artifacts/artifacts | ||
/packages/metacoin/src/contract_wrappers | ||
/packages/0x.js/src/generated_contract_wrappers/ | ||
/packages/contracts/generated_contract_wrappers/ | ||
/packages/fill-scenarios/src/generated_contract_wrappers/ | ||
/packages/order-watcher/src/generated_contract_wrappers/ | ||
/packages/order-utils/src/generated_contract_wrappers/ | ||
/packages/migrations/src/1.0.0/contract_wrappers | ||
/packages/migrations/src/2.0.0-testnet/contract_wrappers | ||
/packages/migrations/src/2.0.0/contract_wrappers | ||
/packages/0x.js/src/artifacts | ||
/packages/contracts/src/artifacts | ||
/packages/contract-wrappers/src/artifacts | ||
/packages/order-watcher/src/artifacts | ||
/packages/metacoin/artifacts | ||
/packages/sra-spec/public/ | ||
/packages/contract-wrappers/test/artifacts | ||
/packages/order-watcher/test/artifacts | ||
/packages/migrations/artifacts/1.0.0 | ||
/packages/migrations/artifacts/2.0.0-testnet | ||
/packages/migrations/artifacts/2.0.0 | ||
/packages/migrations/artifacts/development | ||
package.json | ||
scripts/postpublish_utils.js | ||
packages/sol-cov/test/fixtures/artifacts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ | |
"report_coverage": "lcov-result-merger './{packages/*/coverage/lcov.info,python-packages/*/.coverage}' | coveralls", | ||
"test:installation": "node ./packages/monorepo-scripts/lib/test_installation.js", | ||
"test:installation:local": "IS_LOCAL_PUBLISH=true node ./packages/monorepo-scripts/lib/test_installation.js", | ||
"test:publish:circleci:comment": "HACK(albrow) We need an automated way to login to npm and echo+sleep piped to stdin was the only way I could find to do it.", | ||
"test:publish:circleci": "yarn npm-cli-login -u test -p test -e [email protected] -r http://localhost:4873 && IS_LOCAL_PUBLISH=true run-s script:publish test:installation:local", | ||
"run:publish": "run-s install:all build:monorepo_scripts script:prepublish_checks rebuild:no_website script:publish", | ||
"run:publish:local": "IS_LOCAL_PUBLISH=true yarn run:publish", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
"compilerOptions": { | ||
"outDir": "lib" | ||
}, | ||
"include": ["./src/**/*", "./test/**/*"] | ||
"include": ["./src/**/*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[ | ||
{ | ||
"version": "1.0.0", | ||
"changes": [ | ||
{ | ||
"pr": 1105, | ||
"note": "Initial release" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
## @0xproject/abi-gen-wrappers | ||
|
||
Low-level 0x smart contract wrappers generated using @0xproject/abi-gen. These | ||
low-level wrappers are imported by other packages in the 0x monorepo and | ||
application developers are not expected to import this package directly. | ||
|
||
You may also be interested in the | ||
[@0xproject/contract-wrappers](../contract-wrappers/README.md) package which | ||
includes some higher-level features. | ||
|
||
## Installation | ||
|
||
```bash | ||
yarn add @0xproject/abi-gen-wrappers | ||
``` | ||
|
||
**Import** | ||
|
||
```typescript | ||
import * as wrappers from '@0xproject/abi-gen-wrappers'; | ||
``` | ||
|
||
or | ||
|
||
```javascript | ||
var wrappers = require('@0xproject/abi-gen-wrappers'); | ||
``` | ||
|
||
## Contributing | ||
|
||
We welcome improvements and fixes from the wider community! To report bugs within this package, please create an issue in this repository. | ||
|
||
Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started. | ||
|
||
### Install dependencies | ||
|
||
If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them: | ||
|
||
```bash | ||
yarn config set workspaces-experimental true | ||
``` | ||
|
||
Then install dependencies | ||
|
||
```bash | ||
yarn install | ||
``` | ||
|
||
### Build | ||
|
||
To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory: | ||
|
||
```bash | ||
PKG=@0xproject/abi-gen-wrappers yarn build | ||
``` | ||
|
||
### Clean | ||
|
||
```bash | ||
yarn clean | ||
``` | ||
|
||
### Lint | ||
|
||
```bash | ||
yarn lint | ||
``` | ||
|
||
### Run Tests | ||
|
||
```bash | ||
yarn test | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"name": "@0xproject/abi-gen-wrappers", | ||
"version": "1.0.0", | ||
"engines": { | ||
"node": ">=6.12" | ||
}, | ||
"description": "Low-level 0x smart contract wrappers generated using @0xproject/abi-gen", | ||
"main": "lib/src/index.js", | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"scripts": { | ||
"build": "yarn pre_build && tsc -b", | ||
"build:ci": "yarn build", | ||
"pre_build": "yarn generate_contract_wrappers", | ||
"clean": "shx rm -rf lib wrappers", | ||
"generate_contract_wrappers": "abi-gen --abis ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/generated-wrappers --backend ethers" | ||
}, | ||
"config": { | ||
"abis": "../contract-artifacts/artifacts/@(AssetProxyOwner|DummyERC20Token|DummyERC721Token|ERC20Proxy|ERC20Token|ERC721Proxy|ERC721Token|Exchange|Forwarder|IValidator|IWallet|OrderValidator|WETH9|ZRXToken).json" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/0xProject/0x-monorepo.git" | ||
}, | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/0xProject/0x-monorepo/issues" | ||
}, | ||
"homepage": "https://github.com/0xProject/0x-monorepo/packages/abi-gen-wrappers/README.md", | ||
"devDependencies": { | ||
"@0xproject/abi-gen": "^1.0.12", | ||
"shx": "^0.2.2" | ||
}, | ||
"dependencies": { | ||
"@0xproject/base-contract": "^3.0.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
Oops, something went wrong.