ERC-20
Payments
Overview
Max Total Supply
55,191,260 DREAM
Holders
2,492 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 6 Decimals)
Balance
559.092649 DREAMValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DreamTeamToken
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-06-21 */ pragma solidity 0.4.24; interface tokenRecipient { function receiveApproval (address from, uint256 value, address token, bytes extraData) external; } interface ERC20CompatibleToken { function transfer (address to, uint256 value) external returns (bool); } /** * Math operations with safety checks that throw on overflows. */ library SafeMath { function mul (uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; require(c / a == b); return c; } function div (uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 // uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return a / b; } function sub (uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); return a - b; } function add (uint256 a, uint256 b) internal pure returns (uint256 c) { c = a + b; require(c >= a); return c; } } /** * DreamTeam token contract. It implements the next capabilities: * 1. Standard ERC20 functionality. * 2. Additional utility function approveAndCall. * 3. Function to rescue "lost forever" tokens, which were accidentally sent to this smart contract. * 4. Additional transfer and approve functions which allow to distinct the transaction signer and executor, * which enables accounts with no Ether on their balances to make token transfers and use DreamTeam services. * 5. Token sale distribution rules. */ contract DreamTeamToken { using SafeMath for uint256; string public name; string public symbol; uint8 public decimals = 6; // Allows JavaScript to handle precise calculations (until totalSupply < 9 billion) uint256 public totalSupply; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; mapping(address => mapping(uint => bool)) public usedSigIds; // Used in *ViaSignature(..) address public tokenDistributor; // Account authorized to distribute tokens only during the token distribution event address public rescueAccount; // Account authorized to withdraw tokens accidentally sent to this contract event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); modifier rescueAccountOnly {require(msg.sender == rescueAccount); _;} modifier tokenDistributionPeriodOnly {require(tokenDistributor == msg.sender); _;} enum sigStandard { typed, personal, stringHex } enum sigDestination { transfer, approve, approveAndCall, transferFrom } bytes constant public ethSignedMessagePrefix = "\x19Ethereum Signed Message:\n"; bytes32 constant public sigDestinationTransfer = keccak256( "address Token Contract Address", "address Sender's Address", "address Recipient's Address", "uint256 Amount to Transfer (last six digits are decimals)", "uint256 Fee in Tokens Paid to Executor (last six digits are decimals)", "address Account which Receives Fee", "uint256 Signature Expiration Timestamp (unix timestamp)", "uint256 Signature ID" ); // `transferViaSignature`: keccak256(address(this), from, to, value, fee, deadline, sigId) bytes32 constant public sigDestinationTransferFrom = keccak256( "address Token Contract Address", "address Address Approved for Withdraw", "address Account to Withdraw From", "address Withdrawal Recipient Address", "uint256 Amount to Transfer (last six digits are decimals)", "uint256 Fee in Tokens Paid to Executor (last six digits are decimals)", "address Account which Receives Fee", "uint256 Signature Expiration Timestamp (unix timestamp)", "uint256 Signature ID" ); // `transferFromViaSignature`: keccak256(address(this), signer, from, to, value, fee, deadline, sigId) bytes32 constant public sigDestinationApprove = keccak256( "address Token Contract Address", "address Withdrawal Approval Address", "address Withdrawal Recipient Address", "uint256 Amount to Transfer (last six digits are decimals)", "uint256 Fee in Tokens Paid to Executor (last six digits are decimals)", "address Account which Receives Fee", "uint256 Signature Expiration Timestamp (unix timestamp)", "uint256 Signature ID" ); // `approveViaSignature`: keccak256(address(this), from, spender, value, fee, deadline, sigId) bytes32 constant public sigDestinationApproveAndCall = keccak256( "address Token Contract Address", "address Withdrawal Approval Address", "address Withdrawal Recipient Address", "uint256 Amount to Transfer (last six digits are decimals)", "bytes Data to Transfer", "uint256 Fee in Tokens Paid to Executor (last six digits are decimals)", "address Account which Receives Fee", "uint256 Signature Expiration Timestamp (unix timestamp)", "uint256 Signature ID" ); // `approveAndCallViaSignature`: keccak256(address(this), from, spender, value, extraData, fee, deadline, sigId) /** * @param tokenName - full token name * @param tokenSymbol - token symbol */ constructor (string tokenName, string tokenSymbol) public { name = tokenName; symbol = tokenSymbol; rescueAccount = tokenDistributor = msg.sender; } /** * Utility internal function used to safely transfer `value` tokens `from` -> `to`. Throws if transfer is impossible. * @param from - account to make the transfer from * @param to - account to transfer `value` tokens to * @param value - tokens to transfer to account `to` */ function internalTransfer (address from, address to, uint value) internal { require(to != 0x0); // Prevent people from accidentally burning their tokens balanceOf[from] = balanceOf[from].sub(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(from, to, value); } /** * Utility internal function used to safely transfer `value1` tokens `from` -> `to1`, and `value2` tokens * `from` -> `to2`, minimizing gas usage (calling `internalTransfer` twice is more expensive). Throws if * transfers are impossible. * @param from - account to make the transfer from * @param to1 - account to transfer `value1` tokens to * @param value1 - tokens to transfer to account `to1` * @param to2 - account to transfer `value2` tokens to * @param value2 - tokens to transfer to account `to2` */ function internalDoubleTransfer (address from, address to1, uint value1, address to2, uint value2) internal { require(to1 != 0x0 && to2 != 0x0); // Prevent people from accidentally burning their tokens balanceOf[from] = balanceOf[from].sub(value1.add(value2)); balanceOf[to1] = balanceOf[to1].add(value1); emit Transfer(from, to1, value1); if (value2 > 0) { balanceOf[to2] = balanceOf[to2].add(value2); emit Transfer(from, to2, value2); } } /** * Internal method that makes sure that the given signature corresponds to a given data and is made by `signer`. * It utilizes three (four) standards of message signing in Ethereum, as at the moment of this smart contract * development there is no single signing standard defined. For example, Metamask and Geth both support * personal_sign standard, SignTypedData is only supported by Matamask, Trezor does not support "widely adopted" * Ethereum personal_sign but rather personal_sign with fixed prefix and so on. * Note that it is always possible to forge any of these signatures using the private key, the problem is that * third-party wallets must adopt a single standard for signing messages. * @param data - original data which had to be signed by `signer` * @param signer - account which made a signature * @param deadline - until when the signature is valid * @param sigId - signature unique ID. Signatures made with the same signature ID cannot be submitted twice * @param sig - signature made by `from`, which is the proof of `from`'s agreement with the above parameters * @param sigStd - chosen standard for signature validation. The signer must explicitly tell which standard they use * @param sigDest - for which type of action this signature was made */ function requireSignature ( bytes32 data, address signer, uint256 deadline, uint256 sigId, bytes sig, sigStandard sigStd, sigDestination sigDest ) internal { bytes32 r; bytes32 s; uint8 v; assembly { // solium-disable-line security/no-inline-assembly r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } if (v < 27) v += 27; require(block.timestamp <= deadline && !usedSigIds[signer][sigId]); // solium-disable-line security/no-block-members if (sigStd == sigStandard.typed) { // Typed signature. This is the most likely scenario to be used and accepted require( signer == ecrecover( keccak256( sigDest == sigDestination.transfer ? sigDestinationTransfer : sigDest == sigDestination.approve ? sigDestinationApprove : sigDest == sigDestination.approveAndCall ? sigDestinationApproveAndCall : sigDestinationTransferFrom, data ), v, r, s ) ); } else if (sigStd == sigStandard.personal) { // Ethereum signed message signature (Geth and Trezor) require( signer == ecrecover(keccak256(ethSignedMessagePrefix, "32", data), v, r, s) // Geth-adopted || signer == ecrecover(keccak256(ethSignedMessagePrefix, "\x20", data), v, r, s) // Trezor-adopted ); } else { // == 2; Signed string hash signature (the most expensive but universal) require( signer == ecrecover(keccak256(ethSignedMessagePrefix, "64", hexToString(data)), v, r, s) // Geth || signer == ecrecover(keccak256(ethSignedMessagePrefix, "\x40", hexToString(data)), v, r, s) // Trezor ); } usedSigIds[signer][sigId] = true; } /** * Utility costly function to encode bytes HEX representation as string. * @param sig - signature as bytes32 to represent as string */ function hexToString (bytes32 sig) internal pure returns (bytes) { bytes memory str = new bytes(64); for (uint8 i = 0; i < 32; ++i) { str[2 * i] = byte((uint8(sig[i]) / 16 < 10 ? 48 : 87) + uint8(sig[i]) / 16); str[2 * i + 1] = byte((uint8(sig[i]) % 16 < 10 ? 48 : 87) + (uint8(sig[i]) % 16)); } return str; } /** * Transfer `value` tokens to `to` address from the account of sender. * @param to - the address of the recipient * @param value - the amount to send */ function transfer (address to, uint256 value) public returns (bool) { internalTransfer(msg.sender, to, value); return true; } /** * This function distincts transaction signer from transaction executor. It allows anyone to transfer tokens * from the `from` account by providing a valid signature, which can only be obtained from the `from` account * owner. * Note that passed parameter sigId is unique and cannot be passed twice (prevents replay attacks). When there's * a need to make signature once again (because the first one is lost or whatever), user should sign the message * with the same sigId, thus ensuring that the previous signature can't be used if the new one passes. * Use case: the user wants to send some tokens to another user or smart contract, but don't have Ether to do so. * @param from - the account giving its signature to transfer `value` tokens to `to` address * @param to - the account receiving `value` tokens * @param value - the value in tokens to transfer * @param fee - a fee to pay to `feeRecipient` * @param feeRecipient - account which will receive fee * @param deadline - until when the signature is valid * @param sigId - signature unique ID. Signatures made with the same signature ID cannot be submitted twice * @param sig - signature made by `from`, which is the proof of `from`'s agreement with the above parameters * @param sigStd - chosen standard for signature validation. The signer must explicitly tell which standard they use */ function transferViaSignature ( address from, address to, uint256 value, uint256 fee, address feeRecipient, uint256 deadline, uint256 sigId, bytes sig, sigStandard sigStd ) external returns (bool) { requireSignature( keccak256(address(this), from, to, value, fee, feeRecipient, deadline, sigId), from, deadline, sigId, sig, sigStd, sigDestination.transfer ); internalDoubleTransfer(from, to, value, feeRecipient, fee); return true; } /** * Allow `spender` to take `value` tokens from the transaction sender's account. * Beware that changing an allowance with this method brings the risk that `spender` may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param spender - the address authorized to spend * @param value - the maximum amount they can spend */ function approve (address spender, uint256 value) public returns (bool) { allowance[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * Same as `transferViaSignature`, but for `approve`. * Use case: the user wants to set an allowance for the smart contract or another user without having Ether on * their balance. * @param from - the account to approve withdrawal from, which signed all below parameters * @param spender - the account allowed to withdraw tokens from `from` address * @param value - the value in tokens to approve to withdraw * @param fee - a fee to pay to `feeRecipient` * @param feeRecipient - account which will receive fee * @param deadline - until when the signature is valid * @param sigId - signature unique ID. Signatures made with the same signature ID cannot be submitted twice * @param sig - signature made by `from`, which is the proof of `from`'s agreement with the above parameters * @param sigStd - chosen standard for signature validation. The signer must explicitly tell which standard they use */ function approveViaSignature ( address from, address spender, uint256 value, uint256 fee, address feeRecipient, uint256 deadline, uint256 sigId, bytes sig, sigStandard sigStd ) external returns (bool) { requireSignature( keccak256(address(this), from, spender, value, fee, feeRecipient, deadline, sigId), from, deadline, sigId, sig, sigStd, sigDestination.approve ); allowance[from][spender] = value; emit Approval(from, spender, value); internalTransfer(from, feeRecipient, fee); return true; } /** * Transfer `value` tokens to `to` address from the `from` account, using the previously set allowance. * @param from - the address to transfer tokens from * @param to - the address of the recipient * @param value - the amount to send */ function transferFrom (address from, address to, uint256 value) public returns (bool) { allowance[from][msg.sender] = allowance[from][msg.sender].sub(value); internalTransfer(from, to, value); return true; } /** * Same as `transferViaSignature`, but for `transferFrom`. * Use case: the user wants to withdraw tokens from a smart contract or another user who allowed the user to * do so. Important note: the fee is subtracted from the `value`, and `to` address receives `value - fee`. * @param signer - the address allowed to call transferFrom, which signed all below parameters * @param from - the account to make withdrawal from * @param to - the address of the recipient * @param value - the value in tokens to withdraw * @param fee - a fee to pay to `feeRecipient` * @param feeRecipient - account which will receive fee * @param deadline - until when the signature is valid * @param sigId - signature unique ID. Signatures made with the same signature ID cannot be submitted twice * @param sig - signature made by `from`, which is the proof of `from`'s agreement with the above parameters * @param sigStd - chosen standard for signature validation. The signer must explicitly tell which standard they use */ function transferFromViaSignature ( address signer, address from, address to, uint256 value, uint256 fee, address feeRecipient, uint256 deadline, uint256 sigId, bytes sig, sigStandard sigStd ) external returns (bool) { requireSignature( keccak256(address(this), from, to, value, fee, feeRecipient, deadline, sigId), signer, deadline, sigId, sig, sigStd, sigDestination.transferFrom ); allowance[from][signer] = allowance[from][signer].sub(value); internalDoubleTransfer(from, to, value.sub(fee), feeRecipient, fee); return true; } /** * Utility function, which acts the same as approve(...), but also calls `receiveApproval` function on a * `spender` address, which is usually the address of the smart contract. In the same call, smart contract can * withdraw tokens from the sender's account and receive additional `extraData` for processing. * @param spender - the address to be authorized to spend tokens * @param value - the max amount the `spender` can withdraw * @param extraData - some extra information to send to the approved contract */ function approveAndCall (address spender, uint256 value, bytes extraData) public returns (bool) { approve(spender, value); tokenRecipient(spender).receiveApproval(msg.sender, value, this, extraData); return true; } /** * Same as `approveViaSignature`, but for `approveAndCall`. * Use case: the user wants to send tokens to the smart contract and pass additional data within one transaction. * @param from - the account to approve withdrawal from, which signed all below parameters * @param spender - the account allowed to withdraw tokens from `from` address (in this case, smart contract only) * @param value - the value in tokens to approve to withdraw * @param extraData - additional data to pass to the `spender` smart contract * @param fee - a fee to pay to `feeRecipient` * @param feeRecipient - account which will receive fee * @param deadline - until when the signature is valid * @param sigId - signature unique ID. Signatures made with the same signature ID cannot be submitted twice * @param sig - signature made by `from`, which is the proof of `from`'s agreement with the above parameters * @param sigStd - chosen standard for signature validation. The signer must explicitly tell which standard they use */ function approveAndCallViaSignature ( address from, address spender, uint256 value, bytes extraData, uint256 fee, address feeRecipient, uint256 deadline, uint256 sigId, bytes sig, sigStandard sigStd ) external returns (bool) { requireSignature( keccak256(address(this), from, spender, value, extraData, fee, feeRecipient, deadline, sigId), from, deadline, sigId, sig, sigStd, sigDestination.approveAndCall ); allowance[from][spender] = value; emit Approval(from, spender, value); tokenRecipient(spender).receiveApproval(from, value, this, extraData); internalTransfer(from, feeRecipient, fee); return true; } /** * `tokenDistributor` is authorized to distribute tokens to the parties who participated in the token sale by the * time the `lastMint` function is triggered, which closes the ability to mint any new tokens forever. * Once the token distribution event ends (lastMint is triggered), tokenDistributor will become 0x0 and multiMint * function will never work again. * @param recipients - addresses of token recipients * @param amounts - corresponding amount of each token recipient in `recipients` */ function multiMint (address[] recipients, uint256[] amounts) external tokenDistributionPeriodOnly { require(recipients.length == amounts.length); uint total = 0; for (uint i = 0; i < recipients.length; ++i) { balanceOf[recipients[i]] = balanceOf[recipients[i]].add(amounts[i]); total = total.add(amounts[i]); emit Transfer(0x0, recipients[i], amounts[i]); } totalSupply = totalSupply.add(total); } /** * The last mint that will ever happen. Disables the multiMint function and mints remaining 40% of tokens (in * regard of 60% tokens minted before) to a `tokenDistributor` address. */ function lastMint () external tokenDistributionPeriodOnly { require(totalSupply > 0); uint256 remaining = totalSupply.mul(40).div(60); // Portion of tokens for DreamTeam (40%) // To make the total supply rounded (no fractional part), subtract the fractional part from DreamTeam's balance uint256 fractionalPart = remaining.add(totalSupply) % (uint256(10) ** decimals); remaining = remaining.sub(fractionalPart); // Remove the fractional part to round the totalSupply balanceOf[tokenDistributor] = balanceOf[tokenDistributor].add(remaining); emit Transfer(0x0, tokenDistributor, remaining); totalSupply = totalSupply.add(remaining); tokenDistributor = 0x0; // Disable multiMint and lastMint functions forever } /** * ERC20 tokens are not designed to hold any other tokens (or Ether) on their balances. There were thousands * of cases when people accidentally transfer tokens to a contract address while there is no way to get them * back. This function adds a possibility to "rescue" tokens that were accidentally sent to this smart contract. * @param tokenContract - ERC20-compatible token * @param value - amount to rescue */ function rescueLostTokens (ERC20CompatibleToken tokenContract, uint256 value) external rescueAccountOnly { tokenContract.transfer(rescueAccount, value); } /** * Utility function that allows to change the rescueAccount address, which can "rescue" tokens accidentally sent to * this smart contract address. * @param newRescueAccount - account which will become authorized to rescue tokens */ function changeRescueAccount (address newRescueAccount) external rescueAccountOnly { rescueAccount = newRescueAccount; } }
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":"","type":"address"},{"name":"","type":"uint256"}],"name":"usedSigIds","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokenDistributor","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":false,"inputs":[{"name":"recipients","type":"address[]"},{"name":"amounts","type":"uint256[]"}],"name":"multiMint","outputs":[],"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":"newRescueAccount","type":"address"}],"name":"changeRescueAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"signer","type":"address"},{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"fee","type":"uint256"},{"name":"feeRecipient","type":"address"},{"name":"deadline","type":"uint256"},{"name":"sigId","type":"uint256"},{"name":"sig","type":"bytes"},{"name":"sigStd","type":"uint8"}],"name":"transferFromViaSignature","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"fee","type":"uint256"},{"name":"feeRecipient","type":"address"},{"name":"deadline","type":"uint256"},{"name":"sigId","type":"uint256"},{"name":"sig","type":"bytes"},{"name":"sigStd","type":"uint8"}],"name":"transferViaSignature","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sigDestinationApprove","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"lastMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ethSignedMessagePrefix","outputs":[{"name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sigDestinationTransfer","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenContract","type":"address"},{"name":"value","type":"uint256"}],"name":"rescueLostTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"spender","type":"address"},{"name":"value","type":"uint256"},{"name":"extraData","type":"bytes"},{"name":"fee","type":"uint256"},{"name":"feeRecipient","type":"address"},{"name":"deadline","type":"uint256"},{"name":"sigId","type":"uint256"},{"name":"sig","type":"bytes"},{"name":"sigStd","type":"uint8"}],"name":"approveAndCallViaSignature","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":"sigDestinationTransferFrom","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rescueAccount","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"},{"name":"extraData","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"spender","type":"address"},{"name":"value","type":"uint256"},{"name":"fee","type":"uint256"},{"name":"feeRecipient","type":"address"},{"name":"deadline","type":"uint256"},{"name":"sigId","type":"uint256"},{"name":"sig","type":"bytes"},{"name":"sigStd","type":"uint8"}],"name":"approveViaSignature","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sigDestinationApproveAndCall","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60806040526002805460ff191660061790553480156200001e57600080fd5b5060405162002bc338038062002bc38339810160405280516020808301519183018051909392909201916200005a91600091908501906200009b565b508051620000709060019060208401906200009b565b50506007805433600160a060020a031991821681179092556008805490911690911790555062000140565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620000de57805160ff19168380011785556200010e565b828001600101855582156200010e579182015b828111156200010e578251825591602001919060010190620000f1565b506200011c92915062000120565b5090565b6200013d91905b808211156200011c576000815560010162000127565b90565b612a7380620001506000396000f3006080604052600436106101535763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610158578063095ea7b3146101e257806316f1d1191461021a57806318160ddd1461023e57806318a6bc321461026557806323b872dd146102965780632f81bc71146102c0578063313ce567146102ee5780633a6937591461031957806343a07f2b1461033a57806343c086631461039257806344bb60cf146103e4578063586fc5b5146103f95780635f647d5a1461040e57806370a082311461042357806381d960051461044457806383beeedb1461045957806395d89b411461047d5780639c986bb114610492578063a9059cbb146104ef578063bc39d42f14610513578063c1c0e04614610528578063cae9ca511461053d578063d7841c04146105a6578063dd62ed3e146105f8578063e797496b1461061f575b600080fd5b34801561016457600080fd5b5061016d610634565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101a757818101518382015260200161018f565b50505050905090810190601f1680156101d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101ee57600080fd5b50610206600160a060020a03600435166024356106c2565b604080519115158252519081900360200190f35b34801561022657600080fd5b50610206600160a060020a0360043516602435610729565b34801561024a57600080fd5b50610253610749565b60408051918252519081900360200190f35b34801561027157600080fd5b5061027a61074f565b60408051600160a060020a039092168252519081900360200190f35b3480156102a257600080fd5b50610206600160a060020a036004358116906024351660443561075e565b3480156102cc57600080fd5b506102ec60246004803582810192908201359181359182019101356107cb565b005b3480156102fa57600080fd5b50610303610949565b6040805160ff9092168252519081900360200190f35b34801561032557600080fd5b506102ec600160a060020a0360043516610952565b34801561034657600080fd5b5061020660048035600160a060020a039081169160248035831692604435811692606435926084359260a435169160c4359160e43591610104359182019101356101243560ff16610998565b34801561039e57600080fd5b50610206600160a060020a03600480358216916024803582169260443592606435926084359091169160a4359160c4359160e43591820191013560ff6101043516610b13565b3480156103f057600080fd5b50610253610bd4565b34801561040557600080fd5b506102ec610d02565b34801561041a57600080fd5b5061016d610e3f565b34801561042f57600080fd5b50610253600160a060020a0360043516610e64565b34801561045057600080fd5b50610253610e76565b34801561046557600080fd5b506102ec600160a060020a0360043516602435610fa7565b34801561048957600080fd5b5061016d61105d565b34801561049e57600080fd5b50610206600160a060020a036004803582169160248035821692604435926064358084019390830135926084359260a435169160c4359160e435916101043590810191013560ff61012435166110b7565b3480156104fb57600080fd5b50610206600160a060020a0360043516602435611361565b34801561051f57600080fd5b50610253611377565b34801561053457600080fd5b5061027a6114f6565b34801561054957600080fd5b50604080516020600460443581810135601f8101849004840285018401909552848452610206948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506115059650505050505050565b3480156105b257600080fd5b50610206600160a060020a03600480358216916024803582169260443592606435926084359091169160a4359160c4359160e43591820191013560ff6101043516611616565b34801561060457600080fd5b50610253600160a060020a0360043581169060243516611721565b34801561062b57600080fd5b5061025361173e565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ba5780601f1061068f576101008083540402835291602001916106ba565b820191906000526020600020905b81548152906001019060200180831161069d57829003601f168201915b505050505081565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600660209081526000928352604080842090915290825290205460ff1681565b60035481565b600754600160a060020a031681565b600160a060020a0383166000908152600560209081526040808320338452909152812054610792908363ffffffff61189216565b600160a060020a03851660009081526005602090815260408083203384529091529020556107c18484846118a7565b5060019392505050565b6007546000908190600160a060020a031633146107e757600080fd5b8483146107f357600080fd5b5060009050805b8481101561092b5761086984848381811061081157fe5b9050602002013560046000898986818110151561082a57fe5b90506020020135600160a060020a0316600160a060020a0316600160a060020a031681526020019081526020016000205461196490919063ffffffff16565b6004600088888581811061087957fe5b60209081029290920135600160a060020a0316835250810191909152604001600020556108c18484838181106108ab57fe5b905060200201358361196490919063ffffffff16565b91508585828181106108cf57fe5b90506020020135600160a060020a0316600160a060020a031660006000805160206129c8833981519152868685818110151561090757fe5b905060200201356040518082815260200191505060405180910390a36001016107fa565b60035461093e908363ffffffff61196416565b600355505050505050565b60025460ff1681565b600854600160a060020a0316331461096957600080fd5b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b604080516c010000000000000000000000003081028252600160a060020a03808e1682026014840152808d1682026028840152603c83018c9052605c83018b9052891602607c8201526090810187905260b0810186905281519081900360d00181206020601f8601819004810283018101909352848252600092610a3b928f918a918a918a908a9081908401838280828437820191505050505050876003611974565b610a9689600560008e600160a060020a0316600160a060020a0316815260200190815260200160002060008f600160a060020a0316600160a060020a031681526020019081526020016000205461189290919063ffffffff16565b600560008d600160a060020a0316600160a060020a0316815260200190815260200160002060008e600160a060020a0316600160a060020a0316815260200190815260200160002081905550610b018b8b610afa8b8d61189290919063ffffffff16565b8a8c612554565b5060019b9a5050505050505050505050565b604080516c010000000000000000000000003081028252600160a060020a03808e1682026014840152808d1682026028840152603c83018c9052605c83018b9052891602607c8201526090810187905260b0810186905281519081900360d00181206020601f8601819004810283018101909352848252600092610bb6928e918a918a918a908a9081908401838280828437820191505050505050876000611974565b610bc38b8b8b8a8c612554565b5060019a9950505050505050505050565b604080516000805160206129288339815191528152600080516020612a28833981519152601e82015260e860020a6265737302603e820152600080516020612948833981519152604182015260e060020a63726573730260618201526000805160206128e883398151915260658201526000805160206128a883398151915260858201526000805160206128c8833981519152609e82015260008051602061296883398151915260be82015260d860020a646d616c73290260de82015260008051602061298883398151915260e382015260f060020a616565026101038201526000805160206129e8833981519152610105820152600080516020612a0883398151915261012582015260008051602061290883398151915261013c82015290519081900361015001902081565b6007546000908190600160a060020a03163314610d1e57600080fd5b600354600010610d2d57600080fd5b610d54603c610d4860286003546126b090919063ffffffff16565b9063ffffffff6126dc16565b60025460035491935060ff16600a0a90610d7590849063ffffffff61196416565b811515610d7e57fe5b069050610d91828263ffffffff61189216565b600754600160a060020a0316600090815260046020526040902054909250610dbf908363ffffffff61196416565b60078054600160a060020a0390811660009081526004602090815260408083209590955592548451878152945192169390926000805160206129c883398151915292918290030190a3600354610e1b908363ffffffff61196416565b60035550506007805473ffffffffffffffffffffffffffffffffffffffff19169055565b60408051808201909152601a81526000805160206129a8833981519152602082015281565b60046020526000908152604090205481565b6040805160008051602061292883398151915281527f616464726573732053656e646572277320416464726573730000000000000000601e8201527f6164647265737320526563697069656e7427732041646472657373000000000060368201526000805160206128e883398151915260518201526000805160206128a883398151915260718201526000805160206128c8833981519152608a82015260008051602061296883398151915260aa82015260d860020a646d616c73290260ca82015260008051602061298883398151915260cf82015260f060020a6165650260ef8201526000805160206129e883398151915260f1820152600080516020612a0883398151915261011182015260008051602061290883398151915261012882015290519081900361013c01902081565b600854600160a060020a03163314610fbe57600080fd5b600854604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519184169163a9059cbb916044808201926020929091908290030181600087803b15801561102d57600080fd5b505af1158015611041573d6000803e3d6000fd5b505050506040513d602081101561105757600080fd5b50505050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ba5780601f1061068f576101008083540402835291602001916106ba565b60006111db308e8e8e8e8e8e8e8e8e604051808b600160a060020a0316600160a060020a03166c010000000000000000000000000281526014018a600160a060020a0316600160a060020a03166c0100000000000000000000000002815260140189600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401888152602001878780828437820191505085815260200184600160a060020a0316600160a060020a03166c010000000000000000000000000281526014018381526020018281526020019a505050505050505050505060405180910390208e888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050876002611974565b8a600560008f600160a060020a0316600160a060020a0316815260200190815260200160002060008e600160a060020a0316600160a060020a03168152602001908152602001600020819055508b600160a060020a03168d600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258d6040518082815260200191505060405180910390a38b600160a060020a0316638f4ffcb18e8d308e8e6040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018086600160a060020a0316600160a060020a0316815260200185815260200184600160a060020a0316600160a060020a0316815260200180602001828103825284848281815260200192508082843782019150509650505050505050600060405180830381600087803b15801561132b57600080fd5b505af115801561133f573d6000803e3d6000fd5b5050505061134e8d888a6118a7565b5060019c9b505050505050505050505050565b600061136e3384846118a7565b50600192915050565b6040805160008051602061292883398151915281527f61646472657373204164647265737320417070726f76656420666f7220576974601e8201527f6864726177000000000000000000000000000000000000000000000000000000603e8201527f61646472657373204163636f756e7420746f2057697468647261772046726f6d6043820152600080516020612948833981519152606382015260e060020a63726573730260838201526000805160206128e883398151915260878201526000805160206128a883398151915260a78201526000805160206128c883398151915260c082015260008051602061296883398151915260e082015260d860020a646d616c73290261010082015260008051602061298883398151915261010582015260f060020a616565026101258201526000805160206129e8833981519152610127820152600080516020612a0883398151915261014782015260008051602061290883398151915261015e82015290519081900361017201902081565b600854600160a060020a031681565b600061151184846106c2565b506040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156115a557818101518382015260200161158d565b50505050905090810190601f1680156115d25780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156115f457600080fd5b505af1158015611608573d6000803e3d6000fd5b506001979650505050505050565b604080516c010000000000000000000000003081028252600160a060020a03808e1682026014840152808d1682026028840152603c83018c9052605c83018b9052891602607c8201526090810187905260b0810186905281519081900360d00181206020601f86018190048102830181019093528482526000926116b9928e918a918a918a908a9081908401838280828437820191505050505050876001611974565b600160a060020a03808c166000818152600560209081526040808320948f16808452948252918290208d905581518d815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3610bc38b888a6118a7565b600560209081526000928352604080842090915290825290205481565b604080516000805160206129288339815191528152600080516020612a28833981519152601e82015260e860020a6265737302603e820152600080516020612948833981519152604182015260e060020a63726573730260618201526000805160206128e883398151915260658201526000805160206128a883398151915260858201527f6279746573204461746120746f205472616e7366657200000000000000000000609e8201526000805160206128c883398151915260b482015260008051602061296883398151915260d482015260d860020a646d616c73290260f482015260008051602061298883398151915260f982015260f060020a616565026101198201526000805160206129e883398151915261011b820152600080516020612a0883398151915261013b82015260008051602061290883398151915261015282015290519081900361016601902081565b6000828211156118a157600080fd5b50900390565b600160a060020a03821615156118bc57600080fd5b600160a060020a0383166000908152600460205260409020546118e5908263ffffffff61189216565b600160a060020a03808516600090815260046020526040808220939093559084168152205461191a908263ffffffff61196416565b600160a060020a0380841660008181526004602090815260409182902094909455805185815290519193928716926000805160206129c883398151915292918290030190a3505050565b8181018281101561072357600080fd5b60208301516040840151606085015160001a601b60ff8216101561199657601b015b8742111580156119ca5750600160a060020a03891660009081526006602090815260408083208a845290915290205460ff16155b15156119d557600080fd5b60008560028111156119e357fe5b1415611ff457600160008560038111156119f957fe5b14611e2d576001856003811115611a0c57fe5b14611cfc576002856003811115611a1f57fe5b14611ba5576040805160008051602061292883398151915281527f61646472657373204164647265737320417070726f76656420666f7220576974601e8201527f6864726177000000000000000000000000000000000000000000000000000000603e8201527f61646472657373204163636f756e7420746f2057697468647261772046726f6d6043820152600080516020612948833981519152606382015260e060020a63726573730260838201526000805160206128e883398151915260878201526000805160206128a883398151915260a78201526000805160206128c883398151915260c082015260008051602061296883398151915260e082015260d860020a646d616c73290261010082015260008051602061298883398151915261010582015260f060020a616565026101258201526000805160206129e8833981519152610127820152600080516020612a0883398151915261014782015260008051602061290883398151915261015e820152905190819003610172019020611cf7565b604080516000805160206129288339815191528152600080516020612a28833981519152601e82015260e860020a6265737302603e820152600080516020612948833981519152604182015260e060020a63726573730260618201526000805160206128e883398151915260658201526000805160206128a883398151915260858201527f6279746573204461746120746f205472616e7366657200000000000000000000609e8201526000805160206128c883398151915260b482015260008051602061296883398151915260d482015260d860020a646d616c73290260f482015260008051602061298883398151915260f982015260f060020a616565026101198201526000805160206129e883398151915261011b820152600080516020612a0883398151915261013b8201526000805160206129088339815191526101528201529051908190036101660190205b611e28565b604080516000805160206129288339815191528152600080516020612a28833981519152601e82015260e860020a6265737302603e820152600080516020612948833981519152604182015260e060020a63726573730260618201526000805160206128e883398151915260658201526000805160206128a883398151915260858201526000805160206128c8833981519152609e82015260008051602061296883398151915260be82015260d860020a646d616c73290260de82015260008051602061298883398151915260e382015260f060020a616565026101038201526000805160206129e8833981519152610105820152600080516020612a0883398151915261012582015260008051602061290883398151915261013c8201529051908190036101500190205b611f5c565b6040805160008051602061292883398151915281527f616464726573732053656e646572277320416464726573730000000000000000601e8201527f6164647265737320526563697069656e7427732041646472657373000000000060368201526000805160206128e883398151915260518201526000805160206128a883398151915260718201526000805160206128c8833981519152608a82015260008051602061296883398151915260aa82015260d860020a646d616c73290260ca82015260008051602061298883398151915260cf82015260f060020a6165650260ef8201526000805160206129e883398151915260f1820152600080516020612a0883398151915261011182015260008051602061290883398151915261012882015290519081900361013c0190205b6040805191825260208083018e90528151928390038201832060008085528483018085529190915260ff8616848401526060840188905260808401879052915160a0808501949293601f198301938390039091019190865af1158015611fc6573d6000803e3d6000fd5b50505060206040510351600160a060020a031689600160a060020a0316141515611fef57600080fd5b612519565b600185600281111561200257fe5b141561223157604080518082018252601a8082526000805160206129a88339815191526020830190815292516001938e928291908083835b602083106120595780518252601f19909201916020918201910161203a565b51815160001960209485036101000a019081169019919091161790527f3332000000000000000000000000000000000000000000000000000000000000939091019283526002830194909452506040805191829003602201822060008084528386018084529190915260ff881683830152606083018a905260808301899052905160a08084019650601f1982019450928190039092019190865af1158015612105573d6000803e3d6000fd5b50505060206040510351600160a060020a031689600160a060020a031614806122265750604080518082018252601a8082526000805160206129a88339815191526020830190815292516001938e928291908083835b6020831061217a5780518252601f19909201916020918201910161215b565b51815160001960209485036101000a019081169019919091161790527f2000000000000000000000000000000000000000000000000000000000000000939091019283526001830194909452506040805191829003602101822060008084528386018084529190915260ff881683830152606083018a905260808301899052905160a08084019650601f1982019450928190039092019190865af1158015611fc6573d6000803e3d6000fd5b1515611fef57600080fd5b60016040805190810160405280601a81526020016000805160206129a88339815191528152506122608c6126f1565b6040518083805190602001908083835b6020831061228f5780518252601f199092019160209182019101612270565b51815160209384036101000a60001901801990921691161790527f3634000000000000000000000000000000000000000000000000000000000000919093019081528451600290910192850191508083835b602083106123005780518252601f1990920191602091820191016122e1565b51815160209384036101000a60001901801990921691161790526040805192909401829003822060008084528383018087529190915260ff8a1683860152606083018c9052608083018b9052935160a08084019850919650601f1981019550918290030192909150865af115801561237c573d6000803e3d6000fd5b50505060206040510351600160a060020a031689600160a060020a0316148061250e575060016040805190810160405280601a81526020016000805160206129a88339815191528152506123cf8c6126f1565b6040518083805190602001908083835b602083106123fe5780518252601f1990920191602091820191016123df565b6001836020036101000a038019825116818451168082178552505050505050905001807f400000000000000000000000000000000000000000000000000000000000000081525060010182805190602001908083835b602083106124735780518252601f199092019160209182019101612454565b51815160209384036101000a60001901801990921691161790526040805192909401829003822060008084528383018087529190915260ff8a1683860152606083018c9052608083018b9052935160a08084019850919650601f1981019550918290030192909150865af11580156124ef573d6000803e3d6000fd5b50505060206040510351600160a060020a031689600160a060020a0316145b151561251957600080fd5b505050600160a060020a03909516600090815260066020908152604080832095835294905292909220805460ff191660011790555050505050565b600160a060020a038416158015906125745750600160a060020a03821615155b151561257f57600080fd5b6125b7612592848363ffffffff61196416565b600160a060020a0387166000908152600460205260409020549063ffffffff61189216565b600160a060020a0380871660009081526004602052604080822093909355908616815220546125ec908463ffffffff61196416565b600160a060020a0380861660008181526004602090815260409182902094909455805187815290519193928916926000805160206129c883398151915292918290030190a360008111156126a957600160a060020a038216600090815260046020526040902054612663908263ffffffff61196416565b600160a060020a0380841660008181526004602090815260409182902094909455805185815290519193928916926000805160206129c883398151915292918290030190a35b5050505050565b60008215156126c157506000610723565b508181028183828115156126d157fe5b041461072357600080fd5b600081838115156126e957fe5b049392505050565b60408051818152606080820183529182916000916020820161080080388339019050509150600090505b60208160ff1610156128a05760108460ff83166020811061273857fe5b1a60f860020a0260f860020a900460ff1681151561275257fe5b04600a60108660ff85166020811061276657fe5b1a60f860020a0260f860020a900460ff1681151561278057fe5b0460ff1610612790576057612793565b60305b0160f860020a02828260020260ff168151811015156127ae57fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108460ff8316602081106127ef57fe5b1a60f860020a0260f860020a900460ff1681151561280957fe5b06600a60108660ff85166020811061281d57fe5b1a60f860020a0260f860020a900460ff1681151561283757fe5b0660ff161061284757605761284a565b60305b0160f860020a02828260020260010160ff1681518110151561286857fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060010161271b565b5092915050560020736978206469676974732061726520646563696d616c73290000000000000075696e743235362046656520696e20546f6b656e73205061696420746f20457875696e7432353620416d6f756e7420746f205472616e7366657220286c61737475696e74323536205369676e61747572652049440000000000000000000000006164647265737320546f6b656e20436f6e74726163742041646472657373000061646472657373205769746864726177616c20526563697069656e7420416464656375746f7220286c617374207369782064696769747320617265206465636961646472657373204163636f756e74207768696368205265636569766573204619457468657265756d205369676e6564204d6573736167653a0a000000000000ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef75696e74323536205369676e61747572652045787069726174696f6e2054696d657374616d702028756e69782074696d657374616d702900000000000000000061646472657373205769746864726177616c20417070726f76616c2041646472a165627a7a723058209fb49d6818e0b2a9dd014272c32bd80a47784dc8279720703250cc6e20590506002900000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f447265616d5465616d20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005445245414d000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101535763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610158578063095ea7b3146101e257806316f1d1191461021a57806318160ddd1461023e57806318a6bc321461026557806323b872dd146102965780632f81bc71146102c0578063313ce567146102ee5780633a6937591461031957806343a07f2b1461033a57806343c086631461039257806344bb60cf146103e4578063586fc5b5146103f95780635f647d5a1461040e57806370a082311461042357806381d960051461044457806383beeedb1461045957806395d89b411461047d5780639c986bb114610492578063a9059cbb146104ef578063bc39d42f14610513578063c1c0e04614610528578063cae9ca511461053d578063d7841c04146105a6578063dd62ed3e146105f8578063e797496b1461061f575b600080fd5b34801561016457600080fd5b5061016d610634565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101a757818101518382015260200161018f565b50505050905090810190601f1680156101d45780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156101ee57600080fd5b50610206600160a060020a03600435166024356106c2565b604080519115158252519081900360200190f35b34801561022657600080fd5b50610206600160a060020a0360043516602435610729565b34801561024a57600080fd5b50610253610749565b60408051918252519081900360200190f35b34801561027157600080fd5b5061027a61074f565b60408051600160a060020a039092168252519081900360200190f35b3480156102a257600080fd5b50610206600160a060020a036004358116906024351660443561075e565b3480156102cc57600080fd5b506102ec60246004803582810192908201359181359182019101356107cb565b005b3480156102fa57600080fd5b50610303610949565b6040805160ff9092168252519081900360200190f35b34801561032557600080fd5b506102ec600160a060020a0360043516610952565b34801561034657600080fd5b5061020660048035600160a060020a039081169160248035831692604435811692606435926084359260a435169160c4359160e43591610104359182019101356101243560ff16610998565b34801561039e57600080fd5b50610206600160a060020a03600480358216916024803582169260443592606435926084359091169160a4359160c4359160e43591820191013560ff6101043516610b13565b3480156103f057600080fd5b50610253610bd4565b34801561040557600080fd5b506102ec610d02565b34801561041a57600080fd5b5061016d610e3f565b34801561042f57600080fd5b50610253600160a060020a0360043516610e64565b34801561045057600080fd5b50610253610e76565b34801561046557600080fd5b506102ec600160a060020a0360043516602435610fa7565b34801561048957600080fd5b5061016d61105d565b34801561049e57600080fd5b50610206600160a060020a036004803582169160248035821692604435926064358084019390830135926084359260a435169160c4359160e435916101043590810191013560ff61012435166110b7565b3480156104fb57600080fd5b50610206600160a060020a0360043516602435611361565b34801561051f57600080fd5b50610253611377565b34801561053457600080fd5b5061027a6114f6565b34801561054957600080fd5b50604080516020600460443581810135601f8101849004840285018401909552848452610206948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506115059650505050505050565b3480156105b257600080fd5b50610206600160a060020a03600480358216916024803582169260443592606435926084359091169160a4359160c4359160e43591820191013560ff6101043516611616565b34801561060457600080fd5b50610253600160a060020a0360043581169060243516611721565b34801561062b57600080fd5b5061025361173e565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ba5780601f1061068f576101008083540402835291602001916106ba565b820191906000526020600020905b81548152906001019060200180831161069d57829003601f168201915b505050505081565b336000818152600560209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600660209081526000928352604080842090915290825290205460ff1681565b60035481565b600754600160a060020a031681565b600160a060020a0383166000908152600560209081526040808320338452909152812054610792908363ffffffff61189216565b600160a060020a03851660009081526005602090815260408083203384529091529020556107c18484846118a7565b5060019392505050565b6007546000908190600160a060020a031633146107e757600080fd5b8483146107f357600080fd5b5060009050805b8481101561092b5761086984848381811061081157fe5b9050602002013560046000898986818110151561082a57fe5b90506020020135600160a060020a0316600160a060020a0316600160a060020a031681526020019081526020016000205461196490919063ffffffff16565b6004600088888581811061087957fe5b60209081029290920135600160a060020a0316835250810191909152604001600020556108c18484838181106108ab57fe5b905060200201358361196490919063ffffffff16565b91508585828181106108cf57fe5b90506020020135600160a060020a0316600160a060020a031660006000805160206129c8833981519152868685818110151561090757fe5b905060200201356040518082815260200191505060405180910390a36001016107fa565b60035461093e908363ffffffff61196416565b600355505050505050565b60025460ff1681565b600854600160a060020a0316331461096957600080fd5b6008805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b604080516c010000000000000000000000003081028252600160a060020a03808e1682026014840152808d1682026028840152603c83018c9052605c83018b9052891602607c8201526090810187905260b0810186905281519081900360d00181206020601f8601819004810283018101909352848252600092610a3b928f918a918a918a908a9081908401838280828437820191505050505050876003611974565b610a9689600560008e600160a060020a0316600160a060020a0316815260200190815260200160002060008f600160a060020a0316600160a060020a031681526020019081526020016000205461189290919063ffffffff16565b600560008d600160a060020a0316600160a060020a0316815260200190815260200160002060008e600160a060020a0316600160a060020a0316815260200190815260200160002081905550610b018b8b610afa8b8d61189290919063ffffffff16565b8a8c612554565b5060019b9a5050505050505050505050565b604080516c010000000000000000000000003081028252600160a060020a03808e1682026014840152808d1682026028840152603c83018c9052605c83018b9052891602607c8201526090810187905260b0810186905281519081900360d00181206020601f8601819004810283018101909352848252600092610bb6928e918a918a918a908a9081908401838280828437820191505050505050876000611974565b610bc38b8b8b8a8c612554565b5060019a9950505050505050505050565b604080516000805160206129288339815191528152600080516020612a28833981519152601e82015260e860020a6265737302603e820152600080516020612948833981519152604182015260e060020a63726573730260618201526000805160206128e883398151915260658201526000805160206128a883398151915260858201526000805160206128c8833981519152609e82015260008051602061296883398151915260be82015260d860020a646d616c73290260de82015260008051602061298883398151915260e382015260f060020a616565026101038201526000805160206129e8833981519152610105820152600080516020612a0883398151915261012582015260008051602061290883398151915261013c82015290519081900361015001902081565b6007546000908190600160a060020a03163314610d1e57600080fd5b600354600010610d2d57600080fd5b610d54603c610d4860286003546126b090919063ffffffff16565b9063ffffffff6126dc16565b60025460035491935060ff16600a0a90610d7590849063ffffffff61196416565b811515610d7e57fe5b069050610d91828263ffffffff61189216565b600754600160a060020a0316600090815260046020526040902054909250610dbf908363ffffffff61196416565b60078054600160a060020a0390811660009081526004602090815260408083209590955592548451878152945192169390926000805160206129c883398151915292918290030190a3600354610e1b908363ffffffff61196416565b60035550506007805473ffffffffffffffffffffffffffffffffffffffff19169055565b60408051808201909152601a81526000805160206129a8833981519152602082015281565b60046020526000908152604090205481565b6040805160008051602061292883398151915281527f616464726573732053656e646572277320416464726573730000000000000000601e8201527f6164647265737320526563697069656e7427732041646472657373000000000060368201526000805160206128e883398151915260518201526000805160206128a883398151915260718201526000805160206128c8833981519152608a82015260008051602061296883398151915260aa82015260d860020a646d616c73290260ca82015260008051602061298883398151915260cf82015260f060020a6165650260ef8201526000805160206129e883398151915260f1820152600080516020612a0883398151915261011182015260008051602061290883398151915261012882015290519081900361013c01902081565b600854600160a060020a03163314610fbe57600080fd5b600854604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0392831660048201526024810184905290519184169163a9059cbb916044808201926020929091908290030181600087803b15801561102d57600080fd5b505af1158015611041573d6000803e3d6000fd5b505050506040513d602081101561105757600080fd5b50505050565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ba5780601f1061068f576101008083540402835291602001916106ba565b60006111db308e8e8e8e8e8e8e8e8e604051808b600160a060020a0316600160a060020a03166c010000000000000000000000000281526014018a600160a060020a0316600160a060020a03166c0100000000000000000000000002815260140189600160a060020a0316600160a060020a03166c01000000000000000000000000028152601401888152602001878780828437820191505085815260200184600160a060020a0316600160a060020a03166c010000000000000000000000000281526014018381526020018281526020019a505050505050505050505060405180910390208e888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050876002611974565b8a600560008f600160a060020a0316600160a060020a0316815260200190815260200160002060008e600160a060020a0316600160a060020a03168152602001908152602001600020819055508b600160a060020a03168d600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258d6040518082815260200191505060405180910390a38b600160a060020a0316638f4ffcb18e8d308e8e6040518663ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018086600160a060020a0316600160a060020a0316815260200185815260200184600160a060020a0316600160a060020a0316815260200180602001828103825284848281815260200192508082843782019150509650505050505050600060405180830381600087803b15801561132b57600080fd5b505af115801561133f573d6000803e3d6000fd5b5050505061134e8d888a6118a7565b5060019c9b505050505050505050505050565b600061136e3384846118a7565b50600192915050565b6040805160008051602061292883398151915281527f61646472657373204164647265737320417070726f76656420666f7220576974601e8201527f6864726177000000000000000000000000000000000000000000000000000000603e8201527f61646472657373204163636f756e7420746f2057697468647261772046726f6d6043820152600080516020612948833981519152606382015260e060020a63726573730260838201526000805160206128e883398151915260878201526000805160206128a883398151915260a78201526000805160206128c883398151915260c082015260008051602061296883398151915260e082015260d860020a646d616c73290261010082015260008051602061298883398151915261010582015260f060020a616565026101258201526000805160206129e8833981519152610127820152600080516020612a0883398151915261014782015260008051602061290883398151915261015e82015290519081900361017201902081565b600854600160a060020a031681565b600061151184846106c2565b506040517f8f4ffcb10000000000000000000000000000000000000000000000000000000081523360048201818152602483018690523060448401819052608060648501908152865160848601528651600160a060020a038a1695638f4ffcb195948a94938a939192909160a490910190602085019080838360005b838110156115a557818101518382015260200161158d565b50505050905090810190601f1680156115d25780820380516001836020036101000a031916815260200191505b5095505050505050600060405180830381600087803b1580156115f457600080fd5b505af1158015611608573d6000803e3d6000fd5b506001979650505050505050565b604080516c010000000000000000000000003081028252600160a060020a03808e1682026014840152808d1682026028840152603c83018c9052605c83018b9052891602607c8201526090810187905260b0810186905281519081900360d00181206020601f86018190048102830181019093528482526000926116b9928e918a918a918a908a9081908401838280828437820191505050505050876001611974565b600160a060020a03808c166000818152600560209081526040808320948f16808452948252918290208d905581518d815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3610bc38b888a6118a7565b600560209081526000928352604080842090915290825290205481565b604080516000805160206129288339815191528152600080516020612a28833981519152601e82015260e860020a6265737302603e820152600080516020612948833981519152604182015260e060020a63726573730260618201526000805160206128e883398151915260658201526000805160206128a883398151915260858201527f6279746573204461746120746f205472616e7366657200000000000000000000609e8201526000805160206128c883398151915260b482015260008051602061296883398151915260d482015260d860020a646d616c73290260f482015260008051602061298883398151915260f982015260f060020a616565026101198201526000805160206129e883398151915261011b820152600080516020612a0883398151915261013b82015260008051602061290883398151915261015282015290519081900361016601902081565b6000828211156118a157600080fd5b50900390565b600160a060020a03821615156118bc57600080fd5b600160a060020a0383166000908152600460205260409020546118e5908263ffffffff61189216565b600160a060020a03808516600090815260046020526040808220939093559084168152205461191a908263ffffffff61196416565b600160a060020a0380841660008181526004602090815260409182902094909455805185815290519193928716926000805160206129c883398151915292918290030190a3505050565b8181018281101561072357600080fd5b60208301516040840151606085015160001a601b60ff8216101561199657601b015b8742111580156119ca5750600160a060020a03891660009081526006602090815260408083208a845290915290205460ff16155b15156119d557600080fd5b60008560028111156119e357fe5b1415611ff457600160008560038111156119f957fe5b14611e2d576001856003811115611a0c57fe5b14611cfc576002856003811115611a1f57fe5b14611ba5576040805160008051602061292883398151915281527f61646472657373204164647265737320417070726f76656420666f7220576974601e8201527f6864726177000000000000000000000000000000000000000000000000000000603e8201527f61646472657373204163636f756e7420746f2057697468647261772046726f6d6043820152600080516020612948833981519152606382015260e060020a63726573730260838201526000805160206128e883398151915260878201526000805160206128a883398151915260a78201526000805160206128c883398151915260c082015260008051602061296883398151915260e082015260d860020a646d616c73290261010082015260008051602061298883398151915261010582015260f060020a616565026101258201526000805160206129e8833981519152610127820152600080516020612a0883398151915261014782015260008051602061290883398151915261015e820152905190819003610172019020611cf7565b604080516000805160206129288339815191528152600080516020612a28833981519152601e82015260e860020a6265737302603e820152600080516020612948833981519152604182015260e060020a63726573730260618201526000805160206128e883398151915260658201526000805160206128a883398151915260858201527f6279746573204461746120746f205472616e7366657200000000000000000000609e8201526000805160206128c883398151915260b482015260008051602061296883398151915260d482015260d860020a646d616c73290260f482015260008051602061298883398151915260f982015260f060020a616565026101198201526000805160206129e883398151915261011b820152600080516020612a0883398151915261013b8201526000805160206129088339815191526101528201529051908190036101660190205b611e28565b604080516000805160206129288339815191528152600080516020612a28833981519152601e82015260e860020a6265737302603e820152600080516020612948833981519152604182015260e060020a63726573730260618201526000805160206128e883398151915260658201526000805160206128a883398151915260858201526000805160206128c8833981519152609e82015260008051602061296883398151915260be82015260d860020a646d616c73290260de82015260008051602061298883398151915260e382015260f060020a616565026101038201526000805160206129e8833981519152610105820152600080516020612a0883398151915261012582015260008051602061290883398151915261013c8201529051908190036101500190205b611f5c565b6040805160008051602061292883398151915281527f616464726573732053656e646572277320416464726573730000000000000000601e8201527f6164647265737320526563697069656e7427732041646472657373000000000060368201526000805160206128e883398151915260518201526000805160206128a883398151915260718201526000805160206128c8833981519152608a82015260008051602061296883398151915260aa82015260d860020a646d616c73290260ca82015260008051602061298883398151915260cf82015260f060020a6165650260ef8201526000805160206129e883398151915260f1820152600080516020612a0883398151915261011182015260008051602061290883398151915261012882015290519081900361013c0190205b6040805191825260208083018e90528151928390038201832060008085528483018085529190915260ff8616848401526060840188905260808401879052915160a0808501949293601f198301938390039091019190865af1158015611fc6573d6000803e3d6000fd5b50505060206040510351600160a060020a031689600160a060020a0316141515611fef57600080fd5b612519565b600185600281111561200257fe5b141561223157604080518082018252601a8082526000805160206129a88339815191526020830190815292516001938e928291908083835b602083106120595780518252601f19909201916020918201910161203a565b51815160001960209485036101000a019081169019919091161790527f3332000000000000000000000000000000000000000000000000000000000000939091019283526002830194909452506040805191829003602201822060008084528386018084529190915260ff881683830152606083018a905260808301899052905160a08084019650601f1982019450928190039092019190865af1158015612105573d6000803e3d6000fd5b50505060206040510351600160a060020a031689600160a060020a031614806122265750604080518082018252601a8082526000805160206129a88339815191526020830190815292516001938e928291908083835b6020831061217a5780518252601f19909201916020918201910161215b565b51815160001960209485036101000a019081169019919091161790527f2000000000000000000000000000000000000000000000000000000000000000939091019283526001830194909452506040805191829003602101822060008084528386018084529190915260ff881683830152606083018a905260808301899052905160a08084019650601f1982019450928190039092019190865af1158015611fc6573d6000803e3d6000fd5b1515611fef57600080fd5b60016040805190810160405280601a81526020016000805160206129a88339815191528152506122608c6126f1565b6040518083805190602001908083835b6020831061228f5780518252601f199092019160209182019101612270565b51815160209384036101000a60001901801990921691161790527f3634000000000000000000000000000000000000000000000000000000000000919093019081528451600290910192850191508083835b602083106123005780518252601f1990920191602091820191016122e1565b51815160209384036101000a60001901801990921691161790526040805192909401829003822060008084528383018087529190915260ff8a1683860152606083018c9052608083018b9052935160a08084019850919650601f1981019550918290030192909150865af115801561237c573d6000803e3d6000fd5b50505060206040510351600160a060020a031689600160a060020a0316148061250e575060016040805190810160405280601a81526020016000805160206129a88339815191528152506123cf8c6126f1565b6040518083805190602001908083835b602083106123fe5780518252601f1990920191602091820191016123df565b6001836020036101000a038019825116818451168082178552505050505050905001807f400000000000000000000000000000000000000000000000000000000000000081525060010182805190602001908083835b602083106124735780518252601f199092019160209182019101612454565b51815160209384036101000a60001901801990921691161790526040805192909401829003822060008084528383018087529190915260ff8a1683860152606083018c9052608083018b9052935160a08084019850919650601f1981019550918290030192909150865af11580156124ef573d6000803e3d6000fd5b50505060206040510351600160a060020a031689600160a060020a0316145b151561251957600080fd5b505050600160a060020a03909516600090815260066020908152604080832095835294905292909220805460ff191660011790555050505050565b600160a060020a038416158015906125745750600160a060020a03821615155b151561257f57600080fd5b6125b7612592848363ffffffff61196416565b600160a060020a0387166000908152600460205260409020549063ffffffff61189216565b600160a060020a0380871660009081526004602052604080822093909355908616815220546125ec908463ffffffff61196416565b600160a060020a0380861660008181526004602090815260409182902094909455805187815290519193928916926000805160206129c883398151915292918290030190a360008111156126a957600160a060020a038216600090815260046020526040902054612663908263ffffffff61196416565b600160a060020a0380841660008181526004602090815260409182902094909455805185815290519193928916926000805160206129c883398151915292918290030190a35b5050505050565b60008215156126c157506000610723565b508181028183828115156126d157fe5b041461072357600080fd5b600081838115156126e957fe5b049392505050565b60408051818152606080820183529182916000916020820161080080388339019050509150600090505b60208160ff1610156128a05760108460ff83166020811061273857fe5b1a60f860020a0260f860020a900460ff1681151561275257fe5b04600a60108660ff85166020811061276657fe5b1a60f860020a0260f860020a900460ff1681151561278057fe5b0460ff1610612790576057612793565b60305b0160f860020a02828260020260ff168151811015156127ae57fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060108460ff8316602081106127ef57fe5b1a60f860020a0260f860020a900460ff1681151561280957fe5b06600a60108660ff85166020811061281d57fe5b1a60f860020a0260f860020a900460ff1681151561283757fe5b0660ff161061284757605761284a565b60305b0160f860020a02828260020260010160ff1681518110151561286857fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060010161271b565b5092915050560020736978206469676974732061726520646563696d616c73290000000000000075696e743235362046656520696e20546f6b656e73205061696420746f20457875696e7432353620416d6f756e7420746f205472616e7366657220286c61737475696e74323536205369676e61747572652049440000000000000000000000006164647265737320546f6b656e20436f6e74726163742041646472657373000061646472657373205769746864726177616c20526563697069656e7420416464656375746f7220286c617374207369782064696769747320617265206465636961646472657373204163636f756e74207768696368205265636569766573204619457468657265756d205369676e6564204d6573736167653a0a000000000000ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef75696e74323536205369676e61747572652045787069726174696f6e2054696d657374616d702028756e69782074696d657374616d702900000000000000000061646472657373205769746864726177616c20417070726f76616c2041646472a165627a7a723058209fb49d6818e0b2a9dd014272c32bd80a47784dc8279720703250cc6e205905060029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000f447265616d5465616d20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005445245414d000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : tokenName (string): DreamTeam Token
Arg [1] : tokenSymbol (string): DREAM
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [3] : 447265616d5465616d20546f6b656e0000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 445245414d000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://9fb49d6818e0b2a9dd014272c32bd80a47784dc8279720703250cc6e20590506
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.