YetiGameLogic
Verified contract
Implementation
Active on
Ethereum with 2 txns
Storage
Map
Table
Raw
Constants and immutables
8
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
18 additional
variables
Balances ($0.00)
No balances found for "YetiGameLogic"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14449231 | 3 years ago | | | 0 | 0.00097770400 | |
| 14295834 | 3 years ago | | | 0 | 0.0022907108 |
ABI
ABI objects
Getter at block 21287502
FIGHTING_STOLEN_RISK_PERCENTAGE() view returns (uint256)
100
GATHERING_FRXST_TAX_PERCENTAGE() view returns (uint256)
50
GATHERING_TAX_RISK_PERCENTAGE() view returns (uint256)
50
GENERAL_FRXST_TAX_PERCENTAGE() view returns (uint256)
10
GetTotalYetiStaked() view returns (uint256)
0
HEALING_COST() view returns (uint256)
500000000000000000000
HUNTING_INJURY_RISK_PERCENTAGE() view returns (uint256)
500
INJURY_TIME() view returns (uint256)
86400
LEVEL_UP_COST_MULTIPLIER() view returns (uint256)
100
MINIMUM_TO_EXIT() view returns (uint256)
172800
RandomnessEngine() view returns (address)
0x0000000000000000000000000000000000000000
frxst() view returns (address)
0x0000000000000000000000000000000000000000
getSignerStore() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
owner() view returns (address)
0x35ced693b09a7d27a84481885c5077c18ac3c8bf
paused() view returns (bool)
false
rescueEnabled() view returns (bool)
false
rewardCalculationDuration() view returns (uint256)
86400
rs() view returns (address)
0x0000000000000000000000000000000000000000
totalYetiStakedFighting() view returns (uint256)
0
totalYetiStakedGathering() view returns (uint256)
0
totalYetiStakedHunting() view returns (uint256)
0
yeti() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
experience(uint256) view returns (uint256)
exprates(uint256, uint256) view returns (uint256)
fighterArray(uint256) view returns (uint16 tokenId, uint80 value, uint8 activityId, address owner, uint80 stakeTime)
fighterIndices(uint256) view returns (uint256)
fighters(uint256) view returns (uint16 tokenId, uint80 value, uint8 activityId, address owner, uint80 stakeTime)
getStakedTokens(address _user) view returns (uint256[])
hospital(uint256) view returns (uint16 tokenId, uint80 value, address owner)
initiateGame(uint256) view returns (bool)
levels(uint256) view returns (uint8)
onERC721Received(address, address from, uint256, bytes) pure returns (bytes4)
palace(uint256) view returns (uint16 tokenId, uint80 value, uint8 activityId, address owner, uint80 stakeTime)
randomIndex(uint256) view returns (uint256 randomValue)
rates(uint256, uint256) view returns (uint256)
stakedToken(address, uint256) view returns (uint256)
tokenRarity(uint256) view returns (uint256)
tokenToPosition(uint256) view returns (uint256)
yetiMultiplier(uint256) view returns (uint256)
State-modifying
Events ClaimSickYeti(uint256 tokenId)
Heal(uint256 tokenId)
SetDesignatedSigner(address newSigner)
SetExpRates(uint256[][] _exprates)
SetFrxstRates(uint256[][] _rates)
SetGatherTaxPercentage(uint256 _tax)
SetGeneralTaxPercentage(uint256 _tax)
SetHealingCost(uint256 _healingcost)
SetInjuryTime(uint256 _seconds)
SetLevelUpCostMultiplier(uint256 _multiplier)
SetMinimumClaimTime(uint256 _seconds)
SetRescueEnabled(bool _rescue)
addManyToPalace(address account, uint256[] tokenIds, uint8 activityId)
claimMany(uint16[] tokenIds, bool unstake)
fightingStolenRisk(uint256 _new)
gatheringFRXSTRisk(uint256 _new)
healCostSetter(uint256 cost)
huntingInjuryRisk(uint256 _new)
init(address _yeti, address _frxst, address _treasury, address _rs, address _vrf)
initialize()
initiateGameAt(struct rarityCheckRarity[] rarity)
levelup(uint256 tokenId)
renounceOwnership()
rescue(uint256[] tokenIds)
setLevelExp(uint256[] _levelExp)
setPaused(bool _paused)
setRewardCalculationDuration(uint256 _amount)
setVRF(address _vrf)
setlevelCost(uint256[] _levelCost)
setyetiMultiplier(uint256[] _yetiMultiplier)
transferOwnership(address newOwner)
Healing(uint256 tokenId, address healer, uint256 cost)
Injury(uint256 tokenId, uint80 injuredblock)
Log(address arg0, uint16 arg1, uint8 arg2)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Stolen(uint256 tokenId)
TokenStaked(address owner, uint256 tokenId, uint8 activityId, uint256 value)
Unpaused(address account)
YetiClaimed(uint256 tokenId, uint256 earned, bool unstaked)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.