Flag Storage
The Flag Storage contract is used to store supplemental information about Heroes and Wallets that is not contained in other contracts.
The V1 version of this contract, which primarily stored data about the Perilous Journey and CV Gen0 Rerolls, has been deprecated in favor of V2.
Pertinent information that is still stored in the V1 contract will be migrated to the V2 system in the future.
Contracts
Addresses
DFK Chain
FlagStorageV2
0x75d8ba2E4725633FcdcC165332dCA04c107915cA
0x49b145D2164B137a398951a76D069118F2EAfe4a
Klaytn
FlagStorageV2
0xeb9ff38209dCC4236DBFb3C275c0AAeEBf0B92Cf
0x3f81c3a28c4802E2B1966A5590beEAb895cC01DD
Interfaces
ABIs
Historical Contracts
These contracts have been deprecated and should not be used. They are listed here for data analysis and tracking purposes only.
Addresses
DFK Chain
FlagStorageV1
0x659D6F1Ba11c388A55091dc83e77808081201D5D
0xfD892302248D97626bF61Ea5C4308cFaF2b4dA1C
Harmony
FlagStorageV1
0x284F756A212Afd072E5a6033Ace9BE0Eed1d8811
0x2e0B652a5BBc6547DD11aA7A25235dd92d2Fde23
Interfaces
ABIs
FlagStorageV1
The V1 FlagStorage system is constructed from a two layer mapping, where the first layer is indexed by keys that correspond to wallet addresses or Hero IDs. The second layer is indexed by storage IDs and return an array of uint32
values. These uint
values can be broken down into their individual bits for boolean
storage, or split into lower and upper uint16
values.
To retrieve this data, use getWalletStorageFlag
or getHeroStorageFlag
for boolean
values, and getWallet
/HeroStorageLower
/Upper16BitValue
for uint16
values.
This is not a complete list of Flag Storage data, as the remainder can be retrieved from the Perilous Journey and Gen0 Reroll contracts. All relevant data will eventually be migrated to the V2 contract.
Wallet Storage
2
1
0
boolean
Donated to Philippines hurricane relief (2021)
Harmony
2
1
1
boolean
Donated to UNICEF campaign (April 2022)
Harmony DFK Chain
Hero Storage
4
0
0
boolean
Perilous Journey Survivor
Harmony
4
0
1
boolean
Gen0 Reroll (CV) Game Genes
Harmony
4
0
2
boolean
Gen0 Reroll (CV) Visual Genes
Harmony
5
0
0
boolean
Hero survived the Perilous Journey
Harmony
5
0
1
boolean
Hero died on the Perilous Journey
Harmony
5
0
2
boolean
Hero is eligible for 3x +5 Stat Ups from the Perilous Journey
Harmony
5
0
3
boolean
Hero received 3x +5 Stat Ups from the Perilous Journey
Harmony
Last updated