Skip to content

[Glossary entry] bridgelet-audit/glossary/sweep-nonce.md: Sweep nonce #254

Description

@phertyameen

Glossary entry: bridgelet-audit/glossary/sweep-nonce.md

Purpose:
Define the sweep nonce used by SweepController for replay protection.

This file should cover:

  • Explain how construct_sweep_message() folds the current nonce into the signed message hash.
  • Clarify which code paths increment the nonce (execute_sweep) and which currently do not (claim).
  • Note that get_nonce() must be read live from the contract before signing, not tracked locally off-chain.

Scope: documentation-only addition to a new, standalone folder. No changes to contracts/, docs/, scripts/, or tools/ are needed to close this issue.


Part of the bridgelet-audit/ knowledge-base initiative (3/100).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions