{"_id":"@1hive/apps-delay","_rev":"11-63947068b91b88a829455ce3531f8ae5","name":"@1hive/apps-delay","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@1hive/apps-delay","version":"1.0.0","main":"index.js","scripts":{"start":"npm run start:template","start:http":"aragon run --http localhost:8001 --http-served-from ./dist","start:template":"aragon run --template Template --template-init @ARAGON_ENS --files dist","start:http:template":"npm run start:http -- --template Template --template-init @ARAGON_ENS","prepare":"cd app && npm install && cd ..","start:app":"cd app && npm start && cd ..","test":"cross-env TRUFFLE_TEST=true npm run ganache-cli:test","compile":"aragon contracts compile","clean":"rm -rf build && rm -rf dist","build":"cd app && npm run build && cd ..","publish:patch":"aragon apm publish patch","publish:minor":"aragon apm publish minor","publish:major":"aragon apm publish major","deploy:staging":"npm run publish:major -- --environment staging","versions":"aragon apm versions","lint":"eslint . & solium --dir ./contracts","lint:fix":"eslint . --fix & solium --dir ./contracts --fix","coverage":"cross-env SOLIDITY_COVERAGE=true npm run ganache-cli:test","coveralls":"cat ./coverage/lcov.info | npx coveralls","ganache-cli:test":"sh ./node_modules/@aragon/test-helpers/ganache-cli.sh"},"keywords":[],"description":"[![CircleCI](https://circleci.com/gh/1Hive/delay-app.svg?style=svg)](https://circleci.com/gh/1Hive/delay-app) [![Coverage Status](https://coveralls.io/repos/github/1Hive/delay-app/badge.svg?branch=master&service=github)](https://coveralls.io/github/1Hive/","dependencies":{"@aragon/os":"^4.2.1","@aragon/apps-shared-minime":"^1.0.1","@aragon/apps-token-manager":"2.1.0","@aragon/apps-voting":"2.1.0"},"devDependencies":{"@aragon/cli":"^6.3.1","@aragon/test-helpers":"^2.0.0","@babel/core":"^7.4.4","@babel/polyfill":"^7.4.4","@babel/preset-env":"^7.5.4","@babel/register":"^7.0.0","babel-eslint":"^10.0.1","cross-env":"^5.2.0","eslint":"^6.0.1","eslint-config-prettier":"^6.0.0","eslint-config-standard":"^13.0.1","eslint-config-standard-react":"^8.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-node":"^9.1.0","eslint-plugin-prettier":"^3.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.14.2","eslint-plugin-standard":"^4.0.0","ethlint":"^1.2.4","ganache-cli":"^6.7.0","prettier":"^1.18.2","solidity-coverage":"^0.6.2","truffle":"^5.0.1"},"gitHead":"258672fc6d513e1a0d453fbaf86e81391f884023","_id":"@1hive/apps-delay@1.0.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-V/9Qq5WdwkbsbyE93XAsCCOSAlvWviRWzMrtI2RuBS/iiNqbdVYg9IXoi1TdmaEXHLynWqX3KOg+2pW0/VNR9w==","shasum":"21f192c8f7c24132b2a7357abb304546580e2784","tarball":"https://registry.npmjs.org/@1hive/apps-delay/-/apps-delay-1.0.0.tgz","fileCount":76,"unpackedSize":17723897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdmQoCCRA9TVsSAnZWagAAs3kP/jdSn160FMBQtZZyN3yV\n4A8zXReS5yxoEgnH6DPJ/OIydsOxtU19j9muk64J6c3DNuxKu6balMJwpD+x\nlReS4Bh6vlu5wWBo/G2vA3d/spzxW+RioS+M0dszkOnjM9NcEHqAHfUd68CQ\nqGu67VIQS6MFx2PSRQ2vNgzYvtnHjvNqBk1iAjvOGzDrUUE+QXe0NlHNECbT\nHS5x2hlVAU6oOcDBzt9MWzGwll6qL+C+TWbUo8664zdv/DTYG7zzDMzapmcT\nFN6tJXn2Qmg22r8GB4fr6y0BizYyBznexgPJTNPOI0gkKQphTPHZMcQCWlYD\n6HC5z5txmbxMWNBqo3JpTaJr4AkpORhn3j6cZOsBovEFJQqZciPSOTy/vDO5\nZdncpPVapQgk6rGV4+EJiD7AKqM502TsXbq6T1ToZtgOa18UDI6SqxbUGseJ\nJut0gMp7+iCUuN60wYgZwFML2ME06IJ7igPkexPCGM5KmidAFx0bRqNf2/Eh\nzzux1nD+om2cPlmxkY+QRIXPY0Vrdse+bUVpY7m9XYluZ0PaJUPk2sV0XNqs\nCSnx61UKgk/gpMKQGEPNt5soeUvD2ItgvAZW9mDfued3UCQn0GtuUe6O/N7t\nAcBQjtdwKkkwzFiKOwZP/478rNIf57RrPEnj+v7bZO2D6Le7rJJ1ly+slVrH\nAAAU\r\n=jvqT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVTAr9mmOkMsI28bJtPNA0jGC7zlVw1zULTXDDDIo0aAiEAqcErzksxnTdL8malpfnODtt/AWPfqvqgV1bC4Nu4SKg="}]},"maintainers":[{"name":"fabriv","email":"fabriziovigevani@gmail.com"},{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmUser":{"name":"gabrielg","email":"gabrielpk.18@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apps-delay_1.0.0_1570310658218_0.4209651481096697"},"_hasShrinkwrap":false},"1.1.0":{"name":"@1hive/apps-delay","version":"1.1.0","description":"[![CircleCI](https://circleci.com/gh/1Hive/delay-app.svg?style=svg)](https://circleci.com/gh/1Hive/delay-app) [![Coverage Status](https://coveralls.io/repos/github/1Hive/delay-app/badge.svg?branch=master&service=github)](https://coveralls.io/github/1Hive/","dependencies":{"@aragon/os":"^4.2.1","@aragon/apps-shared-minime":"^1.0.1","@aragon/apps-token-manager":"2.1.0","@aragon/apps-voting":"2.1.0"},"devDependencies":{"@aragon/cli":"^6.3.1","@aragon/test-helpers":"^2.0.0","babel-eslint":"^10.0.1","cross-env":"^5.2.0","eslint":"^6.0.1","eslint-config-prettier":"^6.0.0","eslint-config-standard":"^13.0.1","eslint-config-standard-react":"^8.0.0","eslint-plugin-import":"^2.18.0","eslint-plugin-node":"^9.1.0","eslint-plugin-prettier":"^3.1.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-react":"^7.14.2","eslint-plugin-standard":"^4.0.0","eth-ens-namehash":"^2.0.8","ethlint":"^1.2.4","ganache-cli":"^6.7.0","prettier":"^1.18.2","solidity-coverage":"^0.6.2","truffle":"^5.0.1"},"scripts":{"start":"npm run start:template","start:http":"aragon run --http localhost:8001 --http-served-from ./dist","start:template":"aragon run --template Template --template-init @ARAGON_ENS --files dist","start:http:template":"npm run start:http -- --template Template --template-init @ARAGON_ENS","prepare":"cd app && npm install && cd ..","start:app":"cd app && npm start && cd ..","test":"cross-env TRUFFLE_TEST=true npm run ganache-cli:test","compile":"aragon contracts compile","clean":"rm -rf build && rm -rf dist","build":"cd app && npm run build && cd ..","publish:patch":"aragon apm publish patch --files dist","publish:minor":"aragon apm publish minor --files dist","publish:major":"aragon apm publish major --files dist","deploy:staging":"npm run publish:major -- --environment staging","versions":"aragon apm versions","lint":"eslint . & solium --dir ./contracts","lint:fix":"eslint . --fix & solium --dir ./contracts --fix","coverage":"cross-env SOLIDITY_COVERAGE=true npm run ganache-cli:test","coveralls":"cat ./coverage/lcov.info | npx coveralls","ganache-cli:test":"sh ./node_modules/@aragon/test-helpers/ganache-cli.sh"},"gitHead":"c8594f7860e1abcee095b9d777e66c538aae7241","_id":"@1hive/apps-delay@1.1.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-/zhY7nFlqIl7pokmji6d816oWbGsvAU69E7F8y2GwUbNuRjZnutFjQlwuqKa+c4NfpJLrFrmWIsTx3PtW2qP2w==","shasum":"d7a4385b3c53e573f02217b39571440ebfa890f5","tarball":"https://registry.npmjs.org/@1hive/apps-delay/-/apps-delay-1.1.0.tgz","fileCount":73,"unpackedSize":4189983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1vipCRA9TVsSAnZWagAAHnkP/3VZm06mRwl9IPtlTG0d\nAbmWiw6d75sR1NRxxSUS6isf8AeqjXQvJzdcrFBThN0At7pI1D7aFVUqauF+\n27sUVZrpGfgWwJ+Jpc71LknIsDGq9Ie7xbTi3dSj1tFp+TPx8A/AteAjAywn\nZO+SGHrvmp4F1Tsl5GxA2xWYwEQPfwvWOE/lFbNUOO/xPMVMlql/S2LLbgzf\nJa7n5kGL7tA7WOs1LL1xV9gIyvAEFu2y0fqoshh2uG393f7eL4U9G7KbaI0e\ndYKcEiAVsSH5e7eLSzJjNKPRjnjaLzZPvVjyty+9LHTo9xE8ORNVL0ZXPyeB\nlF85Apq63UsHyimH71+C9V8/VDq2r3aPjdQbzq7IPbtsAmEdNj4MSAUa5Zmz\nOm8RhdHVdW/6Zjng8sh9dh7w3dbvw266v+ucmiX9xwgp+Ty5dnuMXUf475xB\nwkMDSS2bkM6r9PRbZkAHwhs3wNZsX6OV6xN4+MpwZ74oP+ekurHaSUglC1P9\n6mlYUmDer55aInPeQLZhLfVIOGyd5gm/Nn+3JNf+WzzdCjNfmlVx/OzzGpeO\n3Xl1L2R3K6F9GltSMjcwrBHw7wTgaYb27mFh+Mk5HUZYQWksvp8Jjxi2M8l8\nQjljGQMm/3Ptr6mpWAQn4zOo83NAcW7LpmVGX0oz8z3j8JCXmZGwibOXbx2x\n5DUR\r\n=Gppg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCp5OPf9/zPTE1rdaWq0OR0q7a2cMhBAd6saWFcDCcoqAIgTS2jNZTCPw4cWzX4P7iiW0/MhIs4svga+bDPcnwyE5I="}]},"maintainers":[{"name":"fabriv","email":"fabriziovigevani@gmail.com"},{"name":"gabrielg","email":"gabrielpk.18@gmail.com"}],"_npmUser":{"name":"fabriv","email":"fabriziovigevani@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/apps-delay_1.1.0_1585346067508_0.5714854991055518"},"_hasShrinkwrap":false}},"time":{"created":"2019-10-05T21:24:17.968Z","1.0.0":"2019-10-05T21:24:18.387Z","modified":"2024-05-01T23:03:37.182Z","1.1.0":"2020-03-27T21:54:27.733Z"},"maintainers":[{"email":"windholyghost@gmail.com","name":"kamikazebr"},{"email":"gabrielpk.18@gmail.com","name":"gabrielg"},{"email":"fabriziovigevani@gmail.com","name":"fabriv"},{"email":"sembrestels@gmail.com","name":"starsower"},{"email":"willjgriff@gmail.com","name":"willjgriff"},{"email":"rodrigopi1989@gmail.com","name":"rperez89"}],"description":"[![CircleCI](https://circleci.com/gh/1Hive/delay-app.svg?style=svg)](https://circleci.com/gh/1Hive/delay-app) [![Coverage Status](https://coveralls.io/repos/github/1Hive/delay-app/badge.svg?branch=master&service=github)](https://coveralls.io/github/1Hive/","readme":"# delay-app <img align=\"right\" src=\"https://github.com/1Hive/website/blob/master/website/static/img/bee.png\" height=\"80px\" />\n\n[![CircleCI](https://circleci.com/gh/1Hive/delay-app.svg?style=svg)](https://circleci.com/gh/1Hive/delay-app)\n[![Coverage Status](https://coveralls.io/repos/github/1Hive/delay-app/badge.svg?branch=master&service=github)](https://coveralls.io/github/1Hive/delay-app?branch=master&service=github)\n\nThe delay app enables Aragon organizations to require a configurable delay between when an intent is sent and when it is executed.\n\n#### 🚨 Security Review Status: [Contract audited](https://diligence.consensys.net/audits/2019/12/dandelion-organizations/)\n\n## How does it work?\n\nThe Delay app keeps track of the time left until scripts can be executed, the script to execute, and the time that the script was paused at.\n\n### Initialization\n\nThe Delay app is initialized with the `_executionDelay` parameter. This defines the default length that a user will have to wait to execute a delayed script, provided it is not paused at some point during the delay.\n\n### Roles\n\nThe Delay app should implement the following roles:\n\n- `SET_DELAY_ROLE`: This allows for changing the `executionDelay` period.\n  > Note: Changing the execution delay does not affect current delays.\n- `DELAY_EXECUTION_ROLE`: Any entity with this role can delay an intent.\n- `PAUSE_EXECUTION_ROLE`: This allows for pausing a delay.\n- `RESUME_EXECUTION_ROLE`: This allows for resuming a paused delay.\n- `CANCEL_EXECUTION_ROLE`: This allows for cancelling a delay.\n\n### Interface\n\nCheck out our [user guide](./docs/user-guide.md) to go through the functionality of the app.\n\n## How to run the Delay app locally\n\nGit clone this repo.\n\n```sh\ngit clone https://github.com/1Hive/delay-app.git\n```\n\nNavigate into the `delay-app` directory.\n\n```sh\ncd delay-app\n```\n\nInstall npm dependencies.\n\n```sh\nnpm i\n```\n\nDeploy a dao with Delay app installed on your local environment.\n\n```sh\nnpm run start:template\n```\n\n## Aragon DAO Installation\n\nFor a detailed step by step guide you can see [our installation guide](./docs/installation-guide.md)\n\nTo deploy to an organization you can use the [aragonCLI](https://hack.aragon.org/docs/cli-intro.html).\n\n```sh\naragon dao install <dao-address> delay.aragonpm.eth --app-init-args <delay-execution>\n```\n\n## Contributing\n\nWe welcome community contributions!\n\nPlease check out our [open Issues](https://github.com/1Hive/delay-app/issues) to get started.\n\nIf you discover something that could potentially impact security, please notify us immediately. The quickest way to reach us is via the #dev channel in our [team Keybase chat](https://1hive.org/contribute/keybase). Just say hi and that you discovered a potential security vulnerability and we'll DM you to discuss details.\n","readmeFilename":"README.md"}