Skip to content

Instantly share code, notes, and snippets.

@pavoltravnik
pavoltravnik / statlivigno.csv
Created December 22, 2022 07:34
skipasslivigno.com sample dataset vertical drop
ID vertical drop km date
33000 1030 08-12-2022
33000 3594 09-12-2022
33001 1754 08-12-2022
33001 4295 09-12-2022
33002 1754 08-12-2022
33002 4493 09-12-2022
33003 1619 08-12-2022
33003 4295 09-12-2022
33004 1987 08-12-2022
pragma solidity >=0.4.22 <0.7.0;
import "remix_tests.sol"; // this import is automatically injected by Remix.
import "./schelling.sol";
contract test3 {
Arbitrust arbitrustToTest;
function beforeAll () public {
arbitrustToTest = new Arbitrust();

Arbitust

Official language is english. Official way of delivery of documents. More of an chanel than binded to just one contract. The system requires a validation of previous actions. There can not be a new action untill previous is finished. It limits litispedence or in othe words multiple decisions in one contract. Arbitrators have to check all previous actions as well to not create a decision, which could disqualify previous decision (res iudicata).

createContract

  • hashContract - Arbitration clause electronically signed by two parties or document converted to electronic form with verified signatures. Object of Contract is unique by sha256 hash of the document of Arbitration Clause. This bond is unique for all parties in Arbitration clause.
pragma solidity >=0.4.22 <0.7.0;
contract Arbitrust {
address[] arbitrators;
struct Contract {
bool exists;
uint limitArbiters;
bytes32 hashContract; // should be a hash of electronic document signed in electronic form
address[] partiesList;
mapping(address => bool) parties;
@pavoltravnik
pavoltravnik / sol
Last active January 25, 2020 13:28
// soljson-v0.6.1+commit.e6f7d5a4.js
// https://solidity.readthedocs.io/en/v0.6.1/contracts.html#getter-functions
pragma solidity >=0.4.0 <0.7.0;
contract C {
uint public data;
function edit() public {
data = 3; // internal change
}

Keybase proof

I hereby claim:

  • I am pavoltravnik on github.
  • I am travnik (https://keybase.io/travnik) on keybase.
  • I have a public key whose fingerprint is 2001 57EE 8941 7CB0 E7F2 7A98 5E41 608E 59CE FC26

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am pavoltravnik on github.
  • I am travnik (https://keybase.io/travnik) on keybase.
  • I have a public key whose fingerprint is 5012 FBE2 EB70 9F93 C423 0CF3 9D7C B64F 6BC9 61B7

To claim this, I am signing this object: