RegularMission
Verified contract
Active on
Ethereum with 6,073 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
0x4620…57ad
0x951f…bda0
0x42c5…024a
Balances ($0.00)
No balances found for "RegularMission"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21164623 | 3 days ago | | | 0 | 0.0032250996 | |
| 21150021 | 5 days ago | | | 0 | 0.0018507270 | |
| 21150017 | 5 days ago | | | 0 | 0.0016193595 | |
| 21150013 | 5 days ago | | | 0 | 0.0012187789 | |
| 21093071 | 13 days ago | | | 0 | 0.0041451871 | |
| 21093066 | 13 days ago | | | 0 | 0.0055258958 | |
| 21082276 | 15 days ago | | | 0 | 0.0012393116 | |
| 21051927 | 19 days ago | | | 0 | 0.0010832208 | |
| 21048518 | 19 days ago | | | 0 | 0.00071308677 | |
| 21042977 | 20 days ago | | | 0 | 0.0018040370 |
ABI
ABI objects
Getter at block 21187921
ADMIN() view returns (bytes32)
0x41444d494e000000000000000000000000000000000000000000000000000000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DEFAULT_TROOP_NUM() view returns (uint256)
3
addTroopCost() view returns (uint256)
3000
amtManager() view returns (address)
0x42c5023d0f9843c0bf93e324a907c61460eb024a
bonusUnit() view returns (uint256)
2
getAllowedCollection() view returns (address[])
[0x99f419934192F8dE7bf53B490D5BdB88527654BF]
locker() view returns (address)
0x4620274905e061f24b0cd7ffb20b34c1bedb57ad
maxBonus() view returns (uint256)
4
maxMemberPerTroop() view returns (uint256)
5
maxTroopNum() view returns (uint256)
5
powerEffect() view returns (uint128 powerUnit, uint128 reductionUnit)
(powerUnit=50, reductionUnit=500)
rewardForFailure() view returns (uint256)
1
rewarder() view returns (address)
0x951f92436aa2208e0f8cd71e2b6208b211e2bda0
tma() view returns (address)
0x0000000000000000000000000000000000000000
tmaPower() view returns (uint256)
50
tmas() view returns (address)
0x99f419934192f8de7bf53b490d5bdb88527654bf
tmasMetadata() view returns (address)
0xe66a11e52f513e6c0cc85cc75571dc15941e460c
Read-only
currentMission(address, uint256) view returns (uint256)
getMaxTroopNum(address user) view returns (uint256)
getMissionNumAndStartTimestamp(address user, uint256 troopId) view returns (uint256, uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getTroopMembers(address user, uint256 troopId) view returns (address[], uint256[])
getTroopsInMission(address user) view returns (uint256[])
hasRole(bytes32 role, address account) view returns (bool)
isMissionPaused(uint256 missionId) view returns (bool)
missions(uint256) view returns (uint128 term, uint64 reward, uint64 successRate)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addAllowedCollection(address[] addresses)
addTokenToTroop(uint256 troopId, struct NFTTokenStruct[] tokens)
addTroop()
endMission(address user, uint256 troopId)
evaluate(uint256 troopId)
grantRole(bytes32 role, address account)
pauseMission(uint256[] missionIds)
removeAllowedCollection(address[] addresses)
renounceRole(bytes32 role, address account)
resetForEmergency(address user, uint256 troopId)
revokeRole(bytes32 role, address account)
setAddTroopCost(uint256 value)
setAmtManager(address value)
setBonusUnit(uint256 value)
setLocker(address value)
setMaxBonus(uint256 value)
setMaxMemberPerTroop(uint256 value)
setMaxTroopNum(uint256 value)
setMission(uint256 missionId, struct RegularMissionMission mission)
setPowerEffect(struct RegularMissionPowerEffectUnit value)
setRewardForFailure(uint256 value)
setRewarder(address value)
setTMA(address value)
setTMAPower(uint256 value)
setTMAs(address value)
setTMAsMetadata(address value)
startMission(uint256 missionId, uint256 troopId, struct NFTTokenStruct[] tokens)
unpauseMission(uint256[] missionIds)
AddedTokenToTroop(address indexed user, uint256 indexed troopId, address collection, uint256 tokenId)
MissionResult(address indexed user, uint256 indexed troopId, uint256 indexed missionIed, bool isSuccess, uint256 reward)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
StartMission(address indexed user, uint256 indexed troopId, uint256 indexed missionId)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.