Skip to content

Instantly share code, notes, and snippets.

View deniszavadskiy's full-sized avatar
🎯
Focusing

Denis Zavadskiy deniszavadskiy

🎯
Focusing
  • Ukraine
  • 10:25 (UTC +03:00)
View GitHub Profile
@deniszavadskiy
deniszavadskiy / RealEstateMarket.sol
Created May 19, 2018 16:41
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.23+commit.124ca40d.js&optimize=false&gist=
pragma solidity ^0.4.18;
pragma experimental ABIEncoderV2;
contract RealEstateMarket {
struct RealEstate {
uint id;
string image;
string description;
uint256 price;
address owner;
@deniszavadskiy
deniszavadskiy / RealEstateMarket.sol
Created May 13, 2018 17:55
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.23+commit.124ca40d.js&optimize=false&gist=
pragma solidity ^0.4.18;
pragma experimental ABIEncoderV2;
contract RealEstateMarket {
struct RealEstate {
string image;
string description;
uint price;
address owner;
}
@deniszavadskiy
deniszavadskiy / RealEstateMarket.sol
Created May 13, 2018 07:10
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=undefined&optimize=false&gist=
pragma solidity ^0.4.16;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {
@deniszavadskiy
deniszavadskiy / RealEstateMarket.sol
Created May 12, 2018 14:59
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.23+commit.124ca40d.js&optimize=false&gist=
pragma solidity ^0.4.16;
contract owned {
address public owner;
function owned() public {
owner = msg.sender;
}
modifier onlyOwner {