ETH Price: $2,626.07 (-2.64%)

Contract

0xdCDaDE0E1ecBFEb56cEC05DBe4d04E663b7885ec
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Sponsor101958092020-06-03 23:25:221710 days ago1591226722IN
0xdCDaDE0E...63b7885ec
0 ETH0.0005071118.20275719
Sponsor101795672020-06-01 10:57:231712 days ago1591009043IN
0xdCDaDE0E...63b7885ec
0 ETH0.0007967628.6
Sponsor101212662020-05-23 9:19:481721 days ago1590225588IN
0xdCDaDE0E...63b7885ec
0 ETH0.0003621613
Sponsor100783782020-05-16 17:14:161728 days ago1589649256IN
0xdCDaDE0E...63b7885ec
0 ETH0.0005293219.0001
Sponsor100495672020-05-12 5:42:251733 days ago1589262145IN
0xdCDaDE0E...63b7885ec
0 ETH0.0005014618
Sponsor100467912020-05-11 19:28:521733 days ago1589225332IN
0xdCDaDE0E...63b7885ec
0 ETH0.0003064411
Sponsor100383162020-05-10 12:03:521734 days ago1589112232IN
0xdCDaDE0E...63b7885ec
0 ETH0.0005571820
Sponsor100380152020-05-10 10:54:291734 days ago1589108069IN
0xdCDaDE0E...63b7885ec
0 ETH0.000250739
Sponsor100285032020-05-08 23:15:071736 days ago1588979707IN
0xdCDaDE0E...63b7885ec
0 ETH0.000245158.8
Sponsor100285032020-05-08 23:15:071736 days ago1588979707IN
0xdCDaDE0E...63b7885ec
0 ETH0.000222878
Sponsor100269832020-05-08 17:39:151736 days ago1588959555IN
0xdCDaDE0E...63b7885ec
0 ETH0.0004178815
Sponsor100269412020-05-08 17:31:301736 days ago1588959090IN
0xdCDaDE0E...63b7885ec
0 ETH0.0005847821
Sponsor100267752020-05-08 16:54:111736 days ago1588956851IN
0xdCDaDE0E...63b7885ec
0 ETH0.0005571820
Sponsor100265012020-05-08 15:54:091736 days ago1588953249IN
0xdCDaDE0E...63b7885ec
0 ETH0.0005878221.1
Sponsor100190612020-05-07 12:25:431737 days ago1588854343IN
0xdCDaDE0E...63b7885ec
0 ETH0.0005571820
Sponsor99991102020-05-04 10:12:371740 days ago1588587157IN
0xdCDaDE0E...63b7885ec
0 ETH0.000250629
Sponsor99837672020-05-02 1:13:091743 days ago1588381989IN
0xdCDaDE0E...63b7885ec
0 ETH0.000206747.42100371
Sponsor99837582020-05-02 1:10:391743 days ago1588381839IN
0xdCDaDE0E...63b7885ec
0 ETH0.000204597.34405204
Sponsor99824642020-05-01 20:26:571743 days ago1588364817IN
0xdCDaDE0E...63b7885ec
0 ETH0.000361312.97472924
Sponsor99824512020-05-01 20:24:501743 days ago1588364690IN
0xdCDaDE0E...63b7885ec
0 ETH0.000139295
Sponsor99809312020-05-01 14:47:001743 days ago1588344420IN
0xdCDaDE0E...63b7885ec
0 ETH0.0003346312.01171889
Sponsor99805442020-05-01 13:18:341743 days ago1588339114IN
0xdCDaDE0E...63b7885ec
0 ETH0.0002784710
Sponsor99805352020-05-01 13:15:271743 days ago1588338927IN
0xdCDaDE0E...63b7885ec
0 ETH0.0003063111
Sponsor99805282020-05-01 13:14:101743 days ago1588338850IN
0xdCDaDE0E...63b7885ec
0 ETH0.0003063111
Sponsor99804922020-05-01 13:07:141743 days ago1588338434IN
0xdCDaDE0E...63b7885ec
0 ETH0.0003124411.22
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Sponsor

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 1 of 2: Sponsor.sol
pragma solidity ^0.6.4;

import "./BrightID.sol";

contract Sponsor {
 BrightID public brightID;
 bytes32 public context;

 constructor(BrightID _brightID, bytes32 _context) public {
   brightID = _brightID;
   context = _context;
 }

 fallback() external payable {
  sponsor(msg.sender);
 }

 // sponsor any address that sends a transaction to this contract.
 receive() external payable {
   sponsor(msg.sender);
 }

 // sponsor any address is provided by as an parameter.
 function sponsor(address add) public {
   brightID.sponsor(context, bytes32(uint(add)));
 }
}

