Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create API wrapper for truffle contract #16

Merged
merged 8 commits into from
Dec 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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