{"_id":"@aragon/court-evm","_rev":"26-11a4e8e8365e0afb783d2b330f456abb","name":"@aragon/court-evm","dist-tags":{"latest":"1.0.0-beta.3"},"versions":{"1.0.0-beta.3":{"name":"@aragon/court-evm","version":"1.0.0-beta.3","author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"GPL-3.0","_id":"@aragon/court-evm@1.0.0-beta.3","maintainers":[{"name":"novaknole","email":"giorgi.lagidze@toptal.com"},{"name":"vracine","email":"valentinracine@hotmail.com"},{"name":"npmdoramon","email":"emaildoramon@gmail.com"},{"name":"nivida","email":"sam@aragon.one"},{"name":"izqui","email":"jorge@aragon.one"},{"name":"luisivan","email":"me@luisivan.net"},{"name":"aragon-ci","email":"jorge+npmci@aragon.one"},{"name":"facuspagnuolo","email":"facundo_spagnuolo@icloud.com"}],"dist":{"shasum":"9d1cc8690d22b19366b8a78425054700c4f661ee","tarball":"https://registry.npmjs.org/@aragon/court-evm/-/court-evm-1.0.0-beta.3.tgz","fileCount":173,"integrity":"sha512-JcqmO4HoNDcJO4Ja2OprWnWBhkzT3GpgT6BFAqWF+kPtz0FisZoKEQChS06CJjy9IZi0K3iftdZy9ur8Ekt/2A==","signatures":[{"sig":"MEQCIGESgx0pP3PjvHgS8wMn6BYtE8XSziCVOy/qYmWcdvFMAiA1HpoKdO9Ozy5SMehxRXfzZr9BBHymw79v8fYHQIKOQg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2201076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh111YCRA9TVsSAnZWagAA33cP+QB3XWVMXDcCbmOIuHtL\nuhncSCcrZU9Pb65Tz66lmUP1swi+tVkWY7FdWjsQn4Duyp2HLHWmUFcHWZUG\n6rUAkSrjL/hcXMioqpwAzcc16W8VtYY2tNODMUvpzkhjxWpRZgIJycJmUZzh\nkxUV6079JF3wFijV+OoARRQYWSobqYzgDqL9JMneYwXyQd8+CCt8wPoDJY90\nq/1wUK17OU4N8RKLyoVtdUFi8iwIKYKUBiI/ruAYzixo4bfJT/u4WdJhjiVg\nJfAfDVQ1BhXgbbrndsG4VSDRg1/etpXhpp0fgpOpv0bjJiw4JC6yRuagGfG5\nXOh1Oz9Cw3ZEYjSHC1rlgLjGFQ7YTaFDzW2o5DX+CXhcFkUScDBrPsJkD849\npDEYmO8j3b7zlMen9cb1wCNPJMqHQbA5GhnXu9bpzSd6K4QcIoC/MqYcG88y\nMugoiDV0i8rEf4d0mS3aHv3lk7Bsgp7p3ULk6MTd7bv6tJhRUtpSZSVz2bGv\nVmDs3li2TBC5MWWRt1NWhnGJ0XdXDJ8jW6OsgSNlKvMdPvdOOMtpVGei8cLb\nAQOi+2PuriVhQs0xBo8d9Rti2xM2+3FXoGJ4IV2FyrZ/wXZk5A0vKHct4bBI\np7XE5sA6GOumZLnw8Yhczy4Q3034MRlLBo6HaMHh83Q17qIRCUnPOHbWljMv\nDgsu\r\n=96AF\r\n-----END PGP SIGNATURE-----\r\n"},"scripts":{"lint":"yarn lint:solidity && yarn lint:js","test":"buidler test","compile":"buidler compile --force","console":"buidler console","lint:js":"eslint .","coverage":"buidler coverage --network coverage","test:gas":"REPORT_GAS=true yarn test --network localhost","test:lib":"yarn test test/lib/*.js","test:core":"yarn test test/core/*.js","abi:extract":"buidler-extract --output abi/ --keys abi","test:voting":"yarn test test/voting/*.js","test:appeals":"yarn test test/disputes/disputes-voting.js test/disputes/disputes-appeal.js test/disputes/disputes-confirm-appeal.js","lint:solidity":"solium --dir ./contracts","test:disputes":"yarn test test/disputes/disputes-create.js test/disputes/disputes-evidence.js test/disputes/disputes-draft.js","test:payments":"yarn test test/payments/*.js","test:registry":"yarn test test/registry/*.js","test:treasury":"yarn test test/treasury/court-treasury.js","prepublishOnly":"yarn compile && yarn abi:extract -- --no-compile","test:settle-rounds":"yarn test test/disputes/disputes-settle-round.js","test:settle-appeals":"yarn test test/disputes/disputes-settle-appeal.js"},"_npmUser":{"name":"novaknole","email":"giorgi.lagidze@toptal.com"},"_npmVersion":"6.14.11","description":"Aragon Court EVM contracts","directories":{},"_nodeVersion":"14.15.5","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","web3":"^1.2.11","eslint":"^5.6.0","solium":"^1.2.5","web3-eth-abi":"^1.2.11","buidler-extract":"^1.0.0","solidity-coverage":"^0.7.9","@nomiclabs/buidler":"^1.4.3","eslint-plugin-node":"^7.0.1","buidler-gas-reporter":"^0.1.3","eslint-plugin-import":"^2.8.0","eslint-plugin-promise":"^4.0.1","eslint-config-standard":"^12.0.0","eslint-plugin-standard":"^4.0.0","@nomiclabs/buidler-web3":"^1.3.4","@nomiclabs/buidler-ganache":"^1.3.3","@nomiclabs/buidler-truffle5":"^1.3.4","eslint-plugin-unused-imports":"^0.1.0","@aragon/contract-helpers-test":"^0.1.0","buidler-local-networks-config-plugin":"^0.0.1"},"_npmOperationalInternal":{"tmp":"tmp/court-evm_1.0.0-beta.3_1623411362218_0.5896347040167305","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-06-11T11:36:01.862Z","modified":"2025-05-09T12:19:40.535Z","1.0.0-beta.3":"2021-06-11T11:36:02.696Z"},"author":{"name":"Aragon Association","email":"legal@aragon.org"},"license":"GPL-3.0","description":"Aragon Court EVM contracts","maintainers":[{"email":"devops-master@aragon.org","name":"devops-master"},{"email":"jjavieralvarezrodriguez@gmail.com","name":"jjavieralv"},{"email":"devops@aragon.org","name":"arabot-1"}],"readme":"# Aragon Court EVM\n\nThis package includes the Aragon Court's smart contracts developed for the Ethereum Virtual Machine.\n\n## How does it work\n\n**Full description of the mechanism: [Mechanism documentation](/docs/1-mechanism)**\n\nAragon Court handles subjective disputes that cannot be solved by smart contracts. For this, it employs guardians that need to stake a token to the Court which allows them to get drafted to adjudicate disputes, that can earn them fees. The more tokens a guardian has activated, the higher the chance to get drafted and earn more fees.\n\nAragon Court attempts to find what the subjective truth is with a [Schelling game](https://en.wikipedia.org/wiki/Focal_point_(game_theory)). guardians are asked to vote on the ruling that they think their fellow guardians are more likely to vote on. To incentivize consensus, guardians that don't vote on the consensus ruling have some tokens slashed. guardians that vote with the consensus ruling are rewarded with ruling fees and guardian tokens from the guardians that voted for a minority ruling.\n\nA design goal of the mechanism is to require very few guardians to adjudicate a dispute and produce a ruling. A small number of guardians is adjudicated by default to a dispute, and their ruling can be appealed in multiple rounds of appeals.\n\nEven though Aragon Court could theoretically resolve any type of binary dispute, in its first deployments it will be used to arbitrate **agreements.** These agreements require entities creating a proposal in an organization to agree to its specific rules around proposal creation, putting some collateral at stake that could be lost if the Court finds the proposal invalid.\n\n## Installation\n\nSimply clone this monorepo and install dependencies:\n\n```bash\ngit clone git@github.com:aragon/protocol.git\ncd protocol \nyarn\n```\n\nAs a sanity check you can run the tests to make sure everything work as expected:\n\n```bash\nyarn test\n```\n","readmeFilename":"README.md"}