File 2 of 2: BrightID.sol
pragma solidity ^0.6.3;

abstract contract BrightID {
    function addContext(bytes32 context) virtual public;
    function addContextOwner(bytes32 context, address owner) virtual public;
    function addNodeToContext(bytes32 context, address nodeAddress) virtual public;
    function register(bytes32 context, bytes32[] memory cIds, uint8 v, bytes32 r, bytes32 s) virtual public;
    function removeContextOwner(bytes32 context, address owner) virtual public;
    function removeNodeToContext(bytes32 context, address nodeAddress) virtual public;
    function sponsor(bytes32 context, bytes32 contextid) virtual public;
    function isContext(bytes32 context) virtual public view returns(bool);
    function isContextOwner(bytes32 context, address owner) virtual public view returns(bool);
    function isNodeContext(bytes32 context, address nodeAddress) virtual public view returns(bool);
    function isUniqueHuman(address nodeAddress, bytes32 context) virtual public view returns(bool);
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract BrightID","name":"_brightID","type":"address"},{"internalType":"bytes32","name":"_context","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"brightID","outputs":[{"internalType":"contract BrightID","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"context","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"add","type":"address"}],"name":"sponsor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506040516102df3803806102df8339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806001819055505050610239806100a66000396000f3fe6080604052600436106100385760003560e01c8063766c4f3714610053578063d0496d6a146100a4578063fceb1a57146100cf57610048565b366100485761004633610126565b005b61005133610126565b005b34801561005f57600080fd5b506100a26004803603602081101561007657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610126565b005b3480156100b057600080fd5b506100b96101d8565b6040518082815260200191505060405180910390f35b3480156100db57600080fd5b506100e46101de565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663434147806001548373ffffffffffffffffffffffffffffffffffffffff1660001b6040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b1580156101bd57600080fd5b505af11580156101d1573d6000803e3d6000fd5b5050505050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea264697066735822122032b493e71236ba44a8096c9fc886b8536005876ac35c1394db920c8d54287b2c64736f6c634300060600330000000000000000000000003ce9e5ff3f42da5deed56775e2e2cadb484d402a657468657265756d000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100385760003560e01c8063766c4f3714610053578063d0496d6a146100a4578063fceb1a57146100cf57610048565b366100485761004633610126565b005b61005133610126565b005b34801561005f57600080fd5b506100a26004803603602081101561007657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610126565b005b3480156100b057600080fd5b506100b96101d8565b6040518082815260200191505060405180910390f35b3480156100db57600080fd5b506100e46101de565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663434147806001548373ffffffffffffffffffffffffffffffffffffffff1660001b6040518363ffffffff1660e01b81526004018083815260200182815260200192505050600060405180830381600087803b1580156101bd57600080fd5b505af11580156101d1573d6000803e3d6000fd5b5050505050565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff168156fea264697066735822122032b493e71236ba44a8096c9fc886b8536005876ac35c1394db920c8d54287b2c64736f6c63430006060033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000003ce9e5ff3f42da5deed56775e2e2cadb484d402a657468657265756d000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _brightID (address): 0x3Ce9E5ff3F42da5Deed56775e2e2CaDB484d402a
Arg [1] : _context (bytes32): 0x657468657265756d000000000000000000000000000000000000000000000000

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003ce9e5ff3f42da5deed56775e2e2cadb484d402a
Arg [1] : 657468657265756d000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

52:517:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;394:19;402:10;394:7;:19::i;:::-;52:517;;269:19;277:10;269:7;:19::i;:::-;52:517;476:91;;5:9:-1;2:2;;;27:1;24;17:12;2:2;476:91:1;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;476:91:1;;;;;;;;;;;;;;;;;;;:::i;:::-;;99:22;;5:9:-1;2:2;;;27:1;24;17:12;2:2;99:22:1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;72:24;;5:9:-1;2:2;;;27:1;24;17:12;2:2;72:24:1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;476:91;518:8;;;;;;;;;;;:16;;;535:7;;557:3;552:9;;544:18;;518:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;518:45:1;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;518:45:1;;;;476:91;:::o;99:22::-;;;;:::o;72:24::-;;;;;;;;;;;;;:::o

Swarm Source

ipfs://32b493e71236ba44a8096c9fc886b8536005876ac35c1394db920c8d54287b2c

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.