Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lesson-2/chapter-10/zombiefeeding.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pragma solidity ^0.4.25;
import "./zombiefactory.sol";
contract KittyInterface {
interface KittyInterface {
function getKitty(uint256 _id) external view returns (
bool isGestating,
bool isReady,
Expand All @@ -14,6 +14,7 @@ contract KittyInterface {
uint256 genes
);
}

contract ZombieFeeding is ZombieFactory {

function feedAndMultiply(uint _zombieId, uint _targetDna) public {
Expand All @@ -24,4 +25,4 @@ contract ZombieFeeding is ZombieFactory {
_createZombie("NoName", newDna);
}

}
}
2 changes: 1 addition & 1 deletion lesson-2/chapter-11/zombiefeeding.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pragma solidity ^0.4.25;
import "./zombiefactory.sol";
contract KittyInterface {
interface KittyInterface {
function getKitty(uint256 _id) external view returns (
bool isGestating,
bool isReady,
Expand Down
2 changes: 1 addition & 1 deletion lesson-2/chapter-12/zombiefeeding.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pragma solidity ^0.4.25;
import "./zombiefactory.sol";
contract KittyInterface {
interface KittyInterface {
function getKitty(uint256 _id) external view returns (
bool isGestating,
bool isReady,
Expand Down
2 changes: 1 addition & 1 deletion lesson-2/chapter-13/zombiefeeding.sol
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pragma solidity ^0.4.25;
import "./zombiefactory.sol";
contract KittyInterface {
interface KittyInterface {
function getKitty(uint256 _id) external view returns (
bool isGestating,
bool isReady,
Expand Down