Gods Unchained

Verified contract

Active on Ethereum with 1,431 txns
Deployed by via 0x7fb57320 at 5969990
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional variable
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
 (#56)
ERC-721
--
0x7c3f28e6b5eda561d001c790b0abd8fee1328fb9c1597f4e30d172e344b012d8
0x82391ae09c81ee6d1df2e2f4a8a2c5f0a6bdb908ea44fdaf4db27f0825897ce7
0xd3fc3f7845132b08cd31e4e2305c9294a12c07ea5e7936cd9414986491035970
From
0xdee79af42bf66474161b45eef061cf31903c9df6d65396e7dd296a75c772dedf
0x93e7837abb82cfe88ab588fb8e607be936c4dd62dd06892dd99e118396b36025
0x5bfcb4c1f34687934a6fea8b9a735f71cc3e3cbcbf3af654e7a914972a49a203
0x0a7dbcf4a6eca3c968a458cfd0e4597188a029d268f07f5f8d9efcfabe627f55
0x452cb34d705044ae99b1d072ee37bc3b520dfba2e16c9dcd08783d6655c6b7c6
0x00885989a34409691dd135bca5f2118255bbb4e78db79d87dfca3bfb95fd4614
0x4fb5481c98b6ee0d2a0f6531bb4dfe5b603e1ba654db00f3edf2a63899173216

Functions
Getter at block 21258367
InterfaceId_ERC165(view returns (bytes4)
0x01ffc9a7
NAME(view returns (string)
Gods Unchained
SYMBOL(view returns (string)
GODS
burnCount(view returns (uint256)
0
currentSeason(view returns (uint8)
0
getActiveCards(view returns (uint256)
603050
getBurnCount(view returns (uint256)
0
governor(view returns (address)
0x95b697e13f227d55ef4336f7aa762fe243eef590
name(view returns (string)
Gods Unchained
paused(view returns (bool)
false
protoCount(view returns (uint16)
399
symbol(view returns (string)
GODS
tokenMetadataBaseURI(view returns (string)
https://api.godsunchained.com/card/
totalSupply(view returns (uint256)
603050
Read-only
balanceOf(address _ownerview returns (uint256)
cards(uint256view returns (uint16 protouint16 purity)
common(uint256view returns (uint16)
epic(uint256view returns (uint16)
exists(uint256 _tokenIdview returns (bool)
getApproved(uint256 _tokenIdview returns (address)
getCard(uint256 idview returns (uint16 protouint16 purity)
getLimit(uint16 idview returns (uint64 limitbool set)
getProto(uint16 idview returns (bool existsuint8 goduint8 seasonuint8 cardTypeuint8 rarityuint8 manauint8 attackuint8 healthuint8 tribe)
getRandomCard(uint8 rarityuint16 randomview returns (uint16)
getShine(uint16 puritypure returns (uint8)
isApprovedForAll(address _owneraddress _operatorview returns (bool)
isTradable(uint16 protoview returns (bool)
legendary(uint256view returns (uint16)
limits(uint16view returns (uint64 limitbool exists)
migrated(uint256view returns (bool)
mythic(uint256view returns (uint16)
ownerOf(uint256 _tokenIdview returns (address)
owns(address proposeduint256 idview returns (bool)
ownsAll(address proposeduint256[] idsview returns (bool)
packs(uint256view returns (address)
rare(uint256view returns (uint16)
seasonTradabilityLocked(uint8view returns (bool)
seasonTradable(uint8view returns (bool)
supportsInterface(bytes4 _interfaceIdview returns (bool)
tokenByIndex(uint256 _indexview returns (uint256)
tokenOfOwnerByIndex(address _owneruint256 _indexview returns (uint256)
tokenURI(uint256 _tokenIdview returns (string)
State-modifying
addMinion(uint16 externalIDuint8 goduint8 rarityuint8 manauint8 attackuint8 healthuint8 tribebool packablereturns (uint16)
addPack(address approved
addProto(uint16 externalIDuint8 goduint8 rarityuint8 manauint8 attackuint8 healthuint8 cardTypeuint8 tribebool packablereturns (uint16)
addProtos(uint16[] externalIDsuint8[] godsuint8[] raritiesuint8[] manasuint8[] attacksuint8[] healthsuint8[] cardTypesuint8[] tribesbool[] packablereturns (uint16)
addSpell(uint16 externalIDuint8 goduint8 rarityuint8 manabool packablereturns (uint16)
addWeapon(uint16 externalIDuint8 goduint8 rarityuint8 manauint8 attackuint8 durabilitybool packablereturns (uint16)
approve(address touint256 id
approveAll(address touint256[] ids
burn(uint256 id
burnAll(uint256[] ids
createCard(address owneruint16 protouint16 purityreturns (uint256)
makePermanantlyTradable(uint8 season
makeTradable(uint8 season
makeUntradable(uint8 season
migrate(uint256 id
migrateAll(uint256[] ids
nextSeason(
pause(
replaceProto(uint16 indexuint8 goduint8 cardTypeuint8 manauint8 attackuint8 healthuint8 tribe
safeTransferFrom(address _fromaddress _touint256 _tokenId
safeTransferFrom(address _fromaddress _touint256 _tokenIdbytes _data
setApprovalForAll(address _tobool _approved
setGovernor(address _gov
setLimit(uint16 iduint64 limit
transfer(address touint256 idpayable 
transferAll(address touint256[] idspayable 
transferAllFrom(address fromaddress touint256[] ids
transferFrom(address fromaddress touint256 id
unpause(
Events
Approval(address indexed _owneraddress indexed _approveduint256 indexed _tokenId
ApprovalForAll(address indexed _owneraddress indexed _operatorbool _approved
CardCreated(uint256 indexed iduint16 protouint16 purityaddress owner
NewProtoCard(uint16 iduint8 seasonuint8 goduint8 rarityuint8 manauint8 attackuint8 healthuint8 cardTypeuint8 tribebool packable
Pause(
Transfer(address indexed _fromaddress indexed _touint256 indexed _tokenId
Unpause(
Constructor
constructor(address previous
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.