Potions

Potions are a consumable items that will replenish a Hero's missing HP or MP, restore used Stamina, and provide bonuses during combat. Potions are craftable at the Alchemist, and usable through the ItemConsumer contract.

ERC20: Potions are based on the ERC20 standard. For more information you can view the docs by OpenZeppelin. https://docs.openzeppelin.com/contracts/4.x/erc20

Potions have 0 decimals

Contracts

Potions

DFK Chain

Name
Mainnet
Testnet

0xe6Fd594437c4B91e8bd36475977593C98Bf089a4

0x580AC6618688eFfd12BC3eF15E6DE6Cdba19E677

0x84B252A4930A3656a469c6b360FcBEE991D555Bd

0xe7015821dBb19DFEA3a018B75fCDe31A6c3D36BC

0xA0c2Fbbb3f52bCbCAb2600322a6fBC2653518E00

0x0589B7C8fC653342FE3f217CdeA7636a55817f17

0x27bdc0f62DA17b13Cb134102dEf58dD9d578Ee10

0xd52E34bBAf8bf5b4c98B100ac17333C34C39F097

0xc974f3f154FD19C8D03F6dbbA1775129f93c80cb

0xfDe4a5a4D07a28b8F39F48FCc1A0A63Bbc1B4eb6

0x4ED3e1b8D1212b2839dBB1f0EFA029792d92c90f

0xB60A5E6354620623945B1458c3ebf64a55E8B9ab

0xBb9dEdfD96234315dD4899b438f9C41cD75dFdc6

0xaA6F8D27fDd633f67130c7a944475B15648D516a

0x242078edFDca25ef2A497C8D9f256Fd641472E5F

0xe606f6548Ae34DA9065B4fee88990F239b445403

0x1Ae5c72601AAF4C67C6a6004C4C2788D9EB5510C

0xDA5De41fBDDaa3a86e81CcBee9c024E74A3590f1

0x79d656A96139ED23CDf531d0dC34c000A0979c03

0x432cF215CfB21a9f8E4A1059E833932B7F8422Db

Kaia

Name
Mainnet
Testnet

0xaa60922B48D75967486F5dded85144aa09dA680C

0x68Df730b7e420675A600513dd47314634f4fd6D8

0xe66A66D47A184A3acEbfd3f84E41Ac8535499ca9

0x6033264d5058a6FAb1Ae0f266A8e09278b220f3b

0x8a9A5f9Cfe5dA00a077DF2E01a29a0c4EDadb174

0x5d748DB2e7Ea322232c04C34AE1c232c1d33A1Ef

0xf371B19b7B9C990c8c72cC96a992558f40a85525

0xD3C018FA060a9dE0641900747AE8D54F0f0EfC22

0xf0f001A44c895C6A3237fb4785648E9A9E8960fe

0x923DEb3ba0B8CCC9cb2E34486dbA1110520DBEdA

0xEeCafa01cebd3f38511dcF431d1bE86Abf044661

0xC257fa153018b1ee0888F9db9356a8997C85DaCe

0x3634CaEbD0481abe98d1Cb29fD8Cc492382c3755

0x2d70Bd938272d0fc0795730bc96A1528d4785B95

0x4546DBaAb48Bf1BF2ad7B56d04952d946Ab6e2a7

0xdb79649De0Ebf772Cd0F2AD9b9d3784e6b0a0E14

0x61F57C50fD281BfeAfcdFf812c24fAA555919a19

0xdD49F202a757B708C73bA261F82B0bFcdb2A5463

0x78279946215E5Bc8CE087bDd5C6DA6314408ecD7

0xD4A129449cfeEa442A55D8FD57A3EE60Ab8acB79

Metis

Name
Mainnet
Testnet

0x6E473afAD39150FfDC18Aab5D436C0cce06D44B2

0x15150Ea04eccF40D9f619BeB558CA022E9AbA0Fe

0x04b2890C7241bced2006984C5a3F85C99FABFd0c

0x75Be67DA5ebfcA744087CBc3e9493C2EA74C18f0

0x4E3c1463454ABaa87441C3206d48125715ceB2B3

0xfcE425b1ba36e7652568Fd2DdD001fAB72886145

0x82b999269E4d2C1Dd1fbac4fb1a00eE82458fB56

0xB40e807E21Dc6aCbb490FC30cBfe72e975Ee0ec3

0xD9551F2A44DE25E833e103eb9217F096f9d09eab

0xc84e7B45Aa6Fd51C60fD480B073a4d43444cFC4b

0xf5895209781ea575be5cF6286cbA2275bE577734

0x51267E51628A46ee1502913cA006CFd95Fa4e2Ed

