Pet Exchange
Contracts
Addresses
DFK Chain
Name
Mainnet
Testnet
Klaytn
Name
Mainnet
Testnet
Interfaces
interface IPetExchange {
event CompletedPetExchange(address indexed owner, uint256 indexed eggId1, uint256 indexed eggId2, uint8 eggTypeRecieved, uint256 exchangeId);
event StartedPetExchange(address indexed owner, uint256 indexed eggId1, uint256 indexed eggId2, uint256 exchangeId);
function completeExchange(uint256 _exchangeId);
function eggs(uint256) view returns (address);
function getPetExchange(uint256 _exchangeId) view returns (tuple(uint256 id, address owner, uint256 petId1, uint256 petId2, uint256 seedblock, uint256 finishTime, uint8 status));
function getUserPetExchanges(address _address) view returns (tuple(uint256 id, address owner, uint256 petId1, uint256 petId2, uint256 seedblock, uint256 finishTime, uint8 status)[]);
function idToPetExchange(uint256) view returns (uint256 id, address owner, uint256 petId1, uint256 petId2, uint256 seedblock, uint256 finishTime, uint8 status);
function paused() view returns (bool);
function profileExchangedPets(address, uint256) view returns (uint256 id, address owner, uint256 petId1, uint256 petId2, uint256 seedblock, uint256 finishTime, uint8 status);
function startExchange(uint256 _petId1, uint256 _petId2);
function totalExchanges() view returns (uint256);
}ABIs
Historical Contracts
Addresses
Harmony
Name
Mainnet
Testnet
Interfaces
ABIs
Related Contracts
Pet EggsLast updated