RegularMission

Verified contract

Active on Ethereum with 6,081 txns
Deployed by via 0x31f9c16f at 16936452
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "RegularMission"

0x95745d111712c26150c3e6268b75e4dce83b2108420fcc9d89d895d8b27211a7
0x63925d3ab5e34e20bccf2dc468242cc1e9bb880c8a356544e1a16b666044bcba
0xbcc8bcc33c59cfaf3c55e66ca4b8ca7d999f507e184ce150c39cbd4addf3b760
0x82e4d374424d771efb5ba83c8e7be9f328ab0e267324973a3a39721352d017d3
0x98bb5debfda1da3e76fc677faf6e1c6e8c42f178b262b64bfc0d93e271733980
0xfba1c857cb806549117bf4d0d107a77fcf3c16df4fed80268c5d32186c88908f
0x15fff39d01e9f69658a33fd1f93c854328a87b3811f878acb9407414e599ea83
0x148de920999d042dfad9e3404e83646405749cd92f35cbcd818a078ff31c59eb
0x8814973c66fec12482cd29b068fa9530ae2c396efb04e11f697043a4feb55193
0xfabd9dbae9eae9bfbec5b638a08e4926666da0305cd0c7b0693d8d079e14ade7

Functions
Getter at block 21379301
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 powerUnituint128 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(addressuint256view returns (uint256)
getMaxTroopNum(address userview returns (uint256)
getMissionNumAndStartTimestamp(address useruint256 troopIdview returns (uint256uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getTroopMembers(address useruint256 troopIdview returns (address[]uint256[])
getTroopsInMission(address userview returns (uint256[])
hasRole(bytes32 roleaddress accountview returns (bool)
isMissionPaused(uint256 missionIdview returns (bool)
missions(uint256view returns (uint128 termuint64 rewarduint64 successRate)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addAllowedCollection(address[] addresses
addTokenToTroop(uint256 troopIdstruct NFTTokenStruct[] tokens
addTroop(
endMission(address useruint256 troopId
evaluate(uint256 troopId
grantRole(bytes32 roleaddress account
pauseMission(uint256[] missionIds
removeAllowedCollection(address[] addresses
renounceRole(bytes32 roleaddress account
resetForEmergency(address useruint256 troopId
revokeRole(bytes32 roleaddress account
setAddTroopCost(uint256 value
setAmtManager(address value
setBonusUnit(uint256 value
setLocker(address value
setMaxBonus(uint256 value
setMaxMemberPerTroop(uint256 value
setMaxTroopNum(uint256 value
setMission(uint256 missionIdstruct 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 missionIduint256 troopIdstruct NFTTokenStruct[] tokens
unpauseMission(uint256[] missionIds
Events
AddedTokenToTroop(address indexed useruint256 indexed troopIdaddress collectionuint256 tokenId
MissionResult(address indexed useruint256 indexed troopIduint256 indexed missionIedbool isSuccessuint256 reward
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
StartMission(address indexed useruint256 indexed troopIduint256 indexed missionId
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.