ETH Price: $3,309.42 (-2.98%)
Gas: 12 Gwei

Contract

0xbf78B6E180ba2d1404c92Fc546cbc9233f616C42
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Bind117363662021-01-27 7:06:071253 days ago1611731167IN
0xbf78B6E1...33f616C42
0 ETH0.0054751263.338
Bind80676402019-07-01 19:58:201828 days ago1562011100IN
0xbf78B6E1...33f616C42
0 ETH0.0018441121
Bind80346902019-06-26 16:32:371834 days ago1561566757IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind79785742019-06-17 22:24:131842 days ago1560810253IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind79785712019-06-17 22:23:381842 days ago1560810218IN
0xbf78B6E1...33f616C42
0 ETH0.0018441121
Bind79785232019-06-17 22:12:091842 days ago1560809529IN
0xbf78B6E1...33f616C42
0 ETH0.0018441121
Bind79539342019-06-14 1:52:151846 days ago1560477135IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind79539322019-06-14 1:51:221846 days ago1560477082IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind79539262019-06-14 1:50:231846 days ago1560477023IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind78466852019-05-28 7:24:411863 days ago1559028281IN
0xbf78B6E1...33f616C42
0 ETH0.0018441121
Bind78266312019-05-25 4:20:391866 days ago1558758039IN
0xbf78B6E1...33f616C42
0 ETH0.000004280.1
Bind78265402019-05-25 3:59:151866 days ago1558756755IN
0xbf78B6E1...33f616C42
0 ETH0.000004280.1
Bind78250072019-05-24 22:26:191866 days ago1558736779IN
0xbf78B6E1...33f616C42
0 ETH0.000008780.1
Bind78084112019-05-22 7:55:561869 days ago1558511756IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind78083392019-05-22 7:39:381869 days ago1558510778IN
0xbf78B6E1...33f616C42
0 ETH0.000008780.1
Bind78080672019-05-22 6:35:541869 days ago1558506954IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind78079692019-05-22 6:14:251869 days ago1558505665IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind78074602019-05-22 4:18:001869 days ago1558498680IN
0xbf78B6E1...33f616C42
0 ETH0.000128443
Bind78068952019-05-22 2:05:431869 days ago1558490743IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind78027992019-05-21 10:51:341870 days ago1558435894IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind78027952019-05-21 10:50:021870 days ago1558435802IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind78018612019-05-21 7:17:081870 days ago1558423028IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind78003182019-05-21 1:26:491870 days ago1558402009IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind78003132019-05-21 1:26:081870 days ago1558401968IN
0xbf78B6E1...33f616C42
0 ETH0.0008991121
Bind77653282019-05-15 14:01:231876 days ago1557928883IN
0xbf78B6E1...33f616C42
0 ETH0.0018441121
View all transactions

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

Contract Source Code Verified (Exact Match)

Contract Name:
LRxAirdropAddressBinding

Compiler Version
v0.4.18+commit.9cf6e910

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-02-06
*/

pragma solidity 0.4.18;
/**
 * @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() public {
    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;
  }
}
/*
  Copyright 2017 Loopring Project Ltd (Loopring Foundation).
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
  http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
*/
/// @title LRC Foundation Airdrop Address Binding Contract
/// @author Kongliang Zhong - <[email protected]>,
contract LRxAirdropAddressBinding is Ownable {
    mapping(address => mapping(uint8 => string)) public bindings;
    mapping(uint8 => string) public projectNameMap;
    event AddressesBound(address sender, uint8 projectId, string targetAddr);
    event AddressesUnbound(address sender, uint8 projectId);
    // @projectId: 1=LRN, 2=LRQ
    function bind(uint8 projectId, string targetAddr)
        external
    {
        require(projectId > 0);
        bindings[msg.sender][projectId] = targetAddr;
        AddressesBound(msg.sender, projectId, targetAddr);
    }
    function unbind(uint8 projectId)
        external
    {
        require(projectId > 0);
        delete bindings[msg.sender][projectId];
        AddressesUnbound(msg.sender, projectId);
    }
    function getBindingAddress(address owner, uint8 projectId)
        external
        view
        returns (string)
    {
        require(projectId > 0);
        return bindings[owner][projectId];
    }
    function setProjectName(uint8 id, string name) onlyOwner external {
        projectNameMap[id] = name;
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"projectId","type":"uint8"}],"name":"unbind","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"projectId","type":"uint8"}],"name":"getBindingAddress","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint8"}],"name":"projectNameMap","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"id","type":"uint8"},{"name":"name","type":"string"}],"name":"setProjectName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"projectId","type":"uint8"},{"name":"targetAddr","type":"string"}],"name":"bind","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"uint8"}],"name":"bindings","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"projectId","type":"uint8"},{"indexed":false,"name":"targetAddr","type":"string"}],"name":"AddressesBound","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"projectId","type":"uint8"}],"name":"AddressesUnbound","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

