Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
4539960 | 2659 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xC0e8748c...79E06f09a The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
SingularDTVFund
Compiler Version
v0.4.15+commit.bbb8e64f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2017-12-04 */ pragma solidity ^0.4.15; /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant 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 c; } function sub(uint256 a, uint256 b) internal constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) onlyOwner public { require(newOwner != address(0)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } contract AbstractPaymentEscrow is Ownable { address public wallet; mapping (uint => uint) public deposits; event Payment(address indexed _customer, uint indexed _projectId, uint value); event Withdraw(address indexed _wallet, uint value); function withdrawFunds() public; /** * @dev Change the wallet * @param _wallet address of the wallet where fees will be transfered when spent */ function changeWallet(address _wallet) public onlyOwner() { wallet = _wallet; } /** * @dev Get the amount deposited for the provided project, returns 0 if there's no deposit for that project or the amount in wei * @param _projectId The id of the project * @return 0 if there's either no deposit for _projectId, otherwise returns the deposited amount in wei */ function getDeposit(uint _projectId) public constant returns (uint) { return deposits[_projectId]; } } contract TokitRegistry is Ownable { struct ProjectContracts { address token; address fund; address campaign; } // registrar => true/false mapping (address => bool) public registrars; // customer => project_id => token/campaign mapping (address => mapping(uint => ProjectContracts)) public registry; // project_id => token/campaign mapping (uint => ProjectContracts) public project_registry; event RegisteredToken(address indexed _projectOwner, uint indexed _projectId, address _token, address _fund); event RegisteredCampaign(address indexed _projectOwner, uint indexed _projectId, address _campaign); modifier onlyRegistrars() { require(registrars[msg.sender]); _; } function TokitRegistry(address _owner) { setRegistrar(_owner, true); transferOwnership(_owner); } function register(address _customer, uint _projectId, address _token, address _fund) onlyRegistrars() { registry[_customer][_projectId].token = _token; registry[_customer][_projectId].fund = _fund; project_registry[_projectId].token = _token; project_registry[_projectId].fund = _fund; RegisteredToken(_customer, _projectId, _token, _fund); } function register(address _customer, uint _projectId, address _campaign) onlyRegistrars() { registry[_customer][_projectId].campaign = _campaign; project_registry[_projectId].campaign = _campaign; RegisteredCampaign(_customer, _projectId, _campaign); } function lookup(address _customer, uint _projectId) constant returns (address token, address fund, address campaign) { return ( registry[_customer][_projectId].token, registry[_customer][_projectId].fund, registry[_customer][_projectId].campaign ); } function lookupByProject(uint _projectId) constant returns (address token, address fund, address campaign) { return ( project_registry[_projectId].token, project_registry[_projectId].fund, project_registry[_projectId].campaign ); } function setRegistrar(address _registrar, bool enabled) onlyOwner() { registrars[_registrar] = enabled; } } // Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/issues/20 contract Token { /* This is a slight change to the ERC20 base standard. function totalSupply() constant returns (uint256 supply); is replaced with: uint256 public totalSupply; This automatically creates a getter function for the totalSupply. This is moved to the base contract since public getter functions are not currently recognised as an implementation of the matching abstract function by the compiler. */ /// total amount of tokens uint256 public totalSupply; /// @param _owner The address from which the balance will be retrieved /// @return The balance function balanceOf(address _owner) constant returns (uint256 balance); /// @notice send `_value` token to `_to` from `msg.sender` /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transfer(address _to, uint256 _value) returns (bool success); /// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from` /// @param _from The address of the sender /// @param _to The address of the recipient /// @param _value The amount of token to be transferred /// @return Whether the transfer was successful or not function transferFrom(address _from, address _to, uint256 _value) returns (bool success); /// @notice `msg.sender` approves `_spender` to spend `_value` tokens /// @param _spender The address of the account able to transfer the tokens /// @param _value The amount of tokens to be approved for transfer /// @return Whether the approval was successful or not function approve(address _spender, uint256 _value) returns (bool success); /// @param _owner The address of the account owning tokens /// @param _spender The address of the account able to transfer the tokens /// @return Amount of remaining tokens allowed to spent function allowance(address _owner, address _spender) constant returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } contract AbstractSingularDTVToken is Token { } /// @title Fund contract - Implements reward distribution. /// @author Stefan George - <[email protected]> /// @author Milad Mostavi - <[email protected]> contract SingularDTVFund { string public version = "0.1.0"; /* * External contracts */ AbstractSingularDTVToken public singularDTVToken; /* * Storage */ address public owner; uint public totalReward; // User's address => Reward at time of withdraw mapping (address => uint) public rewardAtTimeOfWithdraw; // User's address => Reward which can be withdrawn mapping (address => uint) public owed; modifier onlyOwner() { // Only guard is allowed to do this action. if (msg.sender != owner) { revert(); } _; } /* * Contract functions */ /// @dev Deposits reward. Returns success. function depositReward() public payable returns (bool) { totalReward += msg.value; return true; } /// @dev Withdraws reward for user. Returns reward. /// @param forAddress user's address. function calcReward(address forAddress) private returns (uint) { return singularDTVToken.balanceOf(forAddress) * (totalReward - rewardAtTimeOfWithdraw[forAddress]) / singularDTVToken.totalSupply(); } /// @dev Withdraws reward for user. Returns reward. function withdrawReward() public returns (uint) { uint value = calcReward(msg.sender) + owed[msg.sender]; rewardAtTimeOfWithdraw[msg.sender] = totalReward; owed[msg.sender] = 0; if (value > 0 && !msg.sender.send(value)) { revert(); } return value; } /// @dev Credits reward to owed balance. /// @param forAddress user's address. function softWithdrawRewardFor(address forAddress) external returns (uint) { uint value = calcReward(forAddress); rewardAtTimeOfWithdraw[forAddress] = totalReward; owed[forAddress] += value; return value; } /// @dev Setup function sets external token address. /// @param singularDTVTokenAddress Token address. function setup(address singularDTVTokenAddress) external onlyOwner returns (bool) { if (address(singularDTVToken) == 0) { singularDTVToken = AbstractSingularDTVToken(singularDTVTokenAddress); return true; } return false; } /// @dev Contract constructor function sets guard address. function SingularDTVFund() { // Set owner address owner = msg.sender; } /// @dev Fallback function acts as depositReward() function () public payable { if (msg.value == 0) { withdrawReward(); } else { depositReward(); } } } /// @title Token Creation contract - Implements token creation functionality. /// @author Stefan George - <[email protected]> /// @author Razvan Pop - <[email protected]> /// @author Milad Mostavi - <[email protected]> contract SingularDTVLaunch { string public version = "0.1.0"; event Contributed(address indexed contributor, uint contribution, uint tokens); /* * External contracts */ AbstractSingularDTVToken public singularDTVToken; address public workshop; address public SingularDTVWorkshop = 0xc78310231aA53bD3D0FEA2F8c705C67730929D8f; uint public SingularDTVWorkshopFee; /* * Constants */ uint public CAP; // in wei scale of tokens uint public DURATION; // in seconds uint public TOKEN_TARGET; // Goal threshold in wei scale of tokens /* * Enums */ enum Stages { Deployed, GoingAndGoalNotReached, EndedAndGoalNotReached, GoingAndGoalReached, EndedAndGoalReached } /* * Storage */ address public owner; uint public startDate; uint public fundBalance; uint public valuePerToken; //in wei uint public tokensSent; // participant address => value in Wei mapping (address => uint) public contributions; // participant address => token amount in wei scale mapping (address => uint) public sentTokens; // Initialize stage Stages public stage = Stages.Deployed; modifier onlyOwner() { // Only owner is allowed to do this action. if (msg.sender != owner) { revert(); } _; } modifier atStage(Stages _stage) { if (stage != _stage) { revert(); } _; } modifier atStageOR(Stages _stage1, Stages _stage2) { if (stage != _stage1 && stage != _stage2) { revert(); } _; } modifier timedTransitions() { uint timeElapsed = now - startDate; if (timeElapsed >= DURATION) { if (stage == Stages.GoingAndGoalNotReached) { stage = Stages.EndedAndGoalNotReached; } else if (stage == Stages.GoingAndGoalReached) { stage = Stages.EndedAndGoalReached; } } _; } /* * Contract functions */ /// dev Validates invariants. function checkInvariants() constant internal { if (fundBalance > this.balance) { revert(); } } /// @dev Can be triggered if an invariant fails. function emergencyCall() public returns (bool) { if (fundBalance > this.balance) { if (this.balance > 0 && !SingularDTVWorkshop.send(this.balance)) { revert(); } return true; } return false; } /// @dev Allows user to create tokens if token creation is still going and cap not reached. Returns token count. function fund() public timedTransitions atStageOR(Stages.GoingAndGoalNotReached, Stages.GoingAndGoalReached) payable returns (uint) { uint tokenCount = (msg.value * (10**18)) / valuePerToken; // Token count in wei is rounded down. Sent ETH should be multiples of valuePerToken. require(tokenCount > 0); if (tokensSent + tokenCount > CAP) { // User wants to create more tokens than available. Set tokens to possible maximum. tokenCount = CAP - tokensSent; } tokensSent += tokenCount; uint contribution = (tokenCount * valuePerToken) / (10**18); // Ether spent by user. // Send change back to user. if (msg.value > contribution && !msg.sender.send(msg.value - contribution)) { revert(); } // Update fund and user's balance and total supply of tokens. fundBalance += contribution; contributions[msg.sender] += contribution; sentTokens[msg.sender] += tokenCount; if (!singularDTVToken.transfer(msg.sender, tokenCount)) { // Tokens could not be issued. revert(); } // Update stage if (stage == Stages.GoingAndGoalNotReached) { if (tokensSent >= TOKEN_TARGET) { stage = Stages.GoingAndGoalReached; } } // not an else clause for the edge case that the CAP and TOKEN_TARGET are reached in one call if (stage == Stages.GoingAndGoalReached) { if (tokensSent == CAP) { stage = Stages.EndedAndGoalReached; } } checkInvariants(); Contributed(msg.sender, contribution, tokenCount); return tokenCount; } /// @dev Allows user to withdraw ETH if token creation period ended and target was not reached. Returns contribution. function withdrawContribution() public timedTransitions atStage(Stages.EndedAndGoalNotReached) returns (uint) { // We get back the tokens from the contributor before giving back his contribution uint tokensReceived = sentTokens[msg.sender]; sentTokens[msg.sender] = 0; if (!singularDTVToken.transferFrom(msg.sender, owner, tokensReceived)) { revert(); } // Update fund's and user's balance and total supply of tokens. uint contribution = contributions[msg.sender]; contributions[msg.sender] = 0; fundBalance -= contribution; // Send ETH back to user. if (contribution > 0) { msg.sender.transfer(contribution); } checkInvariants(); return contribution; } /// @dev Withdraws ETH to workshop address. Returns success. function withdrawForWorkshop() public timedTransitions atStage(Stages.EndedAndGoalReached) returns (bool) { uint value = fundBalance; fundBalance = 0; require(value > 0); uint networkFee = value * SingularDTVWorkshopFee / 100; workshop.transfer(value - networkFee); SingularDTVWorkshop.transfer(networkFee); uint remainingTokens = CAP - tokensSent; if (remainingTokens > 0 && !singularDTVToken.transfer(owner, remainingTokens)) { revert(); } checkInvariants(); return true; } /// @dev Allows owner to get back unsent tokens in case of launch failure (EndedAndGoalNotReached). function withdrawUnsentTokensForOwner() public timedTransitions atStage(Stages.EndedAndGoalNotReached) returns (uint) { uint remainingTokens = CAP - tokensSent; if (remainingTokens > 0 && !singularDTVToken.transfer(owner, remainingTokens)) { revert(); } checkInvariants(); return remainingTokens; } /// @dev Sets token value in Wei. /// @param valueInWei New value. function changeValuePerToken(uint valueInWei) public onlyOwner atStage(Stages.Deployed) returns (bool) { valuePerToken = valueInWei; return true; } // updateStage allows calls to receive correct stage. It can be used for transactions but is not part of the regular token creation routine. // It is not marked as constant because timedTransitions modifier is altering state and constant is not yet enforced by solc. /// @dev returns correct stage, even if a function with timedTransitions modifier has not yet been called successfully. function updateStage() public timedTransitions returns (Stages) { return stage; } function start() public onlyOwner atStage(Stages.Deployed) returns (uint) { if (!singularDTVToken.transferFrom(msg.sender, this, CAP)) { revert(); } startDate = now; stage = Stages.GoingAndGoalNotReached; checkInvariants(); return startDate; } /// @dev Contract constructor function sets owner and start date. function SingularDTVLaunch( address singularDTVTokenAddress, address _workshop, address _owner, uint _total, uint _unit_price, uint _duration, uint _threshold, uint _singulardtvwoskhop_fee ) { singularDTVToken = AbstractSingularDTVToken(singularDTVTokenAddress); workshop = _workshop; owner = _owner; CAP = _total; // Total number of tokens (wei scale) valuePerToken = _unit_price; // wei per token DURATION = _duration; // in seconds TOKEN_TARGET = _threshold; // Goal threshold SingularDTVWorkshopFee = _singulardtvwoskhop_fee; } /// @dev Fallback function acts as fund() when stage GoingAndGoalNotReached /// or GoingAndGoalReached. And act as withdrawFunding() when EndedAndGoalNotReached. /// otherwise throw. function () public payable { if (stage == Stages.GoingAndGoalNotReached || stage == Stages.GoingAndGoalReached) fund(); else if (stage == Stages.EndedAndGoalNotReached) withdrawContribution(); else revert(); } } contract AbstractSingularDTVFund { function softWithdrawRewardFor(address forAddress) returns (uint); } contract StandardToken is Token { function transfer(address _to, uint256 _value) returns (bool success) { //Default assumes totalSupply can't be over max (2^256 - 1). //If your token leaves out totalSupply and can issue more tokens as time goes on, you need to check if it doesn't wrap. //Replace the if with this one instead. //require(balances[msg.sender] >= _value && balances[_to] + _value > balances[_to]); require(balances[msg.sender] >= _value); balances[msg.sender] -= _value; balances[_to] += _value; Transfer(msg.sender, _to, _value); return true; } function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { //same as above. Replace this line with the following if you want to protect against wrapping uints. //require(balances[_from] >= _value && allowed[_from][msg.sender] >= _value && balances[_to] + _value > balances[_to]); require(balances[_from] >= _value && allowed[_from][msg.sender] >= _value); balances[_to] += _value; balances[_from] -= _value; allowed[_from][msg.sender] -= _value; Transfer(_from, _to, _value); return true; } function balanceOf(address _owner) constant returns (uint256 balance) { return balances[_owner]; } function approve(address _spender, uint256 _value) returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } /* Approves and then calls the receiving contract */ function approveAndCall(address _spender, uint256 _value, bytes _extraData) returns (bool success) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); //call the receiveApproval function on the contract you want to be notified. This crafts the function signature manually so one doesn't have to include a contract in here just for this. //receiveApproval(address _from, uint256 _value, address _tokenContract, bytes _extraData) //it is assumed that when does this that the call *should* succeed, otherwise one would use vanilla approve instead. require(_spender.call(bytes4(bytes32(sha3("receiveApproval(address,uint256,address,bytes)"))), msg.sender, _value, this, _extraData)); return true; } mapping (address => uint256) balances; mapping (address => mapping (address => uint256)) allowed; } /// @title Token contract - Implements token issuance. /// @author Stefan George - <[email protected]> /// @author Milad Mostavi - <[email protected]> contract SingularDTVToken is StandardToken { string public version = "0.1.0"; /* * External contracts */ AbstractSingularDTVFund public singularDTVFund; /* * Token meta data */ string public name; string public symbol; uint8 public constant decimals = 18; /// @dev Transfers sender's tokens to a given address. Returns success. /// @param to Address of token receiver. /// @param value Number of tokens to transfer. function transfer(address to, uint256 value) returns (bool) { // Both parties withdraw their reward first singularDTVFund.softWithdrawRewardFor(msg.sender); singularDTVFund.softWithdrawRewardFor(to); return super.transfer(to, value); } /// @dev Allows allowed third party to transfer tokens from one address to another. Returns success. /// @param from Address from where tokens are withdrawn. /// @param to Address to where tokens are sent. /// @param value Number of tokens to transfer. function transferFrom(address from, address to, uint256 value) returns (bool) { // Both parties withdraw their reward first singularDTVFund.softWithdrawRewardFor(from); singularDTVFund.softWithdrawRewardFor(to); return super.transferFrom(from, to, value); } function SingularDTVToken(address sDTVFundAddr, address _wallet, string _name, string _symbol, uint _totalSupply) { if(sDTVFundAddr == 0 || _wallet == 0) { // Fund and Wallet addresses should not be null. revert(); } balances[_wallet] = _totalSupply; totalSupply = _totalSupply; name = _name; symbol = _symbol; singularDTVFund = AbstractSingularDTVFund(sDTVFundAddr); Transfer(this, _wallet, _totalSupply); } } contract TokitDeployer is Ownable { TokitRegistry public registry; // payment_type => payment_contract mapping (uint8 => AbstractPaymentEscrow) public paymentContracts; event DeployedToken(address indexed _customer, uint indexed _projectId, address _token, address _fund); event DeployedCampaign(address indexed _customer, uint indexed _projectId, address _campaign); function TokitDeployer(address _owner, address _registry) { transferOwnership(_owner); registry = TokitRegistry(_registry); } function deployToken( address _customer, uint _projectId, uint8 _payedWith, uint _amountNeeded, // SingularDTVToken address _wallet, string _name, string _symbol, uint _totalSupply ) onlyOwner() { // payed for require(AbstractPaymentEscrow(paymentContracts[_payedWith]).getDeposit(_projectId) >= _amountNeeded); var (t,,) = registry.lookup(_customer, _projectId); // not deployed yet require(t == address(0)); SingularDTVFund fund = new SingularDTVFund(); SingularDTVToken token = new SingularDTVToken(fund, _wallet, _name, _symbol, _totalSupply); fund.setup(token); registry.register(_customer, _projectId, token, fund); DeployedToken(_customer, _projectId, token, fund); } function deployCampaign( address _customer, uint _projectId, // SingularDTVLaunch address _workshop, uint _total, uint _unitPrice, uint _duration, uint _threshold, uint _networkFee ) onlyOwner() { var (t,f,c) = registry.lookup(_customer, _projectId); // not deployed yet require(c == address(0)); // payed for, token & fund deployed require(t != address(0) && f != address(0)); SingularDTVLaunch campaign = new SingularDTVLaunch(t, _workshop, _customer, _total, _unitPrice, _duration, _threshold, _networkFee); registry.register(_customer, _projectId, campaign); DeployedCampaign(_customer, _projectId, campaign); } function setRegistryContract(address _registry) onlyOwner() { registry = TokitRegistry(_registry); } function setPaymentContract(uint8 _paymentType, address _paymentContract) onlyOwner() { paymentContracts[_paymentType] = AbstractPaymentEscrow(_paymentContract); } function deletePaymentContract(uint8 _paymentType) onlyOwner() { delete paymentContracts[_paymentType]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"rewardAtTimeOfWithdraw","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"depositReward","outputs":[{"name":"","type":"bool"}],"payable":true,"type":"function"},{"constant":false,"inputs":[{"name":"singularDTVTokenAddress","type":"address"}],"name":"setup","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"singularDTVToken","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"forAddress","type":"address"}],"name":"softWithdrawRewardFor","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"withdrawReward","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"owed","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":true,"type":"fallback"}]
Deployed Bytecode
0x606060405236156100885763ffffffff60e060020a6000350416633d103b6d81146100ab57806354fd4d50146100dc5780635ec2dc8d1461016757806366d3820314610183578063750142e6146101b657806387efeeb6146101db5780638da5cb5b1461020a578063b162281814610239578063c885bc581461026a578063df18e0471461028f575b5b34151561009e576100986102c0565b506100a8565b6100a6610365565b505b5b005b34156100b657600080fd5b6100ca600160a060020a0360043516610373565b60405190815260200160405180910390f35b34156100e757600080fd5b6100ef610385565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561012c5780820151818401525b602001610113565b50505050905090810190601f1680156101595780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61016f610365565b604051901515815260200160405180910390f35b341561018e57600080fd5b61016f600160a060020a0360043516610423565b604051901515815260200160405180910390f35b34156101c157600080fd5b6100ca61048b565b60405190815260200160405180910390f35b34156101e657600080fd5b6101ee610491565b604051600160a060020a03909116815260200160405180910390f35b341561021557600080fd5b6101ee6104a0565b604051600160a060020a03909116815260200160405180910390f35b341561024457600080fd5b6100ca600160a060020a03600435166104af565b60405190815260200160405180910390f35b341561027557600080fd5b6100ca6102c0565b60405190815260200160405180910390f35b341561029a57600080fd5b6100ca600160a060020a03600435166104f4565b60405190815260200160405180910390f35b6000806005600033600160a060020a0316600160a060020a03168152602001908152602001600020546102f233610506565b600354600160a060020a0333166000908152600460209081526040808320939093556005905290812081905591019150811180156103535750600160a060020a03331681156108fc0282604051600060405180830381858888f19350505050155b1561035d57600080fd5b8091505b5090565b600380543401905560015b90565b60046020526000908152604090205481565b60008054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561041b5780601f106103f05761010080835404028352916020019161041b565b820191906000526020600020905b8154815290600101906020018083116103fe57829003601f168201915b505050505081565b60025460009033600160a060020a0390811691161461044157600080fd5b600154600160a060020a0316151561048157506001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038316178155610485565b5060005b5b919050565b60035481565b600154600160a060020a031681565b600254600160a060020a031681565b6000806104bb83610506565b600354600160a060020a038516600090815260046020908152604080832093909355600590522080548201905591508190505b50919050565b60056020526000908152604090205481565b600154600090600160a060020a03166318160ddd82604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561055057600080fd5b6102c65a03f1151561056157600080fd5b5050506040518051600160a060020a03808516600090815260046020526040808220546003546001549596500393909216916370a08231918791516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b15156105de57600080fd5b6102c65a03f115156105ef57600080fd5b505050604051805190500281151561060357fe5b0490505b9190505600a165627a7a72305820cf986889bb0d759ec4f262dc6e87422ae67688668d3b17af5c23e0b575e1b19b0029
Swarm Source
bzzr://cf986889bb0d759ec4f262dc6e87422ae67688668d3b17af5c23e0b575e1b19b
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.