Skip to content

Commit

Permalink
Merge pull request #16 from danmuf/htc-api-wrapper
Browse files Browse the repository at this point in the history
Create API wrapper for truffle contract
  • Loading branch information
chatch authored Dec 29, 2019
2 parents 0c12a9a + ee2e7e2 commit 5a08efa
Show file tree
Hide file tree
Showing 19 changed files with 3,047 additions and 164 deletions.
9 changes: 7 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@
},
"rules": {
"no-console": "off",
"no-unused-vars": ["warn"],
"semi": ["error", "never"]
"no-unused-vars": [
"warn"
],
"semi": [
"error",
"never"
]
}
}
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ node_js:
cache:
directories:
- node_modules
script:
script:
- npm run ganache-start > /dev/null &
- sleep 5
Expand Down
8 changes: 4 additions & 4 deletions migrations/1_initial_migration.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var Migrations = artifacts.require("./Migrations.sol");
var Migrations = artifacts.require("./Migrations.sol")

module.exports = function(deployer) {
deployer.deploy(Migrations);
};
module.exports = function (deployer) {
deployer.deploy(Migrations)
}
2 changes: 1 addition & 1 deletion migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const HashedTimelock = artifacts.require('./HashedTimelock.sol')
const HashedTimelockERC20 = artifacts.require('./HashedTimelockERC20.sol')
const HashedTimelockERC721 = artifacts.require('./HashedTimelockERC721.sol')

module.exports = function(deployer) {
module.exports = function (deployer) {
deployer.deploy(HashedTimelock)
deployer.deploy(HashedTimelockERC20)
deployer.deploy(HashedTimelockERC721)
Expand Down
Loading

0 comments on commit 5a08efa

Please sign in to comment.