Skip to content

Instantly share code, notes, and snippets.

View lychees's full-sized avatar
🌴
People, Fund, Strategy ...

minakokojima lychees

🌴
People, Fund, Strategy ...
View GitHub Profile

Title

sub title

# 作為負債的控制 Control as Liability
原文:[https://vitalik.ca/general/2019/05/09/control_as_liability.html](https://vitalik.ca/general/2019/05/09/control_as_liability.html)
譯稿:[https://hackmd.io/s/Sk8-8jPn4](https://hackmd.io/s/Sk8-8jPn4)
譯者:[Minako Kojima](https://twitter.com/TangFeihu)
校對:[Chih-Cheng Liang](https://twitter.com/chihchengliang), [Williams Lai](https://medium.com/@cla2srbchi)
導讀:類似於 GDPR 的法律帶來了巨大了合規成本,讓用戶有自己的私鑰和數據所有權的區塊鏈應用(例如 Dapp),這類型區塊鏈不受隱私法規的監管,從而避免了巨額的合規成本。
/** Micro Mezz Macro Flation -- Overheated Economy ., Last Update: Nov. 7th 2014 **/ //{
/** Header .. **/ //{
#pragma comment(linker, "/STACK:36777216")
//#pragma GCC optimize ("O2")
#define LOCAL
//#include "testlib.h"
#include <functional>
#include <algorithm>
#include <iostream>
@lychees
lychees / PokeKitties.sol
Created November 18, 2018 05:26
PokeKitties.sol
pragma solidity ^0.4.21;
/// @author MinakoKojima (https://github.com/lychees)
contract DecentralizedExchange{
address public owner;
mapping (address => bool) public admins;
struct Order {
address owner;
@lychees
lychees / A.solidity
Last active November 5, 2018 19:25
PonziToken
// https://etherscan.io/address/0x9f4fd6c336388f2ab7dc7bbe4740ae7b88b880d7#code
pragma solidity ^0.4.18;
// If you wanna escape this contract REALLY FAST
// 1. open MEW/METAMASK
// 2. Put this as data: 0xb1e35242
// 3. send 150000+ gas
// That calls the getMeOutOfHere() method
// Remember, cashout fee is 10% :^)
@lychees
lychees / temp.sol
Created June 21, 2018 17:12
temp.sol
/**
* CryptoHero Contract Nebulas Version
* ©️ Andoromeda Foundation All Right Reserved.
* @author: Frank Wei <frank@frankwei.xyz>
* @version: 1.0
*/
"use strict"
class Operator {
/**
* LinkIdol Contract, copyright is owned by Andoromeda Foundation
* @author: Frank Wei <frank@frankwei.xyz>
* Last updated: 12:00 AM, May 30th
* Test Net Contract Address: n1oecF9SK8wUKxAcTVCYfvsvG3P6TmHWdzW
* @version: 0.9 beta - need to find the potential bug
*/
"use strict"
class Operator {
@lychees
lychees / 721.sol
Last active June 8, 2018 15:51
NRC721
/**
* LinkIdol Contract, copyright is owned by Andoromeda Foundation
* @author: Frank Wei <frank@frankwei.xyz>
* Last updated: 12:00 AM, May 30th
* Test Net Contract Address: n1oecF9SK8wUKxAcTVCYfvsvG3P6TmHWdzW
* @version: 0.9 beta - need to find the potential bug
*/
"use strict"
class Operator {
@lychees
lychees / idoldraw.sol
Last active May 31, 2018 17:35
idoldraw.sol
pragma solidity ^0.4.24;
contract IdolDraw {
event Buy(address indexed buyerAddr);
event RollDice(address indexed playerAddr, address indexed prizeIssuer, uint prizeId);
address public mainContractAddr;
uint256 public sigmaType = 6;