{"_id":"@graphprotocol/token-distribution","_rev":"28-bc3eb3865985a40e0f6aae311f3a4973","name":"@graphprotocol/token-distribution","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@graphprotocol/token-distribution","version":"1.0.0","author":{"name":"The Graph Team"},"license":"MIT","_id":"@graphprotocol/token-distribution@1.0.0","maintainers":[{"name":"pcarranzav_edgeandnode","email":"pablo@edgeandnode.com"},{"name":"edge-and-node","email":"ops@edgeandnode.com"},{"name":"lnsd","email":"lnsdev@proton.me"},{"name":"neysofu","email":"filippo+npm@neysofu.me"},{"name":"tmigone","email":"npm@tmigone.com"},{"name":"hasparus","email":"hasparus@gmail.com"},{"name":"dotansimha","email":"dotansimha@gmail.com"},{"name":"nasmr","email":"nasmunawar@gmail.com"},{"name":"tilacog","email":"tilacog@gmail.com"},{"name":"benface","email":"benoit.rouleau@icloud.com"},{"name":"jannispohlmann","email":"jannis@thegraph.com"},{"name":"fordn","email":"ford@edgeandnode.com"},{"name":"lutter","email":"lutter@watzmann.net"},{"name":"zerim","email":"brandon.ramirez@live.com"},{"name":"martintel","email":"me@martintel.co"},{"name":"abarmat","email":"abarmat@gmail.com"},{"name":"that3percent","email":"That3Percent@gmail.com"},{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},{"name":"juanmardefago","email":"juanma.rdefago@gmail.com"},{"name":"dnfodjo","email":"nfodjodk@gmail.com"},{"name":"theodus","email":"theodusbutler@gmail.com"},{"name":"iain_mccown","email":"iain@edgeandnode.com"},{"name":"cmwhited","email":"cmwhited1990@gmail.com"},{"name":"adam-en","email":"adam@edgeandnode.com"},{"name":"schmidsi","email":"simon@schmid.io"}],"dist":{"shasum":"f6aa1f339c928b02d6b428343d9561e131b97592","tarball":"https://registry.npmjs.org/@graphprotocol/token-distribution/-/token-distribution-1.0.0.tgz","fileCount":176,"integrity":"sha512-namAjbonLf3C1DvVdzh5MZWjgfsNKl268Zxo/9QTzlLr+D3ZKTjBObHBlMwh9hHX6gXpgLoR2wK7RwhfUVqexA==","signatures":[{"sig":"MEQCIF1pyDSHH15u+G4bTqvWtPf9/fWB91G9FJhh46P6ZBIbAiAbGEi+Gqm5fbX9r9s9RIM6QRQ+PHtxQGDvwqXnFfsJwA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7355304},"main":"index.js","gitHead":"2c1045faddc92fff69f2933582faef996701879a","scripts":{"lint":"yarn run lint:ts && yarn run lint:sol","size":"hardhat size-contracts","test":"scripts/test","build":"scripts/build","clean":"rm -rf build/ cache/ dist/ && hardhat clean","deploy":"yarn run build && hardhat deploy","verify":"hardhat verify","compile":"hardhat compile --show-stack-traces","flatten":"scripts/flatten","lint:ts":"eslint '*/**/*.{js,ts}'","lint:fix":"yarn run lint:ts:fix && yarn run lint:sol:fix","lint:sol":"solhint './contracts/**/*.sol'","prettier":"yarn run prettier:ts && yarn run prettier:sol","security":"scripts/security","test:gas":"RUN_EVM=true REPORT_GAS=true scripts/test","typechain":"hardhat typechain","lint:ts:fix":"eslint '*/**/*.{js,ts}' --fix","postinstall":"yarn graphclient build","prettier:ts":"prettier --write 'test/**/*.ts'","lint:sol:fix":"yarn prettier:sol && solhint --fix './contracts/**/*.sol'","prettier:sol":"prettier --write 'contracts/**/*.sol'","test:coverage":"scripts/coverage","prepublishOnly":"scripts/prepublish"},"_npmUser":{},"_npmVersion":"8.19.1","description":"Graph Token Distribution","directories":{},"_nodeVersion":"16.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","dotenv":"^16.0.0","eslint":"^8.13.0","ethers":"^5.0.18","consola":"^2.15.0","graphql":"^16.5.0","hardhat":"^2.6.1","p-queue":"^6.6.2","solhint":"^3.3.7","ts-node":"^10.9.1","inquirer":"8.0.0","prettier":"^2.1.1","typechain":"^5.0.0","typescript":"^4.0.2","@types/node":"^20.4.2","@types/mocha":"^9.1.0","coingecko-api":"^1.0.10","hardhat-deploy":"^0.7.0-beta.9","ethereum-waffle":"^3.1.1","@typechain/hardhat":"^2.0.0","eslint-plugin-node":"^11.1.0","@typechain/ethers-v5":"^7.0.0","eslint-plugin-import":"^2.22.0","hardhat-abi-exporter":"^2.0.1","hardhat-gas-reporter":"^1.0.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^16.0.3","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"5.0.0","hardhat-contract-sizer":"^2.0.1","@openzeppelin/contracts":"^3.3.0-solc-0.7","solhint-plugin-prettier":"^0.0.5","@graphprotocol/contracts":"^5.0.0","prettier-plugin-solidity":"^1.0.0-alpha.56","@graphprotocol/client-cli":"^2.0.2","@nomiclabs/hardhat-ethers":"^2.0.0","@nomiclabs/hardhat-waffle":"^2.0.0","@typescript-eslint/parser":"^5.20.0","@ethersproject/experimental":"^5.0.7","eslint-plugin-mocha-no-only":"^1.1.1","@nomiclabs/hardhat-etherscan":"^3.1.7","@openzeppelin/hardhat-upgrades":"^1.22.1","@typescript-eslint/eslint-plugin":"^5.20.0","@openzeppelin/contracts-upgradeable":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/token-distribution_1.0.0_1689692185924_0.23589234742729603","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@graphprotocol/token-distribution","version":"1.0.1","author":{"name":"The Graph Team"},"license":"MIT","_id":"@graphprotocol/token-distribution@1.0.1","maintainers":[{"name":"pcarranzav_edgeandnode","email":"pablo@edgeandnode.com"},{"name":"edge-and-node","email":"ops@edgeandnode.com"},{"name":"lnsd","email":"lnsdev@proton.me"},{"name":"neysofu","email":"filippo+npm@neysofu.me"},{"name":"tmigone","email":"npm@tmigone.com"},{"name":"hasparus","email":"hasparus@gmail.com"},{"name":"dotansimha","email":"dotansimha@gmail.com"},{"name":"nasmr","email":"nasmunawar@gmail.com"},{"name":"tilacog","email":"tilacog@gmail.com"},{"name":"benface","email":"benoit.rouleau@icloud.com"},{"name":"jannispohlmann","email":"jannis@thegraph.com"},{"name":"fordn","email":"ford@edgeandnode.com"},{"name":"lutter","email":"lutter@watzmann.net"},{"name":"zerim","email":"brandon.ramirez@live.com"},{"name":"martintel","email":"me@martintel.co"},{"name":"abarmat","email":"abarmat@gmail.com"},{"name":"that3percent","email":"That3Percent@gmail.com"},{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},{"name":"juanmardefago","email":"juanma.rdefago@gmail.com"},{"name":"dnfodjo","email":"nfodjodk@gmail.com"},{"name":"theodus","email":"theodusbutler@gmail.com"},{"name":"iain_mccown","email":"iain@edgeandnode.com"},{"name":"cmwhited","email":"cmwhited1990@gmail.com"},{"name":"adam-en","email":"adam@edgeandnode.com"},{"name":"schmidsi","email":"simon@schmid.io"}],"dist":{"shasum":"2b9cf5a0b62abee57440d860317aa48b645c2069","tarball":"https://registry.npmjs.org/@graphprotocol/token-distribution/-/token-distribution-1.0.1.tgz","fileCount":181,"integrity":"sha512-OQYzZeaaVTS5qVgzOFK+biOgrRis5jcd3jXWFbcuviDvkZXzhKKtodKA/9W2D1/dkqXb2+G355XxqoBnCJpvDA==","signatures":[{"sig":"MEUCIAcg8+ud2dxlvLVMo+zBJHl2h5MiVRpopHikU8Bv1O1CAiEA36LBox//UknWEiUOuwS7NP+1Z6LbWAQNHVyo/COkuFE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8233061},"main":"index.js","gitHead":"c722515830aee008888eb691b986577e676610a9","scripts":{"lint":"yarn run lint:ts && yarn run lint:sol","size":"hardhat size-contracts","test":"scripts/test","build":"scripts/build","clean":"rm -rf build/ cache/ dist/ && hardhat clean","deploy":"yarn run build && hardhat deploy","verify":"hardhat verify","compile":"hardhat compile --show-stack-traces","flatten":"scripts/flatten","lint:ts":"eslint '*/**/*.{js,ts}'","lint:fix":"yarn run lint:ts:fix && yarn run lint:sol:fix","lint:sol":"solhint './contracts/**/*.sol'","prettier":"yarn run prettier:ts && yarn run prettier:sol","security":"scripts/security","test:gas":"RUN_EVM=true REPORT_GAS=true scripts/test","typechain":"hardhat typechain","lint:ts:fix":"eslint '*/**/*.{js,ts}' --fix","prettier:ts":"prettier --write 'test/**/*.ts'","lint:sol:fix":"yarn prettier:sol && solhint --fix './contracts/**/*.sol'","prettier:sol":"prettier --write 'contracts/**/*.sol'","test:coverage":"scripts/coverage","prepublishOnly":"scripts/prepublish"},"_npmUser":{"name":"pcarranzav_edgeandnode","email":"pablo@edgeandnode.com"},"_npmVersion":"8.19.1","description":"Graph Token Distribution","directories":{},"_nodeVersion":"16.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","dotenv":"^16.0.0","eslint":"^8.13.0","ethers":"^5.0.18","consola":"^2.15.0","graphql":"^16.5.0","hardhat":"^2.6.1","p-queue":"^6.6.2","solhint":"^3.3.7","ts-node":"^10.9.1","inquirer":"8.0.0","prettier":"^2.1.1","typechain":"^5.0.0","typescript":"^4.0.2","@types/node":"^20.4.2","@types/mocha":"^9.1.0","coingecko-api":"^1.0.10","hardhat-deploy":"^0.7.0-beta.9","ethereum-waffle":"^3.1.1","@typechain/hardhat":"^2.0.0","eslint-plugin-node":"^11.1.0","@typechain/ethers-v5":"^7.0.0","eslint-plugin-import":"^2.22.0","hardhat-abi-exporter":"^2.0.1","hardhat-gas-reporter":"^1.0.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^16.0.3","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"5.0.0","hardhat-contract-sizer":"^2.0.1","@openzeppelin/contracts":"^3.3.0-solc-0.7","solhint-plugin-prettier":"^0.0.5","@graphprotocol/contracts":"^5.0.0","prettier-plugin-solidity":"^1.0.0-alpha.56","@graphprotocol/client-cli":"^2.0.2","@nomiclabs/hardhat-ethers":"^2.0.0","@nomiclabs/hardhat-waffle":"^2.0.0","@typescript-eslint/parser":"^5.20.0","@ethersproject/experimental":"^5.0.7","eslint-plugin-mocha-no-only":"^1.1.1","@nomiclabs/hardhat-etherscan":"^3.1.7","@openzeppelin/hardhat-upgrades":"^1.22.1","@typescript-eslint/eslint-plugin":"^5.20.0","@openzeppelin/contracts-upgradeable":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/token-distribution_1.0.1_1690575797908_0.2648175393474985","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@graphprotocol/token-distribution","version":"1.1.0","author":{"name":"The Graph Team"},"license":"MIT","_id":"@graphprotocol/token-distribution@1.1.0","maintainers":[{"name":"saihaj","email":"saihajpreet.singh@gmail.com"},{"name":"pcarranzav_edgeandnode","email":"pablo@edgeandnode.com"},{"name":"edge-and-node","email":"ops@edgeandnode.com"},{"name":"lnsd","email":"lnsdev@proton.me"},{"name":"neysofu","email":"filippo+npm@neysofu.me"},{"name":"tmigone","email":"npm@tmigone.com"},{"name":"hasparus","email":"hasparus@gmail.com"},{"name":"dotansimha","email":"dotansimha@gmail.com"},{"name":"nasmr","email":"nasmunawar@gmail.com"},{"name":"tilacog","email":"tilacog@gmail.com"},{"name":"benface","email":"benoit.rouleau@icloud.com"},{"name":"jannispohlmann","email":"jannis@thegraph.com"},{"name":"fordn","email":"ford@edgeandnode.com"},{"name":"lutter","email":"lutter@watzmann.net"},{"name":"zerim","email":"brandon.ramirez@live.com"},{"name":"martintel","email":"me@martintel.co"},{"name":"abarmat","email":"abarmat@gmail.com"},{"name":"that3percent","email":"That3Percent@gmail.com"},{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},{"name":"juanmardefago","email":"juanma.rdefago@gmail.com"},{"name":"dnfodjo","email":"nfodjodk@gmail.com"},{"name":"theodus","email":"theodusbutler@gmail.com"},{"name":"iain_mccown","email":"iain@edgeandnode.com"},{"name":"cmwhited","email":"cmwhited1990@gmail.com"},{"name":"adam-en","email":"adam@edgeandnode.com"},{"name":"schmidsi","email":"simon@schmid.io"}],"dist":{"shasum":"052070fee3d4c283900b6dba87cdb43950216c25","tarball":"https://registry.npmjs.org/@graphprotocol/token-distribution/-/token-distribution-1.1.0.tgz","fileCount":191,"integrity":"sha512-a2pIj59zjlDa7O1lYl+G+yvAka+szC4sBOk9Nnkrqrlrq8RbTKSqH96ZsklAvZF0EoEFr2VBWWrTJ7kt6zQ0Yg==","signatures":[{"sig":"MEUCIELLEGacI/qrwFtZRhNS6rf9kFeZJmiNPUgrzasmb23sAiEAi46vyRg/q5fG6eVfciQYyil2Mr/UDWGv9NAUNwKx5fE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9351029},"main":"index.js","gitHead":"f589ffa2d9901e7de12ee3924b89551e1cae8660","scripts":{"lint":"yarn run lint:ts && yarn run lint:sol","size":"hardhat size-contracts","test":"scripts/test","build":"scripts/build","clean":"rm -rf build/ cache/ dist/ && hardhat clean","deploy":"yarn run build && hardhat deploy","verify":"hardhat verify","compile":"hardhat compile --show-stack-traces","flatten":"scripts/flatten","lint:ts":"eslint '*/**/*.{js,ts}'","lint:fix":"yarn run lint:ts:fix && yarn run lint:sol:fix","lint:sol":"solhint './contracts/**/*.sol'","prettier":"yarn run prettier:ts && yarn run prettier:sol","security":"scripts/security","test:gas":"RUN_EVM=true REPORT_GAS=true scripts/test","typechain":"hardhat typechain","lint:ts:fix":"eslint '*/**/*.{js,ts}' --fix","prettier:ts":"prettier --write 'test/**/*.ts'","lint:sol:fix":"yarn prettier:sol && solhint --fix './contracts/**/*.sol'","prettier:sol":"prettier --write 'contracts/**/*.sol'","test:coverage":"scripts/coverage","prepublishOnly":"scripts/prepublish"},"_npmUser":{"name":"pcarranzav_edgeandnode","email":"pablo@edgeandnode.com"},"_npmVersion":"8.19.1","description":"Graph Token Distribution","directories":{},"_nodeVersion":"16.18.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","dotenv":"^16.0.0","eslint":"^8.13.0","ethers":"^5.0.18","consola":"^2.15.0","graphql":"^16.5.0","hardhat":"^2.6.1","p-queue":"^6.6.2","solhint":"^3.3.7","ts-node":"^10.9.1","inquirer":"8.0.0","prettier":"^2.1.1","typechain":"^5.0.0","typescript":"^4.0.2","@types/node":"^20.4.2","@types/mocha":"^9.1.0","coingecko-api":"^1.0.10","hardhat-deploy":"^0.7.0-beta.9","ethereum-waffle":"^3.1.1","@typechain/hardhat":"^2.0.0","eslint-plugin-node":"^11.1.0","@typechain/ethers-v5":"^7.0.0","eslint-plugin-import":"^2.22.0","hardhat-abi-exporter":"^2.0.1","hardhat-gas-reporter":"^1.0.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^16.0.3","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"5.0.0","hardhat-contract-sizer":"^2.0.1","@openzeppelin/contracts":"^3.3.0-solc-0.7","solhint-plugin-prettier":"^0.0.5","@graphprotocol/contracts":"^5.0.0","prettier-plugin-solidity":"^1.0.0-alpha.56","@graphprotocol/client-cli":"^2.0.2","@nomiclabs/hardhat-ethers":"^2.0.0","@nomiclabs/hardhat-waffle":"^2.0.0","@typescript-eslint/parser":"^5.20.0","@ethersproject/experimental":"^5.0.7","eslint-plugin-mocha-no-only":"^1.1.1","@nomiclabs/hardhat-etherscan":"^3.1.7","@openzeppelin/hardhat-upgrades":"^1.22.1","@typescript-eslint/eslint-plugin":"^5.20.0","@openzeppelin/contracts-upgradeable":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/token-distribution_1.1.0_1692728526809_0.7835720445220331","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@graphprotocol/token-distribution","version":"1.2.0","author":{"name":"The Graph Team"},"license":"MIT","_id":"@graphprotocol/token-distribution@1.2.0","maintainers":[{"name":"migueldeelias","email":"miguel.deelias@gmail.com"},{"name":"saihaj","email":"saihajpreet.singh@gmail.com"},{"name":"pcarranzav_edgeandnode","email":"pablo@edgeandnode.com"},{"name":"edge-and-node","email":"ops@edgeandnode.com"},{"name":"lnsd","email":"lnsdev@proton.me"},{"name":"neysofu","email":"filippo+npm@neysofu.me"},{"name":"tmigone","email":"npm@tmigone.com"},{"name":"hasparus","email":"hasparus@gmail.com"},{"name":"dotansimha","email":"dotansimha@gmail.com"},{"name":"nasmr","email":"nasmunawar@gmail.com"},{"name":"tilacog","email":"tilacog@gmail.com"},{"name":"benface","email":"benoit.rouleau@icloud.com"},{"name":"jannispohlmann","email":"jannis@thegraph.com"},{"name":"fordn","email":"ford@edgeandnode.com"},{"name":"lutter","email":"lutter@watzmann.net"},{"name":"zerim","email":"brandon.ramirez@live.com"},{"name":"martintel","email":"me@martintel.co"},{"name":"abarmat","email":"abarmat@gmail.com"},{"name":"that3percent","email":"That3Percent@gmail.com"},{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},{"name":"juanmardefago","email":"juanma.rdefago@gmail.com"},{"name":"dnfodjo","email":"nfodjodk@gmail.com"},{"name":"theodus","email":"theodusbutler@gmail.com"},{"name":"iain_mccown","email":"iain@edgeandnode.com"},{"name":"cmwhited","email":"cmwhited1990@gmail.com"},{"name":"adam-en","email":"adam@edgeandnode.com"},{"name":"schmidsi","email":"simon@schmid.io"}],"dist":{"shasum":"286604b2f3fba30301c761e0e21d42e66a287a92","tarball":"https://registry.npmjs.org/@graphprotocol/token-distribution/-/token-distribution-1.2.0.tgz","fileCount":172,"integrity":"sha512-Pj0PkCtOrQ4rg5/zSFTz43kcz9SypDhJ3Kb9l1TVtVaugVM/RvfoK0S+72/LtVUAN3hJ7sMxpuV/OzNIRENPZw==","signatures":[{"sig":"MEUCIH5ESztVS2hd/OHnliTVac0bgdVwCVD7g6FabQfTkHtVAiEA+dRVZEy922W2JXoSSfxB525yq1SN8/YhxpVxD3wEnaQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7929484},"main":"index.js","gitHead":"d35207f3268f81ffcbbf934c71aa806d54e69288","scripts":{"lint":"yarn run lint:ts && yarn run lint:sol","size":"hardhat size-contracts","test":"scripts/test","build":"scripts/build","clean":"rm -rf build/ cache/ dist/ && hardhat clean","deploy":"yarn run build && hardhat deploy","verify":"hardhat verify","compile":"hardhat compile --show-stack-traces","flatten":"scripts/flatten","lint:ts":"eslint '*/**/*.{js,ts}'","lint:fix":"yarn run lint:ts:fix && yarn run lint:sol:fix","lint:sol":"solhint './contracts/**/*.sol'","prettier":"yarn run prettier:ts && yarn run prettier:sol","security":"scripts/security","test:gas":"RUN_EVM=true REPORT_GAS=true scripts/test","typechain":"hardhat typechain","lint:ts:fix":"eslint '*/**/*.{js,ts}' --fix","prettier:ts":"prettier --write 'test/**/*.ts'","lint:sol:fix":"yarn prettier:sol && solhint --fix './contracts/**/*.sol'","prettier:sol":"prettier --write 'contracts/**/*.sol'","test:coverage":"scripts/coverage","prepublishOnly":"scripts/prepublish"},"_npmUser":{"name":"dnfodjo","email":"nfodjodk@gmail.com"},"_npmVersion":"9.5.0","description":"Graph Token Distribution","directories":{},"_nodeVersion":"18.14.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","dotenv":"^16.0.0","eslint":"^8.13.0","ethers":"^5.0.18","consola":"^2.15.0","graphql":"^16.5.0","hardhat":"^2.6.1","p-queue":"^6.6.2","solhint":"^3.3.7","ts-node":"^10.9.1","inquirer":"8.0.0","prettier":"^2.1.1","typechain":"^5.0.0","typescript":"^4.0.2","@types/node":"^20.4.2","@types/mocha":"^9.1.0","coingecko-api":"^1.0.10","hardhat-deploy":"^0.7.0-beta.9","ethereum-waffle":"^3.1.1","@typechain/hardhat":"^2.0.0","eslint-plugin-node":"^11.1.0","@typechain/ethers-v5":"^7.0.0","eslint-plugin-import":"^2.22.0","hardhat-abi-exporter":"^2.0.1","hardhat-gas-reporter":"^1.0.1","eslint-plugin-promise":"^6.0.0","eslint-config-prettier":"^8.5.0","eslint-config-standard":"^16.0.3","eslint-plugin-prettier":"^4.0.0","eslint-plugin-standard":"5.0.0","hardhat-contract-sizer":"^2.0.1","@openzeppelin/contracts":"^3.3.0-solc-0.7","solhint-plugin-prettier":"^0.0.5","@graphprotocol/contracts":"^5.0.0","prettier-plugin-solidity":"^1.0.0-alpha.56","@graphprotocol/client-cli":"^2.0.2","@nomiclabs/hardhat-ethers":"^2.0.0","@nomiclabs/hardhat-waffle":"^2.0.0","@typescript-eslint/parser":"^5.20.0","@ethersproject/experimental":"^5.0.7","eslint-plugin-mocha-no-only":"^1.1.1","@nomiclabs/hardhat-etherscan":"^3.1.7","@openzeppelin/hardhat-upgrades":"^1.22.1","@typescript-eslint/eslint-plugin":"^5.20.0","@openzeppelin/contracts-upgradeable":"3.4.2"},"_npmOperationalInternal":{"tmp":"tmp/token-distribution_1.2.0_1699575254153_0.40908370537207217","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-07-18T14:56:25.923Z","modified":"2026-09-09T22:31:06.967Z","1.0.0":"2023-07-18T14:56:26.182Z","1.0.1":"2023-07-28T20:23:18.306Z","1.1.0":"2023-08-22T18:22:07.189Z","1.2.0":"2023-11-10T00:14:14.488Z"},"author":{"name":"The Graph Team"},"license":"MIT","description":"Graph Token Distribution","maintainers":[{"email":"ford@edgeandnode.com","name":"fordn"},{"email":"npm@tmigone.com","name":"tmigone"},{"email":"juanma.rdefago@gmail.com","name":"juanmardefago"},{"email":"miguel.deelias@gmail.com","name":"migueldeelias"},{"email":"pdiogo@duck.com","name":"pdiogo-tgf"}],"readme":"# Graph Protocol Token Lock\n\nThis repository contains a number of contracts that will support the locking of tokens of participants under different schedules.\nAn important premise is that participants with locked tokens can perform a number of restricted actions in the protocol with their tokens.\n\n## Contracts\n\n### GraphTokenLock\n\nThe contract lock manages a number of tokens deposited into the contract to ensure that they can only be released under certain time conditions.\n\nThis contract implements a release scheduled based on periods where tokens are released in steps after each period ends. It can be configured with one period in which case it works like a plain TimeLock.\nIt also supports revocation by the contract owner to be used for vesting schedules.\n\nThe contract supports receiving extra funds over the managed tokens that can be withdrawn by the beneficiary at any time.\n\nA releaseStartTime parameter is included to override the default release schedule and perform the first release on the configured time. After that initial release it will continue with the default schedule.\n\n### GraphTokenLockWallet\n\nThis contract is built on top of the base **GraphTokenLock** functionality. It allows the use of locked funds only when authorized function calls are issued to the contract. \nIt works by \"forwarding\" authorized function calls to predefined target contracts in the Graph Network.\n\nThe idea is that supporters with locked tokens can participate in the protocol but disallow any release before the vesting/lock schedule.\nThe function calls allowed are queried to the **GraphTokenLockManager**, this way the same configuration can be shared for all the created lock wallet contracts.\n\nLocked tokens must only leave this contract under the locking rules and by the beneficiary calling release(). Tokens used in the protocol need to get back to this contract when unstaked or undelegated.\n\nSome users can profit by participating in the protocol through their locked tokens, if they withdraw them from the protocol back to the lock contract, they should be able to withdraw those surplus funds out of the contract.\n\nThe following functions signatures will be authorized for use:\n\n```\n### Target\n\n- Staking contract address\n\n\n### Function Signatures\n\n- setOperator(address,bool)\n\n- stake(uint256)\n- unstake(uint256)\n- withdraw()\n\n- setDelegationParameters(uint32,uint32,uint32)\n- delegate(address,uint256)\n- undelegate(address,uint256)\n- withdrawDelegated(address,address)\n```\n\n### GraphTokenLockManager\n\nContract that works as a factory of **GraphTokenLockWallet** contracts. It manages the function calls authorized to be called on any GraphTokenWallet and also holds addresses of our protocol contracts configured as targets.\n\nThe Manager supports creating TokenLock contracts based on a mastercopy bytecode using a Minimal Proxy to save gas. It also do so with CREATE2 to have reproducible addresses, this way any future to be deployed contract address can be passed to beneficiaries before actual deployment.\n\nFor convenience, the Manager will also fund the created contract with the amount of each contract's managed tokens.\n\n## L2 deployment and transfer tools\n\nAs part of the process for The Graph to move to Arbitrum, some contracts were added to allow GraphTokenLockWallet beneficiaries to transfer their funds to a vesting wallet in L2 and transfer their stake and delegations to L2 as well, where they will be owned by the L2 vesting wallet. See [GIP-0046](https://forum.thegraph.com/t/gip-0046-l2-transfer-tools/4023) for more details about the architecture.\n\n### L2GraphTokenLockWallet\n\nThe L2 version of the GraphTokenLockWallet is essentially the same, but adds a special function to initialize a wallet with information received from L1. Keep in mind that **vesting contracts in L2 that are created from an L1 contract cannot release funds in L2 until the end of the full vesting timeline**. Funds can be sent back to L1 using the L2GraphTokenLockTransferTool to be released there.\n\n### L2GraphTokenLockManager\n\nThe L2 manager inherits from GraphTokenLockManager but includes an `onTokenTransfer` function for the GRT bridge to call when receiving locked GRT from L1. The first time that GRT is received for a new L1 wallet, the corresponding L2GraphTokenLockWallet contract is created and initialized.\n\n### L1GraphTokenLockTransferTool\n\nFor L1 GraphTokenLockWallet beneficiaries to transfer to L2, they must use this transfer tool contract. The contract allows beneficiaries to deposit ETH to pay for the L2 gas and fees related to sending messages to L2. It then allows two different flows, depending on the state of the vesting contract:\n\n- For fully vested GraphTokenLockWallet contracts, the wallet can call the transfer tool specifying the address that the beneficiary wants to use in L2. This will be a normal wallet (can be an EOA or a multisig in L2), and this will be queried by the Staking contract when transferring stake or delegation. Please note that **this address can only be set once and cannot be changed**.\n- For contracts that are still vesting, the wallet can call the transfer tool specifying an amount of GRT to transfer to L2. This GRT value will be sent from the vesting wallet's GRT balance, and must be nonzero. The caller can also specify a beneficiary that will own the L2 vesting wallet, which is only used if this hasn't already been set in a previous call.\n\n### L2GraphTokenLockTransferTool\n\nFor beneficiaries of L1 vesting contracts to release funds that have been sent to L2, the GRT funds must be sent to L1 first. The L2GraphTokenLockTransferTool only has a `withdrawToL1Locked` function for this purpose, it will use the GRT bridge to send GRT to the L1 vesting contract that corresponds to the caller.\n\n## Operations\n\nFor detailed instructions about deploying the manager or the transfer tools, check out [DEPLOYMENT.md](./DEPLOYMENT.md).\n\n### Deploying new vesting locks\n\n**1) Check configuration**\n\nEnsure the .env file contains the MNEMONIC you are going to use for the deployment. Please refer to the `.env.sample` file for reference.\n\n**2) Create the deployment file**\n\nThe file must be have CSV format in placed in the `/ops` folder with the following header:\n```\nbeneficiary,managedAmount,startTime,endTime,periods,revocable,releaseStartTime,vestingCliffTime\n... line 1\n... line 2\n... N\n```\n\n- **beneficiary** Address of the beneficiary of locked tokens.\n- **managedAmount** Amount of tokens to be managed by the lock contract.\n- **startTime** Start time of the release schedule.\n- **endTime** End time of the release schedule.\n- **periods** Number of periods between start time and end time.\n- **revocable** Whether the contract is revocable. Should be 1 for `Enabled` or 2 for 1 `Disable`. Setting this to 0 for `NotSet` will cause the transaction to fail with error `Must set a revocability option`.\n- **releaseStartTime** Override time for when the releases start.\n- **vestingCliffTime** Time the cliff vests, 0 if no cliff\n\nYou can define one line per contract. Keep the header in the file.\n\nIn addition to that, create an empty file in the `/ops` folder to store the results of the deployed contracts.\n\n**2) Deposit funds in the Manager**\n\nYou need to deposit enough funds in the Manager to be able to use for the deployments. When you run the `create-token-locks` command it will always check that the Manager has enough tokens to cover for the sum of vesting amount.\n\n```\nnpx hardhat manager-deposit --amount <amount> --network <network>\n```\n\n- **amount** is a string and it can have 18 decimals. For example 1000.12\n\n- **network** depends on the `hardhat.config` but most of the times will be sepolia or mainnet.\n\n**3) Deploy the contracts**\n\n```\nnpx hardhat create-token-locks --network sepolia \\\n    --deploy-file <deploy-file> \\\n    --result-file <result-file> \\\n    --owner-address <owner-address> \\\n    --dry-run (Flag) \\\n    --tx-builder (Flag) \\\n    --tx-builder-template <tx-builder-template> (Optional)\n```\n\n- **network** depends on the hardhat.config but most of the times will be rinkeby or mainnet.\n\n- **deploy-file** file name under `/ops` that contains the contracts to deploy.\n\n- **result-file** file with the results of deployments.\n\n- **owner-address** address to use as owner of the vesting contracts. The owner can revoke the contract if revocable.\n\n- **dry-run** Get the deterministic contract addresses but do not deploy.\n\n- **tx-builder** Output transaction batch in JSON format, compatible with Gnosis Safe transaction builder. Does not deploy contracts.\n\n- **tx-builder-template** File to use as a template for the transaction builder.\n\n## Copyright\n\nCopyright &copy; 2020 The Graph Foundation\n\nLicensed under the [MIT license](LICENSE.md).\n","readmeFilename":"README.md"}