Skip to content

Commit 43a87c1

Browse files
Merge pull request #138 from abhayks1/openstfoundation-update
Update OpenSTFoundation to OpenST
2 parents a9bb411 + 95f13e3 commit 43a87c1

11 files changed

Lines changed: 53 additions & 53 deletions

File tree

CHANGELOG.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,30 @@
22

33
## Version 0.10.0
44

5-
* ABIs and BINs are now accessed as a dependency on openst-contracts ([137](https://github.com/OpenSTFoundation/openst.js/pull/137))
6-
* Update PricerRule ABI/BIN with PricerRule:convertPayCurrencyToToken fix ([126](https://github.com/OpenSTFoundation/openst.js/pull/126))
7-
* Recovery contract interaction fixes ([#116](https://github.com/OpenSTFoundation/openst.js/pull/116))
8-
* PricerRule integration test and cleanup ([#114](https://github.com/OpenSTFoundation/openst.js/pull/114))
9-
* ProxyFactory address refactoring from createCompanyWallet method ([#113](https://github.com/OpenSTFoundation/openst.js/pull/113)
10-
* Integration with mosaic.js npm ([#109](https://github.com/OpenSTFoundation/openst.js/pull/109))
11-
* Docker Geth Integration: Using docker geth ([#108](https://github.com/OpenSTFoundation/openst.js/pull/108))
12-
* Delayed Recovery Module Setup ([#107](https://github.com/OpenSTFoundation/openst.js/pull/107))
13-
* Remove license from top of JS files ([#106](https://github.com/OpenSTFoundation/openst.js/pull/106))
14-
* MultiSig Operation: Logout all sessions ([104](https://github.com/OpenSTFoundation/openst.js/pull/104))
15-
* WalletOperations Test: Remove tokenRulesAddress while creating TokenHolder instance ([#91](https://github.com/OpenSTFoundation/openst.js/pull/91))
16-
* Remove pre commit hook from package.json which generates webpack ([#88](https://github.com/OpenSTFoundation/openst.js/pull/88))
17-
* Fix version to 0 in SignEIP1077Extension.js ([#87](https://github.com/OpenSTFoundation/openst.js/pull/87))
18-
* Wallet operations cleanup and refactoring ([#79](https://github.com/OpenSTFoundation/openst.js/pull/79))
19-
* Multisig operations : Change threshold ([#78](https://github.com/OpenSTFoundation/openst.js/pull/78))
20-
* Added multisig wallet operations ([#74](https://github.com/OpenSTFoundation/openst.js/pull/74))
21-
* Parse payCurrencyCode to bytes in PricerRule deployment ([#71](https://github.com/OpenSTFoundation/openst.js/pull/71))
22-
* User setup: Company to User Implementation ([#68](https://github.com/OpenSTFoundation/openst.js/pull/68))
23-
* Direct transfer of tokens using TokenRules contract ([#67](https://github.com/OpenSTFoundation/openst.js/pull/67))
24-
* Rule setup: Pricer rule setup and interaction ([#66](https://github.com/OpenSTFoundation/openst.js/pull/66))
25-
* Rename _createUserWallet to _createUserWalletRawTx ([#64](https://github.com/OpenSTFoundation/openst.js/pull/64))
26-
* Updated params _createUserWallet ([#61](https://github.com/OpenSTFoundation/openst.js/pull/61))
27-
* TokenRules : Rules registration framework for registration of rules getter to fetch registered rules ([#60](https://github.com/OpenSTFoundation/openst.js/pull/60))
28-
* Updated index.js to expose setup libraries ([#57](https://github.com/OpenSTFoundation/openst.js/pull/57))
29-
* User setup : Implement createUserWallet ([#55](https://github.com/OpenSTFoundation/openst.js/pull/55))
30-
* Interaction for MultiSig and TokenHolder master copy deployment ([#53](https://github.com/OpenSTFoundation/openst.js/pull/53))
31-
* Interaction for TokenRules deployment ([#51](https://github.com/OpenSTFoundation/openst.js/issues/51))
5+
* ABIs and BINs are now accessed as a dependency on openst-contracts ([137](https://github.com/openst/openst.js/pull/137))
6+
* Update PricerRule ABI/BIN with PricerRule:convertPayCurrencyToToken fix ([126](https://github.com/openst/openst.js/pull/126))
7+
* Recovery contract interaction fixes ([#116](https://github.com/openst/openst.js/pull/116))
8+
* PricerRule integration test and cleanup ([#114](https://github.com/openst/openst.js/pull/114))
9+
* ProxyFactory address refactoring from createCompanyWallet method ([#113](https://github.com/openst/openst.js/pull/113)
10+
* Integration with mosaic.js npm ([#109](https://github.com/openst/openst.js/pull/109))
11+
* Docker Geth Integration: Using docker geth ([#108](https://github.com/openst/openst.js/pull/108))
12+
* Delayed Recovery Module Setup ([#107](https://github.com/openst/openst.js/pull/107))
13+
* Remove license from top of JS files ([#106](https://github.com/openst/openst.js/pull/106))
14+
* MultiSig Operation: Logout all sessions ([104](https://github.com/openst/openst.js/pull/104))
15+
* WalletOperations Test: Remove tokenRulesAddress while creating TokenHolder instance ([#91](https://github.com/openst/openst.js/pull/91))
16+
* Remove pre commit hook from package.json which generates webpack ([#88](https://github.com/openst/openst.js/pull/88))
17+
* Fix version to 0 in SignEIP1077Extension.js ([#87](https://github.com/openst/openst.js/pull/87))
18+
* Wallet operations cleanup and refactoring ([#79](https://github.com/openst/openst.js/pull/79))
19+
* Multisig operations : Change threshold ([#78](https://github.com/openst/openst.js/pull/78))
20+
* Added multisig wallet operations ([#74](https://github.com/openst/openst.js/pull/74))
21+
* Parse payCurrencyCode to bytes in PricerRule deployment ([#71](https://github.com/openst/openst.js/pull/71))
22+
* User setup: Company to User Implementation ([#68](https://github.com/openst/openst.js/pull/68))
23+
* Direct transfer of tokens using TokenRules contract ([#67](https://github.com/openst/openst.js/pull/67))
24+
* Rule setup: Pricer rule setup and interaction ([#66](https://github.com/openst/openst.js/pull/66))
25+
* Rename _createUserWallet to _createUserWalletRawTx ([#64](https://github.com/openst/openst.js/pull/64))
26+
* Updated params _createUserWallet ([#61](https://github.com/openst/openst.js/pull/61))
27+
* TokenRules : Rules registration framework for registration of rules getter to fetch registered rules ([#60](https://github.com/openst/openst.js/pull/60))
28+
* Updated index.js to expose setup libraries ([#57](https://github.com/openst/openst.js/pull/57))
29+
* User setup : Implement createUserWallet ([#55](https://github.com/openst/openst.js/pull/55))
30+
* Interaction for MultiSig and TokenHolder master copy deployment ([#53](https://github.com/openst/openst.js/pull/53))
31+
* Interaction for TokenRules deployment ([#51](https://github.com/openst/openst.js/issues/51))

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ OpenST.js
22
============
33

44
OpenST is a framework for building token economies. OpenST supports interactions with openst-contracts.
5-
It requires [openst-contracts](https://github.com/OpenSTFoundation/openst-contracts) for ABIs and BINs of contracts.
5+
It requires [openst-contracts](https://github.com/openst/openst-contracts) for ABIs and BINs of contracts.
66

7-
![Build master](https://img.shields.io/travis/OpenSTFoundation/openst.js/master.svg?label=build%20master&style=flat)
8-
![Build develop](https://img.shields.io/travis/OpenSTFoundation/openst.js/develop.svg?label=build%20develop&style=flat)
9-
![npm version](https://img.shields.io/npm/v/@openstfoundation/openst.js.svg?style=flat)
7+
![Build master](https://img.shields.io/travis/openst/openst.js/master.svg?label=build%20master&style=flat)
8+
![Build develop](https://img.shields.io/travis/openst/openst.js/develop.svg?label=build%20develop&style=flat)
9+
![npm version](https://img.shields.io/npm/v/@openst/openst.js.svg?style=flat)
1010
![Discuss on Discourse](https://img.shields.io/discourse/https/discuss.openst.org/topics.svg?style=flat)
11-
![Chat on Gitter](https://img.shields.io/gitter/room/OpenSTFoundation/SimpleToken.svg?style=flat)
11+
![Chat on Gitter](https://img.shields.io/gitter/room/openst/SimpleToken.svg?style=flat)
1212

1313
## Setup
1414
This library assumes that nodejs and geth are installed and running. To install OpenST.js in your project using npm:
1515

1616
```bash
17-
$ npm install @openstfoundation/openst.js --save
17+
$ npm install @openst/openst.js --save
1818
```
1919

2020
The code works for Ethereum Byzantium and Petersburg.
@@ -23,7 +23,7 @@ The code works for Ethereum Byzantium and Petersburg.
2323

2424
```js
2525
// Creating OpenST.js object
26-
const OpenST = require('@openstfoundation/openst.js');
26+
const OpenST = require('@openst/openst.js');
2727

2828
```
2929

@@ -359,7 +359,7 @@ tokenHolder.executeRule(tokenRulesAddress, directTransferCallData, nonce, vrs.r,
359359

360360
## Setup of PriceOracle
361361

362-
Make sure PriceOracle contract is already deployed. Refer [PriceOracle](https://github.com/OpenSTFoundation/ost-price-oracle) npm for setup of PriceOracle contract.
362+
Make sure PriceOracle contract is already deployed. Refer [PriceOracle](https://github.com/openst/ost-price-oracle) npm for setup of PriceOracle contract.
363363

364364
## Payment through PricerRule contract
365365

@@ -467,13 +467,13 @@ openst.js comes with an abi-bin provider for managing abi(s) and bin(s).
467467

468468
The abiBinProvider provides abi(s) and bin(s) for the following contracts:
469469

470-
* [TokenHolder](https://github.com/OpenSTFoundation/openst-contracts/blob/0.10.0-alpha.1/contracts/token/TokenHolder.sol) (TokenHolder contract deployed on UtilityChain)
471-
* [TokenRules](https://github.com/OpenSTFoundation/openst-contracts/blob/0.10.0-alpha.1/contracts/token/TokenRules.sol) (TokenRules contract deployed on UtilityChain)
472-
* [PricerRule](https://github.com/OpenSTFoundation/openst-contracts/blob/0.10.0-alpha.1/contracts/rules/PricerRule.sol) (PricerRule is a rule contract deployed on UtilityChain)
470+
* [TokenHolder](https://github.com/openst/openst-contracts/blob/0.10.0-alpha.1/contracts/token/TokenHolder.sol) (TokenHolder contract deployed on UtilityChain)
471+
* [TokenRules](https://github.com/openst/openst-contracts/blob/0.10.0-alpha.1/contracts/token/TokenRules.sol) (TokenRules contract deployed on UtilityChain)
472+
* [PricerRule](https://github.com/openst/openst-contracts/blob/0.10.0-alpha.1/contracts/rules/PricerRule.sol) (PricerRule is a rule contract deployed on UtilityChain)
473473
* [GnosisSafe](https://github.com/gnosis/safe-contracts/blob/v0.1.0/contracts/GnosisSafe.sol) (MultiSignature wallet with support for confirmations using signed messages)
474-
* [DelayedRecoveryModule](https://github.com/OpenSTFoundation/openst-contracts/blob/0.10.0-alpha.1/contracts/gnosis_safe_modules/DelayedRecoveryModule.sol) (Allows to replace an owner without Safe confirmations)
474+
* [DelayedRecoveryModule](https://github.com/openst/openst-contracts/blob/0.10.0-alpha.1/contracts/gnosis_safe_modules/DelayedRecoveryModule.sol) (Allows to replace an owner without Safe confirmations)
475475
* [CreateAndAddModules](https://github.com/gnosis/safe-contracts/blob/v0.1.0/contracts/libraries/CreateAndAddModules.sol) (Allows to create and add multiple module in one transaction)
476-
* [UserWalletFactory](https://github.com/OpenSTFoundation/openst-contracts/blob/0.10.0-alpha.1/contracts/proxies/UserWalletFactory.sol) (Creates proxy for GnosisSafe, TokenHolder and DelayedRecoveryModule)
476+
* [UserWalletFactory](https://github.com/openst/openst-contracts/blob/0.10.0-alpha.1/contracts/proxies/UserWalletFactory.sol) (Creates proxy for GnosisSafe, TokenHolder and DelayedRecoveryModule)
477477

478478
```js
479479

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const ProxyFactory = require('./lib/ContractInteract/ProxyFactory');
2020
const CreateAndAddModules = require('./lib/ContractInteract/CreateAndAddModules');
2121
const TokenRules = require('./lib/ContractInteract/TokenRules');
2222
const PricerRule = require('./lib/ContractInteract/PricerRule');
23-
const Mosaic = require('@openstfoundation/mosaic.js');
23+
const Mosaic = require('@openst/mosaic.js');
2424

2525
// OpenST Setup
2626
const SetupOpenst = require('./lib/Setup');

lib/AbiBinProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class AbiBinProvider {
116116
}
117117

118118
/**
119-
* Returns the a linked bin for a contract.
119+
* Returns a linked bin for a contract.
120120
*
121121
* @param {string} contractName Name of the contract to be linked.
122122
* @param {...Library} libs The libraries to be linked to the bin.

lib/ContractInteract/GnosisSafe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const Web3 = require('web3');
4-
const Mosaic = require('@openstfoundation/mosaic.js');
4+
const Mosaic = require('@openst/mosaic.js');
55
const AbiBinProvider = require('./../AbiBinProvider');
66
const Contracts = require('../Contracts');
77

lib/ContractInteract/Recovery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const Web3 = require('web3');
4-
const Mosaic = require('@openstfoundation/mosaic.js');
4+
const Mosaic = require('@openst/mosaic.js');
55
const AbiBinProvider = require('./../AbiBinProvider');
66
const Contracts = require('../Contracts');
77

lib/Contracts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const Web3 = require('web3');
44
const AbiBinProvider = require('./AbiBinProvider');
5-
const { Contracts } = require('@openstfoundation/mosaic.js');
5+
const { Contracts } = require('@openst/mosaic.js');
66

77
const abiBinProvider = new AbiBinProvider();
88

lib/helper/GnosisSafe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const AbiBinProvider = require('./../AbiBinProvider');
4-
const Mosaic = require('@openstfoundation/mosaic.js'),
4+
const Mosaic = require('@openst/mosaic.js'),
55
TypedDataClass = Mosaic.Utils.EIP712TypedData;
66

77
const Utils = require('../../utils/Utils');

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "@openstfoundation/openst.js",
3-
"version": "0.10.0-alpha.5",
2+
"name": "@openst/openst.js",
3+
"version": "0.10.0-beta.1",
44
"description": "OpenST is a framework for building token economies.",
55
"main": "index.js",
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/OpenSTFoundation/openst.js.git"
8+
"url": "https://github.com/openst/openst.js.git"
99
},
1010
"keywords": [
1111
"OpenST",
@@ -20,7 +20,7 @@
2020
"author": "OpenST Limited.",
2121
"license": "LGPL-3.0-only",
2222
"bugs": {
23-
"url": "https://github.com/OpenSTFoundation/openst.js/issues"
23+
"url": "https://github.com/openst/openst.js/issues"
2424
},
2525
"scripts": {
2626
"test": "mocha --recursive --timeout 120000 test/unit --exit",
@@ -29,7 +29,7 @@
2929
},
3030
"dependencies": {
3131
"@openst/openst-contracts": "0.10.0-rc.1",
32-
"@openstfoundation/mosaic.js": "0.10.0-beta.4"
32+
"@openst/mosaic.js": "0.10.0-beta.5"
3333
},
3434
"devDependencies": {
3535
"@babel/core": "7.1.0",

test/integration/DelayedRecovery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const { dockerSetup, dockerTeardown } = require('./../../utils/docker');
2222

2323
const config = require('../utils/configReader');
2424

25-
const Mosaic = require('@openstfoundation/mosaic.js');
25+
const Mosaic = require('@openst/mosaic.js');
2626
const ConfigReader = require('../utils/configReader');
2727
const UserSetup = require('../../lib/setup/User.js');
2828
const User = require('../../lib/User.js');

0 commit comments

Comments
 (0)