Skip to content

Feature/2025 08 01 vottun bridge#7

Open
sergimima wants to merge 616 commits intoKavataK:VOTTUNfrom
sergimima:feature/2025-08-01-VottunBridge
Open

Feature/2025 08 01 vottun bridge#7
sergimima wants to merge 616 commits intoKavataK:VOTTUNfrom
sergimima:feature/2025-08-01-VottunBridge

Conversation

@sergimima
Copy link

No description provided.

philippwerner and others added 30 commits January 6, 2026 18:33
* Add qRWA SC

* Add qRWA unit test

* Fix payout logic

* Fix typos and renames

* Fix Bug

- Wrong treasury update after release when the SC does not have enough funds to pay for releaseShares (to QX)

* Add a comprehensive test case

* Exclude the SC from the snapshot

* Fix init addresses

* Fix init addresses for gtest

* Add get active poll functions

* Add function to get general asset balances

* Add function to get a list of general assets

* Adapt to new DateAndTime object

* Fix Pool B extra funds after revoking management rights

* Use internal Asset object in qRWA

* Add checks for dividend transfer

* Address comments

* Snapshot QMINE shares in all SC

* Fix SC code compliance

* Remove unused comments
This reverts commit e9293e7.
…e now accumulated only after successful order creation and refunds include both the order amount and fees. Improved slot management for proposals and added checks for multisig admin verification.
philippwerner and others added 20 commits March 5, 2026 19:30
…act to enhance clarity and maintainability. Adjust admin addresses to reflect new configurations while ensuring proper initialization of state variables.
* Add automatic state change detection with ContractState wrapper

- Wrap contract state access in ContractState<T, idx> template with .get() (const) and .mut() (marks dirty) accessors
- Move all contract state fields into nested struct StateData for each contract
- Add needsCleanup() const method to containers
- Add using declaration to unhide const operator() overload in QpiContextProcedureCall
- Use .get() instead of .mut() for const proposal method calls
- Update contracts.md: describe StateData, state.get()/state.mut() accessors,
  and dirty state digest recomputation at end of tick
- Update contracts_proposals.md: update all code examples to use
  state.get().proposals / state.mut().proposals
- Update README.md: mention StateData and accessor pattern
- Update EmptyTemplate.h: add empty StateData with usage comments
…00. (qubic#785)

* Speed up addition score.

* Increase the ADDITION_NUMBER_OF_MUTATIONS to 300
…scriptions

Implement oracle subscriptions
* fix: updated QVAULT SC

* feat: added getData functions

* fix: fixed some bugs in submitProposal procedures

* fix: voteInProposal

* fix: fixed type of index in for loop

* fix: fixed revenue distribution

* fix: fixed type of variable in for loop

* fix: fixed contract_qvault.cpp

* Add burning of asset shares

Extend transferShareOwnershipAndPossession() to support burning of asset
shares by transferring to NULL_ID. Burning contract shares is forbidden.

* final update for burning the Qcap

* feat: added new functions for fetching the data

* fix: fixed type convert errors

* feat: added test functions

* fix: fixed some errors according to gtest

* Always reserve contract stack for system procedures

Even if the contract stack is not needed for storing locals, inputs, or
outputs directly when starting a system procedure, it may be needed by
nested calls of QPI / procedures / functions. So we always need to
reserve a contract stack.

* updated the SC finally

* fix: removed unnecessary state

* fix: fixed some data type

* feat: added cancelMuslimId procedure

* fix: fixed for Phil's review

* fix: some ambiguous

* fix: cut duplicated votes

* fix: updated the QCP & AlloP & MKTP

* added the url for proposal and changed team fee end date

* fix: added cleanupIfNeeded() function for HashMap

* fix: removed Muslim features

* fix: removed a variable for muslim feature

* fix: removed a struct for muslim feature

* fix: fixed payment structure

* fix: fixed some order for initialization

* fix: removed reinvestingAddress

* fix: excepted SELF address in calc the number of qcap holders

* fix: fixed some distribution issues

* fix: fixed the circulating supply

* feat: added the revenue to send manually

* Revert "fix: added cleanupIfNeeded() function for HashMap"

This reverts commit 579f8be.

* Reapply "fix: added cleanupIfNeeded() function for HashMap"

This reverts commit ed47ca1.

* Update init of QX fees to fix gtest

* fix: fixed node breaking & getting the revenue from standard tx & output issue

* fix: counts staked amount in getNumberOfHolderAndAvgAm

* fix: fixed the initial result status of proposals

* fix: change the decision in vote

* fix: 1 Qcap buy issue

* fix: resolved change vote issue

* fix: fixed the getAmountForQearnInUpcomingEpoch

* added comments for all the functions and profedures

* fix: removed :: which it is restricted in development of qubic smart contract

* fix: removed QPI::QpiContext

* fix: fixed some parts by audit

* fix: second commit for audit

* fix: update for the rev2 audit

* fix: Qearn revenue issue

* fix: fixed the values for the initialize variables

* fix: fixed the bug in the voteInProposal precedure

* fix: fixed the bug for the ipo proposal voting

* qcapSoldAmount updated

* fixes

* fix: updated the Qvault V2 with the updated qpi

---------

Co-authored-by: Philipp Werner <22914157+philippwerner@users.noreply.github.com>
Co-authored-by: baoLuck <vitalymayer1706@gmail.com>
…ngs, peers, qubic.cpp, packages.config, gitignore; remove cli.md and tests.md

Made-with: Cursor
@sergimima sergimima force-pushed the feature/2025-08-01-VottunBridge branch from 93fe600 to a9346dd Compare March 10, 2026 14:05
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.