ETH Price: $3,422.90 (+3.09%)

Token

SwissBorg Referendum 1 (RSB1)
 

Overview

Max Total Supply

1,000,000,000 RSB1

Holders

18,598

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 8 Decimals)

Balance
5,411.83 RSB1

Value
$0.00
0x43876e4e5c986d4dd65007c04e5624c55a3f3413
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The new era of crypto wealth management.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
VotingToken

Compiler Version
v0.4.21+commit.dfe3193c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-03-29
*/

pragma solidity ^0.4.19;


// ERC Token Standard #20 Interface
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md
contract ERC20Interface {
    function totalSupply() public constant returns (uint);
    function balanceOf(address tokenOwner) public constant returns (uint balance);
    function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
    function transfer(address to, uint tokens) public returns (bool success);
    function approve(address spender, uint tokens) public returns (bool success);
    function transferFrom(address from, address to, uint tokens) public returns (bool success);

    event Transfer(address indexed from, address indexed to, uint tokens);
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}




contract Owned {
    address public owner;

    event OwnershipTransferred(address indexed from, address indexed to);

    function Owned() public {
        owner = msg.sender;
    }

    modifier onlyOwner() {
        require(msg.sender == owner);
        _;
    }

    function setOwner(address _newOwner) public onlyOwner {
        owner = _newOwner;
        OwnershipTransferred(owner, _newOwner);
    }
}



// ----------------------------------------------------------------------------
// Safe maths
// ----------------------------------------------------------------------------
library SafeMath {
    function add(uint a, uint b) internal pure returns (uint c) {
        c = a + b;
        require(c >= a);
    }
    function sub(uint a, uint b) internal pure returns (uint c) {
        require(b <= a);
        c = a - b;
    }
    function mul(uint a, uint b) internal pure returns (uint c) {
        c = a * b;
        require(a == 0 || c / a == b);
    }
    function div(uint a, uint b) internal pure returns (uint c) {
        require(b > 0);
        c = a / b;
    }
}



