File tree Expand file tree Collapse file tree 11 files changed +132
-15
lines changed Expand file tree Collapse file tree 11 files changed +132
-15
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,12 @@ We are seeking for great minds to extend our core team. Contribution in any area
99
99
100
100
** [ Development environment setup] ( docs/developmentEnvironment.md ) **
101
101
102
+ ## Publish NPM package
103
+
104
+ When the abiniser directory changed:
105
+ - bump the version property in the package.json
106
+ - ` npm publish --access public `
107
+
102
108
## Get in touch
103
109
104
110
Drop us an email:
[email protected]
Original file line number Diff line number Diff line change 16
16
"bytecodeHash" : " 4947ce8b998f71a612b657747a3ba83e" ,
17
17
"deployedBytecodeHash" : " 92c3e1905f3cf3fb824b4648a048905d" ,
18
18
"sourceHash" : " d6ff57acb1b45199b5dd08357978d8c2"
19
+ },
20
+ "0xef49d863bd9179da0e96fab02dd498efa149dbdc" : {
21
+ "generatedAt" : " 2019-04-04T18:31:39.082Z" ,
22
+ "truffleContractFileUpdatedAt" : " 2019-04-04T18:20:16.617Z" ,
23
+ "deployTransactionHash" : " 0xef5a953fa6e48b32f149e1c72527af9e336d13e239b9eee9ebb22e80ececc380" ,
24
+ "compiler" : {
25
+ "name" : " solc" ,
26
+ "version" : " 0.4.24+commit.e67f0147.Emscripten.clang"
27
+ },
28
+ "bytecodeHash" : " 4947ce8b998f71a612b657747a3ba83e" ,
29
+ "deployedBytecodeHash" : " 92c3e1905f3cf3fb824b4648a048905d" ,
30
+ "sourceHash" : " d6ff57acb1b45199b5dd08357978d8c2"
19
31
}
20
32
}
21
33
}
Original file line number Diff line number Diff line change 16
16
"bytecodeHash" : " 4f80cc451be48e4d62a17dbc3895a91d" ,
17
17
"deployedBytecodeHash" : " bc0eea72e35030fc44549a2a0064bf73" ,
18
18
"sourceHash" : " 234fd5848af85ca2444c888fd6ba61aa"
19
+ },
20
+ "0xf7b8384c392fc333d3858a506c4f1506af44d53c" : {
21
+ "generatedAt" : " 2019-04-04T18:31:39.018Z" ,
22
+ "truffleContractFileUpdatedAt" : " 2019-04-04T18:20:16.642Z" ,
23
+ "deployTransactionHash" : " 0x23d5906de7ecfe9595bb8cfd7080a0e06eccee34ef92f017a3b4b657855e3619" ,
24
+ "compiler" : {
25
+ "name" : " solc" ,
26
+ "version" : " 0.4.24+commit.e67f0147.Emscripten.clang"
27
+ },
28
+ "bytecodeHash" : " 4f80cc451be48e4d62a17dbc3895a91d" ,
29
+ "deployedBytecodeHash" : " bc0eea72e35030fc44549a2a0064bf73" ,
30
+ "sourceHash" : " 234fd5848af85ca2444c888fd6ba61aa"
19
31
}
20
32
}
21
33
}
Original file line number Diff line number Diff line change 16
16
"bytecodeHash" : " 0e7939b3e41166c23c6ec93d178ecbc4" ,
17
17
"deployedBytecodeHash" : " 2af90203e1dd333de5a21f16c893b946" ,
18
18
"sourceHash" : " 5fb19771489eecebfa02e95214887146"
19
+ },
20
+ "0x9f5420ec1348df8de8c85dab8d240ace122204c5" : {
21
+ "generatedAt" : " 2019-04-04T18:31:39.059Z" ,
22
+ "truffleContractFileUpdatedAt" : " 2019-04-04T18:20:16.577Z" ,
23
+ "deployTransactionHash" : " 0x02cb10db8450be080391e0f077c8f42290d562226618b4fe13d1d7850de7e39a" ,
24
+ "compiler" : {
25
+ "name" : " solc" ,
26
+ "version" : " 0.4.24+commit.e67f0147.Emscripten.clang"
27
+ },
28
+ "bytecodeHash" : " 0e7939b3e41166c23c6ec93d178ecbc4" ,
29
+ "deployedBytecodeHash" : " 2af90203e1dd333de5a21f16c893b946" ,
30
+ "sourceHash" : " 5fb19771489eecebfa02e95214887146"
19
31
}
20
32
}
21
33
}
Original file line number Diff line number Diff line change 16
16
"bytecodeHash" : " ed40773118be68131fcf5abcf36d21c7" ,
17
17
"deployedBytecodeHash" : " 604fd8ddaf6012bd2f2f2e5b8ebf76c8" ,
18
18
"sourceHash" : " 04025a37ea64acbc6f0ea2ec8a6f3e4d"
19
+ },
20
+ "0x5d77f09a3703be84d84810379067a6d9ad759582" : {
21
+ "generatedAt" : " 2019-04-04T18:31:38.849Z" ,
22
+ "truffleContractFileUpdatedAt" : " 2019-04-04T18:20:16.536Z" ,
23
+ "deployTransactionHash" : " 0x1e7c77e5115c7491aa497564b678448f7811e5a0622aecff0bdac50bcf499962" ,
24
+ "compiler" : {
25
+ "name" : " solc" ,
26
+ "version" : " 0.4.24+commit.e67f0147.Emscripten.clang"
27
+ },
28
+ "bytecodeHash" : " ed40773118be68131fcf5abcf36d21c7" ,
29
+ "deployedBytecodeHash" : " 604fd8ddaf6012bd2f2f2e5b8ebf76c8" ,
30
+ "sourceHash" : " 04025a37ea64acbc6f0ea2ec8a6f3e4d"
19
31
}
20
32
}
21
33
}
Original file line number Diff line number Diff line change
1
+ /* Disable the one year lock and loan products */
2
+
3
+ pragma solidity 0.4.24 ;
4
+
5
+ import "../../StabilityBoardProxy.sol " ;
6
+ import "../../LoanManager.sol " ;
7
+ import "../../Locker.sol " ;
8
+
9
+ contract Main0024_disableOneYearProducts {
10
+
11
+ StabilityBoardProxy public constant STABILITY_BOARD_PROXY = StabilityBoardProxy (0xde36a8773531406dCBefFdfd3C7b89fCed7A9F84 );
12
+ LoanManager public constant LOAN_MANAGER = LoanManager (0x1cABc34618ecf2949F0405A86353e7705E01C38b );
13
+ Locker public constant LOCKER = Locker (0x5Cc161482E82f20840A4AAEB582beCBCC4b539D7 );
14
+
15
+ function execute (Main0024_disableOneYearProducts /* self, not used */ ) external {
16
+ // called via StabilityBoardProxy
17
+ require (address (this ) == address (STABILITY_BOARD_PROXY), "only execute via StabilityBoardProxy " );
18
+
19
+ LOAN_MANAGER.setLoanProductActiveState (0 , false );
20
+ LOCKER.setLockProductActiveState (0 , false );
21
+ }
22
+ }
Original file line number Diff line number Diff line change
1
+ /* Re-enable extra short-term test loan & lock products on rinkeby testnetwork */
2
+
3
+ pragma solidity 0.4.24 ;
4
+
5
+ import "../../StabilityBoardProxy.sol " ;
6
+ import "../../LoanManager.sol " ;
7
+ import "../../Locker.sol " ;
8
+
9
+ contract Rinkeby_0008_reviveTestProducts {
10
+
11
+ StabilityBoardProxy public constant STABILITY_BOARD_PROXY = StabilityBoardProxy (0xa612de13B629a1FF790c1f4E41d0422d2bB50a30 );
12
+
13
+ LoanManager public constant LOAN_MANAGER = LoanManager (0x3792c5a5077DacfE331B81837ef73bC0Ea721d90 );
14
+ Locker public constant LOCKER = Locker (0xc0B97fE5CAD0d43D0c974C4E9A00312dc661f8Ab );
15
+
16
+ function execute (Rinkeby_0008_reviveTestProducts /* self, not used */ ) external {
17
+ // called via StabilityBoardProxy
18
+ require (address (this ) == address (STABILITY_BOARD_PROXY), "only execute via StabilityBoardProxy " );
19
+
20
+ LOCKER.setLockProductActiveState (6 , true );
21
+ LOCKER.setLockProductActiveState (7 , true );
22
+
23
+ LOAN_MANAGER.setLoanProductActiveState (6 , true );
24
+ LOAN_MANAGER.setLoanProductActiveState (7 , true );
25
+ }
26
+ }
Original file line number Diff line number Diff line change
1
+ const Main0024_disableOneYearProducts = artifacts . require ( "./Main0024_disableOneYearProducts.sol" ) ;
2
+
3
+ module . exports = function ( deployer ) {
4
+ deployer . then ( async ( ) => {
5
+ await deployer . deploy ( Main0024_disableOneYearProducts ) ;
6
+ } ) ;
7
+ } ;
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " augmint- contracts" ,
3
- "version" : " 1.0.9 " ,
4
- "description" : " Augmint Stable Tokens - Solidity contracts " ,
2
+ "name" : " @ augmint/ contracts" ,
3
+ "version" : " 1.0.10 " ,
4
+ "description" : " Augmint Stable Tokens - Solidity contract's abi and deployment descriptors " ,
5
5
"author" : " “Augmint”" ,
6
6
"homepage" : " https://github.com/Augmint/augmint-contracts#readme" ,
7
7
"license" : " AGPL-3.0-only" ,
51
51
"babel-register" : " 6.26.0" ,
52
52
"bignumber.js" : " 5.0.0" ,
53
53
"coveralls" : " 3.0.3" ,
54
- "dotenv" : " 7 .0.0" ,
54
+ "dotenv" : " 8 .0.0" ,
55
55
"eslint" : " 5.16.0" ,
56
56
"ganache-cli" : " 6.4.3" ,
57
57
"moment" : " 2.22.2" ,
58
58
"random-seed" : " 0.3.0" ,
59
59
"solidity-coverage" : " 0.5.11" ,
60
60
"stringifier" : " 2.0.0" ,
61
61
"truffle" : " 4.1.14" ,
62
- "truffle-hdwallet-provider" : " 1.0.7 " ,
62
+ "truffle-hdwallet-provider" : " 1.0.8 " ,
63
63
"wait-on" : " 3.2.0" ,
64
64
65
65
},
66
66
"greenkeeper" : {
67
67
"ignore" : [
68
68
" bignumber.js"
69
69
]
70
- }
71
- }
70
+ },
71
+ "files" : [" abiniser" ]
72
+ }
Original file line number Diff line number Diff line change
1
+ const Rinkeby_0008_reviveTestProducts = artifacts . require ( "./Rinkeby_0008_reviveTestProducts.sol" ) ;
2
+
3
+ module . exports = function ( deployer ) {
4
+ deployer . then ( async ( ) => {
5
+ await deployer . deploy ( Rinkeby_0008_reviveTestProducts ) ;
6
+ } ) ;
7
+ } ;
Original file line number Diff line number Diff line change @@ -968,10 +968,10 @@ dom-walk@^0.1.0:
968
968
resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018"
969
969
integrity sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=
970
970
971
- dotenv@7 .0.0 :
972
- version "7 .0.0"
973
- resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-7 .0.0.tgz#a2be3cd52736673206e8a85fb5210eea29628e7c "
974
- integrity sha512-M3NhsLbV1i6HuGzBUH8vXrtxOk+tWmzWKDMbAVSUp3Zsjm7ywFeuwrUXhmhQyRK1q5B5GGy7hcXPbj3bnfZg2g ==
971
+ dotenv@8 .0.0 :
972
+ version "8 .0.0"
973
+ resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-8 .0.0.tgz#ed310c165b4e8a97bb745b0a9d99c31bda566440 "
974
+ integrity sha512-30xVGqjLjiUOArT4+M5q9sYdvuR4riM6yK9wMcas9Vbp6zZa+ocC9dp6QoftuhTPhFAiLK/0C5Ni2nou/Bk8lg ==
975
975
976
976
duplexer3@^0.1.4 :
977
977
version "0.1.4"
@@ -3672,10 +3672,10 @@ trim-right@^1.0.1:
3672
3672
resolved "https://registry.yarnpkg.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
3673
3673
integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=
3674
3674
3675
-
3676
- version "1.0.7 "
3677
- resolved "https://registry.yarnpkg.com/truffle-hdwallet-provider/-/truffle-hdwallet-provider-1.0.7 .tgz#e3368dc4141692e402ff1bb1e99790dcb1ad5bca "
3678
- integrity sha512-+UK4FEU38b3/vKdno8ieV9Lj+2e4hOXM7sjgiJrsqeAFp2VUhlA3Ypp8MIlKHM2Wbs2Vo8YFi0WhUtq1BhVilg ==
3675
+
3676
+ version "1.0.8 "
3677
+ resolved "https://registry.yarnpkg.com/truffle-hdwallet-provider/-/truffle-hdwallet-provider-1.0.8 .tgz#76ab28e08b4c84dc8b3c98c9c2b4bba9c9d834e0 "
3678
+ integrity sha512-kG/WSEvwWSRuFbyEnoNgGQtKrKJMr/MwKoZfiPeT6L6d2gS2QnH2xbJbWxV+LtENjERSodjI9bbO/TN73CXWSQ ==
3679
3679
dependencies :
3680
3680
any-promise "^1.3.0"
3681
3681
bindings "^1.3.1"
You can’t perform that action at this time.
0 commit comments