Skip to content

Commit

Permalink
v0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
0x3bfc committed Oct 1, 2020
1 parent afa81fb commit d9f14a5
Show file tree
Hide file tree
Showing 28 changed files with 75 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.5.1
current_version = 0.5.2

[bumpversion:file:setup.cfg]

Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.5.2](https://github.com/oceanprotocol/ocean-contracts/compare/v0.5.1...v0.5.2)

> 1 October 2020
- Fix/Release-Process [`#230`](https://github.com/oceanprotocol/ocean-contracts/pull/230)
- Use block.timestamp for orders logs [`#231`](https://github.com/oceanprotocol/ocean-contracts/pull/231)
- Fix/Minor-deployment-update [`#229`](https://github.com/oceanprotocol/ocean-contracts/pull/229)
- Release/v0.5.1 [`#228`](https://github.com/oceanprotocol/ocean-contracts/pull/228)
- prepare for a new release [`afa81fb`](https://github.com/oceanprotocol/ocean-contracts/commit/afa81fb86378633af714c6720ff764bf92f7c01b)
- update addresses [`cf9bf31`](https://github.com/oceanprotocol/ocean-contracts/commit/cf9bf312394188a615e7691034e0116b603238a0)
- Update DataTokenTemplate.sol [`038a558`](https://github.com/oceanprotocol/ocean-contracts/commit/038a55863ad193cace5a8781f68fbfab80208f28)

#### [v0.5.1](https://github.com/oceanprotocol/ocean-contracts/compare/v0.5.0...v0.5.1)

> 1 October 2020
Expand Down
2 changes: 1 addition & 1 deletion artifacts/BConst.json
Original file line number Diff line number Diff line change
Expand Up @@ -2837,7 +2837,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.044Z",
"updatedAt": "2020-10-01T15:56:38.602Z",
"devdoc": {
"methods": {}
},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/BFactory.json
Original file line number Diff line number Diff line change
Expand Up @@ -3024,7 +3024,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.051Z",
"updatedAt": "2020-10-01T15:56:38.603Z",
"devdoc": {
"methods": {}
},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/BMath.json
Original file line number Diff line number Diff line change
Expand Up @@ -16482,7 +16482,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.058Z",
"updatedAt": "2020-10-01T15:56:38.605Z",
"devdoc": {
"methods": {}
},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/BNum.json
Original file line number Diff line number Diff line change
Expand Up @@ -13037,7 +13037,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.076Z",
"updatedAt": "2020-10-01T15:56:38.612Z",
"devdoc": {
"methods": {}
},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/BPool.json
Original file line number Diff line number Diff line change
Expand Up @@ -66915,7 +66915,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.088Z",
"updatedAt": "2020-10-01T15:56:38.616Z",
"devdoc": {
"details": "Used by the (Ocean version) BFactory contract as a bytecode reference to deploy new BPools. * This contract is is nearly identical to the BPool.sol contract at [1] The only difference is the \"Proxy contract functionality\" section given below. We'd inherit from BPool if we could, for simplicity. But we can't, because the proxy section needs to access private variables declared in BPool, and Solidity disallows this. Therefore the best we can do for now is clearly demarcate the proxy section. * [1] https://github.com/balancer-labs/balancer-core/contracts/.",
"methods": {},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/BToken.json
Original file line number Diff line number Diff line change
Expand Up @@ -14000,7 +14000,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.152Z",
"updatedAt": "2020-10-01T15:56:38.643Z",
"devdoc": {
"methods": {}
},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/BTokenBase.json
Original file line number Diff line number Diff line change
Expand Up @@ -13783,7 +13783,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.161Z",
"updatedAt": "2020-10-01T15:56:38.648Z",
"devdoc": {
"methods": {}
},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/Context.json
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.192Z",
"updatedAt": "2020-10-01T15:56:38.669Z",
"devdoc": {
"methods": {}
},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/DTFactory.json
Original file line number Diff line number Diff line change
Expand Up @@ -4538,7 +4538,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.031Z",
"updatedAt": "2020-10-01T15:56:38.600Z",
"devdoc": {
"author": "Ocean Protocol Team",
"details": "Implementation of Ocean DataTokens Factory * DTFactory deploys DataToken proxy contracts. New DataToken proxy contracts are links to the template contract's bytecode. Proxy contract functionality is based on Ocean Protocol custom implementation of ERC1167 standard.",
Expand Down
2 changes: 1 addition & 1 deletion artifacts/DataTokenTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -14305,7 +14305,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.184Z",
"updatedAt": "2020-10-01T15:56:38.663Z",
"devdoc": {
"details": "DataTokenTemplate is an ERC20 compliant token template Used by the factory contract as a bytecode reference to deploy new DataTokens.",
"methods": {
Expand Down
2 changes: 1 addition & 1 deletion artifacts/Deployer.json
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.192Z",
"updatedAt": "2020-10-01T15:56:38.669Z",
"devdoc": {
"author": "Ocean Protocol Team",
"details": "Contract Deployer This contract allowes factory contract to deploy new contract instances using the same library pattern in solidity. the logic it self is deployed only once, but executed in the context of the new storage contract (new contract instance)",
Expand Down
2 changes: 1 addition & 1 deletion artifacts/ERC20.json
Original file line number Diff line number Diff line change
Expand Up @@ -11318,7 +11318,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.195Z",
"updatedAt": "2020-10-01T15:56:38.672Z",
"devdoc": {
"details": "Implementation of the {IERC20} interface. * This implementation is agnostic to the way tokens are created. This means that a supply mechanism has to be added in a derived contract using {_mint}. For a generic mechanism see {ERC20Mintable}. * TIP: For a detailed writeup see our guide https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How to implement supply mechanisms]. * We have followed general OpenZeppelin guidelines: functions revert instead of returning `false` on failure. This behavior is nonetheless conventional and does not conflict with the expectations of ERC20 applications. * Additionally, an {Approval} event is emitted on calls to {transferFrom}. This allows applications to reconstruct the allowance for all accounts just by listening to said events. Other implementations of the EIP may not emit these events, as it isn't required by the specification. * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} functions have been added to mitigate the well-known issues around setting allowances. See {IERC20-approve}.",
"methods": {
Expand Down
2 changes: 1 addition & 1 deletion artifacts/FixedRateExchange.json
Original file line number Diff line number Diff line change
Expand Up @@ -16232,7 +16232,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.172Z",
"updatedAt": "2020-10-01T15:56:38.655Z",
"devdoc": {
"details": "FixedRateExchange is a fixed rate exchange Contract Marketplaces uses this contract to allow consumers exchanging datatokens with ocean token using a fixed exchange rate.",
"methods": {
Expand Down
2 changes: 1 addition & 1 deletion artifacts/IERC20.json
Original file line number Diff line number Diff line change
Expand Up @@ -1854,7 +1854,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.198Z",
"updatedAt": "2020-10-01T15:56:38.676Z",
"devdoc": {
"details": "Interface of the ERC20 standard as defined in the EIP. Does not include the optional functions; to access them see {ERC20Detailed}.",
"methods": {
Expand Down
2 changes: 1 addition & 1 deletion artifacts/IERC20Template.json
Original file line number Diff line number Diff line change
Expand Up @@ -2806,7 +2806,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.181Z",
"updatedAt": "2020-10-01T15:56:38.661Z",
"devdoc": {
"methods": {}
},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/Metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2389,7 +2389,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.182Z",
"updatedAt": "2020-10-01T15:56:38.662Z",
"devdoc": {
"details": "Metadata stands for Decentralized Document. It allows publishers to publish their dataset metadata in decentralized way. It follows the Ocean DID Document standard: https://github.com/oceanprotocol/OEPs/blob/master/7/v0.2/README.md",
"methods": {
Expand Down
2 changes: 1 addition & 1 deletion artifacts/Migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.036Z",
"updatedAt": "2020-10-01T15:56:38.602Z",
"devdoc": {
"methods": {}
},
Expand Down
2 changes: 1 addition & 1 deletion artifacts/OPFCommunityFeeCollector.json
Original file line number Diff line number Diff line change
Expand Up @@ -3296,7 +3296,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.169Z",
"updatedAt": "2020-10-01T15:56:38.653Z",
"devdoc": {
"details": "Ocean Protocol Foundation Community Fee Collector contract allows consumers to pay very small fee as part of the exchange of data tokens with ocean token in order to support the community of ocean protocol and provide a sustainble development.",
"methods": {
Expand Down
2 changes: 1 addition & 1 deletion artifacts/Ownable.json
Original file line number Diff line number Diff line change
Expand Up @@ -3059,7 +3059,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.194Z",
"updatedAt": "2020-10-01T15:56:38.671Z",
"devdoc": {
"details": "Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. * This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.",
"methods": {
Expand Down
2 changes: 1 addition & 1 deletion artifacts/SafeMath.json
Original file line number Diff line number Diff line change
Expand Up @@ -4882,7 +4882,7 @@
},
"networks": {},
"schemaVersion": "3.2.4",
"updatedAt": "2020-10-01T15:18:05.193Z",
"updatedAt": "2020-10-01T15:56:38.670Z",
"devdoc": {
"details": "Wrappers over Solidity's arithmetic operations with added overflow checks. * Arithmetic operations in Solidity wrap on overflow. This can easily result in bugs, because programmers usually assume that an overflow raises an error, which is the standard behavior in high level programming languages. `SafeMath` restores this intuition by reverting the transaction when an operation overflows. * Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.",
"methods": {}
Expand Down
1 change: 1 addition & 0 deletions artifacts/address.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ganache":{"DTFactory":"0x25A232Fa6eBbd9E1F833ADF036c4472565298A8E","BFactory":"0xCE79A7F7666a359dc679c21FD1514108c1300624","FixedRateExchange":"0xB675f4d7D1Bf01D63CA58CA9D616c797178946f0","Metadata":"0x4B38ab101c106C057Aa0335553830D313f6c8AA8"}}
37 changes: 37 additions & 0 deletions docs/deployments/rinkeby.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,43 @@
# Deployments

## Rinkeby
### V0.5.2

The contracts addresses for the latest deployment:

Find [here](https://github.com/oceanprotocol/atlantic/blob/master/logs/Rinkeby-datatokens-deployment-01102020.txt) more deployment details

```bash
Deploying 'OPFCommunityFeeCollector'
-----------------------------
> contract address: 0xF1c56b31900F5FcFEb7D365f0fd244f89595b153

Deploying 'DataTokenTemplate'
-----------------------------
> contract address: 0xBEDa0b963E57D8C05FbBf97BA7D6109675ab8705

Deploying 'DTFactory'
---------------------
> contract address: 0x25A232Fa6eBbd9E1F833ADF036c4472565298A8E

Deploying 'BPool'
-----------------
> contract address: 0x1E62868F7Cc388ceD6457203E46F3094227B8EA8

Deploying 'BFactory'
--------------------
> contract address: 0xCE79A7F7666a359dc679c21FD1514108c1300624

Deploying 'FixedRateExchange'
--------------------
> contract address: 0xB675f4d7D1Bf01D63CA58CA9D616c797178946f0

Deploying 'Metadata'
--------------------
> contract address: 0x4B38ab101c106C057Aa0335553830D313f6c8AA8

```

### V0.5.1

The contracts addresses for the latest deployment:
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oceanprotocol/contracts",
"version": "0.5.1",
"version": "0.5.2",
"description": "Ocean Protocol L1 - DataTokens",
"bugs": {
"url": "https://github.com/oceanprotocol/contracts/issues"
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.5.1
current_version = 0.5.2
commit = True
tag = True

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/oceanprotocol/ocean-contracts',
version='0.5.1',
version='0.5.2',
zip_safe=False,
)

0 comments on commit d9f14a5

Please sign in to comment.