编译器
0.4.24+commit.e67f0147
文件 1 的 7:IColor.sol
pragma solidity 0.4.24;
interface Color {
function totalSupply() external view returns (uint);
function ownerOf(uint _tokenId) external view returns (address);
}
文件 2 的 7:IPixel.sol
pragma solidity 0.4.24;
interface Pixel {
function totalSupply() external view returns (uint);
function ownerOf(uint _tokenId) external view returns (address);
}
文件 3 的 7:Initializer.sol
pragma solidity 0.4.24;
import "./StorageV1.sol";
contract Initializer is StorageV1 {
function _initializer() internal {
totalColorsNumber = 8;
totalPixelsNumber = 49;
isAdmin[msg.sender] = true;
maxPaintsInPool = totalPixelsNumber;
currentRound = 1;
cbIteration = 1;
tbIteration = 1;
priceLimitPaints = 100;
for (uint i = 1; i <= totalColorsNumber; i++) {
currentPaintGenForColor[i] = 1;
callPriceForColor[i] = 0.005 ether;
nextCallPriceForColor[i] = callPriceForColor[i];
paintGenToAmountForColor[i][currentPaintGenForColor[i]] = maxPaintsInPool;
paintGenStartedForColor[i][currentPaintGenForColor[i]] = true;
paintGenToStartTimeForColor[i][currentPaintGenForColor[i]] = now;
}
}
}
文件 4 的 7:Ownable.sol
pragma solidity 0.4.24;
contract Ownable {
address private _owner;
event OwnershipTransferred(
address indexed previousOwner,
address indexed newOwner
);
constructor() internal {
_owner = msg.sender;
emit OwnershipTransferred(address(0), _owner);
}
function owner() public view returns(address) {
return _owner;
}
modifier onlyOwner() {
require(isOwner());
_;
}
function isOwner() public view returns(bool) {
return msg.sender == _owner;
}
function renounceOwnership() public onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
function transferOwnership(address newOwner) public onlyOwner {
_transferOwnership(newOwner);
}
function _transferOwnership(address newOwner) internal {
require(newOwner != address(0));
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
文件 5 的 7:Router.sol
pragma solidity 0.4.24;
pragma experimental "v0.5.0";
import "./Initializer.sol";
contract Router is Initializer {
event CommitMessage(string message);
event FunctionUpdate(bytes4 indexed functionId, address indexed oldDelegate, address indexed newDelegate, string functionSignature);
constructor(address _erc1538Delegate) public {
bytes memory signature = "updateContract(address,string,string)";
bytes4 funcId = bytes4(keccak256(signature));
delegates[funcId] = _erc1538Delegate;
funcSignatures.push(signature);
funcSignatureToIndex[signature] = funcSignatures.length;
emit FunctionUpdate(funcId, address(0), _erc1538Delegate, string(signature));
emit CommitMessage("Added ERC1538 updateContract function at contract creation");
_initializer();
}
function() external payable {
address delegate = delegates[msg.sig];
require(delegate != address(0), "Function does not exist.");
assembly {
let ptr := mload(0x40)
calldatacopy(ptr, 0, calldatasize)
let result := delegatecall(gas, delegate, ptr, calldatasize, 0, 0)
let size := returndatasize
returndatacopy(ptr, 0, size)
switch result
case 0 {revert(ptr, size)}
default {return (ptr, size)}
}
}
}
文件 6 的 7:StorageV0.sol
pragma solidity 0.4.24;
import "./Ownable.sol";
contract StorageV0 is Ownable {
mapping(bytes4 => address) internal delegates;
bytes[] internal funcSignatures;
mapping(bytes => uint256) internal funcSignatureToIndex;
}
文件 7 的 7:StorageV1.sol
pragma solidity 0.4.24;
import "./StorageV0.sol";
import "./IColor.sol";
import "./IPixel.sol";
contract StorageV1 is StorageV0 {
mapping (uint => mapping (uint => uint)) public pixelToColorForRound;
mapping (uint => mapping (uint => uint)) public pixelToOldColorForRound;
mapping (uint => mapping (uint => uint)) public colorToPaintedPixelsAmountForRound;
mapping (uint => uint) public colorBankForRound;
mapping (uint => mapping (uint => uint)) public colorBankToColorForRound;
mapping (uint => uint) public timeBankForRound;
mapping (uint => uint) public lastPaintTimeForRound;
mapping (uint => address) public lastPainterForRound;
mapping (uint => uint) public lastPaintedPixelForRound;
mapping (uint => uint) public winnerColorForRound;
mapping (uint => mapping (uint => uint)) public colorToTotalPaintsForCBIteration;
mapping (uint => address) public winnerOfRound;
mapping (uint => uint) public winnerBankForRound;
mapping (uint => mapping (uint => uint)) public pixelToPaintTimeForRound;
uint public priceLimitPaints;
bool public isPaintCall;
mapping (uint => uint) public totalPaintsForRound;
mapping (uint => mapping (address => uint)) public userPaintsForRound;
mapping (uint => uint) public totalCashBackForRound;
mapping (uint => uint) public maxCashBackPerPaintForRound;
mapping (uint => mapping (address => uint)) public cashBackPerPaintForRound;
mapping (address => uint) public cashBackCalculated;
mapping (address => uint) public cashBackCalculationRound;
mapping (uint => mapping (uint => uint)) public paintGenToAmountForColor;
mapping (uint => mapping (uint => uint)) public paintGenToStartTimeForColor;
mapping (uint => mapping (uint => uint)) public paintGenToEndTimeForColor;
mapping (uint => mapping (uint => bool)) public paintGenStartedForColor;
mapping (uint => uint) public currentPaintGenForColor;
mapping (uint => uint) public callPriceForColor;
mapping (uint => uint) public nextCallPriceForColor;
mapping (uint => mapping (address => uint)) public moneySpentByUserForColor;
mapping (address => uint) public moneySpentByUser;
mapping (uint => mapping (address => bool)) public hasPaintDiscountForColor;
mapping (address => bool) public hasPaintDiscount;
mapping (uint => mapping (address => uint)) public usersPaintDiscountForColor;
mapping (address => uint) public usersPaintDiscount;
mapping (address => uint) public registrationTimeForUser;
mapping (address => bool) public isRegisteredUser;
mapping (address => bool) public hasRefLink;
mapping (address => address) public referralToReferrer;
mapping (address => address[]) public referrerToReferrals;
mapping (address => bool) public hasReferrer;
mapping (address => string) public userToRefLink;
mapping (bytes32 => address) public refLinkToUser;
mapping (bytes32 => bool) public refLinkExists;
mapping (address => uint) public newUserToCounter;
mapping (address => string) public addressToUsername;
mapping (string => bool) internal usernameExists;
mapping(address => bool) public luckyPotBankWinner;
uint public luckyPotBank;
uint public uniqueUsersCount;
uint public maxPaintsInPool;
uint public currentRound;
uint public tbIteration;
uint public cbIteration;
uint public paintsCounter;
mapping (uint => uint) public paintsCounterForColor;
mapping (uint => address) public counterToPainter;
mapping (uint => mapping (uint => address)) public counterToPainterForColor;
mapping (address => uint) public lastPlayedRound;
mapping (address => uint) public pendingWithdrawals;
mapping (address => uint) public addressToLastWithdrawalTime;
address public founders = 0xe04f921cf3d6c882C0FAa79d0810a50B1101e2D4;
bool public isGamePaused;
mapping(address => bool) public isAdmin;
Color public colorInstance;
Pixel public pixelInstance;
uint public totalColorsNumber;
uint public totalPixelsNumber;
mapping (address => uint) public lastPaintTimeOfUser;
mapping (uint => mapping (address => uint)) public lastPaintTimeOfUserForColor;
mapping (uint => uint) public usersCounterForRound;
mapping (uint => mapping (address => bool)) public isUserCountedForRound;
event ColorBankWithdrawn(uint indexed round, uint indexed cbIteration, address indexed winnerOfRound, uint prize);
event TimeBankWithdrawn(uint indexed round, uint indexed tbIteration, address indexed winnerOfRound, uint prize);
event Paint(uint indexed pixelId, uint colorId, address indexed painter, uint indexed round, uint timestamp);
event CallPriceUpdated(uint indexed newCallPrice);
event EtherWithdrawn(uint balance, uint colorBank, uint timeBank, uint timestamp);
event LuckyPotDrawn(uint pixelId, address indexed winnerOfLuckyPot, uint prize);
event CashBackWithdrawn(uint indexed round, address indexed withdrawer, uint cashback);
event DividendsWithdrawn(address indexed withdrawer, uint withdrawalAmount);
event UsernameCreated(address indexed user, string username);
}
{
"compilationTarget": {
"Router.sol": "Router"
},
"evmVersion": "byzantium",
"libraries": {},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
}
[{"constant":true,"inputs":[],"name":"isGamePaused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"refLinkToUser","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"userPaintsForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"colorToPaintedPixelsAmountForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tbIteration","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"winnerOfRound","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"hasReferrer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"colorToTotalPaintsForCBIteration","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalColorsNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"isRegisteredUser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"hasPaintDiscountForColor","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"isAdmin","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"currentPaintGenForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lastPlayedRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"moneySpentByUserForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"paintGenToStartTimeForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"callPriceForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"winnerBankForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paintsCounter","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"usersPaintDiscount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"founders","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"newUserToCounter","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"counterToPainterForColor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"moneySpentByUser","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"pixelToOldColorForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"timeBankForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"userToRefLink","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"paintGenStartedForColor","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"priceLimitPaints","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"usersCounterForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"lastPaintedPixelForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"nextCallPriceForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"lastPaintTimeForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"lastPainterForRound","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"cashBackPerPaintForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"hasRefLink","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"hasPaintDiscount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"isUserCountedForRound","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"registrationTimeForUser","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lastPaintTimeOfUser","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint256"}],"name":"referrerToReferrals","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"currentRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"paintsCounterForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"pixelToPaintTimeForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"colorBankToColorForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"luckyPotBankWinner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isPaintCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"counterToPainter","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"lastPaintTimeOfUserForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"pixelToColorForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"totalCashBackForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"totalPaintsForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"colorBankForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"paintGenToEndTimeForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"uniqueUsersCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"refLinkExists","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"name":"paintGenToAmountForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"cashBackCalculated","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"referralToReferrer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"addressToLastWithdrawalTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"addressToUsername","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"maxCashBackPerPaintForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"},{"name":"","type":"address"}],"name":"usersPaintDiscountForColor","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxPaintsInPool","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"cashBackCalculationRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalPixelsNumber","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pixelInstance","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"pendingWithdrawals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"winnerColorForRound","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"colorInstance","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"luckyPotBank","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cbIteration","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_erc1538Delegate","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"message","type":"string"}],"name":"CommitMessage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"functionId","type":"bytes4"},{"indexed":true,"name":"oldDelegate","type":"address"},{"indexed":true,"name":"newDelegate","type":"address"},{"indexed":false,"name":"functionSignature","type":"string"}],"name":"FunctionUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"round","type":"uint256"},{"indexed":true,"name":"cbIteration","type":"uint256"},{"indexed":true,"name":"winnerOfRound","type":"address"},{"indexed":false,"name":"prize","type":"uint256"}],"name":"ColorBankWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"round","type":"uint256"},{"indexed":true,"name":"tbIteration","type":"uint256"},{"indexed":true,"name":"winnerOfRound","type":"address"},{"indexed":false,"name":"prize","type":"uint256"}],"name":"TimeBankWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"pixelId","type":"uint256"},{"indexed":false,"name":"colorId","type":"uint256"},{"indexed":true,"name":"painter","type":"address"},{"indexed":true,"name":"round","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"Paint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"newCallPrice","type":"uint256"}],"name":"CallPriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"balance","type":"uint256"},{"indexed":false,"name":"colorBank","type":"uint256"},{"indexed":false,"name":"timeBank","type":"uint256"},{"indexed":false,"name":"timestamp","type":"uint256"}],"name":"EtherWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"pixelId","type":"uint256"},{"indexed":true,"name":"winnerOfLuckyPot","type":"address"},{"indexed":false,"name":"prize","type":"uint256"}],"name":"LuckyPotDrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"round","type":"uint256"},{"indexed":true,"name":"withdrawer","type":"address"},{"indexed":false,"name":"cashback","type":"uint256"}],"name":"CashBackWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"withdrawer","type":"address"},{"indexed":false,"name":"withdrawalAmount","type":"uint256"}],"name":"DividendsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"user","type":"address"},{"indexed":false,"name":"username","type":"string"}],"name":"UsernameCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]