Skip to content

Sync main for review/audit#29

Open
rob1997 wants to merge 80 commits into
rob1997/empty-branchfrom
main
Open

Sync main for review/audit#29
rob1997 wants to merge 80 commits into
rob1997/empty-branchfrom
main

Conversation

@rob1997
Copy link
Copy Markdown
Contributor

@rob1997 rob1997 commented Feb 12, 2026

Brings main into this branch for review and audit.

Related: #25

Made with Cursor

* Asset Smart Contract
- first draft

* Switched to permit flow instead of approval flow

* Added scripts, tests and fixes and requested changes
* Asset Smart Contract
- first draft

* Switched to permit flow instead of approval flow

* Added scripts, tests and fixes and requested changes

* AssetRegistry.sol initial draft

* Asset Registry tests

* AssetRegistry scripts

* removed revoke and remove from Registry
added access controls for viewing someone elses subscription
* run script implemented

* Added Run CI

* utils added
* checkpoint

* Fee split implemented

* test trial

* Fee Split Registry Test

* splitter tests refactored

* some sensible renames

* fixed a subscription bug

* refactored scripts
@rob1997 rob1997 requested a review from viatrix February 12, 2026 14:59
@rob1997 rob1997 self-assigned this Feb 12, 2026
@rob1997 rob1997 linked an issue Feb 12, 2026 that may be closed by this pull request
* Asset contract documented

* AssetRegistry Documented

* Scripts Documented

* Added set subscription price function

* Added RPC API ref

* Added Installation and RPC API Reference to readme.md

* New Events and event params

* Compile error fix

* empty commit
- Updated createAsset script function to allow for external users.
Comment thread apps/contracts/src/AssetRegistry.sol Outdated
Comment thread src/AssetRegistry.sol Outdated
Comment thread src/Asset.sol
Comment thread src/Asset.sol Outdated
Comment thread src/Asset.sol Outdated
Comment thread test/Asset.t.sol Outdated
Comment thread src/Asset.sol Outdated
Comment thread src/Asset.sol Outdated
Comment thread src/Asset.sol Outdated
Comment thread test/Asset.t.sol
…e returns expiry (#32)

* Changelog
- BetterDeployments
- Scripts improved
- Additional RPC APIs for Asset and Asset Registiries

* Changelog
- Sepolia Base deployments added
- new deployments for sepolia
- removed all CI/CD except for tests
- subscribe now returns the expiry

* Updated readme based on changes

* Added return values

* Removed old script usages

* Updated script documentations
* Added Tests

* Added event emit tests

* Missing tests added
* Typo fix

* Unity write-up
rob1997 added 4 commits March 4, 2026 12:16
* requested changes made

* RPC API Refs update

* Cancellation implemented

* Fixed fee share test and claim functions

* added some new tests

* revoke subscription tests added

* cancel subscription tests added

* renamed some methods and added claimRegistryFee tests

* optmized/simplified existing tests

* added some missing tests

* updated RPC API refs in README.md and updated an inconsistent return value

* readme updated

* Readme edits

* new deployments
…x, tests (#45)

* viewSubscription -> isSubscriptionActive

* Updated registry fee share bug fixed

* Added tests for fix and ZeroTotalFeeShare error revert

* zero total fee share tests

* Switched to SafeErc20

* updated tests

* updated docs
@rob1997 rob1997 requested a review from viatrix March 4, 2026 13:35
dhyaniarun1993 and others added 30 commits April 16, 2026 08:13
Bumps [hono](https://github.com/honojs/hono) from 4.12.7 to 4.12.14.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.7...v4.12.14)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.14
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arun Dhyani <dhyaniarun7@gmail.com>
* git ignore

* working build

* submodules

* submodules updated

* forge fmt

* updated scripts directory

* documentation updated

* moved deployments
* event updated

* tests fixed

* updated events doc

* forge fmt
* checkpoint

* new cancel flow

* checkpoint

* fixed some warnings

* Better events

* tests and docs updated

* forge fmt

* modified subscription cancelled and revoked events and added new subscription removed event

* Tests fixed, new tests added and docs updated

* minor rename
* Add fixed subscription duration

* Update formatting

* Updates after review

* Remove cancelled flag

* Add endTime to events

* Update tests

* Small optimizations

* doc/comment edits

* test_claimCreatorFee_incrementalMultiPeriodSingleNonce
test_claimRegistryFee_incrementalMultiPeriodSingleNonce

* docs, scripts update and forge fmt

---------

Co-authored-by: rob1997 <robelgetnetrg@gmail.com>
* Claimed events now have claimed at timestamp and nonce parameters

* forge fmt
* Mnemonic setup

* docs

* first draft for deployments.yml

* deployments.yml:test_0

* deployments.yml:test_1

* deployments.yml:test_2

* deployments.yml:test_3

* deployments.yml:test_4

* release script and revert testing triggers, also edits on seed script

* docs
… & updated docs (#131)

* closes #126

* closes #118

* checkpoint

* new execution flow docs

* checkpoint

* checkpoint

* closes #121

* Tests

* docs updated

* isOwner -> isCreator

* forge fmt
Co-authored-by: rob1997 <rob1997@users.noreply.github.com>
Co-authored-by: rob1997 <rob1997@users.noreply.github.com>
…ee share (#135)

* Avoid floating point precision issues when calculating the registry fee share

* tests and docs
Co-authored-by: rob1997 <rob1997@users.noreply.github.com>
Co-authored-by: Robel Getnet Geremew <robelgetnetrg@gmail.com>
Co-authored-by: rob1997 <rob1997@users.noreply.github.com>
Co-authored-by: Robel Getnet Geremew <robelgetnetrg@gmail.com>
- Asset #4 added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Internal audit and review of smart contracts

3 participants