0xEf4bE4fb3E03D173F29DbFE8F8f2Da26fDA95932

0x9e75D73E2AF493832d2ed85900DC6fe66528A836

0x2DC1b89d20878aD9dc06e7e165f340d6CCa78475

0xbf8bE9075D5B81bd57bA2476293f96027c79901A

0x797b89420A898Df912fadfD7CfE7840f7f19cD52

0x81EbEF672E6923Cbd2925D1CA37F233a3f7ACD9B

0x1360de63Ce2c34ac3c49aa4fa99046e8F3E86380

0x14215E4D0A946CE1396F1cD49FF1deB6F10bD648

Potion Crates

DFK Chain

Name
Mainnet
Testnet

0x5986045e7c221c8AD40A736B6434D82E29687aeB

0x9a5F30808f7b608c1d68915AeC8fA9180D9a7bDa

0x449eB718e351a86718A090A1a8Db3FD561306d9b

0x1AB2D40bA223fBfD3B0f734Ba3a0597c213A3277

0x5948dd8Df6afEFE05B033AD8f3ae513a9Cd4F1Dc

0xd56FaEF679Dd814E552Ca3728ca11Aea80e696fB

0xf17FD21bDF6713a1Dfed668b97835b21e32651e8

0x7E235f17c4ec372F9DD42916Cbd19C5b73d4C22E

0x591853e01EcFDcF1Bdc9f093423C197BfBBd1A4f

0x1ffee1384dfcd98794bb536bac2a78d28f31ddf0

0xFADCb72aAE2713975a890b59FF47231D1A552De3

0xB0e402ef0cdE9387f1EC21994392f95561624d3f

0x240da5314B05E84392e868aC8f2b80ad6becadd4

0xBed733A13D2cF00A807427a47B4556Faa649984B

0x84246Ce3988742D46fC00d9b8b2AFb5CDBDaE660

0x74852982B2371004b97584A5AAFeF71F7A5196B9

0x2dfFf745d2c7ddCAD4E97b80DF33705B1a95A172

0x542a3903c7F2dD47a7F31b08Bd1C6791e3C43784

Klaytn

Name
Mainnet
Testnet

0x5FB537aF1d929af7BDD7935C289158c940782ed6

0xEd19C45869d89c6A8060D7D3ff4D1FF70f649dd1

0xE34a733fA92B41A1CA4241da9D2d5834Cc8D1011

0xfe8dd988FcC3Feed86468E2A8FA586fFbD1E39EF

0xf710244462431b9962706B46826AFB3B38376c7b

0x201Ec729782c79F62070E0b5F2016bB51700de87

0x108D31E23bC6540878E6532F3376b3EC982e1C58

0xF3b3921c7b4F8e512bACb3Caf71e39E36A599469

0xa27C1429a676db902B9f0360686eDbB57d0A7B01

0x2282F63D9997D0C0Fc81Fd9DA11467dd1F35a140

0x9c8A0C6a7ad8Be153773070D434CDbeA5176D2ff

0xDE05399Ba5DcAe574833Da62405425D162231EA9

0x8639d64A2088500EC4f20fB5C41A995fE4f1d85a

0x4A437018E6aEC50e76713d1631F877E9973a87ae

0xcb7aA7cA9357DAF9F2b78D262A4f89cDfE5abC70

0x3E97B4d382E2D110f22E9aB5d2Ba569eda5e9bd2

0xf757a7F4ffF29e7F7b4aCCe6Ffb04E59e91EFDA8

0xBb0D45043451d0126BbA61eDF88d445465A37e01

Interfaces

interface IInventoryItem {

    event Approval(address indexed owner, address indexed spender, uint256 value);
    event Transfer(address indexed from, address indexed to, uint256 value);
    