contract VotingToken is ERC20Interface, Owned {
    using SafeMath for uint;


    // ------------------------------------------------------------------------
    // ERC 20 fields
    // ------------------------------------------------------------------------
    string public symbol;
    string public name;
    uint8 public decimals;
    uint public totalSupply;

    mapping(address => uint) balances;
    mapping(address => mapping(address => uint)) allowed;

    // ------------------------------------------------------------------------
    // Fields required for the referendum
    // ------------------------------------------------------------------------
    Description public description;
    Props public props;
    Reward public reward;
    bool public open;
    
    struct Description {
        string question;
        string firstProp;
        string secondProp;
    }

    struct Props {
        address firstPropAddress;
        address secondPropAddress;
        address blankVoteAddress;
    }

    struct Reward {
        address tokenAddress;
        address refundWalletAddress; 
    }

    event VoteRewarded(address indexed to, uint amount);
    event Finish(string question, 
        string firstProp, uint firstPropCount, 
        string secondProp, uint secondPropCount, uint blankVoteCount);


    // ------------------------------------------------------------------------
    // Constructor
    // ------------------------------------------------------------------------
    function VotingToken(
        string _symbol, string _name, uint _totalSupply, 
        string _question, string _firstProp, string _secondProp,
        address _firstPropAddress, address _secondPropAddress, address _blankVoteAddress,
        address _tokenAddress) public {

        symbol = _symbol;
        name = _name;
        decimals = 8;
        totalSupply = _totalSupply;
        balances[owner] = _totalSupply;
        Transfer(address(0), owner, totalSupply);

        description = Description(_question, _firstProp, _secondProp);
        props = Props(_firstPropAddress, _secondPropAddress, _blankVoteAddress);
        reward = Reward(_tokenAddress, owner);
        open = true;
    }

    function close() public onlyOwner returns (bool success) {
        require(open);
        open = false;
        Finish(description.question, 
            description.firstProp, balanceOf(props.firstPropAddress), 
            description.firstProp, balanceOf(props.secondPropAddress), 
            balanceOf(props.blankVoteAddress));

        ERC20Interface rewardToken = ERC20Interface(reward.tokenAddress);
        uint leftBalance = rewardToken.balanceOf(address(this));
        rewardToken.transfer(reward.refundWalletAddress, leftBalance);

        return true;
    }

    function updateRefundWalletAddress(address _wallet) public onlyOwner returns (bool success) {
        reward.refundWalletAddress = _wallet;
        return true;
    }

    function getResults() public view returns (uint firstPropCount, uint secondPropCount, uint blankVoteCount) {
        return (
            balanceOf(props.firstPropAddress), 
            balanceOf(props.secondPropAddress), 
            balanceOf(props.blankVoteAddress));
    }

    function totalSupply() public constant returns (uint) {
        return totalSupply - balances[address(0)];
    }

    function balanceOf(address _tokenOwner) public constant returns (uint balance) {
        return balances[_tokenOwner];
    }

    function rewardVote(address _from, address _to, uint _tokens) private {
        if(_to == props.firstPropAddress || 
           _to == props.secondPropAddress || 
           _to == props.blankVoteAddress) {
            ERC20Interface rewardToken = ERC20Interface(reward.tokenAddress);
            uint rewardTokens = _tokens.div(100);
            rewardToken.transfer(_from, rewardTokens);
            VoteRewarded(_from, _tokens);
        }
    }

    // ------------------------------------------------------------------------
    // Transfer the balance from token owner's account to `to` account
    // - Owner's account must have sufficient balance to transfer
    // - 0 value transfers are allowed
    // ------------------------------------------------------------------------
    function transfer(address to, uint tokens) public returns (bool success) {
        return transferFrom(msg.sender, to, tokens);
    }

    // ------------------------------------------------------------------------
    // Transfer `tokens` from the `from` account to the `to` account
    // 
    // The calling account must already have sufficient tokens approve(...)-d
    // for spending from the `from` account and
    // - From account must have sufficient balance to transfer
    // - Spender must have sufficient allowance to transfer
    // - 0 value transfers are allowed
    // ------------------------------------------------------------------------
    function transferFrom(address from, address to, uint tokens) public returns (bool success) {
        require(open);
        balances[from] = balances[from].sub(tokens);
        if(from != msg.sender) {
            allowed[from][msg.sender] = allowed[from][msg.sender].sub(tokens);
        }
        balances[to] = balances[to].add(tokens);
        Transfer(from, to, tokens);
        rewardVote(from, to, tokens);
        return true;
    }

    // ------------------------------------------------------------------------
    // Token owner can approve for `spender` to transferFrom(...) `tokens`
    // from the token owner's account
    //
    // https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20-token-standard.md
    // recommends that there are no checks for the approval double-spend attack
    // as this should be implemented in user interfaces 
    // ------------------------------------------------------------------------
    function approve(address spender, uint tokens) public returns (bool success) {
        require(open);
        allowed[msg.sender][spender] = tokens;
        Approval(msg.sender, spender, tokens);
        return true;
    }

    // ------------------------------------------------------------------------
    // Returns the amount of tokens approved by the owner that can be
    // transferred to the spender's account
    // ------------------------------------------------------------------------
    function allowance(address tokenOwner, address spender) public constant returns (uint remaining) {
        return allowed[tokenOwner][spender];
    }

    // ------------------------------------------------------------------------
    // Don't accept ETH
    // ------------------------------------------------------------------------
    function () public payable {
        revert();
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"tokens","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"props","outputs":[{"name":"firstPropAddress","type":"address"},{"name":"secondPropAddress","type":"address"},{"name":"blankVoteAddress","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"reward","outputs":[{"name":"tokenAddress","type":"address"},{"name":"refundWalletAddress","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"close","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getResults","outputs":[{"name":"firstPropCount","type":"uint256"},{"name":"secondPropCount","type":"uint256"},{"name":"blankVoteCount","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenOwner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"description","outputs":[{"name":"question","type":"string"},{"name":"firstProp","type":"string"},{"name":"secondProp","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_wallet","type":"address"}],"name":"updateRefundWalletAddress","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenOwner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"open","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_symbol","type":"string"},{"name":"_name","type":"string"},{"name":"_totalSupply","type":"uint256"},{"name":"_question","type":"string"},{"name":"_firstProp","type":"string"},{"name":"_secondProp","type":"string"},{"name":"_firstPropAddress","type":"address"},{"name":"_secondPropAddress","type":"address"},{"name":"_blankVoteAddress","type":"address"},{"name":"_tokenAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"VoteRewarded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"question","type":"string"},{"indexed":false,"name":"firstProp","type":"string"},{"indexed":false,"name":"firstPropCount","type":"uint256"},{"indexed":false,"name":"secondProp","type":"string"},{"indexed":false,"name":"secondPropCount","type":"uint256"},{"indexed":false,"name":"blankVoteCount","type":"uint256"}],"name":"Finish","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenOwner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"Approval","type":"event"}]

606060405234156200001057600080fd5b6040516200140738038062001407833981016040528080518201919060200180518201919060200180519190602001805182019190602001805182019190602001805182019190602001805191906020018051919060200180519190602001805160008054600160a060020a03191633600160a060020a03161790559150600190508a8051620000a5929160200190620002b5565b506002898051620000bb929160200190620002b5565b506003805460ff19166008179055600488905560008054600160a060020a039081168252600560205260408083208b9055825490911691907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908b905190815260200160405180910390a36060604051908101604090815288825260208201889052810186905260078151819080516200015a929160200190620002b5565b5060208201518160010190805162000177929160200190620002b5565b5060408201518160020190805162000194929160200190620002b5565b5090505060606040519081016040908152600160a060020a0380871683528581166020840152841690820152600a81518154600160a060020a031916600160a060020a03919091161781556020820151600182018054600160a060020a031916600160a060020a039290921691909117905560408201516002919091018054600160a060020a031916600160a060020a039092169190911790555060408051908101604052600160a060020a038083168252600054166020820152600d81518154600160a060020a031916600160a060020a0391909116178155602082015160019182018054600160a060020a031916600160a060020a0392909216919091179055600f805460ff19169091179055506200035a9950505050505050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002f857805160ff191683800117855562000328565b8280016001018555821562000328579182015b82811115620003285782518255916020019190600101906200030b565b50620003369291506200033a565b5090565b6200035791905b8082111562000336576000815560010162000341565b90565b61109d806200036a6000396000f3006060604052600436106100e25763ffffffff60e060020a60003504166306fdde0381146100e7578063095ea7b31461017157806313af4035146101a757806318160ddd146101c85780632060a150146101ed578063228cb7331461023157806323b872dd14610268578063313ce5671461029057806343d726d6146102b95780634717f97c146102cc57806370a08231146103035780637284e416146103225780638da5cb5b1461047f57806395d89b41146104ae578063a9059cbb146104c1578063ac8641ee146104e3578063dd62ed3e14610502578063fcfff16f14610527575b600080fd5b34156100f257600080fd5b6100fa61053a565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561013657808201518382015260200161011e565b50505050905090810190601f1680156101635780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017c57600080fd5b610193600160a060020a03600435166024356105d8565b604051901515815260200160405180910390f35b34156101b257600080fd5b6101c6600160a060020a0360043516610656565b005b34156101d357600080fd5b6101db6106d0565b60405190815260200160405180910390f35b34156101f857600080fd5b610200610702565b604051600160a060020a03938416815291831660208301529091166040808301919091526060909101905180910390f35b341561023c57600080fd5b61024461071f565b604051600160a060020a039283168152911660208201526040908101905180910390f35b341561027357600080fd5b610193600160a060020a0360043581169060243516604435610735565b341561029b57600080fd5b6102a361088a565b60405160ff909116815260200160405180910390f35b34156102c457600080fd5b610193610893565b34156102d757600080fd5b6102df610bb3565b60405180848152602001838152602001828152602001935050505060405180910390f35b341561030e57600080fd5b6101db600160a060020a0360043516610c04565b341561032d57600080fd5b610335610c1f565b60405180806020018060200180602001848103845287818151815260200191508051906020019080838360005b8381101561037a578082015183820152602001610362565b50505050905090810190601f1680156103a75780820380516001836020036101000a031916815260200191505b50848103835286818151815260200191508051906020019080838360005b838110156103dd5780820151838201526020016103c5565b50505050905090810190601f16801561040a5780820380516001836020036101000a031916815260200191505b50848103825285818151815260200191508051906020019080838360005b83811015610440578082015183820152602001610428565b50505050905090810190601f16801561046d5780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b341561048a57600080fd5b610492610dff565b604051600160a060020a03909116815260200160405180910390f35b34156104b957600080fd5b6100fa610e0e565b34156104cc57600080fd5b610193600160a060020a0360043516602435610e79565b34156104ee57600080fd5b610193600160a060020a0360043516610e8d565b341561050d57600080fd5b6101db600160a060020a0360043581169060243516610edb565b341561053257600080fd5b610193610f06565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105d05780601f106105a5576101008083540402835291602001916105d0565b820191906000526020600020905b8154815290600101906020018083116105b357829003601f168201915b505050505081565b600f5460009060ff1615156105ec57600080fd5b600160a060020a03338116600081815260066020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005433600160a060020a0390811691161461067157600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03838116918217928390559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b6000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc546004540390565b600a54600b54600c54600160a060020a0392831692918216911683565b600d54600e54600160a060020a03918216911682565b600f5460009060ff16151561074957600080fd5b600160a060020a038416600090815260056020526040902054610772908363ffffffff610f0f16565b600160a060020a038086166000818152600560205260409020929092553316146107f557600160a060020a03808516600090815260066020908152604080832033909416835292905220546107cd908363ffffffff610f0f16565b600160a060020a03808616600090815260066020908152604080832033909416835292905220555b600160a060020a03831660009081526005602052604090205461081e908363ffffffff610f2416565b600160a060020a03808516600081815260056020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3610880848484610f34565b5060019392505050565b60035460ff1681565b600080548190819033600160a060020a039081169116146108b357600080fd5b600f5460ff1615156108c457600080fd5b600f805460ff19169055600a547f089b4db4b01b32a36c3a6fee19298f06a08f485526054181832f0e0b003816299060079060089061090b90600160a060020a0316610c04565b600b5460089061092390600160a060020a0316610c04565b600c5461093890600160a060020a0316610c04565b604051604081018590526080810183905260a0810182905260c080825287546002600019610100600184161502019091160490820181905281906020820190606083019060e08401908b9080156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b505084810383528954600260001961010060018416150201909116048082526020909101908a908015610a445780601f10610a1957610100808354040283529160200191610a44565b820191906000526020600020905b815481529060010190602001808311610a2757829003601f168201915b5050848103825287546002600019610100600184161502019091160480825260209091019088908015610ab85780601f10610a8d57610100808354040283529160200191610ab8565b820191906000526020600020905b815481529060010190602001808311610a9b57829003601f168201915b5050995050505050505050505060405180910390a1600d54600160a060020a03169150816370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610b2057600080fd5b5af11515610b2d57600080fd5b5050506040518051600e54909250600160a060020a03808516925063a9059cbb91168360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610b9357600080fd5b5af11515610ba057600080fd5b5050506040518051506001935050505090565b600a5460009081908190610bcf90600160a060020a0316610c04565b600b54610be490600160a060020a0316610c04565b600c54610bf990600160a060020a0316610c04565b925092509250909192565b600160a060020a031660009081526005602052604090205490565b6007806000018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610cb95780601f10610c8e57610100808354040283529160200191610cb9565b820191906000526020600020905b815481529060010190602001808311610c9c57829003601f168201915b505050505090806001018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d575780601f10610d2c57610100808354040283529160200191610d57565b820191906000526020600020905b815481529060010190602001808311610d3a57829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610df55780601f10610dca57610100808354040283529160200191610df5565b820191906000526020600020905b815481529060010190602001808311610dd857829003601f168201915b5050505050905083565b600054600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105d05780601f106105a5576101008083540402835291602001916105d0565b6000610e86338484610735565b9392505050565b6000805433600160a060020a03908116911614610ea957600080fd5b50600e8054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b600f5460ff1681565b600082821115610f1e57600080fd5b50900390565b8181018281101561065057600080fd5b600a546000908190600160a060020a0385811691161480610f625750600b54600160a060020a038581169116145b80610f7a5750600c54600160a060020a038581169116145b1561104957600d54600160a060020a03169150610f9e83606463ffffffff61105016565b905081600160a060020a031663a9059cbb868360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610ff457600080fd5b5af1151561100157600080fd5b50505060405180515050600160a060020a0385167f16ef3ede7c00ff65e1edb1feb560d8983ef6302298eeb129c03f99e811b8149f8460405190815260200160405180910390a25b5050505050565b600080821161105e57600080fd5b818381151561106957fe5b0493925050505600a165627a7a72305820020512a3630a4bdb093dd6414341e1f100d719118f7f9424153d8e97f37b65e1002900000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000002ef9d3426b0626d8392398cdc11accf70819120000000000000000000000000036f5611e5f64e92afae7efa7755cf75713f4e000000000000000000000000000003d13e305562c87260d40d6733c3c9163d499000000000000000000000000ba9d4199fab4f26efe3551d490e3821486f135ba0000000000000000000000000000000000000000000000000000000000000004525342310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000165377697373426f7267205265666572656e64756d203100000000000000000000000000000000000000000000000000000000000000000000000000000000003d57686174206b696e64206f66206170702073686f756c6420746865205377697373426f726720696e766573746d656e7420706c6174666f726d2062653f00000000000000000000000000000000000000000000000000000000000000000000124120526561637469766520576562204170700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c41204d6f62696c65204170700000000000000000000000000000000000000000

Deployed Bytecode

0x6060604052600436106100e25763ffffffff60e060020a60003504166306fdde0381146100e7578063095ea7b31461017157806313af4035146101a757806318160ddd146101c85780632060a150146101ed578063228cb7331461023157806323b872dd14610268578063313ce5671461029057806343d726d6146102b95780634717f97c146102cc57806370a08231146103035780637284e416146103225780638da5cb5b1461047f57806395d89b41146104ae578063a9059cbb146104c1578063ac8641ee146104e3578063dd62ed3e14610502578063fcfff16f14610527575b600080fd5b34156100f257600080fd5b6100fa61053a565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561013657808201518382015260200161011e565b50505050905090810190601f1680156101635780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017c57600080fd5b610193600160a060020a03600435166024356105d8565b604051901515815260200160405180910390f35b34156101b257600080fd5b6101c6600160a060020a0360043516610656565b005b34156101d357600080fd5b6101db6106d0565b60405190815260200160405180910390f35b34156101f857600080fd5b610200610702565b604051600160a060020a03938416815291831660208301529091166040808301919091526060909101905180910390f35b341561023c57600080fd5b61024461071f565b604051600160a060020a039283168152911660208201526040908101905180910390f35b341561027357600080fd5b610193600160a060020a0360043581169060243516604435610735565b341561029b57600080fd5b6102a361088a565b60405160ff909116815260200160405180910390f35b34156102c457600080fd5b610193610893565b34156102d757600080fd5b6102df610bb3565b60405180848152602001838152602001828152602001935050505060405180910390f35b341561030e57600080fd5b6101db600160a060020a0360043516610c04565b341561032d57600080fd5b610335610c1f565b60405180806020018060200180602001848103845287818151815260200191508051906020019080838360005b8381101561037a578082015183820152602001610362565b50505050905090810190601f1680156103a75780820380516001836020036101000a031916815260200191505b50848103835286818151815260200191508051906020019080838360005b838110156103dd5780820151838201526020016103c5565b50505050905090810190601f16801561040a5780820380516001836020036101000a031916815260200191505b50848103825285818151815260200191508051906020019080838360005b83811015610440578082015183820152602001610428565b50505050905090810190601f16801561046d5780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390f35b341561048a57600080fd5b610492610dff565b604051600160a060020a03909116815260200160405180910390f35b34156104b957600080fd5b6100fa610e0e565b34156104cc57600080fd5b610193600160a060020a0360043516602435610e79565b34156104ee57600080fd5b610193600160a060020a0360043516610e8d565b341561050d57600080fd5b6101db600160a060020a0360043581169060243516610edb565b341561053257600080fd5b610193610f06565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105d05780601f106105a5576101008083540402835291602001916105d0565b820191906000526020600020905b8154815290600101906020018083116105b357829003601f168201915b505050505081565b600f5460009060ff1615156105ec57600080fd5b600160a060020a03338116600081815260066020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005433600160a060020a0390811691161461067157600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03838116918217928390559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350565b6000805260056020527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc546004540390565b600a54600b54600c54600160a060020a0392831692918216911683565b600d54600e54600160a060020a03918216911682565b600f5460009060ff16151561074957600080fd5b600160a060020a038416600090815260056020526040902054610772908363ffffffff610f0f16565b600160a060020a038086166000818152600560205260409020929092553316146107f557600160a060020a03808516600090815260066020908152604080832033909416835292905220546107cd908363ffffffff610f0f16565b600160a060020a03808616600090815260066020908152604080832033909416835292905220555b600160a060020a03831660009081526005602052604090205461081e908363ffffffff610f2416565b600160a060020a03808516600081815260056020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3610880848484610f34565b5060019392505050565b60035460ff1681565b600080548190819033600160a060020a039081169116146108b357600080fd5b600f5460ff1615156108c457600080fd5b600f805460ff19169055600a547f089b4db4b01b32a36c3a6fee19298f06a08f485526054181832f0e0b003816299060079060089061090b90600160a060020a0316610c04565b600b5460089061092390600160a060020a0316610c04565b600c5461093890600160a060020a0316610c04565b604051604081018590526080810183905260a0810182905260c080825287546002600019610100600184161502019091160490820181905281906020820190606083019060e08401908b9080156109d05780601f106109a5576101008083540402835291602001916109d0565b820191906000526020600020905b8154815290600101906020018083116109b357829003601f168201915b505084810383528954600260001961010060018416150201909116048082526020909101908a908015610a445780601f10610a1957610100808354040283529160200191610a44565b820191906000526020600020905b815481529060010190602001808311610a2757829003601f168201915b5050848103825287546002600019610100600184161502019091160480825260209091019088908015610ab85780601f10610a8d57610100808354040283529160200191610ab8565b820191906000526020600020905b815481529060010190602001808311610a9b57829003601f168201915b5050995050505050505050505060405180910390a1600d54600160a060020a03169150816370a082313060405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610b2057600080fd5b5af11515610b2d57600080fd5b5050506040518051600e54909250600160a060020a03808516925063a9059cbb91168360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610b9357600080fd5b5af11515610ba057600080fd5b5050506040518051506001935050505090565b600a5460009081908190610bcf90600160a060020a0316610c04565b600b54610be490600160a060020a0316610c04565b600c54610bf990600160a060020a0316610c04565b925092509250909192565b600160a060020a031660009081526005602052604090205490565b6007806000018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610cb95780601f10610c8e57610100808354040283529160200191610cb9565b820191906000526020600020905b815481529060010190602001808311610c9c57829003601f168201915b505050505090806001018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d575780601f10610d2c57610100808354040283529160200191610d57565b820191906000526020600020905b815481529060010190602001808311610d3a57829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610df55780601f10610dca57610100808354040283529160200191610df5565b820191906000526020600020905b815481529060010190602001808311610dd857829003601f168201915b5050505050905083565b600054600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105d05780601f106105a5576101008083540402835291602001916105d0565b6000610e86338484610735565b9392505050565b6000805433600160a060020a03908116911614610ea957600080fd5b50600e8054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff199091161790556001919050565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b600f5460ff1681565b600082821115610f1e57600080fd5b50900390565b8181018281101561065057600080fd5b600a546000908190600160a060020a0385811691161480610f625750600b54600160a060020a038581169116145b80610f7a5750600c54600160a060020a038581169116145b1561104957600d54600160a060020a03169150610f9e83606463ffffffff61105016565b905081600160a060020a031663a9059cbb868360405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610ff457600080fd5b5af1151561100157600080fd5b50505060405180515050600160a060020a0385167f16ef3ede7c00ff65e1edb1feb560d8983ef6302298eeb129c03f99e811b8149f8460405190815260200160405180910390a25b5050505050565b600080821161105e57600080fd5b818381151561106957fe5b0493925050505600a165627a7a72305820020512a3630a4bdb093dd6414341e1f100d719118f7f9424153d8e97f37b65e10029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000260000000000000000000000000002ef9d3426b0626d8392398cdc11accf70819120000000000000000000000000036f5611e5f64e92afae7efa7755cf75713f4e000000000000000000000000000003d13e305562c87260d40d6733c3c9163d499000000000000000000000000ba9d4199fab4f26efe3551d490e3821486f135ba0000000000000000000000000000000000000000000000000000000000000004525342310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000165377697373426f7267205265666572656e64756d203100000000000000000000000000000000000000000000000000000000000000000000000000000000003d57686174206b696e64206f66206170702073686f756c6420746865205377697373426f726720696e766573746d656e7420706c6174666f726d2062653f00000000000000000000000000000000000000000000000000000000000000000000124120526561637469766520576562204170700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c41204d6f62696c65204170700000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _symbol (string): RSB1
Arg [1] : _name (string): SwissBorg Referendum 1
Arg [2] : _totalSupply (uint256): 100000000000000000
Arg [3] : _question (string): What kind of app should the SwissBorg investment platform be?
Arg [4] : _firstProp (string): A Reactive Web App
Arg [5] : _secondProp (string): A Mobile App
Arg [6] : _firstPropAddress (address): 0x002eF9D3426B0626D8392398cDC11Accf7081912
Arg [7] : _secondPropAddress (address): 0x0036f5611E5f64E92AFAe7EFa7755cf75713f4e0
Arg [8] : _blankVoteAddress (address): 0x00003d13e305562c87260d40d6733c3c9163d499
Arg [9] : _tokenAddress (address): 0xba9d4199faB4f26eFE3551D490E3821486f135Ba

-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [6] : 000000000000000000000000002ef9d3426b0626d8392398cdc11accf7081912
Arg [7] : 0000000000000000000000000036f5611e5f64e92afae7efa7755cf75713f4e0
Arg [8] : 00000000000000000000000000003d13e305562c87260d40d6733c3c9163d499
Arg [9] : 000000000000000000000000ba9d4199fab4f26efe3551d490e3821486f135ba
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 5253423100000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [13] : 5377697373426f7267205265666572656e64756d203100000000000000000000
Arg [14] : 000000000000000000000000000000000000000000000000000000000000003d
Arg [15] : 57686174206b696e64206f66206170702073686f756c64207468652053776973
Arg [16] : 73426f726720696e766573746d656e7420706c6174666f726d2062653f000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [18] : 4120526561637469766520576562204170700000000000000000000000000000
Arg [19] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [20] : 41204d6f62696c65204170700000000000000000000000000000000000000000


Swarm Source

bzzr://020512a3630a4bdb093dd6414341e1f100d719118f7f9424153d8e97f37b65e1
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.