Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
233f3ad
feat: first version of Qusino sc
TakaYuPP Jan 17, 2026
b20d5aa
feat: reimplementing the asset management and adding some of gtest cases
TakaYuPP Jan 24, 2026
046b341
more testcases
TakaYuPP Jan 24, 2026
94f162f
feat: added more testcases
TakaYuPP Jan 29, 2026
3f9f41d
buyQST update with min pricing on the qx contract
TakaYuPP Feb 7, 2026
c217dbe
Merge branch 'develop' into feat/latest-qusino
TakaYuPP Feb 14, 2026
b534de9
fix: prefix issue
TakaYuPP Feb 14, 2026
69a6588
Merge pull request #38 from qubic/develop
TakaYuPP Feb 19, 2026
aa9e3a9
fix: rev1
TakaYuPP Feb 23, 2026
a54791c
fix: fixed the type of input for the asset&staking duration
TakaYuPP Feb 23, 2026
d0820e1
fix: updated the qusino sc with updating the logic&added logs
TakaYuPP Mar 6, 2026
032a532
Merge branch 'develop' into feat/latest-qusino
TakaYuPP Mar 6, 2026
89cab4e
fix: / to div
TakaYuPP Mar 6, 2026
280a4e9
fix: daily bonus amount
TakaYuPP Mar 6, 2026
b69486c
fix: epoch for the first usage
TakaYuPP Mar 7, 2026
fa06b9a
fix: updated the redemption logic
TakaYuPP Mar 9, 2026
deb9ef5
Merge branch 'develop' into feat/latest-qusino
TakaYuPP Mar 9, 2026
65f78b9
removed unnecessary commit
TakaYuPP Mar 9, 2026
92efd35
Merge branch 'feat/latest-qusino' of https://github.com/TakaYuPP/core…
TakaYuPP Mar 9, 2026
ce496e1
unnecessary changes
TakaYuPP Mar 9, 2026
41e6c41
fixed contract_def.h
TakaYuPP Mar 9, 2026
e723168
updated the sc after updating the qpi
TakaYuPP Mar 9, 2026
fcdb70f
fixes
TakaYuPP Mar 14, 2026
0c522bd
remove googletest-src
TakaYuPP Mar 15, 2026
8341b18
changed release epoch
TakaYuPP Mar 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Qubic.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<ClInclude Include="contracts\QRaffle.h" />
<ClInclude Include="contracts\QBond.h" />
<ClInclude Include="contracts\QIP.h" />
<ClInclude Include="contracts\Qusino.h" />
<ClInclude Include="contracts\QReservePool.h" />
<ClInclude Include="contracts\QThirtyFour.h" />
<ClInclude Include="contracts\Pulse.h" />
Expand Down
3 changes: 3 additions & 0 deletions src/Qubic.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@
<ClInclude Include="contracts\QIP.h">
<Filter>contracts</Filter>
</ClInclude>
<ClInclude Include="contracts\Qusino.h">
<Filter>contracts</Filter>
</ClInclude>
<ClInclude Include="contract_core\contract_def.h">
<Filter>contract_core</Filter>
</ClInclude>
Expand Down
12 changes: 12 additions & 0 deletions src/contract_core/contract_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,16 @@
#define CONTRACT_STATE2_TYPE PULSE2
#include "contracts/Pulse.h"

#undef CONTRACT_INDEX
#undef CONTRACT_STATE_TYPE
#undef CONTRACT_STATE2_TYPE

#define QUSINO_CONTRACT_INDEX 25
#define CONTRACT_INDEX QUSINO_CONTRACT_INDEX
#define CONTRACT_STATE_TYPE QUSINO
#define CONTRACT_STATE2_TYPE QUSINO2
#include "contracts/Qusino.h"

// new contracts should be added above this line

#ifdef INCLUDE_CONTRACT_TEST_EXAMPLES
Expand Down Expand Up @@ -366,6 +376,7 @@ constexpr struct ContractDescription
{"QTF", 199, 10000, sizeof(QTF::StateData)}, // proposal in epoch 197, IPO in 198, construction and first use in 199
{"QDUEL", 199, 10000, sizeof(QDUEL::StateData)}, // proposal in epoch 197, IPO in 198, construction and first use in 199
{"PULSE", 204, 10000, sizeof(PULSE::StateData)}, // proposal in epoch 202, IPO in 203, construction and first use in 204
{"QUSINO", 207, 10000, sizeof(QUSINO::StateData)}, // proposal in epoch 205, IPO in 206, construction and first use in 207
// new contracts should be added above this line
#ifdef INCLUDE_CONTRACT_TEST_EXAMPLES
{"TESTEXA", 138, 10000, sizeof(TESTEXA::StateData)},
Expand Down Expand Up @@ -486,6 +497,7 @@ static void initializeContracts()
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(QTF);
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(QDUEL);
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(PULSE);
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(QUSINO);
// new contracts should be added above this line
#ifdef INCLUDE_CONTRACT_TEST_EXAMPLES
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(TESTEXA);
Expand Down
Loading
Loading