Skip to content

Update SC Pulse#896

Open
N-010 wants to merge 83 commits into
qubic:developfrom
N-010:feature/2026-01-12-Pulse
Open

Update SC Pulse#896
N-010 wants to merge 83 commits into
qubic:developfrom
N-010:feature/2026-01-12-Pulse

Conversation

@N-010
Copy link
Copy Markdown
Contributor

@N-010 N-010 commented May 25, 2026

I suggest adding a returnInvocatorReward function to QPI
Expanding the function from transferring asset control rights to QX to transferring to any SC

N-010 added 30 commits January 13, 2026 23:25
…reserve and don’t consume reseed budget with tier top-ups on k4 rounds

  - test/contract_qtf.cpp: expose private/protected internals for unit tests, add exact-match k2/k3 ticket generators (unique), fund jackpot balance in k4 test, and force FR off in baseline k2/k3 revenue-split test
…eserve top-ups; correct schedule bitmask in specx
Auto-update QTF index in QRP
Adds cleanup for allowedSmartContracts in QRP
N-010 and others added 25 commits January 30, 2026 20:46
Fixes padding
…ture/2026-01-12-Pulse

# Conflicts:
#	src/contract_core/contract_def.h
#	src/contracts/Pulse.h
#	test/contract_pulse.cpp
…undState; introduce new functions for ticket, prize, and round handling; update tests accordingly.
…ut structure, and introduce ticket clamping logic.
…AutoDeposits`. Update `GetAutoStats` test for expanded participant roster and shared state verification.
…layer` input parameter for clarity and consistency.
…re consistency across definitions and contract handling.
…ocator to Pulse wallet with validation and testing.
…12-Pulse

# Conflicts:
#	src/contracts/Pulse.h
…uce `returnInvocatorReward` utility, and refactor reward logic across procedures for consistency and improved readability.
…ulse.h` for improved clarity and maintainability.
…12-Pulse

# Conflicts:
#	src/contracts/Pulse.h
@Franziska-Mueller Franziska-Mueller requested review from Franziska-Mueller and cyber-pc and removed request for cyber-pc May 26, 2026 10:51
return __transfer(destination, amount, TransferType::qpiTransfer);
}

sint64 QPI::QpiContextProcedureCall::returnInvocatorReward() const
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this from qpi. qpi is not for mere code simplifications.

Comment thread src/contracts/Pulse.h Outdated
* @note The current QX transfer fee is paid from the Pulse contract balance; any invocation reward is refunded.
*/
PUBLIC_PROCEDURE_WITH_LOCALS(TransferTokenToQx)
* @brief Releases PULSE share management rights to another contract for the invocator.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the description and the name of the procedure is a bit misleading because you are not transferring Pulse shares but QHeart tokens.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. I fixed it

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.

2 participants