RegularMission

Verified contract

Active on Ethereum with 6,073 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"

0x8814973c66fec12482cd29b068fa9530ae2c396efb04e11f697043a4feb55193
0xfabd9dbae9eae9bfbec5b638a08e4926666da0305cd0c7b0693d8d079e14ade7
0xdc7f1b4c0cdf4c77f17ede9464a4b8a38a9dc67b16afbaf450c8785e211120a7
0x394cd930f0c1a8cc274a203268ef476076b891fd518eb7e44ce6b8760552584b
0xd914160f2e26de30ffe3b3bce862a0338709e5cf5ba57e32969e6b4e08c01581
0x059302c6597792b9824ef100073fbeaff99adfa5c7bb5998bbe88d62988b7a0b
0x03397bb5dc0b6ad7f4ba3605738c72e5f81a1baa30f013ccd0554e109f616bfa
0xc22f07c99a325f3b0aa7c796fbdf0294041072685cbd8b5e2e226239673e953a
0x0c0e3c5d0327cb30c80c9383e1c58ba13848f272e0287d4588163b6fb25ea6f5
0x23e26fc271ba0bc66047649ffe346efe7a875ed29923b80b1660e1cae80bab36

Functions
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 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.