ETH Price: $3,226.45 (-3.14%)

Contract

0xc46f12332f050438C4DaB7eC8cf6C8a78A4bEF14
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x6080604083597422019-08-16 5:59:381915 days ago1565935178IN
 Contract Creation
0 ETH0.000261911

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x2e77661D...FD994A0E0
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
DepositProxy

Compiler Version
v0.5.10+commit.5a6ea5b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2019-08-15
*/

/**
 *Submitted for verification at Etherscan.io on 2019-08-01
*/

pragma solidity 0.5.10;

contract AbstractAccount {

  event DeviceAdded(address device, bool isOwner);
  event DeviceRemoved(address device);
  event TransactionExecuted(address recipient, uint256 value, bytes data, bytes response);

  struct Device {
    bool isOwner;
    bool exists;
    bool existed;
  }

  mapping(address => Device) public devices;

  function addDevice(address _device, bool _isOwner) public;

  function removeDevice(address _device) public;

  function executeTransaction(address payable _recipient, uint256 _value, bytes memory _data) public returns (bytes memory _response);
}


contract DepositProxy {

    address payable public account;
    address payable public paymentManager;

    constructor (address payable _account, address payable _paymentManager) public {
        account = _account;
        paymentManager = _paymentManager;
    }

    function () payable external {
        address(account).transfer(msg.value);
        bytes memory empty;
        AbstractAccount(account).executeTransaction(paymentManager, msg.value, empty);
    }

}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"account","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paymentManager","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_account","type":"address"},{"name":"_paymentManager","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

Deployed Bytecode

0x6080604052600436106100295760003560e01c80635dab2420146101bb578063aee1fe49146101ec575b600080546040516001600160a01b03909116913480156108fc02929091818181858888f19350505050158015610063573d6000803e3d6000fd5b5060008054600154604051631fabcfa160e11b81526001600160a01b0391821660048201818152346024840181905260606044850181815281516064870152815191989690971696633f579f42969495929489949391926084909201916080918190849084905b838110156100e25781810151838201526020016100ca565b50505050905090810190601f16801561010f5780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b15801561013057600080fd5b505af1158015610144573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561016d57600080fd5b81019080805164010000000081111561018557600080fd5b8201602081018481111561019857600080fd5b81516401000000008111828201871017156101b257600080fd5b50505050505050005b3480156101c757600080fd5b506101d0610201565b604080516001600160a01b039092168252519081900360200190f35b3480156101f857600080fd5b506101d0610210565b6000546001600160a01b031681565b6001546001600160a01b03168156fea265627a7a72305820063ec91c695f32163f91a91f64670ec6098bfdd2fc9c0a18a0c28d09b06b4a1064736f6c634300050a0032

Deployed Bytecode Sourcemap

703:487:0:-;;;;;;;;;;;;;;;;;;;;;;;1032:7;;;1024:36;;-1:-1:-1;;;;;1032:7:0;;;;1050:9;1024:36;;;;;1050:9;;1024:36;1032:7;1024:36;1050:9;1032:7;1024:36;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;1116:7:0;;;;1144:14;1100:77;;-1:-1:-1;;;1100:77:0;;-1:-1:-1;;;;;1144:14:0;;;1100:77;;;;;;1160:9;1100:77;;;;;;1071:18;1100:77;;;;;;;;;;;;;;1071:18;;1116:7;;;;;1100:43;;1144:14;;1160:9;;1071:18;;1100:77;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1100:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1100:77:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1100:77:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;1100:77:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;1100:77:0;;;;;;19:11:-1;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;261:11;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;-1:-1;;;;;;;703:487:0;734:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;734:30:0;;;:::i;:::-;;;;-1:-1:-1;;;;;734:30:0;;;;;;;;;;;;;;771:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;771:37:0;;;:::i;734:30::-;;;-1:-1:-1;;;;;734:30:0;;:::o;771:37::-;;;-1:-1:-1;;;;;771:37:0;;:::o

Swarm Source

bzzr://063ec91c695f32163f91a91f64670ec6098bfdd2fc9c0a18a0c28d09b06b4a10

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.