Package 0xe07a…c5fa
dungeon_utils
- Move path
- 0x625d…9849::dungeon_utils
- Functions
- 1210 public, 0 entry
- Structs
- 0
- Friend modules
- None
dungeon_utils
Functions12
- public fun calcRarity(vector<u8>): (String, u64, u64, String)
- public fun calcRating(u64, vector<u8>): u64
- public fun genreataColor(u64,vector<u8>,vector<u8>): (String, String, String)
- public fun getCavesProfitInSec(u64, u64): u64
- public fun getLevelUpFee(u64): u64
- public fun makeRandomRGB(vector<u8>,vector<u8>,vector<u8>): u64
- public fun pow(u64, u64): u256
- public fun randomColor(vector<u8>, &vector<u8>): u64
- public fun rgbToHex(u64,u64,u64): String
- public fun u64_to_ascii(u64): vector<u8>
Structs0
This module defines no structs
Constants20
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Slot | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | 1000000 | u64 | Value | calc_gem_upgrade_rating |
| 1 | 04701700000000000028230000000000002a26000000000000f226000000000000 | vector<u64> | Value | calcRaritycalcRating |
| 2 | 1ed0dd060000000000706a070000000000500208000000000056a60800000000007c57090000000000ce160a00000000006de50a000000000095c40b000000000097b50c0000000000e0b90d0000000000fcd20e00000000009602100000000000794a11000000000097ac120000000000092b14000000000014c81500000000002a86170000000000f06719000000000041701b000000000031a21d0000000000170120000000000089902200000000006b54250000000000ef502800000000009b8a2b000000000056062f000000000067c932000000000084d9360000000000d63c3b000000000006fa3f0000000000 | vector<u64> | Value | getLevelUpFee |
| 3 | "0" // interpreted as UTF8 string | vector<u8> | Value | u64_to_ascii |
| 4 | "N" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 5 | "FFFFFF" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 6 | "R" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 7 | "1A73E8" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 8 | "SR" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 9 | "F28800" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 10 | "SSR" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 11 | "6CD206" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 12 | "UR" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 13 | "E50C0C" // interpreted as UTF8 string | vector<u8> | Value | calcRarity |
| 14 | "r_m" // interpreted as UTF8 string | vector<u8> | Value | genreataColor |
| 15 | "g_m" // interpreted as UTF8 string | vector<u8> | Value | genreataColor |
| 16 | "b_m" // interpreted as UTF8 string | vector<u8> | Value | genreataColor |
| 17 | "r_s" // interpreted as UTF8 string | vector<u8> | Value | genreataColor |
| 18 | "g_s" // interpreted as UTF8 string | vector<u8> | Value | genreataColor |
| 19 | "b_s" // interpreted as UTF8 string | vector<u8> | Value | genreataColor |