{"_id":"@completium/event-well-crank","_rev":"7-471cf2eed153a2ff793c47b70c8e6618","name":"@completium/event-well-crank","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"@completium/event-well-crank","version":"0.0.1","description":"Detects events emitted by smart contracts on the Tezos blockchain, and executes registered event handler functions.","main":"build/index.js","types":"build/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"TODO"},"keywords":["archetype","tezos","smart-contract","completium","event","blockchain"],"license":"MIT","bugs":{"url":"https://github.com/completium/event-well-crank/issues"},"homepage":"https://github.com/completium/event-well-crank","scripts":{"build":"npx tsc --outDir build","test":"node ./build/tests/test.js","bind":"archetype --target bindings-ts ./tests/contracts/testevent.arl > ./tests/test_bindings_gen.ts","deploy":"mocha --timeout 0 --slow 99999999999999999999 ./tests/deploy.js"},"dependencies":{"@taquito/michel-codec":"^11.2.0","@taquito/rpc":"^11.2.0","@taquito/taquito":"^11.2.0","@taquito/utils":"^11.2.0","typescript":"^4.6.2"},"devDependencies":{"@completium/completium-cli":"^0.3.25","bignumber.js":"^9.0.2","mocha":"^9.2.1"},"gitHead":"1b94a119f4a7bf6f7490b6e761278513bb614ff1","_id":"@completium/event-well-crank@0.0.1","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-+0PpC0rHyOpDkknvWfMTgtlaY8P5sJrIYwIOwX2tIRycZW4dDwYUlOsghlEtav9Upa604EFnc1SO3mmyU64d3Q==","shasum":"e9d8adb7abc207b145bb8e9efcbc3d020a5d8e87","tarball":"https://registry.npmjs.org/@completium/event-well-crank/-/event-well-crank-0.0.1.tgz","fileCount":14,"unpackedSize":26515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJ1eQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrNpA//cxp65DNq/RBhIEfHvY7xKrm88gO6VfdKmfpQxwQ6RI00v9EC\r\nMM7XtQDbuT04ymQZ6+obFSTYyw6a1nCZ719cLf9VsI1VfT0b+K5uT8L+eAy4\r\n+8LAJQ+odfAWtfH4uJIlYBbQlwj2XjGhYKW7XYJKIxm6XoGruZrg/LKYUsqp\r\nfDhrjbLga21C0h/wLke1KyoCO+Wh6ouIa9qMji3AisJv7Oo7KwWpIULJXtrz\r\nqlouCb4/pGwXHcmmuOxWS7y0PxGCL4qlDVwj7GjyuXos6PeUxjBQuZH9dd67\r\nh1hoegYPpfnixnWvA/fdiD7d/QAe/9NYZuHUGiTQfroqiBOf12pstDbQy4W4\r\n1otVWHy8WvtJcut+6iRwJJo7ZLCayA7yGfYnuB29xkGxZ6JVKc9JqXfQ15Rf\r\nYP4LmF7xeW3ZIAR/2kaFMHIfs2OCTwmkUKtPqdynRkSHchm+V1UgDs7VaruX\r\nkeV9KWYcZx52wlzDOhcr4kk1lW1iifFFkVAjc4xgrSGy0IDBob8TvhuZa+aG\r\n4o3smLp0CWgFodd3FstpffuI3dKp/NL40EQMXD9HZg4OWjou2X9ec9uot/A4\r\nrj9vlQzN1mnCxrkJlYvdrDqI4AaxNtL6nXST0AA/YCx222A37LE64f0ywX7H\r\npqmVB3qkgPa+QUU22ZVeorrjJDPQ6QaYyFY=\r\n=n6gn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6uN8N7uaphb6FGWp/j4AEH1h4m6/WEmErk3KVwQ2XZgIgCEb8K7YoDAJINnBUpkJANDny1AqYc5pDZjPOV1k4GZ8="}]},"_npmUser":{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},"directories":{},"maintainers":[{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},{"name":"benoitedukera","email":"benoit.rognier@edukera.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-well-crank_0.0.1_1646745487884_0.5387043467825636"},"_hasShrinkwrap":false},"0.0.2":{"name":"@completium/event-well-crank","version":"0.0.2","description":"Detects events emitted by smart contracts on the Tezos blockchain, and executes registered event handler functions.","main":"build/src/index.js","types":"build/src/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"TODO"},"keywords":["archetype","tezos","smart-contract","completium","event","blockchain"],"license":"MIT","bugs":{"url":"https://github.com/completium/event-well-crank/issues"},"homepage":"https://github.com/completium/event-well-crank","scripts":{"build":"npx tsc --outDir build","test":"node ./build/tests/test.js","bind":"archetype --target bindings-ts ./tests/contracts/testevent.arl > ./tests/test_bindings_gen.ts","deploy":"mocha --timeout 0 --slow 99999999999999999999 ./tests/deploy.js"},"dependencies":{"@taquito/michel-codec":"^11.2.0","@taquito/rpc":"^11.2.0","@taquito/taquito":"^11.2.0","@taquito/utils":"^11.2.0","typescript":"^4.6.2"},"devDependencies":{"@completium/completium-cli":"^0.3.25","bignumber.js":"^9.0.2","mocha":"^9.2.1"},"gitHead":"1b94a119f4a7bf6f7490b6e761278513bb614ff1","_id":"@completium/event-well-crank@0.0.2","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-pfL8CA+Nb7BVhoS6IDG3X9vVBukyr8iyhfiI7vamO0OwHxD7gPZVbp5PxmtIbq5iO5FcXygI5TWLTFAGKo4CRA==","shasum":"2cca16bd0556410767b801107f014789e9d291c7","tarball":"https://registry.npmjs.org/@completium/event-well-crank/-/event-well-crank-0.0.2.tgz","fileCount":14,"unpackedSize":22008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJ1oOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpiuQ//YRzbdBrRW/YQqVLKsrfFhrV1HcAFhfGOYSCqRRePZt8SHBVa\r\n43BfQh8zt//el0FgIfRu7WBXvylUY2sXrJJa/QOCNstqDLKIe/0e0DBKuZNI\r\n/AJVzPSKi2ybwMoenaaDy0BaCceCA+SQI8DAf7EqkUfQX5fpIc+Z13le3Z0+\r\nmzO2zZMLy4GUhgvJhFRe9ugUyxJ0yeRqGSwVoEIU68+KDLxBDUibobUhewbr\r\nxbRIjY+2PSVy4DWMipiMLxfsiRK09cyKAZMe453ORecltLzZtuB+iPkZ95da\r\nOzf9XxD+e3Vk6bz7Z5+tUKhhUyXnNVlzZZ/2mIAIPQsVKgvi5OgLEkqHgZk2\r\nw+whbWEa3ok4agY1Lq146T1bguk+Og4URNpjqa0O+2Gtg/9nWqCQzMmwEBE6\r\n0HOfWax+dyD2VHSgi5WWrUYQ9j2zeKOkZ7GWTPkYLX34FvmcJHG8HaFv0MmV\r\nMzw3inXLnkSjBQW9F+7Irr5E1ePpzPJ+Gy1jo4cyjQ73WUzwJm/C++Vx7iiW\r\nqy5VlbgiTvH2xlbRVTRdlPjnmF78EVZHo250VJ8YNXng37JOts13SBWmfCuw\r\nCxdsIqbPo9rB0tw8PjB/ReRuBASIBbfsm6QAhMic9C7/qY7TgMGSdliu1srg\r\nlrn+1vFk7MVWaM9Hfz+EvnzvfOiBL3Tw69g=\r\n=1CGN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICiYbBkbOng5r37T4cD0EcMz5A8gAvSDnpaqoi7FxkC9AiBQHkAQXDC/6ZtA7YiVwBE43zHSUClC86tBqIhfabmKWA=="}]},"_npmUser":{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},"directories":{},"maintainers":[{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},{"name":"benoitedukera","email":"benoit.rognier@edukera.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-well-crank_0.0.2_1646746126733_0.4198104607532236"},"_hasShrinkwrap":false},"0.0.3":{"name":"@completium/event-well-crank","version":"0.0.3","description":"Detects events emitted by smart contracts on the Tezos blockchain, and executes registered event handler functions.","main":"build/src/index.js","types":"build/src/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"TODO"},"keywords":["archetype","tezos","smart-contract","completium","event","blockchain"],"license":"MIT","bugs":{"url":"https://github.com/completium/event-well-crank/issues"},"homepage":"https://github.com/completium/event-well-crank","scripts":{"build":"npx tsc --outDir build","test":"node ./build/tests/test.js","bind":"archetype --target bindings-ts ./tests/contracts/testevent.arl > ./tests/test_bindings_gen.ts","deploy":"mocha --timeout 0 --slow 99999999999999999999 ./tests/deploy.js"},"dependencies":{"@taquito/michel-codec":"^11.2.0","@taquito/rpc":"^11.2.0","@taquito/taquito":"^11.2.0","@taquito/utils":"^11.2.0","typescript":"^4.6.2"},"devDependencies":{"@completium/completium-cli":"^0.3.25","bignumber.js":"^9.0.2","mocha":"^9.2.1"},"gitHead":"3268a37000f5edb9b2d75038f39c2fc9b0dbbc2b","_id":"@completium/event-well-crank@0.0.3","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-KJxYba1RTQdS0MtqManKkavFqx+f6YHRkz1zKrJl0Cw6NCCnajvubijMF/P36lFnMFU1T2PPO3tS/QwV8sKPRA==","shasum":"50f5e6da3bf1d7dbbe02a9beeb7adbdf47d90f14","tarball":"https://registry.npmjs.org/@completium/event-well-crank/-/event-well-crank-0.0.3.tgz","fileCount":14,"unpackedSize":22114,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKkX1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrc8g//fmSD+WMEbMR6ON1FtsYVO0LYACMafiIlpTo0cKVWYGT4j7ta\r\niRvOLVFrX5fFlvIVCLkOdO0zOEYyCernoiNX+n3OqsKeprVbTboTFcyT34Vy\r\n5KdGyYd0kSxJ2j/SvXxRT8/b5IdANyYlXWU5VB/NsxXLiEakbzioRIdMZf0D\r\nZ166UWF4bLT5kJTfnoj5GBasDwgB71K6fmkvIXwk4GpVWpQDtb97d5EHn3pX\r\n1yTIlH7h8m6cFqZhZI71nwhE1k6C89U9tMBsjsUVm9INde8F/Ne5dd8IU3hM\r\n/v0ieRSBK5yVPBKG1KQKoq9/Mq+YQvu47A52ogmdIJ8W/NysJHewnVHfdlLb\r\n6SOnqOScAJJYWELBQZaLUb/e5ykT6amjPH+R/aUu6aNEhVqd2Qi2qDUDFP/m\r\nwm+LPCv+TopYLHILexfpV9u9b/nFb4F3R8F021G1zscyuqXd8esZAub5i/r7\r\nwyJbt49JKvw4cMziunfw+lTLZ7Kqq6joCgut0AdjYLyqzyR5aUZqV3L/gnfR\r\n+Oi2duCn6PNljJc05i4yyZvL+oqZZjs7j4onz9ddj1LVckGSNa3BaBEHpamw\r\nzl8ry49xxDwKA7Ja5xEtJV4kBagpBFl7qQY+Nta9OAQByY/rfZ7qvSY8/6sm\r\nnE8XCnEymbzM4PxdOGziCZ5zgeIP0LqqSho=\r\n=gbKt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExafy2oqjNeqWxN7fKIv8NEmIByXhjtZrkZkIZ+Zb5rAiEArDwO8MT8aFp/TTFVA0L9zamPkScPtuD8MGYjSUdudrw="}]},"_npmUser":{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},"directories":{},"maintainers":[{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},{"name":"benoitedukera","email":"benoit.rognier@edukera.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-well-crank_0.0.3_1646937589546_0.871012858435732"},"_hasShrinkwrap":false},"0.0.4":{"name":"@completium/event-well-crank","version":"0.0.4","description":"Detects events emitted by smart contracts on the Tezos blockchain, and executes registered event handler functions.","main":"build/src/index.js","types":"build/src/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"TODO"},"keywords":["archetype","tezos","smart-contract","completium","event","blockchain"],"license":"MIT","bugs":{"url":"https://github.com/completium/event-well-crank/issues"},"homepage":"https://github.com/completium/event-well-crank","scripts":{"build":"npx tsc --outDir build","test":"node ./build/tests/test.js","bind":"archetype --target bindings-ts ./tests/contracts/testevent.arl > ./tests/test_bindings_gen.ts","deploy":"mocha --timeout 0 --slow 99999999999999999999 ./tests/deploy.js"},"dependencies":{"@taquito/michel-codec":"^11.2.0","@taquito/rpc":"^11.2.0","@taquito/taquito":"^11.2.0","@taquito/utils":"^11.2.0","typescript":"^4.6.2"},"devDependencies":{"@completium/completium-cli":"^0.3.25","bignumber.js":"^9.0.2","mocha":"^9.2.1"},"gitHead":"edb230d726695f8ed64d52852d414d84d8136158","_id":"@completium/event-well-crank@0.0.4","_nodeVersion":"16.14.0","_npmVersion":"8.3.1","dist":{"integrity":"sha512-iDrS+/ARGeXdawbvgt0viVNfdLT8CZ3alBUG1jVN+XJaOmLMy+u+Tb31UbwhxYOvH2Mqz+f3Yi3xO2W2wXJlfw==","shasum":"b28ed2d02883cd4bd3db1ea9424023716407b5b8","tarball":"https://registry.npmjs.org/@completium/event-well-crank/-/event-well-crank-0.0.4.tgz","fileCount":14,"unpackedSize":22196,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMPCOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq7rA//cd5SeeZI74XFBycRM3Dky91pNGceMflyyE77DUkY/u1To3xK\r\nnr+ESpXZwp15qFjmKxezqG+wBa9GQvp7JClvL8edRkX2nkvfpr8dOswiPpLt\r\nH4Gif8U+x11z+mBgYUTBC5BbkSWqAuTLu55b2bUmX2hqDo3ID0v0yxrGiF/S\r\nTuXukbF0cxyVQmSEnWMHKYnwc4Evmo3CVCUDKh+wKJdSjlTMu+iyTjpcJMyF\r\n/3GnPH6J1v4AUgDgVNeURA6bHTH1IzLCNyYQnXVKrK4bwG6etsn7HHLlOz5q\r\nkcQTKKGBr26o3zEAnpWqG0+JMZhXqA0OJRAHe1nKo9GI3lAhrDrbbFCvYWgX\r\nNdjRqs9NlfDg72ufXl21I60/hIqV6VFGYYbu4FYuCJax5PflFUK7POnAZpHD\r\naI+7E/k7k/Bpi/Vp5ivTc5CQmPl8k2POuDpO+q5mIkkCSfdhh3MPVHRTNFts\r\n2VQQVgqPQZBhAC32MlN0p2+4v7jCZqGFus9uC6VSqywnLC+T6bcs3y+L9QRY\r\nqmePDQEw3KUa34fc4A8vbmSFHI7DSVZMum2AQjp4ZEq3TQWjU7UxRsAuk+/2\r\n8akjNCC0xzCbPd5i4LEwfpXof9DV3De+QLj6Kl6JdRWqVPsmq6MfVhYNu4rD\r\nBNM9639ShFHJP7H/822D3ZCvmgI3rLoI5Wk=\r\n=jfNi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGju5Af3T0BlA+8aPtddk8hIQalNUNtQLMBhQBR5INK4AiEA/RlaYDWr06JH6Rqu2V+eBPUcWnocVmga/QnawwIQGtY="}]},"_npmUser":{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},"directories":{},"maintainers":[{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},{"name":"benoitedukera","email":"benoit.rognier@edukera.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-well-crank_0.0.4_1647374478751_0.7019397182426994"},"_hasShrinkwrap":false},"0.0.5":{"name":"@completium/event-well-crank","version":"0.0.5","description":"Detects events emitted by smart contracts on the Tezos blockchain, and executes registered event handler functions.","main":"build/src/index.js","types":"build/src/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"TODO"},"keywords":["archetype","tezos","smart-contract","completium","event","blockchain"],"license":"MIT","bugs":{"url":"https://github.com/completium/event-well-crank/issues"},"homepage":"https://github.com/completium/event-well-crank","scripts":{"build":"npx tsc --outDir build","test":"node ./build/tests/test.js","bind":"archetype --target bindings-ts ./tests/contracts/testevent.arl > ./tests/test_bindings_gen.ts","deploy":"mocha --timeout 0 --slow 99999999999999999999 ./tests/deploy.js"},"dependencies":{"@taquito/michel-codec":"^11.2.0","@taquito/rpc":"^11.2.0","@taquito/taquito":"^11.2.0","@taquito/utils":"^11.2.0","typescript":"^4.6.2"},"devDependencies":{"@completium/completium-cli":"^0.3.34","bignumber.js":"^9.0.2","mocha":"^9.2.1"},"gitHead":"f99f77be46fc92d5caeb6f21be629eec49aa882a","_id":"@completium/event-well-crank@0.0.5","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-gKIwUHuCLleVom4IVj1WNS0rAho2pSo4q65E+tc4zv0VD6a7/9hflqk83y+wclAQCwRYF37T3jgaXeh5BSOqPA==","shasum":"d344afbadc97d32abc2389b8304aa9b04f095825","tarball":"https://registry.npmjs.org/@completium/event-well-crank/-/event-well-crank-0.0.5.tgz","fileCount":14,"unpackedSize":23915,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC1A6zJhxABUawbQpGCKQtyXz4m9rCggZ5fw+NTFQxA6AiBJuRA0bI8rVNZJmz8CVAwZ+JoYlR0rQBaonoLN0Y9e+Q=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiRw5mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpj1Q//cBcWheGZFP/fYSxFjjROJPg15uW6VAFzjZXYgmy0jWorXRuW\r\nn6UZcGhKb3l/XrnsPvoTvtzHTYKJdrCPPefA9VNaoNVJCuxzekqJ+dvibKP2\r\nBQBV+kMmOedjeDrp6UiXdt4Rk040TURWeAYCKL23Tbrpb2L5flFfwD/s8pss\r\nlQmzCMUJtX0ICHclKD+dCiUXJZOCN/WMWdWdiELPd7L28SHs3sayeZqKUgOZ\r\nN7VE0E/swbun+Yx5DOzvrtJeLijQZWsYfsOa2kStsz0HF5gHljwMuRhu94nW\r\n2674ckwhKtRKNHMLB53SP16c36MXb/xNFpuBrO1Obt1uJqzpEKJ5Nj+nIM38\r\n9aCcMrmuAYbHApMz5XnD9bCnPr6ON7qnXPlswIAP6JNth28x7JLrDzHEjxoi\r\n1ORrkU2D244dmcBGGJ2zw9MXPX4p+BqpgwSdbcc8X8FQsxApzAKB/R78VRsY\r\ncRSzoJBRVytD7KkKaOdLFEGKt4XMm4zlKPnyCk8bUI5+hrnHdMW9hXghnwLC\r\noXsFi9uPk5BHjKYfc+pCjxBdKAQrfgVf2K0qZvOMkXKVy3sRUf36jj5HqTWW\r\n3yWkPw068Bb9jluZe8IkD0Hg69qvyhccvKpv2VF/i7CphncbEfS0M1Gr0C0j\r\nLsqiiUqFrLYaT62acV7ej8ccrndvA/jUblM=\r\n=La7C\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},"directories":{},"maintainers":[{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},{"name":"benoitedukera","email":"benoit.rognier@edukera.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-well-crank_0.0.5_1648823910561_0.26538179969984665"},"_hasShrinkwrap":false},"0.0.6":{"name":"@completium/event-well-crank","version":"0.0.6","description":"Detects events emitted by smart contracts on the Tezos blockchain, and executes registered event handler functions.","main":"build/src/index.js","types":"build/src/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"TODO"},"keywords":["archetype","tezos","smart-contract","completium","event","blockchain"],"license":"MIT","bugs":{"url":"https://github.com/completium/event-well-crank/issues"},"homepage":"https://github.com/completium/event-well-crank","scripts":{"build":"npx tsc --outDir build","test":"node ./build/tests/test.js","bind":"archetype --target bindings-ts ./tests/contracts/testevent.arl > ./tests/test_bindings_gen.ts","deploy":"mocha --timeout 0 --slow 99999999999999999999 ./tests/deploy.js"},"dependencies":{"@taquito/michel-codec":"^12.0.0","@taquito/rpc":"^12.0.0","@taquito/taquito":"^12.0.0","@taquito/utils":"^12.0.0","typescript":"^4.6.2"},"devDependencies":{"@completium/completium-cli":"^0.3.34","bignumber.js":"^9.0.2","mocha":"^9.2.1"},"gitHead":"67878561553108d75d6c2bbae4950c697ba796f0","_id":"@completium/event-well-crank@0.0.6","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-MUOmzWYpNy+MadtDoPZXGHx7MLFjvApStjfZ/0RSu70OeJAOnrcASQfN1urRg8a039Y12D+7/aIGd9JPn8oE6w==","shasum":"9604ffe31546bf9fc62ea263c9be926a9ba4ad8c","tarball":"https://registry.npmjs.org/@completium/event-well-crank/-/event-well-crank-0.0.6.tgz","fileCount":14,"unpackedSize":24347,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFlUjeQOzkBI6KWofWk/yMJalEMtv/QrMluoiaZT+y5XAiEAnQhz2eXfwulxprbfT1qk8X8h2fhnHc+qtjyU0+sQT5w="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSEcKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMSxAAmU1OnAMnmMTg4vdPDZFFmcVSgjy4Q42ymkkajh1+GA8eIi8V\r\nZO+mJ/SOmKWAvEurkVt4T2stsc1U9VgWffTyIoIkgpknhNNe9r3y7PtcPDen\r\n9vezkfUNuBUyyOEbONbDVGCWLpQKc92kScCKenYuuzEnI63bu9aS4ld0O6Fj\r\nopoLL8YRgzkw2tWtVM9onen5J/CsgZKqx56doI4+W0Jzzv7MrkHMam2HoJ28\r\negbOJHnoiU8drhdDDioMsr8YiUyJXddKKEMQm7EX+SI+YSXCMPneMKRc86uE\r\nNYqzqycQ/9GdWLEkjLh4SXcY1JeSHo7uMLmN0f7SJCjqd9cmtby8uLdoQd8u\r\ndFq2xlkRrAChXvI6uDvEhutBhtQigMYJ+tlvANiym+3nfO94nPM5BNAjhDiR\r\nVkADfsleoCfuQRew09HDRWHndge38D5xaLULPMNJNGsPO+9z+klczN9M1HUR\r\noBUfhufoTkSK2Qhb6mZbCDdAmWUzw+JSwvAHnsokiFZehIuUtRuOk0gBL7Yj\r\n5zl5X+T7MdAd05w0O0587K6ynO9REYgpFyUCHANJG5O1yVd3oFI3XmZrHNB0\r\nSJY26DVNd7pdYGqY1r3vHSNNlTizKFnZTIDqHOEASAAhdrgNN4ASpRaymFa5\r\n+6J2BiIr7i3o0YiQ/Yoyzzi/Y2tfwUV8AH0=\r\n=hlvx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},"directories":{},"maintainers":[{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},{"name":"benoitedukera","email":"benoit.rognier@edukera.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-well-crank_0.0.6_1648903946489_0.9887717283710276"},"_hasShrinkwrap":false},"0.0.7":{"name":"@completium/event-well-crank","version":"0.0.7","description":"Detects events emitted by smart contracts on the Tezos blockchain, and executes registered event handler functions.","main":"build/src/index.js","types":"build/src/index.d.ts","publishConfig":{"access":"public"},"repository":{"type":"git","url":"TODO"},"keywords":["archetype","tezos","smart-contract","completium","event","blockchain"],"license":"MIT","bugs":{"url":"https://github.com/completium/event-well-crank/issues"},"homepage":"https://github.com/completium/event-well-crank","scripts":{"build":"npx tsc --outDir build","test":"node ./build/tests/test.js","bind":"archetype --target bindings-ts ./tests/contracts/testevent.arl > ./tests/test_bindings_gen.ts","deploy":"mocha --timeout 0 --slow 99999999999999999999 ./tests/deploy.js"},"dependencies":{"@taquito/michel-codec":"^12.0.0","@taquito/rpc":"^12.0.0","@taquito/taquito":"^12.0.0","@taquito/utils":"^12.0.0","typescript":"^4.6.2"},"devDependencies":{"@completium/completium-cli":"^0.3.34","bignumber.js":"^9.0.2","mocha":"^9.2.1"},"gitHead":"ad8283a1ba252dfc96ba3cbd793ec0cd03437307","_id":"@completium/event-well-crank@0.0.7","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-biN6rWpOUoorMvwLzLrdnFkQTrMJoVu5lCBm6qAV3vhbX3oGu7QBzvVPZwZSWUUmerVVDF2q1UB4G5bjYJhwpw==","shasum":"4a8df84f3dade1b235575ce3cc3331a3a5ce2f79","tarball":"https://registry.npmjs.org/@completium/event-well-crank/-/event-well-crank-0.0.7.tgz","fileCount":18,"unpackedSize":26765,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmCLoPLnsB+QjEcYSoNL6mzZPlHjjPKfYdT+BXTaUcSAiEA/CTCRmtCLaJqXIwMFyINlpp+9ire8Hu5vOXo3t5lvkw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiSGBeACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpzyA/9Gq70Qtlka+KKFRxfQLpgQoHZETdTXwLEt57J73vATCbV0D1y\r\n++DLJK1nWpKHIwVTfG0wXWjN3zhIAMp/L+74Y+tfrpV/xFtTgBFwlEh/4lk8\r\niUvg7j0pztQQoxLBPnJGH1ezDfYi3P3qWARCA2Nj1xhanWZGfFR3CzQXoSpR\r\n/i7PKPs3C4mI68OnC8esWc1RiZVR52zaNF6ALkrHzbVlE1mmsQD8cfzaakAj\r\nNb1uLRAxfIziv6PmvJXbPNCSl02RbRjPSo7GtAHo2Pn5iokxAcsTx11gnbwj\r\n3W3dM2r4FKjfFHiMQ4IGNLOJ1AiPdC8dbeIUXsTMJpnlawrTtEtEaFJMu2uC\r\n7uxCGOvaWmASfNexCzox1zuxKzFlcVv+KKuCFpzmC092EZ5Ny9mDISJ/NNGD\r\niOZ0jLuokC8r026m/1yDcoVBv+/JghIfErn3SwEIe4pv5aKOydVlLQommuVT\r\nZTkpwPKGoYaYmIX2T5666qM05FlpR0oczdW56+zVrWB4KjWG13tOil8CwrLE\r\nXiHqtSb6rIRS0eOyVqn51+OKFyYgGbczrSxgxskOV1tawifJNFGO+3NYKQ/V\r\nmj1GmpNVFPz8YSCNDPRk0k+vLZHf9cxjJ8HawckauGy7qAv3hfg8pbOOuYYR\r\nLmPKPTwbUJAx59cqGDkX4ARgikPafT694e8=\r\n=MdSJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},"directories":{},"maintainers":[{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},{"name":"benoitedukera","email":"benoit.rognier@edukera.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/event-well-crank_0.0.7_1648910430494_0.5637293266190537"},"_hasShrinkwrap":false}},"time":{"created":"2022-03-08T13:18:07.829Z","0.0.1":"2022-03-08T13:18:08.026Z","modified":"2022-04-05T00:40:07.035Z","0.0.2":"2022-03-08T13:28:46.875Z","0.0.3":"2022-03-10T18:39:49.691Z","0.0.4":"2022-03-15T20:01:18.949Z","0.0.5":"2022-04-01T14:38:30.804Z","0.0.6":"2022-04-02T12:52:26.638Z","0.0.7":"2022-04-02T14:40:30.617Z"},"maintainers":[{"name":"guillaumeedukera","email":"guillaume.duhamel@edukera.com"},{"name":"benoitedukera","email":"benoit.rognier@edukera.com"}],"description":"Detects events emitted by smart contracts on the Tezos blockchain, and executes registered event handler functions.","homepage":"https://github.com/completium/event-well-crank","keywords":["archetype","tezos","smart-contract","completium","event","blockchain"],"repository":{"type":"git","url":"TODO"},"bugs":{"url":"https://github.com/completium/event-well-crank/issues"},"license":"MIT","readme":"# Event Well Crank\n\n`@completium/event-well-crank` detects events emitted by smart contracts on the [Tezos](https://tezos.com/) blockchain, and executes registered event handler functions.\n\n## API\n\n### `register`\n\nRegisters an event handler for a specific contract. It takes 3 arguments:\n* the address of the emitter contract\n* the function to create an event from its packed version\n* the *event handler* function that takes 2 arguments:\n  * the emitted event\n  * the event data (optional)\n\nThe function to create the event may be automatically generated (see [Bindings](#bindings) below).\n\nThe event data provides information about the emitted event:\n* date\n* block hash\n* operation hash\n* source of the event (account address at the source of the event emission)\n\n### `startCrank`\n\nStarts the crank process. It takes an optional `CrankOptions` object with optional fields:\n\n| Field | Type | Default | Desc |\n| -- | -- | -- | -- |\n| `bottom` | `string` | `head~4` | block hash to start crawling from |\n| `delay` | `number` | `2000` | number of milliseconds between two lookups of the event well contract |\n| `horizon` | `number` | `3` | number of blocks to look back (the higher, the higher the probability to read the main branch) |\n| `endpoint` | `string` | `https://mainnet.api.tez.ie` | endpoint used by the event crank |\n| `well` | `string` | (see below) | address of the event well contract |\n| `verbose` | `boolean` | `false` | flag to turn crank's verbose mode on/off |\n\nThe well contract is deployed on mainnet and testnets:\n\n| Network | Well address |\n| -- | -- |\n| mainnet | `KT1AHVF5m8XaWPQCGgfAsZ9eSJJZ7WVGV2hE` |\n| ithacanet | `KT1ReVgfaUqHzWWiNRfPXQxf7TaBLVbxrztw` |\n| hangzhounet | `KT1Aho6K97CKApDSCxXEzvP14qd1qTHhF4uH` |\n\n### `stopCrank`\n\nStops the crank.\n\n## Bindings\n\n[`@completium/completium-cli`](https://www.npmjs.com/package/@completium/completium-cli) generates the TS bindings from an [Archetype](https://archetype-lang.org) contract. It generates for each event emitted by a contract:\n* the event type\n* the `make` event function\n* the dedicated register function (calls [`register`](#register) function with generated `make` function), which takes 2 arguments:\n  * the address of the emitter contract\n  * the event handler function\n\nThe completium CLI command to generate the bindings:\n\n```bash\n$ completium-cli generate bindings-ts mycontract.arl > mycontract-bindings.ts\n```\n\n## Example\n\nThis example illustrates how to emit event from a smart contract and how to receive them in a Dapp.\n\n### Emit event\n\nDeclare the event type with the `event` declaration and emit an event with the `emit` instruction:\n\n```typescript\narchetype event_demo\n\nevent TestEvent {\n  val: string\n}\n\nentry emit_event(v : string) {\n  if length(v) > 20 then\n    emit<TestEvent>({ val })\n}\n```\n\nDeploy the contract on the testnet with the following command:\n```bash\n$ completium-cli set endpoint https://ithacanet.ecadinfra.com\n$ completium-cli deploy event_demo.arl\n```\n\n### Receive event\n\nGenerate bindings with the following command:\n```bash\n$ completium-cli generate bindings-ts event_demo > bindings-event_demo.ts\n```\n\nIt generates the following two elements:\n* `EventDemo`\n* `register_TestEvent`\n\nThese elements may be used to implement the event receiver application which registers an event handler and starts the cranks. Say the event demo contract deployed above is at address `KT19EAMugKU416cbA9jL1XcukWArfpv4dLYA`\n```typescript\nimport { runCrank } from '@completium/event-well-crank';\nimport { register_TestEvent, TestEvent } from './bindings-event_demo';\n\nconst handleTestEvent = (e : TestEvent) => {\n  console.log(`Test Event received with value \"${e.val}\"!`);\n}\n\nconst run = async () => {\n  register_TestEvent('KT19EAMugKU416cbA9jL1XcukWArfpv4dLYA', handleTestEvent);\n  runCrank({\n    endpoint: 'https://ithacanet.ecadinfra.com',\n    well: 'KT1ReVgfaUqHzWWiNRfPXQxf7TaBLVbxrztw'\n  })\n}\n\nawait run()\n```\n\n### Execute\n\nCompile and run the application above. Then call the contract with the following command:\n\n```bash\n$ completium-cli call event_demo --arg `{ \"v\" : \"This is a long enough string.\" }`\n```\n\nAfter a few blocks generation, the application prints the following message:\n\n```\nTest Event received with value \"This is a long enough string.\"!\n```\n","readmeFilename":"README.md"}