ETH Price: $2,018.51 (+1.44%)

Contract

0x90Bc7Da789f9626b1fA1D0a74BCBcE2FF657a52e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
New Key Ring And...93738652020-01-29 0:44:542250 days ago1580258694IN
0x90Bc7Da7...FF657a52e
0 ETH0.0054808820
New Key Ring And...93665772020-01-27 21:50:462251 days ago1580161846IN
0x90Bc7Da7...FF657a52e
0 ETH0.002196811.1

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KeyRingGenericDeployerHelper

Compiler Version
v0.5.11+commit.c082d0b4

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-01-27
*/

pragma solidity 0.5.11;


interface KeyRingFactoryV2 {
  function newKeyRing(address userSigningKey, address targetKeyRing) external returns (address keyRing);
}


interface SmartWallet {
  function executeAction(
    address to,
    bytes calldata data,
    uint256 minimumActionGas,
    bytes calldata userSignature,
    bytes calldata dharmaSignature
  ) external returns (bool ok, bytes memory returnData);
}


contract KeyRingGenericDeployerHelper {
  KeyRingFactoryV2 internal constant _FACTORY = KeyRingFactoryV2(
    0x2484000059004afB720000dc738434fA6200F49D
  );
    
  function newKeyRingAndGenericAction(
    address userSigningKey,
    address targetKeyRing,
    address smartWallet,
    address to,
    bytes calldata data,
    uint256 minimumActionGas,
    bytes calldata userSignature,
    bytes calldata dharmaSignature
  ) external returns (
    address keyRing, bool genericActionOK, bytes memory genericActionReturnData
  ) {
    keyRing = _FACTORY.newKeyRing(userSigningKey, targetKeyRing);
    (genericActionOK, genericActionReturnData) = SmartWallet(smartWallet).executeAction(
      to, data, minimumActionGas, userSignature, dharmaSignature
    );
  }
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[{"internalType":"address","name":"userSigningKey","type":"address"},{"internalType":"address","name":"targetKeyRing","type":"address"},{"internalType":"address","name":"smartWallet","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"minimumActionGas","type":"uint256"},{"internalType":"bytes","name":"userSignature","type":"bytes"},{"internalType":"bytes","name":"dharmaSignature","type":"bytes"}],"name":"newKeyRingAndGenericAction","outputs":[{"internalType":"address","name":"keyRing","type":"address"},{"internalType":"bool","name":"genericActionOK","type":"bool"},{"internalType":"bytes","name":"genericActionReturnData","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506104cb806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806311d659bb14610030575b600080fd5b61016b600480360361010081101561004757600080fd5b6001600160a01b03823581169260208101358216926040820135831692606083013516919081019060a081016080820135600160201b81111561008957600080fd5b82018360208201111561009b57600080fd5b803590602001918460018302840111600160201b831117156100bc57600080fd5b91939092823592604081019060200135600160201b8111156100dd57600080fd5b8201836020820111156100ef57600080fd5b803590602001918460018302840111600160201b8311171561011057600080fd5b919390929091602081019035600160201b81111561012d57600080fd5b82018360208201111561013f57600080fd5b803590602001918460018302840111600160201b8311171561016057600080fd5b509092509050610207565b60405180846001600160a01b03166001600160a01b031681526020018315151515815260200180602001828103825283818151815260200191508051906020019080838360005b838110156101ca5781810151838201526020016101b2565b50505050905090810190601f1680156101f75780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b604080516344651f2160e11b81526001600160a01b038d811660048301528c16602482015290516000918291606091732484000059004afb720000dc738434fa6200f49d916388ca3e429160448082019260209290919082900301818887803b15801561027357600080fd5b505af1158015610287573d6000803e3d6000fd5b505050506040513d602081101561029d57600080fd5b50516040516331de856560e21b81526001600160a01b038d811660048301908152604483018c905260a06024840190815260a484018e9052939650908f169263c77a1594928f928f928f928f928f928f928f928f9290916064810190608481019060c4018b8b80828437600083820152601f01601f191690910185810384528881526020019050888880828437600083820152601f01601f191690910185810383528681526020019050868680828437600081840152601f19601f8201169050808301925050509b505050505050505050505050600060405180830381600087803b15801561038b57600080fd5b505af115801561039f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160409081528110156103c857600080fd5b815160208301805160405192949293830192919084600160201b8211156103ee57600080fd5b90830190602082018581111561040357600080fd5b8251600160201b81118282018810171561041c57600080fd5b82525081516020918201929091019080838360005b83811015610449578181015183820152602001610431565b50505050905090810190601f1680156104765780820380516001836020036101000a031916815260200191505b5060405250505080925081935050509b509b509b9850505050505050505056fea265627a7a7231582001bf1cf65e07c21b1838a57923081cb4278a63da89b70196a362c2089216b91c64736f6c634300050b0032

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c806311d659bb14610030575b600080fd5b61016b600480360361010081101561004757600080fd5b6001600160a01b03823581169260208101358216926040820135831692606083013516919081019060a081016080820135600160201b81111561008957600080fd5b82018360208201111561009b57600080fd5b803590602001918460018302840111600160201b831117156100bc57600080fd5b91939092823592604081019060200135600160201b8111156100dd57600080fd5b8201836020820111156100ef57600080fd5b803590602001918460018302840111600160201b8311171561011057600080fd5b919390929091602081019035600160201b81111561012d57600080fd5b82018360208201111561013f57600080fd5b803590602001918460018302840111600160201b8311171561016057600080fd5b509092509050610207565b60405180846001600160a01b03166001600160a01b031681526020018315151515815260200180602001828103825283818151815260200191508051906020019080838360005b838110156101ca5781810151838201526020016101b2565b50505050905090810190601f1680156101f75780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b604080516344651f2160e11b81526001600160a01b038d811660048301528c16602482015290516000918291606091732484000059004afb720000dc738434fa6200f49d916388ca3e429160448082019260209290919082900301818887803b15801561027357600080fd5b505af1158015610287573d6000803e3d6000fd5b505050506040513d602081101561029d57600080fd5b50516040516331de856560e21b81526001600160a01b038d811660048301908152604483018c905260a06024840190815260a484018e9052939650908f169263c77a1594928f928f928f928f928f928f928f928f9290916064810190608481019060c4018b8b80828437600083820152601f01601f191690910185810384528881526020019050888880828437600083820152601f01601f191690910185810383528681526020019050868680828437600081840152601f19601f8201169050808301925050509b505050505050505050505050600060405180830381600087803b15801561038b57600080fd5b505af115801561039f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160409081528110156103c857600080fd5b815160208301805160405192949293830192919084600160201b8211156103ee57600080fd5b90830190602082018581111561040357600080fd5b8251600160201b81118282018810171561041c57600080fd5b82525081516020918201929091019080838360005b83811015610449578181015183820152602001610431565b50505050905090810190601f1680156104765780820380516001836020036101000a031916815260200191505b5060405250505080925081935050509b509b509b9850505050505050505056fea265627a7a7231582001bf1cf65e07c21b1838a57923081cb4278a63da89b70196a362c2089216b91c64736f6c634300050b0032

Deployed Bytecode Sourcemap

434:785:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;434:785:0;;;;;;;;;;;;;;;;;;;604:612;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;604:612:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;604:612:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;604:612:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;604:612:0;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;604:612:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;604:612:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;604:612:0;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;604:612:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;604:612:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;604:612:0;;-1:-1:-1;604:612:0;-1:-1:-1;604:612:0;:::i;:::-;;;;;-1:-1:-1;;;;;604:612:0;-1:-1:-1;;;;;604:612:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;604:612:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;996:50;;;-1:-1:-1;;;996:50:0;;-1:-1:-1;;;;;996:50:0;;;;;;;;;;;;;;;898:15;;;;937:36;;546:42;;996:19;;:50;;;;;;;;;;;;;;;898:15;546:42;996:50;;;5:2:-1;;;;30:1;27;20:12;5:2;996:50:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;996:50:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;996:50:0;1098:112;;-1:-1:-1;;;1098:112:0;;-1:-1:-1;;;;;1098:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;996:50;;-1:-1:-1;1098:38:0;;;;;;1145:2;;1149:4;;;;1155:16;;1173:13;;;;1188:15;;;;1098:112;;;;;;;;;;;;1149:4;;;;1098:112;1:33:-1;99:1;81:16;;;74:27;137:4;117:14;-1:-1;;113:30;157:16;;;1098:112:0;;;;;;;;;;;-1:-1:-1;1098:112:0;;;;;1:33:-1;99:1;81:16;;;74:27;137:4;117:14;-1:-1;;113:30;157:16;;;1098:112:0;;;;;;;;;;;-1:-1:-1;1098:112:0;;;;;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;1098:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1098:112:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1098:112:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;1098:112:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;;;5:11;;2:2;;;29:1;26;19:12;2:2;1098:112:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;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;;-1:-1;;;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;372:25;;-1:-1;1098:112:0;;420:4:-1;411:14;;;;1098:112:0;;;;;411:14:-1;1098:112:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;1098:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1053:157;;;;;;;;604:612;;;;;;;;;;;;;;;:::o

Swarm Source

bzzr://01bf1cf65e07c21b1838a57923081cb4278a63da89b70196a362c2089216b91c

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.