{"_id":"@bananapus/buyback-hook","_rev":"27-d01e6430ebddb6f2e880da2948490a7c","name":"@bananapus/buyback-hook","dist-tags":{"latest":"1.0.0"},"versions":{"0.0.1":{"name":"@bananapus/buyback-hook","version":"0.0.1","license":"MIT","_id":"@bananapus/buyback-hook@0.0.1","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"682260c399b3fc8d29c8c72bbb10349337e122c8","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.1.tgz","fileCount":17,"integrity":"sha512-yAMpdvOl8ewnNIKDJM2T/Dz1Mn6Vwi6P0B/mxZpc1qK1M4enwbLp0G9QX718k9It5fXeohk2gOSAVKXE5oEcxg==","signatures":[{"sig":"MEQCIGZ17Q8eC7CkCRfEwHgPKYbYQp5FLfjvzh5JTrccf48iAiB7tBnTh801zWdxRfj/VxycLcn+/sQMdH93pZfiA4qBAw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":231933},"gitHead":"2d6bcccbbf0227e86e54b42bce437a89e73a9b07","scripts":{"test":"forge test","test:fork":"FOUNDRY_PROFILE=CI forge test","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary","deploy:ethereum-mainnet":"source .env && forge script Deploy --chain-id 1 --rpc-url $RPC_ETHEREUM_MAINNET --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_ETHEREUM_MAINNET -vvv","deploy:ethereum-sepolia":"source .env && forge script Deploy --chain-id 11155111 --rpc-url $RPC_ETHEREUM_SEPOLIA --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_ETHEREUM_SEPOLIA -vvv","deploy:optimism-mainnet":"source .env && forge script Deploy --chain-id 420 --rpc-url $RPC_OPTIMISM_MAINNET --broadcast --verify --etherscan-api-key $OPTIMISTIC_ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_OPTIMISM_MAINNET -vvv","deploy:optimism-sepolia":"source .env && forge script Deploy --chain-id 11155420 --rpc-url $RPC_OPTIMISM_SEPOLIA --broadcast --verify --etherscan-api-key $OPTIMISTIC_ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_OPTIMISM_SEPOLIA -vvv"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.2.3","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"18.19.0","dependencies":{"@bananapus/core":"^0.0.2","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.1","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.1_1707936455472_0.6615078098873033","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@bananapus/buyback-hook","version":"0.0.2","license":"MIT","_id":"@bananapus/buyback-hook@0.0.2","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"ff6d86751e3cf118508d98ef0bb84e2fdc5b6126","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.2.tgz","fileCount":16,"integrity":"sha512-sWsrkAQx9d5Qm0vQLhA4e9Ec+zp4Bga1HHxy+ntPi4LUIMwV4LFhvYq3g6Nsge4Zm7k8G+15kXcGVho0XDAEVQ==","signatures":[{"sig":"MEUCIAIiwuL221jaJtNWJwBMnBOwhX5UE+3Be3QHrtIYPwI+AiEAsWyUgklgkyX7YpJNajXXtBlngCag0RiBRhDIJWzH4ik=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":235852},"gitHead":"1260fecbf5b20f3acdc0eda4d345508795bf5fb2","scripts":{"test":"forge test","test:fork":"FOUNDRY_PROFILE=CI forge test","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary","deploy:ethereum-mainnet":"source .env && forge script Deploy --chain-id 1 --rpc-url $RPC_ETHEREUM_MAINNET --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_ETHEREUM_MAINNET -vvv","deploy:ethereum-sepolia":"source .env && forge script Deploy --chain-id 11155111 --rpc-url $RPC_ETHEREUM_SEPOLIA --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_ETHEREUM_SEPOLIA -vvv","deploy:optimism-mainnet":"source .env && forge script Deploy --chain-id 420 --rpc-url $RPC_OPTIMISM_MAINNET --broadcast --verify --etherscan-api-key $OPTIMISTIC_ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_OPTIMISM_MAINNET -vvv","deploy:optimism-sepolia":"source .env && forge script Deploy --chain-id 11155420 --rpc-url $RPC_OPTIMISM_SEPOLIA --broadcast --verify --etherscan-api-key $OPTIMISTIC_ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_OPTIMISM_SEPOLIA -vvv"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.2.4","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"18.19.1","dependencies":{"@bananapus/core":"^0.0.5","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.1","@bananapus/permission-ids":"^0.0.2","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.2_1708705397355_0.0165013330947974","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@bananapus/buyback-hook","version":"0.0.3","license":"MIT","_id":"@bananapus/buyback-hook@0.0.3","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"6b58843002464eda8589443f4cbe31674fa575e1","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.3.tgz","fileCount":16,"integrity":"sha512-cR/KmYHv79LKfVvsid1wZqh/9xUvATwRh2KSQpIx3fPW3IPq7SWX2nZNcLVnfKSqYbPhPhpac+njfQ6KejvwXA==","signatures":[{"sig":"MEUCIFZxToSAjb7pNLsscZW3Q0s0Up3kjd+uBKRJH4Mk6ckMAiEAvCPSkFSiWErFAO26L7qi3PdbpkqZvPk0KoPYAlCEjxQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":236085},"gitHead":"c3cb86b16899f69151f121876f51238f8723949d","scripts":{"test":"forge test","test:fork":"FOUNDRY_PROFILE=CI forge test","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary","deploy:ethereum-mainnet":"source .env && forge script Deploy --chain-id 1 --rpc-url $RPC_ETHEREUM_MAINNET --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_ETHEREUM_MAINNET -vvv","deploy:ethereum-sepolia":"source .env && forge script Deploy --chain-id 11155111 --rpc-url $RPC_ETHEREUM_SEPOLIA --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_ETHEREUM_SEPOLIA -vvv","deploy:optimism-mainnet":"source .env && forge script Deploy --chain-id 420 --rpc-url $RPC_OPTIMISM_MAINNET --broadcast --verify --etherscan-api-key $OPTIMISTIC_ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_OPTIMISM_MAINNET -vvv","deploy:optimism-sepolia":"source .env && forge script Deploy --chain-id 11155420 --rpc-url $RPC_OPTIMISM_SEPOLIA --broadcast --verify --etherscan-api-key $OPTIMISTIC_ETHERSCAN_API_KEY --interactives 1 --sender $SENDER_OPTIMISM_SEPOLIA -vvv"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.2.4","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"18.19.1","dependencies":{"@bananapus/core":"^0.0.6","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.1","@bananapus/permission-ids":"^0.0.2","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.3_1708726216899_0.30466110928821366","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@bananapus/buyback-hook","version":"0.0.4","license":"MIT","_id":"@bananapus/buyback-hook@0.0.4","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"064f8540207052a368aa4959a4f6b8587d709fd3","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.4.tgz","fileCount":28,"integrity":"sha512-B++0dlcrcCcA5GtI3Qvs+xMcFcGBWgo/SlIWYnvOTMNy/TuL5e1tg0cj1NY3NQxVKaNxXRHL9PXuajOg/uyX7Q==","signatures":[{"sig":"MEQCIFE+/UvO9IxI0svQYZghcnxU8rR3M1dACcYqW3PQa5LyAiAhTMZcqDQ9RPhef2/WVIu3BHEbNt+r5pLgXWFF4FUa0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1992959},"gitHead":"88af48200f9fb6a6aa8474588a189bf6557231df","scripts":{"test":"forge test","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.5.0","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"21.7.1","dependencies":{"@bananapus/core":"^0.0.7","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@sphinx-labs/plugins":"^0.30.5","@uniswap/v3-periphery":"github:uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.1","@bananapus/permission-ids":"^0.0.2","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.4_1710892582945_0.20140054322084344","host":"s3://npm-registry-packages"}},"0.0.5":{"name":"@bananapus/buyback-hook","version":"0.0.5","license":"MIT","_id":"@bananapus/buyback-hook@0.0.5","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"83abea9c4d666b3303c10636e21ede81cecfb2fd","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.5.tgz","fileCount":28,"integrity":"sha512-SR85Z6wFB2LkitXQbPqcBvJ+iwj8+ngFA9R5OGkBHf4vggejld/P8lS79VAMZXPr+XT0MUy1So3h3+DTkulumQ==","signatures":[{"sig":"MEYCIQCNMYp6ibenEeQfspNrPeQ5Q2jbaqPKNb85XXJac5y8NgIhAJD83+VQWLCYLyNekrSF9fP+ngt8o9EC+mgpNyiwBq0+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1993146},"engines":{"node":">=20.0.0"},"gitHead":"4d39405f4bb032f9819a7287a7bb8b5b24eb3ef0","scripts":{"test":"forge test","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.5.0","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"21.7.1","dependencies":{"@bananapus/core":"^0.0.8","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.1","@bananapus/permission-ids":"^0.0.5","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.30.5"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.5_1712107288970_0.21836632250560517","host":"s3://npm-registry-packages"}},"0.0.6":{"name":"@bananapus/buyback-hook","version":"0.0.6","license":"MIT","_id":"@bananapus/buyback-hook@0.0.6","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"191b972d5f7bcadd5e12f7f621178f08b00ae1c3","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.6.tgz","fileCount":32,"integrity":"sha512-PYfQdj31rr4COYPvx5GwiI6TGLE5VCuIlcemGz8C0SJ5MXo6Aj8OEaUUim3ioM0HXDfjrkXqD808geNlpZZPmg==","signatures":[{"sig":"MEYCIQCQWBznnj/d2cYxjmFFfY0s2vAbuLejX6MYs95oXSZiLgIhAN4v3+AST1EQOTlx3nq351h4MGJ4wyFDY1QstR88sk3U","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2460634},"engines":{"node":">=20.0.0"},"gitHead":"29640406278de4bd7453c5ebb81803be1523cf91","scripts":{"test":"forge test","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.5.0","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"21.7.1","dependencies":{"@bananapus/core":"^0.0.9","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#1.3","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.5","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.30.12"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.6_1712116029662_0.2606507311208248","host":"s3://npm-registry-packages"}},"0.0.7":{"name":"@bananapus/buyback-hook","version":"0.0.7","license":"MIT","_id":"@bananapus/buyback-hook@0.0.7","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"5b59824548b717eb8fbc3b3fcd3cf25685dd0ef0","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.7.tgz","fileCount":31,"integrity":"sha512-B/0a4XM8Ikfa//9RAKo6LaUuoTGebvIuLz1sCeC4j9kv+pdGHzlWlbTn+IQ+rRrnu0E+Cam+RaMUOw6iWk4Bog==","signatures":[{"sig":"MEYCIQDGZvW7TqODuknpoUVAM70AT4Z2+gpl2GXBQXRe1ZqOOgIhANhQ6LLSw9P5jmP4IyGaMf9U7wrCJKZSvwC6vWbssPjP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2455779},"engines":{"node":">=20.0.0"},"gitHead":"e94ecc3486632b74013f4af1b23dedf8e4008f16","scripts":{"test":"forge test","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.5.0","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"21.7.2","dependencies":{"@bananapus/core":"^0.0.10","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#1.3","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.5","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.30.12"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.7_1712695814549_0.41552719250532455","host":"s3://npm-registry-packages"}},"0.0.8":{"name":"@bananapus/buyback-hook","version":"0.0.8","license":"MIT","_id":"@bananapus/buyback-hook@0.0.8","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"91135895845d0e3d9677592be6b61fbb557bf059","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.8.tgz","fileCount":35,"integrity":"sha512-iqnRt81N8xZzlNwIT0C9Z5FFtmn0OEuslK0SgA2zJPqLSvn/koTMetyxq5HDRf8GLNtMFUfZcP7cUWpvWUnXiw==","signatures":[{"sig":"MEUCIQDTO3wxKwJjX4pc4qcOsDuVasIILkXv3LwFdZWtc151IgIgTGH556Yi0ie87TxmaD6PXYD1iqHExb5nvLmvBK+p0HI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2926962},"engines":{"node":">=20.0.0"},"gitHead":"f4dc05a95237008e984ff554b09f909ec25a47b7","scripts":{"test":"forge test","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.5.0","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@bananapus/core":"^0.0.12","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#1.3","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.5","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.31.6"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.8_1712844291839_0.5856264746005932","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@bananapus/buyback-hook","version":"0.0.9","license":"MIT","_id":"@bananapus/buyback-hook@0.0.9","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"55deff1bf83d1fc8ffd851a2006984c7bb2465f2","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.9.tgz","fileCount":42,"integrity":"sha512-oDhrl98Krax8e8anls21mh5dc4MIoh6VsPtUDIZdt4rQoiyy49SOwm56PfXWlmfSoMpixn9md2/mQbQiBfYmQA==","signatures":[{"sig":"MEUCIHcU6p90UAlgo8PbebcBc63wZ+BuW0eEfcjJPvtKpikuAiEAxc8aXsRoavYR8DBl+BA8YPVeQ2TRMrtLhRBsWaYtQ7E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4931571},"engines":{"node":">=20.0.0"},"gitHead":"1f4b1b6daf23c931b1a66c91cd91d0a21d78c20e","scripts":{"test":"forge test","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.5.0","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"21.7.3","dependencies":{"@bananapus/core":"^0.0.13","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#1.3","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.5","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.31.11"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.9_1713741999590_0.3086007797015444","host":"s3://npm-registry-packages"}},"0.0.10":{"name":"@bananapus/buyback-hook","version":"0.0.10","license":"MIT","_id":"@bananapus/buyback-hook@0.0.10","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"0e1071a1056564fab76765defe3903b68da67159","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.10.tgz","fileCount":47,"integrity":"sha512-C8qIwL94chvHeZOK2Ljf8OZrtvN9Qztv/d1xsX+yQuKrBz53GsL19Q30p3HxPtAIxYZJNn+/AjDMZNIuRaRdQA==","signatures":[{"sig":"MEUCIFuaNQ3BL2ONeBQElVrge4CF3C1/FLptrQjo1Nd2dP1eAiEAyhsU/RWmc8nGf2P9GIwaP3Gczo8iF6bYdBkS3yXyZcE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6055721},"engines":{"node":">=20.0.0"},"gitHead":"e19f25d15cedceefd8cc8ae5bf59ecd0a4b72c45","scripts":{"test":"forge test","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.7.0","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"22.1.0","dependencies":{"@bananapus/core":"^0.0.14","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#1.3","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.5","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.31.12"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.10_1714668220634_0.44411362117617803","host":"s3://npm-registry-packages"}},"0.0.11":{"name":"@bananapus/buyback-hook","version":"0.0.11","license":"MIT","_id":"@bananapus/buyback-hook@0.0.11","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"9f2ad54da412421abec4fddc6bddc15bb36e5f77","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.11.tgz","fileCount":53,"integrity":"sha512-pwCfSFqVALW/sdzk5QiEMmlP1YU7x8AoD3LgkKHOUtGkkV4UsmInL+8bIo3/oTI6/tym4gsR5J5C5pzjddKrdA==","signatures":[{"sig":"MEUCIQDWluqkrs+wIAbUCWrPAmbFqkKrM2xG9IrbSRJuR3KyEwIgJgHpFhhwMiGRhwm40oMD3ABk4okvH4+c9QUT3B93uPk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7177580},"engines":{"node":">=20.0.0"},"gitHead":"d4eef6be04d97e9accd66c56b363131be2a7194b","scripts":{"test":"forge test","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.7.0","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"22.2.0","dependencies":{"@bananapus/core":"^0.0.15","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#1.3","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.8","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.32.2"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.11_1717452079820_0.46753026973790623","host":"s3://npm-registry-packages"}},"0.0.12":{"name":"@bananapus/buyback-hook","version":"0.0.12","license":"MIT","_id":"@bananapus/buyback-hook@0.0.12","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"2c38fc29285949e74c42c495c600dd7335b168dc","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.12.tgz","fileCount":62,"integrity":"sha512-xcrUocHcwdd1wv/Hx3TYkAKRQ1VJHSPIckDJHHkSveF0CbeRanBRCOs3m7VFWyYCNpw7zaOQYj7B9pyk6Lju7w==","signatures":[{"sig":"MEUCIQCYWFYBsHLsj1LpAWD07p7awfb5+oX063WM2cyoX/hCMgIgStHZbX5BUA8rH+2SKDUpTdYBtK6/OnOnpqXa4KXqx7U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8322253},"engines":{"node":">=20.0.0"},"gitHead":"9522578518da02b22243714083154ebfe579fe9f","scripts":{"test":"forge test","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","coverage:integration":"forge coverage --match-path \"./src/*.sol\" --report lcov --report summary"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.7.0","description":"When a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed","directories":{},"_nodeVersion":"22.2.0","dependencies":{"@bananapus/core":"^0.0.18","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#1.3","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.9","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.32.2"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.12_1718057349471_0.3730685994407572","host":"s3://npm-registry-packages"}},"0.0.13":{"name":"@bananapus/buyback-hook","version":"0.0.13","license":"MIT","_id":"@bananapus/buyback-hook@0.0.13","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"fd2903d391b5c5f98a3c9d09346e3f6a7f56fbeb","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.13.tgz","fileCount":62,"integrity":"sha512-xCov79j3UElTa9POgfU0Wc/kV1sIb5vYhS7Y0D2slltUWi44vB89QwRDwoHaClaJHImroXNCnRGInUETTcE/hQ==","signatures":[{"sig":"MEUCIQClsJbu4MriP34EjC2ciHG79NRk2I1W9CjhYSIcZMLgeQIgdddvMtL5/u5fIlfEAeW7fJh9CVKaUfzYi0W7TzHjp1c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8326409},"engines":{"node":">=20.0.0"},"gitHead":"522454b188ddb6655737bb9387b89d250780b927","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.8.1","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"22.4.0","dependencies":{"@bananapus/core":"^0.0.20","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#1.3","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.10","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.13_1720444892405_0.3212714330502848","host":"s3://npm-registry-packages"}},"0.0.14":{"name":"@bananapus/buyback-hook","version":"0.0.14","license":"MIT","_id":"@bananapus/buyback-hook@0.0.14","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"de6f7513940fb1a1ab6740ef55fac96b9437b902","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.14.tgz","fileCount":62,"integrity":"sha512-5pUdEh9enCRdFHT0FqsnPYcWHPe7HQk+cnuQQIfgyAS0xxDYIAfRESzbVTwu7+aZgprW8Oo323MiFfxyxy7x1w==","signatures":[{"sig":"MEUCIQC4k0moVXIl0oYUJMbXTwmMNrstzOWxGDq/YE0HXI3lSgIgaF2AJG1uCz/L5NrkDyHUbH10jxqWMSus+I3TEJYXQDA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8327521},"engines":{"node":">=20.0.0"},"gitHead":"6666c5b9238482fd4360c6a9bf48f519266694b4","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.8.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"@bananapus/core":"^0.0.22","@uniswap/v3-core":"1.0.2-solc-0.8-simulate","@uniswap/v3-periphery":"github:uniswap/v3-periphery#1.3.0","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.11","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.14_1721399862833_0.8899054565825202","host":"s3://npm-registry-packages"}},"0.0.15":{"name":"@bananapus/buyback-hook","version":"0.0.15","license":"MIT","_id":"@bananapus/buyback-hook@0.0.15","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"20f62d1cfe4e3ad5c9af294662325050e8a65b9f","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.15.tgz","fileCount":62,"integrity":"sha512-A1Q4nSiKh8STKMYPhtUikqR7Clf7fdu5MgGJipIcVQtEU5EVZ94scTI0GeqxAl2ohzaFeK+jHA/PhuT35Ryw7w==","signatures":[{"sig":"MEQCIGRiN/Drq/mFORw53EvvAkQeMqW+Ja/T8VZCt0G41EgpAiAutN4pLRuCgkFrumaGMl6LszM4BkIQWO/9/CY70qyb9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8327522},"engines":{"node":">=20.0.0"},"gitHead":"74088a01fb7bb1c33e8e306744b5ecf4edb1b5a2","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'cltepuu9u0003j58rjtbd0hvu' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.8.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"@bananapus/core":"^0.0.22","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.11","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.15_1721406385395_0.40422163583911264","host":"s3://npm-registry-packages"}},"0.0.16":{"name":"@bananapus/buyback-hook","version":"0.0.16","license":"MIT","_id":"@bananapus/buyback-hook@0.0.16","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"707414db1ad408434efed9cead0bc80361f15b89","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.16.tgz","fileCount":67,"integrity":"sha512-kjTpMIQrl8Cx4U9+m+CVf01TIxdK5lByNesQwzk3SCurm6cqvklbNccv/oGIPNeWrSiJddtTBbTz/PEBXchkZg==","signatures":[{"sig":"MEQCIG1RT7d9AVeju2Q6gV7THTD/COC9HNhpofYtmjFaNndLAiBE4zs6Ifg9ufK11wuEEwncQho11LQe/NwQorBLXLbXjQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8964316},"engines":{"node":">=20.0.0"},"gitHead":"8edadb2cb2ed1a2f8950067b7f8b8913b6da34e2","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'my-org-id' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.8.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"@bananapus/core":"^0.0.23","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.11","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.16_1721507585050_0.019121977624928288","host":"s3://npm-registry-packages"}},"0.0.17":{"name":"@bananapus/buyback-hook","version":"0.0.17","license":"MIT","_id":"@bananapus/buyback-hook@0.0.17","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"6fc4fafc605bd2673973f0b18058cea20c13c7f4","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.17.tgz","fileCount":67,"integrity":"sha512-l7m9eHEuRslac/9lbAwdUXHgRNTJyqyXbnRImOuqlWFZ5LdOfsXueU03yjImt9f4e2EZBYJsYkr9+8aTowI4hg==","signatures":[{"sig":"MEQCIHy9y6HSjca4ga1vc+dDGJYQZPWnjwyv9IYHEl9fPpLMAiABqZnvI9r2Q7PvVsefEQnwiHLjdLX1OAp5zqbDTM7EOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8964387},"engines":{"node":">=20.0.0"},"gitHead":"9caaedd7d4d116463c4ceecb3147a8863f806dab","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'my-org-id' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.8.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"@bananapus/core":"^0.0.24","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.11","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.17_1721584965880_0.7042891939121523","host":"s3://npm-registry-packages"}},"0.0.18":{"name":"@bananapus/buyback-hook","version":"0.0.18","license":"MIT","_id":"@bananapus/buyback-hook@0.0.18","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"48177721287e461aac59f7abacf6bbe5567e9426","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.18.tgz","fileCount":72,"integrity":"sha512-7rn5Bm+FjeBFNCQu3k0iW1BvOnAkseRLuCeMDVvK5hMTpnpKIOVggnAAEmY0vyruQkkSpyepsh5KkxscADRIrw==","signatures":[{"sig":"MEYCIQCfpAxyKvH2fH1GMUHOk65D4SU3CVJnIG79I3iolKbtPAIhANXMOZNPEfO20mr+wSs6eINAFbmmxHvDXUEVCGcb2S6x","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9540455},"engines":{"node":">=20.0.0"},"gitHead":"d3edcc5dd2f48521ab375129dc7ae4bd6cb142b5","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'my-org-id' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.8.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"22.5.1","dependencies":{"@bananapus/core":"^0.0.25","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.11","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.18_1721589859372_0.40337700762889694","host":"s3://npm-registry-packages"}},"0.0.19":{"name":"@bananapus/buyback-hook","version":"0.0.19","license":"MIT","_id":"@bananapus/buyback-hook@0.0.19","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"8c1e1f788fb33f6ca029cff0bf2821c197baba82","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.19.tgz","fileCount":72,"integrity":"sha512-2Mp55Kn9ncpCe6e7nGxa2rJws7SwcED3m1tLwhNfIKfQ9h9TYFWf95JeflUQ9c/vjixYtn5svtqkRq5E4w9juQ==","signatures":[{"sig":"MEUCIQCJVPXLd0Ed95SE6Fx6V0+1PyoT9xq+rXh3ivsHEWegKgIgR6RUEfhJF2oDlc3R1PUtVKjpww/0nLIvGgp348XaAKY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9545160},"engines":{"node":">=20.0.0"},"gitHead":"a82a35af938359f859dfe795619387aecc4ad467","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'my-org-id' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.8.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"22.7.0","dependencies":{"@bananapus/core":"^0.0.29","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.12","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.19_1724877339743_0.5098963801153955","host":"s3://npm-registry-packages"}},"0.0.20":{"name":"@bananapus/buyback-hook","version":"0.0.20","license":"MIT","_id":"@bananapus/buyback-hook@0.0.20","maintainers":[{"name":"filipviz","email":"f@filip.world"},{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"130a429fd47af6fa0365d6811d1ba4547e159b00","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.20.tgz","fileCount":77,"integrity":"sha512-Cc5q5YavsIjRTkqRnRcENJAEmO3BsXcnlLcnny7OewJIMFuHweYUjw4L89GfDiZ1kOhaeCm61SowS/RcuYx0Eg==","signatures":[{"sig":"MEYCIQCh1XvNPsu2OgaMH6fWf2+wA8kEeWtO8O7CniWE5tBoiAIhAIoN1Nno76zWRB14YpcV5M9u/2AIB4PKtxRYQXbyvEMK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10185904},"engines":{"node":">=20.0.0"},"gitHead":"99018023512ebde99d675fae43e15869d3d9a3fa","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'my-org-id' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.8.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"22.8.0","dependencies":{"@bananapus/core":"^0.0.32","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.12","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.20_1726523982129_0.89757794030078","host":"s3://npm-registry-packages"}},"0.0.21":{"name":"@bananapus/buyback-hook","version":"0.0.21","license":"MIT","_id":"@bananapus/buyback-hook@0.0.21","maintainers":[{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"},{"name":"filipviz","email":"f@filip.world"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"6f00a235c9d7e17c8f88646fe02ce6fb44468e99","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.21.tgz","fileCount":77,"integrity":"sha512-7xuWLNqeKKmMher02Yftvy1o5YuW+7nLoyZ3e/LSryVxFWXjp0XWtWidiERwxcRQ5gnI60GOfJszRd9/ycWH7Q==","signatures":[{"sig":"MEUCIEeSemJM+QOv2jOaC2jPFHBhpYkENIn8dUzhQRb6X0T2AiEAmBLLY1mh+ibqzV5ViOppapf1BwPw6+DJhDSXA9wQzu8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10210084},"engines":{"node":">=20.0.0"},"gitHead":"9358af4eb2902bbe7e30426f114539f55c1a4b50","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'my-org-id' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.9.0","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"23.3.0","dependencies":{"@bananapus/core":"^0.0.36","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.0.2","@bananapus/permission-ids":"^0.0.16","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.21_1733179319550_0.13696762804416007","host":"s3://npm-registry-packages"}},"0.0.22":{"name":"@bananapus/buyback-hook","version":"0.0.22","license":"MIT","_id":"@bananapus/buyback-hook@0.0.22","maintainers":[{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"},{"name":"filipviz","email":"f@filip.world"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"930cd2cc8b3f684db576f12ab3355d4c6c96d28d","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.22.tgz","fileCount":82,"integrity":"sha512-UcyPnPVd7dln6dN355XW8mM8wf1ASzhBbC3f/iXoi6Dw9N98ZbdiTWGoB2b5nKIB1U5UsyqGynCgm4WFD+yUFQ==","signatures":[{"sig":"MEYCIQD9wrOrbgJuOivkWV+d0ZPl0SImEEGa8uB/P3uPvT1rvQIhAKGJknq3i87l0TkvXhfOJarnmrC/DhjYIl29LrFdWjsJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10955324},"engines":{"node":">=20.0.0"},"gitHead":"bef5ae29d794b19434ce3f69403fff25b0ae2838","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'my-org-id' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.9.0","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"23.3.0","dependencies":{"@bananapus/core":"^0.0.38","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.1.0","@bananapus/permission-ids":"^0.0.16","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.22_1733748576751_0.5996802861882842","host":"s3://npm-registry-packages-npm-production"}},"0.0.23":{"name":"@bananapus/buyback-hook","version":"0.0.23","license":"MIT","_id":"@bananapus/buyback-hook@0.0.23","maintainers":[{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"},{"name":"filipviz","email":"f@filip.world"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"0e5ea38751373a947a97c0f659ee23d2f4da4f58","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.23.tgz","fileCount":53,"integrity":"sha512-irBpD91m1VP2C5xLhPen7nRIhEaQZUwBlda4hl1O+apM2kLKHF2L/50aRwO1vPcqoUhctDF+wRM8YrTAJuPepw==","signatures":[{"sig":"MEUCIQDqocNSYWLJ2K0V+8KukUdTAMm/xpkHih3RfMx8/srVhwIgUqTMe+f0n/6mgQU9Ao4bpiCs4YWhgQrve5sJsW5jxvo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5601308},"engines":{"node":">=20.0.0"},"gitHead":"2f7ca6903dca97ab5a96e7d963327af2eefc383c","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'my-org-id' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.9.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"23.6.0","dependencies":{"@bananapus/core":"^0.0.38","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.1.0","@bananapus/permission-ids":"^0.0.16","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.23_1736464498337_0.10143291772538943","host":"s3://npm-registry-packages-npm-production"}},"0.0.24":{"name":"@bananapus/buyback-hook","version":"0.0.24","license":"MIT","_id":"@bananapus/buyback-hook@0.0.24","maintainers":[{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"},{"name":"filipviz","email":"f@filip.world"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"02879b944c25001d0521a8517f1f394dce90adda","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.24.tgz","fileCount":53,"integrity":"sha512-GZRwsLQax6YuC52rJ24xu4U5xv0lVTY5wJymLo3B2jN3eQ+Vw+gtNPDb7s6WSALB+OZTrSy4j9tIJI3aUsc+XQ==","signatures":[{"sig":"MEYCIQDyIRGZL/Ot13RlNnuQk+xoIBwkOwdVAi6j4BiHb5IEGwIhAPmYA8e+xhRK/c8wH+x06Hf1Fqd/DVa4Fgwls3PP0l6U","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5405494},"engines":{"node":">=20.0.0"},"gitHead":"1a4beb6dee05cddde8cb0e704b0b650022167634","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.9.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"23.6.1","dependencies":{"@bananapus/core":"^0.0.39","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.2.0","@bananapus/permission-ids":"^0.0.17","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.0"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.24_1737848801113_0.18282983042140688","host":"s3://npm-registry-packages-npm-production"}},"0.0.25":{"name":"@bananapus/buyback-hook","version":"0.0.25","license":"MIT","_id":"@bananapus/buyback-hook@0.0.25","maintainers":[{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"},{"name":"filipviz","email":"f@filip.world"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"2ff992d8b788985b656ed39e645dd5dd4020993e","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.25.tgz","fileCount":53,"integrity":"sha512-dMxTm2pBk+CgW0g2FSSpPjHnkP+xOrYXTBQEUumE2FriMzONXUktzmMMqyUwA1V7m9JjSj+bINOtLS6GlhRprg==","signatures":[{"sig":"MEQCIEx9qRsYKTI135rI6dK5BWb3ULjOuW5HsNPkvPZSMqT/AiA1Xy2wiy9zxzeQpKnadHxTE9486akfSv0xngDr56Zh5Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5405057},"engines":{"node":">=20.0.0"},"gitHead":"e2cb41fca96592c2e668311c87af34440779b6ea","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.9.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"23.6.1","dependencies":{"@bananapus/core":"^0.0.40","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.2.0","@bananapus/permission-ids":"^0.0.17","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.1"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.25_1738016154605_0.7929556610922439","host":"s3://npm-registry-packages-npm-production"}},"0.0.26":{"name":"@bananapus/buyback-hook","version":"0.0.26","license":"MIT","_id":"@bananapus/buyback-hook@0.0.26","maintainers":[{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"},{"name":"filipviz","email":"f@filip.world"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"a51a517a682dd57d5604445ef62ae5184eab1507","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.26.tgz","fileCount":53,"integrity":"sha512-L3hJ+dwZTZRv2Cldw9FbEhj/B2BnQigiMYaxcnmJ6YhKnyJlIgko3MDzblNTzFMUMrCDjsqwMKhxGITlv1RnoQ==","signatures":[{"sig":"MEUCIBgvJ5f5RmHsXa+nKxNPHVWScD2azR+4upKmj74Sde1IAiEAqpJv5YSA3Bw0qVMP54OqEEFvjy4PI2GgvTkL35Gct+I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5405057},"engines":{"node":">=20.0.0"},"gitHead":"208bdeb5796350d519402eb4f993eb05eb761f73","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.9.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"23.7.0","dependencies":{"@bananapus/core":"^0.0.43","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.2.0","@bananapus/permission-ids":"^0.0.17","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.1"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.26_1738709806186_0.18867926238482124","host":"s3://npm-registry-packages-npm-production"}},"0.0.27":{"name":"@bananapus/buyback-hook","version":"0.0.27","license":"MIT","_id":"@bananapus/buyback-hook@0.0.27","maintainers":[{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"},{"name":"filipviz","email":"f@filip.world"}],"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"dist":{"shasum":"dfa837e549f96b1b9fbcb27e31659cb5daa24d46","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-0.0.27.tgz","fileCount":53,"integrity":"sha512-eCdGSRUK/03kzTw9Qs1LJwV7blZ9M7AL8SYk3Jsw4KsAQItENrvKVWGWf+v3ojl11MOhujVa9UxTtSS2q+kedQ==","signatures":[{"sig":"MEQCIEZcPnRdzAasAYod/aaSgNfzXNyE9+Zng0SQC3NuPg5kAiBG/uGhS8ykmy2Bu1dODIkATmd8tn5SXQf1eJLI0RMUfw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5405057},"engines":{"node":">=20.0.0"},"gitHead":"9137c87bcd7400fb4252d57a5052a3c2a4978154","scripts":{"test":"forge test","coverage":"forge coverage --report lcov --report summary","artifacts":"source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'nana-buyback-hook-testnet'","test:fork":"FOUNDRY_PROFILE=CI forge test","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets"},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"repository":{"url":"git+https://github.com/Bananapus/nana-buyback-hook.git","type":"git"},"_npmVersion":"10.9.2","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","directories":{},"_nodeVersion":"23.7.0","dependencies":{"@bananapus/core":"^0.0.45","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8","@openzeppelin/contracts":"^5.2.0","@bananapus/permission-ids":"^0.0.17","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@sphinx-labs/plugins":"^0.33.1"},"_npmOperationalInternal":{"tmp":"tmp/buyback-hook_0.0.27_1738783520449_0.5609959216919622","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@bananapus/buyback-hook","version":"1.0.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/Bananapus/nana-buyback-hook.git"},"engines":{"node":">=20.0.0"},"scripts":{"test":"forge test","test:fork":"FOUNDRY_PROFILE=CI forge test","coverage":"forge coverage --report lcov --report summary","deploy:mainnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks mainnets","deploy:testnets":"source ./.env && npx sphinx propose ./script/Deploy.s.sol --networks testnets","artifacts":"source ./.env && npx sphinx artifacts --org-id 'ea165b21-7cdc-4d7b-be59-ecdd4c26bee4' --project-name 'nana-buyback-hook'"},"dependencies":{"@bananapus/core":"^1.0.0","@bananapus/permission-ids":"^0.0.17","@exhausted-pigeon/uniswap-v3-forge-quoter":"^1.0.2","@openzeppelin/contracts":"^5.2.0","@uniswap/v3-core":"github:Uniswap/v3-core#0.8","@uniswap/v3-periphery":"github:Uniswap/v3-periphery#0.8"},"devDependencies":{"@sphinx-labs/plugins":"^0.33.1"},"_id":"@bananapus/buyback-hook@1.0.0","gitHead":"47090f18ad853e1ec845d7927b2bb35c75f8b22e","description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","_nodeVersion":"23.8.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-jE//JYSarF7++MDncFwBYhxgAThTSiUiUC0TDw/X+FtC4YT41QK1C1bXfm7a9cwdsBIGz7OYsmnnDnefQLr4vA==","shasum":"f591e654cdceef0d010c3d05b9e2d08873f0c90c","tarball":"https://registry.npmjs.org/@bananapus/buyback-hook/-/buyback-hook-1.0.0.tgz","fileCount":36,"unpackedSize":1486595,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBpVq/oRLL1BMCmrVaj/u5qiYjq8bW7UaiVvflhjI8IKAiAqy47H+EAG1Qj4Hv8al2YwVZCMpM3k5nrsA1c0dpSufA=="}]},"_npmUser":{"name":"me.jango","email":"me.jango@protonmail.com"},"directories":{},"maintainers":[{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"},{"name":"filipviz","email":"f@filip.world"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/buyback-hook_1.0.0_1739774032659_0.9135781378700636"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-14T18:47:35.341Z","modified":"2025-02-17T06:33:53.223Z","0.0.1":"2024-02-14T18:47:35.650Z","0.0.2":"2024-02-23T16:23:17.564Z","0.0.3":"2024-02-23T22:10:17.085Z","0.0.4":"2024-03-19T23:56:23.250Z","0.0.5":"2024-04-03T01:21:29.290Z","0.0.6":"2024-04-03T03:47:09.928Z","0.0.7":"2024-04-09T20:50:14.876Z","0.0.8":"2024-04-11T14:04:52.167Z","0.0.9":"2024-04-21T23:26:39.940Z","0.0.10":"2024-05-02T16:43:40.856Z","0.0.11":"2024-06-03T22:01:20.064Z","0.0.12":"2024-06-10T22:09:09.780Z","0.0.13":"2024-07-08T13:21:32.619Z","0.0.14":"2024-07-19T14:37:43.123Z","0.0.15":"2024-07-19T16:26:25.752Z","0.0.16":"2024-07-20T20:33:05.296Z","0.0.17":"2024-07-21T18:02:46.179Z","0.0.18":"2024-07-21T19:24:19.551Z","0.0.19":"2024-08-28T20:35:40.014Z","0.0.20":"2024-09-16T21:59:42.456Z","0.0.21":"2024-12-02T22:41:59.804Z","0.0.22":"2024-12-09T12:49:36.958Z","0.0.23":"2025-01-09T23:14:58.615Z","0.0.24":"2025-01-25T23:46:41.354Z","0.0.25":"2025-01-27T22:15:54.865Z","0.0.26":"2025-02-04T22:56:46.429Z","0.0.27":"2025-02-05T19:25:20.716Z","1.0.0":"2025-02-17T06:33:52.892Z"},"bugs":{"url":"https://github.com/Bananapus/nana-buyback-hook/issues"},"license":"MIT","homepage":"https://github.com/Bananapus/nana-buyback-hook#readme","repository":{"type":"git","url":"git+https://github.com/Bananapus/nana-buyback-hook.git"},"description":"The buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.","maintainers":[{"name":"simplemachine","email":"justinpulley92@gmail.com"},{"name":"me.jango","email":"me.jango@protonmail.com"},{"name":"filipviz","email":"f@filip.world"}],"readme":"# Bananapus Buyback Hook\n\nThe buyback hook allows a project to route incoming payments to a Uniswap pool for their project's token if doing so would yield more tokens for the payer.\n\n<details>\n  <summary>Table of Contents</summary>\n  <ol>\n    <li><a href=\"#usage\">Usage</a></li>\n  <ul>\n    <li><a href=\"#install\">Install</a></li>\n    <li><a href=\"#develop\">Develop</a></li>\n    <li><a href=\"#scripts\">Scripts</a></li>\n    <li><a href=\"#deployments\">Deployments</a></li>\n    <ul>\n      <li><a href=\"#with-sphinx\">With Sphinx</a></li>\n      <li><a href=\"#without-sphinx\">Without Sphinx</a></li>\n      </ul>\n    <li><a href=\"#tips\">Tips</a></li>\n    </ul>\n    <li><a href=\"#repository-layout\">Repository Layout</a></li>\n    <li><a href=\"#description\">Description</a></li>\n  <ul>\n    <li><a href=\"#hooks\">Hooks</a></li>\n    <li><a href=\"#flow\">Flow</a></li>\n    </ul>\n    <li><a href=\"#project-owner-usage-guide\">Project Owner Usage Guide</a></li>\n  <ul>\n    <li><a href=\"#avoiding-mev\">Avoiding MEV</a></li>\n    <li><a href=\"#setting-twap-parameters\">Setting TWAP Parameters</a></li>\n    <ul>\n      <li><a href=\"#limitations\">Limitations</a></li>\n      <li><a href=\"#best-practices\">Best Practices</a></li>\n      <li><a href=\"#further-reading\">Further Reading</a></li>\n      </ul>\n    <li><a href=\"#setting-the-pool\">Setting The Pool</a></li>\n    </ul>\n    <li><a href=\"#twap-basics\">TWAP Basics</a></li>\n    <li><a href=\"#risks\">Risks</a></li>\n  </ul>\n  </ol>\n</details>\n\n_If you're having trouble understanding this contract, take a look at the [core protocol contracts](https://github.com/Bananapus/nana-core) and the [documentation](https://docs.juicebox.money/) first. If you have questions, reach out on [Discord](https://discord.com/invite/ErQYmth4dS)._\n\n## Usage\n\n### Install\n\nHow to install `nana-buyback-hook` in another project.\n\nFor projects using `npm` to manage dependencies (recommended):\n\n```bash\nnpm install @bananapus/buyback-hook\n```\n\nFor projects using `forge` to manage dependencies (not recommended):\n\n```bash\nforge install Bananapus/nana-buyback-hook\n```\n\nIf you're using `forge` to manage dependencies, add `@bananapus/buyback-hook/=lib/nana-buyback-hook/` to `remappings.txt`. You'll also need to install `nana-buyback-hook`'s dependencies and add similar remappings for them.\n\n### Develop\n\n`nana-buyback-hook` uses [npm](https://www.npmjs.com/) (version >=20.0.0) for package management and the [Foundry](https://github.com/foundry-rs/foundry) development toolchain for builds, tests, and deployments. To get set up, [install Node.js](https://nodejs.org/en/download) and install [Foundry](https://github.com/foundry-rs/foundry):\n\n```bash\ncurl -L https://foundry.paradigm.xyz | sh\n```\n\nYou can download and install dependencies with:\n\n```bash\nnpm ci && forge install\n```\n\nIf you run into trouble with `forge install`, try using `git submodule update --init --recursive` to ensure that nested submodules have been properly initialized.\n\nSome useful commands:\n\n| Command               | Description                                         |\n| --------------------- | --------------------------------------------------- |\n| `forge build`         | Compile the contracts and write artifacts to `out`. |\n| `forge fmt`           | Lint.                                               |\n| `forge test`          | Run the tests.                                      |\n| `forge build --sizes` | Get contract sizes.                                 |\n| `forge coverage`      | Generate a test coverage report.                    |\n| `foundryup`           | Update foundry. Run this periodically.              |\n| `forge clean`         | Remove the build artifacts and cache directories.   |\n\nTo learn more, visit the [Foundry Book](https://book.getfoundry.sh/) docs.\n\n### Scripts\n\nFor convenience, several utility commands are available in `package.json`.\n\n| Command             | Description                                             |\n| ------------------- | ------------------------------------------------------- |\n| `npm test`          | Run local tests.                                        |\n| `npm run test:fork` | Run fork tests (for use in CI).                         |\n| `npm run coverage`  | Generate an LCOV test coverage report.                  |\n| `npm run artifacts` | Fetch Sphinx artifacts and write them to `deployments/` |\n\n### Deployments\n\n#### With Sphinx\n\n`nana-buyback-hook` manages deployments with [Sphinx](https://www.sphinx.dev). To run the deployment scripts, install the npm `devDependencies` with:\n\n```bash\n`npm ci --also=dev`\n```\n\nYou'll also need to set up a `.env` file based on `.example.env`. Then run one of the following commands:\n\n| Command                   | Description                  |\n| ------------------------- | ---------------------------- |\n| `npm run deploy:mainnets` | Propose mainnet deployments. |\n| `npm run deploy:testnets` | Propose testnet deployments. |\n\nYour teammates can review and approve the proposed deployments in the Sphinx UI. Once approved, the deployments will be executed.\n\n#### Without Sphinx\n\nYou can use the Sphinx CLI to run the deployment scripts without paying for Sphinx. First, install the npm `devDependencies` with:\n\n```bash\n`npm ci --also=dev`\n```\n\nYou can deploy the contracts like so:\n\n```bash\nPRIVATE_KEY=\"0x123…\" RPC_ETHEREUM_SEPOLIA=\"https://rpc.ankr.com/eth_sepolia\" npx sphinx deploy script/Deploy.s.sol --network ethereum_sepolia\n```\n\nThis example deploys `nana-buyback-hook` to the Sepolia testnet using the specified private key. You can configure new networks in `foundry.toml`.\n\n### Tips\n\nTo view test coverage, run `npm run coverage` to generate an LCOV test report. You can use an extension like [Coverage Gutters](https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters) to view coverage in your editor.\n\nIf you're using Nomic Foundation's [Solidity](https://marketplace.visualstudio.com/items?itemName=NomicFoundation.hardhat-solidity) extension in VSCode, you may run into LSP errors because the extension cannot find dependencies outside of `lib`. You can often fix this by running:\n\n```bash\nforge remappings >> remappings.txt\n```\n\nThis makes the extension aware of default remappings.\n\n## Repository Layout\n\nThe root directory contains this README, an MIT license, and config files. The important source directories are:\n\n```\nnana-buyback-hook/\n├── script/\n│   ├── Deploy.s.sol - Deployment script.\n│   └── helpers/ - Internal helpers for the deployment script.\n├── src/\n│   ├── JBBuybackHook.sol - The main buyback hook contract.\n│   └── interfaces/\n│       ├── IJBBuybackHook.sol - Buyback hook interface.\n│       └── external/ - Contains WETH9 interface (do not modify).\n└── test/\n    ├── Fork.t.sol - Fork tests.\n    ├── Unit.t.sol - Unit tests.\n    ├── helpers/ - Contains helpers for Juicebox and Uniswap interactions.\n    └── mock/ - Contains a mock malicious split hook.\n```\n\nOther directories:\n\n```\nnana-buyback-hook/\n├── .github/\n│   └── workflows/ - CI/CD workflows.\n└── deployments/ - Sphinx deployment logs.\n```\n\n## Description\n\nWhen a Juicebox project that uses the buyback hook is paid, it checks whether buying tokens in a Uniswap pool or paying the project as usual would yield more tokens for the payer. If buying tokens in the pool would yield more tokens, the payment is routed there. Otherwise, the payment is sent to the project as usual. Either way, the project's reserved rate applies.\n\nThe buyback hook works with any Juicebox terminal and checks the Uniswap pool specified by the project's owner.\n\n### Hooks\n\nThis contract is both a _data hook_ and a _pay hook_. Data hooks receive information about a payment and put together a payload for the pay hook to execute.\n\nJuicebox projects can specify a data hook in their `JBRulesetMetadata`. When someone attempts to pay or redeem from the project, the project's terminal records the payment in the terminal store, passing information about the payment to the data hook in the process. The data hook responds with a list of payloads – each payload specifies the address of a pay hook, as well as some custom data and an amount of funds to send to that pay hook.\n\nEach pay hook can then execute custom behavior based on the custom data (and funds) they receive.\n\n### Flow\n\nAt a high level:\n\n```mermaid\nsequenceDiagram\n    participant Project\n    participant Terminal\n    participant Buyback hook\n    participant Uniswap pool\n    Note right of Terminal: User calls pay(…) to pay the project\n    Terminal->>Project: Reads data hook from ruleset\n    Project->>Terminal: Returns buyback hook as data hook\n    Terminal->>Buyback hook: Calls beforePayRecordedWith(…) with payment data\n    Buyback hook->>Terminal: If buying from pool is better, return specification to use pay hook\n    Terminal->>Buyback hook: Calls afterPayRecordedWith(…) with returned specification\n    Buyback hook->>Uniswap pool: Executes swap\n    Note left of Buyback hook: After, burn and re-mint tokens to apply the reserved rate.\n```\n\n1. The user attempts to pay a project through a frontend client. The client calls the project's terminal's `pay(…)` function. In the payment metadata, the client passes in a Uniswap quote, the amount of funds to use for the swap, and the minimum number of project tokens to receive in exchange from the Uniswap pool (accounting for slippage). These should be encoded using the [delegate metadata library](https://github.com/jbx-protocol/juice-delegate-metadata-lib). If no quote is provided, the buyback hook will use a [time-weighted average price](https://blog.uniswap.org/uniswap-v3-oracles#what-is-twap).\n2. The terminal's `pay(…)` function calls the buyback hook (as a data hook) to determine whether the swap should be executed or not. It makes this determination by considering the information that was passed in, information about the pool, and the project's current rules.\n3. The buyback contract sends its determination back to the terminal. If it approved the swap, the terminal then calls the buyback hook's `afterPayRecordedWith(…)` method, which will wrap the ETH (to wETH), execute the swap, burns the token it received, and mint them again (it also mints tokens for any funds which weren't used in the swap, if any). This burning/re-minting process allows the buyback hook to apply the reserved rate and respect the caller's `preferClaimedTokens` preference.\n4. If the swap failed (due to exceeding the maximum slippage, low liquidity, or something else) the hook will mint tokens for the recipient according to the project's rules (as if this was a standard payment to the terminal), and use `addToBalanceOf` to send the funds to the project.\n\n## Project Owner Usage Guide\n\nTips for project owners using the buyback hook.\n\n### Avoiding MEV\n\nEvery time the buyback hook chooses the swap route, a Uniswap trade will be executed, making payers vulnerable to MEV attacks. To mitigate MEV attacks, frontend clients should provide a reasonable minimum quote, and the TWAP parameters should be carefully set – these parameters are used to calculate a default minimum quote when the payer/client doesn't provide one.\n\nYou can also avoid MEV attacks by using the Flashbots Protect RPC for transactions which trigger the buyback hook. You can add this RPC to your wallet on [protect.flashbots.net](https://protect.flashbots.net/). If you're using a multisig wallet (like a Gnosis Safe), make sure that the last signer signs and executes at the same time **_while using the Flashbots Protect RPC._** For more information on mitigating MEV from your Gnosis Safe, see [this article](https://medium.com/gnosis-pm/gnosis-safe-mev-how-to-mitigate-it-347e13535e34).\n\n### Setting TWAP Parameters\n\nAs the project owner, you have two parameters at your disposal to protect payers: the TWAP window and the maximum slippage tolerance. _See [TWAP Basics](#twap-basics) for an explanation._\n\n#### Limitations\n\n- Custom quotes provided by payers or the frontend override these settings.\n- Low liquidity pools are vulnerable to TWAP manipulation by attackers.\n\n#### Best Practices\n\n- A shorter TWAP window gives more accurate data, but is easier to manipulate, while a longer TWAP window gives more stable data, but can grow inaccurate when volatility is high.\n- A 30m TWAP window is a good starting point for high-activity pairs. If your token has less activity, consider a longer TWAP window, but be careful – if it's too high, your TWAP will give inaccurate quotes when volatility is high.\n- A low slippage tolerance leaves less room for arbitrage, but may cause payments to go to the project instead of the pool, while a high slippage tolerance means more transactions will swap successfully, but they may be more susceptible to arbitrage.\n- A 5% slippage tolerance is a good starting point for more volatile pairs. More mature trading pairs may go as low to 1-2%. If your project's issuance rate is far below the market price, consider a wider slippage tolerance to ensure payments are sent to the pool.\n\nYou'll also want to keep the pool's _cardinality_ in mind. This is the number of recent transactions the Uniswap pool keeps track of for calculating the TWAP. If the cardinality is only 1 (the default), then the TWAP will only take the most recent trade into account for calculations. Anyone can increase the pool's cardinality by calling the pool's `increaseObservationCardinalityNext(…)` function.\n\n#### Further Reading\n\nFor an overview of TWAP risks, see [this article](https://medium.com/@chinmayf/so-you-want-to-use-twap-1f992f9d3819). Some other helpful resources:\n\n- [Manipulating Uniswap v3 TWAP Oracles](https://github.com/euler-xyz/uni-v3-twap-manipulation/blob/master/cost-of-attack.pdf)\n- [Uniswap Oracle Attack Simulator](https://www.euler.finance/blog/oracle-attack-simulator)\n- [Euler's Oracle Risk Grading System & Oracle Attacks Tutorial](https://www.youtube.com/watch?v=snwUwj3QQ7M)\n\n### Setting The Pool\n\n- If you're using ETH (or another native token) in your pair, use the address from [`JBConstants.NATIVE_TOKEN`](https://github.com/Bananapus/juice-contracts-v4/blob/main/src/libraries/JBConstants.sol): `0x000000000000000000000000000000000000EEEe`.\n- The `fee` is a `uint24` with the same representation as in Uniswap's contracts (basis points with 2 decimals): a 0.01% fee is `100`, a 0.05% fee is `500`, a 0.3% fee is `3000`, and a 1% fee is `10000`.\n\n## TWAP Basics\n\nWhen you trade tokens on Uniswap, you must provide a minimum acceptable price for your trade to protect against excessive price movement (also called \"slippage\"). If the price moves unfavourably beyond this slippage tolerance, your trade will not be executed, protecting you from receiving a worse deal than you were expecting.\n\nThe buyback hook allows payers (or frontend clients) to provide a minimum acceptable return from their trade, and the hook will only execute the trade if it can provide that return – if it _can't_, the terminal's default behavior takes over. In most cases, this means the payment will go to the project that the hook is associated with.\n\nBut if the payer (or frontend client) does not provide a minimum acceptable return, the buyback hook must calculate a fair minimum on its own. On Uniswap, the current price is called a \"spot price\". This can be dangerous to rely on, because the price can move around quickly. To solve this problem, Uniswap v3 exposes a smoothed-out price called a TWAP, or a time-weighted average price. This is calculated by taking the geometric mean of the price over a window of time, which you can learn more about [here](https://blog.uniswap.org/uniswap-v3-oracles#what-is-twap).\n\nThe buyback hook allows each project to specify a time window (period of time) over which to calculate the TWAP. It also allows each project to specify a \"TWAP slippage tolerance\". This is the same as the minimum acceptable price above: with a 5% TWAP slippage tolerance, the transaction will revert to the terminal's default behavior if the expected return is more than 5% worse than the TWAP price over the window.\n\n## Risks\n\n- This hook has only been used with terminals that accept ETH so far. It _should_ support any ERC-20 terminal, but has not been used for this in production.\n- This hook depends on liquidity in a Uniswap v3 pool. If liquidity providers migrate to a new pool, the project's owner has to call `setPoolFor(…)`. If they migrate to a different exchange or a pool on a different version of Uniswap, this hook won't work. Projects looking to mitigate this risk should consider bootstrapping a Uniswap v3 pool by providing liquidity themselves.\n- If there isn't enough liquidity, or if the max slippage isn't set properly, payers may receive fewer tokens than expected.\n","readmeFilename":"README.md"}