- Pragma: solidity ^0.4.8
Data Structures
struct Offer {
bool isForSale;
uint punkIndex;
address seller;
uint minValue; // in ether
address onlySellTo; // specify to sell only to a specific person
}
Events
event Assign(address indexed to, uint256 punkIndex)
event Transfer(address indexed from, address indexed to, uint256 value)
event PunkTransfer(address indexed from, address indexed to, uint256 punkIndex)
event PunkOffered(uint indexed punkIndex, uint minValue, address indexed toAddress)
event PunkBought(uint indexed punkIndex, uint value, address indexed fromAddress, address indexed toAddress)
event PunkNoLongerForSale(uint indexed punkIndex)
You can use this hash to verify the image file containing all the punks
This creates an array with all balances
A record of punks that are offered for sale at a specific minimum value, and perhaps to a specific person
Transfer ownership of a punk to another user without requiring payment