Skip to content

Commit 5a08efa

Browse files
authored
Merge pull request #16 from danmuf/htc-api-wrapper
Create API wrapper for truffle contract
2 parents 0c12a9a + ee2e7e2 commit 5a08efa

19 files changed

+3047
-164
lines changed

.eslintrc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
2020
},
2121
"rules": {
2222
"no-console": "off",
23-
"no-unused-vars": ["warn"],
24-
"semi": ["error", "never"]
23+
"no-unused-vars": [
24+
"warn"
25+
],
26+
"semi": [
27+
"error",
28+
"never"
29+
]
2530
}
2631
}

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ node_js:
66
cache:
77
directories:
88
- node_modules
9-
script:
109
script:
1110
- npm run ganache-start > /dev/null &
1211
- sleep 5

migrations/1_initial_migration.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
var Migrations = artifacts.require("./Migrations.sol");
1+
var Migrations = artifacts.require("./Migrations.sol")
22

3-
module.exports = function(deployer) {
4-
deployer.deploy(Migrations);
5-
};
3+
module.exports = function (deployer) {
4+
deployer.deploy(Migrations)
5+
}

migrations/2_deploy_contracts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const HashedTimelock = artifacts.require('./HashedTimelock.sol')
22
const HashedTimelockERC20 = artifacts.require('./HashedTimelockERC20.sol')
33
const HashedTimelockERC721 = artifacts.require('./HashedTimelockERC721.sol')
44

5-
module.exports = function(deployer) {
5+
module.exports = function (deployer) {
66
deployer.deploy(HashedTimelock)
77
deployer.deploy(HashedTimelockERC20)
88
deployer.deploy(HashedTimelockERC721)

0 commit comments

Comments
 (0)