More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 8,430 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Bind | 11736366 | 1522 days ago | IN | 0 ETH | 0.00547512 | ||||
Bind | 8067640 | 2097 days ago | IN | 0 ETH | 0.00184411 | ||||
Bind | 8034690 | 2102 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7978574 | 2111 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7978571 | 2111 days ago | IN | 0 ETH | 0.00184411 | ||||
Bind | 7978523 | 2111 days ago | IN | 0 ETH | 0.00184411 | ||||
Bind | 7953934 | 2115 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7953932 | 2115 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7953926 | 2115 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7846685 | 2132 days ago | IN | 0 ETH | 0.00184411 | ||||
Bind | 7826631 | 2135 days ago | IN | 0 ETH | 0.00000428 | ||||
Bind | 7826540 | 2135 days ago | IN | 0 ETH | 0.00000428 | ||||
Bind | 7825007 | 2135 days ago | IN | 0 ETH | 0.00000878 | ||||
Bind | 7808411 | 2138 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7808339 | 2138 days ago | IN | 0 ETH | 0.00000878 | ||||
Bind | 7808067 | 2138 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7807969 | 2138 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7807460 | 2138 days ago | IN | 0 ETH | 0.00012844 | ||||
Bind | 7806895 | 2138 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7802799 | 2138 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7802795 | 2138 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7801861 | 2139 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7800318 | 2139 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7800313 | 2139 days ago | IN | 0 ETH | 0.00089911 | ||||
Bind | 7765328 | 2144 days ago | IN | 0 ETH | 0.00184411 |
Loading...
Loading
Contract Name:
LRxAirdropAddressBinding
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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"}]
Contract Creation Code
606060405260008054600160a060020a033316600160a060020a0319909116179055610790806100306000396000f30060606040526004361061008d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166349e38908811461009257806350d08433146100ad5780638da5cb5b146101495780639c17c90d14610178578063bd35522b14610191578063ca02620a146101b6578063d52529a4146101db578063f2fde38b14610200575b600080fd5b341561009d57600080fd5b6100ab60ff6004351661021f565b005b34156100b857600080fd5b6100d2600160a060020a036004351660ff602435166102a8565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010e5780820151838201526020016100f6565b50505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015457600080fd5b61015c61039d565b604051600160a060020a03909116815260200160405180910390f35b341561018357600080fd5b6100d260ff600435166103ac565b341561019c57600080fd5b6100ab6004803560ff16906024803590810191013561045c565b34156101c157600080fd5b6100ab6004803560ff16906024803590810191013561049a565b34156101e657600080fd5b6100d2600160a060020a036004351660ff6024351661054b565b341561020b57600080fd5b6100ab600160a060020a03600435166105d5565b600060ff82161161022f57600080fd5b600160a060020a033316600090815260016020908152604080832060ff85168452909152812061025e91610670565b7fb65cc836fa7ae22137213b94607999003bd415a3ad451112e18a5dd04e2317443382604051600160a060020a03909216825260ff1660208201526040908101905180910390a150565b6102b06106b7565b600060ff8316116102c057600080fd5b6001600084600160a060020a0316600160a060020a0316815260200190815260200160002060008360ff1660ff1681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103905780601f1061036557610100808354040283529160200191610390565b820191906000526020600020905b81548152906001019060200180831161037357829003601f168201915b5050505050905092915050565b600054600160a060020a031681565b60026020528060005260406000206000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104545780601f1061042957610100808354040283529160200191610454565b820191906000526020600020905b81548152906001019060200180831161043757829003601f168201915b505050505081565b60005433600160a060020a0390811691161461047757600080fd5b60ff831660009081526002602052604090206104949083836106c9565b50505050565b600060ff8416116104aa57600080fd5b600160a060020a033316600090815260016020908152604080832060ff8716845290915290206104db9083836106c9565b507fa3223ad9ca9b61a866c910b0751d38f78fe7962d9baecf76400dee74eea33ba233848484604051600160a060020a038516815260ff841660208201526060604082018181529082018390526080820184848082843782019150509550505050505060405180910390a1505050565b6001602052816000526040600020602052806000526040600020600091509150508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104545780601f1061042957610100808354040283529160200191610454565b60005433600160a060020a039081169116146105f057600080fd5b600160a060020a038116151561060557600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b50805460018160011615610100020316600290046000825580601f1061069657506106b4565b601f0160209004906000526020600020908101906106b49190610747565b50565b60206040519081016040526000815290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061070a5782800160ff19823516178555610737565b82800160010185558215610737579182015b8281111561073757823582559160200191906001019061071c565b50610743929150610747565b5090565b61076191905b80821115610743576000815560010161074d565b905600a165627a7a72305820d28e9b8298f7a3a4c127dfe0e4b0d7991763faf3b3354b2050da2e69682e4f9f0029
Deployed Bytecode
0x60606040526004361061008d5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166349e38908811461009257806350d08433146100ad5780638da5cb5b146101495780639c17c90d14610178578063bd35522b14610191578063ca02620a146101b6578063d52529a4146101db578063f2fde38b14610200575b600080fd5b341561009d57600080fd5b6100ab60ff6004351661021f565b005b34156100b857600080fd5b6100d2600160a060020a036004351660ff602435166102a8565b60405160208082528190810183818151815260200191508051906020019080838360005b8381101561010e5780820151838201526020016100f6565b50505050905090810190601f16801561013b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561015457600080fd5b61015c61039d565b604051600160a060020a03909116815260200160405180910390f35b341561018357600080fd5b6100d260ff600435166103ac565b341561019c57600080fd5b6100ab6004803560ff16906024803590810191013561045c565b34156101c157600080fd5b6100ab6004803560ff16906024803590810191013561049a565b34156101e657600080fd5b6100d2600160a060020a036004351660ff6024351661054b565b341561020b57600080fd5b6100ab600160a060020a03600435166105d5565b600060ff82161161022f57600080fd5b600160a060020a033316600090815260016020908152604080832060ff85168452909152812061025e91610670565b7fb65cc836fa7ae22137213b94607999003bd415a3ad451112e18a5dd04e2317443382604051600160a060020a03909216825260ff1660208201526040908101905180910390a150565b6102b06106b7565b600060ff8316116102c057600080fd5b6001600084600160a060020a0316600160a060020a0316815260200190815260200160002060008360ff1660ff1681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103905780601f1061036557610100808354040283529160200191610390565b820191906000526020600020905b81548152906001019060200180831161037357829003601f168201915b5050505050905092915050565b600054600160a060020a031681565b60026020528060005260406000206000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104545780601f1061042957610100808354040283529160200191610454565b820191906000526020600020905b81548152906001019060200180831161043757829003601f168201915b505050505081565b60005433600160a060020a0390811691161461047757600080fd5b60ff831660009081526002602052604090206104949083836106c9565b50505050565b600060ff8416116104aa57600080fd5b600160a060020a033316600090815260016020908152604080832060ff8716845290915290206104db9083836106c9565b507fa3223ad9ca9b61a866c910b0751d38f78fe7962d9baecf76400dee74eea33ba233848484604051600160a060020a038516815260ff841660208201526060604082018181529082018390526080820184848082843782019150509550505050505060405180910390a1505050565b6001602052816000526040600020602052806000526040600020600091509150508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104545780601f1061042957610100808354040283529160200191610454565b60005433600160a060020a039081169116146105f057600080fd5b600160a060020a038116151561060557600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b50805460018160011615610100020316600290046000825580601f1061069657506106b4565b601f0160209004906000526020600020908101906106b49190610747565b50565b60206040519081016040526000815290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061070a5782800160ff19823516178555610737565b82800160010185558215610737579182015b8281111561073757823582559160200191906001019061071c565b50610743929150610747565b5090565b61076191905b80821115610743576000815560010161074d565b905600a165627a7a72305820d28e9b8298f7a3a4c127dfe0e4b0d7991763faf3b3354b2050da2e69682e4f9f0029
Swarm Source
bzzr://d28e9b8298f7a3a4c127dfe0e4b0d7991763faf3b3354b2050da2e69682e4f9f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.