Skip to content

Instantly share code, notes, and snippets.

View djokicx's full-sized avatar

Djokic djokicx

  • University of San Francisco
  • San Francisco
View GitHub Profile
@djokicx
djokicx / contracts...DutchAuction.sol
Created May 27, 2022 21:26
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.14+commit.80d49f37.js&optimize=false&runs=200&gist=
// Dutch auction
// Seller sets the price at the start of the auction and price goes down over time
// When the buyer decides that the price is low enough, he buys and the auction ends
pragma solidity ^0.8.13;
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;
interface IERC165 {
function supportsInterface(bytes4 interfaceID) external view returns (bool);
@djokicx
djokicx / contracts...MultiSigWallet.sol
Created May 27, 2022 13:30
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.13+commit.abaa5c0e.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.13;
contract MultiSigWallet {
event Deposit(address indexed sender, uint amount);
event Submit(uint indexed txId); // tx submitted waiting for other owners to approve
event Approve(address indexed owner, uint indexed txId); // can aprove
event Revoke(address indexed owner, uint indexed txId); // can revoke approval
event Execute(uint indexed txId);
modifier onlyOwner {
@djokicx
djokicx / .block
Last active April 22, 2020 16:59
Yodlee Datasets
license: mit
@djokicx
djokicx / .block
Last active February 14, 2020 07:16
Mobility Bubble Chart (Spring 2020)
license: mit
ROLES:
sadmin Yodlee Super Admin 1,2,3,4,5,6,7,8,9
admin Yodlee Admin 1,2,3,4,5,6,7,8
srep Yodlee Service Representative 1,2,3,4,5,6,7
cadmin Client Admin 1,2,3,4,6
csrep Client Service Representative 1,2,3,
yint Yodlee Internal User 1,2,
ycc Yodlee Customer Service 1,2,3
demo Demo User 1,2,3
@djokicx
djokicx / .block
Last active March 5, 2016 04:25
Parallel Coordinates
license: gpl-3.0
@djokicx
djokicx / README.md
Created February 23, 2016 23:57
fresh block
@djokicx
djokicx / .block
Last active February 27, 2016 04:03
Multi-Series Line Chart
license: gpl-3.0
@djokicx
djokicx / .block
Created February 12, 2016 22:46
Multi-Series Line Chart
license: gpl-3.0
@djokicx
djokicx / .block
Created February 12, 2016 22:46
Multi-Series Line Chart
license: gpl-3.0