Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 36 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Batch Ttransfer ... | 9049111 | 1753 days ago | IN | 2.94949492 ETH | 0.0146713 | ||||
Batch Transfer | 8161393 | 1894 days ago | IN | 0.03 ETH | 0.0074625 | ||||
Batch Transfer | 8161348 | 1894 days ago | IN | 0.06 ETH | 0.01470178 | ||||
Batch Transfer | 8153297 | 1895 days ago | IN | 0.0054 ETH | 0.00132554 | ||||
Batch Transfer | 8153234 | 1895 days ago | IN | 0.0084 ETH | 0.00103954 | ||||
Batch Transfer | 8153203 | 1895 days ago | IN | 0.0084 ETH | 0.00103961 | ||||
Batch Transfer | 8148356 | 1896 days ago | IN | 0.0084 ETH | 0.00102467 | ||||
Batch Transfer | 8148343 | 1896 days ago | IN | 0.0084 ETH | 0.00103948 | ||||
Batch Transfer | 8134241 | 1898 days ago | IN | 0.0084 ETH | 0.00102461 | ||||
Batch Transfer | 8133954 | 1898 days ago | IN | 0.0084 ETH | 0.00204934 | ||||
Batch Transfer | 7882485 | 1938 days ago | IN | 0.024 ETH | 0.00010416 | ||||
Batch Transfer | 7882477 | 1938 days ago | IN | 0.024 ETH | 0.00010416 | ||||
Batch Transfer | 7871481 | 1939 days ago | IN | 0.1 ETH | 0.015 | ||||
Batch Transfer | 7871455 | 1939 days ago | IN | 0.1 ETH | 0.024 | ||||
Batch Transfer | 7871368 | 1939 days ago | IN | 0.002 ETH | 0.00099976 | ||||
Batch Transfer | 7749149 | 1959 days ago | IN | 0.014 ETH | 0.00102461 | ||||
Batch Transfer | 7749085 | 1959 days ago | IN | 0.014 ETH | 0.00155941 | ||||
Batch Transfer | 7677068 | 1970 days ago | IN | 0.002 ETH | 0.00015611 | ||||
Batch Transfer | 7669171 | 1971 days ago | IN | 0.042 ETH | 0.00307363 | ||||
Batch Transfer | 7669156 | 1971 days ago | IN | 0.042 ETH | 0.00307344 | ||||
Batch Transfer | 7669132 | 1971 days ago | IN | 0.042 ETH | 0.00013771 | ||||
Batch Transfer | 7669126 | 1971 days ago | IN | 0.042 ETH | 0.00204922 | ||||
Batch Transfer | 7669056 | 1971 days ago | IN | 0.042 ETH | 0.00207922 | ||||
Batch Transfer | 7669047 | 1971 days ago | IN | 0.042 ETH | 0.00311863 | ||||
Batch Transfer | 7669040 | 1971 days ago | IN | 0.042 ETH | 0.00311902 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH | ||||
9049111 | 1753 days ago | 0.02020202 ETH |
Loading...
Loading
Contract Name:
BatchTransferEtherAndVoken
Compiler Version
v0.5.7+commit.6da8b019
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-04-28 */ pragma solidity ^0.5.7; // Batch transfer Ether and Voken // // More info: // https://vision.network // https://voken.io // // Contact us: // [email protected] // [email protected] /** * @title SafeMath for uint256 * @dev Unsigned math operations with safety checks that revert on error. */ library SafeMath256 { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { if (a == 0) { return 0; } c = a * b; assert(c / a == b); return c; } } /** * @title Ownable */ contract Ownable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract * to the sender account. */ constructor () internal { _owner = msg.sender; } /** * @return The address of the owner. */ function owner() public view returns (address) { return _owner; } /** * @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) external onlyOwner { require(newOwner != address(0)); address __previousOwner = _owner; _owner = newOwner; emit OwnershipTransferred(__previousOwner, newOwner); } /** * @dev Rescue compatible ERC20 Token * * @param tokenAddr ERC20 The address of the ERC20 token contract * @param receiver The address of the receiver * @param amount uint256 */ function rescueTokens(address tokenAddr, address receiver, uint256 amount) external onlyOwner { IERC20 __token = IERC20(tokenAddr); require(receiver != address(0)); uint256 __balance = __token.balanceOf(address(this)); require(__balance >= amount); assert(__token.transfer(receiver, amount)); } } /** * @title ERC20 interface * @dev see https://eips.ethereum.org/EIPS/eip-20 */ interface IERC20{ function balanceOf(address owner) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); } /** * @title Batch Transfer Ether And Voken */ contract BatchTransferEtherAndVoken is Ownable{ using SafeMath256 for uint256; IERC20 VOKEN = IERC20(0x82070415FEe803f94Ce5617Be1878503e58F0a6a); /** * @dev Batch transfer both. */ function batchTransfer(address payable[] memory accounts, uint256 etherValue, uint256 vokenValue) public payable { uint256 __etherBalance = address(this).balance; uint256 __vokenAllowance = VOKEN.allowance(msg.sender, address(this)); require(__etherBalance >= etherValue.mul(accounts.length)); require(__vokenAllowance >= vokenValue.mul(accounts.length)); for (uint256 i = 0; i < accounts.length; i++) { accounts[i].transfer(etherValue); assert(VOKEN.transferFrom(msg.sender, accounts[i], vokenValue)); } } /** * @dev Batch transfer Ether. */ function batchTtransferEther(address payable[] memory accounts, uint256 etherValue) public payable { uint256 __etherBalance = address(this).balance; require(__etherBalance >= etherValue.mul(accounts.length)); for (uint256 i = 0; i < accounts.length; i++) { accounts[i].transfer(etherValue); } } /** * @dev Batch transfer Voken. */ function batchTransferVoken(address[] memory accounts, uint256 vokenValue) public { uint256 __vokenAllowance = VOKEN.allowance(msg.sender, address(this)); require(__vokenAllowance >= vokenValue.mul(accounts.length)); for (uint256 i = 0; i < accounts.length; i++) { assert(VOKEN.transferFrom(msg.sender, accounts[i], vokenValue)); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"accounts","type":"address[]"},{"name":"etherValue","type":"uint256"},{"name":"vokenValue","type":"uint256"}],"name":"batchTransfer","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"accounts","type":"address[]"},{"name":"etherValue","type":"uint256"}],"name":"batchTtransferEther","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"accounts","type":"address[]"},{"name":"vokenValue","type":"uint256"}],"name":"batchTransferVoken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddr","type":"address"},{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
6080604052600180546001600160a01b03199081167382070415fee803f94ce5617be1878503e58f0a6a17909155600080549091163317905561092e806100476000396000f3fe6080604052600436106100555760003560e01c806307446d551461005a578063416c2d3b146101045780637713e926146101a95780638da5cb5b1461025b578063cea9d26f1461028c578063f2fde38b146102cf575b600080fd5b6101026004803603606081101561007057600080fd5b81019060208101813564010000000081111561008b57600080fd5b82018360208201111561009d57600080fd5b803590602001918460208302840111640100000000831117156100bf57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505082359350505060200135610302565b005b6101026004803603604081101561011a57600080fd5b81019060208101813564010000000081111561013557600080fd5b82018360208201111561014757600080fd5b8035906020019184602083028401116401000000008311171561016957600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050913592506104fb915050565b3480156101b557600080fd5b50610102600480360360408110156101cc57600080fd5b8101906020810181356401000000008111156101e757600080fd5b8201836020820111156101f957600080fd5b8035906020019184602083028401116401000000008311171561021b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250610584915050565b34801561026757600080fd5b50610270610702565b604080516001600160a01b039092168252519081900360200190f35b34801561029857600080fd5b50610102600480360360608110156102af57600080fd5b506001600160a01b03813581169160208101359091169060400135610711565b3480156102db57600080fd5b50610102600480360360208110156102f257600080fd5b50356001600160a01b031661085d565b60015460408051600160e11b636eb1769f028152336004820152306024820181905291519131926000926001600160a01b039091169163dd62ed3e916044808301926020929190829003018186803b15801561035d57600080fd5b505afa158015610371573d6000803e3d6000fd5b505050506040513d602081101561038757600080fd5b5051855190915061039f90859063ffffffff6108d716565b8210156103ab57600080fd5b84516103be90849063ffffffff6108d716565b8110156103ca57600080fd5b60005b85518110156104f3578581815181106103e257fe5b60200260200101516001600160a01b03166108fc869081150290604051600060405180830381858888f19350505050158015610422573d6000803e3d6000fd5b5060015486516001600160a01b03909116906323b872dd90339089908590811061044857fe5b6020026020010151876040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b1580156104b957600080fd5b505af11580156104cd573d6000803e3d6000fd5b505050506040513d60208110156104e357600080fd5b50516104eb57fe5b6001016103cd565b505050505050565b815130319061051190839063ffffffff6108d716565b81101561051d57600080fd5b60005b835181101561057e5783818151811061053557fe5b60200260200101516001600160a01b03166108fc849081150290604051600060405180830381858888f19350505050158015610575573d6000803e3d6000fd5b50600101610520565b50505050565b60015460408051600160e11b636eb1769f02815233600482015230602482015290516000926001600160a01b03169163dd62ed3e916044808301926020929190829003018186803b1580156105d857600080fd5b505afa1580156105ec573d6000803e3d6000fd5b505050506040513d602081101561060257600080fd5b5051835190915061061a90839063ffffffff6108d716565b81101561062657600080fd5b60005b835181101561057e5760015484516001600160a01b03909116906323b872dd90339087908590811061065757fe5b6020026020010151866040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b1580156106c857600080fd5b505af11580156106dc573d6000803e3d6000fd5b505050506040513d60208110156106f257600080fd5b50516106fa57fe5b600101610629565b6000546001600160a01b031690565b6000546001600160a01b0316331461072857600080fd5b826001600160a01b03831661073c57600080fd5b60408051600160e01b6370a0823102815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561078957600080fd5b505afa15801561079d573d6000803e3d6000fd5b505050506040513d60208110156107b357600080fd5b50519050828110156107c457600080fd5b816001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561082457600080fd5b505af1158015610838573d6000803e3d6000fd5b505050506040513d602081101561084e57600080fd5b505161085657fe5b5050505050565b6000546001600160a01b0316331461087457600080fd5b6001600160a01b03811661088757600080fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826108e6575060006108fc565b50818102818382816108f457fe5b04146108fc57fe5b9291505056fea165627a7a7230582028a7f9473cd74a35d7d7da0082145011b22e3b540b0624b371f0b9d67e450ef60029
Deployed Bytecode
0x6080604052600436106100555760003560e01c806307446d551461005a578063416c2d3b146101045780637713e926146101a95780638da5cb5b1461025b578063cea9d26f1461028c578063f2fde38b146102cf575b600080fd5b6101026004803603606081101561007057600080fd5b81019060208101813564010000000081111561008b57600080fd5b82018360208201111561009d57600080fd5b803590602001918460208302840111640100000000831117156100bf57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505082359350505060200135610302565b005b6101026004803603604081101561011a57600080fd5b81019060208101813564010000000081111561013557600080fd5b82018360208201111561014757600080fd5b8035906020019184602083028401116401000000008311171561016957600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955050913592506104fb915050565b3480156101b557600080fd5b50610102600480360360408110156101cc57600080fd5b8101906020810181356401000000008111156101e757600080fd5b8201836020820111156101f957600080fd5b8035906020019184602083028401116401000000008311171561021b57600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295505091359250610584915050565b34801561026757600080fd5b50610270610702565b604080516001600160a01b039092168252519081900360200190f35b34801561029857600080fd5b50610102600480360360608110156102af57600080fd5b506001600160a01b03813581169160208101359091169060400135610711565b3480156102db57600080fd5b50610102600480360360208110156102f257600080fd5b50356001600160a01b031661085d565b60015460408051600160e11b636eb1769f028152336004820152306024820181905291519131926000926001600160a01b039091169163dd62ed3e916044808301926020929190829003018186803b15801561035d57600080fd5b505afa158015610371573d6000803e3d6000fd5b505050506040513d602081101561038757600080fd5b5051855190915061039f90859063ffffffff6108d716565b8210156103ab57600080fd5b84516103be90849063ffffffff6108d716565b8110156103ca57600080fd5b60005b85518110156104f3578581815181106103e257fe5b60200260200101516001600160a01b03166108fc869081150290604051600060405180830381858888f19350505050158015610422573d6000803e3d6000fd5b5060015486516001600160a01b03909116906323b872dd90339089908590811061044857fe5b6020026020010151876040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b1580156104b957600080fd5b505af11580156104cd573d6000803e3d6000fd5b505050506040513d60208110156104e357600080fd5b50516104eb57fe5b6001016103cd565b505050505050565b815130319061051190839063ffffffff6108d716565b81101561051d57600080fd5b60005b835181101561057e5783818151811061053557fe5b60200260200101516001600160a01b03166108fc849081150290604051600060405180830381858888f19350505050158015610575573d6000803e3d6000fd5b50600101610520565b50505050565b60015460408051600160e11b636eb1769f02815233600482015230602482015290516000926001600160a01b03169163dd62ed3e916044808301926020929190829003018186803b1580156105d857600080fd5b505afa1580156105ec573d6000803e3d6000fd5b505050506040513d602081101561060257600080fd5b5051835190915061061a90839063ffffffff6108d716565b81101561062657600080fd5b60005b835181101561057e5760015484516001600160a01b03909116906323b872dd90339087908590811061065757fe5b6020026020010151866040518463ffffffff1660e01b815260040180846001600160a01b03166001600160a01b03168152602001836001600160a01b03166001600160a01b031681526020018281526020019350505050602060405180830381600087803b1580156106c857600080fd5b505af11580156106dc573d6000803e3d6000fd5b505050506040513d60208110156106f257600080fd5b50516106fa57fe5b600101610629565b6000546001600160a01b031690565b6000546001600160a01b0316331461072857600080fd5b826001600160a01b03831661073c57600080fd5b60408051600160e01b6370a0823102815230600482015290516000916001600160a01b038416916370a0823191602480820192602092909190829003018186803b15801561078957600080fd5b505afa15801561079d573d6000803e3d6000fd5b505050506040513d60208110156107b357600080fd5b50519050828110156107c457600080fd5b816001600160a01b031663a9059cbb85856040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561082457600080fd5b505af1158015610838573d6000803e3d6000fd5b505050506040513d602081101561084e57600080fd5b505161085657fe5b5050505050565b6000546001600160a01b0316331461087457600080fd5b6001600160a01b03811661088757600080fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826108e6575060006108fc565b50818102818382816108f457fe5b04146108fc57fe5b9291505056fea165627a7a7230582028a7f9473cd74a35d7d7da0082145011b22e3b540b0624b371f0b9d67e450ef60029
Swarm Source
bzzr://28a7f9473cd74a35d7d7da0082145011b22e3b540b0624b371f0b9d67e450ef6
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.