    function allowance(address owner, address spender) view returns (uint256);
    function approve(address spender, uint256 amount) returns (bool);
    function balanceOf(address account) view returns (uint256);
    function burn(uint256 amount);
    function burnFrom(address account, uint256 amount);
    function consume(address player, tuple(uint256 id, tuple(uint256 summonedTime, uint256 nextSummonTime, uint256 summonerId, uint256 assistantId, uint32 summons, uint32 maxSummons) summoningInfo, tuple(uint256 statGenes, uint256 visualGenes, uint8 rarity, bool shiny, uint16 generation, uint32 firstName, uint32 lastName, uint8 shinyStyle, uint8 class, uint8 subClass) info, tuple(uint256 staminaFullAt, uint256 hpFullAt, uint256 mpFullAt, uint16 level, uint64 xp, address currentQuest, uint8 sp, uint8 status) state, tuple(uint16 strength, uint16 intelligence, uint16 wisdom, uint16 luck, uint16 agility, uint16 vitality, uint16 endurance, uint16 dexterity, uint16 hp, uint16 mp, uint16 stamina) stats, tuple(uint16 strength, uint16 intelligence, uint16 wisdom, uint16 luck, uint16 agility, uint16 vitality, uint16 endurance, uint16 dexterity, uint16 hpSm, uint16 hpRg, uint16 hpLg, uint16 mpSm, uint16 mpRg, uint16 mpLg) primaryStatGrowth, tuple(uint16 strength, uint16 intelligence, uint16 wisdom, uint16 luck, uint16 agility, uint16 vitality, uint16 endurance, uint16 dexterity, uint16 hpSm, uint16 hpRg, uint16 hpLg, uint16 mpSm, uint16 mpRg, uint16 mpLg) secondaryStatGrowth, tuple(uint16 mining, uint16 gardening, uint16 foraging, uint16 fishing) professions) _hero) returns (tuple(uint256 id, tuple(uint256 summonedTime, uint256 nextSummonTime, uint256 summonerId, uint256 assistantId, uint32 summons, uint32 maxSummons) summoningInfo, tuple(uint256 statGenes, uint256 visualGenes, uint8 rarity, bool shiny, uint16 generation, uint32 firstName, uint32 lastName, uint8 shinyStyle, uint8 class, uint8 subClass) info, tuple(uint256 staminaFullAt, uint256 hpFullAt, uint256 mpFullAt, uint16 level, uint64 xp, address currentQuest, uint8 sp, uint8 status) state, tuple(uint16 strength, uint16 intelligence, uint16 wisdom, uint16 luck, uint16 agility, uint16 vitality, uint16 endurance, uint16 dexterity, uint16 hp, uint16 mp, uint16 stamina) stats, tuple(uint16 strength, uint16 intelligence, uint16 wisdom, uint16 luck, uint16 agility, uint16 vitality, uint16 endurance, uint16 dexterity, uint16 hpSm, uint16 hpRg, uint16 hpLg, uint16 mpSm, uint16 mpRg, uint16 mpLg) primaryStatGrowth, tuple(uint16 strength, uint16 intelligence, uint16 wisdom, uint16 luck, uint16 agility, uint16 vitality, uint16 endurance, uint16 dexterity, uint16 hpSm, uint16 hpRg, uint16 hpLg, uint16 mpSm, uint16 mpRg, uint16 mpLg) secondaryStatGrowth, tuple(uint16 mining, uint16 gardening, uint16 foraging, uint16 fishing) professions));
    function decimals() view returns (uint8);
    function decreaseAllowance(address spender, uint256 subtractedValue) returns (bool);
    function increaseAllowance(address spender, uint256 addedValue) returns (bool);
    function name() view returns (string);
    function paused() view returns (bool);
    function symbol() view returns (string);
    function totalSupply() view returns (uint256);
    function transfer(address to, uint256 amount) returns (bool);
    function transferFrom(address from, address to, uint256 amount) returns (bool);
  
}

ABIs

Historical Contracts

These contracts have been deprecated and should not be used. They are listed here for data analysis and tracking purposes only.

Harmony

Name
Mainnet
Testnet

0x1771dEc8D9A29F30d82443dE0a69e7b6824e2F53

0x9D2C253a10738A8b2762b4cd17F3F98F39F86167

0xA1f8b0E88c51a45E152934686270DDF4E3356278

0xaf278b61cdF5B5119b5386f4E91F8D0a1495b864

0x87361363A75c9A6303ce813D0B2656c34B68FF52

0xbD1CF764D09378b387B0f052099978fD7f658B60

0xDc2C698aF26Ff935cD1c50Eef3a4A933C62AF18D

0xaf4cB190B6Ec0c63706B2158a0A73071C1599d18

0x2789F04d22a845dC854145d3c289240517f2BcF0

0x2314891F7c5EccF899d1Dc6c35A971c23e7E9c31

0x7e120334D9AFFc0982719A4eacC045F78BF41C68

0x9B589B52Ed702197b4A793B435cc119AAC1c376d

0x19b020001AB0C12Ffa93e1FDeF90c7C37C8C71ef

0x7457513C38089CC565fe543268DEe85aB0C738A3

0x959ba19508827d1ed2333B1b503Bd5ab006C710e

0x4b8a24950c91886d49B8156B24fb3DB4f90D7930

0x872dD1595544CE22ad1e0174449C7ECE6F0bb01b

0x2724b01CcCE03e9c10B8a8Dfa4e850A22B4e908B

0xFb03c364969a0bB572Ce62b8Cd616A7DDEb4c09A

0xdF0bD83eA9D7ffA04f9515383E24Cd607b0DD932

Last updated