Skip to content

Commit eae0129

Browse files
committed
remove zkemail and changelog, remove events and errors
1 parent 90d36a3 commit eae0129

6 files changed

Lines changed: 0 additions & 392 deletions

File tree

content/stellar-contracts/changelog.mdx

Lines changed: 0 additions & 212 deletions
This file was deleted.

content/stellar-contracts/governance/governor.mdx

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -192,36 +192,6 @@ pub enum ProposalState {
192192

193193
States are divided into **time-based** (Pending, Active, Defeated) — derived from the current ledger, never stored — and **explicit** (all others) — persisted in storage, taking precedence once set.
194194

195-
## Events
196-
197-
| Event | Topics | Data |
198-
|-------|--------|------|
199-
| `ProposalCreated` | `proposal_id`, `proposer` | `targets`, `functions`, `args`, `vote_snapshot`, `vote_end`, `description` |
200-
| `VoteCast` | `voter`, `proposal_id` | `vote_type`, `weight`, `reason` |
201-
| `ProposalQueued` | `proposal_id` | `eta` |
202-
| `ProposalExecuted` | `proposal_id` ||
203-
| `ProposalCancelled` | `proposal_id` ||
204-
| `QuorumChanged` || `old_quorum`, `new_quorum` |
205-
206-
## Errors
207-
208-
| Error | Code | Description |
209-
|-------|------|-------------|
210-
| `ProposalNotFound` | 5000 | The proposal was not found |
211-
| `ProposalAlreadyExists` | 5001 | A proposal with the same parameters already exists |
212-
| `InsufficientProposerVotes` | 5002 | The proposer lacks sufficient voting power |
213-
| `EmptyProposal` | 5003 | The proposal contains no actions |
214-
| `InvalidProposalLength` | 5004 | Mismatched targets/functions/args vector lengths |
215-
| `ProposalNotActive` | 5005 | Voting is not currently open |
216-
| `ProposalNotSuccessful` | 5006 | The proposal has not succeeded |
217-
| `ProposalNotQueued` | 5007 | The proposal has not been queued |
218-
| `ProposalAlreadyExecuted` | 5008 | The proposal was already executed |
219-
| `ProposalNotCancellable` | 5009 | The proposal is in a non-cancellable state |
220-
| `AlreadyVoted` | 5016 | The account has already voted on this proposal |
221-
| `InvalidVoteType` | 5017 | Invalid vote type (must be 0, 1, or 2) |
222-
| `QuorumNotSet` | 5018 | Quorum has not been configured |
223-
| `QueueNotEnabled` | 5022 | Queuing is not enabled for this governor |
224-
225195
## Example
226196

227197
```rust

content/stellar-contracts/governance/votes.mdx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -112,23 +112,6 @@ In addition to the trait, the module exports free functions for lower-level use:
112112
| `num_checkpoints(e, account)` | Returns the number of checkpoints for an account. |
113113
| `delegate(e, account, delegatee)` | Delegates voting power. Requires authorization from `account`. |
114114

115-
## Events
116-
117-
| Event | Topics | Data |
118-
|-------|--------|------|
119-
| `DelegateChanged` | `delegator` | `from_delegate: Option<Address>`, `to_delegate: Address` |
120-
| `DelegateVotesChanged` | `delegate` | `previous_votes: u128`, `new_votes: u128` |
121-
122-
## Errors
123-
124-
| Error | Code | Description |
125-
|-------|------|-------------|
126-
| `FutureLookup` | 4100 | The queried ledger is in the future |
127-
| `MathOverflow` | 4101 | Arithmetic overflow occurred |
128-
| `InsufficientVotingUnits` | 4102 | Attempting to transfer more voting units than available |
129-
| `SameDelegate` | 4103 | Attempting to delegate to the already-set delegate |
130-
| `CheckpointNotFound` | 4104 | A checkpoint that was expected to exist was not found |
131-
132115
## See Also
133116

134117
- [Governor](/stellar-contracts/governance/governor)

content/stellar-contracts/index.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ for access control and contract management.
3838

3939
* **[Fee Abstraction](/stellar-contracts/fee-abstraction)**: Enable users to pay transaction fees in tokens (e.g. USDC) while relayers cover XLM fees.
4040

41-
## ZK Email
42-
43-
* **[DKIM Registry](/stellar-contracts/zk-email)**: On-chain DKIM public key hash registry for zkEmail verification systems.
44-
4541
## Security and Audits
4642

4743
Our contracts are built with security as a top priority. You can find our audit reports [here](https://github.com/OpenZeppelin/stellar-contracts/tree/main/audits).
@@ -72,7 +68,6 @@ Similarly, utilities and other modules have their own error codes:
7268
* Accounts: `3XXX`
7369
* Governance: `4XXX`
7470
* Fee Abstraction: `5XXX`
75-
* ZK Email: `6XXX`
7671

7772
## Important Notes
7873
As a deliberate design choice, this library manages the TTL for temporary and persistent storage items.

0 commit comments

Comments
 (0)