{"_id":"@ara-web/cascadefund-smartcontracts","name":"@ara-web/cascadefund-smartcontracts","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@ara-web/cascadefund-smartcontracts","version":"0.0.1","description":"Cascade.org smartcontracts on EVM network","directories":{"lib":"./lib"},"homepage":"https://cascadefund.org/","author":{"name":"Medet Ahmetson","url":"https://turkmenson.com/"},"repository":{"type":"git","url":"git+https://github.com/ara-foundation/cascadefund-smartcontracts.git"},"publishConfig":{"access":"public"},"devDependencies":{"@nomicfoundation/hardhat-ethers":"^3.1.0","@nomicfoundation/hardhat-toolbox":"^6.0.0","@nomicfoundation/hardhat-verify":"^2.1.0","@openzeppelin/contracts-upgradeable":"^5.4.0","@openzeppelin/hardhat-upgrades":"^3.9.1","dotenv":"^17.2.0","ethers":"^6.15.0","hardhat":"^2.25.0"},"dependencies":{"@openzeppelin/contracts":"^5.3.0"},"_id":"@ara-web/cascadefund-smartcontracts@0.0.1","gitHead":"369eccb2b9811f3afbd9cc2524889c9683cf818f","bugs":{"url":"https://github.com/ara-foundation/cascadefund-smartcontracts/issues"},"_nodeVersion":"22.13.1","_npmVersion":"10.9.2","dist":{"integrity":"sha512-3/WX+n08ER8TQnp1bzxcyXcngpEWC1axJrOvn/yAUJFVCQ14tmOmVYzh+g3RRHzCDOjYIykgUa4be+S01HaWxQ==","shasum":"2ea024257277ae584dc99d6f68e6ed209c20bb96","tarball":"https://registry.npmjs.org/@ara-web/cascadefund-smartcontracts/-/cascadefund-smartcontracts-0.0.1.tgz","fileCount":3,"unpackedSize":125758,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHqCL/Jwm1+jGmSD2rTBA/kTY436fbxYaXZBcG1lI0RbAiAnCCvcw7F7JBEEpIOW4OtSAWXBX7Ro/xCcNysuvjwzCw=="}]},"_npmUser":{"name":"ahmetson","email":"medet@ara.foundation"},"maintainers":[{"name":"ahmetson","email":"medet@ara.foundation"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cascadefund-smartcontracts_0.0.1_1753688595487_0.5558032675833917"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-28T07:43:15.369Z","0.0.1":"2025-07-28T07:43:15.651Z","modified":"2025-07-28T07:43:15.903Z"},"maintainers":[{"name":"ahmetson","email":"medet@ara.foundation"}],"description":"Cascade.org smartcontracts on EVM network","homepage":"https://cascadefund.org/","repository":{"type":"git","url":"git+https://github.com/ara-foundation/cascadefund-smartcontracts.git"},"author":{"name":"Medet Ahmetson","url":"https://turkmenson.com/"},"bugs":{"url":"https://github.com/ara-foundation/cascadefund-smartcontracts/issues"},"readme":"# CascadeFund and Hyperpayment implementation\nImplementation of the cascadefund's donatation distribution via [hyperpayment](https://hyperpayment.org/)\nprotocol as a EVM based blockchain smartcontracts.\n\n#### TODO\n\n#### Update\n- CategoryBusiness._wthidraw should mark withdrawer not msg.sender\n  Otherwise, it can not be withdrawn by the server\n- Revoke the server contract from revoking\n\n##### V2\n- OneTimeDeposit in CategoryCustomer should be set in the initializer, and we can update it later as a manager.\n- Implement token converter\n- implement the deploy smartcontracts following \n---\n\n## Deployed addresses\n\n* `StringUtils` &ndash; a string related **library** on *BaseSepolia*: [contracts/StringUtils.sol:StringUtils](https://sepolia.basescan.org/address/0x9b69E72D065600f552916Da94023F5B8A423b716#code)\n* `CascadeAccount` &ndash; a smartcontract to indirectly collect tips from all donations on *BaseSepolia*: [explorer](https://sepolia.basescan.org/address/0xe6c77Aa2796d7446e0433fd959B6E8a0F949971e#code)\n* `CategoryBusiness` &ndash; a smartcontract to collect donations on *BaseSepolia*: [explorer](https://sepolia.basescan.org/address/0xB524542AD87879E9429cc7B51100201661ce9cC9#code)\n* `CategorySBOM` &ndash; a smartcontract to redirect dependencies donations to `CascadeFund` on *BaseSepolia*: [explorer](https://sepolia.basescan.org/address/0xCD15aC7Ae86e507E092c0F92C288e76A17864d1F#code)\n* `CategoryCustomer` &ndash; a smartcontract to collect donations from users by creating unique smartcontract for each transaction on *BaseSepolia*: [explorer](https://sepolia.basescan.org/address/0x239498f4940f2C162aE7Cbb5984DEFF536b12c03#code)\n* `HyperpaymentV1` &ndash; a smartcontract of the hyperpayment protocol on *BaseSepolia*: [0x8f7144A38C2AfbFedebc71d1211aEdf15e00413F](https://sepolia.basescan.org/address/0xD6285Ab40a99327CEfc344C88932bB27C4fCeF49#code)\n* `TestToken` &ndash; a FakeUSDC (fUSDC) imitating stable coins on *BaseSepolia*: [contracts/TestToken.sol:TestToken](https://sepolia.basescan.org/address/0xE4A6f0aba700F7964599c7Cd21b9c17Bf3fab988#code)\n\n## Guide\nTry running the following\n```shell\nnpx hardhat test\nnpx hardhat run scripts/deploy-cascade-account.ts --network baseSepolia\nnpx hardhat run scripts/initial-link.ts --network baseSepolia\nnpx hardhat run scripts/opensource.hyperpayment.spec.ts --network baseSepolia\n```\n\n## Links\n- Official [Hardhat Upgradeable deployment and updates](https://hardhat.org/ignition/docs/guides/upgradeable-proxies) documentation.","readmeFilename":"README.md","_rev":"1-0bc3779351190441e525cf14754d525d"}