Skip to content

fix: expose is_paused query on token contract#155

Open
Yusufolosun wants to merge 1 commit into
BCPathway:mainfrom
Yusufolosun:fix/contract-is-paused-query
Open

fix: expose is_paused query on token contract#155
Yusufolosun wants to merge 1 commit into
BCPathway:mainfrom
Yusufolosun:fix/contract-is-paused-query

Conversation

@Yusufolosun
Copy link
Copy Markdown

Closes #56

Summary

Exposes a public is_paused query on the token contract that delegates to lifecycle state.

Root Cause

Pause state was only internal to the lifecycle module and not accessible via the token contract interface.

Changes

  • Added is_paused to BcForgeToken, delegating to bc_forge_lifecycle::is_paused

Testing

  • cargo test -p bc-forge-token

Note: Pre-existing compile error in the admin module (lib.rs:155-160) prevents full test suite execution. Unrelated to this change.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@Yusufolosun Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[Contract] Add Public is_paused() Query Function

1 participant