ERC-20
Overview
Max Total Supply
0 RSB2
Holders
13,572
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
VotingToken
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-07-18 */ pragma solidity 0.4.24; 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 Owned { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() public { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); emit OwnershipTransferred(owner, newOwner); owner = newOwner; } } contract ERC20 { function totalSupply() public view returns (uint); function balanceOf(address tokenOwner) public view returns (uint balance); function allowance(address tokenOwner, address spender) public view 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 StandardToken is ERC20 { using SafeMath for uint; string public name; string public symbol; uint8 public decimals; uint public totalSupply; mapping(address => uint) internal balances; mapping (address => mapping (address => uint)) internal allowed; constructor(string _name, string _symbol, uint8 _decimals, uint _totalSupply) public { name = _name; symbol = _symbol; decimals = _decimals; totalSupply = _totalSupply; balances[msg.sender] = _totalSupply; emit Transfer(address(0), msg.sender, _totalSupply); } function totalSupply() public view returns (uint) { return totalSupply; } function balanceOf(address _owner) public view returns (uint) { return balances[_owner]; } function allowance(address _owner, address _spender) public view returns (uint) { return allowed[_owner][_spender]; } function transfer(address _to, uint _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); emit Transfer(msg.sender, _to, _value); return true; } function transferFrom(address _from, address _to, uint _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); emit Transfer(_from, _to, _value); return true; } function approve(address _spender, uint _value) public returns (bool) { allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); return true; } } /** * @title SwissBorg Referendum 2 * @dev Hardcoded version with exactly 6 voting addresses. */ contract VotingToken is StandardToken, Owned { using SafeMath for uint; uint public constant numberOfAlternatives = 6; event Reward(address indexed to, uint amount); event Result(address indexed votingAddress, uint amount); ERC20 private rewardToken; bool public opened; bool public closed; address[numberOfAlternatives] public votingAddresses; // ~~~~~ Constructor ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ constructor( string _name, string _symbol, uint8 _decimals, ERC20 _rewardToken, address[numberOfAlternatives] _votingAddresses ) public StandardToken(_name, _symbol, _decimals, 0) { require(_votingAddresses.length == numberOfAlternatives); rewardToken = _rewardToken; votingAddresses = _votingAddresses; } // ~~~~~ Public Functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function transfer(address _to, uint _value) public returns (bool) { require(super.transfer(_to, _value)); _rewardVote(msg.sender, _to, _value); return true; } function transferFrom(address _from, address _to, uint _value) public returns (bool) { require(super.transferFrom(_from, _to, _value)); _rewardVote(_from, _to, _value); return true; } // Refuse ETH function () public payable { revert(); } // ~~~~~ Admin Functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function mint(address _to, uint _amount) onlyOwner external returns (bool) { require(!opened); totalSupply = totalSupply.add(_amount); balances[_to] = balances[_to].add(_amount); emit Transfer(address(0), _to, _amount); return true; } function batchMint(address[] _tos, uint[] _amounts) onlyOwner external returns (bool) { require(!opened); require(_tos.length == _amounts.length); uint sum = 0; for (uint i = 0; i < _tos.length; i++) { address to = _tos[i]; uint amount = _amounts[i]; sum = sum.add(amount); balances[to] = balances[to].add(amount); emit Transfer(address(0), to, amount); } totalSupply = totalSupply.add(sum); return true; } function open() onlyOwner external { require(!opened); opened = true; } function close() onlyOwner external { require(opened && !closed); closed = true; } function destroy(address[] tokens) onlyOwner external { // Transfer tokens to owner for (uint i = 0; i < tokens.length; i++) { ERC20 token = ERC20(tokens[i]); uint balance = token.balanceOf(this); token.transfer(owner, balance); } for (uint j = 0; j < numberOfAlternatives; j++) { address votingAddress = votingAddresses[j]; uint votes = balances[votingAddress]; emit Result(votingAddress, votes); } // Transfer Eth to owner and terminate contract selfdestruct(owner); } // ~~~~~ Private Functions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function _rewardVote(address _from, address _to, uint _value) private { if(_isVotingAddress(_to)) { require(opened && !closed); uint rewardTokens = _value.div(100); require(rewardToken.transfer(_from, rewardTokens)); emit Reward(_from, _value); } } function _isVotingAddress(address votingAddress) private view returns (bool) { for (uint i = 0; i < numberOfAlternatives; i++) { if (votingAddresses[i] == votingAddress) return true; } return false; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"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":"","type":"uint256"}],"name":"votingAddresses","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","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":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"close","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"closed","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"opened","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tos","type":"address[]"},{"name":"_amounts","type":"uint256[]"}],"name":"batchMint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"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":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"numberOfAlternatives","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokens","type":"address[]"}],"name":"destroy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"open","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_decimals","type":"uint8"},{"name":"_rewardToken","type":"address"},{"name":"_votingAddresses","type":"address[6]"}],"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":"Reward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"votingAddress","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Result","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620012ba380380620012ba83398101604090815281516020808401519284015160608501519285018051909594850194919392608090920191869186918691600091620000679183918701906200012c565b5082516200007d9060019060208601906200012c565b506002805460ff191660ff84161790556003819055336000818152600460209081526040808320859055805185815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505060068054600160a060020a0319163317905550620000f69050565b60078054600160a060020a031916600160a060020a038416179055620001206008826006620001b1565b50505050505062000251565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200016f57805160ff19168380011785556200019f565b828001600101855582156200019f579182015b828111156200019f57825182559160200191906001019062000182565b50620001ad9291506200020a565b5090565b8260068101928215620001fc579160200282015b82811115620001fc5782518254600160a060020a031916600160a060020a03909116178255602090920191600190910190620001c5565b50620001ad9291506200022a565b6200022791905b80821115620001ad576000815560010162000211565b90565b6200022791905b80821115620001ad578054600160a060020a031916815560010162000231565b61105980620002616000396000f3006080604052600436106101115763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610116578063095ea7b3146101a057806318160ddd146101d85780631b9a293d146101ff57806323b872dd14610233578063313ce5671461025d57806340c10f191461028857806343d726d6146102ac578063597e1fb5146102c35780635f88eade146102d857806368573107146102ed57806370a08231146103195780638da5cb5b1461033a57806395d89b411461034f578063a9059cbb14610364578063aa24e8aa14610388578063c6786e5a1461039d578063dd62ed3e146103bd578063f2fde38b146103e4578063fcfff16f14610405575b600080fd5b34801561012257600080fd5b5061012b61041a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016557818101518382015260200161014d565b50505050905090810190601f1680156101925780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101ac57600080fd5b506101c4600160a060020a03600435166024356104a8565b604080519115158252519081900360200190f35b3480156101e457600080fd5b506101ed61050f565b60408051918252519081900360200190f35b34801561020b57600080fd5b50610217600435610515565b60408051600160a060020a039092168252519081900360200190f35b34801561023f57600080fd5b506101c4600160a060020a0360043581169060243516604435610532565b34801561026957600080fd5b5061027261055f565b6040805160ff9092168252519081900360200190f35b34801561029457600080fd5b506101c4600160a060020a0360043516602435610568565b3480156102b857600080fd5b506102c1610623565b005b3480156102cf57600080fd5b506101c46106b3565b3480156102e457600080fd5b506101c46106d5565b3480156102f957600080fd5b506101c460246004803582810192908201359181359182019101356106e5565b34801561032557600080fd5b506101ed600160a060020a0360043516610821565b34801561034657600080fd5b5061021761083c565b34801561035b57600080fd5b5061012b61084b565b34801561037057600080fd5b506101c4600160a060020a03600435166024356108a5565b34801561039457600080fd5b506101ed6108d0565b3480156103a957600080fd5b506102c160048035602481019101356108d5565b3480156103c957600080fd5b506101ed600160a060020a0360043581169060243516610adb565b3480156103f057600080fd5b506102c1600160a060020a0360043516610b06565b34801561041157600080fd5b506102c1610b9b565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104a05780601f10610475576101008083540402835291602001916104a0565b820191906000526020600020905b81548152906001019060200180831161048357829003601f168201915b505050505081565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60035490565b6008816006811061052257fe5b0154600160a060020a0316905081565b600061053f848484610bef565b151561054a57600080fd5b610555848484610d56565b5060019392505050565b60025460ff1681565b600654600090600160a060020a0316331461058257600080fd5b60075460a060020a900460ff161561059957600080fd5b6003546105ac908363ffffffff610ea516565b600355600160a060020a0383166000908152600460205260409020546105d8908363ffffffff610ea516565b600160a060020a038416600081815260046020908152604080832094909455835186815293519293919260008051602061100e8339815191529281900390910190a350600192915050565b600654600160a060020a0316331461063a57600080fd5b60075460a060020a900460ff16801561066f57506007547501000000000000000000000000000000000000000000900460ff16155b151561067a57600080fd5b6007805475ff00000000000000000000000000000000000000000019167501000000000000000000000000000000000000000000179055565b6007547501000000000000000000000000000000000000000000900460ff1681565b60075460a060020a900460ff1681565b6006546000908190819081908190600160a060020a0316331461070757600080fd5b60075460a060020a900460ff161561071e57600080fd5b87861461072a57600080fd5b60009350600092505b878310156107fc5788888481811061074757fe5b90506020020135600160a060020a03169150868684818110151561076757fe5b9050602002013590506107838185610ea590919063ffffffff16565b600160a060020a0383166000908152600460205260409020549094506107af908263ffffffff610ea516565b600160a060020a038316600081815260046020908152604080832094909455835185815293519293919260008051602061100e8339815191529281900390910190a3600190920191610733565b60035461080f908563ffffffff610ea516565b60035550600198975050505050505050565b600160a060020a031660009081526004602052604090205490565b600654600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104a05780601f10610475576101008083540402835291602001916104a0565b60006108b18383610eb5565b15156108bc57600080fd5b6108c7338484610d56565b50600192915050565b600681565b60065460009081908190819081908190600160a060020a031633146108f957600080fd5b600095505b86861015610a515787878781811061091257fe5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160209283029490940135600160a060020a0316985088936370a082319350602480830193928290030181600087803b15801561097c57600080fd5b505af1158015610990573d6000803e3d6000fd5b505050506040513d60208110156109a657600080fd5b5051600654604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519296509087169163a9059cbb916044808201926020929091908290030181600087803b158015610a1a57600080fd5b505af1158015610a2e573d6000803e3d6000fd5b505050506040513d6020811015610a4457600080fd5b50506001909501946108fe565b600092505b6006831015610acd5760088360068110610a6c57fe5b0154600160a060020a03166000818152600460209081526040918290205482518181529251939550935084927fe8f062c04470f78a887153f0f4b52a017e7a9fcbcceb38366ff8e3013101f8c49281900390910190a2600190920191610a56565b600654600160a060020a0316ff5b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600654600160a060020a03163314610b1d57600080fd5b600160a060020a0381161515610b3257600080fd5b600654604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600654600160a060020a03163314610bb257600080fd5b60075460a060020a900460ff1615610bc957600080fd5b6007805474ff0000000000000000000000000000000000000000191660a060020a179055565b6000600160a060020a0383161515610c0657600080fd5b600160a060020a038416600090815260046020526040902054821115610c2b57600080fd5b600160a060020a0384166000908152600560209081526040808320338452909152902054821115610c5b57600080fd5b600160a060020a038416600090815260046020526040902054610c84908363ffffffff610f8616565b600160a060020a038086166000908152600460205260408082209390935590851681522054610cb9908363ffffffff610ea516565b600160a060020a038085166000908152600460209081526040808320949094559187168152600582528281203382529091522054610cfd908363ffffffff610f8616565b600160a060020a038086166000818152600560209081526040808320338452825291829020949094558051868152905192871693919260008051602061100e833981519152929181900390910190a35060019392505050565b6000610d6183610f9b565b15610e9f5760075460a060020a900460ff168015610d9b57506007547501000000000000000000000000000000000000000000900460ff16155b1515610da657600080fd5b610db782606463ffffffff610fec16565b600754604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a03888116600483015260248201859052915193945091169163a9059cbb916044808201926020929091908290030181600087803b158015610e2857600080fd5b505af1158015610e3c573d6000803e3d6000fd5b505050506040513d6020811015610e5257600080fd5b50511515610e5f57600080fd5b604080518381529051600160a060020a038616917f619caafabdd75649b302ba8419e48cccf64f37f1983ac4727cfb38b57703ffc9919081900360200190a25b50505050565b8181018281101561050957600080fd5b6000600160a060020a0383161515610ecc57600080fd5b33600090815260046020526040902054821115610ee857600080fd5b33600090815260046020526040902054610f08908363ffffffff610f8616565b3360009081526004602052604080822092909255600160a060020a03851681522054610f3a908363ffffffff610ea516565b600160a060020a03841660008181526004602090815260409182902093909355805185815290519192339260008051602061100e8339815191529281900390910190a350600192915050565b600082821115610f9557600080fd5b50900390565b6000805b6006811015610fe157600160a060020a03831660088260068110610fbf57fe5b0154600160a060020a03161415610fd95760019150610fe6565b600101610f9f565b600091505b50919050565b6000808211610ffa57600080fd5b818381151561100557fe5b0493925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058203c9505fdd3c5b8f6cb0c235363767903d96caa5ecbfa865e338a43514eead8790029000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000ba9d4199fab4f26efe3551d490e3821486f135ba000000000000000000000000ff5a260fc23dead875a0e1797738c9cc6abcf05800000000000000000000000009b60d9d55711134a0aab2a3f521da0ace2d8653000000000000000000000000cb8169936018f9a22414ddbe22bcde5670c9ecdd00000000000000000000000043061b5af98387ed9c2d3bc1b3fde79dcad544a10000000000000000000000009a8637d6e45c5e66036106b48104488cee52f8fc000000000000000000000000bcaad198ed2e2411a7e3067ebd5cfda75f8d115d00000000000000000000000000000000000000000000000000000000000000165377697373426f7267205265666572656e64756d20320000000000000000000000000000000000000000000000000000000000000000000000000000000000045253423200000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101115763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610116578063095ea7b3146101a057806318160ddd146101d85780631b9a293d146101ff57806323b872dd14610233578063313ce5671461025d57806340c10f191461028857806343d726d6146102ac578063597e1fb5146102c35780635f88eade146102d857806368573107146102ed57806370a08231146103195780638da5cb5b1461033a57806395d89b411461034f578063a9059cbb14610364578063aa24e8aa14610388578063c6786e5a1461039d578063dd62ed3e146103bd578063f2fde38b146103e4578063fcfff16f14610405575b600080fd5b34801561012257600080fd5b5061012b61041a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016557818101518382015260200161014d565b50505050905090810190601f1680156101925780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101ac57600080fd5b506101c4600160a060020a03600435166024356104a8565b604080519115158252519081900360200190f35b3480156101e457600080fd5b506101ed61050f565b60408051918252519081900360200190f35b34801561020b57600080fd5b50610217600435610515565b60408051600160a060020a039092168252519081900360200190f35b34801561023f57600080fd5b506101c4600160a060020a0360043581169060243516604435610532565b34801561026957600080fd5b5061027261055f565b6040805160ff9092168252519081900360200190f35b34801561029457600080fd5b506101c4600160a060020a0360043516602435610568565b3480156102b857600080fd5b506102c1610623565b005b3480156102cf57600080fd5b506101c46106b3565b3480156102e457600080fd5b506101c46106d5565b3480156102f957600080fd5b506101c460246004803582810192908201359181359182019101356106e5565b34801561032557600080fd5b506101ed600160a060020a0360043516610821565b34801561034657600080fd5b5061021761083c565b34801561035b57600080fd5b5061012b61084b565b34801561037057600080fd5b506101c4600160a060020a03600435166024356108a5565b34801561039457600080fd5b506101ed6108d0565b3480156103a957600080fd5b506102c160048035602481019101356108d5565b3480156103c957600080fd5b506101ed600160a060020a0360043581169060243516610adb565b3480156103f057600080fd5b506102c1600160a060020a0360043516610b06565b34801561041157600080fd5b506102c1610b9b565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104a05780601f10610475576101008083540402835291602001916104a0565b820191906000526020600020905b81548152906001019060200180831161048357829003601f168201915b505050505081565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60035490565b6008816006811061052257fe5b0154600160a060020a0316905081565b600061053f848484610bef565b151561054a57600080fd5b610555848484610d56565b5060019392505050565b60025460ff1681565b600654600090600160a060020a0316331461058257600080fd5b60075460a060020a900460ff161561059957600080fd5b6003546105ac908363ffffffff610ea516565b600355600160a060020a0383166000908152600460205260409020546105d8908363ffffffff610ea516565b600160a060020a038416600081815260046020908152604080832094909455835186815293519293919260008051602061100e8339815191529281900390910190a350600192915050565b600654600160a060020a0316331461063a57600080fd5b60075460a060020a900460ff16801561066f57506007547501000000000000000000000000000000000000000000900460ff16155b151561067a57600080fd5b6007805475ff00000000000000000000000000000000000000000019167501000000000000000000000000000000000000000000179055565b6007547501000000000000000000000000000000000000000000900460ff1681565b60075460a060020a900460ff1681565b6006546000908190819081908190600160a060020a0316331461070757600080fd5b60075460a060020a900460ff161561071e57600080fd5b87861461072a57600080fd5b60009350600092505b878310156107fc5788888481811061074757fe5b90506020020135600160a060020a03169150868684818110151561076757fe5b9050602002013590506107838185610ea590919063ffffffff16565b600160a060020a0383166000908152600460205260409020549094506107af908263ffffffff610ea516565b600160a060020a038316600081815260046020908152604080832094909455835185815293519293919260008051602061100e8339815191529281900390910190a3600190920191610733565b60035461080f908563ffffffff610ea516565b60035550600198975050505050505050565b600160a060020a031660009081526004602052604090205490565b600654600160a060020a031681565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104a05780601f10610475576101008083540402835291602001916104a0565b60006108b18383610eb5565b15156108bc57600080fd5b6108c7338484610d56565b50600192915050565b600681565b60065460009081908190819081908190600160a060020a031633146108f957600080fd5b600095505b86861015610a515787878781811061091257fe5b604080517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152905160209283029490940135600160a060020a0316985088936370a082319350602480830193928290030181600087803b15801561097c57600080fd5b505af1158015610990573d6000803e3d6000fd5b505050506040513d60208110156109a657600080fd5b5051600654604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519296509087169163a9059cbb916044808201926020929091908290030181600087803b158015610a1a57600080fd5b505af1158015610a2e573d6000803e3d6000fd5b505050506040513d6020811015610a4457600080fd5b50506001909501946108fe565b600092505b6006831015610acd5760088360068110610a6c57fe5b0154600160a060020a03166000818152600460209081526040918290205482518181529251939550935084927fe8f062c04470f78a887153f0f4b52a017e7a9fcbcceb38366ff8e3013101f8c49281900390910190a2600190920191610a56565b600654600160a060020a0316ff5b600160a060020a03918216600090815260056020908152604080832093909416825291909152205490565b600654600160a060020a03163314610b1d57600080fd5b600160a060020a0381161515610b3257600080fd5b600654604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a36006805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600654600160a060020a03163314610bb257600080fd5b60075460a060020a900460ff1615610bc957600080fd5b6007805474ff0000000000000000000000000000000000000000191660a060020a179055565b6000600160a060020a0383161515610c0657600080fd5b600160a060020a038416600090815260046020526040902054821115610c2b57600080fd5b600160a060020a0384166000908152600560209081526040808320338452909152902054821115610c5b57600080fd5b600160a060020a038416600090815260046020526040902054610c84908363ffffffff610f8616565b600160a060020a038086166000908152600460205260408082209390935590851681522054610cb9908363ffffffff610ea516565b600160a060020a038085166000908152600460209081526040808320949094559187168152600582528281203382529091522054610cfd908363ffffffff610f8616565b600160a060020a038086166000818152600560209081526040808320338452825291829020949094558051868152905192871693919260008051602061100e833981519152929181900390910190a35060019392505050565b6000610d6183610f9b565b15610e9f5760075460a060020a900460ff168015610d9b57506007547501000000000000000000000000000000000000000000900460ff16155b1515610da657600080fd5b610db782606463ffffffff610fec16565b600754604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a03888116600483015260248201859052915193945091169163a9059cbb916044808201926020929091908290030181600087803b158015610e2857600080fd5b505af1158015610e3c573d6000803e3d6000fd5b505050506040513d6020811015610e5257600080fd5b50511515610e5f57600080fd5b604080518381529051600160a060020a038616917f619caafabdd75649b302ba8419e48cccf64f37f1983ac4727cfb38b57703ffc9919081900360200190a25b50505050565b8181018281101561050957600080fd5b6000600160a060020a0383161515610ecc57600080fd5b33600090815260046020526040902054821115610ee857600080fd5b33600090815260046020526040902054610f08908363ffffffff610f8616565b3360009081526004602052604080822092909255600160a060020a03851681522054610f3a908363ffffffff610ea516565b600160a060020a03841660008181526004602090815260409182902093909355805185815290519192339260008051602061100e8339815191529281900390910190a350600192915050565b600082821115610f9557600080fd5b50900390565b6000805b6006811015610fe157600160a060020a03831660088260068110610fbf57fe5b0154600160a060020a03161415610fd95760019150610fe6565b600101610f9f565b600091505b50919050565b6000808211610ffa57600080fd5b818381151561100557fe5b0493925050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058203c9505fdd3c5b8f6cb0c235363767903d96caa5ecbfa865e338a43514eead8790029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000008000000000000000000000000ba9d4199fab4f26efe3551d490e3821486f135ba000000000000000000000000ff5a260fc23dead875a0e1797738c9cc6abcf05800000000000000000000000009b60d9d55711134a0aab2a3f521da0ace2d8653000000000000000000000000cb8169936018f9a22414ddbe22bcde5670c9ecdd00000000000000000000000043061b5af98387ed9c2d3bc1b3fde79dcad544a10000000000000000000000009a8637d6e45c5e66036106b48104488cee52f8fc000000000000000000000000bcaad198ed2e2411a7e3067ebd5cfda75f8d115d00000000000000000000000000000000000000000000000000000000000000165377697373426f7267205265666572656e64756d20320000000000000000000000000000000000000000000000000000000000000000000000000000000000045253423200000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): SwissBorg Referendum 2
Arg [1] : _symbol (string): RSB2
Arg [2] : _decimals (uint8): 8
Arg [3] : _rewardToken (address): 0xba9d4199faB4f26eFE3551D490E3821486f135Ba
Arg [4] : _votingAddresses (address[6]): 0xfF5a260FC23deaD875A0e1797738C9cc6abcf058,0x09b60d9D55711134A0aAB2A3F521DA0Ace2d8653,0xcb8169936018f9a22414ddbE22BcDe5670c9eCDd,0x43061b5aF98387ed9c2D3Bc1b3FdE79DcaD544a1,0x9A8637d6E45c5E66036106B48104488CeE52F8fc,0xbcaad198ed2e2411A7E3067EbD5CFda75f8D115d
-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 000000000000000000000000ba9d4199fab4f26efe3551d490e3821486f135ba
Arg [4] : 000000000000000000000000ff5a260fc23dead875a0e1797738c9cc6abcf058
Arg [5] : 00000000000000000000000009b60d9d55711134a0aab2a3f521da0ace2d8653
Arg [6] : 000000000000000000000000cb8169936018f9a22414ddbe22bcde5670c9ecdd
Arg [7] : 00000000000000000000000043061b5af98387ed9c2d3bc1b3fde79dcad544a1
Arg [8] : 0000000000000000000000009a8637d6e45c5e66036106b48104488cee52f8fc
Arg [9] : 000000000000000000000000bcaad198ed2e2411a7e3067ebd5cfda75f8d115d
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [11] : 5377697373426f7267205265666572656e64756d203200000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [13] : 5253423200000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://3c9505fdd3c5b8f6cb0c235363767903d96caa5ecbfa865e338a43514eead879
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.