game
Module0xd1ca…5dcf
- Move path
- 0xe39b…a64d::game
- Functions
- 906 public, 56 entry
- Structs
- 37
- Friend modules
- None
game
Functions90
- entry fun admin_vault_return<T0, T1>(&mut GameState<T0, T1>,&mut CosmeticVault,&AdminCap,u64,&Clock)
- entry fun display_cosmetic_v3<T0, T1>(&mut GameState<T0, T1>,&mut CosmeticVault,BubbleCosmetic,&Clock)
- entry fun display_cosmetic_v4<T0, T1>(&mut GameState<T0, T1>,&mut CosmeticVault,BubbleCosmetic,&Clock)
Structs37
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- AdminCapstorekey
id UID - BubbleCosmeticstorekey
id UID cosmetic_instance_id u64 cosmetic_type_id u64 name String bubble_pressure u64 image_url String attributes VecMap<String, String> - BubbleGeneratorstorekey
id UID bubbler_id u64 tier u8 name String bubble_pressure u64 tank_pressure u64 image_url String attributes VecMap<String, String> - BubblerFusedcopydrop
player address from_tier u8 to_tier u8 new_bubbler_id u64 - BubblerMintedcopydrop
owner address bubbler_id u64 tier u8 bubble_pressure u64 - BubblerStakedcopydrop
owner address bubbler_id u64 tier u8 - BubblerUnstakedcopydrop
owner address bubbler_id u64 tier u8 - CosmeticBonuscopydropstore
bonus_type u8 bonus_bps u64 - CosmeticBonusAppliedKeycopydropstore
dummy_field bool - CosmeticBonusTableKeycopydropstore
dummy_field bool - CosmeticMintedcopydrop
owner address cosmetic_type_id u64 name String - CosmeticTypestore
name String image_url String bub_cost u64 bublz_cost u64 sui_cost u64 bubble_pressure u64 max_supply u64 minted u64 per_facility u64 disabled bool id UID cosmetics Table<u64, BubbleCosmetic> - DefaultFeeKeycopydropstore
dummy_field bool - DisplayedCosmeticInfodropstore
owner address cosmetic_type_id u64 bubble_pressure u64 - FeeTableKeycopydropstore
dummy_field bool - GAMEdrop
dummy_field bool id UID total_network_pressure u64 total_players u64 total_minted u64 total_burned u64 total_bublz_burned u64 game_start u64 paused bool sui_treasury Balance<SUI> treasury_recipient address bublz_cost u64 sui_costs vector<u64> cosmetic_types Table<u64, CosmeticType> next_cosmetic_id u64 player_tanks Table<address, PlayerTank> staked_bubblers Table<u64, StakedBubblerInfo> staked_bubbler_objects Table<u64, BubbleGenerator> displayed_cosmetics Table<u64, DisplayedCosmeticInfo> next_bubbler_id u64 next_cosmetic_instance_id u64 id UID treasury_cap TreasuryCap<T0> - PlayerCheckedIncopydrop
player address rep u64 streak u64 - PlayerTankstore
tier u8 last_upgrade_time u64 staked_bubbler_ids vector<u64> displayed_cosmetic_ids vector<u64> total_pressure u64 total_tank_pressure u64 upgrade_levels vector<u8> last_claim_time u64 total_earned u64 unclaimed_rewards u64 referrer address has_referrer bool - RepAddedcopydrop
player address amount u64 new_total u64 - RepConfigstore
daily_rep_cap u64 checkin_rep u64 checkin_cooldown_ms u64 streak_window_ms u64 base_fee_bps u64 streak_reduction_per_day_bps u64 max_streak_reduction_bps u64 streak_lock_days u64 - RepConfigKeycopydropstore
dummy_field bool - RepProfilestore
rep u64 streak u64 best_streak u64 last_checkin_ms u64 rep_added_today u64 day_start_ms u64 streak_fee_locked bool - RepTableKeycopydropstore
dummy_field bool - RepairConfigstore
enabled bool decay_period_ms u64 fee_bps u64 activated_at_ms u64 - RepairConfigKeycopydropstore
dummy_field bool - RepairTableKeycopydropstore
dummy_field bool - RewardsClaimedcopydrop
player address amount u64 burned u64 referrer_reward u64 - StakedBubblerInfodropstore
owner address tier u8 bubble_pressure u64 tank_pressure u64 - StatUpgradedcopydrop
player address upgrade_type u8 new_level u8 - StreakUpdatedcopydrop
player address streak u64 best_streak u64 locked bool - TankCreatedcopydrop
player address - TankDurabilitystore
last_repair_ms u64 total_earned_at_last_repair u64 - TankRepairedcopydrop
player address bub_cost u64 bub_earned_since_repair u64 - TankUpgradedcopydrop
player address new_tier u8
Constants114
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1 | u64 | Abort code | upgrade_tankmint_bubblerupgrade_statmint_cosmeticand 12 more |
| 1 | 2 | u64 | Abort code | stake_bubbler |
| 2 | 3 | u64 | Abort code | stake_bubbler |
| 3 | 4 | u64 | Abort code | unstake_bubblerremove_cosmeticremove_cosmetic_v2remove_cosmetic_v3 |
| 4 | 6 | u64 | Abort code | create_tankupgrade_tankmint_bubblerstake_bubblerand 18 more |
| 5 | 7 | u64 | Abort code | process_bub_paymentprocess_bublz_paymentprocess_sui_paymentadmin_init_rep_systemand 6 more |
| 6 | 8 | u64 | Abort code | set_referral |
| 7 | 9 | u64 | Abort code | set_referral |
| 8 | 10 | u64 | Abort code | upgrade_tankmint_bubblerstake_bubblerunstake_all_bubblersand 12 more |
| 9 | 12 | u64 | Abort code | upgrade_tank |
| 10 | 13 | u64 | Abort code | mint_bubblerupgrade_statset_sui_costsfuse_bubblersand 1 more |
| 11 | 14 | u64 | Abort code | mint_cosmetic |
| 12 | 15 | u64 | Abort code | mint_cosmeticdo_claim_partner_pack_v2 |
| 13 | 16 | u64 | Abort code | display_cosmeticdisplay_cosmetic_v2display_cosmetic_v3display_cosmetic_v4 |
| 14 | 17 | u64 | Abort code | display_cosmeticdisplay_cosmetic_v2display_cosmetic_v3display_cosmetic_v4 |
| 15 | 18 | u64 | Abort code | unstake_bubblerremove_cosmeticadmin_clear_cosmeticremove_cosmetic_v2and 3 more |
| 16 | 19 | u64 | Abort code | stake_bubblerdisplay_cosmeticdisplay_cosmetic_v2display_cosmetic_v3and 1 more |
| 17 | 20 | u64 | Abort code | claim_rewards |
| 18 | 21 | u64 | Value | |
| 19 | 22 | u64 | Abort code | emergency_withdraw |
| 20 | 23 | u64 | Abort code | upgrade_tankskip_to_tier |
| 21 | 24 | u64 | Abort code | set_referral |
| 22 | 25 | u64 | Abort code | create_tank |
| 23 | 86400000 | u64 | Value | calculate_pending_rewardsupgrade_tankadd_rep_cappedcalculate_pending_rewards_v2 |
| 24 | 200000000000000 | u64 | Value | calculate_current_emission |
| 25 | 4320000000 | u64 | Value | calculate_current_emission |
| 26 | 20000000000000000 | u64 | Value | calculate_pending_rewardsclaim_rewardscalculate_pending_rewards_v2 |
| 27 | 1500 | u64 | Value | get_player_fee_bps |
| 28 | 1250 | u64 | Value | |
| 29 | 250 | u64 | Value | claim_rewards |
| 30 | 8500 | u64 | Value | burn_bub_payment |
| 31 | 10000 | u64 | Value | burn_bub_paymentclaim_rewardsadmin_init_rep_systemadmin_set_rep_configand 6 more |
| 32 | 8 | u8 | Value | upgrade_tankadmin_upgrade_tank |
| 33 | 5 | u8 | Value | upgrade_stat |
| 34 | 100 | u64 | Abort code | rep_registerdaily_checkin |
| 35 | 101 | u64 | Abort code | admin_init_rep_system |
| 36 | 102 | u64 | Abort code | daily_checkinadmin_add_rep |
| 37 | 103 | u64 | Abort code | daily_checkin |
| 38 | 109 | u64 | Abort code | rep_register |
| 39 | 200 | u64 | Abort code | repair_tank |
| 40 | 204 | u64 | Abort code | admin_init_repair_system |
| 41 | 201 | u64 | Abort code | repair_tank |
| 42 | 202 | u64 | Abort code | repair_tank |
| 43 | 203 | u64 | Abort code | repair_tank |
| 44 | 300 | u64 | Abort code | admin_init_cosmetic_bonus |
| 45 | 400 | u64 | Abort code | admin_remove_partner_claims_v1do_claim_partner_packdo_claim_partner_pack_v2 |
| 46 | 401 | u64 | Abort code | admin_init_partner_claimsadmin_init_partner_claims_v2admin_init_partner_registryadmin_register_partner |
| 47 | 402 | u64 | Abort code | do_claim_partner_packdo_claim_partner_pack_v2 |
| 48 | "Droplet" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 49 | "https://bublz.fun/bubblers/droplet.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 50 | "Fizzer" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 51 | "https://bublz.fun/bubblers/fizzer.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 52 | "Trickler" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 53 | "https://bublz.fun/bubblers/trickler.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 54 | "Streamer" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 55 | "https://bublz.fun/bubblers/streamer.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 56 | "Pumper" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 57 | "https://bublz.fun/bubblers/pumper.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 58 | "Jet" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 59 | "https://bublz.fun/bubblers/jet.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 60 | "Blaster" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 61 | "https://bublz.fun/bubblers/blaster.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 62 | "Geyser" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 63 | "https://bublz.fun/bubblers/geyser.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 64 | "Eruption" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 65 | "https://bublz.fun/bubblers/eruption.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 66 | "Torrent" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 67 | "https://bublz.fun/bubblers/torrent.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 68 | "Tsunami" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 69 | "https://bublz.fun/bubblers/tsunami.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 70 | "Cyclone" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 71 | "https://bublz.fun/bubblers/cyclone.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 72 | "Rift" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 73 | "https://bublz.fun/bubblers/rift.png" // interpreted as UTF8 string | vector<u8> | Value | get_bubbler_stats |
| 74 | "Type" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrsmake_cosmetic_attrs |
| 75 | "Bubbler" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 76 | "Name" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrsmake_cosmetic_attrs |
| 77 | "0" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 78 | "1" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 79 | "2" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 80 | "3" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 81 | "4" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 82 | "5" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 83 | "6" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 84 | "7" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 85 | "8" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 86 | "9" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 87 | "10" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 88 | "11" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 89 | "12" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 90 | "Tier" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 91 | "Common" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 92 | "Uncommon" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 93 | "Rare" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 94 | "Epic" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 95 | "Legendary" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 96 | "Rarity" // interpreted as UTF8 string | vector<u8> | Value | make_bubbler_attrs |
| 97 | "Cosmetic" // interpreted as UTF8 string | vector<u8> | Value | make_cosmetic_attrs |
| 98 | 0x0000000000000000000000000000000000000000000000000000000000000000 | address | Value | process_bublz_paymentburn_bub_paymentcreate_tankclaim_rewardsand 3 more |
| 99 | "name" // interpreted as UTF8 string | vector<u8> | Value | init |
| 100 | "{name}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 101 | "image_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 102 | "{image_url}" // interpreted as UTF8 string | vector<u8> | Value | init |
| 103 | "description" // interpreted as UTF8 string | vector<u8> | Value | init |
| 104 | "Bubcoin Bubbler — {bubble_pressure} BP Mining Power" // interpreted as UTF8 string | vector<u8> | Value | init |
| 105 | "project_url" // interpreted as UTF8 string | vector<u8> | Value | init |
| 106 | "https://bublz.fun/bubcoin" // interpreted as UTF8 string | vector<u8> | Value | init |
| 107 | "collection" // interpreted as UTF8 string | vector<u8> | Value | init |
| 108 | "Bubcoin Bubblers" // interpreted as UTF8 string | vector<u8> | Value | init |
| 109 | "creator" // interpreted as UTF8 string | vector<u8> | Value | init |
| 110 | "BUBLZ" // interpreted as UTF8 string | vector<u8> | Value | init |
| 111 | "Bubcoin Cosmetic — +{bubble_pressure} BP Bonus" // interpreted as UTF8 string | vector<u8> | Value | init |
| 112 | "Bubcoin Cosmetics" // interpreted as UTF8 string | vector<u8> | Value | init |
| 113 | "" // interpreted as UTF8 string | vector<u8> | Value | do_claim_partner_packdo_claim_partner_pack_v2 |