{"_id":"@dutchiono/fey-sdk","_rev":"7-cd94556973f56e56e09ae7f883ae5eb1","name":"@dutchiono/fey-sdk","dist-tags":{"latest":"1.5.2"},"versions":{"1.0.0":{"name":"@dutchiono/fey-sdk","version":"1.0.0","keywords":["fey","ethereum","base","token","factory","uniswap","v4","defi","sdk"],"author":{"url":"Farcaster","name":"@ionoi"},"license":"MIT","_id":"@dutchiono/fey-sdk@1.0.0","maintainers":[{"name":"dutchiono","email":"dutchiono@gmail.com"}],"homepage":"https://feydocs.lat/guides/sdk","bugs":{"url":"https://github.com/dutchiono/fey_sdk/issues"},"dist":{"shasum":"4a5d54b9c459f76dac53ce205fe893f8695f1f9d","tarball":"https://registry.npmjs.org/@dutchiono/fey-sdk/-/fey-sdk-1.0.0.tgz","fileCount":127,"integrity":"sha512-b+JTxrN3lQOrtv/iWWPn1nE2435tKUrVkayVedCqwdrMDfD/fwIygdOJvN+sw/Y11BQjmE58TF6+kl/gd51kJQ==","signatures":[{"sig":"MEYCIQCF0dYdfNuhOnSrOQG/Zl4z2c3cyaercrivV1bHNIITvwIhAMtH/WLqKVRXbfh3b8TsdQYtL/l2R5iBjRfwW+j5X8D6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":328264},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"7c0e8e6666db2bd0c828e8e24f5ac0d13976a1a7","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","prepack":"npm run build","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"dutchiono","email":"dutchiono@gmail.com"},"repository":{"url":"git+https://github.com/dutchiono/fey_sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"ethers":"^6.9.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/fey-sdk_1.0.0_1763253897649_0.5491711213010289","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@dutchiono/fey-sdk","version":"1.2.0","keywords":["fey","ethereum","base","token","factory","uniswap","v4","defi","sdk"],"author":{"url":"Farcaster","name":"@ionoi"},"license":"MIT","_id":"@dutchiono/fey-sdk@1.2.0","maintainers":[{"name":"dutchiono","email":"dutchiono@gmail.com"}],"homepage":"https://feydocs.lat/guides/sdk","bugs":{"url":"https://github.com/dutchiono/fey_sdk/issues"},"dist":{"shasum":"0b9c1416a816a19085faac3cb1f106497fe5e629","tarball":"https://registry.npmjs.org/@dutchiono/fey-sdk/-/fey-sdk-1.2.0.tgz","fileCount":127,"integrity":"sha512-nEQhSVrwAsjBcOuRu7p+vIZCK0nksOcthqizhjjnktYfFNU0uPWf9uEhONw24NEylnbw0T+KbhtrVOlbMBwENw==","signatures":[{"sig":"MEQCIAszVPlrpcpD3iYxKKgFNugxFwdVPuji1ENkHD6WL9VoAiBWuQwT1eiaS4NtEaYUidH81udbmppFkcXg2IZ00E2dvw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":336455},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"41b1954e0364cd9d71e8d837b0ceef611c8dcc01","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","prepack":"npm run build","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"dutchiono","email":"dutchiono@gmail.com"},"repository":{"url":"git+https://github.com/dutchiono/fey_sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"ethers":"^6.9.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/fey-sdk_1.2.0_1763254611974_0.6216985963517381","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@dutchiono/fey-sdk","version":"1.3.0","keywords":["fey","ethereum","base","token","factory","uniswap","v4","defi","sdk"],"author":{"url":"Farcaster","name":"@ionoi"},"license":"MIT","_id":"@dutchiono/fey-sdk@1.3.0","maintainers":[{"name":"dutchiono","email":"dutchiono@gmail.com"}],"homepage":"https://feydocs.lat/guides/sdk","bugs":{"url":"https://github.com/dutchiono/fey_sdk/issues"},"dist":{"shasum":"e206a0c8813e2811193bf5b23c60a32e0a933a1c","tarball":"https://registry.npmjs.org/@dutchiono/fey-sdk/-/fey-sdk-1.3.0.tgz","fileCount":143,"integrity":"sha512-zlqgH7+7ngnIQwJnI8toDmOmgIgXkY6PAHeUySiBPsiqkynjdiqnd2r8yq5dKOtmM56RHkR3qjSwnCEnI9uE8Q==","signatures":[{"sig":"MEUCIF27cBVuY2mczI0DC2xLxUBMpt4qqAjOeaus8/mjNXATAiEA6BWMMGyXcvplIv7ACjiVMUChSoAPOMm2msyfNega7bU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":356964},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"63342828846a0d2ba27273bb8c7949bb71aaa183","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","prepack":"npm run build","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"dutchiono","email":"dutchiono@gmail.com"},"repository":{"url":"git+https://github.com/dutchiono/fey_sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"ethers":"^6.9.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/fey-sdk_1.3.0_1763255616190_0.10360183067628692","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@dutchiono/fey-sdk","version":"1.4.0","keywords":["fey","ethereum","base","token","factory","uniswap","v4","defi","sdk"],"author":{"url":"Farcaster","name":"@ionoi"},"license":"MIT","_id":"@dutchiono/fey-sdk@1.4.0","maintainers":[{"name":"dutchiono","email":"dutchiono@gmail.com"}],"homepage":"https://feydocs.lat/guides/sdk","bugs":{"url":"https://github.com/dutchiono/fey_sdk/issues"},"dist":{"shasum":"bd94fe5a2cb4d98b155c122648b27ab1c47ea2c0","tarball":"https://registry.npmjs.org/@dutchiono/fey-sdk/-/fey-sdk-1.4.0.tgz","fileCount":147,"integrity":"sha512-naYPv278OtCpR7KhjLzUOzU7ZHZOzUnEqE4MQ9YUuHCYNi7pNQrDa/obGSmvlHnJ9huJm5bCDsWIOcoknc852w==","signatures":[{"sig":"MEUCIQDngIWWyAsNhqFSWCVnQwTA5o+hc5cX6D7MhImzSnNrLgIgK7XiLt8z3PwczAnISghDueYWdSZ/z5VA6uhb8f4GuiU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":365786},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"23e8dfff9fa9feaa5cd0173ed13daea195f6a4e9","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","prepack":"npm run build","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"dutchiono","email":"dutchiono@gmail.com"},"repository":{"url":"git+https://github.com/dutchiono/fey_sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"ethers":"^6.9.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/fey-sdk_1.4.0_1763255791752_0.22919088334108162","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@dutchiono/fey-sdk","version":"1.5.0","keywords":["fey","ethereum","base","token","factory","uniswap","v4","defi","sdk"],"author":{"url":"Farcaster","name":"@ionoi"},"license":"MIT","_id":"@dutchiono/fey-sdk@1.5.0","maintainers":[{"name":"dutchiono","email":"dutchiono@gmail.com"}],"homepage":"https://feydocs.lat/guides/sdk","bugs":{"url":"https://github.com/dutchiono/fey_sdk/issues"},"dist":{"shasum":"bf733542be44cf62ab10cc6e2abe207b41e92389","tarball":"https://registry.npmjs.org/@dutchiono/fey-sdk/-/fey-sdk-1.5.0.tgz","fileCount":147,"integrity":"sha512-SspmVyASmUOU0/rWkPMfcjA9gJnCmbknMyqrIaRG5RUW26GhLkuuwErGke2O/440MB4Sa6wMeGUEK8dmQo1suQ==","signatures":[{"sig":"MEYCIQDewXxC0J2Tiy6MWrOXQvOWnWljm1bWfT1Dumy9/6oI8wIhALddhB86XspMsKeA0bv790XvsYfz3SC7sJsibFq4lbSQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":374489},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"214dc6f8132efc77fffcd683a2aeac4e06c89316","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","prepack":"npm run build","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"dutchiono","email":"dutchiono@gmail.com"},"repository":{"url":"git+https://github.com/dutchiono/fey_sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"ethers":"^6.9.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/fey-sdk_1.5.0_1763256464780_0.7913083785066719","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"@dutchiono/fey-sdk","version":"1.5.1","keywords":["fey","ethereum","base","token","factory","uniswap","v4","defi","sdk"],"author":{"url":"Farcaster","name":"@ionoi"},"license":"MIT","_id":"@dutchiono/fey-sdk@1.5.1","maintainers":[{"name":"dutchiono","email":"dutchiono@gmail.com"}],"homepage":"https://feydocs.lat/guides/sdk","bugs":{"url":"https://github.com/dutchiono/fey_sdk/issues"},"dist":{"shasum":"2fbb516123de7ba2cd42b0190e07bd5f98a546f4","tarball":"https://registry.npmjs.org/@dutchiono/fey-sdk/-/fey-sdk-1.5.1.tgz","fileCount":147,"integrity":"sha512-PEZEzvMlbjeO0XkMNtLvZypTFbBuC89dNbu+vT5Cenu6b0nf5cssFxOUM2ryFP7jlAPG7accuRhkiZSeSkwkoA==","signatures":[{"sig":"MEUCIQCbXotmvlG8WylNvfZMP4ZmM53roMpFn0rPkUa+3AkwbwIgEN2uM7nQt8KTLvX04pSAvBH7gPwLB53zOTJHuy4Stj8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":375097},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"d4c6c4a861290239d06d2b352ea60cd2aaf677c3","scripts":{"dev":"tsc --watch","test":"vitest run","build":"tsc","prepack":"npm run build","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"dutchiono","email":"dutchiono@gmail.com"},"repository":{"url":"git+https://github.com/dutchiono/fey_sdk.git","type":"git"},"_npmVersion":"10.9.2","description":"Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"ethers":"^6.9.0"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.1.0","typescript":"^5.3.3","@types/node":"^20.10.0"},"_npmOperationalInternal":{"tmp":"tmp/fey-sdk_1.5.1_1763260225179_0.32713584300585286","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"@dutchiono/fey-sdk","version":"1.5.2","description":"Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2)","main":"./dist/index.js","types":"./dist/index.d.ts","type":"module","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"tsc","dev":"tsc --watch","test":"vitest run","test:watch":"vitest","prepublishOnly":"npm run build","prepack":"npm run build"},"keywords":["fey","ethereum","base","token","factory","uniswap","v4","defi","sdk"],"author":{"name":"@ionoi","url":"Farcaster"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dutchiono/fey_sdk.git"},"bugs":{"url":"https://github.com/dutchiono/fey_sdk/issues"},"homepage":"https://feydocs.lat/guides/sdk","dependencies":{"ethers":"^6.9.0"},"devDependencies":{"@types/node":"^20.10.0","typescript":"^5.3.3","vitest":"^1.1.0"},"engines":{"node":">=18.0.0"},"_id":"@dutchiono/fey-sdk@1.5.2","gitHead":"7d5e3ccce69be54d6fb587527de22a4af87f31d9","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-oCyitDOd2IENViXjjDyYbZjyD+ruuvzx5dHmDXlGkcQnSdI5fVZCIIYVNxZIDp3A6DAIcOV/K6el5UbRI7u3Zw==","shasum":"f88152bb0a51b595fd6c8797f9e26db1d58b4b9f","tarball":"https://registry.npmjs.org/@dutchiono/fey-sdk/-/fey-sdk-1.5.2.tgz","fileCount":147,"unpackedSize":375394,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC015l++3DSEV8wHcquGoDIR3o68mtGPVMUNE5NpAlV5gIhAPhzIRng1HpSWnBhEQImfYP4+OKbhWWtgwe6PsmS3u3+"}]},"_npmUser":{"name":"dutchiono","email":"dutchiono@gmail.com"},"directories":{},"maintainers":[{"name":"dutchiono","email":"dutchiono@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fey-sdk_1.5.2_1763408171972_0.547224275671548"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-16T00:44:57.573Z","modified":"2025-11-17T19:36:12.374Z","1.0.0":"2025-11-16T00:44:57.830Z","1.2.0":"2025-11-16T00:56:52.226Z","1.3.0":"2025-11-16T01:13:36.389Z","1.4.0":"2025-11-16T01:16:32.016Z","1.5.0":"2025-11-16T01:27:44.985Z","1.5.1":"2025-11-16T02:30:25.423Z","1.5.2":"2025-11-17T19:36:12.172Z"},"bugs":{"url":"https://github.com/dutchiono/fey_sdk/issues"},"author":{"name":"@ionoi","url":"Farcaster"},"license":"MIT","homepage":"https://feydocs.lat/guides/sdk","keywords":["fey","ethereum","base","token","factory","uniswap","v4","defi","sdk"],"repository":{"type":"git","url":"git+https://github.com/dutchiono/fey_sdk.git"},"description":"Complete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2)","maintainers":[{"name":"dutchiono","email":"dutchiono@gmail.com"}],"readme":"# @dutchiono/fey-sdk\r\n\r\nComplete TypeScript SDK for interacting with the FEY Protocol on Base (Ethereum L2).\r\n\r\n**Made by:** [@ionoi](https://warpcast.com/ionoi) (Farcaster) • [@dutchiono](https://x.com/dutchiono) (X/Twitter)\r\n\r\n## What is this?\r\n\r\nThis is a complete npm package providing TypeScript/JavaScript SDK for interacting with the FEY Protocol smart contracts on Base. It includes:\r\n\r\n- **All Contract ABIs**: Factory, Token, Hook, Fee Locker, LP Locker, and Pool Extension Allowlist\r\n- **Query Functions**: Easy-to-use functions for reading contract state\r\n- **Transaction Builders**: Build deployment and admin transactions\r\n- **Event Parsers**: Parse blockchain events with full type safety\r\n- **TypeScript Types**: Complete type definitions for all data structures\r\n\r\n## Installation\r\n\r\nInstall the package from npm:\r\n\r\n```bash\r\nnpm install @dutchiono/fey-sdk\r\n```\r\n\r\nOr with yarn:\r\n\r\n```bash\r\nyarn add @dutchiono/fey-sdk\r\n```\r\n\r\nOr with pnpm:\r\n\r\n```bash\r\npnpm add @dutchiono/fey-sdk\r\n```\r\n\r\n## Using as an npm Package\r\n\r\nOnce installed, import and use the SDK in your project:\r\n\r\n```typescript\r\nimport { ethers } from 'ethers';\r\nimport {\r\n  getTokenDeploymentInfo,\r\n  getTokenData,\r\n  getPoolInfo,\r\n  parseTokenCreatedEvent,\r\n  FEY_FACTORY_ADDRESS,\r\n} from '@dutchiono/fey-sdk';\r\n```\r\n\r\nThe package is published to npm and can be used in any Node.js or browser project that supports ES modules.\r\n\r\n## Quick Start\r\n\r\n```typescript\r\nimport { ethers } from 'ethers';\r\nimport {\r\n  getTokenDeploymentInfo,\r\n  getTokenData,\r\n  getPoolInfo,\r\n  getAvailableFees,\r\n  FEY_FACTORY_ADDRESS,\r\n  FEY_HOOK_ADDRESS,\r\n} from '@dutchiono/fey-sdk';\r\n\r\nconst provider = new ethers.JsonRpcProvider('https://mainnet.base.org');\r\n\r\n// Get token deployment info\r\nconst deploymentInfo = await getTokenDeploymentInfo(\r\n  provider,\r\n  '0xD09cf0982A32DD6856e12d6BF2F08A822eA5D91D' // FEY token\r\n);\r\n\r\n// Get complete token data\r\nconst tokenData = await getTokenData(provider, deploymentInfo.token);\r\n\r\n// Get pool information\r\nconst poolInfo = await getPoolInfo(provider, poolId);\r\n\r\n// Check available fees\r\nconst fees = await getAvailableFees(\r\n  provider,\r\n  feeOwner,\r\n  tokenAddress\r\n);\r\n```\r\n\r\n## Features\r\n\r\n- **Factory Contract**: Deploy tokens, query deployment info, admin functions\r\n- **Token Contract**: ERC20 + metadata + governance functions\r\n- **Hook Contract**: Pool queries, fee management, MEV protection\r\n- **Fee Locker**: Fee queries and claims\r\n- **LP Locker**: Reward queries and collection\r\n- **Pool Extension Allowlist**: Extension enablement checks\r\n\r\n## Documentation\r\n\r\nFull documentation available at: [https://feydocs.lat/guides/sdk](https://feydocs.lat/guides/sdk)\r\n\r\n## Contract Addresses\r\n\r\n- **Factory**: `0x8eef0dc80adf57908bb1be0236c2a72a7e379c2d`\r\n- **Hook**: `0x5B409184204b86f708d3aeBb3cad3F02835f68cC`\r\n- **Fee Locker**: `0xf739FC4094F3Df0a1Be08E2925b609F3C3Aa13c6`\r\n- **LP Locker**: `0x975aF6a738f502935AFE64633Ad3EA2A3eb3e7Fa`\r\n- **FEY Token**: `0xD09cf0982A32DD6856e12d6BF2F08A822eA5D91D`\r\n\r\n## Contributing\r\n\r\nContributions welcome! This SDK is maintained as part of the FEY Protocol ecosystem.\r\n\r\n## Links\r\n\r\n- **Documentation**: [https://feydocs.lat/guides/sdk](https://feydocs.lat/guides/sdk)\r\n- **GitHub Repository**: [https://github.com/dutchiono/fey_sdk](https://github.com/dutchiono/fey_sdk)\r\n- **NPM Package**: [https://www.npmjs.com/package/@dutchiono/fey-sdk](https://www.npmjs.com/package/@dutchiono/fey-sdk)\r\n- **FEY Protocol Docs**: [https://feydocs.lat](https://feydocs.lat)\r\n\r\n## License\r\n\r\nMIT\r\n","readmeFilename":"README.md"}