原文:https://vitalik.ca/general/2019/05/09/control_as_liability.html 譯稿:https://hackmd.io/s/Sk8-8jPn4 譯者:Minako Kojima 校對:Chih-Cheng Liang, Williams Lai
導讀:類似於 GDPR 的法律帶來了巨大了合規成本,讓用戶有自己的私鑰和數據所有權的區塊鏈應用(例如 Dapp),這類型區塊鏈不受隱私法規的監管,從而避免了巨額的合規成本。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 作為負債的控制 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),這類型區塊鏈不受隱私法規的監管,從而避免了巨額的合規成本。 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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% :^) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* CryptoHero Contract Nebulas Version | |
* ©️ Andoromeda Foundation All Right Reserved. | |
* @author: Frank Wei <frank@frankwei.xyz> | |
* @version: 1.0 | |
*/ | |
"use strict" | |
class Operator { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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 { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |