* Rename existing wrapper, to match contract name * base contract: make member var public * json_schemas.py: stop storing copies of schemas! * .gitignore generated erc20_token.py wrapper * json schemas: allow uppercase digits in address * existing exchange wrapper: re-order methods to match method order in Solidity contract, to reduce noise in upcoming diffs of newly generated code vs. old manually-written code. * existing exchange wrapper: rename method params To match contract method param names * existing exchange wrapper: remove redundant member * existing exchange wrapper: make signatures bytes Not strings. * abi-gen/test-cli: show context on diff failure * abi-gen-templates/Py: fix broken event interface Previous changes had removed the `token_address` parameter from all generated methods, but this instance was missed because there weren't tests/examples using events for the first contract for which wrappers were generated (ERC20Token). * abi-gen: remove unused method parameters * abi-gen: convert Py method params to snake case * abi-gen: rewrite Python tuple handling * python-generated-wrappers: include Exchange * abi-gen-templates/Py: easy linter fixes * abi-gen-templates/Py: satisfy docstring linters * abi-gen-templates/Py: normalize bytes before use * contract_wrappers.py: replace Exchange w/generated * contract_wrappers.py: rm manually written Exchange * contract_wrappers.py/doctest: rename variables * abi-gen: fix misspelling in docstring Co-Authored-By: Fabio B <me@fabioberger.com> * Py docs: error on warning, and test build in CI * abi-gen: doc Py bytes params as requiring UTF-8 * abi-gen: git mv diff.sh test-cli/ * abi-gen: put Py wrapper in module folder, not file This leaves space for user-defined additions to the same module, such as for custom types, as shown herein. * abi-gen: customizable param validation for Python * contract_wrappers.py: JSON schema Order validation * CircleCI Build Artifacts For abi-gen command-line test output, for generated Python contract wrappers as output by abi-gen, for generated Python contract wrappers as reformatted and included in the Python package area, and for the "build" output folder in each Python package, which includes the generated documentation. * CHANGELOG updates for all components * abi-gen: grammar in comments Co-Authored-By: Fabio B <me@fabioberger.com> * abi-gen: CHANGELOG spelling correction Co-Authored-By: Fabio B <me@fabioberger.com> * order_utils.py: reverse (chronological) CHANGELOG * abi-gen-templates: reset CHANGELOG patch version * CHANGELOGs: use multiple entries where appropriate * abi-gen: enable devdoc solc output in test-cli * abi-gen-templates/Py: consolidate return type * abi-gen/test-cli: non-pure fixture contract method Added a method to the "dummy" test fixture contract that isn't pure. All of the other prior method cases were pure. * abi-gen/Py: fix const methods missing return type * abi-gen/Py: fix wrong return types on some methods Specifically, wrapper methods wrapping contract methods that modify contract state and return no return value. There was no test case for this. Now there is. * contract_wrappers.py: rm generated code in `clean` * Parallelize Py monorepo scripts (test, lint, etc)
618 lines
17 KiB
JSON
618 lines
17 KiB
JSON
[
|
|
{
|
|
"version": "9.1.8",
|
|
"changes": [
|
|
{
|
|
"note": "re-export new ethereum-types type, TupleDataItem",
|
|
"pr": 1919
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"timestamp": 1563193019,
|
|
"version": "9.1.7",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"timestamp": 1563047529,
|
|
"version": "9.1.6",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "9.1.5",
|
|
"changes": [
|
|
{
|
|
"note": "Use assetDataUtils for encoding and decoding DutchAuctionData"
|
|
}
|
|
],
|
|
"timestamp": 1563006338
|
|
},
|
|
{
|
|
"timestamp": 1558712885,
|
|
"version": "9.1.4",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "9.1.3",
|
|
"changes": [
|
|
{
|
|
"note": "Fix decoding bug in `DutchAuctionWrapper.decodeDutchAuctionData`",
|
|
"pr": 1815
|
|
},
|
|
{
|
|
"note": "Fallback to eth_sign if eth_signedTypedData fails",
|
|
"pr": 1817
|
|
}
|
|
],
|
|
"timestamp": 1557961111
|
|
},
|
|
{
|
|
"version": "9.1.2",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
],
|
|
"timestamp": 1557799313
|
|
},
|
|
{
|
|
"version": "9.1.0",
|
|
"changes": [
|
|
{
|
|
"note": "Added CoordinatorWrapper to support orders with the Coordinator extension contract",
|
|
"pr": 1792
|
|
}
|
|
],
|
|
"timestamp": 1557507213
|
|
},
|
|
{
|
|
"version": "9.0.0",
|
|
"changes": [
|
|
{
|
|
"note": "Added a simulation to transfer from maker to taker during `exchange.validateOrderFillableOrThrowAsync`",
|
|
"pr": 1714
|
|
},
|
|
{
|
|
"note": "Added additional properties to `ValidateOrderFillableOpts`. An order can now be validated to fill a non-zero amount by specifying `validateRemainingOrderAmountIsFillable` as `false`. The default `true` will continue to validate the entire remaining balance is fillable.",
|
|
"pr": 1714
|
|
}
|
|
],
|
|
"timestamp": 1554997931
|
|
},
|
|
{
|
|
"timestamp": 1553183790,
|
|
"version": "8.0.5",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"timestamp": 1553091633,
|
|
"version": "8.0.4",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "8.0.3",
|
|
"changes": [
|
|
{
|
|
"note": "Move contracts-test-utils and fill-scenarios to dev dependency",
|
|
"pr": 1657
|
|
}
|
|
],
|
|
"timestamp": 1551479279
|
|
},
|
|
{
|
|
"timestamp": 1551299797,
|
|
"version": "8.0.2",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"timestamp": 1551220833,
|
|
"version": "8.0.1",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "8.0.0",
|
|
"changes": [
|
|
{
|
|
"note": "Add support for EIP1193 providers & Web3.js providers >= 1.0-beta.38",
|
|
"pr": 1627
|
|
},
|
|
{
|
|
"note": "Update provider params to type SupportedProvider which outlines all supported providers",
|
|
"pr": 1627
|
|
}
|
|
],
|
|
"timestamp": 1551130135
|
|
},
|
|
{
|
|
"version": "7.1.0",
|
|
"changes": [
|
|
{
|
|
"note": "Added calldata decoding to ContractWrappers",
|
|
"pr": 1569
|
|
}
|
|
],
|
|
"timestamp": 1549733923
|
|
},
|
|
{
|
|
"version": "7.0.2",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
],
|
|
"timestamp": 1549547375
|
|
},
|
|
{
|
|
"timestamp": 1549504360,
|
|
"version": "7.0.1",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "7.0.0",
|
|
"changes": [
|
|
{
|
|
"note": "Use new `ZeroExTransaction` interface",
|
|
"pr": 1576
|
|
},
|
|
{
|
|
"note": "Rename `getTransactionHex` to `getTransactionHashHex`",
|
|
"pr": 1576
|
|
},
|
|
{
|
|
"note": "Rename `getTransactionHex` to `getTransactionHashHex`",
|
|
"pr": 1576
|
|
}
|
|
],
|
|
"timestamp": 1549452781
|
|
},
|
|
{
|
|
"version": "6.0.0",
|
|
"changes": [
|
|
{
|
|
"note": "Fix OrderValidatorWrapper constructor to use the correct address",
|
|
"pr": 1568
|
|
},
|
|
{
|
|
"note": "Upgrade the bignumber.js to v8.0.2",
|
|
"pr": 1517
|
|
}
|
|
],
|
|
"timestamp": 1549373905
|
|
},
|
|
{
|
|
"timestamp": 1547747677,
|
|
"version": "5.0.1",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "5.0.0",
|
|
"changes": [
|
|
{
|
|
"note": "Renamed OrderStatus enum members to PascalCase to conform with tslint enum-naming rule",
|
|
"pr": 1474
|
|
},
|
|
{
|
|
"note": "Remove Exchange `matchOrdersAsync` optimization",
|
|
"pr": 1514
|
|
}
|
|
],
|
|
"timestamp": 1547561734
|
|
},
|
|
{
|
|
"timestamp": 1547225310,
|
|
"version": "4.2.1",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "4.2.0",
|
|
"changes": [
|
|
{
|
|
"note": "Added Dutch Auction wrapper",
|
|
"pr": 1465
|
|
}
|
|
],
|
|
"timestamp": 1547040760
|
|
},
|
|
{
|
|
"version": "4.1.4",
|
|
"changes": [
|
|
{
|
|
"note": "Add support for Trust Wallet signature denial error"
|
|
},
|
|
{
|
|
"note": "Add balance and allowance queries for `MultiAssetProxy`",
|
|
"pr": 1363
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "4.1.3",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
],
|
|
"timestamp": 1544739608
|
|
},
|
|
{
|
|
"version": "4.1.2",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
],
|
|
"timestamp": 1544570656
|
|
},
|
|
{
|
|
"timestamp": 1543401373,
|
|
"version": "4.1.1",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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",
|
|
"pr": 1292
|
|
}
|
|
],
|
|
"timestamp": 1542821676
|
|
},
|
|
{
|
|
"timestamp": 1542208198,
|
|
"version": "4.0.2",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"timestamp": 1542134075,
|
|
"version": "4.0.1",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "4.0.0",
|
|
"changes": [
|
|
{
|
|
"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",
|
|
"pr": 1235
|
|
},
|
|
{
|
|
"note": "Throw previously swallowed network errors when calling `validateOrderFillableOrThrowAsync` (see issue: #1218)",
|
|
"pr": 1235
|
|
}
|
|
],
|
|
"timestamp": 1542028948
|
|
},
|
|
{
|
|
"version": "3.0.1",
|
|
"changes": [
|
|
{
|
|
"note": "Fix bug in `ForwarderWrapper` where `feeRecipientAddress` was not correctly normalized.",
|
|
"pr": 1178
|
|
}
|
|
],
|
|
"timestamp": 1541740904
|
|
},
|
|
{
|
|
"version": "3.0.0",
|
|
"changes": [
|
|
{
|
|
"note": "Add optional validation to the forwarder wrapper methods"
|
|
},
|
|
{
|
|
"note": "Updated to use new modularized artifacts.",
|
|
"pr": 1105
|
|
},
|
|
{
|
|
"note": "Top-level `ContractWrappers` class has a new optional `contractAddresses` parameter.",
|
|
"pr": 1105
|
|
},
|
|
{
|
|
"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()`).",
|
|
"pr": 1105
|
|
},
|
|
{
|
|
"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.",
|
|
"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.",
|
|
"pr": 1105
|
|
},
|
|
{
|
|
"note": "Add `ForwarderWrapperError` to public interface",
|
|
"pr": 1147
|
|
},
|
|
{
|
|
"note": "Add `ContractWrapperError.SignatureRequestDenied` to public interface",
|
|
"pr": 1147
|
|
}
|
|
],
|
|
"timestamp": 1539871071
|
|
},
|
|
{
|
|
"version": "2.0.2",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
],
|
|
"timestamp": 1538693146
|
|
},
|
|
{
|
|
"timestamp": 1538157789,
|
|
"version": "2.0.1",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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.",
|
|
"pr": 1080
|
|
},
|
|
{
|
|
"note": "Fix misunderstanding about blockstream interface callbacks and pass the raw JSON RPC responses to it",
|
|
"pr": 1080
|
|
}
|
|
],
|
|
"timestamp": 1537907159
|
|
},
|
|
{
|
|
"version": "1.0.5",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
],
|
|
"timestamp": 1537875740
|
|
},
|
|
{
|
|
"version": "1.0.4",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
],
|
|
"timestamp": 1537541580
|
|
},
|
|
{
|
|
"version": "1.0.3",
|
|
"changes": [
|
|
{
|
|
"note": "Drastically reduce the bundle size by removing unused parts of included contract artifacts."
|
|
}
|
|
],
|
|
"timestamp": 1537369748
|
|
},
|
|
{
|
|
"version": "1.0.2",
|
|
"changes": [
|
|
{
|
|
"note": "Add ZRX & WETH mainnet contract addresses into the included artifacts"
|
|
}
|
|
],
|
|
"timestamp": 1537265493
|
|
},
|
|
{
|
|
"version": "1.0.1",
|
|
"changes": [
|
|
{
|
|
"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`",
|
|
"pr": 1044
|
|
},
|
|
{
|
|
"note": "Export `AssetBalanceAndProxyAllowanceFetcher` and `OrderFilledCancelledFetcher` implementations",
|
|
"pr": 1054
|
|
},
|
|
{
|
|
"note": "Add `validateOrderFillableOrThrowAsync` and `validateFillOrderThrowIfInvalidAsync` to ExchangeWrapper",
|
|
"pr": 1054
|
|
}
|
|
],
|
|
"timestamp": 1536142250
|
|
},
|
|
{
|
|
"version": "1.0.1-rc.5",
|
|
"changes": [
|
|
{
|
|
"note": "Fix missing `BlockParamLiteral` type import issue"
|
|
}
|
|
],
|
|
"timestamp": 1535377027
|
|
},
|
|
{
|
|
"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`",
|
|
"pr": 924
|
|
},
|
|
{
|
|
"note": "Remove superfluous exported types: `ContractEvent`, `Token`, `OrderFillRequest`, `ContractEventArgs`, `LogEvent`, `OnOrderStateChangeCallback`, `ECSignature`, `OrderStateValid`, `OrderStateInvalid`, `OrderState`, `FilterObject`, `TransactionReceipt` & `TransactionReceiptWithDecodedLogs`",
|
|
"pr": 924
|
|
},
|
|
{
|
|
"note": "Added Transaction Encoder for use with 0x Exchange executeTransaction",
|
|
"pr": 975
|
|
}
|
|
],
|
|
"timestamp": 1535133899
|
|
},
|
|
{
|
|
"version": "1.0.1-rc.3",
|
|
"changes": [
|
|
{
|
|
"pr": 915,
|
|
"note": "Added strict encoding/decoding checks for sendTransaction and call"
|
|
},
|
|
{
|
|
"note": "Add ForwarderWrapper",
|
|
"pr": 934
|
|
},
|
|
{
|
|
"note": "Optimize orders in ForwarderWrapper",
|
|
"pr": 936
|
|
}
|
|
],
|
|
"timestamp": 1534210131
|
|
},
|
|
{
|
|
"version": "1.0.1-rc.2",
|
|
"changes": [
|
|
{
|
|
"note": "Fixed bug caused by importing non-existent dep"
|
|
}
|
|
],
|
|
"timestamp": 1532619515
|
|
},
|
|
{
|
|
"version": "1.0.1-rc.1",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
],
|
|
"timestamp": 1532605697
|
|
},
|
|
{
|
|
"timestamp": 1532357734,
|
|
"version": "1.0.0",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"timestamp": 1532043000,
|
|
"version": "1.0.0-rc.1",
|
|
"changes": [
|
|
{
|
|
"note": "Update blockstream to v5.0 and propogate up caught errors to active subscriptions",
|
|
"pr": 815
|
|
},
|
|
{
|
|
"note": "Update to v2 of 0x rpotocol",
|
|
"pr": 822
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"timestamp": 1531919263,
|
|
"version": "0.1.1",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"timestamp": 1529397769,
|
|
"version": "0.0.5",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"timestamp": 1527617227,
|
|
"version": "0.0.4",
|
|
"changes": [
|
|
{
|
|
"note": "Expose 'abi' ContractAbi property on all contract wrappers"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"version": "0.0.2",
|
|
"changes": [
|
|
{
|
|
"note": "Dependencies updated"
|
|
}
|
|
],
|
|
"timestamp": 1527008544
|
|
},
|
|
{
|
|
"timestamp": 1527008270,
|
|
"version": "0.0.1",
|
|
"changes": [
|
|
{
|
|
"note": "Moved contractWrappers out of 0x.js",
|
|
"pr": 579
|
|
}
|
|
]
|
|
}
|
|
]
|