Forum

Request for 1000 KETH for dapp test

my address is 0x1B9305414646D5CA89A310014b757ef80a2579fB

contract CFXLogic is Ownable, ReentrancyGuard{

using SafeMath for uint256;

address CFXDataAddress;

address payable receiveAddress;

uint public orderId;

event BuyMachine(address buyAddress, uint ethNumber, uint signId, uint machineId);

event withdrawalEvent(address buyAddress, uint amount);

event ChangeReceiveAddressed(address oldAddress, address newAddress);

constructor (address payable _CFXDataAddress, address payable _receiveAddress) public payable {

CFXDataAddress = _CFXDataAddress;

receiveAddress = _receiveAddress;

orderId = 1;

}

function changeReceiveAddress (address payable _receiveAddress) onlyOwner public{

require(_receiveAddress != address(0));

emit ChangeReceiveAddressed(receiveAddress, _receiveAddress);

receiveAddress = _receiveAddress;

}

function buy(uint machineId) public nonReentrant payable {

 require(msg.value >= 100 ether, 'Not enough eth');

 receiveAddress.transfer(msg.value);

 uint time = now;

 CFXDataInterface(CFXDataAddress).setBuyer(msg.sender, time, orderId, machineId, msg.value);

 emit BuyMachine(msg.sender, msg.value, orderId, machineId);

 orderId = orderId.add(1);

}

my address is 0x1B9305414646D5CA89A310014b757ef80a2579fB