Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 24 17:41

    amisolution on master

    Update index.html (compare)

  • Jun 24 17:23

    amisolution on master

    Update config.js (compare)

  • Jun 09 12:25

    amisolution on master

    Update main.json (compare)

  • Sep 13 2018 08:04

    amisolution on master

    Update markets.html (compare)

  • Sep 07 2018 12:46

    amisolution on master

    Update AMIS.ejs Update translations.js Merge pull request #1 from amis… and 12 more (compare)

  • Sep 02 2018 22:33

    amisolution on master

    Update README.md (compare)

  • Sep 01 2018 13:50

    amisolution on master

    testing (compare)

  • Sep 01 2018 08:04

    amisolution on master

    testing Merge branch 'master' of https:… (compare)

  • Sep 01 2018 02:53

    amisolution on master

    Update api.js (compare)

  • Sep 01 2018 02:48

    amisolution on master

    Create README.md (compare)

  • Sep 01 2018 02:19

    amisolution on master

    cleanup (compare)

  • Aug 29 2018 18:02

    amisolution on master

    Update README.md (compare)

  • Aug 16 2018 21:23

    amisolution on master

    cleanup (compare)

  • Aug 16 2018 20:41

    amisolution on master

    Update config.js (compare)

  • Aug 16 2018 20:32

    amisolution on gh-pages

    (compare)

  • Aug 04 2018 13:48

    amisolution on master-04AUG2018

    (compare)

  • Aug 04 2018 04:33

    amisolution on master

    cleanup before testing (compare)

  • Aug 04 2018 02:47

    amisolution on master

    cleanup (compare)

  • Aug 04 2018 02:01

    amisolution on master

    PRPS AMIS replacement wei compa… (compare)

  • Aug 04 2018 00:51

    amisolution on master

    cleanup (compare)

mak2141
@mak2141
Test net
0x66c61A1132E99b0052A661E516493e6D1c7E383C
Check it out
Give your testnet wallet address
mak2141
@mak2141
What about my orders in fork delta?
You seemed to be busy at the moment
It's a token with a dividend feature
So each wallet's balance with this token will have a dividend distribution

pragma solidity ^0.4.21;

contract SimpleDividendToken {

string public name = "Simple Dividend Token";
string public symbol = "SDIV";

// This code assumes decimals is zero---do not change.
uint8 public decimals = 0;   //  DO NOT CHANGE!

uint256 public totalSupply = 1000000 * (uint256(10) ** decimals);

mapping(address => uint256) public balanceOf;

function SimpleDividendToken() public {
    // Initially assign all tokens to the contract's creator.
    balanceOf[msg.sender] = totalSupply;
    emit Transfer(address(0), msg.sender, totalSupply);
}

mapping(address => uint256) dividendBalanceOf;

uint256 public dividendPerToken;

mapping(address => uint256) dividendCreditedTo;

function update(address account) internal {
    uint256 owed =
        dividendPerToken - dividendCreditedTo[account];
    dividendBalanceOf[account] += balanceOf[account] * owed;
    dividendCreditedTo[account] = dividendPerToken;
}

event Transfer(address indexed from, address indexed to, uint256 value);
event Approval(address indexed owner, address indexed spender, uint256 value);

mapping(address => mapping(address => uint256)) public allowance;

function transfer(address to, uint256 value) public returns (bool success) {
    require(balanceOf[msg.sender] >= value);

    update(msg.sender);  // <-- added to simple ERC20 contract
    update(to);          // <-- added to simple ERC20 contract

    balanceOf[msg.sender] -= value;
    balanceOf[to] += value;

    emit Transfer(msg.sender, to, value);
    return true;
}

function transferFrom(address from, address to, uint256 value)
    public
    returns (bool success)
{
    require(value <= balanceOf[from]);
    require(value <= allowance[from][msg.sender]);

    update(from);        // <-- added to simple ERC20 contract
    update(to);          // <-- added to simple ERC20 contract

    balanceOf[from] -= value;
    balanceOf[to] += value;
    allowance[from][msg.sender] -= value;
    emit Transfer(from, to, value);
    return true;
}

function deposit() public payable {
    dividendPerToken += msg.value / totalSupply;  // ignoring remainder
}

function withdraw() public {
    update(msg.sender);
    uint256 amount = dividendBalanceOf[msg.sender];
    dividendBalanceOf[msg.sender] = 0;
    msg.sender.transfer(amount);
}

function approve(address spender, uint256 value)
    public
    returns (bool success)
{
    allowance[msg.sender][spender] = value;
    emit Approval(msg.sender, spender, value);
    return true;
}

}

