forked from mico/idle_moloch
39 lines
645 B
Solidity
39 lines
645 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.13;
|
|
|
|
struct Raider {
|
|
uint16 level;
|
|
}
|
|
|
|
struct Army {
|
|
Raider moloch_denier;
|
|
Raider apprentice;
|
|
Raider anointed;
|
|
Raider champion;
|
|
uint256 profit_per_second;
|
|
}
|
|
|
|
struct Player {
|
|
uint256 total_minted;
|
|
uint256 created_at;
|
|
uint256 last_raided_at;
|
|
uint256 total_rewards;
|
|
uint32 n_runs;
|
|
uint32 prestige_level;
|
|
bool is_registered;
|
|
bool has_active_session;
|
|
}
|
|
|
|
struct Boss {
|
|
uint8 level;
|
|
uint8[7] variants;
|
|
}
|
|
|
|
struct LastBossResult {
|
|
uint256 battled_at;
|
|
uint256 reward;
|
|
uint8 level;
|
|
uint8 variant;
|
|
bool prestigeGained;
|
|
}
|