Skip to content

Gate v3: one gate, wire identity, read-only as a declaration - #1

Merged
Ocnrb merged 2 commits into
mainfrom
feat/gate-v3
Sep 6, 2026
Merged

Ocnrb merged 2 commits into
mainfrom
feat/gate-v3

Conversation

@Ocnrb

@Ocnrb Ocnrb commented Sep 6, 2026

Copy link
Copy Markdown
Member

isValidSignature and checkAccess now answer the same question. readOnly is not consulted there: the contract only sees a hash, never the stream, so a filter would cut a member's reactions and key requests along with their messages.

… price params

- isValidSignature now answers checkAccess plus the read-only filter; sticky membership (everMember/erased/join) removed
- asymmetric token failure: fail-open at ingest, strict for checkAccess
- initialize validates the gate token interface (balanceOf probe)
- ban/unban owner-only; allow reverts on banned
- new: states(address[]), membersCount/membersAt (NONE), setPrice/setDuration
- tests rewritten for the v3 semantics
The contract only sees a hash, never the stream, so the filter cut a
member's reactions, presence and key requests along with the messages.
Sealed enforces read-only through key distribution; Visible through
readers at ingest and the validating storage node.
@Ocnrb
Ocnrb merged commit 6771858 into main Sep 6, 2026
2 checks passed
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.

1 participant