Skip to content

Instantly share code, notes, and snippets.

View Dexaran's full-sized avatar

Dexaran Dexaran

View GitHub Profile
pragma solidity ^0.4.0;
contract ERC20Constant {
function totalSupply() constant returns (uint supply);
function balanceOf( address who ) constant returns (uint value);
function allowance(address owner, address spender) constant returns (uint _allowance);
}
contract ERC20Stateful {
function transfer( address to, uint value) returns (bool ok);
function transferFrom( address from, address to, uint value) returns (bool ok);
@Dexaran
Dexaran / token.md
Created March 5, 2017 09:50 — forked from frozeman/token.md
Token proposal

This is outdated: The ERC-20 is here: ethereum/EIPs#20

Token

Methods

totalSupply

@Dexaran
Dexaran / standardaccount.sol
Created April 26, 2017 09:51 — forked from axic/standardaccount.sol
EIP101 Standard Account code in Solidity
//
// Implementation of the standard account contract as per EIP101 (Cryptocurrency
// abstraction). See: https://github.com/ethereum/EIPs/issues/28
//
// Written by Alex Beregszaszi, use under the MIT license.
//
contract StandardAccount {
uint256 nextSequence = 1;
@Dexaran
Dexaran / Rinkeby
Last active August 10, 2023 20:27
Rinkeby GitHub Authenticated Faucet
0x1b7947d0c06fef4f135cdd61bbadf97933e6b92e

ETC TokenMint audit report.

Summary

This is the report from a security audit performed on ETC TokenMint by yuriy77k.

TokenMint is a service that offers to launch an ICO and deploy a custom token contract easily.

In scope

ETC dice game audit report.

Summary

In scope

Findings

@Dexaran
Dexaran / dice1_audit.md
Created June 15, 2018 14:14 — forked from alexo18/dice1_audit.md
Ethereum Classic dice-game audit report

Ethereum Classic dice-game audit report.

Summary

This is the report from a security audit performed on dice-game by by alexo18. The audit focused primarily on the security of funds and fault tolerance of the dice-game contract. The main intention of this contract is to serve as decentralized casino game.

In scope

@Dexaran
Dexaran / monetary_policy_32x6.md
Created January 16, 2019 20:24 — forked from yuriy77k/monetary_policy_32x6.md
Monetary policy "32x6".

Monetary policy "32x6".

Monetary policy intends to manage liquidity to create economic growth. Liquidity is how much there is in the money supply. The primary objective of monetary policy is to control inflation.(1)

Current situation.

Start Block End Block Estimate End Date Block Reward Reduction, % Block Reward Total CLO Mining CLO per month
1 5 000 000 15.04.2020 0 600 3 100 000 000 124 416 000
5 000 001 10 000 000 08.04.2022 32 408 5 140 000 000 84 602 880
@Dexaran
Dexaran / EOS_gift_card.md
Created May 16, 2019 19:39 — forked from stablearc/EOS_gift_card.md
EOS gist card smart contract audit - Callisto network

EOS Gift Card Signup Smart Contract Audit Report.

1. Summary

This document is a security audit report performed by Cryptoabhi as a contributor to Callisto Network where EOS Gift Card has been reviewed. EOS gift card can be found at eosgiftcard.com

Contract desription:

GIFT CARD is a EOSIO based smart-contract which allows users to easily create new EOS accounts.

UNUS SED LEO audit report.

1. Summary

This document is a security audit report performed by danbogd, where UNUS SED LEO has been reviewed.

2. In scope

Сommit hash .