Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
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
12 changes: 12 additions & 0 deletions src/contract_core/contract_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,16 @@

#endif

#undef CONTRACT_INDEX
#undef CONTRACT_STATE_TYPE
#undef CONTRACT_STATE2_TYPE

#define QPORTAL_CONTRACT_INDEX 29
#define CONTRACT_INDEX QPORTAL_CONTRACT_INDEX
#define CONTRACT_STATE_TYPE QPORTAL
#define CONTRACT_STATE2_TYPE QPORTAL2
#include "contracts/QPortal.h"

// new contracts should be added above this line

#ifdef INCLUDE_CONTRACT_TEST_EXAMPLES
Expand Down Expand Up @@ -416,6 +426,7 @@ constexpr struct ContractDescription
{"VOTTUN", 206, 10000, sizeof(VOTTUNBRIDGE::StateData)}, // proposal in epoch 204, IPO in 205, construction and first use in 206
{"QUSINO", 208, 10000, sizeof(QUSINO::StateData)}, // proposal in epoch 206, IPO in 207, construction and first use in 208
{"ESCROW", 210, 10000, sizeof(ESCROW::StateData)}, // proposal in epoch 208, IPO in 209, construction and first use in 210
{"QPORTAL", 217, 10000, sizeof(QPORTAL::StateData)}, // proposal in epoch 215, IPO in 216, construction and first use in 217
#ifndef NO_GGWP
{"GGWP", 217, 10000, sizeof(WOLFPACK::StateData)}, // proposal in epoch 215, IPO in 216, construction and first use in 217
#endif
Expand Down Expand Up @@ -542,6 +553,7 @@ static void initializeContracts()
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(VOTTUNBRIDGE);
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(QUSINO);
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(ESCROW);
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(QPORTAL);
#ifndef NO_GGWP
REGISTER_CONTRACT_FUNCTIONS_AND_PROCEDURES(WOLFPACK);
#endif
Expand Down
Loading
Loading