606060405260008054600160a060020a033316600160a060020a0319909116179055610790806100306000396000f30060606040526004361061008d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166349e38908811461009257806350d08433146100ad5780638da5cb5b146101495780639c17c90d14610178578063bd35522b14610191578063ca02620a146101b6578063d52529a4146101db578063f2fde38b14610200575b600080fd5b341561009d57600080fd5b6100ab60ff6004351661021f565b005b34156100b857600080fd5b6100d2600160a060020a036004351660ff602435166102a8565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010e5780820151838201526020016100f6565b50505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015457600080fd5b61015c61039d565b604051600160a060020a03909116815260200160405180910390f35b341561018357600080fd5b6100d260ff600435166103ac565b341561019c57600080fd5b6100ab6004803560ff16906024803590810191013561045c565b34156101c157600080fd5b6100ab6004803560ff16906024803590810191013561049a565b34156101e657600080fd5b6100d2600160a060020a036004351660ff6024351661054b565b341561020b57600080fd5b6100ab600160a060020a03600435166105d5565b600060ff82161161022f57600080fd5b600160a060020a033316600090815260016020908152604080832060ff85168452909152812061025e91610670565b7fb65cc836fa7ae22137213b94607999003bd415a3ad451112e18a5dd04e2317443382604051600160a060020a03909216825260ff1660208201526040908101905180910390a150565b6102b06106b7565b600060ff8316116102c057600080fd5b6001600084600160a060020a0316600160a060020a0316815260200190815260200160002060008360ff1660ff1681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103905780601f1061036557610100808354040283529160200191610390565b820191906000526020600020905b81548152906001019060200180831161037357829003601f168201915b5050505050905092915050565b600054600160a060020a031681565b60026020528060005260406000206000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104545780601f1061042957610100808354040283529160200191610454565b820191906000526020600020905b81548152906001019060200180831161043757829003601f168201915b505050505081565b60005433600160a060020a0390811691161461047757600080fd5b60ff831660009081526002602052604090206104949083836106c9565b50505050565b600060ff8416116104aa57600080fd5b600160a060020a033316600090815260016020908152604080832060ff8716845290915290206104db9083836106c9565b507fa3223ad9ca9b61a866c910b0751d38f78fe7962d9baecf76400dee74eea33ba233848484604051600160a060020a038516815260ff841660208201526060604082018181529082018390526080820184848082843782019150509550505050505060405180910390a1505050565b6001602052816000526040600020602052806000526040600020600091509150508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104545780601f1061042957610100808354040283529160200191610454565b60005433600160a060020a039081169116146105f057600080fd5b600160a060020a038116151561060557600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b50805460018160011615610100020316600290046000825580601f1061069657506106b4565b601f0160209004906000526020600020908101906106b49190610747565b50565b60206040519081016040526000815290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061070a5782800160ff19823516178555610737565b82800160010185558215610737579182015b8281111561073757823582559160200191906001019061071c565b50610743929150610747565b5090565b61076191905b80821115610743576000815560010161074d565b905600a165627a7a72305820d28e9b8298f7a3a4c127dfe0e4b0d7991763faf3b3354b2050da2e69682e4f9f0029

Deployed Bytecode

0x60606040526004361061008d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166349e38908811461009257806350d08433146100ad5780638da5cb5b146101495780639c17c90d14610178578063bd35522b14610191578063ca02620a146101b6578063d52529a4146101db578063f2fde38b14610200575b600080fd5b341561009d57600080fd5b6100ab60ff6004351661021f565b005b34156100b857600080fd5b6100d2600160a060020a036004351660ff602435166102a8565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010e5780820151838201526020016100f6565b50505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015457600080fd5b61015c61039d565b604051600160a060020a03909116815260200160405180910390f35b341561018357600080fd5b6100d260ff600435166103ac565b341561019c57600080fd5b6100ab6004803560ff16906024803590810191013561045c565b34156101c157600080fd5b6100ab6004803560ff16906024803590810191013561049a565b34156101e657600080fd5b6100d2600160a060020a036004351660ff6024351661054b565b341561020b57600080fd5b6100ab600160a060020a03600435166105d5565b600060ff82161161022f57600080fd5b600160a060020a033316600090815260016020908152604080832060ff85168452909152812061025e91610670565b7fb65cc836fa7ae22137213b94607999003bd415a3ad451112e18a5dd04e2317443382604051600160a060020a03909216825260ff1660208201526040908101905180910390a150565b6102b06106b7565b600060ff8316116102c057600080fd5b6001600084600160a060020a0316600160a060020a0316815260200190815260200160002060008360ff1660ff1681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103905780601f1061036557610100808354040283529160200191610390565b820191906000526020600020905b81548152906001019060200180831161037357829003601f168201915b5050505050905092915050565b600054600160a060020a031681565b60026020528060005260406000206000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104545780601f1061042957610100808354040283529160200191610454565b820191906000526020600020905b81548152906001019060200180831161043757829003601f168201915b505050505081565b60005433600160a060020a0390811691161461047757600080fd5b60ff831660009081526002602052604090206104949083836106c9565b50505050565b600060ff8416116104aa57600080fd5b600160a060020a033316600090815260016020908152604080832060ff8716845290915290206104db9083836106c9565b507fa3223ad9ca9b61a866c910b0751d38f78fe7962d9baecf76400dee74eea33ba233848484604051600160a060020a038516815260ff841660208201526060604082018181529082018390526080820184848082843782019150509550505050505060405180910390a1505050565b6001602052816000526040600020602052806000526040600020600091509150508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104545780601f1061042957610100808354040283529160200191610454565b60005433600160a060020a039081169116146105f057600080fd5b600160a060020a038116151561060557600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b50805460018160011615610100020316600290046000825580601f1061069657506106b4565b601f0160209004906000526020600020908101906106b49190610747565b50565b60206040519081016040526000815290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061070a5782800160ff19823516178555610737565b82800160010185558215610737579182015b8281111561073757823582559160200191906001019061071c565b50610743929150610747565b5090565b61076191905b80821115610743576000815560010161074d565b905600a165627a7a72305820d28e9b8298f7a3a4c127dfe0e4b0d7991763faf3b3354b2050da2e69682e4f9f0029

Swarm Source

bzzr://d28e9b8298f7a3a4c127dfe0e4b0d7991763faf3b3354b2050da2e69682e4f9f

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.