Update prettier to version ^1.15.3
This commit is contained in:
parent
53fc860d61
commit
89e398fa39
@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo
|
||||
|
||||
Examples of behavior that contributes to creating a positive environment include:
|
||||
|
||||
* Using welcoming and inclusive language
|
||||
* Being respectful of differing viewpoints and experiences
|
||||
* Gracefully accepting constructive criticism
|
||||
* Focusing on what is best for the community
|
||||
* Showing empathy towards other community members
|
||||
- Using welcoming and inclusive language
|
||||
- Being respectful of differing viewpoints and experiences
|
||||
- Gracefully accepting constructive criticism
|
||||
- Focusing on what is best for the community
|
||||
- Showing empathy towards other community members
|
||||
|
||||
Examples of unacceptable behavior by participants include:
|
||||
|
||||
* The use of sexualized language or imagery and unwelcome sexual attention or advances
|
||||
* Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
* Public or private harassment
|
||||
* Publishing others' private information, such as a physical or electronic address, without explicit permission
|
||||
* Other conduct which could reasonably be considered inappropriate in a professional setting
|
||||
- The use of sexualized language or imagery and unwelcome sexual attention or advances
|
||||
- Trolling, insulting/derogatory comments, and personal or political attacks
|
||||
- Public or private harassment
|
||||
- Publishing others' private information, such as a physical or electronic address, without explicit permission
|
||||
- Other conduct which could reasonably be considered inappropriate in a professional setting
|
||||
|
||||
## Our Responsibilities
|
||||
|
||||
|
@ -12,26 +12,26 @@ We welcome contributions from anyone on the internet and are grateful for even t
|
||||
|
||||
Before removing the `[WIP]` tag and submitting the PR for review, make sure:
|
||||
|
||||
* It passes our linter checks (`yarn lint`)
|
||||
* It is properly formatted with Prettier (`yarn prettier`)
|
||||
* It passes our continuous integration tests (See: [Enabling code coverage checks on your fork](#enabling-code-coverage-checks-on-your-fork) for instructions on getting the `submit-coverage` test to pass on forks)
|
||||
* You've created/updated the corresponding [CHANGELOG](#CHANGELOGs) entries.
|
||||
* Your changes have sufficient test coverage (e.g regression tests have been added for bug fixes)
|
||||
- It passes our linter checks (`yarn lint`)
|
||||
- It is properly formatted with Prettier (`yarn prettier`)
|
||||
- It passes our continuous integration tests (See: [Enabling code coverage checks on your fork](#enabling-code-coverage-checks-on-your-fork) for instructions on getting the `submit-coverage` test to pass on forks)
|
||||
- You've created/updated the corresponding [CHANGELOG](#CHANGELOGs) entries.
|
||||
- Your changes have sufficient test coverage (e.g regression tests have been added for bug fixes)
|
||||
|
||||
### Branch structure
|
||||
|
||||
We have two main branches:
|
||||
|
||||
* `master` represents the most recently released (published on npm) version of the codebase.
|
||||
* `development` represents the current development state of the codebase.
|
||||
- `master` represents the most recently released (published on npm) version of the codebase.
|
||||
- `development` represents the current development state of the codebase.
|
||||
|
||||
ALL PRs should be opened against `development`.
|
||||
|
||||
Branch names should be prefixed with `fix`, `feature` or `refactor`.
|
||||
|
||||
* e.g `fix/broken-wiki-link`
|
||||
* If the PR only edits a single package, add it's name too
|
||||
* e.g `fix/website/broken-wiki-link`
|
||||
- e.g `fix/broken-wiki-link`
|
||||
- If the PR only edits a single package, add it's name too
|
||||
- e.g `fix/website/broken-wiki-link`
|
||||
|
||||
### CHANGELOGs
|
||||
|
||||
@ -67,8 +67,8 @@ If you want to change a rule, or add a custom rule, please make these changes to
|
||||
|
||||
Integrate it into your text editor:
|
||||
|
||||
* VSCode: [vscode-tslint](https://marketplace.visualstudio.com/items?itemName=eg2.tslint)
|
||||
* Atom: [linter-tslint](https://atom.io/packages/linter-tslint)
|
||||
- VSCode: [vscode-tslint](https://marketplace.visualstudio.com/items?itemName=eg2.tslint)
|
||||
- Atom: [linter-tslint](https://atom.io/packages/linter-tslint)
|
||||
|
||||
#### Auto-formatter
|
||||
|
||||
@ -76,8 +76,8 @@ We use [Prettier](https://prettier.io/) to auto-format our code. Be sure to eith
|
||||
|
||||
If using the Atom text editor, we recommend you install the following packages:
|
||||
|
||||
* VSCode: [prettier-vscode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
|
||||
* Atom: [prettier-atom](https://atom.io/packages/prettier-atom)
|
||||
- VSCode: [prettier-vscode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)
|
||||
- Atom: [prettier-atom](https://atom.io/packages/prettier-atom)
|
||||
|
||||
## Unenforced coding conventions
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
<!--- The following points should be used to indicate the progress of your PR. Put an `x` in all the boxes that apply right now, and come back over time and check them off as you make progress. If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
|
||||
|
||||
* [ ] Prefix PR title with `[WIP]` if necessary.
|
||||
* [ ] Add tests to cover changes as needed.
|
||||
* [ ] Update documentation as needed.
|
||||
* [ ] Add new entries to the relevant CHANGELOG.jsons.
|
||||
- [ ] Prefix PR title with `[WIP]` if necessary.
|
||||
- [ ] Add tests to cover changes as needed.
|
||||
- [ ] Update documentation as needed.
|
||||
- [ ] Add new entries to the relevant CHANGELOG.jsons.
|
||||
|
@ -6,8 +6,8 @@ Smart contract interfaces of the 0x protocol.
|
||||
|
||||
Contracts that make up and interact with version 2.0.0 of the protocol can be found in the [contracts](./contracts) directory. The contents of this directory are broken down into the following subdirectories:
|
||||
|
||||
* [protocol](./contracts/protocol)
|
||||
* This directory contains the contract interfaces that make up version 2.0.0. A full specification can be found [here](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md).
|
||||
- [protocol](./contracts/protocol)
|
||||
- This directory contains the contract interfaces that make up version 2.0.0. A full specification can be found [here](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md).
|
||||
|
||||
## Bug bounty
|
||||
|
||||
|
@ -6,10 +6,10 @@ Smart contracts libs used in the 0x protocol.
|
||||
|
||||
Contracts can be found in the [contracts](./contracts) directory. The contents of this directory are broken down into the following subdirectories:
|
||||
|
||||
* [libs](./contracts/protocol)
|
||||
* This directory contains the libs.
|
||||
* [test](./contracts/test)
|
||||
* This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
- [libs](./contracts/protocol)
|
||||
- This directory contains the libs.
|
||||
- [test](./contracts/test)
|
||||
- This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
|
||||
## Contributing
|
||||
|
||||
|
@ -6,10 +6,10 @@ MultiSig smart contracts
|
||||
|
||||
Contracts can be found in the [contracts](./contracts) directory. The contents of this directory are broken down into the following subdirectories:
|
||||
|
||||
* [multisig](./contracts/multisig)
|
||||
* This directory contains the [Gnosis MultiSigWallet](https://github.com/gnosis/MultiSigWallet) and a custom extension that adds a timelock to transactions within the MultiSigWallet.
|
||||
* [test](./contracts/test)
|
||||
* This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
- [multisig](./contracts/multisig)
|
||||
- This directory contains the [Gnosis MultiSigWallet](https://github.com/gnosis/MultiSigWallet) and a custom extension that adds a timelock to transactions within the MultiSigWallet.
|
||||
- [test](./contracts/test)
|
||||
- This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
|
||||
## Contributing
|
||||
|
||||
|
@ -6,10 +6,10 @@ Smart contracts that implement the 0x protocol. Addresses of the deployed contra
|
||||
|
||||
Contracts that make up and interact with version 2.0.0 of the protocol can be found in the [contracts](./contracts) directory. The contents of this directory are broken down into the following subdirectories:
|
||||
|
||||
* [protocol](./contracts/protocol)
|
||||
* This directory contains the contracts that make up version 2.0.0. A full specification can be found [here](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md).
|
||||
* [test](./contracts/test)
|
||||
* This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
- [protocol](./contracts/protocol)
|
||||
- This directory contains the contracts that make up version 2.0.0. A full specification can be found [here](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md).
|
||||
- [test](./contracts/test)
|
||||
- This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
|
||||
## Bug bounty
|
||||
|
||||
|
@ -6,10 +6,10 @@ Token smart contracts that are used in the 0x protocol. Addresses of the deploye
|
||||
|
||||
Token contracts that make up and interact with version 2.0.0 of the protocol can be found in the [contracts](./contracts) directory. The contents of this directory are broken down into the following subdirectories:
|
||||
|
||||
* [tokens](./contracts/tokens)
|
||||
* This directory contains implementations of different tokens and token standards, including [wETH](https://weth.io/), ZRX, [ERC20](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md), and [ERC721](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md).
|
||||
* [test](./contracts/test)
|
||||
* This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
- [tokens](./contracts/tokens)
|
||||
- This directory contains implementations of different tokens and token standards, including [wETH](https://weth.io/), ZRX, [ERC20](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md), and [ERC721](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md).
|
||||
- [test](./contracts/test)
|
||||
- This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
|
||||
## Bug bounty
|
||||
|
||||
|
@ -6,10 +6,10 @@ Smart contracts utils used in the 0x protocol.
|
||||
|
||||
Contracts can be found in the [contracts](./contracts) directory. The contents of this directory are broken down into the following subdirectories:
|
||||
|
||||
* [utils](./contracts/utils)
|
||||
* This directory contains libraries and utils.
|
||||
* [test](./contracts/test)
|
||||
* This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
- [utils](./contracts/utils)
|
||||
- This directory contains libraries and utils.
|
||||
- [test](./contracts/test)
|
||||
- This directory contains mocks and other contracts that are used solely for testing contracts within the other directories.
|
||||
|
||||
## Contributing
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
||||
"lcov-result-merger": "^3.0.0",
|
||||
"lerna": "^3.0.0-beta.25",
|
||||
"npm-run-all": "^4.1.2",
|
||||
"prettier": "^1.11.1",
|
||||
"prettier": "^1.15.3",
|
||||
"source-map-support": "^0.5.6",
|
||||
"typescript": "3.0.1",
|
||||
"wsrun": "^2.2.0"
|
||||
|
@ -3,8 +3,7 @@
|
||||
"version": "3.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Export `MultiAssetData`, `MultiAssetDataWithRecursiveDecoding`, `ObjectMap`, and `SingleAssetData` from types. No longer export `AssetData`.",
|
||||
"note": "Export `MultiAssetData`, `MultiAssetDataWithRecursiveDecoding`, `ObjectMap`, and `SingleAssetData` from types. No longer export `AssetData`.",
|
||||
"pr": 1363
|
||||
}
|
||||
],
|
||||
@ -90,18 +89,15 @@
|
||||
"pr": 1102
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Added `MetamaskSubprovider` to handle inconsistencies in Metamask's signing JSON RPC endpoints.",
|
||||
"note": "Added `MetamaskSubprovider` to handle inconsistencies in Metamask's signing JSON RPC endpoints.",
|
||||
"pr": 1102
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Removed `SignerType` (including `SignerType.Metamask`). Please use the `MetamaskSubprovider` to wrap `web3.currentProvider`.",
|
||||
"note": "Removed `SignerType` (including `SignerType.Metamask`). Please use the `MetamaskSubprovider` to wrap `web3.currentProvider`.",
|
||||
"pr": 1102
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Updated to use new modularized artifacts and the latest version of @0xproject/contract-wrappers",
|
||||
"note": "Updated to use new modularized artifacts and the latest version of @0xproject/contract-wrappers",
|
||||
"pr": 1105
|
||||
},
|
||||
{
|
||||
@ -200,8 +196,7 @@
|
||||
"version": "1.0.1-rc.5",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fix `main` and `types` package.json entries so that they point to the new location of index.d.ts and index.js"
|
||||
"note": "Fix `main` and `types` package.json entries so that they point to the new location of index.d.ts and index.js"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -209,8 +204,7 @@
|
||||
"version": "1.0.1-rc.4",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Re-organize the exported interface of 0x.js. Remove the `ZeroEx` class, and instead export the same exports as `0x.js`'s sub-packages: `@0xproject/contract-wrappers`, `@0xproject/order-utils` and `@0xproject/order-watcher`",
|
||||
"note": "Re-organize the exported interface of 0x.js. Remove the `ZeroEx` class, and instead export the same exports as `0x.js`'s sub-packages: `@0xproject/contract-wrappers`, `@0xproject/order-utils` and `@0xproject/order-watcher`",
|
||||
"pr": 963
|
||||
}
|
||||
],
|
||||
@ -282,18 +276,15 @@
|
||||
"pr": 863
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Refactored `ZeroEx.isValidSignature` to `zeroEx.isValidSignatureAsync`. It is now async so that it can verify contract-dependent signature types",
|
||||
"note": "Refactored `ZeroEx.isValidSignature` to `zeroEx.isValidSignatureAsync`. It is now async so that it can verify contract-dependent signature types",
|
||||
"pr": 863
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Refactored `signOrderHashAsync` to `ecSignOrderHashAsync`. There are now many non-ECSignature ways to sign orders too.",
|
||||
"note": "Refactored `signOrderHashAsync` to `ecSignOrderHashAsync`. There are now many non-ECSignature ways to sign orders too.",
|
||||
"pr": 863
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Removed `createOrderWatcherAsync` method. Will be added back once OrderWatcher is refactored for V2",
|
||||
"note": "Removed `createOrderWatcherAsync` method. Will be added back once OrderWatcher is refactored for V2",
|
||||
"pr": 863
|
||||
},
|
||||
{
|
||||
@ -368,8 +359,7 @@
|
||||
"pr": 579
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Renamed ZeroExError to ContractWrappersErrors since they now lives in the @0xproject/contract-wrappers subpackage",
|
||||
"note": "Renamed ZeroExError to ContractWrappersErrors since they now lives in the @0xproject/contract-wrappers subpackage",
|
||||
"pr": 579
|
||||
}
|
||||
],
|
||||
@ -454,8 +444,7 @@
|
||||
"pr": 501
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Add `zeroEx.exchange.getOrderStateAsync` to allow obtaining current OrderState for a signedOrder",
|
||||
"note": "Add `zeroEx.exchange.getOrderStateAsync` to allow obtaining current OrderState for a signedOrder",
|
||||
"pr": 510
|
||||
}
|
||||
],
|
||||
@ -465,8 +454,7 @@
|
||||
"version": "0.35.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Removed `ZeroExError.TransactionMiningTimeout` and moved it to '@0xproject/web3-wrapper' `Web3WrapperErrors.TransactionMiningTimeout`",
|
||||
"note": "Removed `ZeroExError.TransactionMiningTimeout` and moved it to '@0xproject/web3-wrapper' `Web3WrapperErrors.TransactionMiningTimeout`",
|
||||
"pr": 485
|
||||
}
|
||||
],
|
||||
@ -476,8 +464,7 @@
|
||||
"version": "0.34.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fix the bug causing `zeroEx.exchange.fillOrdersUpToAsync` validation to fail if there were some extra orders passed",
|
||||
"note": "Fix the bug causing `zeroEx.exchange.fillOrdersUpToAsync` validation to fail if there were some extra orders passed",
|
||||
"pr": 470
|
||||
},
|
||||
{
|
||||
@ -489,8 +476,7 @@
|
||||
"pr": 488
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Added `stateLayer` setting to `OrderStateWatcherConfig` so OrderStateWatcher can be set to monitor different blockchain state layers",
|
||||
"note": "Added `stateLayer` setting to `OrderStateWatcherConfig` so OrderStateWatcher can be set to monitor different blockchain state layers",
|
||||
"pr": 488
|
||||
}
|
||||
],
|
||||
@ -577,8 +563,7 @@
|
||||
"pr": 350
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fixed the bug causing order watcher to throw if there is an event with the same signature but different indexed fields",
|
||||
"note": "Fixed the bug causing order watcher to throw if there is an event with the same signature but different indexed fields",
|
||||
"pr": 366
|
||||
}
|
||||
],
|
||||
@ -598,8 +583,7 @@
|
||||
"version": "0.31.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add the `shouldAddPersonalMessagePrefix` parameter to `signOrderHashAsync` so that the caller can decide on whether to add the personalMessage prefix before relaying the request to the signer. Parity Signer, Ledger and TestRPC add the prefix themselves, Metamask expects it to have already been added.",
|
||||
"note": "Add the `shouldAddPersonalMessagePrefix` parameter to `signOrderHashAsync` so that the caller can decide on whether to add the personalMessage prefix before relaying the request to the signer. Parity Signer, Ledger and TestRPC add the prefix themselves, Metamask expects it to have already been added.",
|
||||
"pr": 349
|
||||
}
|
||||
],
|
||||
@ -644,8 +628,7 @@
|
||||
"pr": 312
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fix a bug in fillOrdersUpTo validation making it impossible to fill up to if user doesn't have enough balance to fully fill all the orders",
|
||||
"note": "Fix a bug in fillOrdersUpTo validation making it impossible to fill up to if user doesn't have enough balance to fully fill all the orders",
|
||||
"pr": 321
|
||||
}
|
||||
],
|
||||
@ -679,13 +662,11 @@
|
||||
"version": "0.28.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add `etherTokenAddress` arg to `depositAsync` and `withdrawAsync` methods on `zeroEx.etherToken`",
|
||||
"note": "Add `etherTokenAddress` arg to `depositAsync` and `withdrawAsync` methods on `zeroEx.etherToken`",
|
||||
"pr": 267
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Removed accidentally included `unsubscribeAll` method from `zeroEx.proxy`, `zeroEx.etherToken` and `zeroEx.tokenRegistry`",
|
||||
"note": "Removed accidentally included `unsubscribeAll` method from `zeroEx.proxy`, `zeroEx.etherToken` and `zeroEx.tokenRegistry`",
|
||||
"pr": 267
|
||||
},
|
||||
{
|
||||
@ -697,8 +678,7 @@
|
||||
"pr": 272
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Add `zeroEx.etherToken.subscribe`, `zeroEx.etherToken.unsubscribe`, `zeroEx.etherToken.unsubscribeAll`",
|
||||
"note": "Add `zeroEx.etherToken.subscribe`, `zeroEx.etherToken.unsubscribe`, `zeroEx.etherToken.unsubscribeAll`",
|
||||
"pr": 277
|
||||
},
|
||||
{
|
||||
@ -706,8 +686,7 @@
|
||||
"pr": 277
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Add new public types `BlockParamLiteral`, `EtherTokenEvents`, `EtherTokenContractEventArgs`, `DepositContractEventArgs`, `WithdrawalContractEventArgs`",
|
||||
"note": "Add new public types `BlockParamLiteral`, `EtherTokenEvents`, `EtherTokenContractEventArgs`, `DepositContractEventArgs`, `WithdrawalContractEventArgs`",
|
||||
"pr": 277
|
||||
},
|
||||
{
|
||||
@ -742,8 +721,7 @@
|
||||
"pr": 233
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Make all `getContractAddress` functions, `zeroEx.exchange.subscribe`, `zeroEx.exchange.getZRXTokenAddress` sync",
|
||||
"note": "Make all `getContractAddress` functions, `zeroEx.exchange.subscribe`, `zeroEx.exchange.getZRXTokenAddress` sync",
|
||||
"pr": 233
|
||||
},
|
||||
{
|
||||
@ -751,8 +729,7 @@
|
||||
"pr": 233
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Make `DecodedLogEvent<A>` contain `LogWithDecodedArgs<A>` under log key instead of merging it in like web3 does",
|
||||
"note": "Make `DecodedLogEvent<A>` contain `LogWithDecodedArgs<A>` under log key instead of merging it in like web3 does",
|
||||
"pr": 234
|
||||
},
|
||||
{
|
||||
@ -768,8 +745,7 @@
|
||||
"pr": 235
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Modify order validation methods to validate against the `latest` block, not against the `pending` block",
|
||||
"note": "Modify order validation methods to validate against the `latest` block, not against the `pending` block",
|
||||
"pr": 236
|
||||
}
|
||||
],
|
||||
@ -779,8 +755,7 @@
|
||||
"version": "0.26.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add post-formatter for logs converting `blockNumber`, `logIndex`, `transactionIndex` from hexes to numbers",
|
||||
"note": "Add post-formatter for logs converting `blockNumber`, `logIndex`, `transactionIndex` from hexes to numbers",
|
||||
"pr": 231
|
||||
},
|
||||
{
|
||||
@ -788,8 +763,7 @@
|
||||
"pr": 222
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"In OrderWatcher subscribe to ZRX Token Transfer and Approval events when maker token is different",
|
||||
"note": "In OrderWatcher subscribe to ZRX Token Transfer and Approval events when maker token is different",
|
||||
"pr": 225
|
||||
}
|
||||
],
|
||||
@ -807,8 +781,7 @@
|
||||
"pr": 205
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Normalized the transactionReceipt status to be `null|0|1`, 1 meaning transaction execution successful, 0 unsuccessful and `null` if it is a pre-byzantinium transaction.",
|
||||
"note": "Normalized the transactionReceipt status to be `null|0|1`, 1 meaning transaction execution successful, 0 unsuccessful and `null` if it is a pre-byzantinium transaction.",
|
||||
"pr": 200
|
||||
}
|
||||
],
|
||||
@ -879,8 +852,7 @@
|
||||
"version": "0.22.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Started using `OrderFillRequest` interface instead of `OrderFillOrKillRequest` interface for `zeroEx.exchange.batchFillOrKill`",
|
||||
"note": "Started using `OrderFillRequest` interface instead of `OrderFillOrKillRequest` interface for `zeroEx.exchange.batchFillOrKill`",
|
||||
"pr": 187
|
||||
},
|
||||
{
|
||||
@ -894,8 +866,7 @@
|
||||
"version": "0.21.4",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Made 0x.js more type-safe by making `getLogsAsync` and `subscribe/subscribeAsync` generics parametrized with arg type",
|
||||
"note": "Made 0x.js more type-safe by making `getLogsAsync` and `subscribe/subscribeAsync` generics parametrized with arg type",
|
||||
"pr": 194
|
||||
}
|
||||
],
|
||||
@ -942,8 +913,7 @@
|
||||
"note": "Subscriptions no longer return historical logs. If you want them - use `getLogsAsync`"
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Subscriptions now use [ethereumjs-blockstream](https://github.com/ethereumjs/ethereumjs-blockstream) under the hood"
|
||||
"note": "Subscriptions now use [ethereumjs-blockstream](https://github.com/ethereumjs/ethereumjs-blockstream) under the hood"
|
||||
},
|
||||
{
|
||||
"note": "Subscriptions correctly handle block re-orgs (forks)"
|
||||
@ -952,8 +922,7 @@
|
||||
"note": "Subscriptions correctly backfill logs (connection problems)"
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"They no longer setup filters on the underlying nodes, so you can use them with infura without a filter Subprovider"
|
||||
"note": "They no longer setup filters on the underlying nodes, so you can use them with infura without a filter Subprovider"
|
||||
},
|
||||
{
|
||||
"note": "Removed `ContractEventEmitter` and added `LogEvent`"
|
||||
@ -1060,8 +1029,7 @@
|
||||
"version": "0.15.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Added the ability to specify a historical `blockNumber` at which to query the blockchain's state when calling a token or exchange method",
|
||||
"note": "Added the ability to specify a historical `blockNumber` at which to query the blockchain's state when calling a token or exchange method",
|
||||
"pr": 161
|
||||
}
|
||||
],
|
||||
@ -1109,8 +1077,7 @@
|
||||
"version": "0.13.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Made all the functions submitting transactions to the network to immediately return transaction hash",
|
||||
"note": "Made all the functions submitting transactions to the network to immediately return transaction hash",
|
||||
"pr": 151
|
||||
},
|
||||
{
|
||||
@ -1118,8 +1085,7 @@
|
||||
"pr": 151
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Added `TransactionReceiptWithDecodedLogs`, `LogWithDecodedArgs`, `DecodedLogArgs` to public types",
|
||||
"note": "Added `TransactionReceiptWithDecodedLogs`, `LogWithDecodedArgs`, `DecodedLogArgs` to public types",
|
||||
"pr": 151
|
||||
},
|
||||
{
|
||||
@ -1292,8 +1258,7 @@
|
||||
"pr": 104
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fixed an issue with incorrect balance/allowance validation when ZRX is one of the tokens traded",
|
||||
"note": "Fixed an issue with incorrect balance/allowance validation when ZRX is one of the tokens traded",
|
||||
"pr": 109
|
||||
}
|
||||
],
|
||||
@ -1303,13 +1268,11 @@
|
||||
"version": "0.8.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Added the ability to call methods on different authorized versions of the Exchange smart contract",
|
||||
"note": "Added the ability to call methods on different authorized versions of the Exchange smart contract",
|
||||
"pr": 82
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Updated contract artifacts to reflect latest changes to the smart contracts (0xproject/contracts#59)"
|
||||
"note": "Updated contract artifacts to reflect latest changes to the smart contracts (0xproject/contracts#59)"
|
||||
},
|
||||
{
|
||||
"note": "Added `zeroEx.proxy.isAuthorizedAsync` and `zeroEx.proxy.getAuthorizedAddressesAsync`",
|
||||
@ -1345,8 +1308,7 @@
|
||||
"version": "0.7.1",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Added the ability to convert Ether to wrapped Ether tokens and back via `zeroEx.etherToken.depostAsync` and `zeroEx.etherToken.withdrawAsync`",
|
||||
"note": "Added the ability to convert Ether to wrapped Ether tokens and back via `zeroEx.etherToken.depostAsync` and `zeroEx.etherToken.withdrawAsync`",
|
||||
"pr": 81
|
||||
}
|
||||
],
|
||||
@ -1368,8 +1330,7 @@
|
||||
"pr": 72
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Renamed type `LogCancelArgs` to `LogCancelContractEventArgs` and `LogFillArgs` to `LogFillContractEventArgs`"
|
||||
"note": "Renamed type `LogCancelArgs` to `LogCancelContractEventArgs` and `LogFillArgs` to `LogFillContractEventArgs`"
|
||||
}
|
||||
],
|
||||
"timestamp": 1498057200
|
||||
@ -1411,8 +1372,7 @@
|
||||
"version": "0.5.2",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fixed the bug in `postpublish` script that caused that only unminified UMD bundle was uploaded to release page"
|
||||
"note": "Fixed the bug in `postpublish` script that caused that only unminified UMD bundle was uploaded to release page"
|
||||
}
|
||||
],
|
||||
"timestamp": 1497452400
|
||||
|
@ -2,9 +2,9 @@ These templates are used with [abi-gen](https://github.com/0xProject/0x-monorepo
|
||||
|
||||
To successfully compile the generated TypeScript contract wrappers, you must:
|
||||
|
||||
* Install the packages on which the main contract template directly depends: `yarn add @0x/base-contract @0x/sol-compiler @0x/utils @0x/web3-wrapper ethereum-types ethers lodash`
|
||||
* Install the packages on which the main contract template *in*directly depends: `yarn add @types/lodash`
|
||||
* Ensure that your TypeScript configuration includes the following:
|
||||
- Install the packages on which the main contract template directly depends: `yarn add @0x/base-contract @0x/sol-compiler @0x/utils @0x/web3-wrapper ethereum-types ethers lodash`
|
||||
- Install the packages on which the main contract template *in*directly depends: `yarn add @types/lodash`
|
||||
- Ensure that your TypeScript configuration includes the following:
|
||||
|
||||
```
|
||||
"compilerOptions": {
|
||||
|
@ -41,8 +41,7 @@
|
||||
"version": "1.1.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"`deployFrom0xArtifactAsync` additionally accepts artifacts that conform to the `SimpleContractArtifact` interface",
|
||||
"note": "`deployFrom0xArtifactAsync` additionally accepts artifacts that conform to the `SimpleContractArtifact` interface",
|
||||
"pr": 1298
|
||||
}
|
||||
],
|
||||
|
@ -312,13 +312,11 @@
|
||||
"version": "0.2.4",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add a `backend` parameter that allows you to specify the Ethereum library you use in your templates (`web3` or `ethers`). Ethers auto-converts small ints to numbers whereas Web3 doesn't. Defaults to `web3`",
|
||||
"note": "Add a `backend` parameter that allows you to specify the Ethereum library you use in your templates (`web3` or `ethers`). Ethers auto-converts small ints to numbers whereas Web3 doesn't. Defaults to `web3`",
|
||||
"pr": 413
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Add support for [tuple types](https://solidity.readthedocs.io/en/develop/abi-spec.html#handling-tuple-types)",
|
||||
"note": "Add support for [tuple types](https://solidity.readthedocs.io/en/develop/abi-spec.html#handling-tuple-types)",
|
||||
"pr": 413
|
||||
},
|
||||
{
|
||||
@ -346,8 +344,7 @@
|
||||
"pr": 346
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Added CLI option to specify networkId, adding support for the JSON artifact format found in @0xproject/contracts",
|
||||
"note": "Added CLI option to specify networkId, adding support for the JSON artifact format found in @0xproject/contracts",
|
||||
"pr": 388
|
||||
}
|
||||
],
|
||||
|
@ -193,8 +193,7 @@
|
||||
"version": "1.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fix bug in string enum assertion. We erroneously were checking against the enum keys, not values",
|
||||
"note": "Fix bug in string enum assertion. We erroneously were checking against the enum keys, not values",
|
||||
"pr": 821
|
||||
}
|
||||
]
|
||||
@ -339,8 +338,7 @@
|
||||
"note": "Re-publish Assert previously published under NPM package @0xproject/0x-assert"
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Added assertion isValidBaseUnitAmount which checks both that the value is a valid bigNumber and that it does not contain decimals."
|
||||
"note": "Added assertion isValidBaseUnitAmount which checks both that the value is a valid bigNumber and that it does not contain decimals."
|
||||
}
|
||||
],
|
||||
"timestamp": 1510585200
|
||||
|
@ -90,8 +90,7 @@
|
||||
"pr": 1187
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"the `OrderProvider` now requires a new method `getAvailableMakerAssetDatasAsync` and the `StandardRelayerAPIOrderProvider` requires the network id at init.",
|
||||
"note": "the `OrderProvider` now requires a new method `getAvailableMakerAssetDatasAsync` and the `StandardRelayerAPIOrderProvider` requires the network id at init.",
|
||||
"pr": 1203
|
||||
},
|
||||
{
|
||||
@ -99,13 +98,11 @@
|
||||
"pr": 1197
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fix bug where `BuyQuoteInfo` objects could return `totalEthAmount` and `feeEthAmount` that were not whole numbers",
|
||||
"note": "Fix bug where `BuyQuoteInfo` objects could return `totalEthAmount` and `feeEthAmount` that were not whole numbers",
|
||||
"pr": 1207
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fix bug where default values for `AssetBuyer` public facing methods could get overriden by `undefined` values",
|
||||
"note": "Fix bug where default values for `AssetBuyer` public facing methods could get overriden by `undefined` values",
|
||||
"pr": 1207
|
||||
},
|
||||
{
|
||||
@ -126,8 +123,7 @@
|
||||
"pr": 1131
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Updated to use new modularized artifacts and the latest version of @0xproject/contract-wrappers",
|
||||
"note": "Updated to use new modularized artifacts and the latest version of @0xproject/contract-wrappers",
|
||||
"pr": 1105
|
||||
},
|
||||
{
|
||||
|
@ -243,8 +243,7 @@
|
||||
"version": "0.3.4",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Update EthersJs to fix the `value.toLowerCase()` is not a function bug caused by `ethers.js` breaking patch version https://github.com/ethers-io/ethers.js/issues/201"
|
||||
"note": "Update EthersJs to fix the `value.toLowerCase()` is not a function bug caused by `ethers.js` breaking patch version https://github.com/ethers-io/ethers.js/issues/201"
|
||||
}
|
||||
],
|
||||
"timestamp": 1529397769
|
||||
|
@ -228,8 +228,7 @@
|
||||
"version": "1.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Remove `WebSocketOrderbookChannel` from the public interface and replace with `orderbookChannelFactory`"
|
||||
"note": "Remove `WebSocketOrderbookChannel` from the public interface and replace with `orderbookChannelFactory`"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -18,8 +18,8 @@ If your project is in [TypeScript](https://www.typescriptlang.org/), add the fol
|
||||
|
||||
## Usage
|
||||
|
||||
* [Docs](https://0xproject.com/docs/connect)
|
||||
* [Tutorials](https://0xproject.com/wiki#connect)
|
||||
- [Docs](https://0xproject.com/docs/connect)
|
||||
- [Tutorials](https://0xproject.com/wiki#connect)
|
||||
|
||||
## Contributing
|
||||
|
||||
|
@ -52,8 +52,7 @@
|
||||
"version": "4.1.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add a `nonce` field for `TxOpts` so that it's now possible to re-broadcast stuck transactions with a higher gas amount",
|
||||
"note": "Add a `nonce` field for `TxOpts` so that it's now possible to re-broadcast stuck transactions with a higher gas amount",
|
||||
"pr": 1292
|
||||
}
|
||||
],
|
||||
@ -81,18 +80,15 @@
|
||||
"version": "4.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add signature validation, regular cancellation and `cancelledUpTo` checks to `validateOrderFillableOrThrowAsync`",
|
||||
"note": "Add signature validation, regular cancellation and `cancelledUpTo` checks to `validateOrderFillableOrThrowAsync`",
|
||||
"pr": 1235
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Improved the errors thrown by `validateOrderFillableOrThrowAsync` by making them more descriptive",
|
||||
"note": "Improved the errors thrown by `validateOrderFillableOrThrowAsync` by making them more descriptive",
|
||||
"pr": 1235
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Throw previously swallowed network errors when calling `validateOrderFillableOrThrowAsync` (see issue: #1218)",
|
||||
"note": "Throw previously swallowed network errors when calling `validateOrderFillableOrThrowAsync` (see issue: #1218)",
|
||||
"pr": 1235
|
||||
}
|
||||
],
|
||||
@ -123,28 +119,23 @@
|
||||
"pr": 1105
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Default contract addresses are no longer stored in artifacts and are instead loaded from the `@0xproject/contract-addresses` package.",
|
||||
"note": "Default contract addresses are no longer stored in artifacts and are instead loaded from the `@0xproject/contract-addresses` package.",
|
||||
"pr": 1105
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Most contract addresses are now defined at instantiation time and are available as properties (e.g., `exchangeWrapper.address`) instead of methods (e.g., `exchangeWrapper.getContractAddress()`).",
|
||||
"note": "Most contract addresses are now defined at instantiation time and are available as properties (e.g., `exchangeWrapper.address`) instead of methods (e.g., `exchangeWrapper.getContractAddress()`).",
|
||||
"pr": 1105
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Removed `setProvider` method in top-level `ContractWrapper` class and added new `unsubscribeAll` method.",
|
||||
"note": "Removed `setProvider` method in top-level `ContractWrapper` class and added new `unsubscribeAll` method.",
|
||||
"pr": 1105
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Some properties and methods have been renamed. For example, some methods that previously could throw no longer can, and so their names have been updated accordingly.",
|
||||
"note": "Some properties and methods have been renamed. For example, some methods that previously could throw no longer can, and so their names have been updated accordingly.",
|
||||
"pr": 1105
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Removed ContractNotFound errors. Checking for this error was somewhat ineffecient. Relevant methods/functions now return the default error from web3-wrapper, which we feel provides enough information.",
|
||||
"note": "Removed ContractNotFound errors. Checking for this error was somewhat ineffecient. Relevant methods/functions now return the default error from web3-wrapper, which we feel provides enough information.",
|
||||
"pr": 1105
|
||||
},
|
||||
{
|
||||
@ -180,13 +171,11 @@
|
||||
"version": "2.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fixes dropped events in subscriptions by fetching logs by blockHash instead of blockNumber. Support for fetching by blockHash was added in Geth > v1.8.13 and Parity > v2.1.0. Infura works too.",
|
||||
"note": "Fixes dropped events in subscriptions by fetching logs by blockHash instead of blockNumber. Support for fetching by blockHash was added in Geth > v1.8.13 and Parity > v2.1.0. Infura works too.",
|
||||
"pr": 1080
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fix misunderstanding about blockstream interface callbacks and pass the raw JSON RPC responses to it",
|
||||
"note": "Fix misunderstanding about blockstream interface callbacks and pass the raw JSON RPC responses to it",
|
||||
"pr": 1080
|
||||
}
|
||||
],
|
||||
@ -235,18 +224,15 @@
|
||||
"note": "Add `OrderValidatorWrapper`"
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fix bug where contracts not deployed on a network showed an `EXCHANGE_CONTRACT_DOES_NOT_EXIST` error instead of `CONTRACT_NOT_DEPLOYED_ON_NETWORK`",
|
||||
"note": "Fix bug where contracts not deployed on a network showed an `EXCHANGE_CONTRACT_DOES_NOT_EXIST` error instead of `CONTRACT_NOT_DEPLOYED_ON_NETWORK`",
|
||||
"pr": 1044
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Export `AssetBalanceAndProxyAllowanceFetcher` and `OrderFilledCancelledFetcher` implementations",
|
||||
"note": "Export `AssetBalanceAndProxyAllowanceFetcher` and `OrderFilledCancelledFetcher` implementations",
|
||||
"pr": 1054
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Add `validateOrderFillableOrThrowAsync` and `validateFillOrderThrowIfInvalidAsync` to ExchangeWrapper",
|
||||
"note": "Add `validateOrderFillableOrThrowAsync` and `validateFillOrderThrowIfInvalidAsync` to ExchangeWrapper",
|
||||
"pr": 1054
|
||||
}
|
||||
],
|
||||
@ -265,13 +251,11 @@
|
||||
"version": "1.0.1-rc.4",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Export missing types: `TransactionEncoder`, `ContractAbi`, `JSONRPCRequestPayload`, `JSONRPCResponsePayload`, `JSONRPCErrorCallback`, `AbiDefinition`, `FunctionAbi`, `EventAbi`, `EventParameter`, `DecodedLogArgs`, `MethodAbi`, `ConstructorAbi`, `FallbackAbi`, `DataItem`, `ConstructorStateMutability`, `StateMutability` & `ExchangeSignatureValidatorApprovalEventArgs`",
|
||||
"note": "Export missing types: `TransactionEncoder`, `ContractAbi`, `JSONRPCRequestPayload`, `JSONRPCResponsePayload`, `JSONRPCErrorCallback`, `AbiDefinition`, `FunctionAbi`, `EventAbi`, `EventParameter`, `DecodedLogArgs`, `MethodAbi`, `ConstructorAbi`, `FallbackAbi`, `DataItem`, `ConstructorStateMutability`, `StateMutability` & `ExchangeSignatureValidatorApprovalEventArgs`",
|
||||
"pr": 924
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Remove superfluous exported types: `ContractEvent`, `Token`, `OrderFillRequest`, `ContractEventArgs`, `LogEvent`, `OnOrderStateChangeCallback`, `ECSignature`, `OrderStateValid`, `OrderStateInvalid`, `OrderState`, `FilterObject`, `TransactionReceipt` & `TransactionReceiptWithDecodedLogs`",
|
||||
"note": "Remove superfluous exported types: `ContractEvent`, `Token`, `OrderFillRequest`, `ContractEventArgs`, `LogEvent`, `OnOrderStateChangeCallback`, `ECSignature`, `OrderStateValid`, `OrderStateInvalid`, `OrderState`, `FilterObject`, `TransactionReceipt` & `TransactionReceiptWithDecodedLogs`",
|
||||
"pr": 924
|
||||
},
|
||||
{
|
||||
|
@ -73,13 +73,13 @@ yarn prettier
|
||||
|
||||
##### Toolkit
|
||||
|
||||
* [Styled Components](https://www.styled-components.com/)
|
||||
* [BassCSS](http://basscss.com/)
|
||||
- [Styled Components](https://www.styled-components.com/)
|
||||
- [BassCSS](http://basscss.com/)
|
||||
|
||||
##### Recommended Atom packages:
|
||||
|
||||
* [atom-typescript](https://atom.io/packages/atom-typescript)
|
||||
* [linter-tslint](https://atom.io/packages/linter-tslint)
|
||||
- [atom-typescript](https://atom.io/packages/atom-typescript)
|
||||
- [linter-tslint](https://atom.io/packages/linter-tslint)
|
||||
|
||||
## Contributing
|
||||
|
||||
|
@ -69,10 +69,7 @@ class BaseAnimation extends React.PureComponent<AnimationProps, AnimationState>
|
||||
}
|
||||
}
|
||||
|
||||
const Container =
|
||||
styled.div <
|
||||
AnimationProps >
|
||||
`
|
||||
const Container = styled.div<AnimationProps>`
|
||||
width: 100%;
|
||||
height: ${props => props.height}px;
|
||||
position: absolute;
|
||||
|
@ -6,10 +6,7 @@ interface ButtonProps {
|
||||
large?: boolean;
|
||||
}
|
||||
|
||||
const Button =
|
||||
styled.button <
|
||||
ButtonProps >
|
||||
`
|
||||
const Button = styled.button<ButtonProps>`
|
||||
font-family: inherit;
|
||||
line-height: 1;
|
||||
font-weight: 500;
|
||||
|
@ -45,11 +45,8 @@ const Container = styled.div`
|
||||
}
|
||||
`;
|
||||
|
||||
const Base =
|
||||
styled.div <
|
||||
CodeProps >
|
||||
`
|
||||
font-size: .875rem;
|
||||
const Base = styled.div<CodeProps>`
|
||||
font-size: 0.875rem;
|
||||
color: ${props => (_.isUndefined(props.language) ? colors.white : 'inherit')};
|
||||
background-color: ${props =>
|
||||
props.isLight ? 'rgba(255,255,255,.15)' : _.isUndefined(props.language) ? colors.black : '#F1F4F5'};
|
||||
@ -110,10 +107,7 @@ const StyledCodeDiff = styled(CodeDiff)`
|
||||
}
|
||||
`;
|
||||
|
||||
const StyledPre =
|
||||
styled.pre <
|
||||
CodeProps >
|
||||
`
|
||||
const StyledPre = styled.pre<CodeProps>`
|
||||
margin: 0;
|
||||
${props =>
|
||||
!props.isDiff
|
||||
|
@ -4,10 +4,7 @@ interface ContainerProps {
|
||||
wide?: boolean;
|
||||
}
|
||||
|
||||
const Container =
|
||||
styled.div <
|
||||
ContainerProps >
|
||||
`
|
||||
const Container = styled.div<ContainerProps>`
|
||||
max-width: 77.5rem;
|
||||
margin: 0 auto;
|
||||
width: ${props => (props.wide ? '100%' : 'calc(100% - 5rem)')};
|
||||
|
@ -3,10 +3,7 @@ import styled from 'styled-components';
|
||||
|
||||
import { Container } from './container';
|
||||
|
||||
const StyledMain =
|
||||
styled.div <
|
||||
MainProps >
|
||||
`
|
||||
const StyledMain = styled.div<MainProps>`
|
||||
padding-top: 6.25rem;
|
||||
padding-bottom: 6.25rem;
|
||||
${props =>
|
||||
|
@ -48,7 +48,9 @@ const Tabs: React.StatelessComponent<{}> = props => (
|
||||
})}
|
||||
</StyledTabList>
|
||||
|
||||
{React.Children.map(props.children, child => <TabPanel>{child}</TabPanel>)}
|
||||
{React.Children.map(props.children, child => (
|
||||
<TabPanel>{child}</TabPanel>
|
||||
))}
|
||||
</ReactTabs>
|
||||
</Breakout>
|
||||
);
|
||||
|
@ -108,10 +108,7 @@ interface TraceProps {
|
||||
background?: string;
|
||||
}
|
||||
|
||||
const StyledSection =
|
||||
styled.section <
|
||||
TraceProps >
|
||||
`
|
||||
const StyledSection = styled.section<TraceProps>`
|
||||
max-width: 90rem;
|
||||
margin: 0 auto;
|
||||
background: linear-gradient(to right, ${colors.black} 50%, ${props => props.background} 50%);
|
||||
@ -138,10 +135,7 @@ const Wrapper = styled(Container)`
|
||||
`};
|
||||
`;
|
||||
|
||||
const Block =
|
||||
styled.div <
|
||||
TraceProps >
|
||||
`
|
||||
const Block = styled.div<TraceProps>`
|
||||
width: 50%;
|
||||
background: ${props => (props.background ? props.background : colors.black)};
|
||||
color: ${props => (props.background ? 'inherit' : colors.white)};
|
||||
@ -200,10 +194,7 @@ const Item = styled.li`
|
||||
}
|
||||
`;
|
||||
|
||||
const Copy =
|
||||
styled.div <
|
||||
{ dark: boolean } >
|
||||
`
|
||||
const Copy = styled.div<{ dark: boolean }>`
|
||||
margin-right: 5.875rem;
|
||||
${props =>
|
||||
props.dark &&
|
||||
|
@ -5,10 +5,7 @@ import styledNormalize from 'styled-normalize';
|
||||
import { ContextInterface } from 'ts/context';
|
||||
import { media } from 'ts/variables';
|
||||
|
||||
const GlobalStyles =
|
||||
createGlobalStyle <
|
||||
ContextInterface >
|
||||
`
|
||||
const GlobalStyles = createGlobalStyle<ContextInterface>`
|
||||
${styledNormalize}
|
||||
${hljsStyles}
|
||||
|
||||
|
@ -14,8 +14,7 @@
|
||||
},
|
||||
"nonce": "0x0",
|
||||
"timestamp": "0x5af1ffac",
|
||||
"extraData":
|
||||
"0x0000000000000000000000000000000000000000000000000000000000000000e8816898d851d5b61b7f950627d04d794c07ca370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
"extraData": "0x0000000000000000000000000000000000000000000000000000000000000000e8816898d851d5b61b7f950627d04d794c07ca370000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
|
||||
"gasLimit": "0x4c4b400000",
|
||||
"difficulty": "0x1",
|
||||
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
|
||||
|
@ -176,8 +176,7 @@
|
||||
"version": "1.0.1-rc.3",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Updated to use latest orderFactory interface, fixed `feeRecipient` spelling error in public interface",
|
||||
"note": "Updated to use latest orderFactory interface, fixed `feeRecipient` spelling error in public interface",
|
||||
"pr": 936
|
||||
},
|
||||
{
|
||||
|
@ -17,9 +17,12 @@ The package is available as a UMD module named `zeroExInstant` at https://instan
|
||||
<body>
|
||||
<div id="zeroExInstantContainer"></div>
|
||||
<script>
|
||||
zeroExInstant.render({
|
||||
zeroExInstant.render(
|
||||
{
|
||||
// Initialization options
|
||||
}, '#zeroExInstantContainer');
|
||||
},
|
||||
'#zeroExInstantContainer',
|
||||
);
|
||||
</script>
|
||||
</body>
|
||||
```
|
||||
|
@ -14,10 +14,7 @@ to {
|
||||
}
|
||||
`;
|
||||
|
||||
export const FullRotation =
|
||||
styled.div <
|
||||
FullRotationProps >
|
||||
`
|
||||
export const FullRotation = styled.div<FullRotationProps>`
|
||||
animation: ${rotatingKeyframes} 2s linear infinite;
|
||||
height: ${props => props.height};
|
||||
width: ${props => props.width};
|
||||
|
@ -95,10 +95,7 @@ const animationForSize = (
|
||||
return animationSettingsForSize && mediaFn`${generatePositionAnimationCss(animationSettingsForSize)}`;
|
||||
};
|
||||
|
||||
export const PositionAnimation =
|
||||
styled.div <
|
||||
PositionAnimationProps >
|
||||
`
|
||||
export const PositionAnimation = styled.div<PositionAnimationProps>`
|
||||
&& {
|
||||
${props => props.zIndex && stylesForMedia<number>('z-index', props.zIndex)}
|
||||
${props => defaultAnimation(props.positionSettings)}
|
||||
|
@ -4,9 +4,9 @@ import { createGlobalStyle } from '../style/theme';
|
||||
export interface CSSResetProps {}
|
||||
|
||||
/*
|
||||
* Derived from
|
||||
* https://github.com/jtrost/Complete-CSS-Reset
|
||||
*/
|
||||
* Derived from
|
||||
* https://github.com/jtrost/Complete-CSS-Reset
|
||||
*/
|
||||
export const CSSReset = createGlobalStyle`
|
||||
.${INJECTED_DIV_CLASS} {
|
||||
a, abbr, area, article, aside, audio, b, bdo, blockquote, body, button,
|
||||
|
@ -68,10 +68,7 @@ interface ProgressProps {
|
||||
animationSettings?: WidthAnimationSettings;
|
||||
}
|
||||
|
||||
export const Progress =
|
||||
styled.div <
|
||||
ProgressProps >
|
||||
`
|
||||
export const Progress = styled.div<ProgressProps>`
|
||||
&& {
|
||||
background-color: ${props => props.theme[ColorOption.primaryColor]};
|
||||
border-radius: 6px;
|
||||
|
@ -8,16 +8,15 @@ export interface CircleProps {
|
||||
}
|
||||
|
||||
export const Circle = withTheme(
|
||||
styled.div <
|
||||
CircleProps >
|
||||
`
|
||||
styled.div<CircleProps>`
|
||||
&& {
|
||||
width: ${props => props.diameter}px;
|
||||
height: ${props => props.diameter}px;
|
||||
background-color: ${props => (props.rawColor ? props.rawColor : props.theme[props.color || ColorOption.white])};
|
||||
background-color: ${props =>
|
||||
props.rawColor ? props.rawColor : props.theme[props.color || ColorOption.white]};
|
||||
border-radius: 50%;
|
||||
}
|
||||
`,
|
||||
`,
|
||||
);
|
||||
|
||||
Circle.displayName = 'Circle';
|
||||
|
@ -51,10 +51,7 @@ const getBackgroundColor = (theme: any, backgroundColor?: ColorOption, rawBackgr
|
||||
return 'none';
|
||||
};
|
||||
|
||||
export const Container =
|
||||
styled.div <
|
||||
ContainerProps >
|
||||
`
|
||||
export const Container = styled.div<ContainerProps>`
|
||||
&& {
|
||||
box-sizing: border-box;
|
||||
${props => cssRuleIfExists(props, 'flex-grow')}
|
||||
|
@ -14,10 +14,7 @@ export interface FlexProps {
|
||||
flexGrow?: number | string;
|
||||
}
|
||||
|
||||
export const Flex =
|
||||
styled.div <
|
||||
FlexProps >
|
||||
`
|
||||
export const Flex = styled.div<FlexProps>`
|
||||
&& {
|
||||
display: ${props => (props.inline ? 'inline-flex' : 'flex')};
|
||||
flex-direction: ${props => props.direction};
|
||||
|
@ -14,10 +14,7 @@ export interface InputProps extends React.HTMLAttributes<HTMLInputElement> {
|
||||
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
||||
}
|
||||
|
||||
export const Input =
|
||||
styled.input <
|
||||
InputProps >
|
||||
`
|
||||
export const Input = styled.input<InputProps>`
|
||||
&& {
|
||||
all: initial;
|
||||
font-size: ${props => props.fontSize};
|
||||
@ -32,7 +29,8 @@ export const Input =
|
||||
color: ${props => props.theme[props.fontColor || 'white']} !important;
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
&::-webkit-outer-spin-button, &::-webkit-inner-spin-button {
|
||||
&::-webkit-outer-spin-button,
|
||||
&::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
@ -12,10 +12,7 @@ export interface OverlayProps {
|
||||
showMaxWidth?: ScreenWidths;
|
||||
}
|
||||
|
||||
export const Overlay =
|
||||
styled.div <
|
||||
OverlayProps >
|
||||
`
|
||||
export const Overlay = styled.div<OverlayProps>`
|
||||
&& {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
@ -31,10 +31,7 @@ export const Text: React.StatelessComponent<TextProps> = ({ href, onClick, ...re
|
||||
};
|
||||
|
||||
const opacityOnHoverAmount = 0.5;
|
||||
export const StyledText =
|
||||
styled.div <
|
||||
TextProps >
|
||||
`
|
||||
export const StyledText = styled.div<TextProps>`
|
||||
&& {
|
||||
font-family: 'Inter UI', sans-serif;
|
||||
font-style: ${props => props.fontStyle};
|
||||
|
@ -62,4 +62,7 @@ const mapDispatchToProps = (dispatch: Dispatch<Action>, _ownProps: LatestErrorPr
|
||||
},
|
||||
});
|
||||
|
||||
export const LatestError = connect(mapStateToProps, mapDispatchToProps)(LatestErrorComponent);
|
||||
export const LatestError = connect(
|
||||
mapStateToProps,
|
||||
mapDispatchToProps,
|
||||
)(LatestErrorComponent);
|
||||
|
@ -104,9 +104,8 @@ export const assetUtils = {
|
||||
return assetDataGroupIfExists[Network.Mainnet];
|
||||
},
|
||||
getERC20AssetsFromAssets: (assets: Asset[]): ERC20Asset[] => {
|
||||
const erc20sOrUndefined = _.map(
|
||||
assets,
|
||||
asset => (asset.metaData.assetProxyId === AssetProxyId.ERC20 ? (asset as ERC20Asset) : undefined),
|
||||
const erc20sOrUndefined = _.map(assets, asset =>
|
||||
asset.metaData.assetProxyId === AssetProxyId.ERC20 ? (asset as ERC20Asset) : undefined,
|
||||
);
|
||||
return _.compact(erc20sOrUndefined);
|
||||
},
|
||||
|
@ -48,8 +48,7 @@
|
||||
"version": "2.1.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Improve schemas by enforcing that amounts that must be whole numbers (e.g Order asset amounts) no longer allow decimal amounts",
|
||||
"note": "Improve schemas by enforcing that amounts that must be whole numbers (e.g Order asset amounts) no longer allow decimal amounts",
|
||||
"pr": 1173
|
||||
},
|
||||
{
|
||||
@ -63,8 +62,7 @@
|
||||
"version": "2.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Convert all schemas to JSON files so that they can be used with `json-schema` implemenations in other programming languages.",
|
||||
"note": "Convert all schemas to JSON files so that they can be used with `json-schema` implemenations in other programming languages.",
|
||||
"pr": 1145
|
||||
}
|
||||
],
|
||||
@ -255,8 +253,7 @@
|
||||
"version": "0.8.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Update Order & SignedOrder schemas, remove ECSignature schema and add Hex schema as part of V2 upgrades",
|
||||
"note": "Update Order & SignedOrder schemas, remove ECSignature schema and add Hex schema as part of V2 upgrades",
|
||||
"pr": 615
|
||||
}
|
||||
],
|
||||
|
@ -3,12 +3,12 @@
|
||||
This is an example project that demonstrates how the many Ethereum dev tools developed by 0x can be used in any Solidity/TS project.
|
||||
It supports:
|
||||
|
||||
* Compiling & testing smart contracts
|
||||
* Generating typed contract wrappers
|
||||
* Solidity coverage
|
||||
* Solidity gas profiling
|
||||
* Running tests against Ganache
|
||||
* Running tests against our fork of Geth (it supports snapshotting & time travel)
|
||||
- Compiling & testing smart contracts
|
||||
- Generating typed contract wrappers
|
||||
- Solidity coverage
|
||||
- Solidity gas profiling
|
||||
- Running tests against Ganache
|
||||
- Running tests against our fork of Geth (it supports snapshotting & time travel)
|
||||
|
||||
## Contributing
|
||||
|
||||
|
@ -49,8 +49,7 @@
|
||||
"version": "2.1.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Export all type declarations used by the public interface, as well as the `ContractAddresses` mapping",
|
||||
"note": "Export all type declarations used by the public interface, as well as the `ContractAddresses` mapping",
|
||||
"pr": 1301
|
||||
}
|
||||
],
|
||||
@ -96,8 +95,7 @@
|
||||
"version": "2.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Contract artifacts have been moved to the new @0xproject/contract-artifacts package. v1 migrations have been removed. `runMigrationsAsync` returns the addresses of the contracts that were deployed.",
|
||||
"note": "Contract artifacts have been moved to the new @0xproject/contract-artifacts package. v1 migrations have been removed. `runMigrationsAsync` returns the addresses of the contracts that were deployed.",
|
||||
"pr": 1105
|
||||
}
|
||||
],
|
||||
|
@ -3,8 +3,7 @@
|
||||
"version": "3.1.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Use new ABI encoder, add encoding/decoding logic for MultiAsset assetData, and add information to return values in orderStateUtils",
|
||||
"note": "Use new ABI encoder, add encoding/decoding logic for MultiAsset assetData, and add information to return values in orderStateUtils",
|
||||
"pr": 1363
|
||||
}
|
||||
],
|
||||
@ -78,23 +77,19 @@
|
||||
"version": "3.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add signature validation, regular cancellation and `cancelledUpTo` checks to `validateOrderFillableOrThrowAsync`",
|
||||
"note": "Add signature validation, regular cancellation and `cancelledUpTo` checks to `validateOrderFillableOrThrowAsync`",
|
||||
"pr": 1235
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Improved the errors thrown by `validateOrderFillableOrThrowAsync` by making them more descriptive",
|
||||
"note": "Improved the errors thrown by `validateOrderFillableOrThrowAsync` by making them more descriptive",
|
||||
"pr": 1235
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Throw previously swallowed network errors when calling `validateOrderFillableOrThrowAsync` (see issue: #1218)",
|
||||
"note": "Throw previously swallowed network errors when calling `validateOrderFillableOrThrowAsync` (see issue: #1218)",
|
||||
"pr": 1235
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Modified the `AbstractOrderFilledCancelledFetcher` interface slightly such that `isOrderCancelledAsync` accepts a `signedOrder` instead of an `orderHash` param",
|
||||
"note": "Modified the `AbstractOrderFilledCancelledFetcher` interface slightly such that `isOrderCancelledAsync` accepts a `signedOrder` instead of an `orderHash` param",
|
||||
"pr": 1235
|
||||
}
|
||||
],
|
||||
@ -113,8 +108,7 @@
|
||||
"version": "2.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Added `ecSignOrderAsync` to first sign an order using `eth_signTypedData` and fallback to `eth_sign`.",
|
||||
"note": "Added `ecSignOrderAsync` to first sign an order using `eth_signTypedData` and fallback to `eth_sign`.",
|
||||
"pr": 1102
|
||||
},
|
||||
{
|
||||
@ -145,8 +139,7 @@
|
||||
"version": "1.0.6",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add signerAddress normalization to `isValidECSignature` to avoid `invalid address recovery` error if caller supplies a checksummed address",
|
||||
"note": "Add signerAddress normalization to `isValidECSignature` to avoid `invalid address recovery` error if caller supplies a checksummed address",
|
||||
"pr": 1096
|
||||
}
|
||||
],
|
||||
@ -228,23 +221,19 @@
|
||||
"pr": 953
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Update marketUtils api such that all optional parameters are bundled into one optional param and more defaults are provided",
|
||||
"note": "Update marketUtils api such that all optional parameters are bundled into one optional param and more defaults are provided",
|
||||
"pr": 954
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Instead of exporting signature util methods individually, they are now exported as `signatureUtils`",
|
||||
"note": "Instead of exporting signature util methods individually, they are now exported as `signatureUtils`",
|
||||
"pr": 924
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Export types: `SignedOrder`, `Order`, `OrderRelevantState`, `OrderState`, `ECSignature`, `ERC20AssetData`, `ERC721AssetData`, `AssetProxyId`, `SignerType`, `SignatureType`, `OrderStateValid`, `OrderStateInvalid`, `ExchangeContractErrs`, `TradeSide`, `TransferType`, `FindFeeOrdersThatCoverFeesForTargetOrdersOpts`, `FindOrdersThatCoverMakerAssetFillAmountOpts`, `FeeOrdersAndRemainingFeeAmount`, `OrdersAndRemainingFillAmount`, `Provider`, `JSONRPCRequestPayload`, `JSONRPCErrorCallback` and `JSONRPCResponsePayload`",
|
||||
"note": "Export types: `SignedOrder`, `Order`, `OrderRelevantState`, `OrderState`, `ECSignature`, `ERC20AssetData`, `ERC721AssetData`, `AssetProxyId`, `SignerType`, `SignatureType`, `OrderStateValid`, `OrderStateInvalid`, `ExchangeContractErrs`, `TradeSide`, `TransferType`, `FindFeeOrdersThatCoverFeesForTargetOrdersOpts`, `FindOrdersThatCoverMakerAssetFillAmountOpts`, `FeeOrdersAndRemainingFeeAmount`, `OrdersAndRemainingFillAmount`, `Provider`, `JSONRPCRequestPayload`, `JSONRPCErrorCallback` and `JSONRPCResponsePayload`",
|
||||
"pr": 924
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Rename `resultOrders` to `resultFeeOrders` for object returned by `findFeeOrdersThatCoverFeesForTargetOrders` in `marketUtils` api",
|
||||
"note": "Rename `resultOrders` to `resultFeeOrders` for object returned by `findFeeOrdersThatCoverFeesForTargetOrders` in `marketUtils` api",
|
||||
"pr": 997
|
||||
},
|
||||
{
|
||||
@ -252,8 +241,7 @@
|
||||
"pr": 997
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Update `findFeeOrdersThatCoverFeesForTargetOrders` to round the the nearest integer when calculating required fees",
|
||||
"note": "Update `findFeeOrdersThatCoverFeesForTargetOrders` to round the the nearest integer when calculating required fees",
|
||||
"pr": 997
|
||||
}
|
||||
],
|
||||
@ -264,12 +252,10 @@
|
||||
"changes": [
|
||||
{
|
||||
"pr": 914,
|
||||
"note":
|
||||
"Update ecSignOrderHashAsync to return signature string with signature type byte. Removes messagePrefixOpts."
|
||||
"note": "Update ecSignOrderHashAsync to return signature string with signature type byte. Removes messagePrefixOpts."
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Added a synchronous `createOrder` method in `orderFactory`, updated public interfaces to support some optional parameters",
|
||||
"note": "Added a synchronous `createOrder` method in `orderFactory`, updated public interfaces to support some optional parameters",
|
||||
"pr": 936
|
||||
},
|
||||
{
|
||||
@ -313,8 +299,7 @@
|
||||
"version": "1.0.0-rc.2",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Upgrade ethereumjs-abi dep including a fix so that addresses starting with 0 are properly decoded by `decodeERC20AssetData`"
|
||||
"note": "Upgrade ethereumjs-abi dep including a fix so that addresses starting with 0 are properly decoded by `decodeERC20AssetData`"
|
||||
}
|
||||
],
|
||||
"timestamp": 1532357734
|
||||
@ -377,8 +362,7 @@
|
||||
"version": "0.0.5",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add orderStateUtils, a module for computing order state needed to decide if an order is still valid"
|
||||
"note": "Add orderStateUtils, a module for computing order state needed to decide if an order is still valid"
|
||||
}
|
||||
],
|
||||
"timestamp": 1527008794
|
||||
|
@ -13,8 +13,7 @@
|
||||
"version": "2.3.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Added a WebSocket interface to OrderWatcher so that it can be used by a client written in any language",
|
||||
"note": "Added a WebSocket interface to OrderWatcher so that it can be used by a client written in any language",
|
||||
"pr": 1427
|
||||
}
|
||||
]
|
||||
@ -59,8 +58,7 @@
|
||||
"version": "2.2.4",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fix the bug when order watcher was throwing an error on order removal when maker token was ZRX",
|
||||
"note": "Fix the bug when order watcher was throwing an error on order removal when maker token was ZRX",
|
||||
"pr": 1259
|
||||
}
|
||||
],
|
||||
@ -74,8 +72,7 @@
|
||||
"pr": 1227
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fix the bug when order watcher was trying to convert undefined to an object in case of CancelUpTo event"
|
||||
"note": "Fix the bug when order watcher was trying to convert undefined to an object in case of CancelUpTo event"
|
||||
}
|
||||
],
|
||||
"timestamp": 1542134075
|
||||
@ -106,8 +103,7 @@
|
||||
"pr": 1118
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Updated to use new modularized artifacts and the latest version of @0xproject/contract-wrappers. Constructor has a new optional `contractAddresses` parameter.",
|
||||
"note": "Updated to use new modularized artifacts and the latest version of @0xproject/contract-wrappers. Constructor has a new optional `contractAddresses` parameter.",
|
||||
"pr": 1105
|
||||
}
|
||||
],
|
||||
@ -136,18 +132,15 @@
|
||||
"version": "2.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fixes dropped events issue by fetching logs by blockHash instead of blockNumber. Support for fetching by blockHash was added in Geth > v1.8.13 and Parity > v2.1.0. Infura works too.",
|
||||
"note": "Fixes dropped events issue by fetching logs by blockHash instead of blockNumber. Support for fetching by blockHash was added in Geth > v1.8.13 and Parity > v2.1.0. Infura works too.",
|
||||
"pr": 1080
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fix misunderstanding about blockstream interface callbacks and pass the raw JSON RPC responses to it",
|
||||
"note": "Fix misunderstanding about blockstream interface callbacks and pass the raw JSON RPC responses to it",
|
||||
"pr": 1080
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Add `transactionHash` to `OrderState` emitted by `OrderWatcher` subscriptions if the order's state change originated from a transaction.",
|
||||
"note": "Add `transactionHash` to `OrderState` emitted by `OrderWatcher` subscriptions if the order's state change originated from a transaction.",
|
||||
"pr": 1087
|
||||
}
|
||||
],
|
||||
@ -211,8 +204,7 @@
|
||||
"version": "1.0.1-rc.4",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Export types: `ExchangeContractErrs`, `OrderRelevantState`, `JSONRPCRequestPayload`, `JSONRPCErrorCallback` and `JSONRPCResponsePayload`",
|
||||
"note": "Export types: `ExchangeContractErrs`, `OrderRelevantState`, `JSONRPCRequestPayload`, `JSONRPCErrorCallback` and `JSONRPCResponsePayload`",
|
||||
"pr": 924
|
||||
},
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ If your project is in [TypeScript](https://www.typescriptlang.org/), add the fol
|
||||
**Environmental Variables**
|
||||
Several environmental variables can be set to configure the server:
|
||||
|
||||
* `ORDER_WATCHER_HTTP_PORT` specifies the port that the http server will listen on
|
||||
- `ORDER_WATCHER_HTTP_PORT` specifies the port that the http server will listen on
|
||||
and accept connections from. When this is not set, we default to 8080.
|
||||
|
||||
**Requests**
|
||||
@ -58,10 +58,10 @@ wsClient = create_connection("ws://127.0.0.1:8080")
|
||||
|
||||
With the connection established, you prepare the payload for your request. The payload is a json object with a format established by the [JSON RPC specification](https://www.jsonrpc.org/specification):
|
||||
|
||||
* `id`: All requests require you to specify a numerical `id`. When the server responds to the request, the response will have the same `id` as the one supplied with your request.
|
||||
* `jsonrpc`: This is always the string `'2.0'`.
|
||||
* `method`: This specifies the OrderWatcher method you want to call. I.e., `'ADD_ORDER'`, `'REMOVE_ORDER'` or `'GET_STATS'`.
|
||||
* `params`: These contain the parameters needed by OrderWatcher to execute the method you called. For `ADD_ORDER`, provide `{ signedOrder: <your signedOrder> }`. For `REMOVE_ORDER`, provide `{ orderHash: <your orderHash> }`. For `GET_STATS`, no parameters are needed, so you may leave this empty.
|
||||
- `id`: All requests require you to specify a numerical `id`. When the server responds to the request, the response will have the same `id` as the one supplied with your request.
|
||||
- `jsonrpc`: This is always the string `'2.0'`.
|
||||
- `method`: This specifies the OrderWatcher method you want to call. I.e., `'ADD_ORDER'`, `'REMOVE_ORDER'` or `'GET_STATS'`.
|
||||
- `params`: These contain the parameters needed by OrderWatcher to execute the method you called. For `ADD_ORDER`, provide `{ signedOrder: <your signedOrder> }`. For `REMOVE_ORDER`, provide `{ orderHash: <your orderHash> }`. For `GET_STATS`, no parameters are needed, so you may leave this empty.
|
||||
|
||||
Next, convert the payload to a string and send it through the connection.
|
||||
In Javascript:
|
||||
@ -92,11 +92,11 @@ wsClient.send(json.dumps(remove_order_payload));
|
||||
**Response**
|
||||
The server responds to all requests in a similar format. In the data field, you'll find another object containing the following fields:
|
||||
|
||||
* `id`: The id corresponding to the request that the server is responding to. `UPDATE` responses are not based on any requests so the `id` field is omitted`.
|
||||
* `jsonrpc`: Always `'2.0'`.
|
||||
* `method`: The method the server is responding to. Eg. `ADD_ORDER`. When order states change the server may also initiate a response. In this case, method will be listed as `UPDATE`.
|
||||
* `result`: This field varies based on the method. `UPDATE` responses contain the new order state. `GET_STATS` responses contain the current order count. When there are errors, this field is omitted.
|
||||
* `error`: When there is an error executing a request, the [JSON RPC](https://www.jsonrpc.org/specification) error object is listed here. When the server responds successfully, this field is omitted.
|
||||
- `id`: The id corresponding to the request that the server is responding to. `UPDATE` responses are not based on any requests so the `id` field is omitted`.
|
||||
- `jsonrpc`: Always `'2.0'`.
|
||||
- `method`: The method the server is responding to. Eg. `ADD_ORDER`. When order states change the server may also initiate a response. In this case, method will be listed as `UPDATE`.
|
||||
- `result`: This field varies based on the method. `UPDATE` responses contain the new order state. `GET_STATS` responses contain the current order count. When there are errors, this field is omitted.
|
||||
- `error`: When there is an error executing a request, the [JSON RPC](https://www.jsonrpc.org/specification) error object is listed here. When the server responds successfully, this field is omitted.
|
||||
|
||||
In Javascript, the responses can be parsed using the `onmessage` callback:
|
||||
|
||||
|
@ -164,19 +164,19 @@ set the`ZEROEX_DATA_PIPELINE_DB_URL` environment variable to a valid
|
||||
|
||||
#### Additional guidelines and tips:
|
||||
|
||||
* Table names should be plural and separated by underscores (e.g.,
|
||||
- Table names should be plural and separated by underscores (e.g.,
|
||||
`exchange_fill_events`).
|
||||
* Any table which contains data which comes directly from a third-party source
|
||||
- Any table which contains data which comes directly from a third-party source
|
||||
should be namespaced in the `raw` PostgreSQL schema.
|
||||
* Column names in the database should be separated by underscores (e.g.,
|
||||
- Column names in the database should be separated by underscores (e.g.,
|
||||
`maker_asset_type`).
|
||||
* Field names in entity classes (like any other fields in TypeScript) should
|
||||
- Field names in entity classes (like any other fields in TypeScript) should
|
||||
be camel-cased (e.g., `makerAssetType`).
|
||||
* All timestamps should be stored as milliseconds since the Unix Epoch.
|
||||
* Use the `BigNumber` type for TypeScript code which deals with 256-bit
|
||||
- All timestamps should be stored as milliseconds since the Unix Epoch.
|
||||
- Use the `BigNumber` type for TypeScript code which deals with 256-bit
|
||||
numbers from smart contracts or for any case where we are dealing with large
|
||||
floating point numbers.
|
||||
* [TypeORM documentation](http://typeorm.io/#/) is pretty robust and can be a
|
||||
- [TypeORM documentation](http://typeorm.io/#/) is pretty robust and can be a
|
||||
helpful resource.
|
||||
* Scripts/parsers should perform minimum data transformation/normalization.
|
||||
The idea here is to have a raw data feed that will be cleaned up and
|
||||
|
@ -29,18 +29,23 @@ async function getOrderbookAsync(): Promise<void> {
|
||||
console.log(`Got ${rawOrders.records.length} orders.`);
|
||||
console.log('Parsing orders...');
|
||||
// Parse the sra orders, then add source url to each.
|
||||
const orders = R.pipe(parseSraOrders, R.map(setSourceUrl(RADAR_RELAY_URL)))(rawOrders);
|
||||
const orders = R.pipe(
|
||||
parseSraOrders,
|
||||
R.map(setSourceUrl(RADAR_RELAY_URL)),
|
||||
)(rawOrders);
|
||||
// Save all the orders and update the observed time stamps in a single
|
||||
// transaction.
|
||||
console.log('Saving orders and updating timestamps...');
|
||||
const observedTimestamp = Date.now();
|
||||
await connection.transaction(async (manager: EntityManager): Promise<void> => {
|
||||
await connection.transaction(
|
||||
async (manager: EntityManager): Promise<void> => {
|
||||
for (const order of orders) {
|
||||
await manager.save(SraOrder, order);
|
||||
const orderObservation = createObservedTimestampForOrder(order, observedTimestamp);
|
||||
await manager.save(orderObservation);
|
||||
}
|
||||
});
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
const sourceUrlProp = R.lensProp('sourceUrl');
|
||||
@ -49,6 +54,8 @@ const sourceUrlProp = R.lensProp('sourceUrl');
|
||||
* Sets the source url for a single order. Returns a new order instead of
|
||||
* mutating the given one.
|
||||
*/
|
||||
const setSourceUrl = R.curry((sourceURL: string, order: SraOrder): SraOrder => {
|
||||
const setSourceUrl = R.curry(
|
||||
(sourceURL: string, order: SraOrder): SraOrder => {
|
||||
return R.set(sourceUrlProp, sourceURL, order);
|
||||
});
|
||||
},
|
||||
);
|
||||
|
@ -305,8 +305,7 @@
|
||||
"custom_fields": [
|
||||
{
|
||||
"custom_field_definition_id": 100764,
|
||||
"value":
|
||||
"|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------"
|
||||
"value": "|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------"
|
||||
},
|
||||
{
|
||||
"custom_field_definition_id": 103481,
|
||||
@ -345,8 +344,7 @@
|
||||
"custom_fields": [
|
||||
{
|
||||
"custom_field_definition_id": 100764,
|
||||
"value":
|
||||
"|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5-----"
|
||||
"value": "|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5-----"
|
||||
},
|
||||
{
|
||||
"custom_field_definition_id": 103481,
|
||||
@ -385,13 +383,11 @@
|
||||
"custom_fields": [
|
||||
{
|
||||
"custom_field_definition_id": 100764,
|
||||
"value":
|
||||
"|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5-----"
|
||||
"value": "|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5-----"
|
||||
},
|
||||
{
|
||||
"custom_field_definition_id": 103481,
|
||||
"value":
|
||||
"|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------"
|
||||
"value": "|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------"
|
||||
}
|
||||
],
|
||||
"date_created": 1489791470,
|
||||
@ -426,13 +422,11 @@
|
||||
"custom_fields": [
|
||||
{
|
||||
"custom_field_definition_id": 100764,
|
||||
"value":
|
||||
"|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5-----"
|
||||
"value": "|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5-----"
|
||||
},
|
||||
{
|
||||
"custom_field_definition_id": 103481,
|
||||
"value":
|
||||
"|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------"
|
||||
"value": "|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------|--------1---------2---------3---------4---------5---------6---------7---------8---------9---------"
|
||||
}
|
||||
],
|
||||
"date_created": 1489791672,
|
||||
|
@ -337,18 +337,15 @@
|
||||
"version": "0.0.5",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Handle `reflection` type rendering so that anonymous function type declarations render properly",
|
||||
"note": "Handle `reflection` type rendering so that anonymous function type declarations render properly",
|
||||
"pr": 465
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Rename `MethodSignature` to `Signature` and change it's props so that it can be used to render method and function signatures.",
|
||||
"note": "Rename `MethodSignature` to `Signature` and change it's props so that it can be used to render method and function signatures.",
|
||||
"pr": 465
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Rename `MethodBlock` to `SignatureBlock` since it is not used to render method and function signature blocks.",
|
||||
"note": "Rename `MethodBlock` to `SignatureBlock` since it is not used to render method and function signature blocks.",
|
||||
"pr": 465
|
||||
},
|
||||
{
|
||||
@ -362,8 +359,7 @@
|
||||
"version": "0.0.3",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Move TS typings from devDependencies to dependencies since they are needed by the package user."
|
||||
"note": "Move TS typings from devDependencies to dependencies since they are needed by the package user."
|
||||
}
|
||||
],
|
||||
"timestamp": 1521298800
|
||||
|
@ -11,15 +11,15 @@ A full-page React component for rendering beautiful documentation for Solidity a
|
||||
|
||||
#### Features
|
||||
|
||||
* Mobile optimized
|
||||
* Reads Javadoc-style comments in your code to generate class/method/argument/return/type comments.
|
||||
* Syntax highlighting support for TypeScript & Solidity
|
||||
* Type declaration linking
|
||||
* Type declaration popovers to avoid clicking through to the definition
|
||||
* Section/method/type anchors for easily pointing others to a specific part of your docs.
|
||||
* Version picker
|
||||
* Customizable sidebar header
|
||||
* Supports custom markdown sections so you can easily add an intro or installation instructions.
|
||||
- Mobile optimized
|
||||
- Reads Javadoc-style comments in your code to generate class/method/argument/return/type comments.
|
||||
- Syntax highlighting support for TypeScript & Solidity
|
||||
- Type declaration linking
|
||||
- Type declaration popovers to avoid clicking through to the definition
|
||||
- Section/method/type anchors for easily pointing others to a specific part of your docs.
|
||||
- Version picker
|
||||
- Customizable sidebar header
|
||||
- Supports custom markdown sections so you can easily add an intro or installation instructions.
|
||||
|
||||
## Installation
|
||||
|
||||
@ -45,9 +45,9 @@ If your project is in [TypeScript](https://www.typescriptlang.org/), add the fol
|
||||
|
||||
Feel free to contribute to these improvements!
|
||||
|
||||
* Allow user to pass in styling for all major elements similar to [Material-UI](http://www.material-ui.com/).
|
||||
* Allow user to define an alternative font and have it change everywhere.
|
||||
* Add source links to Solidity docs (currently unsupported by solc, which underlies sol-doc).
|
||||
- Allow user to pass in styling for all major elements similar to [Material-UI](http://www.material-ui.com/).
|
||||
- Allow user to define an alternative font and have it change everywhere.
|
||||
- Add source links to Solidity docs (currently unsupported by solc, which underlies sol-doc).
|
||||
|
||||
## Contributing
|
||||
|
||||
|
@ -194,8 +194,7 @@ export class DocReference extends React.Component<DocReferenceProps, DocReferenc
|
||||
<div>{functionDefs}</div>
|
||||
</div>
|
||||
)}
|
||||
{!_.isUndefined(docSection.events) &&
|
||||
docSection.events.length > 0 && (
|
||||
{!_.isUndefined(docSection.events) && docSection.events.length > 0 && (
|
||||
<div>
|
||||
<h2 style={headerStyle}>Events</h2>
|
||||
<div>{eventDefs}</div>
|
||||
@ -203,8 +202,7 @@ export class DocReference extends React.Component<DocReferenceProps, DocReferenc
|
||||
)}
|
||||
{!_.isUndefined(docSection.externalExportToLink) &&
|
||||
this._renderExternalExports(docSection.externalExportToLink)}
|
||||
{!_.isUndefined(typeDefs) &&
|
||||
typeDefs.length > 0 && (
|
||||
{!_.isUndefined(typeDefs) && typeDefs.length > 0 && (
|
||||
<div>
|
||||
<div>{typeDefs}</div>
|
||||
</div>
|
||||
|
@ -45,7 +45,8 @@ export const Interface: React.SFC<InterfaceProps> = (props: InterfaceProps): any
|
||||
typeDefinitionByName={props.typeDefinitionByName}
|
||||
isInPopover={props.isInPopover}
|
||||
/>
|
||||
)},
|
||||
)}
|
||||
,
|
||||
</span>
|
||||
);
|
||||
});
|
||||
|
@ -91,9 +91,7 @@ export class SignatureBlock extends React.Component<SignatureBlockProps, Signatu
|
||||
/>
|
||||
)}
|
||||
{method.comment && <Comment comment={method.comment} className="py2" />}
|
||||
{method.parameters &&
|
||||
!_.isEmpty(method.parameters) &&
|
||||
hasExclusivelyNamedParams && (
|
||||
{method.parameters && !_.isEmpty(method.parameters) && hasExclusivelyNamedParams && (
|
||||
<div>
|
||||
<h4 className="pb1 thin" style={{ borderBottom: '1px solid #e1e8ed' }}>
|
||||
ARGUMENTS
|
||||
|
@ -53,7 +53,8 @@ export const Type: React.SFC<TypeProps> = (props: TypeProps): any => {
|
||||
typeDefinitionByName={props.typeDefinitionByName}
|
||||
docsInfo={props.docsInfo}
|
||||
isInPopover={props.isInPopover}
|
||||
/>[]
|
||||
/>
|
||||
[]
|
||||
</span>
|
||||
);
|
||||
} else {
|
||||
@ -181,9 +182,11 @@ export const Type: React.SFC<TypeProps> = (props: TypeProps): any => {
|
||||
});
|
||||
typeName = (
|
||||
<div>
|
||||
[{_.reduce(tupleTypes, (prev: React.ReactNode, curr: React.ReactNode) => {
|
||||
[
|
||||
{_.reduce(tupleTypes, (prev: React.ReactNode, curr: React.ReactNode) => {
|
||||
return [prev, ', ', curr];
|
||||
})}]
|
||||
})}
|
||||
]
|
||||
</div>
|
||||
);
|
||||
break;
|
||||
|
@ -3,8 +3,7 @@
|
||||
"version": "1.1.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Change implementation to use react-router-dom NavLink instead of Link. Expose `activeStyle` prop.",
|
||||
"note": "Change implementation to use react-router-dom NavLink instead of Link. Expose `activeStyle` prop.",
|
||||
"pr": 1448
|
||||
}
|
||||
],
|
||||
|
@ -32,10 +32,7 @@ interface AnchorIconProps {
|
||||
shouldShowAnchor: boolean;
|
||||
}
|
||||
|
||||
const AnchorIcon =
|
||||
styled.i <
|
||||
AnchorIconProps >
|
||||
`
|
||||
const AnchorIcon = styled.i<AnchorIconProps>`
|
||||
opacity: ${props => (props.shouldShowAnchor ? 1 : 0)};
|
||||
&:hover {
|
||||
opacity: ${props => (props.shouldShowAnchor ? 0.6 : 0)};
|
||||
@ -43,7 +40,7 @@ const AnchorIcon =
|
||||
font-size: 20px;
|
||||
transform: rotate(45deg);
|
||||
cursor: pointer;
|
||||
`;
|
||||
`;
|
||||
|
||||
export class AnchorTitle extends React.Component<AnchorTitleProps, AnchorTitleState> {
|
||||
public static defaultProps: Partial<AnchorTitleProps> = {
|
||||
|
@ -166,8 +166,7 @@
|
||||
"version": "1.1.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Quicken compilation by sending multiple contracts to the same solcjs invocation, batching them together based on compiler version requirements.",
|
||||
"note": "Quicken compilation by sending multiple contracts to the same solcjs invocation, batching them together based on compiler version requirements.",
|
||||
"pr": 965
|
||||
},
|
||||
{
|
||||
@ -381,8 +380,7 @@
|
||||
"pr": 426
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Add `bytecode`, `runtime_bytecode`, `source_map`, `source_map_runtime` and `sources` fields to artifacts",
|
||||
"note": "Add `bytecode`, `runtime_bytecode`, `source_map`, `source_map_runtime` and `sources` fields to artifacts",
|
||||
"pr": 426
|
||||
},
|
||||
{
|
||||
@ -390,8 +388,7 @@
|
||||
"pr": 426
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Allow deployer to accept a provider instead of port and host. This makes it possible to run it with in-process ganache-core",
|
||||
"note": "Allow deployer to accept a provider instead of port and host. This makes it possible to run it with in-process ganache-core",
|
||||
"pr": 426
|
||||
},
|
||||
{
|
||||
@ -412,8 +409,7 @@
|
||||
"pr": 408
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Improve an error message for when deployer is supplied with an incorrect number of constructor arguments",
|
||||
"note": "Improve an error message for when deployer is supplied with an incorrect number of constructor arguments",
|
||||
"pr": 419
|
||||
}
|
||||
],
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
Sol-compiler is a wrapper around [solc-js](https://www.npmjs.com/package/solc) that adds:
|
||||
|
||||
* Smart re-compilation: Only recompiles when smart contracts have changed
|
||||
* Ability to compile an entire project instead of only individual `.sol` files
|
||||
* Compilation using the Solidity version specified at the top of each individual `.sol` file
|
||||
* Proper parsing of Solidity version ranges
|
||||
* Support for the standard [input description](https://solidity.readthedocs.io/en/develop/using-the-compiler.html#input-description) for what information you'd like added to the resulting `artifacts` file (i.e 100% configurable artifacts content).
|
||||
- Smart re-compilation: Only recompiles when smart contracts have changed
|
||||
- Ability to compile an entire project instead of only individual `.sol` files
|
||||
- Compilation using the Solidity version specified at the top of each individual `.sol` file
|
||||
- Proper parsing of Solidity version ranges
|
||||
- Support for the standard [input description](https://solidity.readthedocs.io/en/develop/using-the-compiler.html#input-description) for what information you'd like added to the resulting `artifacts` file (i.e 100% configurable artifacts content).
|
||||
|
||||
### Read the [Documentation](https://0xproject.com/docs/sol-compiler).
|
||||
|
||||
|
@ -111,8 +111,7 @@
|
||||
"version": "1.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Utility to generate documentation for Solidity smart contracts, outputting a format compliant with @0xproject/types.DocAgnosticFormat",
|
||||
"note": "Utility to generate documentation for Solidity smart contracts, outputting a format compliant with @0xproject/types.DocAgnosticFormat",
|
||||
"pr": 1004
|
||||
}
|
||||
]
|
||||
|
@ -166,8 +166,7 @@
|
||||
"version": "2.1.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Export types: `JSONRPCRequestPayload`, `Provider`, `JSONRPCErrorCallback`, `JSONRPCResponsePayload`, `JSONRPCRequestPayloadWithMethod`, `NextCallback`, `ErrorCallback`, `OnNextCompleted` and `Callback`",
|
||||
"note": "Export types: `JSONRPCRequestPayload`, `Provider`, `JSONRPCErrorCallback`, `JSONRPCResponsePayload`, `JSONRPCRequestPayloadWithMethod`, `NextCallback`, `ErrorCallback`, `OnNextCompleted` and `Callback`",
|
||||
"pr": 924
|
||||
}
|
||||
],
|
||||
@ -177,8 +176,7 @@
|
||||
"version": "2.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fix a bug when eth_call coverage was not computed because of silent schema validation failures",
|
||||
"note": "Fix a bug when eth_call coverage was not computed because of silent schema validation failures",
|
||||
"pr": 938
|
||||
},
|
||||
{
|
||||
@ -186,13 +184,11 @@
|
||||
"pr": 938
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Change the first param of `TruffleArtifactAdapter` to be the `projectRoot` instead of `sourcesDir`",
|
||||
"note": "Change the first param of `TruffleArtifactAdapter` to be the `projectRoot` instead of `sourcesDir`",
|
||||
"pr": 938
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Throw a helpful error message if truffle artifacts were generated with a different solc version than the one passed in",
|
||||
"note": "Throw a helpful error message if truffle artifacts were generated with a different solc version than the one passed in",
|
||||
"pr": 938
|
||||
}
|
||||
],
|
||||
@ -230,8 +226,7 @@
|
||||
"version": "1.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add artifact adapter as a parameter for `CoverageSubprovider`. Export `AbstractArtifactAdapter`",
|
||||
"note": "Add artifact adapter as a parameter for `CoverageSubprovider`. Export `AbstractArtifactAdapter`",
|
||||
"pr": 589
|
||||
},
|
||||
{
|
||||
@ -287,8 +282,7 @@
|
||||
"pr": 690
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Fix a bug when in `TruffleArtifactsAdapter` causing it to throw if `compiler.json` is not there",
|
||||
"note": "Fix a bug when in `TruffleArtifactsAdapter` causing it to throw if `compiler.json` is not there",
|
||||
"pr": 690
|
||||
},
|
||||
{
|
||||
|
@ -130,8 +130,7 @@
|
||||
"version": "1.0.1-rc.6",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fix `main` and `types` package.json entries so that they point to the new location of index.d.ts and index.js"
|
||||
"note": "Fix `main` and `types` package.json entries so that they point to the new location of index.d.ts and index.js"
|
||||
},
|
||||
{
|
||||
"note": "Fix relative path to introduction MD file"
|
||||
|
@ -204,7 +204,7 @@ A good example of such a field is `remainingTakerAssetAmount`, which is a conven
|
||||
|
||||
# Misc.
|
||||
|
||||
* All requests and responses should be of **application/json** content type
|
||||
* All token amounts are sent in amounts of the smallest level of precision (base units). (e.g if a token has 18 decimal places, selling 1 token would show up as selling `'1000000000000000000'` units by this API).
|
||||
* All addresses are sent as lower-case (non-checksummed) Ethereum addresses with the `0x` prefix.
|
||||
* All parameters are to be written in `lowerCamelCase`.
|
||||
- All requests and responses should be of **application/json** content type
|
||||
- All token amounts are sent in amounts of the smallest level of precision (base units). (e.g if a token has 18 decimal places, selling 1 token would show up as selling `'1000000000000000000'` units by this API).
|
||||
- All addresses are sent as lower-case (non-checksummed) Ethereum addresses with the `0x` prefix.
|
||||
- All parameters are to be written in `lowerCamelCase`.
|
||||
|
@ -165,8 +165,7 @@
|
||||
"version": "2.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Export types: `PartialTxParams`, `JSONRPCRequestPayloadWithMethod`, `ECSignatureString`, `AccountFetchingConfigs`, `LedgerEthereumClientFactoryAsync`, `OnNextCompleted`, `MnemonicWalletSubproviderConfigs`, LedgerGetAddressResult, `JSONRPCRequestPayload`, `Provider`, `JSONRPCResponsePayload` and `JSONRPCErrorCallback`",
|
||||
"note": "Export types: `PartialTxParams`, `JSONRPCRequestPayloadWithMethod`, `ECSignatureString`, `AccountFetchingConfigs`, `LedgerEthereumClientFactoryAsync`, `OnNextCompleted`, `MnemonicWalletSubproviderConfigs`, LedgerGetAddressResult, `JSONRPCRequestPayload`, `Provider`, `JSONRPCResponsePayload` and `JSONRPCErrorCallback`",
|
||||
"pr": 924
|
||||
}
|
||||
],
|
||||
@ -295,8 +294,7 @@
|
||||
"version": "0.9.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Refactor RedundantRPCSubprovider into RedundantSubprovider where it now accepts an array of subproviders rather then an array of RPC endpoints",
|
||||
"note": "Refactor RedundantRPCSubprovider into RedundantSubprovider where it now accepts an array of subproviders rather then an array of RPC endpoints",
|
||||
"pr": 500
|
||||
},
|
||||
{
|
||||
@ -312,8 +310,7 @@
|
||||
"pr": 507
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Refactors LedgerSubprovider such that explicitly setting the `pathIndex` is no longer required. Simply set the request `from` address as desired",
|
||||
"note": "Refactors LedgerSubprovider such that explicitly setting the `pathIndex` is no longer required. Simply set the request `from` address as desired",
|
||||
"pr": 507
|
||||
},
|
||||
{
|
||||
@ -371,8 +368,7 @@
|
||||
"version": "0.7.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Updated legerco packages. Removed node-hid package as a dependency and make it an optional dependency. It is still used in integration tests but is causing problems for users on Linux distros.",
|
||||
"note": "Updated legerco packages. Removed node-hid package as a dependency and make it an optional dependency. It is still used in integration tests but is causing problems for users on Linux distros.",
|
||||
"pr": 437
|
||||
}
|
||||
],
|
||||
@ -420,8 +416,7 @@
|
||||
"pr": 355
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"InjectedWeb3Subprovider accepts a Provider in the constructor, previously it was a Web3 object",
|
||||
"note": "InjectedWeb3Subprovider accepts a Provider in the constructor, previously it was a Web3 object",
|
||||
"pr": 363
|
||||
}
|
||||
],
|
||||
|
@ -78,12 +78,12 @@ yarn run test:unit
|
||||
|
||||
In order to run the integration tests, make sure you have a Ledger Nano S available.
|
||||
|
||||
* Setup your Ledger with the development mnemonic seed: `concert load couple harbor equip island argue ramp clarify fence smart topic`
|
||||
* Plug it into your computer
|
||||
* Unlock the device
|
||||
* Open the on-device Ethereum app
|
||||
* Make sure "browser support" and "contract data" are disabled
|
||||
* Start [TestRPC](https://github.com/trufflesuite/ganache-cli) locally at port `8545`
|
||||
- Setup your Ledger with the development mnemonic seed: `concert load couple harbor equip island argue ramp clarify fence smart topic`
|
||||
- Plug it into your computer
|
||||
- Unlock the device
|
||||
- Open the on-device Ethereum app
|
||||
- Make sure "browser support" and "contract data" are disabled
|
||||
- Start [TestRPC](https://github.com/trufflesuite/ganache-cli) locally at port `8545`
|
||||
|
||||
Then run:
|
||||
|
||||
|
@ -213,8 +213,7 @@
|
||||
"version": "0.4.7",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Modified custom 'underscore-privates' rule, changing it to 'underscore-private-and-protected' requiring underscores to be prepended to both private and protected variable names",
|
||||
"note": "Modified custom 'underscore-privates' rule, changing it to 'underscore-private-and-protected' requiring underscores to be prepended to both private and protected variable names",
|
||||
"pr": 354
|
||||
}
|
||||
],
|
||||
@ -224,12 +223,10 @@
|
||||
"version": "0.4.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Added custom 'underscore-privates' rule, requiring underscores to be prepended to private variable names"
|
||||
"note": "Added custom 'underscore-privates' rule, requiring underscores to be prepended to private variable names"
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Because our tools can be used in both a TS and JS environment, we want to make the private methods of any public facing interface show up at the bottom of auto-complete lists. Additionally, we wanted to remain consistent with respect to our usage of underscores in order to enforce this rule with a linter rule, rather then manual code reviews."
|
||||
"note": "Because our tools can be used in both a TS and JS environment, we want to make the private methods of any public facing interface show up at the bottom of auto-complete lists. Additionally, we wanted to remain consistent with respect to our usage of underscores in order to enforce this rule with a linter rule, rather then manual code reviews."
|
||||
}
|
||||
],
|
||||
"timestamp": 1514386800
|
||||
|
@ -40,8 +40,7 @@
|
||||
"version": "1.3.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add the `SimpleContractArtifact` type, which describes the artifact format published in the `@0x/contract-artifacts` package",
|
||||
"note": "Add the `SimpleContractArtifact` type, which describes the artifact format published in the `@0x/contract-artifacts` package",
|
||||
"pr": 1298
|
||||
}
|
||||
],
|
||||
@ -268,8 +267,7 @@
|
||||
"pr": 589
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Moved ExchangeContractErrs, DoneCallback, Token, OrderRelevantState, OrderStateValid, OrderStateInvalid, OrderState, OrderAddresses and OrderValues types from 0x.js",
|
||||
"note": "Moved ExchangeContractErrs, DoneCallback, Token, OrderRelevantState, OrderStateValid, OrderStateInvalid, OrderState, OrderAddresses and OrderValues types from 0x.js",
|
||||
"pr": 579
|
||||
}
|
||||
],
|
||||
|
@ -188,8 +188,7 @@
|
||||
"note": "Add types for `react-popper`, remove types for `react-joyride`"
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Remove types for blockies, bn.js, compare-versions, ethereumjs-abi, ethereumjs-tx, find-versions, hdkey, is-mobile, solidity-parser-antlr, xml-js as they were moved to DefinitelyTyped",
|
||||
"note": "Remove types for blockies, bn.js, compare-versions, ethereumjs-abi, ethereumjs-tx, find-versions, hdkey, is-mobile, solidity-parser-antlr, xml-js as they were moved to DefinitelyTyped",
|
||||
"pr": 641
|
||||
}
|
||||
]
|
||||
|
@ -5,9 +5,7 @@
|
||||
|
||||
declare module 'chai-as-promised' {
|
||||
function chaiAsPromised(chai: any, utils: any): void;
|
||||
namespace chaiAsPromised {
|
||||
|
||||
}
|
||||
namespace chaiAsPromised {}
|
||||
export = chaiAsPromised;
|
||||
}
|
||||
|
||||
|
@ -40,8 +40,7 @@
|
||||
"version": "2.0.7",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Optimized ABI Encoder/Decoder. Generates compressed calldata to save gas. Generates human-readable calldata to aid development."
|
||||
"note": "Optimized ABI Encoder/Decoder. Generates compressed calldata to save gas. Generates human-readable calldata to aid development."
|
||||
}
|
||||
],
|
||||
"timestamp": 1544570656
|
||||
@ -172,8 +171,7 @@
|
||||
"pr": 807
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Store different ABIs for events with same function signature and different amount of indexed arguments",
|
||||
"note": "Store different ABIs for events with same function signature and different amount of indexed arguments",
|
||||
"pr": 933
|
||||
}
|
||||
],
|
||||
@ -340,8 +338,7 @@
|
||||
"version": "0.4.3",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add `@types/node` to dependencies since `intervalUtils` has the `NodeJS` type as part of its public interface."
|
||||
"note": "Add `@types/node` to dependencies since `intervalUtils` has the `NodeJS` type as part of its public interface."
|
||||
}
|
||||
],
|
||||
"timestamp": 1521298800
|
||||
@ -384,8 +381,7 @@
|
||||
"version": "0.3.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fix a bug related to event signature collisions (argument indexes aren't included in event signatures) in the abi_decoder. The decoder used to throw on unknown events with identical signatures as a known event (except indexes).",
|
||||
"note": "Fix a bug related to event signature collisions (argument indexes aren't included in event signatures) in the abi_decoder. The decoder used to throw on unknown events with identical signatures as a known event (except indexes).",
|
||||
"pr": 366
|
||||
}
|
||||
],
|
||||
|
@ -10,8 +10,8 @@ import { constants } from '../utils/constants';
|
||||
export class AddressDataType extends AbstractBlobDataType {
|
||||
private static readonly _SIZE_KNOWN_AT_COMPILE_TIME: boolean = true;
|
||||
private static readonly _ADDRESS_SIZE_IN_BYTES = 20;
|
||||
private static readonly _DECODED_ADDRESS_OFFSET_IN_BYTES = constants.EVM_WORD_WIDTH_IN_BYTES -
|
||||
AddressDataType._ADDRESS_SIZE_IN_BYTES;
|
||||
private static readonly _DECODED_ADDRESS_OFFSET_IN_BYTES =
|
||||
constants.EVM_WORD_WIDTH_IN_BYTES - AddressDataType._ADDRESS_SIZE_IN_BYTES;
|
||||
|
||||
public static matchType(type: string): boolean {
|
||||
return type === SolidityTypes.Address;
|
||||
|
@ -82,8 +82,7 @@
|
||||
"version": "3.1.1",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fix bug in `getTransactionByHashAsync` which was causing the return value to have the wrong type (raw fields instead of unmarshalled fields).",
|
||||
"note": "Fix bug in `getTransactionByHashAsync` which was causing the return value to have the wrong type (raw fields instead of unmarshalled fields).",
|
||||
"pr": 1177
|
||||
}
|
||||
],
|
||||
@ -97,8 +96,7 @@
|
||||
"pr": 1102
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Web3Wrapper now throws when an RPC request contains an error field in the response. Previously errors could be swallowed and undefined returned.",
|
||||
"note": "Web3Wrapper now throws when an RPC request contains an error field in the response. Previously errors could be swallowed and undefined returned.",
|
||||
"pr": 1102
|
||||
}
|
||||
],
|
||||
@ -135,13 +133,11 @@
|
||||
"version": "3.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Rename `getBlockAsync` to `getBlockIfExistsAsync` and rather then throw if the requested block wasn't found, return undefined.",
|
||||
"note": "Rename `getBlockAsync` to `getBlockIfExistsAsync` and rather then throw if the requested block wasn't found, return undefined.",
|
||||
"pr": 1082
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Expose `sendRawPayloadAsync` so one can easily extend `Web3Wrapper` with their own custom JSON RPC calls",
|
||||
"note": "Expose `sendRawPayloadAsync` so one can easily extend `Web3Wrapper` with their own custom JSON RPC calls",
|
||||
"pr": 1080
|
||||
}
|
||||
],
|
||||
@ -151,8 +147,7 @@
|
||||
"version": "2.0.3",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Fixes issue #1076 where Parity now returns a placeholder transactionReceipt before the transaction is mined.",
|
||||
"note": "Fixes issue #1076 where Parity now returns a placeholder transactionReceipt before the transaction is mined.",
|
||||
"pr": 1079
|
||||
}
|
||||
],
|
||||
@ -180,8 +175,7 @@
|
||||
"version": "2.0.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Export types: `BlockParam`, `TxData`, `Provider`, `TransactionReceipt`, `Transaction`, `TraceParams`, `TransactionTrace``, BlockWithoutTransactionDat`a, `LogEntry`, `FilterObject`, `CallData`, `TransactionReceiptWithDecodedLogs`, `BlockWithTransactionData``, LogTopi`c, `JSONRPCRequestPayload`, `TransactionReceiptStatus`, `DecodedLogArgs`, `StructLog`, `JSONRPCErrorCallback``, BlockParamLitera`l, `ContractEventArg`, `DecodedLogEntry`, `LogEntryEvent`, `OpCode`, `TxDataPayable`, `JSONRPCResponsePayload``, RawLogEntr`y, `DecodedLogEntryEvent`, `LogWithDecodedArgs`, `AbiDefinition`, `RawLog`, `FunctionAbi`, `EventAbi`, `EventParameter``, MethodAb`i, `ConstructorAbi`, `FallbackAbi`, `DataItem`, `ConstructorStateMutability` and `StateMutability`",
|
||||
"note": "Export types: `BlockParam`, `TxData`, `Provider`, `TransactionReceipt`, `Transaction`, `TraceParams`, `TransactionTrace``, BlockWithoutTransactionDat`a, `LogEntry`, `FilterObject`, `CallData`, `TransactionReceiptWithDecodedLogs`, `BlockWithTransactionData``, LogTopi`c, `JSONRPCRequestPayload`, `TransactionReceiptStatus`, `DecodedLogArgs`, `StructLog`, `JSONRPCErrorCallback``, BlockParamLitera`l, `ContractEventArg`, `DecodedLogEntry`, `LogEntryEvent`, `OpCode`, `TxDataPayable`, `JSONRPCResponsePayload``, RawLogEntr`y, `DecodedLogEntryEvent`, `LogWithDecodedArgs`, `AbiDefinition`, `RawLog`, `FunctionAbi`, `EventAbi`, `EventParameter``, MethodAb`i, `ConstructorAbi`, `FallbackAbi`, `DataItem`, `ConstructorStateMutability` and `StateMutability`",
|
||||
"pr": 924
|
||||
},
|
||||
{
|
||||
@ -328,8 +322,7 @@
|
||||
"pr": 622
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Improve performance of awaitTransactionMinedAsync by immediately checking if the transaction was already mined instead of waiting for the first interval.",
|
||||
"note": "Improve performance of awaitTransactionMinedAsync by immediately checking if the transaction was already mined instead of waiting for the first interval.",
|
||||
"pr": 688
|
||||
}
|
||||
]
|
||||
@ -392,8 +385,7 @@
|
||||
"pr": 485
|
||||
},
|
||||
{
|
||||
"note":
|
||||
"Add a public field `abiDecoder: AbiDecoder` which allows you to add your ABIs that are later used to decode logs",
|
||||
"note": "Add a public field `abiDecoder: AbiDecoder` which allows you to add your ABIs that are later used to decode logs",
|
||||
"pr": 485
|
||||
},
|
||||
{
|
||||
@ -417,8 +409,7 @@
|
||||
"version": "0.3.0",
|
||||
"changes": [
|
||||
{
|
||||
"note":
|
||||
"Add `web3Wrapper.takeSnapshotAsync`, `web3Wrapper.revertSnapshotAsync`, `web3Wrapper.mineBlockAsync`, `web3Wrapper.increaseTimeAsync`",
|
||||
"note": "Add `web3Wrapper.takeSnapshotAsync`, `web3Wrapper.revertSnapshotAsync`, `web3Wrapper.mineBlockAsync`, `web3Wrapper.increaseTimeAsync`",
|
||||
"pr": 426
|
||||
},
|
||||
{
|
||||
|
@ -59,11 +59,11 @@ yarn lint
|
||||
|
||||
##### Toolkit
|
||||
|
||||
* [Material Design Icon Font](http://zavoloklom.github.io/material-design-iconic-font/icons.html#directional)
|
||||
* [BassCSS toolkit](http://basscss.com/)
|
||||
* [Material-UI component library](http://www.material-ui.com/#/)
|
||||
- [Material Design Icon Font](http://zavoloklom.github.io/material-design-iconic-font/icons.html#directional)
|
||||
- [BassCSS toolkit](http://basscss.com/)
|
||||
- [Material-UI component library](http://www.material-ui.com/#/)
|
||||
|
||||
##### Recommended Atom packages:
|
||||
|
||||
* [atom-typescript](https://atom.io/packages/atom-typescript)
|
||||
* [linter-tslint](https://atom.io/packages/linter-tslint)
|
||||
- [atom-typescript](https://atom.io/packages/atom-typescript)
|
||||
- [linter-tslint](https://atom.io/packages/linter-tslint)
|
||||
|
@ -182,8 +182,7 @@
|
||||
"type": "event"
|
||||
}
|
||||
],
|
||||
"unlinked_binary":
|
||||
"0x6060604052341561000c57fe5b5b6105018061001c6000396000f300606060405236156100675763ffffffff60e060020a600035041663095ea7b3811461006957806318160ddd1461009c57806323b872dd146100be57806370a08231146100f7578063a0712d6814610125578063a9059cbb1461013a578063dd62ed3e1461016d575bfe5b341561007157fe5b610088600160a060020a03600435166024356101a1565b604080519115158252519081900360200190f35b34156100a457fe5b6100ac61020c565b60408051918252519081900360200190f35b34156100c657fe5b610088600160a060020a0360043581169060243516604435610212565b604080519115158252519081900360200190f35b34156100ff57fe5b6100ac600160a060020a0360043516610335565b60408051918252519081900360200190f35b341561012d57fe5b610138600435610354565b005b341561014257fe5b610088600160a060020a03600435166024356103bc565b604080519115158252519081900360200190f35b341561017557fe5b6100ac600160a060020a036004358116906024351661046e565b60408051918252519081900360200190f35b600160a060020a03338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60025481565b600160a060020a03808416600081815260016020908152604080832033909516835293815283822054928252819052918220548390108015906102555750828110155b801561027b5750600160a060020a03841660009081526020819052604090205483810110155b1561032757600160a060020a03808516600090815260208190526040808220805487019055918716815220805484900390556000198110156102e557600160a060020a03808616600090815260016020908152604080832033909416835292905220805484900390555b83600160a060020a031685600160a060020a03166000805160206104b6833981519152856040518082815260200191505060405180910390a36001915061032c565b600091505b5b509392505050565b600160a060020a0381166000908152602081905260409020545b919050565b68056bc75e2d6310000081111561036b5760006000fd5b600160a060020a03331660009081526020819052604090205461038f90829061049b565b600160a060020a0333166000908152602081905260409020556002546103b5908261049b565b6002555b50565b600160a060020a0333166000908152602081905260408120548290108015906103ff5750600160a060020a03831660009081526020819052604090205482810110155b1561045f57600160a060020a0333811660008181526020818152604080832080548890039055938716808352918490208054870190558351868152935191936000805160206104b6833981519152929081900390910190a3506001610206565b506000610206565b5b92915050565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b92915050565b6000828201838110156104aa57fe5b8091505b50929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820998c8326b9629e063eb4867166e72c68a8c2e3ebca6a9d35ebc78c041c7aa47b0029",
|
||||
"unlinked_binary": "0x6060604052341561000c57fe5b5b6105018061001c6000396000f300606060405236156100675763ffffffff60e060020a600035041663095ea7b3811461006957806318160ddd1461009c57806323b872dd146100be57806370a08231146100f7578063a0712d6814610125578063a9059cbb1461013a578063dd62ed3e1461016d575bfe5b341561007157fe5b610088600160a060020a03600435166024356101a1565b604080519115158252519081900360200190f35b34156100a457fe5b6100ac61020c565b60408051918252519081900360200190f35b34156100c657fe5b610088600160a060020a0360043581169060243516604435610212565b604080519115158252519081900360200190f35b34156100ff57fe5b6100ac600160a060020a0360043516610335565b60408051918252519081900360200190f35b341561012d57fe5b610138600435610354565b005b341561014257fe5b610088600160a060020a03600435166024356103bc565b604080519115158252519081900360200190f35b341561017557fe5b6100ac600160a060020a036004358116906024351661046e565b60408051918252519081900360200190f35b600160a060020a03338116600081815260016020908152604080832094871680845294825280832086905580518681529051929493927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60025481565b600160a060020a03808416600081815260016020908152604080832033909516835293815283822054928252819052918220548390108015906102555750828110155b801561027b5750600160a060020a03841660009081526020819052604090205483810110155b1561032757600160a060020a03808516600090815260208190526040808220805487019055918716815220805484900390556000198110156102e557600160a060020a03808616600090815260016020908152604080832033909416835292905220805484900390555b83600160a060020a031685600160a060020a03166000805160206104b6833981519152856040518082815260200191505060405180910390a36001915061032c565b600091505b5b509392505050565b600160a060020a0381166000908152602081905260409020545b919050565b68056bc75e2d6310000081111561036b5760006000fd5b600160a060020a03331660009081526020819052604090205461038f90829061049b565b600160a060020a0333166000908152602081905260409020556002546103b5908261049b565b6002555b50565b600160a060020a0333166000908152602081905260408120548290108015906103ff5750600160a060020a03831660009081526020819052604090205482810110155b1561045f57600160a060020a0333811660008181526020818152604080832080548890039055938716808352918490208054870190558351868152935191936000805160206104b6833981519152929081900390910190a3506001610206565b506000610206565b5b92915050565b600160a060020a038083166000908152600160209081526040808320938516835292905220545b92915050565b6000828201838110156104aa57fe5b8091505b50929150505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820998c8326b9629e063eb4867166e72c68a8c2e3ebca6a9d35ebc78c041c7aa47b0029",
|
||||
"networks": {},
|
||||
"schema_version": "0.0.5",
|
||||
"updated_at": 1503413048892
|
||||
|
@ -1,28 +1,28 @@
|
||||
0x Protocol Schemas
|
||||
|
||||
* [Basic types](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/basic_type_schemas.ts) (e.g Ethereum address, number)
|
||||
* [ECSignature](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/ec_signature_schema.ts)
|
||||
* [Order/SignedOrder](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_schemas.ts)
|
||||
* [OrderHash](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_hash_schema.ts)
|
||||
- [Basic types](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/basic_type_schemas.ts) (e.g Ethereum address, number)
|
||||
- [ECSignature](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/ec_signature_schema.ts)
|
||||
- [Order/SignedOrder](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_schemas.ts)
|
||||
- [OrderHash](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_hash_schema.ts)
|
||||
|
||||
0x.js Schemas
|
||||
|
||||
* [BlockRange](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/block_range_schema.ts)
|
||||
* [IndexFilter Values](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/index_filter_values_schema.ts)
|
||||
* [OrderFillRequests](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_fill_requests_schema.ts)
|
||||
* [OrderCancellationRequests](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_cancel_schema.ts)
|
||||
* [OrderFillOrKillRequests](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.ts)
|
||||
* [SignedOrders](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/signed_orders_schema.ts)
|
||||
* [Token](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/token_schema.ts)
|
||||
* [TxData](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/tx_data_schema.ts)
|
||||
- [BlockRange](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/block_range_schema.ts)
|
||||
- [IndexFilter Values](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/index_filter_values_schema.ts)
|
||||
- [OrderFillRequests](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_fill_requests_schema.ts)
|
||||
- [OrderCancellationRequests](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_cancel_schema.ts)
|
||||
- [OrderFillOrKillRequests](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.ts)
|
||||
- [SignedOrders](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/signed_orders_schema.ts)
|
||||
- [Token](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/token_schema.ts)
|
||||
- [TxData](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/tx_data_schema.ts)
|
||||
|
||||
Standard Relayer API Schemas
|
||||
|
||||
* [Error response](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_error_response_schema.ts)
|
||||
* [Fees payload](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_fees_payload_schema.ts)
|
||||
* [Fees response](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_fees_response_schema.ts)
|
||||
* [Orderbook channel subscribe](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts)
|
||||
* [Orderbook channel snapshot](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_orderbook_channel_snapshot_schema.ts)
|
||||
* [Orderbook channel update](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_orderbook_channel_update_response_schema.ts)
|
||||
* [Orderbook response](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.ts)
|
||||
* [Token pairs response](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_token_pairs_response_schema.ts)
|
||||
- [Error response](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_error_response_schema.ts)
|
||||
- [Fees payload](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_fees_payload_schema.ts)
|
||||
- [Fees response](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_fees_response_schema.ts)
|
||||
- [Orderbook channel subscribe](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts)
|
||||
- [Orderbook channel snapshot](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_orderbook_channel_snapshot_schema.ts)
|
||||
- [Orderbook channel update](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_orderbook_channel_update_response_schema.ts)
|
||||
- [Orderbook response](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.ts)
|
||||
- [Token pairs response](https://github.com/0xProject/0x-monorepo/blob/d4c1b3b0bd26e730ce6687469cdf7283877543e1/packages/json-schemas/schemas/relayer_api_token_pairs_response_schema.ts)
|
||||
|
@ -1,40 +1,40 @@
|
||||
Basic Schemas
|
||||
|
||||
* [Address type](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/address_schema.json)
|
||||
* [Number type](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/number_schema.json)
|
||||
* [Hex type](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/hex_schema.json)
|
||||
* [JS number](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/js_number.json)
|
||||
- [Address type](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/address_schema.json)
|
||||
- [Number type](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/number_schema.json)
|
||||
- [Hex type](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/hex_schema.json)
|
||||
- [JS number](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/js_number.json)
|
||||
|
||||
0x Protocol Schemas
|
||||
|
||||
* [Order](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_schema.json)
|
||||
* [SignedOrder](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/signed_order_schema.json)
|
||||
* [OrderHash](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_hash_schema.json)
|
||||
* [ECSignature](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/ec_signature_schema.json)
|
||||
- [Order](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_schema.json)
|
||||
- [SignedOrder](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/signed_order_schema.json)
|
||||
- [OrderHash](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_hash_schema.json)
|
||||
- [ECSignature](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/ec_signature_schema.json)
|
||||
|
||||
0x.js Schemas
|
||||
|
||||
* [BlockParam](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/block_param_schema.json)
|
||||
* [BlockRange](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/block_range_schema.json)
|
||||
* [IndexFilter Values](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/index_filter_values_schema.json)
|
||||
* [OrderFillRequests](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_fill_requests_schema.json)
|
||||
* [OrderCancellationRequests](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_cancel_schema.json)
|
||||
* [OrderFillOrKillRequests](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json)
|
||||
* [SignedOrders](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/signed_orders_schema.json)
|
||||
* [Token](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/token_schema.json)
|
||||
* [TxData](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/tx_data_schema.json)
|
||||
- [BlockParam](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/block_param_schema.json)
|
||||
- [BlockRange](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/block_range_schema.json)
|
||||
- [IndexFilter Values](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/index_filter_values_schema.json)
|
||||
- [OrderFillRequests](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_fill_requests_schema.json)
|
||||
- [OrderCancellationRequests](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_cancel_schema.json)
|
||||
- [OrderFillOrKillRequests](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json)
|
||||
- [SignedOrders](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/signed_orders_schema.json)
|
||||
- [Token](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/token_schema.json)
|
||||
- [TxData](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/tx_data_schema.json)
|
||||
|
||||
Standard Relayer API Schemas
|
||||
|
||||
* [Paginated collection](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/paginated_collection_schema.json)
|
||||
* [Error response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_error_response_schema.json)
|
||||
* [Order config payload](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_order_config_payload_schema.json)
|
||||
* [Order config response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_order_config_response_schema.json)
|
||||
* [Orders channel subscribe payload](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_payload_schema.json)
|
||||
* [Orders channel subscribe](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.json)
|
||||
* [Orders channel update](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.json)
|
||||
* [Orderbook response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.json)
|
||||
* [Asset pairs](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_asset_data_pairs_schema.json)
|
||||
* [Trade info](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_asset_data_trade_info_schema.json)
|
||||
* [Asset pairs response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_asset_data_pairs_response_schema.json)
|
||||
* [Fee recipients response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.json)
|
||||
- [Paginated collection](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/paginated_collection_schema.json)
|
||||
- [Error response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_error_response_schema.json)
|
||||
- [Order config payload](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_order_config_payload_schema.json)
|
||||
- [Order config response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_order_config_response_schema.json)
|
||||
- [Orders channel subscribe payload](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_payload_schema.json)
|
||||
- [Orders channel subscribe](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.json)
|
||||
- [Orders channel update](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.json)
|
||||
- [Orderbook response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.json)
|
||||
- [Asset pairs](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_asset_data_pairs_schema.json)
|
||||
- [Trade info](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_asset_data_trade_info_schema.json)
|
||||
- [Asset pairs response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_asset_data_pairs_response_schema.json)
|
||||
- [Fee recipients response](https://github.com/0xProject/0x-monorepo/blob/5ec4b27200297708298deca97603849a37b2f66a/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.json)
|
||||
|
@ -1,41 +1,41 @@
|
||||
Basic Schemas
|
||||
|
||||
* [Address type](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/address_schema.json)
|
||||
* [Number type](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/number_schema.json)
|
||||
* [Whole number type](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/whole_number_schema.json)
|
||||
* [Hex type](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/hex_schema.json)
|
||||
* [JS number](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/js_number.json)
|
||||
- [Address type](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/address_schema.json)
|
||||
- [Number type](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/number_schema.json)
|
||||
- [Whole number type](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/whole_number_schema.json)
|
||||
- [Hex type](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/hex_schema.json)
|
||||
- [JS number](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/js_number.json)
|
||||
|
||||
0x Protocol Schemas
|
||||
|
||||
* [Order](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_schema.json)
|
||||
* [SignedOrder](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/signed_order_schema.json)
|
||||
* [OrderHash](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_hash_schema.json)
|
||||
* [ECSignature](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/ec_signature_schema.json)
|
||||
- [Order](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_schema.json)
|
||||
- [SignedOrder](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/signed_order_schema.json)
|
||||
- [OrderHash](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_hash_schema.json)
|
||||
- [ECSignature](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/ec_signature_schema.json)
|
||||
|
||||
0x.js Schemas
|
||||
|
||||
* [BlockParam](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/block_param_schema.json)
|
||||
* [BlockRange](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/block_range_schema.json)
|
||||
* [IndexFilter Values](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/index_filter_values_schema.json)
|
||||
* [OrderFillRequests](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_fill_requests_schema.json)
|
||||
* [OrderCancellationRequests](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_cancel_schema.json)
|
||||
* [OrderFillOrKillRequests](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json)
|
||||
* [SignedOrders](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/signed_orders_schema.json)
|
||||
* [Token](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/token_schema.json)
|
||||
* [TxData](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/tx_data_schema.json)
|
||||
- [BlockParam](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/block_param_schema.json)
|
||||
- [BlockRange](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/block_range_schema.json)
|
||||
- [IndexFilter Values](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/index_filter_values_schema.json)
|
||||
- [OrderFillRequests](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_fill_requests_schema.json)
|
||||
- [OrderCancellationRequests](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_cancel_schema.json)
|
||||
- [OrderFillOrKillRequests](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json)
|
||||
- [SignedOrders](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/signed_orders_schema.json)
|
||||
- [Token](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/token_schema.json)
|
||||
- [TxData](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/tx_data_schema.json)
|
||||
|
||||
Standard Relayer API Schemas
|
||||
|
||||
* [Paginated collection](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/paginated_collection_schema.json)
|
||||
* [Error response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_error_response_schema.json)
|
||||
* [Order config payload](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_order_config_payload_schema.json)
|
||||
* [Order config response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_order_config_response_schema.json)
|
||||
* [Orders channel subscribe payload](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_payload_schema.json)
|
||||
* [Orders channel subscribe](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.json)
|
||||
* [Orders channel update](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.json)
|
||||
* [Orderbook response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.json)
|
||||
* [Asset pairs](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_asset_data_pairs_schema.json)
|
||||
* [Trade info](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_asset_data_trade_info_schema.json)
|
||||
* [Asset pairs response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_asset_data_pairs_response_schema.json)
|
||||
* [Fee recipients response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.json)
|
||||
- [Paginated collection](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/paginated_collection_schema.json)
|
||||
- [Error response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_error_response_schema.json)
|
||||
- [Order config payload](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_order_config_payload_schema.json)
|
||||
- [Order config response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_order_config_response_schema.json)
|
||||
- [Orders channel subscribe payload](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_payload_schema.json)
|
||||
- [Orders channel subscribe](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.json)
|
||||
- [Orders channel update](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.json)
|
||||
- [Orderbook response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.json)
|
||||
- [Asset pairs](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_asset_data_pairs_schema.json)
|
||||
- [Trade info](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_asset_data_trade_info_schema.json)
|
||||
- [Asset pairs response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_asset_data_pairs_response_schema.json)
|
||||
- [Fee recipients response](https://github.com/0xProject/0x-monorepo/blob/528ae4376e5e605dac9666f2a5917803e942a1f9/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.json)
|
||||
|
@ -2,5 +2,5 @@ Welcome to the [0x smart contracts](https://github.com/0xProject/0x-monorepo/tre
|
||||
|
||||
### Helpful wiki articles:
|
||||
|
||||
* [Deployed smart contract addresses](https://0x.org/wiki#Deployed-Addresses)
|
||||
* [0x Protocol Specification](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md)
|
||||
- [Deployed smart contract addresses](https://0x.org/wiki#Deployed-Addresses)
|
||||
- [0x Protocol Specification](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md)
|
||||
|
@ -1,8 +1,8 @@
|
||||
Welcome to the [sol-compiler](https://github.com/0xProject/0x-monorepo/tree/development/packages/sol-compiler) documentation! Sol-compiler is a wrapper around [solc-js](https://www.npmjs.com/package/solc) that adds:
|
||||
|
||||
* Smart re-compilation: Only recompiles when smart contracts have changed
|
||||
* Ability to compile an entire project instead of only individual `.sol` files
|
||||
* Compilation using the Solidity version specified at the top of each individual `.sol` file
|
||||
* Proper parsing of Solidity version ranges
|
||||
* Support for the standard [input description](https://solidity.readthedocs.io/en/develop/using-the-compiler.html#input-description) for what information you'd like added to the resulting `artifacts` file (i.e 100% configurable artifacts content).
|
||||
* Storage of constructor args, source maps and paths to all dependency source files.
|
||||
- Smart re-compilation: Only recompiles when smart contracts have changed
|
||||
- Ability to compile an entire project instead of only individual `.sol` files
|
||||
- Compilation using the Solidity version specified at the top of each individual `.sol` file
|
||||
- Proper parsing of Solidity version ranges
|
||||
- Support for the standard [input description](https://solidity.readthedocs.io/en/develop/using-the-compiler.html#input-description) for what information you'd like added to the resulting `artifacts` file (i.e 100% configurable artifacts content).
|
||||
- Storage of constructor args, source maps and paths to all dependency source files.
|
||||
|
@ -7,48 +7,37 @@
|
||||
"FULL_LIST_PROMPT": "查看",
|
||||
"FULL_LIST_LINK": "完整列表",
|
||||
"TOKENIZED_SECTION_HEADER": "世界正走向代币化时代",
|
||||
"TOKENIZED_SECTION_DESCRIPTION":
|
||||
"以太坊区块链是一种开源的金融服务系统,全网无边界,统一使用加密代币充当各类资产。在未来,大多数数字资产和商品都将实现代币化。",
|
||||
"TOKENIZED_SECTION_DESCRIPTION": "以太坊区块链是一种开源的金融服务系统,全网无边界,统一使用加密代币充当各类资产。在未来,大多数数字资产和商品都将实现代币化。",
|
||||
"CURRENCY": "货币",
|
||||
"TRADITIONAL_ASSETS": "传统资产",
|
||||
"DIGITAL_GOODS": "数字商品",
|
||||
"OFFCHAIN_ORDER_RELAY": "链下订单中继",
|
||||
"ONCHAIN_SETTLEMENT": "链上最终结算",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION":
|
||||
"在 0x 协议中,所有订单都通过链下传输,大幅削减了损耗成本,能够有效避免区块链膨胀。任何人都可以构建中继方,由中继方广播订单,每促成一笔交易,就可以收取一笔交易费。",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION": "在 0x 协议中,所有订单都通过链下传输,大幅削减了损耗成本,能够有效避免区块链膨胀。任何人都可以构建中继方,由中继方广播订单,每促成一笔交易,就可以收取一笔交易费。",
|
||||
"RELAYERS_HEADER": "基于 0X 协议构建的中继方",
|
||||
"BENEFITS_HEADER": "0x 的好處",
|
||||
"BENEFIT_ONE_TITLE": "去信任化的交易机制",
|
||||
"BENEFIT_ONE_DESCRIPTION":
|
||||
"基于以太坊的分布式网络构建,去除中心体系单点故障,保证无间断运营,每笔交易都自动操作进行结算,完全解除交易对手风险。",
|
||||
"BENEFIT_ONE_DESCRIPTION": "基于以太坊的分布式网络构建,去除中心体系单点故障,保证无间断运营,每笔交易都自动操作进行结算,完全解除交易对手风险。",
|
||||
"BENEFIT_TWO_TITLE": "共享流动性",
|
||||
"BENEFIT_TWO_DESCRIPTION":
|
||||
"通过共享标准 API,让中继方轻松聚集流动池,随着越来越多的中继方纷纷上线,将形成充裕的流动性,创造网络效应。",
|
||||
"BENEFIT_TWO_DESCRIPTION": "通过共享标准 API,让中继方轻松聚集流动池,随着越来越多的中继方纷纷上线,将形成充裕的流动性,创造网络效应。",
|
||||
"BENEFIT_THREE_TITLE": "开源优势",
|
||||
"BENEFIT_THREE_DESCRIPTION":
|
||||
"0x 是一种开源协议,全网无边界,可供免费使用。用户可以直接联系已知的交易对象进行免费交易,还可以支付一定数额的 ZRX 代币,以访问中继方的流动池。",
|
||||
"BENEFIT_THREE_DESCRIPTION": "0x 是一种开源协议,全网无边界,可供免费使用。用户可以直接联系已知的交易对象进行免费交易,还可以支付一定数额的 ZRX 代币,以访问中继方的流动池。",
|
||||
"BUILDING_BLOCK_SECTION_HEADER": "去中心化应用的构建块",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION":
|
||||
"0x 协议是需要交易功能的去中心化应用的可插构建块。如今许多开发人员都在使用 0x 协议构建 Web 应用程序和智能合约,赶快加入这一行列吧!",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION": "0x 协议是需要交易功能的去中心化应用的可插构建块。如今许多开发人员都在使用 0x 协议构建 Web 应用程序和智能合约,赶快加入这一行列吧!",
|
||||
"DEV_TOOLS_PROMPT": "了解具体的构建方法,请参见",
|
||||
"SMART_CONTRACT": "智能合约 的文档",
|
||||
"DOCS": "",
|
||||
"AND": "和",
|
||||
"DECENTRALIZED_GOVERNANCE": "去中心化的治理",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION":
|
||||
"去中心化组织使用代币代表所有权,指引其治理逻辑。去中心化组织利用 0x 协议,可以无缝安全地进行启动资金所有权的交易。",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION": "去中心化组织使用代币代表所有权,指引其治理逻辑。去中心化组织利用 0x 协议,可以无缝安全地进行启动资金所有权的交易。",
|
||||
"PREDICTION_MARKETS": "预测市场",
|
||||
"PREDICTION_MARKETS_DESCRIPTION":
|
||||
"去中心化预测市场平台会根据现实世界中发生的事件,按照其中包含的金融风险生成代币集合。使用 0x 协议,允许这些代币即刻交易。",
|
||||
"PREDICTION_MARKETS_DESCRIPTION": "去中心化预测市场平台会根据现实世界中发生的事件,按照其中包含的金融风险生成代币集合。使用 0x 协议,允许这些代币即刻交易。",
|
||||
"STABLE_TOKENS": "稳定代币",
|
||||
"STABLE_TOKENS_DESCRIPTION":
|
||||
"StableCoins 等新型经济结构的成功建设有赖于高效的流动性市场的支持。0x 协议能有效促进底层经济机制,利于代币保持稳定。",
|
||||
"STABLE_TOKENS_DESCRIPTION": "StableCoins 等新型经济结构的成功建设有赖于高效的流动性市场的支持。0x 协议能有效促进底层经济机制,利于代币保持稳定。",
|
||||
"DECENTRALIZED_LOANS": "去中心化的借贷模式",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION":
|
||||
"高效借贷需要流动性市场的支持,为投资者提供方便购买、转卖借贷商品的平台。使用 0x 协议能够为借款方搭建一个自组织的生态系统,高效地针对所有未偿贷款确定市场价格。",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION": "高效借贷需要流动性市场的支持,为投资者提供方便购买、转卖借贷商品的平台。使用 0x 协议能够为借款方搭建一个自组织的生态系统,高效地针对所有未偿贷款确定市场价格。",
|
||||
"FUND_MANAGEMENT": "基金管理",
|
||||
"FUND_MANAGEMENT_DESCRIPTION":
|
||||
"去中心化基金管理通过划分需事先商定的资产类别,有效限制基金经理的投资行为。向基金管理智能合约中嵌入 0x 协议,可确保其遵守安全约束。",
|
||||
"FUND_MANAGEMENT_DESCRIPTION": "去中心化基金管理通过划分需事先商定的资产类别,有效限制基金经理的投资行为。向基金管理智能合约中嵌入 0x 协议,可确保其遵守安全约束。",
|
||||
"FINAL_CALL_TO_ACTION": "开始构建去中心化的未来",
|
||||
"DOCUMENTATION": "文档",
|
||||
"COMMUNITY": "社区",
|
||||
@ -93,8 +82,7 @@
|
||||
"GITHUB": "github",
|
||||
"LIVE_CHAT": "live chat",
|
||||
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION":
|
||||
"A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION": "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"MORE": "more",
|
||||
"LAUNCH_KIT": "0x launch kit",
|
||||
"LAUNCH_KIT_PITCH": "launch a relayer in under a minute.",
|
||||
@ -110,6 +98,5 @@
|
||||
"PERFECT_FOR_DEVELOPERS": "Perfect for developers who need a simple drop-in marketplace",
|
||||
"LEARN_MORE": "learn more",
|
||||
"START_BUILDING_ON_0X": "Start building on 0x",
|
||||
"START_BUILDING_ON_0X_DESCRIPTION":
|
||||
"Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
"START_BUILDING_ON_0X_DESCRIPTION": "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
}
|
||||
|
@ -1,56 +1,44 @@
|
||||
{
|
||||
"TOP_HEADER": "powering decentralized exchange",
|
||||
"TOP_TAGLINE":
|
||||
"0x is an open, permissionless protocol allowing for ERC20 tokens to be traded on the Ethereum blockchain.",
|
||||
"TOP_TAGLINE": "0x is an open, permissionless protocol allowing for ERC20 tokens to be traded on the Ethereum blockchain.",
|
||||
"BUILD_CALL_TO_ACTION": "build on 0x",
|
||||
"COMMUNITY_CALL_TO_ACTION": "join the community",
|
||||
"PROJECTS_HEADER": "projects building on 0x",
|
||||
"FULL_LIST_PROMPT": "view the",
|
||||
"FULL_LIST_LINK": "full list",
|
||||
"TOKENIZED_SECTION_HEADER": "the world's value is becoming tokenized",
|
||||
"TOKENIZED_SECTION_DESCRIPTION":
|
||||
"0x is the critical infrastructure layer in the emerging financial stack built on a foundation of Ethereum token standards. Developers needing exchange functionality for ERC 20 tokens, ERC 721 tokens, or any new asset type can easily integrate the 0x protocol into their application.",
|
||||
"TOKENIZED_SECTION_DESCRIPTION": "0x is the critical infrastructure layer in the emerging financial stack built on a foundation of Ethereum token standards. Developers needing exchange functionality for ERC 20 tokens, ERC 721 tokens, or any new asset type can easily integrate the 0x protocol into their application.",
|
||||
"CURRENCY": "currency",
|
||||
"TRADITIONAL_ASSETS": "traditional assets",
|
||||
"DIGITAL_GOODS": "digital goods",
|
||||
"OFFCHAIN_ORDER_RELAY": "off-chain order relay",
|
||||
"ONCHAIN_SETTLEMENT": "on-chain settlement",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION":
|
||||
"in 0x protocol, orders are transported off-chain, massively reducing gas costs and eliminating blockchain bloat. Relayers help broadcast orders and collect a fee each time they facilitate a trade. Anyone can build a relayer.",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION": "in 0x protocol, orders are transported off-chain, massively reducing gas costs and eliminating blockchain bloat. Relayers help broadcast orders and collect a fee each time they facilitate a trade. Anyone can build a relayer.",
|
||||
"RELAYERS_HEADER": "relayers building on 0x",
|
||||
"BENEFITS_HEADER": "benefits of 0x",
|
||||
"USE_CASES_HEADER": "use cases of 0x",
|
||||
"BENEFIT_ONE_TITLE": "any asset",
|
||||
"BENEFIT_ONE_DESCRIPTION":
|
||||
"the 0x protocol facilitates the exchange of a growing number of Ethereum-based tokens including currencies, game items, and many more digital assets.",
|
||||
"BENEFIT_ONE_DESCRIPTION": "the 0x protocol facilitates the exchange of a growing number of Ethereum-based tokens including currencies, game items, and many more digital assets.",
|
||||
"BENEFIT_TWO_TITLE": "networked liquidity",
|
||||
"BENEFIT_TWO_DESCRIPTION":
|
||||
"by sharing a standard API, relayers can easily aggregate liquidity pools, creating network effects around liquidity that compound as more relayers come online.",
|
||||
"BENEFIT_TWO_DESCRIPTION": "by sharing a standard API, relayers can easily aggregate liquidity pools, creating network effects around liquidity that compound as more relayers come online.",
|
||||
"BENEFIT_THREE_TITLE": "exchange everywhere",
|
||||
"BENEFIT_THREE_DESCRIPTION":
|
||||
"0x allows trade functionality to fade into the background, enabling developers to focus on building while 0x handles the exchange.",
|
||||
"BENEFIT_THREE_DESCRIPTION": "0x allows trade functionality to fade into the background, enabling developers to focus on building while 0x handles the exchange.",
|
||||
"BUILDING_BLOCK_SECTION_HEADER": "a building block for dApps",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION":
|
||||
"0x protocol is a pluggable building block for dApps that require exchange functionality. Join the many developers that are already using 0x in their web applications and smart contracts.",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION": "0x protocol is a pluggable building block for dApps that require exchange functionality. Join the many developers that are already using 0x in their web applications and smart contracts.",
|
||||
"DEV_TOOLS_PROMPT": "learn how in our",
|
||||
"SMART_CONTRACT": "smart contract",
|
||||
"DOCS": "docs",
|
||||
"AND": "and",
|
||||
"DECENTRALIZED_GOVERNANCE": "decentralized governance",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION":
|
||||
"Decentralized organizations use tokens to represent ownership and guide their governance logic. 0x allows decentralized organizations to seamlessly and safely trade ownership for startup capital.",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION": "Decentralized organizations use tokens to represent ownership and guide their governance logic. 0x allows decentralized organizations to seamlessly and safely trade ownership for startup capital.",
|
||||
"PREDICTION_MARKETS": "prediction markets",
|
||||
"PREDICTION_MARKETS_DESCRIPTION":
|
||||
"decentralized prediction market platforms generate sets of tokens that represent a financial stake in the outcomes of real-world events. 0x allows these tokens to be instantly tradable.",
|
||||
"PREDICTION_MARKETS_DESCRIPTION": "decentralized prediction market platforms generate sets of tokens that represent a financial stake in the outcomes of real-world events. 0x allows these tokens to be instantly tradable.",
|
||||
"STABLE_TOKENS": "stable tokens",
|
||||
"STABLE_TOKENS_DESCRIPTION":
|
||||
"novel economic constructs such as stable coins require efficient, liquid markets to succeed. 0x will facilitate the underlying economic mechanisms that allow these tokens to remain stable.",
|
||||
"STABLE_TOKENS_DESCRIPTION": "novel economic constructs such as stable coins require efficient, liquid markets to succeed. 0x will facilitate the underlying economic mechanisms that allow these tokens to remain stable.",
|
||||
"DECENTRALIZED_LOANS": "decentralized loans",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION":
|
||||
"efficient lending requires liquid markets where investors can buy and re-sell loans. 0x enables an ecosystem of lenders to self-organize and efficiently determine market prices for all outstanding loans.",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION": "efficient lending requires liquid markets where investors can buy and re-sell loans. 0x enables an ecosystem of lenders to self-organize and efficiently determine market prices for all outstanding loans.",
|
||||
"FUND_MANAGEMENT": "fund management",
|
||||
"FUND_MANAGEMENT_DESCRIPTION":
|
||||
"Decentralized fund management limits fund managers to investing in pre-agreed upon asset classes. Embedding 0x into fund management smart contracts enables them to enforce these security constraints.",
|
||||
"FUND_MANAGEMENT_DESCRIPTION": "Decentralized fund management limits fund managers to investing in pre-agreed upon asset classes. Embedding 0x into fund management smart contracts enables them to enforce these security constraints.",
|
||||
"FINAL_CALL_TO_ACTION": "get started on building the decentralized future",
|
||||
"DOCUMENTATION": "documentation",
|
||||
"COMMUNITY": "community",
|
||||
@ -93,15 +81,13 @@
|
||||
"USE_NETWORKED_LIQUIDITY": "use networked liquidity",
|
||||
"USE_NETWORKED_LIQUIDITY_DESCRIPTION": "Learn how to tap into networked liquidity using the Standard Relayer API",
|
||||
"INTEGRATE_0X_INSTANT": "add seamless purchasing of crypto assets to your website or app",
|
||||
"INTEGRATE_0X_INSTANT_DESCRIPTION":
|
||||
"learn how to use 0x Instant or AssetBuyer to give your users the power of purchasing crypto assets using 0x",
|
||||
"INTEGRATE_0X_INSTANT_DESCRIPTION": "learn how to use 0x Instant or AssetBuyer to give your users the power of purchasing crypto assets using 0x",
|
||||
"VIEW_ALL_DOCUMENTATION": "view all documentation",
|
||||
"SANDBOX": "0x.js sandbox",
|
||||
"GITHUB": "github",
|
||||
"LIVE_CHAT": "live chat",
|
||||
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION":
|
||||
"A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION": "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"MORE": "more",
|
||||
"LAUNCH_KIT": "0x launch kit",
|
||||
"LAUNCH_KIT_PITCH": "launch a relayer in under a minute.",
|
||||
@ -118,12 +104,9 @@
|
||||
"LEARN_MORE": "learn more",
|
||||
"OUR_MISSION_AND_VALUES": "our mission & values",
|
||||
"GAMING_AND_COLLECTABLES": "gaming & collectables",
|
||||
"GAMING_AND_COLLECTABLES_DESCRIPTION":
|
||||
"artists and game makers are tokenizing digital art and in-game items known as non-fungible tokens (NFTs). 0x enables these creators to add exchange functionality to give access and the ability to build marketplaces for NFT trading.",
|
||||
"GAMING_AND_COLLECTABLES_DESCRIPTION": "artists and game makers are tokenizing digital art and in-game items known as non-fungible tokens (NFTs). 0x enables these creators to add exchange functionality to give access and the ability to build marketplaces for NFT trading.",
|
||||
"ORDER_BOOKS": "order books",
|
||||
"ORDER_BOOKS_DESCRIPTION":
|
||||
"there are thousands of decentralized apps that have native utility tokens. 0x provides market makers and professional exchanges an ability to host order books to facilitate the exchange of these assets.",
|
||||
"ORDER_BOOKS_DESCRIPTION": "there are thousands of decentralized apps that have native utility tokens. 0x provides market makers and professional exchanges an ability to host order books to facilitate the exchange of these assets.",
|
||||
"START_BUILDING_ON_0X": "Start building on 0x",
|
||||
"START_BUILDING_ON_0X_DESCRIPTION":
|
||||
"Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
"START_BUILDING_ON_0X_DESCRIPTION": "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
}
|
||||
|
@ -7,48 +7,37 @@
|
||||
"FULL_LIST_PROMPT": "보기",
|
||||
"FULL_LIST_LINK": "전체 목록",
|
||||
"TOKENIZED_SECTION_HEADER": "전 세계의 가치가 토큰으로 변환되고 있음",
|
||||
"TOKENIZED_SECTION_DESCRIPTION":
|
||||
"이더리움 블록체인은 국경이 없는 개방형 결제 시스템으로, 다양한 자산을 암호화 토큰으로 나타내 줍니다. 앞으로는 디지털 자산과 상품 대부분이 토큰으로 바뀔 것입니다.",
|
||||
"TOKENIZED_SECTION_DESCRIPTION": "이더리움 블록체인은 국경이 없는 개방형 결제 시스템으로, 다양한 자산을 암호화 토큰으로 나타내 줍니다. 앞으로는 디지털 자산과 상품 대부분이 토큰으로 바뀔 것입니다.",
|
||||
"CURRENCY": "통화",
|
||||
"TRADITIONAL_ASSETS": "전통적 자산",
|
||||
"DIGITAL_GOODS": "디지털 상품",
|
||||
"OFFCHAIN_ORDER_RELAY": "오프체인 주문 릴레이",
|
||||
"ONCHAIN_SETTLEMENT": "온체인 정산",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION":
|
||||
"0x 프로토콜에서 주문은 오프체인으로 전달되므로, 가스 비용이 대폭 줄고 블록체인이 불필요하게 커지지 않습니다. Relayer는 주문을 브로드캐스팅할 수 있게 해 주고, 주문에서 거래가 진행될 때마다 수수료를 받을 수 있습니다. 누구든지 Relayer를 생성할 수 있습니다.",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION": "0x 프로토콜에서 주문은 오프체인으로 전달되므로, 가스 비용이 대폭 줄고 블록체인이 불필요하게 커지지 않습니다. Relayer는 주문을 브로드캐스팅할 수 있게 해 주고, 주문에서 거래가 진행될 때마다 수수료를 받을 수 있습니다. 누구든지 Relayer를 생성할 수 있습니다.",
|
||||
"RELAYERS_HEADER": "0x 기반 Relayer",
|
||||
"BENEFITS_HEADER": "모두 보기",
|
||||
"BENEFIT_ONE_TITLE": "신뢰할 수 없는 거래소",
|
||||
"BENEFIT_ONE_DESCRIPTION":
|
||||
"중앙화된 오류 지점과 중단 시간이 없는 이더리움의 분산 네트워크를 바탕으로 구축되므로, 각 거래가 개별 단위로 정산되며 거래 상대방으로 인한 위험도 없습니다.",
|
||||
"BENEFIT_ONE_DESCRIPTION": "중앙화된 오류 지점과 중단 시간이 없는 이더리움의 분산 네트워크를 바탕으로 구축되므로, 각 거래가 개별 단위로 정산되며 거래 상대방으로 인한 위험도 없습니다.",
|
||||
"BENEFIT_TWO_TITLE": "공유 유동 자금",
|
||||
"BENEFIT_TWO_DESCRIPTION":
|
||||
"표준 API를 공유하므로 Relayer는 유동 자금 풀을 쉽게 취합할 수 있습니다. 따라서 더 많은 Relayer가 온라인 상태가 되면 유동 자금을 바탕으로 한 복합적인 네트워크 효과를 만들 수 있습니다.",
|
||||
"BENEFIT_TWO_DESCRIPTION": "표준 API를 공유하므로 Relayer는 유동 자금 풀을 쉽게 취합할 수 있습니다. 따라서 더 많은 Relayer가 온라인 상태가 되면 유동 자금을 바탕으로 한 복합적인 네트워크 효과를 만들 수 있습니다.",
|
||||
"BENEFIT_THREE_TITLE": "오픈 소스",
|
||||
"BENEFIT_THREE_DESCRIPTION":
|
||||
"0x는 무허가형 오프 소스이며, 무료로 사용할 수 있습니다. 이미 알고 있는 상대방과 직접 무료로 거래하거나, Relayer에 약간의 ZRX 토큰을 지불하여 해당 유동 자금 풀에 액세스할 수 있습니다.",
|
||||
"BENEFIT_THREE_DESCRIPTION": "0x는 무허가형 오프 소스이며, 무료로 사용할 수 있습니다. 이미 알고 있는 상대방과 직접 무료로 거래하거나, Relayer에 약간의 ZRX 토큰을 지불하여 해당 유동 자금 풀에 액세스할 수 있습니다.",
|
||||
"BUILDING_BLOCK_SECTION_HEADER": "dApp을 위한 기본 구성 요소",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION":
|
||||
"0x 프로토콜은 거래소 기능이 필요한 dApp을 위한 연결 가능한 기본 구성 요소입니다. 웹 애플리케이션과 스마트 계약에서 이미 0x를 사용하고 있는 여러 개발자 대열에 동참해 보세요.",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION": "0x 프로토콜은 거래소 기능이 필요한 dApp을 위한 연결 가능한 기본 구성 요소입니다. 웹 애플리케이션과 스마트 계약에서 이미 0x를 사용하고 있는 여러 개발자 대열에 동참해 보세요.",
|
||||
"DEV_TOOLS_PROMPT": "수행하는 방법 알아보기",
|
||||
"SMART_CONTRACT": "스마트 계약 문서에 ",
|
||||
"DOCS": "",
|
||||
"AND": "및",
|
||||
"DECENTRALIZED_GOVERNANCE": "탈중앙화된 거버넌스",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION":
|
||||
"탈중앙화된 조직은 토큰을 사용하여 소유권을 나타내며 거버넌스 로직의 방향을 정합니다. 0x를 사용하면 탈중앙화된 조직이 안전하고 원활하게 스타트업 자금의 소유권을 주고받을 수 있습니다.",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION": "탈중앙화된 조직은 토큰을 사용하여 소유권을 나타내며 거버넌스 로직의 방향을 정합니다. 0x를 사용하면 탈중앙화된 조직이 안전하고 원활하게 스타트업 자금의 소유권을 주고받을 수 있습니다.",
|
||||
"PREDICTION_MARKETS": "예측 시장",
|
||||
"PREDICTION_MARKETS_DESCRIPTION":
|
||||
"탈중앙화된 예측 시장 플랫폼은 실제 이벤트 결과에서의 금전적인 지분을 나타내는 토큰 세트를 생성합니다. 0x를 사용하면 이러한 토큰을 즉시 거래할 수 있습니다.",
|
||||
"PREDICTION_MARKETS_DESCRIPTION": "탈중앙화된 예측 시장 플랫폼은 실제 이벤트 결과에서의 금전적인 지분을 나타내는 토큰 세트를 생성합니다. 0x를 사용하면 이러한 토큰을 즉시 거래할 수 있습니다.",
|
||||
"STABLE_TOKENS": "안정적인 토큰",
|
||||
"STABLE_TOKENS_DESCRIPTION":
|
||||
"안정적인 코인과 같은 새롭게 등장한 경제 개념은 효율성이 높은 유동 시장에 적용해야 성공할 수 있습니다. 0x는 이러한 토큰이 안정적인 상태를 유지할 수 있게 하는 기반 경제 메커니즘을 가능하게 합니다.",
|
||||
"STABLE_TOKENS_DESCRIPTION": "안정적인 코인과 같은 새롭게 등장한 경제 개념은 효율성이 높은 유동 시장에 적용해야 성공할 수 있습니다. 0x는 이러한 토큰이 안정적인 상태를 유지할 수 있게 하는 기반 경제 메커니즘을 가능하게 합니다.",
|
||||
"DECENTRALIZED_LOANS": "탈중앙화된 대출",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION":
|
||||
"대출이 효율적으로 이루어지려면 투자자가 대출 상품을 사고 다시 파는 유동 시장이 있어야 합니다. 0x를 통해 전체 미상환 대출이 자체 구성되고 이러한 대출의 시장 가격을 효율적으로 결정할 수 있는 대출 기관 생태계가 가능해집니다.",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION": "대출이 효율적으로 이루어지려면 투자자가 대출 상품을 사고 다시 파는 유동 시장이 있어야 합니다. 0x를 통해 전체 미상환 대출이 자체 구성되고 이러한 대출의 시장 가격을 효율적으로 결정할 수 있는 대출 기관 생태계가 가능해집니다.",
|
||||
"FUND_MANAGEMENT": "자금 관리",
|
||||
"FUND_MANAGEMENT_DESCRIPTION":
|
||||
"탈중앙화된 자금 관리로 자금 운용 관리자가 사전 합의된 자산 등급에 투자하는 것이 제한됩니다. 자금 관리 스마트 계약에 0x를 포함시키면 자금 운용 담당자가 보안 관련 제한 사항을 강화할 수 있습니다.",
|
||||
"FUND_MANAGEMENT_DESCRIPTION": "탈중앙화된 자금 관리로 자금 운용 관리자가 사전 합의된 자산 등급에 투자하는 것이 제한됩니다. 자금 관리 스마트 계약에 0x를 포함시키면 자금 운용 담당자가 보안 관련 제한 사항을 강화할 수 있습니다.",
|
||||
"FINAL_CALL_TO_ACTION": "탈중앙화된 미래 구축하기",
|
||||
"DOCUMENTATION": "문서",
|
||||
"COMMUNITY": "커뮤니티",
|
||||
@ -93,8 +82,7 @@
|
||||
"GITHUB": "github",
|
||||
"LIVE_CHAT": "live chat",
|
||||
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION":
|
||||
"A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION": "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"MORE": "more",
|
||||
"LAUNCH_KIT": "0x launch kit",
|
||||
"LAUNCH_KIT_PITCH": "launch a relayer in under a minute.",
|
||||
@ -110,6 +98,5 @@
|
||||
"PERFECT_FOR_DEVELOPERS": "Perfect for developers who need a simple drop-in marketplace",
|
||||
"LEARN_MORE": "learn more",
|
||||
"START_BUILDING_ON_0X": "Start building on 0x",
|
||||
"START_BUILDING_ON_0X_DESCRIPTION":
|
||||
"Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
"START_BUILDING_ON_0X_DESCRIPTION": "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
}
|
||||
|
@ -7,48 +7,37 @@
|
||||
"FULL_LIST_PROMPT": "Просмотреть",
|
||||
"FULL_LIST_LINK": "полный список",
|
||||
"TOKENIZED_SECTION_HEADER": "Сегодняшний мир движется к токенизации ценности",
|
||||
"TOKENIZED_SECTION_DESCRIPTION":
|
||||
"Блокчейн Ethereum — это открытая, безграничная финансовая система, большое количество активов которой представлено в виде криптографических токенов. В будущем большая часть цифровых активов и товаров будет токенизирована.",
|
||||
"TOKENIZED_SECTION_DESCRIPTION": "Блокчейн Ethereum — это открытая, безграничная финансовая система, большое количество активов которой представлено в виде криптографических токенов. В будущем большая часть цифровых активов и товаров будет токенизирована.",
|
||||
"CURRENCY": "Валюта",
|
||||
"TRADITIONAL_ASSETS": "Традиционные активы",
|
||||
"DIGITAL_GOODS": "Цифровые товары",
|
||||
"OFFCHAIN_ORDER_RELAY": "Офчейн-ордер",
|
||||
"ONCHAIN_SETTLEMENT": "Ончейн-транзакция",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION":
|
||||
"При использовании протокола 0x ордера проводятся вне блокчейна, что сокращает расходы на газ (топливо) и предотвращает раздувание блокчейна. Релейеры помогают провести ордера и берут комиссию каждый раз, когда способствуют торгам. Любой может создать релейера.",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION": "При использовании протокола 0x ордера проводятся вне блокчейна, что сокращает расходы на газ (топливо) и предотвращает раздувание блокчейна. Релейеры помогают провести ордера и берут комиссию каждый раз, когда способствуют торгам. Любой может создать релейера.",
|
||||
"RELAYERS_HEADER": "РЕЛЕЙЕРЫ, РАЗРАБОТАННЫЕ НА 0X",
|
||||
"BENEFITS_HEADER": "Просмотреть все",
|
||||
"BENEFIT_ONE_TITLE": "Обмен, не требующий доверия",
|
||||
"BENEFIT_ONE_DESCRIPTION":
|
||||
"Каждая сделка, основанная на распределенной сети Ethereum без единой точки отказа и с нулевым временем простоя, является атомарной операцией и проводится без риска для контрагента.",
|
||||
"BENEFIT_ONE_DESCRIPTION": "Каждая сделка, основанная на распределенной сети Ethereum без единой точки отказа и с нулевым временем простоя, является атомарной операцией и проводится без риска для контрагента.",
|
||||
"BENEFIT_TWO_TITLE": "Общая ликвидность",
|
||||
"BENEFIT_TWO_DESCRIPTION":
|
||||
"При обмене стандартным API релейеры могут легко объединять пулы ликвидности, создавая сетевые эффекты вокруг ликвидности, которые усложняются с появлением новых релейеров в сети.",
|
||||
"BENEFIT_TWO_DESCRIPTION": "При обмене стандартным API релейеры могут легко объединять пулы ликвидности, создавая сетевые эффекты вокруг ликвидности, которые усложняются с появлением новых релейеров в сети.",
|
||||
"BENEFIT_THREE_TITLE": "Открытый исходный код",
|
||||
"BENEFIT_THREE_DESCRIPTION":
|
||||
"0x — это бесплатный и доступный протокол с открытым кодом. Торгуйте напрямую с известными контрагентами бесплатно или заплатите релейеру несколько ZRX-токенов, чтобы получить доступ к его пулу ликвидности.",
|
||||
"BENEFIT_THREE_DESCRIPTION": "0x — это бесплатный и доступный протокол с открытым кодом. Торгуйте напрямую с известными контрагентами бесплатно или заплатите релейеру несколько ZRX-токенов, чтобы получить доступ к его пулу ликвидности.",
|
||||
"BUILDING_BLOCK_SECTION_HEADER": "Строительный блок для dApp",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION":
|
||||
"Протокол 0x — это подключаемый строительный блок для dApp, нуждающихся в функционале обмена. Присоединяйтесь к разработчикам, которые уже используют 0x в своих веб-приложениях и смарт-контрактах.",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION": "Протокол 0x — это подключаемый строительный блок для dApp, нуждающихся в функционале обмена. Присоединяйтесь к разработчикам, которые уже используют 0x в своих веб-приложениях и смарт-контрактах.",
|
||||
"DEV_TOOLS_PROMPT": "Узнайте как это сделать в документации к",
|
||||
"SMART_CONTRACT": "смарт-контрактам",
|
||||
"DOCS": "",
|
||||
"AND": "и",
|
||||
"DECENTRALIZED_GOVERNANCE": "Децентрализированное управление",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION":
|
||||
"Децентрализованные организации используют токены для представления собственности и внедрения своей логики управления. Протокол 0x позволяет децентрализованным организациям беспрепятственно и безопасно торговать собственностью для стартового капитала.",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION": "Децентрализованные организации используют токены для представления собственности и внедрения своей логики управления. Протокол 0x позволяет децентрализованным организациям беспрепятственно и безопасно торговать собственностью для стартового капитала.",
|
||||
"PREDICTION_MARKETS": "Рынки предсказаний",
|
||||
"PREDICTION_MARKETS_DESCRIPTION":
|
||||
"Платформы для децентрализованных рынков предсказаний генерируют множество токенов, которые представляют собой финансовую долю в результате реальных событий. Протокол 0x позволяет мгновенно торговать эти токены.",
|
||||
"PREDICTION_MARKETS_DESCRIPTION": "Платформы для децентрализованных рынков предсказаний генерируют множество токенов, которые представляют собой финансовую долю в результате реальных событий. Протокол 0x позволяет мгновенно торговать эти токены.",
|
||||
"STABLE_TOKENS": "Стабильные токены",
|
||||
"STABLE_TOKENS_DESCRIPTION":
|
||||
"Новые экономические конструкции, например стабильные токены, требуют наличия успешных и эффективных ликвидных рынков. Протокол 0x призван облегчить основные экономические механизмы, которые позволят этим токенам оставаться стабильными.",
|
||||
"STABLE_TOKENS_DESCRIPTION": "Новые экономические конструкции, например стабильные токены, требуют наличия успешных и эффективных ликвидных рынков. Протокол 0x призван облегчить основные экономические механизмы, которые позволят этим токенам оставаться стабильными.",
|
||||
"DECENTRALIZED_LOANS": "Децентрализированные займы",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION":
|
||||
"Эффективное кредитование требует наличия ликвидных рынков, где инвесторы могут купить и перепродать займы. Протокол 0x позволяет экосистеме кредиторов самоорганизовываться и эффективно определять рыночные цены для всех невыплаченных займов.",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION": "Эффективное кредитование требует наличия ликвидных рынков, где инвесторы могут купить и перепродать займы. Протокол 0x позволяет экосистеме кредиторов самоорганизовываться и эффективно определять рыночные цены для всех невыплаченных займов.",
|
||||
"FUND_MANAGEMENT": "Управление средствами",
|
||||
"FUND_MANAGEMENT_DESCRIPTION":
|
||||
"Децентрализованное управление средствами ограничивает управляющих средствами путем определения предварительно согласованных классов активов для инвестиций. Встраивание протокола 0x в смарт-контракты для управления средствами позволяет им обеспечить исполнение этих ограничений безопасности.",
|
||||
"FUND_MANAGEMENT_DESCRIPTION": "Децентрализованное управление средствами ограничивает управляющих средствами путем определения предварительно согласованных классов активов для инвестиций. Встраивание протокола 0x в смарт-контракты для управления средствами позволяет им обеспечить исполнение этих ограничений безопасности.",
|
||||
"FINAL_CALL_TO_ACTION": "Начните создавать децентрализованное будущее",
|
||||
"DOCUMENTATION": "Документация",
|
||||
"COMMUNITY": "Сообщество",
|
||||
@ -93,8 +82,7 @@
|
||||
"GITHUB": "github",
|
||||
"LIVE_CHAT": "live chat",
|
||||
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION":
|
||||
"A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION": "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"MORE": "more",
|
||||
"LAUNCH_KIT": "0x launch kit",
|
||||
"LAUNCH_KIT_PITCH": "launch a relayer in under a minute.",
|
||||
@ -110,6 +98,5 @@
|
||||
"PERFECT_FOR_DEVELOPERS": "Perfect for developers who need a simple drop-in marketplace",
|
||||
"LEARN_MORE": "learn more",
|
||||
"START_BUILDING_ON_0X": "Start building on 0x",
|
||||
"START_BUILDING_ON_0X_DESCRIPTION":
|
||||
"Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
"START_BUILDING_ON_0X_DESCRIPTION": "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
}
|
||||
|
@ -1,55 +1,43 @@
|
||||
{
|
||||
"TOP_HEADER": "potenciar el intercambio descentralizado",
|
||||
"TOP_TAGLINE":
|
||||
"0x es un protocolo abierto y sin restricciones que permite el intercambio de tokens ERC20 en la cadena de bloques Ethereum.",
|
||||
"TOP_TAGLINE": "0x es un protocolo abierto y sin restricciones que permite el intercambio de tokens ERC20 en la cadena de bloques Ethereum.",
|
||||
"BUILD_CALL_TO_ACTION": "crear en 0x",
|
||||
"COMMUNITY_CALL_TO_ACTION": "unirse a la comunidad",
|
||||
"PROJECTS_HEADER": "proyectos creados en 0x",
|
||||
"FULL_LIST_PROMPT": "ver la",
|
||||
"FULL_LIST_LINK": "lista completa",
|
||||
"TOKENIZED_SECTION_HEADER": "el valor del mundo se está tokenizando",
|
||||
"TOKENIZED_SECTION_DESCRIPTION":
|
||||
"la cadena de bloques Ethereum es un sistema financiero abierto y sin fronteras que representa una amplia variedad de activos como tokens criptográficos. En el futuro, la mayoría de los activos y bienes digitales estarán tokenizados.",
|
||||
"TOKENIZED_SECTION_DESCRIPTION": "la cadena de bloques Ethereum es un sistema financiero abierto y sin fronteras que representa una amplia variedad de activos como tokens criptográficos. En el futuro, la mayoría de los activos y bienes digitales estarán tokenizados.",
|
||||
"CURRENCY": "moneda",
|
||||
"TRADITIONAL_ASSETS": "activos tradicionales",
|
||||
"DIGITAL_GOODS": "bienes digitales",
|
||||
"OFFCHAIN_ORDER_RELAY": "orden retransmisión fuera de cadena",
|
||||
"ONCHAIN_SETTLEMENT": "liquidación en cadena",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION":
|
||||
"en el protocolo 0x, las órdenes se transportan fuera de la cadena, lo que reduce enormemente los costos de combustible y elimina el sobredimensionamiento de la cadena de bloques. Los transmisores ayudan a emitir órdenes y a cobrar un cargo cada vez que facilitan un intercambio. Cualquier persona puede crear un transmisor.",
|
||||
"OFFCHAIN_ONCHAIN_DESCRIPTION": "en el protocolo 0x, las órdenes se transportan fuera de la cadena, lo que reduce enormemente los costos de combustible y elimina el sobredimensionamiento de la cadena de bloques. Los transmisores ayudan a emitir órdenes y a cobrar un cargo cada vez que facilitan un intercambio. Cualquier persona puede crear un transmisor.",
|
||||
"RELAYERS_HEADER": "transmisores creados en 0x",
|
||||
"BENEFITS_HEADER": "beneficios de 0x",
|
||||
"BENEFIT_ONE_TITLE": "intercambio confiable",
|
||||
"BENEFIT_ONE_DESCRIPTION":
|
||||
"creado en la red distribuida de Ethereum sin ningún punto de error centralizado y sin tiempo de inactividad; cada intercambio se concreta atómicamente y sin riesgos para la contraparte.",
|
||||
"BENEFIT_ONE_DESCRIPTION": "creado en la red distribuida de Ethereum sin ningún punto de error centralizado y sin tiempo de inactividad; cada intercambio se concreta atómicamente y sin riesgos para la contraparte.",
|
||||
"BENEFIT_TWO_TITLE": "liquidez compartida",
|
||||
"BENEFIT_TWO_DESCRIPTION":
|
||||
"al compartir un API estándar, los transmisores pueden acumular fácilmente fondos de liquidez, lo que crea efectos de red en torno a la liquidez que se forma a medida que más transmisores se conectan.",
|
||||
"BENEFIT_TWO_DESCRIPTION": "al compartir un API estándar, los transmisores pueden acumular fácilmente fondos de liquidez, lo que crea efectos de red en torno a la liquidez que se forma a medida que más transmisores se conectan.",
|
||||
"BENEFIT_THREE_TITLE": "código abierto",
|
||||
"BENEFIT_THREE_DESCRIPTION":
|
||||
"0x es código abierto, su uso es gratuito. Negocie directamente con una contraparte conocida sin costo o páguele a un transmisor con algunos para acceder a su fondo de liquidez.",
|
||||
"BENEFIT_THREE_DESCRIPTION": "0x es código abierto, su uso es gratuito. Negocie directamente con una contraparte conocida sin costo o páguele a un transmisor con algunos para acceder a su fondo de liquidez.",
|
||||
"BUILDING_BLOCK_SECTION_HEADER": "un bloque de creación para dApps",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION":
|
||||
"el protocolo 0x es un bloque de creación acoplable para dApps que requiere una funcionalidad de intercambio. Únase a los numerosos desarrolladores que ya utilizan 0x en sus aplicaciones web y contratos inteligentes.",
|
||||
"BUILDING_BLOCK_SECTION_DESCRIPTION": "el protocolo 0x es un bloque de creación acoplable para dApps que requiere una funcionalidad de intercambio. Únase a los numerosos desarrolladores que ya utilizan 0x en sus aplicaciones web y contratos inteligentes.",
|
||||
"DEV_TOOLS_PROMPT": "aprenda cómo hacerlo en nuestros documentos de",
|
||||
"SMART_CONTRACT": "contratos inteligentes",
|
||||
"DOCS": "",
|
||||
"AND": "y",
|
||||
"DECENTRALIZED_GOVERNANCE": "gobierno descentralizado",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION":
|
||||
"las organizaciones descentralizadas utilizan tokens para representar la titularidad y guiar su lógica de gobierno. 0x les permite a las organizaciones descentralizadas intercambiar titularidad por capital inicial sin problemas y de forma segura.",
|
||||
"DECENTRALIZED_GOVERNANCE_DESCRIPTION": "las organizaciones descentralizadas utilizan tokens para representar la titularidad y guiar su lógica de gobierno. 0x les permite a las organizaciones descentralizadas intercambiar titularidad por capital inicial sin problemas y de forma segura.",
|
||||
"PREDICTION_MARKETS": "mercados de predicción",
|
||||
"PREDICTION_MARKETS_DESCRIPTION":
|
||||
"las plataformas del mercado de predicción descentralizado generan conjuntos de tokens que representan un interés financiero en los resultados de los sucesos del mundo real. 0x permite que estos tokens se negocien de manera instantánea.",
|
||||
"PREDICTION_MARKETS_DESCRIPTION": "las plataformas del mercado de predicción descentralizado generan conjuntos de tokens que representan un interés financiero en los resultados de los sucesos del mundo real. 0x permite que estos tokens se negocien de manera instantánea.",
|
||||
"STABLE_TOKENS": "tokens estables",
|
||||
"STABLE_TOKENS_DESCRIPTION":
|
||||
"las construcciones económicas novedosas, como las monedas estables, requieren mercados eficientes y con liquidez para tener éxito. 0x facilitará los mecanismos económicos subyacentes que permiten que estos tokens continúen siendo estables.",
|
||||
"STABLE_TOKENS_DESCRIPTION": "las construcciones económicas novedosas, como las monedas estables, requieren mercados eficientes y con liquidez para tener éxito. 0x facilitará los mecanismos económicos subyacentes que permiten que estos tokens continúen siendo estables.",
|
||||
"DECENTRALIZED_LOANS": "préstamos descentralizados",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION":
|
||||
"los préstamos eficientes requieren mercados con liquidez donde los inversores pueden comprar y revender préstamos. 0x facilita un ecosistema de prestamistas que se organizan ellos mismos y determinan, de forma eficaz, los precios del mercado para todos los préstamos pendientes.",
|
||||
"DECENTRALIZED_LOANS_DESCRIPTION": "los préstamos eficientes requieren mercados con liquidez donde los inversores pueden comprar y revender préstamos. 0x facilita un ecosistema de prestamistas que se organizan ellos mismos y determinan, de forma eficaz, los precios del mercado para todos los préstamos pendientes.",
|
||||
"FUND_MANAGEMENT": "administración de fondos",
|
||||
"FUND_MANAGEMENT_DESCRIPTION":
|
||||
"la administración descentralizada de fondos limita a los administradores de fondos a invertir en clases de activos preacordadas. Integrar 0x a los contratos inteligentes de la administración de fondos les permite imponer esas restricciones de seguridad.",
|
||||
"FUND_MANAGEMENT_DESCRIPTION": "la administración descentralizada de fondos limita a los administradores de fondos a invertir en clases de activos preacordadas. Integrar 0x a los contratos inteligentes de la administración de fondos les permite imponer esas restricciones de seguridad.",
|
||||
"FINAL_CALL_TO_ACTION": "comience a crear el futuro descentralizado",
|
||||
"DOCUMENTATION": "documentación",
|
||||
"COMMUNITY": "comunidad",
|
||||
@ -94,8 +82,7 @@
|
||||
"GITHUB": "github",
|
||||
"LIVE_CHAT": "live chat",
|
||||
"LIBRARIES_AND_TOOLS": "Libraries & Tools",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION":
|
||||
"A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"LIBRARIES_AND_TOOLS_DESCRIPTION": "A list of available tools maintained by the 0x core developers and wider community for building on top of 0x Protocol and Ethereum",
|
||||
"MORE": "more",
|
||||
"LAUNCH_KIT": "0x launch kit",
|
||||
"LAUNCH_KIT_PITCH": "launch a relayer in under a minute.",
|
||||
@ -111,6 +98,5 @@
|
||||
"PERFECT_FOR_DEVELOPERS": "Perfect for developers who need a simple drop-in marketplace",
|
||||
"LEARN_MORE": "learn more",
|
||||
"START_BUILDING_ON_0X": "Start building on 0x",
|
||||
"START_BUILDING_ON_0X_DESCRIPTION":
|
||||
"Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
"START_BUILDING_ON_0X_DESCRIPTION": "Follow one of our \"Getting started\" guides to learn more about building ontop of 0x."
|
||||
}
|
||||
|
@ -38,8 +38,7 @@ export const AboutPageLayout = (props: Props) => (
|
||||
{props.description}
|
||||
</AnimatedParagraph>
|
||||
|
||||
{props.linkLabel &&
|
||||
(props.href || props.to) && (
|
||||
{props.linkLabel && (props.href || props.to) && (
|
||||
<AnimatedLink
|
||||
to={props.to}
|
||||
href={props.href}
|
||||
|
@ -98,9 +98,6 @@ const Rays = styled.g`
|
||||
transform-origin: 50% 50%;
|
||||
`;
|
||||
|
||||
const Dot =
|
||||
styled.circle <
|
||||
{ delay: number } >
|
||||
`
|
||||
const Dot = styled.circle<{ delay: number }>`
|
||||
animation: ${fadeInOut} 4s ${props => `${props.delay}s`} infinite;
|
||||
`;
|
||||
|
@ -123,10 +123,7 @@ const ButtonWrap = styled.div`
|
||||
// Note let's refactor this
|
||||
// is it absolutely necessary to have a stateless component
|
||||
// to pass props down into the styled icon?
|
||||
const Border =
|
||||
styled.div <
|
||||
BorderProps >
|
||||
`
|
||||
const Border = styled.div<BorderProps>`
|
||||
position: absolute;
|
||||
background-image: ${props =>
|
||||
props.isBottom ? 'url(/images/banner/bottomofcta.png);' : 'url(/images/banner/topofcta.png);'};
|
||||
|
@ -58,10 +58,7 @@ Button.defaultProps = {
|
||||
borderColor: 'rgba(255, 255, 255, .4)',
|
||||
};
|
||||
|
||||
const ButtonBase =
|
||||
styled.button <
|
||||
ButtonInterface >
|
||||
`
|
||||
const ButtonBase = styled.button<ButtonInterface>`
|
||||
appearance: none;
|
||||
border: 1px solid transparent;
|
||||
display: inline-block;
|
||||
|
@ -69,10 +69,7 @@ export const Definition = (props: Props) => (
|
||||
</Wrap>
|
||||
);
|
||||
|
||||
const Wrap =
|
||||
styled.div <
|
||||
Props >
|
||||
`
|
||||
const Wrap = styled.div<Props>`
|
||||
max-width: ${props => props.isInline && '354px'};
|
||||
|
||||
& + & {
|
||||
@ -97,10 +94,7 @@ const Wrap =
|
||||
}
|
||||
`;
|
||||
|
||||
const TextWrap =
|
||||
styled.div <
|
||||
Props >
|
||||
`
|
||||
const TextWrap = styled.div<Props>`
|
||||
width: 100%;
|
||||
max-width: 560px;
|
||||
|
||||
|
@ -148,15 +148,17 @@ export class BlockchainErrDialog extends React.Component<BlockchainErrDialogProp
|
||||
If you are using{' '}
|
||||
<a href={constants.URL_METAMASK_CHROME_STORE} target="_blank">
|
||||
Metamask
|
||||
</a>, you can switch networks in the top left corner of the extension popover.
|
||||
</a>
|
||||
, you can switch networks in the top left corner of the extension popover.
|
||||
</div>
|
||||
<h4>Parity Signer</h4>
|
||||
<div>
|
||||
If using the{' '}
|
||||
<a href={constants.URL_PARITY_CHROME_STORE} target="_blank">
|
||||
Parity Signer Chrome extension
|
||||
</a>, make sure to start your local Parity node with `parity ui` or `parity --chain Kovan ui` in
|
||||
order to connect to mainnet \ or Kovan respectively.
|
||||
</a>
|
||||
, make sure to start your local Parity node with `parity ui` or `parity --chain Kovan ui` in order
|
||||
to connect to mainnet \ or Kovan respectively.
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
@ -111,8 +111,7 @@ export class EthWethConversionDialog extends React.Component<
|
||||
)}
|
||||
<div className="pt1" style={{ fontSize: 12 }}>
|
||||
<div className="left">1 ETH = 1 WETH</div>
|
||||
{this.props.direction === Side.Receive &&
|
||||
this.state.isEthTokenBalanceLoaded && (
|
||||
{this.props.direction === Side.Receive && this.state.isEthTokenBalanceLoaded && (
|
||||
<div
|
||||
className="right"
|
||||
onClick={this._onMaxClick.bind(this)}
|
||||
|
@ -173,8 +173,7 @@ export class FillOrder extends React.Component<FillOrderProps, FillOrderState> {
|
||||
private _renderOrderJsonNotices(): React.ReactNode {
|
||||
return (
|
||||
<div>
|
||||
{!_.isUndefined(this.props.initialOrder) &&
|
||||
!this.state.didOrderValidationRun && (
|
||||
{!_.isUndefined(this.props.initialOrder) && !this.state.didOrderValidationRun && (
|
||||
<div className="pt2">
|
||||
<span className="pr1">
|
||||
<i className="zmdi zmdi-spinner zmdi-hc-spin" />
|
||||
|
@ -37,7 +37,8 @@ export const FillWarningDialog = (props: FillWarningDialogProps) => {
|
||||
be counterfeit. It is your responsibility to verify the token addresses on Etherscan (
|
||||
<a href="https://0x.org/wiki#Verifying-Custom-Tokens" target="_blank">
|
||||
See this how-to guide
|
||||
</a>) before filling an order. <b>This action may result in the loss of funds</b>.
|
||||
</a>
|
||||
) before filling an order. <b>This action may result in the loss of funds</b>.
|
||||
</div>
|
||||
</div>
|
||||
</Dialog>
|
||||
|
@ -16,10 +16,7 @@ export const Hamburger: React.FunctionComponent<Props> = (props: Props) => {
|
||||
);
|
||||
};
|
||||
|
||||
const StyledHamburger =
|
||||
styled.button <
|
||||
Props >
|
||||
`
|
||||
const StyledHamburger = styled.button<Props>`
|
||||
background: none;
|
||||
border: 0;
|
||||
width: 22px;
|
||||
@ -41,9 +38,8 @@ const StyledHamburger =
|
||||
height: 2px;
|
||||
margin-bottom: 5px;
|
||||
transform-origin: 4px 0px;
|
||||
transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
|
||||
background-color 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
|
||||
opacity 0.55s ease;
|
||||
transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
|
||||
background-color 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
|
||||
|
||||
&:first-child {
|
||||
//transform-origin: 0% 0%;
|
||||
|
@ -87,7 +87,9 @@ class HeaderBase extends React.Component<HeaderProps> {
|
||||
</Link>
|
||||
|
||||
<NavLinks>
|
||||
{_.map(navItems, (link, index) => <NavItem key={`navlink-${index}`} link={link} />)}
|
||||
{_.map(navItems, (link, index) => (
|
||||
<NavItem key={`navlink-${index}`} link={link} />
|
||||
))}
|
||||
</NavLinks>
|
||||
|
||||
<MediaQuery minWidth={990}>
|
||||
@ -130,10 +132,7 @@ const NavItem = (props: { link: NavItemProps; key: string }) => {
|
||||
);
|
||||
};
|
||||
|
||||
const StyledHeader =
|
||||
styled.header <
|
||||
HeaderProps >
|
||||
`
|
||||
const StyledHeader = styled.header<HeaderProps>`
|
||||
padding: 30px;
|
||||
background-color: ${props => props.theme.bgColor};
|
||||
`;
|
||||
@ -200,10 +199,7 @@ const NavLinks = styled.ul`
|
||||
}
|
||||
`;
|
||||
|
||||
const DropdownWrap =
|
||||
styled.div <
|
||||
DropdownWrapInterface >
|
||||
`
|
||||
const DropdownWrap = styled.div<DropdownWrapInterface>`
|
||||
width: ${props => props.width || 280}px;
|
||||
padding: 15px 0;
|
||||
border: 1px solid transparent;
|
||||
@ -219,11 +215,12 @@ const DropdownWrap =
|
||||
transition: opacity 0.35s, transform 0.35s, visibility 0s 0.35s;
|
||||
z-index: 20;
|
||||
|
||||
&:after, &:before {
|
||||
&:after,
|
||||
&:before {
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
border: solid transparent;
|
||||
content: " ";
|
||||
content: ' ';
|
||||
height: 0;
|
||||
width: 0;
|
||||
position: absolute;
|
||||
|
@ -28,10 +28,7 @@ interface WrapProps {
|
||||
isFullWidth?: boolean;
|
||||
isCenteredMobile?: boolean;
|
||||
}
|
||||
const Wrap =
|
||||
styled.div <
|
||||
WrapProps >
|
||||
`
|
||||
const Wrap = styled.div<WrapProps>`
|
||||
width: calc(100% - 60px);
|
||||
margin: 0 auto;
|
||||
|
||||
@ -53,10 +50,7 @@ interface TitleProps {
|
||||
isLarge?: any;
|
||||
maxWidth?: string;
|
||||
}
|
||||
const Title =
|
||||
styled.h1 <
|
||||
TitleProps >
|
||||
`
|
||||
const Title = styled.h1<TitleProps>`
|
||||
font-size: ${props => (props.isLarge ? '80px' : '50px')};
|
||||
font-weight: 300;
|
||||
line-height: 1.1;
|
||||
@ -87,10 +81,7 @@ const Description = styled.p`
|
||||
}
|
||||
`;
|
||||
|
||||
const Content =
|
||||
styled.div <
|
||||
{ width: string } >
|
||||
`
|
||||
const Content = styled.div<{ width: string }>`
|
||||
width: 100%;
|
||||
|
||||
@media (min-width: 768px) {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user