Skip to content

Instantly share code, notes, and snippets.

View VladLupashevskyi's full-sized avatar

Vladyslav Lupashevskyi VladLupashevskyi

View GitHub Profile
pragma solidity ^0.4.20;
contract TxPermission {
/// Allowed transaction types mask
uint32 constant None = 0;
uint32 constant All = 0xffffffff;
uint32 constant Basic = 0x01;
uint32 constant Call = 0x02;
uint32 constant Create = 0x04;
uint32 constant Private = 0x08;
pragma solidity ^0.4.20;
contract TxPermission {
/// Allowed transaction types mask
uint32 constant None = 0;
uint32 constant All = 0xffffffff;
uint32 constant Basic = 0x01;
uint32 constant Call = 0x02;
uint32 constant Create = 0x04;
uint32 constant Private = 0x08;
0x00Adc954f40585eCd3C464a19a8968A8c3642285
0x00A780D449d9a2E603af9d111DC9a8D78f1F44Eb