Skip to content

Instantly share code, notes, and snippets.

View dimitrihartt's full-sized avatar
💭
Very Happy! I have 4 sons already!

Dimitri Hartt dimitrihartt

💭
Very Happy! I have 4 sons already!
View GitHub Profile
@dimitrihartt
dimitrihartt / README.txt
Created June 2, 2022 20:56
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.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX DEFAULT WORKSPACE
Remix default workspace is present when:
i. Remix loads for the very first time
ii. A new workspace is created
iii. There are no files existing in the File Explorer
This workspace contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
@dimitrihartt
dimitrihartt / README.txt
Created May 31, 2022 16:24
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.8.4+commit.c7e474f2.js&optimize=false&runs=200&gist=
REMIX DEFAULT WORKSPACE
Remix default workspace is present when:
i. Remix loads for the very first time
ii. A new workspace is created
iii. There are no files existing in the File Explorer
This workspace contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
@dimitrihartt
dimitrihartt / MedShare.sol
Created July 8, 2020 21:25
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.6.10+commit.00c0fcaf.js&optimize=false&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.5.0 <0.7.0;
/// This is the MedShare contract!
/// This contract works with Biblical principles:
/// 1) Contract owners will receive the 12th part of the investment;
/// 1a) There will be up to 05 owners that will split the investment
/// among them to support the recreation and the maintenance of the MedShare.
/// 2) Contract share will receive the 10th part of the investment;