mak2141
@mak2141
That's the code
amisolution
@amisolution
I'll have a look at it
yes I'm a bit busy plus I didn't sleep overnight
mak2141
@mak2141
Really why?
There are time that I cannot sleep as well
mak2141
@mak2141
Are ready to proceed with our discussion?
mak2141
@mak2141
Hi are you there
I alrerady have multi sig wallet
mak2141
@mak2141
//sol Wallet
// Multi-sig, daily-limited account proxy/wallet.
// @authors:
// Gav Wood g@ethdev.com
// inheritable "property" contract that enables methods to be protected by requiring the acquiescence of either a
// single, or, crucially, each of a number of, designated owners.
// usage:
// use modifiers onlyowner (just own owned) or onlymanyowners(hash), whereby the same hash must be provided by
// some number (specified in constructor) of the set of owners (specified in the constructor, modifiable) before the
// interior is executed.
contract multiowned {
// TYPES

// struct for the status of a pending operation.
struct PendingState {
    uint yetNeeded;
    uint ownersDone;
    uint index;
}

// EVENTS

// this contract only has five types of events: it can accept a confirmation, in which case
// we record owner and operation (hash) alongside it.
event Confirmation(address owner, bytes32 operation);
event Revoke(address owner, bytes32 operation);
// some others are in the case of an owner changing.
event OwnerChanged(address oldOwner, address newOwner);
event OwnerAdded(address newOwner);
event OwnerRemoved(address oldOwner);
// the last one is emitted if the required signatures change
event RequirementChanged(uint newRequirement);

// MODIFIERS

// simple single-sig function modifier.
modifier onlyowner {
    if (isOwner(msg.sender))
        _
}
// multi-sig function modifier: the operation must have an intrinsic hash in order
// that later attempts can be realised as the same underlying operation and
// thus count as confirmations.
modifier onlymanyowners(bytes32 _operation) {
    if (confirmAndCheck(_operation))
        _
}

// METHODS

// constructor is given number of sigs required to do protected "onlymanyowners" transactions
// as well as the selection of addresses capable of confirming them.
function multiowned(address[] _owners, uint _required) {
    m_numOwners = _owners.length + 1;
    m_owners[1] = uint(msg.sender);
    m_ownerIndex[uint(msg.sender)] = 1;
    for (uint i = 0; i < _owners.length; ++i)
    {
        m_owners[2 + i] = uint(_owners[i]);
        m_ownerIndex[uint(_owners[i])] = 2 + i;
    }
    m_required = _required;
}

// Revokes a prior confirmation of the given operation
function revoke(bytes32 _operation) external {
    uint ownerIndex = m_ownerIndex[uint(msg.sender)];
    // make sure they're an owner
    if (ownerIndex == 0) return;
    uint ownerIndexBit = 2**ownerIndex;
    var pending = m_pending[_operation];
    if (pending.ownersDone & ownerIndexBit > 0) {
        pending.yetNeeded++;
        pending.ownersDone -= ownerIndexBit;
        Revoke(msg.sender, _operation);
    }
}

// Replaces an owner `_from` with another `_to`.
function changeOwner(address _from, address _to) onlymanyowners(sha3(msg.data, block.number)) external {
    if (isOwner(_to)) return;
    uint ownerIndex = m_ownerIndex[uint(_from)];
    if (ownerIndex == 0) return;

    clearPending();
    m_owners[ownerIndex] = uint(_to);
    m_ownerIndex[uint(_from)] = 0;
    m_ownerIndex[uint(_to)] = ownerIndex;
    OwnerChanged(_from, _to);
}

function addOwner(address _owner) onlymanyowners(sha3(msg.data, block.number)) external {
    if (isOwner(_owner)) return;

    clearPending();
    if (m_numOwners >= c_maxOwners)
        reorganizeOwners();
    if (m_numOwners >= c_maxOwners)
        return;
    m_numOwners++;
    m_owners[m_numOwners] = uint(_owner);
    m_ownerIndex[uint(_owner)] = m_numOwners;
    OwnerAdded(_owner);
}

function removeOwner(address _owner) onlymanyowners(sha3(msg.data, block.number)) external {
    uint ownerIndex = m_ownerIndex[uint(_owner)];
    if (ownerIndex == 0) return;
    if (m_required > m_numOwners - 1) return;

    m_owners[own
Here is the multi siog wallet
This wallet will do at the moment
mak2141
@mak2141
hi
amisolution
@amisolution
Hi
just burned another 200 000 amis
half a billion $ wiped out today
mak2141
@mak2141
well let's get started
then let's earn that back half a billion is valuation
amisolution
@amisolution
sorry but I felt troubled
I left a comment on etherscan and it seems to be censored
not sure what these guys are playing with
together with cmc
I'm ready to throw another 200 k
mak2141
@mak2141
don't feel troubled my friend. there's always a solution on a problem
amisolution
@amisolution
can u switch to pm
mak2141
@mak2141
sure
mak2141
@mak2141
are you there?
mak2141
@mak2141
hey there
you already left?
mak2141
@mak2141
hi there
mak2141
@mak2141
Hey buddy I got you
You want a trading partner so now I will start arbing
mak2141
@mak2141
Hi there
mak2141
@mak2141
Hi buddy
mak2141
@mak2141
Hi there
mak2141
@mak2141
Hi buddy
mak2141
@mak2141
I am trying to list amis on an exchange what is yuor most popular social network?
amisolution
@amisolution
twitter is fine
mak2141
@mak2141
hi theree
mak2141
@mak2141
Hi there