Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
{"atv":"017CAA01011668386BBB4EEB3522411BF1F837193F2674A273D430670301E4600001200159034E585401090810875B041A6461C6012E010408086880DFB0D5694C010020E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B85501184E58542D5A4D55462D504748452D444135462D32574A444446304402204BEB23273F59619F08F8133FAC49DC6F9B67402003E95C5C4901B9D63E9C696002207D0B1D21FA30EFB38521C2C1FFB5FEAEF3CAA8CCA81AA3A08786B6DC0CD476AD583056301006072A8648CE3D020106052B8104000A03420004E10EF569E2245BBCCB389286837590663E9443C7BE5BD998B2A651022FB0A47830C4030B711145EC7C713B7174E8BBAE4FCDCC22526B33934B20DA3519F925570400000001040000000120626305DAAC07A0F6E305B72260E285761EA49830366082C367F21EEFC24432670400000003202B8286EAEB14A6F96E83685DF6C41E3C71C575BDDAB092796870234592DFF85720AB0B93B68976608E0DD0877DBBEAB027555E071FA79B60E87FBF19A1616D8C3520170F253E106C3F1B64241176D29597D242AD2355DAAF30669736372589D39AF24000020E8B0002E64C70488BA51A3300A22FADF704F7BA3D857C55F4831FD3483012B39CD2C7FACF8376384F3231138B054466D62A5DFA2A490405F5E14DBFE0E10100","vtb":["020878
@blackyblack
blackyblack / MultiSigWalletTimelocked.sol
Created January 15, 2018 06:51
Solidity contract for multisig wallet with timelock ability
pragma solidity ^0.4.0;
/// @title Multisignature wallet - Allows multiple parties to agree on transactions before execution.
/// @author Stefan George - <stefan.george@consensys.net>
/// @author Andrew Lekar
contract MultiSigWallet {
uint constant public MAX_OWNER_COUNT = 10;
/* A contract to store a list of messages. Obtainable as events. */
/* Deployment:
Owner: 0xeb5fa6cbf2aca03a0df228f2df67229e2d3bd01e
Last address: TBD
ABI: [{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_dataInfo","type":"string"},{"name":"_version","type":"uint256"},{"name":"_eventType","type":"uint16"},{"name":"_timeSpan","type":"uint256"}],"name":"add","outputs":[],"payable":true,"type":"function"},{"constant":false,"inputs":[],"name":"flush","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"contentCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"type":"constructor"},{"payable":false,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"dataInfo","type":"string"},{"indexed":true,"name":"version","type":"uint256"},{"indexed":true,"name":"sender","type":"address"},{"indexed":true,"name":"timePage","type":"uint256"},{"indexed"
/* A contract to store only messages sent by owner */
/* Deployment:
Owner: 0xeb5fa6cbf2aca03a0df228f2df67229e2d3bd01e
Last address: TBD
ABI: [{"constant":false,"inputs":[{"name":"_dataInfo","type":"string"},{"name":"_version","type":"uint256"}],"name":"add","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"contentCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"type":"constructor"},{"payable":false,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"dataInfo","type":"string"},{"indexed":true,"name":"version","type":"uint256"}],"name":"LogMessage","type":"event"}]
Optimized: yes
Solidity version: v0.4.3-nightly.2016-10-11
*/
/* A contract to store goods with escrowed funds. */
/* Deployment:
Contract:
Owner: seller
Last address: dynamic
ABI: [{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"escrows","outputs":[{"name":"buyer","type":"address"},{"name":"lockedFunds","type":"uint256"},{"name":"frozenFunds","type":"uint256"},{"name":"frozenTime","type":"uint64"},{"name":"count","type":"uint16"},{"name":"buyerNo","type":"bool"},{"name":"sellerNo","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"count","outputs":[{"name":"","type":"uint16"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_dataInfo","type":"string"},{"name":"_version","type":"uint256"}],"name":"cancel","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"seller","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"freezePeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"functio
/* A contract to store a list of messages. Obtainable as events. */
/* Deployment:
Owner: 0xeb5fa6cbf2aca03a0df228f2df67229e2d3bd01e
Last address: 0x12239738fd728d4a77efe9167a852b0e51eec6eb
ABI: [{"constant":false,"inputs":[{"name":"datainfo","type":"string"},{"name":"version","type":"uint256"},{"name":"datatype","type":"uint256"},{"name":"timespan","type":"uint256"}],"name":"add","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"flush","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"contentCount","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"inputs":[],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"datainfo","type":"string"},{"indexed":true,"name":"version","type":"uint256"},{"indexed":true,"name":"sender","type":"address"},{"indexed":true,"name":"timepage","type":"uint256"},{"indexed":false,"name":"datatype","type":"uint256"},{"indexed":false,"nam
/* A contract to store only messages approved by owner */
/* Deployment:
Owner: 0xeb5fa6cbf2aca03a0df228f2df67229e2d3bd01e
Last address: 0x0318179601a70085aeb488f178b081295b65ecc9
ABI: [{"constant":false,"inputs":[{"name":"datainfo","type":"string"},{"name":"version","type":"uint256"}],"name":"add","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"flush","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"contentCount","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"inputs":[],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"datainfo","type":"string"},{"indexed":true,"name":"version","type":"uint256"}],"name":"content","type":"event"}]
Optimized: yes
Solidity version: 0.3.2-9e36bdda
*/
contract self_store {
/* A contract to store goods with escrowed funds. */
/* Deployment:
Contract:
Owner: seller
Last address: dynamic
ABI: [{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"escrows","outputs":[{"name":"buyer","type":"address"},{"name":"lockedFunds","type":"uint256"},{"name":"frozenTime","type":"uint256"},{"name":"frozenFunds","type":"uint256"},{"name":"buyerNo","type":"uint256"},{"name":"sellerNo","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"count","outputs":[{"name":"","type":"uint16"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"datainfo","type":"string"},{"name":"_version","type":"uint256"}],"name":"cancel","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"seller","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"freezePeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inpu
/* A contract to store a list of messages. Obtainable as events. */
/* Deployment:
Owner: 0xeb5fa6cbf2aca03a0df228f2df67229e2d3bd01e
Last address: 0xd39fe1cffd8f070429169b416b7e07f486d553cf
ABI: [{"constant":false,"inputs":[{"name":"datainfo","type":"string"},{"name":"version","type":"uint256"},{"name":"datatype","type":"uint256"},{"name":"timespan","type":"uint256"}],"name":"add","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"type":"function"},{"constant":false,"inputs":[],"name":"flush","outputs":[],"type":"function"},{"constant":true,"inputs":[],"name":"contentCount","outputs":[{"name":"","type":"uint256"}],"type":"function"},{"inputs":[],"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"datainfo","type":"string"},{"indexed":true,"name":"version","type":"uint256"},{"indexed":true,"name":"sender","type":"address"},{"indexed":true,"name":"datatype","type":"uint256"},{"indexed":false,"name":"timespan","type":"uint256"},{"indexed":false,"nam
/* A contract to store goods with escrowed funds. */
/* Deployment:
Owner: seller
Last address: dynamic
Lib ABI: [{"constant":false,"inputs":[{"name":"data","type":"EscrowLib.Context storage"},{"name":"id","type":"uint256"},{"name":"datainfo","type":"string"},{"name":"_version","type":"uint256"},{"name":"_count","type":"uint16"}],"name":"buy","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"data","type":"EscrowLib.Context storage"}],"name":"getFees","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"data","type":"EscrowLib.Context storage"},{"name":"id","type":"uint256"},{"name":"datainfo","type":"string"},{"name":"_version","type":"uint256"}],"name":"yes","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"data","type":"EscrowLib.Context storage"},{"name":"datainfo","type":"string"},{"name":"_version","type":"uint256"}],"name":"cancel","outputs":[],"type":"function"},{"constant":false,"inputs":[{"name":"data","type":"EscrowLib.Context storage"},{"name":