Carregando o restante desta comparação.

Untitled diff

Criado O diff nunca expira
187 remoções
630 linhas
233 adições
718 linhas
pragma solidity ^0.4.24;
pragma solidity ^0.4.24;
/**
* @title -FoMo-3D v0.7.1
* ┌┬┐┌─┐┌─┐┌┬┐ ╦╦ ╦╔═╗╔╦╗ ┌─┐┬─┐┌─┐┌─┐┌─┐┌┐┌┌┬┐┌─┐
* │ ├┤ ├─┤│││ ║║ ║╚═╗ ║ ├─┘├┬┘├┤ └─┐├┤ │││ │ └─┐
* ┴ └─┘┴ ┴┴ ┴ ╚╝╚═╝╚═╝ ╩ ┴ ┴└─└─┘└─┘└─┘┘└┘ ┴ └─┘
* _____ _____
* (, / /) /) /) (, / /) /)
* ┌─┐ / _ (/_ // // / _ // _ __ _(/
* ├─┤ ___/___(/_/(__(_/_(/_(/_ ___/__/_)_(/_(_(_/ (_(_(_
* ┴ ┴ / / .-/ _____ (__ /
* (__ / (_/ (, / /)™
* / __ __ __ __ _ __ __ _ _/_ _ _(/
* ┌─┐┬─┐┌─┐┌┬┐┬ ┬┌─┐┌┬┐ /__/ (_(__(_)/ (_/_)_(_)/ (_(_(_(__(/_(_(_
* ├─┘├┬┘│ │ │││ ││ │ (__ / .-/ © Jekyll Island Inc. 2018
* ┴ ┴└─└─┘─┴┘└─┘└─┘ ┴ (_/ .--,-``-.
*========,---,.======================____==========================/ / '.=======,---,====*
* ,' .' | ,' , `. / ../ ; .' .' `\
* ,---.' | ,---. ,-+-,.' _ | ,---. \ ``\ .`- ' ,---.' \
* | | .' ' ,'\ ,-+-. ; , || ' ,'\ ,---,. \___\/ \ : | | .`\ |
* : : : / / | ,--.'|' | || / / | ,' .' | \ : | : : | ' |
* : | |-, . ; ,. : | | ,', | |, . ; ,. : ,---.' | / / / | ' ' ; :
* | : ;/| ' | |: : | | / | |--' ' | |: : | | .' \ \ \ ' | ; . |
* | | .' ' | .; : | : | | , ' | .; : : |.' ___ / : | | | : | '
* ' : ' | : | | : | |/ | : | `---' / /\ / : ' : | / ;
* | | | \ \ / | | |`-' \ \ / / ,,/ ',- . | | '` ,/
* | : \ `----' | ;/ `----' \ ''\ ; ; : .'
*====| | ,'=============='---'==========(long version)===========\ \ .'===| ,.'======*
* `----' `--`-,,-' '---'
* ╔═╗┌─┐┌─┐┬┌─┐┬┌─┐┬ ┌─────────────────────────┐ ╦ ╦┌─┐┌┐ ╔═╗┬┌┬┐┌─┐
* ║ ║├┤ ├┤ ││ │├─┤│ │ https://exitscam.me │ ║║║├┤ ├┴┐╚═╗│ │ ├┤
* ╚═╝└ └ ┴└─┘┴┴ ┴┴─┘ └─┬─────────────────────┬─┘ ╚╩╝└─┘└─┘╚═╝┴ ┴ └─┘
* ┌────────────────────────────────┘ └──────────────────────────────┐
* │╔═╗┌─┐┬ ┬┌┬┐┬┌┬┐┬ ┬ ╔╦╗┌─┐┌─┐┬┌─┐┌┐┌ ╦┌┐┌┌┬┐┌─┐┬─┐┌─┐┌─┐┌─┐┌─┐ ╔═╗┌┬┐┌─┐┌─┐┬┌─│
* │╚═╗│ ││ │ │││ │ └┬┘ ═ ║║├┤ └─┐││ ┬│││ ═ ║│││ │ ├┤ ├┬┘├┤ ├─┤│ ├┤ ═ ╚═╗ │ ├─┤│ ├┴┐│
* │╚═╝└─┘┴─┘┴─┴┘┴ ┴ ┴ ═╩╝└─┘└─┘┴└─┘┘└┘ ╩┘└┘ ┴ └─┘┴└─└ ┴ ┴└─┘└─┘ ╚═╝ ┴ ┴ ┴└─┘┴ ┴│
* │ ┌──────────┐ ┌───────┐ ┌─────────┐ ┌────────┐ │
* └────┤ Inventor ├───────────┤ Justo ├────────────┤ Sumpunk ├──────────────┤ Mantso ├──┘
* └──────────┘ └───────┘ └─────────┘ └────────┘
* ┌─────────────────────────────────────────────────────────┐ ╔╦╗┬ ┬┌─┐┌┐┌┬┌─┌─┐ ╔╦╗┌─┐
* │ Ambius, Aritz Cracker, Cryptoknight, Crypto McPump, │ ║ ├─┤├─┤│││├┴┐└─┐ ║ │ │
* │ Capex, JogFera, The Shocker, Daok, Randazzz, PumpRabbi, │ ╩ ┴ ┴┴ ┴┘└┘┴ ┴└─┘ ╩ └─┘
* │ Kadaz, Incognito Jo, Lil Stronghands, Ninja Turtle, └───────────────────────────┐
* │ Psaints, Satoshi, Vitalik, Nano 2nd, Bogdanoffs Isaac Newton, Nikola Tesla, │
* │ Le Comte De Saint Germain, Albert Einstein, Socrates, & all the volunteer moderator │
* │ & support staff, content, creators, autonomous agents, and indie devs for P3D. │
* │ Without your help, we wouldn't have the time to code this. │
* └─────────────────────────────────────────────────────────────────────────────────────┘
*
* This product is protected under license. Any unauthorized copy, modification, or use without
* express written consent from the creators is prohibited.
*
* WARNING: THIS PRODUCT IS HIGHLY ADDICTIVE. IF YOU HAVE AN ADDICTIVE NATURE. DO NOT PLAY.
*/


//==============================================================================
// _ _ _ _|_ _ .
// (/_\/(/_| | | _\ .
//==============================================================================
contract F3Devents {
contract F3Devents {
// fired whenever a player registers a name
// fired whenever a player registers a name
event onNewName
event onNewName
(
(
uint256 indexed playerID,
uint256 indexed playerID,
address indexed playerAddress,
address indexed playerAddress,
bytes32 indexed playerName,
bytes32 indexed playerName,
bool isNewPlayer,
bool isNewPlayer,
uint256 affiliateID,
uint256 affiliateID,
address affiliateAddress,
address affiliateAddress,
bytes32 affiliateName,
bytes32 affiliateName,
uint256 amountPaid,
uint256 amountPaid,
uint256 timeStamp
uint256 timeStamp
);
);

// fired at end of buy or reload
// fired at end of buy or reload
event onEndTx
event onEndTx
(
(
uint256 compressedData,
uint256 compressedData,
uint256 compressedIDs,
uint256 compressedIDs,
bytes32 playerName,
bytes32 playerName,
address playerAddress,
address playerAddress,
uint256 ethIn,
uint256 ethIn,
uint256 keysBought,
uint256 keysBought,
address winnerAddr,
address winnerAddr,
bytes32 winnerName,
bytes32 winnerName,
uint256 amountWon,
uint256 amountWon,
uint256 newPot,
uint256 newPot,
uint256 P3DAmount,
uint256 P3DAmount,
uint256 genAmount,
uint256 genAmount,
uint256 potAmount,
uint256 potAmount,
uint256 airDropPot
uint256 airDropPot
);
);

// fired whenever theres a withdraw
// fired whenever theres a withdraw
event onWithdraw
event onWithdraw
(
(
uint256 indexed playerID,
uint256 indexed playerID,
address playerAddress,
address playerAddress,
bytes32 playerName,
bytes32 playerName,
uint256 ethOut,
uint256 ethOut,
uint256 timeStamp
uint256 timeStamp
);
);

// fired whenever a withdraw forces end round to be ran
// fired whenever a withdraw forces end round to be ran
event onWithdrawAndDistribute
event onWithdrawAndDistribute
(
(
address playerAddress,
address playerAddress,
bytes32 playerName,
bytes32 playerName,
uint256 ethOut,
uint256 ethOut,
uint256 compressedData,
uint256 compressedData,
uint256 compressedIDs,
uint256 compressedIDs,
address winnerAddr,
address winnerAddr,
bytes32 winnerName,
bytes32 winnerName,
uint256 amountWon,
uint256 amountWon,
uint256 newPot,
uint256 newPot,
uint256 P3DAmount,
uint256 P3DAmount,
uint256 genAmount
uint256 genAmount
);
);

// (fomo3d long only) fired whenever a player tries a buy after round timer
// (fomo3d short only) fired whenever a player tries a buy after round timer
// hit zero, and causes end round to be ran.
// hit zero, and causes end round to be ran.
event onBuyAndDistribute
event onBuyAndDistribute
(
(
address playerAddress,
address playerAddress,
bytes32 playerName,
bytes32 playerName,
uint256 ethIn,
uint256 ethIn,
uint256 compressedData,
uint256 compressedData,
uint256 compressedIDs,
uint256 compressedIDs,
address winnerAddr,
address winnerAddr,
bytes32 winnerName,
bytes32 winnerName,
uint256 amountWon,
uint256 amountWon,
uint256 newPot,
uint256 newPot,
uint256 P3DAmount,
uint256 P3DAmount,
uint256 genAmount
uint256 genAmount
);
);

// (fomo3d long only) fired whenever a player tries a reload after round timer
// (fomo3d short only) fired whenever a player tries a reload after round timer
// hit zero, and causes end round to be ran.
// hit zero, and causes end round to be ran.
event onReLoadAndDistribute
event onReLoadAndDistribute
(
(
address playerAddress,
address playerAddress,
bytes32 playerName,
bytes32 playerName,
uint256 compressedData,
uint256 compressedData,
uint256 compressedIDs,
uint256 compressedIDs,
address winnerAddr,
address winnerAddr,
bytes32 winnerName,
bytes32 winnerName,
uint256 amountWon,
uint256 amountWon,
uint256 newPot,
uint256 newPot,
uint256 P3DAmount,
uint256 P3DAmount,
uint256 genAmount
uint256 genAmount
);
);

// fired whenever an affiliate is paid
// fired whenever an affiliate is paid
event onAffiliatePayout
event onAffiliatePayout
(
(
uint256 indexed affiliateID,
uint256 indexed affiliateID,
address affiliateAddress,
address affiliateAddress,
bytes32 affiliateName,
bytes32 affiliateName,