quest_v2
Module0x351d…0dc6
- Move path
- 0xe19a…dfe6::quest_v2
- Functions
- 1310 public, 0 entry
- Structs
- 9
- Friend modules
- None
Functions13
- public fun claim_bonus_point<T0>(&guild::Config,&mut QuestVault,&mut guild::UserArchive,vector<u8>,vector<u8>,Coin<T0>,&Clock)
Structs9
key is an object with an id. store can be kept inside other objects. copy can be duplicated. drop can be thrown away.
- ClaimBonusEventcopydropstore
user address task_id String sub_task_id String point u128 min_time u64 max_time u64 msg_expire_time u64 - EventCheckincopydropstore
user address day u64 last_checkin_time u64 - QuestVaultkey
id UID balances Bag fund_receiver address tokens_stat vector<TokenStat> - SetCheckinFeeEventcopydropstore
fee u64 type TypeName - SetFundReceiverEventcopydrop
new_receiver address - TokenStatcopydropstore
token_type TypeName amount_in u64 amount_out u64 last_updated u64 - VaultCreatedEventcopydrop
vault_id ID - VaultDepositEventcopydrop
vault_id ID token_type TypeName amount u64 total_balance u64 - VaultWithdrawEventcopydrop
vault_id ID token_type TypeName amount u64 total_balance u64
Constants9
Constants are shown the way the code loads them. Bytecode does not keep their names.
| Index | Value | Type | Use | Used in |
|---|---|---|---|---|
| 0 | "QUEST_MODULE" // interpreted as UTF8 string | vector<u8> | Value | set_checkin_feecheckinclaim_bonus_pointpaused |
| 1 | "QUEST_CLAIM_BONUS_POINT_TIME_RANGE" // interpreted as UTF8 string | vector<u8> | Value | claim_bonus_point |
| 2 | 8002 | u64 | Abort code | claim_bonus_point |
| 3 | 8003 | u64 | Abort code | claim_bonus_point |
| 4 | 8004 | u64 | Abort code | checkinclaim_bonus_point |
| 5 | 8005 | u64 | Abort code | checkin |
| 6 | 8006 | u64 | Abort code | claim_bonus_point |
| 7 | 8007 | u64 | Abort code | withdraw_from_vault |
| 8 | 8008 | u64 | Abort code | withdraw_from_vault |