# Pet Eggs

Pet Eggs are rare items that are used to hatch into [Pets](/nfts/pets.md).

{% hint style="info" %}
**ERC20:** Eggs are based on the ERC20 standard. For more information, please view the documentation by OpenZeppelin: <https://docs.openzeppelin.com/contracts/4.x/erc20>
{% endhint %}

{% hint style="warning" %}
Eggs have 0 decimals
{% endhint %}

## Contracts

### Addresses

#### DFK Chain

<table><thead><tr><th width="263.64356435643566">Name</th><th>Mainnet</th><th>Testnet</th></tr></thead><tbody><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-blue.png" alt="" data-size="line"> Blue Pet Egg (DFKBLUEEGG)</td><td><code>0xa61Bac689AD6867a605633520D70C49e1dCce853</code></td><td><code>0xC6b00B4005883C1Ff09fa1351B0f49027bCAB71a</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-golden.gif" alt="" data-size="line"> Golden Pet Egg (DFKGOLDEGG)</td><td><code>0xf2D479DaEdE7F9e270a90615F8b1C52F3C487bC7</code></td><td><code>0xdbEE8C336B06f2d30a6d2bB3817a3Ae0E34f4900</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-green.png" alt="" data-size="line"> Green Pet Egg (DFKGREENEGG)</td><td><code>0x8D2bC53106063A37bb3DDFCa8CfC1D262a9BDCeB</code></td><td><code>0xA9A8cc1AC7e7505a69cAca2E068716395CebE562</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-grey.png" alt="" data-size="line"> Grey Pet Egg (DFKGREGG)</td><td><code>0x7E121418cC5080C96d967cf6A033B0E541935097</code></td><td><code>0xC2198E513A341DA3Fb26b9dAf8d5b6C5480ceAB4</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-yellow.png" alt="" data-size="line"> Yellow Pet Egg (DFKYELOWEGG)</td><td><code>0x72F860bF73ffa3FC42B97BbcF43Ae80280CFcdc3</code></td><td><code>0x53b14727E0EdDDFc2958D65Ec6F86D1A3329e72F</code></td></tr></tbody></table>

#### Kaia

<table><thead><tr><th width="263.64356435643566">Name</th><th>Mainnet</th><th>Testnet</th></tr></thead><tbody><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-blue.png" alt="" data-size="line"> Blue Pet Egg (DFKBLUEEGG)</td><td><code>0x29ADd7D022c591D56eb4aFd262075dA900C67ab1</code></td><td><code>0xc9518D678Ea37488E8901b0687C02056CFe88C13</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-golden.gif" alt="" data-size="line"> Golden Pet Egg (DFKGOLDEGG)</td><td><code>0xc9731BE04F217543E3010cCbf903E858EFde840f</code></td><td><code>0xDEe702F3a2284B8Dbd1C3f7C85E6bda967DC566D</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-green.png" alt="" data-size="line"> Green Pet Egg (DFKGREENEGG)</td><td><code>0xb1Ec534fBBfEBd4563A4B0055E744286CE490f26</code></td><td><code>0xF2143c7c8Dfca976415bDf7d37dfa63aed8Ef741</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-grey.png" alt="" data-size="line"> Grey Pet Egg (DFKGREGG)</td><td><code>0xfd29ebdE0dd1331C19BBF54518df94b442ACb38C</code></td><td><code>0xBed733A13D2cF00A807427a47B4556Faa649984B</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-yellow.png" alt="" data-size="line"> Yellow Pet Egg (DFKYELOWEGG)</td><td><code>0x0A73aF98781bad9BCb80A71241F129EA877eF1b7</code></td><td><code>0x7E235f17c4ec372F9DD42916Cbd19C5b73d4C22E</code></td></tr></tbody></table>

#### Metis

<table><thead><tr><th width="263.64356435643566">Name</th><th>Mainnet</th><th>Testnet</th></tr></thead><tbody><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-blue.png" alt="" data-size="line"> Blue Pet Egg (DFKBLUEEGG)</td><td>0x9A3E3bF38C2a338d0a658a4b2c220A429a37f2c1</td><td>0x564fF09b5009d3DdD34071a3AC28d7F356Df83b4</td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-golden.gif" alt="" data-size="line"> Golden Pet Egg (DFKGOLDEGG)</td><td>0xC4a3D06B3E5D1244863285f439FA7A0711a1CD9f</td><td>0x397b9701FC224619f97702dD031A6629bbAc64e7</td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-green.png" alt="" data-size="line"> Green Pet Egg (DFKGREENEGG)</td><td>0x2DAC4d6461a383A66009846f0Dd9de976Ea5CE17</td><td>0x68F9705751DD348317e97F558Afc0973d45297b7</td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-grey.png" alt="" data-size="line"> Grey Pet Egg (DFKGREGG)</td><td>0x842DFd5E453eF385Dc276a2B7818ffaa9FBbfed6</td><td>0x640fc05E7c485a5f4A6f917B6373f3ec92b0d1E4</td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-yellow.png" alt="" data-size="line"> Yellow Pet Egg (DFKYELOWEGG)</td><td>0x1302718474bdAFe5a85f516836B4027e37B10abE</td><td>0x78AcA3345663E8A90328f3135C41D49F91879426</td></tr></tbody></table>

### Interfaces

```solidity
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 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

{% file src="/files/RJR1RKbI8ng4TjIUVki1" %}

## Historical Contracts

{% hint style="danger" %}
These contracts have been deprecated and should not be used. They are listed here for data analysis and tracking purposes only.
{% endhint %}

#### Harmony

<table><thead><tr><th width="264.64356435643566">Name</th><th>Mainnet</th><th>Testnet</th></tr></thead><tbody><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-blue.png" alt="" data-size="line"> Blue Pet Egg (DFKBLUEEGG)</td><td><code>0x9678518e04Fe02FB30b55e2D0e554E26306d0892</code></td><td><code>0x9D9675170946eAffb3A750DB75AB4B559cC91668</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-golden.gif" alt="" data-size="line"> Golden Pet Egg (DFKGOLDEGG)</td><td><code>0x9edb3Da18be4B03857f3d39F83e5C6AAD67bc148</code></td><td><code>0x7b81c426162977525084dEe06Cb9D73F8A9fD77e</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-green.png" alt="" data-size="line"> Green Pet Egg (DFKGREENEGG)</td><td><code>0x6d605303e9Ac53C59A3Da1ecE36C9660c7A71da5</code></td><td><code>0xa5fFbff0b47B05cAd7Ab217Ea103F546a4Dae31F</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-grey.png" alt="" data-size="line"> Grey Pet Egg (DFKGREGG)</td><td><code>0x95d02C1Dc58F05A015275eB49E107137D9Ee81Dc</code></td><td><code>0x2dd97351F41411B2fAf0FbEb4235737815c7857b</code></td></tr><tr><td><img src="https://defi-kingdoms.b-cdn.net/art-assets/items/pet-egg-yellow.png" alt="" data-size="line"> Yellow Pet Egg (DFKYELOWEGG)</td><td><code>0x3dB1fd0Ad479A46216919758144FD15A21C3e93c</code></td><td><code>0x6D02EF7f7686c3330a40A0AD9218b66A957C9405</code></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devs.defikingdoms.com/collections/pet-eggs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
