15M+ users trust MoonPay. Checkout with your preferred payment method.
Ready to onboard to Ethereum? With MetaMask Portfolio, you're in control.
Collect points for eligible actions and use multipliers to win big.
Ready to simplify your web3 experience? Try the all-in-one web3 app trusted by millions worldwide.
Buy, sell, and exchange 200+ cryptocurrencies effortlessly. Get your free crypto debit card and pay with crypto anywhere.
Everyday giveaways up to 100 ETH, Lucky Spins. Deposit BONUS 300% and Cashbacks!
Play all your favorite Slots & Live Games, including Plinko, Aviator and Crash! Truly anonymous casino.
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Play 100s of games anonymously with all major cryptos. Join CryptoWins & start winning!
Anonymous play on awesome games - sign up now for 25 free jackpot spins - worth $100s!
Overview
ETH Balance
Eth Value
$0.00Token Holdings
Could not find any matches!
- ERC-20 Tokens (22)15,471.66268496 FETFetch (FET)$32,799.92@2.12207,397.13494407 OCEANOcean Token (OCEAN)$186,246.98@0.89829.5883 OMGOMG Network (OMG)$20.90@0.706330.093844 QNTQuant (QNT)$2,763.22@91.82208,600 TRUTrueFi (TRU)$41,847.87@0.200666.01999999 WTCWalton (WTC)$0.08@0.00112 LINKChainLink To... (LINK)$36.72@18.36296.775633 USDTTether USD (USDT)$296.58@0.999321 UNIUniswap (UNI)$207.69@9.89650 USDCUSDC (USDC)$650.00@1.001,717.49662008 ASMASSEMBLE (ASM)$62.05@0.03615.42 BRDBRD (BRD)1,804.38519657 ORNOrion Protoc... (ORN)$2,976.94@1.64980.98978359 PRIAPRIA (PRIA)$0.10@0.09910.68 HQG环球股 (HQG)1 APUApu Apustaja (APU)$0.00@0.00061.4 TokenERC-20 TOKEN*[Suspicious]21,603 TokenERC-20 TOKEN*[Suspicious]4,999 TokenERC-20 TOKEN*[Suspicious]15 TokenERC-20 TOKEN*[Suspicious]15 TokenERC-20 TOKEN*[Suspicious]4,999 TokenERC-20 TOKEN*[Suspicious]NFT Tokens (17)! fetpool.com! fetpool.comERC-1155Airdropfetchnetwork.orgERC-1155Airdropfetchprotocol.comERC-1155Airdropquant.giftsERC-1155QUANT GOLD PASSQUANT: Gold Airdrop PassERC-1155Airdropquantprotocol.netERC-1155claim rewards on univ4labs.netuniv4labs.netERC-1155ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]
Multichain Info
2 addresses found via- Transactions
- Internal Transactions
- Token Transfers (ERC-20)
- NFT Transfers
- Contract
- Events
- Analytics
- Multichain Portfolio
- Cards New
- Info
Advanced Filter- Filter by Tx Type:
- Tx
- Internal Tx
- ERC-20
- NFTs
Transaction Hash MethodBlockFromToValue 0x6c73ae966f57052e3e885d921fedcd90fe7b4511f83a9ea48da0fab19286b291 Transfer (pending) 2024-06-02 1:17:19 29 secs ago 1717291039 IN 0 ETH (Pending) (Pending) 0x2cc3f65e8e4e0c21cc923cf205523201d1d4bce59a7dcea2c987b32ccdbbc5f9 Transfer (pending) 2024-06-02 1:17:15 33 secs ago 1717291035 IN 0 ETH (Pending) (Pending) 0xf4e18700f663302c439487718135cf51d00597c09b2695e6e897d6383a5c5975 Transfer (pending) 2024-06-02 1:14:52 2 mins ago 1717290892 IN 0 ETH (Pending) (Pending) 0xc1b3f44f1d94e942564b5b5fad10d1b4697d395a0f309002b4e3298003fec4a1 Transfer (pending) 2024-06-02 1:11:35 6 mins ago 1717290695 IN 0 ETH (Pending) (Pending) 0x18f28697730d0220feb218d29630c15172ceec23219eb42a123d77898f3f0a17 Transfer (pending) 2024-06-01 4:06:52 21 hrs ago 1717214812 IN 0 ETH (Pending) (Pending) 0x6fb9f215c77f67003d4281d2985f4d60a39c0e953edde54949a7e970e80f10f7 Transfer (pending) 2024-05-31 21:11:16 28 hrs ago 1717189876 IN 0 ETH (Pending) (Pending) 0x2cc48d873c273346db9c614f0a886432262cde4d7b6bf32f2816bef4a320165c Approve (pending) 2024-05-29 18:38:42 3 days ago 1717007922 IN 0 ETH (Pending) (Pending) 0xc0966f525ed0015a36aabae495a0c3f19ddb7e5584d30855994dc317f78aa1d5 Approve (pending) 2024-05-29 17:10:02 3 days ago 1717002602 IN 0 ETH (Pending) (Pending) 0xa4a2c5c2b1fdd07510d03221b3334451ba5a89c833f2dd8e874607bdd11cc5c1 Transfer (pending) 2024-05-29 14:11:11 3 days ago 1716991871 IN 0 ETH (Pending) (Pending) Transfer 20000726 2024-06-02 1:02:23 15 mins ago 1717290143 IN 0 ETH 0.00019854 5.3807895 Transfer 20000715 2024-06-02 1:00:11 17 mins ago 1717290011 IN 0 ETH 0.00018443 5 Transfer 20000654 2024-06-02 0:47:59 29 mins ago 1717289279 IN 0 ETH 0.0002582 7 Approve 20000649 2024-06-02 0:46:59 30 mins ago 1717289219 IN 0 ETH 0.00021351 4.40203797 Transfer 20000585 2024-06-02 0:33:59 43 mins ago 1717288439 IN 0 ETH 0.00046892 7.97362587 Transfer 20000577 2024-06-02 0:32:23 45 mins ago 1717288343 IN 0 ETH 0.000302 7.24477061 Transfer 20000470 2024-06-02 0:10:59 1 hr ago 1717287059 IN 0 ETH 0.00050625 4.75367626 Transfer 20000456 2024-06-02 0:08:11 1 hr ago 1717286891 IN 0 ETH 0.00022503 6.09891826 Transfer 20000456 2024-06-02 0:08:11 1 hr ago 1717286891 IN 0 ETH 0.00022503 6.09891826 Transfer 20000433 2024-06-02 0:03:35 1 hr ago 1717286615 IN 0 ETH 0.00021869 5.92712412 Transfer 20000416 2024-06-02 0:00:11 1 hr ago 1717286411 IN 0 ETH 0.00022332 6.05457473 Transfer 20000401 2024-06-01 23:57:11 1 hr ago 1717286231 IN 0 ETH 0.0004171 10 Transfer 20000379 2024-06-01 23:52:47 1 hr ago 1717285967 IN 0 ETH 0.00083251 7.81721867 Transfer 20000328 2024-06-01 23:42:35 1 hr ago 1717285355 IN 0 ETH 0.0005198 4.87981882 Transfer 20000317 2024-06-01 23:40:23 1 hr ago 1717285223 IN 0 ETH 0.00057919 5.69455852 Transfer 20000303 2024-06-01 23:37:35 1 hr ago 1717285055 IN 0 ETH 0.00054246 5.33404927 Latest 1 internal transaction
Advanced mode:Parent Transaction Hash Block From To Value 11143534 2020-10-28 6:39:04 1312 days ago 1603867144 0.3 ETH Loading...LoadingContract Name:OceanToken
Compiler Versionv0.5.3+commit.10d17f24
Optimization Enabled:Yes with 200 runs
Other Settings:default evmVersionContract Source Code (Solidity)
- interface IERC20
- - function transfer(address to, uint256 ...
- - function approve(address spender, uin ...
- - function transferFrom(address from, a ...
- - function totalSupply()
- - function balanceOf(address who)
- - function allowance(address owner, add ...
- library SafeMath
- - function mul(uint256 a, uint256 b)
- - function div(uint256 a, uint256 b)
- - function sub(uint256 a, uint256 b)
- - function add(uint256 a, uint256 b)
- - function mod(uint256 a, uint256 b)
- contract ERC20 is IERC20
- - function totalSupply()
- - function balanceOf(address owner)
- - function allowance(address owner, add ...
- - function transfer(address to, uint256 ...
- - function approve(address spender, uin ...
- - function transferFrom(address from, a ...
- - function increaseAllowance(address sp ...
- - function decreaseAllowance(address sp ...
- - function _transfer(address from, addr ...
- - function _mint(address account, uint2 ...
- - function _burn(address account, uint2 ...
- - function _burnFrom(address account, u ...
- library Roles
- - function add(Role storage role, addre ...
- - function remove(Role storage role, ad ...
- - function has(Role storage role, addre ...
- contract MinterRole
- - function isMinter(address account)
- - function addMinter(address account)
- - function renounceMinter()
- - function _addMinter(address account)
- - function _removeMinter(address accoun ...
- contract ERC20Mintable is ERC20, M ...
- - function mint(address to, uint256 val ...
- contract ERC20Capped is ERC20Minta ...
- - function cap()
- - function _mint(address account, uint2 ...
- contract ERC20Detailed is IERC20
- - function name()
- - function symbol()
- - function decimals()
- contract PauserRole
- - function isPauser(address account)
- - function addPauser(address account)
- - function renouncePauser()
- - function _addPauser(address account)
- - function _removePauser(address accoun ...
- contract Pausable is PauserRole
- - function paused()
- - function pause()
- - function unpause()
- contract ERC20Pausable is ERC20, P ...
- - function transfer(address to, uint256 ...
- - function transferFrom(address from, a ...
- - function approve(address spender, uin ...
- - function increaseAllowance(address sp ...
- - function decreaseAllowance(address sp ...
- contract Ownable
- - function owner()
- - function isOwner()
- - function renounceOwnership()
- - function transferOwnership(address ne ...
- - function _transferOwnership(address n ...
- contract OceanToken is Ownable, ER ... *
- - function transfer(
- - function transferFrom(
- - function getAccounts(
- - function getAccountsLength()
- - function kill()
- - function tryToAddTokenHolder(
- - function updateTokenHolders(
/** *Submitted for verification at Etherscan.io on 2020-09-27 */ pragma solidity 0.5.3; /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md * Originally based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol * * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for * all accounts just by listening to said events. Note that this isn't required by the specification, and other * compliant implementations may not do it. */ contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param owner address The address which owns the funds. * @param spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowed[owner][spender]; } /** * @dev Transfer token for a specified address * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. */ function approve(address spender, uint256 value) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another. * Note that while this function emits an Approval event, this is not required as per the specification, * and other compliant implementations may not emit the event. * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred */ function transferFrom(address from, address to, uint256 value) public returns (bool) { _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value); _transfer(from, to, value); emit Approval(from, msg.sender, _allowed[from][msg.sender]); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = _allowed[msg.sender][spender].add(addedValue); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = _allowed[msg.sender][spender].sub(subtractedValue); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Internal function that burns an amount of the token of a given * account, deducting from the sender's allowance for said account. Uses the * internal burn function. * Emits an Approval event (reflecting the reduced allowance). * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { _allowed[account][msg.sender] = _allowed[account][msg.sender].sub(value); _burn(account, value); emit Approval(account, msg.sender, _allowed[account][msg.sender]); } } /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an account access to this role */ function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; } /** * @dev remove an account's access to this role */ function remove(Role storage role, address account) internal { require(account != address(0)); require(has(role, account)); role.bearer[account] = false; } /** * @dev check if an account has this role * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0)); return role.bearer[account]; } } contract MinterRole { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(msg.sender); } modifier onlyMinter() { require(isMinter(msg.sender)); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(msg.sender); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } } /** * @title ERC20Mintable * @dev ERC20 minting logic */ contract ERC20Mintable is ERC20, MinterRole { /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param value The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address to, uint256 value) public onlyMinter returns (bool) { _mint(to, value); return true; } } /** * @title Capped token * @dev Mintable token with a token cap. */ contract ERC20Capped is ERC20Mintable { uint256 private _cap; constructor (uint256 cap) public { require(cap > 0); _cap = cap; } /** * @return the cap for the token minting. */ function cap() public view returns (uint256) { return _cap; } function _mint(address account, uint256 value) internal { require(totalSupply().add(value) <= _cap); super._mint(account, value); } } /** * @title ERC20Detailed token * @dev The decimals are only for visualization purposes. * All the operations are done using the smallest and indivisible token unit, * just as on Ethereum all the operations are done in wei. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @return the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint8) { return _decimals; } } contract PauserRole { using Roles for Roles.Role; event PauserAdded(address indexed account); event PauserRemoved(address indexed account); Roles.Role private _pausers; constructor () internal { _addPauser(msg.sender); } modifier onlyPauser() { require(isPauser(msg.sender)); _; } function isPauser(address account) public view returns (bool) { return _pausers.has(account); } function addPauser(address account) public onlyPauser { _addPauser(account); } function renouncePauser() public { _removePauser(msg.sender); } function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); } function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is PauserRole { event Paused(address account); event Unpaused(address account); bool private _paused; constructor () internal { _paused = false; } /** * @return true if the contract is paused, false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(msg.sender); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(msg.sender); } } /** * @title Pausable token * @dev ERC20 modified with pausable transfers. **/ contract ERC20Pausable is ERC20, Pausable { function transfer(address to, uint256 value) public whenNotPaused returns (bool) { return super.transfer(to, value); } function transferFrom(address from, address to, uint256 value) public whenNotPaused returns (bool) { return super.transferFrom(from, to, value); } function approve(address spender, uint256 value) public whenNotPaused returns (bool) { return super.approve(spender, value); } function increaseAllowance(address spender, uint addedValue) public whenNotPaused returns (bool success) { return super.increaseAllowance(spender, addedValue); } function decreaseAllowance(address spender, uint subtractedValue) public whenNotPaused returns (bool success) { return super.decreaseAllowance(spender, subtractedValue); } } /** * @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 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; emit OwnershipTransferred(address(0), _owner); } /** * @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(isOwner()); _; } /** * @return true if `msg.sender` is the owner of the contract. */ function isOwner() public view returns (bool) { return msg.sender == _owner; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @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) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0)); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @title Ocean Protocol ERC20 Token Contract * @author Ocean Protocol Team * @dev Implementation of the Ocean Token. */ contract OceanToken is Ownable, ERC20Pausable, ERC20Detailed, ERC20Capped { using SafeMath for uint256; uint8 constant DECIMALS = 18; uint256 constant CAP = 1410000000; uint256 TOTALSUPPLY = CAP.mul(uint256(10) ** DECIMALS); // keep track token holders address[] private accounts = new address[](0); mapping(address => bool) private tokenHolders; /** * @dev Ocean Token constructor * @param contractOwner refers to the owner of the contract */ constructor( address contractOwner ) public ERC20Detailed('Ocean Token', 'OCEAN', DECIMALS) ERC20Capped(TOTALSUPPLY) Ownable() { addPauser(contractOwner); renouncePauser(); addMinter(contractOwner); renounceMinter(); transferOwnership(contractOwner); } /** * @dev transfer tokens when not paused (pausable transfer function) * @param _to receiver address * @param _value amount of tokens * @return true if receiver is illegible to receive tokens */ function transfer( address _to, uint256 _value ) public returns (bool) { bool success = super.transfer(_to, _value); if (success) { updateTokenHolders(msg.sender, _to); } return success; } /** * @dev transferFrom transfers tokens only when token is not paused * @param _from sender address * @param _to receiver address * @param _value amount of tokens * @return true if receiver is illegible to receive tokens */ function transferFrom( address _from, address _to, uint256 _value ) public returns (bool) { bool success = super.transferFrom(_from, _to, _value); if (success) { updateTokenHolders(_from, _to); } return success; } /** * @dev retrieve the address & token balance of token holders (each time retrieve partial from the list) * @param _start index * @param _end index * @return array of accounts and array of balances */ function getAccounts( uint256 _start, uint256 _end ) external view onlyOwner returns (address[] memory, uint256[] memory) { require( _start <= _end && _end < accounts.length, 'Array index out of bounds' ); uint256 length = _end.sub(_start).add(1); address[] memory _tokenHolders = new address[](length); uint256[] memory _tokenBalances = new uint256[](length); for (uint256 i = _start; i <= _end; i++) { address account = accounts[i]; uint256 accountBalance = super.balanceOf(account); if (accountBalance > 0) { _tokenBalances[i] = accountBalance; _tokenHolders[i] = account; } } return (_tokenHolders, _tokenBalances); } /** * @dev get length of account list */ function getAccountsLength() external view onlyOwner returns (uint256) { return accounts.length; } /** * @dev kill the contract and destroy all tokens */ function kill() external onlyOwner { selfdestruct(address(uint160(owner()))); } /** * @dev fallback function prevents ether transfer to this contract */ function() external payable { revert('Invalid ether transfer'); } /* * @dev tryToAddTokenHolder try to add the account to the token holders structure * @param account address */ function tryToAddTokenHolder( address account ) private { if (!tokenHolders[account] && super.balanceOf(account) > 0) { accounts.push(account); tokenHolders[account] = true; } } /* * @dev updateTokenHolders maintains the accounts array and set the address as a promising token holder * @param sender address * @param receiver address. */ function updateTokenHolders( address sender, address receiver ) private { tryToAddTokenHolder(sender); tryToAddTokenHolder(receiver); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getAccountsLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isPauser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_start","type":"uint256"},{"name":"_end","type":"uint256"}],"name":"getAccounts","outputs":[{"name":"","type":"address[]"},{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"contractOwner","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
60806040526200002a63540ae480670de0b6b3a7640000640100000000620015676200021982021704565b600b5560408051600081526020810191829052516200004c91600c91620005f9565b503480156200005a57600080fd5b5060405160208062001d16833981018060405260208110156200007c57600080fd5b5051600b80546040805180820182529283527f4f6365616e20546f6b656e00000000000000000000000000000000000000000060208481019190915281518083018352600581527f4f4345414e0000000000000000000000000000000000000000000000000000009181019190915260008054600160a060020a031916331780825592519394939192601292600160a060020a0391909116919060008051602062001cf6833981519152908290a36200013e3364010000000062000251810204565b6005805460ff1916905582516200015d90600690602086019062000663565b5081516200017390600790602085019062000663565b506008805460ff191660ff92909216919091179055506200019f905033640100000000620002a3810204565b60008111620001ad57600080fd5b600a55620001c481640100000000620002f5810204565b620001d76401000000006200032c810204565b620001eb8164010000000062000342810204565b620001fe64010000000062000376810204565b62000212816401000000006200038a810204565b5062000728565b60008215156200022c575060006200024b565b8282028284828115156200023c57fe5b04146200024857600080fd5b90505b92915050565b6200026c60048264010000000062001441620003bd82021704565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b620002be60098264010000000062001441620003bd82021704565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b620003093364010000000062000418810204565b15156200031557600080fd5b620003298164010000000062000251810204565b50565b620003403364010000000062000435810204565b565b620003563364010000000062000487810204565b15156200036257600080fd5b6200032981640100000000620002a3810204565b6200034033640100000000620004a4810204565b6200039d640100000000620004f6810204565b1515620003a957600080fd5b620003298164010000000062000508810204565b600160a060020a0381161515620003d357600080fd5b620003e8828264010000000062000568810204565b15620003f357600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b60006200024b60048364010000000062000f736200056882021704565b62000450600482640100000000620013f5620005a082021704565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b60006200024b60098364010000000062000f736200056882021704565b620004bf600982640100000000620013f5620005a082021704565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b600054600160a060020a031633145b90565b600160a060020a03811615156200051e57600080fd5b60008054604051600160a060020a038085169392169160008051602062001cf683398151915291a360008054600160a060020a031916600160a060020a0392909216919091179055565b6000600160a060020a03821615156200058057600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b600160a060020a0381161515620005b657600080fd5b620005cb828264010000000062000568810204565b1515620005d757600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b82805482825590600052602060002090810192821562000651579160200282015b82811115620006515782518254600160a060020a031916600160a060020a039091161782556020909201916001909101906200061a565b506200065f929150620006e4565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620006a657805160ff1916838001178555620006d6565b82800160010185558215620006d6579182015b82811115620006d6578251825591602001919060010190620006b9565b506200065f9291506200070b565b6200050591905b808211156200065f578054600160a060020a0319168155600101620006eb565b6200050591905b808211156200065f576000815560010162000712565b6115be80620007386000396000f3fe6080604052600436106101df576000357c01000000000000000000000000000000000000000000000000000000009004806370a0823111610114578063983b2d56116100b2578063aa271e1a11610081578063aa271e1a1461067c578063dd62ed3e146106af578063e68a7c3b146106ea578063f2fde38b146107b3576101df565b8063983b2d56146105c257806398650275146105f5578063a457c2d71461060a578063a9059cbb14610643576101df565b80638456cb59116100ee5780638456cb59146105525780638da5cb5b146105675780638f32d59b1461059857806395d89b41146105ad576101df565b806370a08231146104d7578063715018a61461050a57806382dc1ec41461051f576101df565b8063395093511161018157806341c0e1b51161015b57806341c0e1b51461046557806346fbf68e1461047a5780635c975abb146104ad5780636ef8d66d146104c2576101df565b806339509351146103dc5780633f4ba83a1461041557806340c10f191461042c576101df565b806318160ddd116101bd57806318160ddd1461034457806323b872dd14610359578063313ce5671461039c578063355274ea146103c7576101df565b806306fdde0314610246578063095ea7b3146102d057806314f326a11461031d575b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f496e76616c6964206574686572207472616e7366657200000000000000000000604482015290519081900360640190fd5b34801561025257600080fd5b5061025b6107e6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029557818101518382015260200161027d565b50505050905090810190601f1680156102c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102dc57600080fd5b50610309600480360360408110156102f357600080fd5b50600160a060020a03813516906020013561087c565b604080519115158252519081900360200190f35b34801561032957600080fd5b506103326108a2565b60408051918252519081900360200190f35b34801561035057600080fd5b506103326108be565b34801561036557600080fd5b506103096004803603606081101561037c57600080fd5b50600160a060020a038135811691602081013590911690604001356108c4565b3480156103a857600080fd5b506103b16108ec565b6040805160ff9092168252519081900360200190f35b3480156103d357600080fd5b506103326108f5565b3480156103e857600080fd5b50610309600480360360408110156103ff57600080fd5b50600160a060020a0381351690602001356108fb565b34801561042157600080fd5b5061042a610918565b005b34801561043857600080fd5b506103096004803603604081101561044f57600080fd5b50600160a060020a03813516906020013561097c565b34801561047157600080fd5b5061042a6109a5565b34801561048657600080fd5b506103096004803603602081101561049d57600080fd5b5035600160a060020a03166109cb565b3480156104b957600080fd5b506103096109de565b3480156104ce57600080fd5b5061042a6109e7565b3480156104e357600080fd5b50610332600480360360208110156104fa57600080fd5b5035600160a060020a03166109f2565b34801561051657600080fd5b5061042a610a0d565b34801561052b57600080fd5b5061042a6004803603602081101561054257600080fd5b5035600160a060020a0316610a77565b34801561055e57600080fd5b5061042a610a97565b34801561057357600080fd5b5061057c610afd565b60408051600160a060020a039092168252519081900360200190f35b3480156105a457600080fd5b50610309610b0c565b3480156105b957600080fd5b5061025b610b1d565b3480156105ce57600080fd5b5061042a600480360360208110156105e557600080fd5b5035600160a060020a0316610b7e565b34801561060157600080fd5b5061042a610b9b565b34801561061657600080fd5b506103096004803603604081101561062d57600080fd5b50600160a060020a038135169060200135610ba4565b34801561064f57600080fd5b506103096004803603604081101561066657600080fd5b50600160a060020a038135169060200135610bc1565b34801561068857600080fd5b506103096004803603602081101561069f57600080fd5b5035600160a060020a0316610be0565b3480156106bb57600080fd5b50610332600480360360408110156106d257600080fd5b50600160a060020a0381358116916020013516610bf3565b3480156106f657600080fd5b5061071a6004803603604081101561070d57600080fd5b5080359060200135610c1e565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561075e578181015183820152602001610746565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561079d578181015183820152602001610785565b5050505090500194505050505060405180910390f35b3480156107bf57600080fd5b5061042a600480360360208110156107d657600080fd5b5035600160a060020a0316610dd1565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b5050505050905090565b60055460009060ff161561088f57600080fd5b6108998383610ded565b90505b92915050565b60006108ac610b0c565b15156108b757600080fd5b50600c5490565b60035490565b6000806108d2858585610e6b565b905080156108e4576108e48585610e89565b949350505050565b60085460ff1690565b600a5490565b60055460009060ff161561090e57600080fd5b6108998383610e9f565b610921336109cb565b151561092c57600080fd5b60055460ff16151561093d57600080fd5b6005805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b600061098733610be0565b151561099257600080fd5b61099c8383610f4f565b50600192915050565b6109ad610b0c565b15156109b857600080fd5b6109c0610afd565b600160a060020a0316ff5b600061089c60048363ffffffff610f7316565b60055460ff1690565b6109f033610faa565b565b600160a060020a031660009081526001602052604090205490565b610a15610b0c565b1515610a2057600080fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b610a80336109cb565b1515610a8b57600080fd5b610a9481610ff2565b50565b610aa0336109cb565b1515610aab57600080fd5b60055460ff1615610abb57600080fd5b6005805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b600054600160a060020a031690565b600054600160a060020a0316331490565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108725780601f1061084757610100808354040283529160200191610872565b610b8733610be0565b1515610b9257600080fd5b610a948161103a565b6109f033611082565b60055460009060ff1615610bb757600080fd5b61089983836110ca565b600080610bce8484611115565b90508015610899576108993385610e89565b600061089c60098363ffffffff610f7316565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b606080610c29610b0c565b1515610c3457600080fd5b828411158015610c455750600c5483105b1515610cb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f417272617920696e646578206f7574206f6620626f756e647300000000000000604482015290519081900360640190fd5b6000610cd56001610cc9868863ffffffff61113216565b9063ffffffff61114716565b9050606081604051908082528060200260200182016040528015610d03578160200160208202803883390190505b509050606082604051908082528060200260200182016040528015610d32578160200160208202803883390190505b509050865b868111610dc4576000600c82815481101515610d4f57fe5b6000918252602082200154600160a060020a03169150610d6e826109f2565b90506000811115610dba57808484815181101515610d8857fe5b6020908102909101015284518290869085908110610da257fe5b600160a060020a039092166020928302909101909101525b5050600101610d37565b5090969095509350505050565b610dd9610b0c565b1515610de457600080fd5b610a9481611159565b6000600160a060020a0383161515610e0457600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60055460009060ff1615610e7e57600080fd5b6108e48484846111d6565b610e928261129f565b610e9b8161129f565b5050565b6000600160a060020a0383161515610eb657600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610eea908363ffffffff61114716565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600a54610f5e82610cc96108be565b1115610f6957600080fd5b610e9b8282611349565b6000600160a060020a0382161515610f8a57600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b610fbb60048263ffffffff6113f516565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61100360048263ffffffff61144116565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b61104b60098263ffffffff61144116565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61109360098263ffffffff6113f516565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a03831615156110e157600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610eea908363ffffffff61113216565b60055460009060ff161561112857600080fd5b610899838361148f565b60008282111561114157600080fd5b50900390565b60008282018381101561089957600080fd5b600160a060020a038116151561116e57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a038316600090815260026020908152604080832033845290915281205461120a908363ffffffff61113216565b600160a060020a0385166000908152600260209081526040808320338452909152902055611239848484611498565b600160a060020a0384166000818152600260209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a0381166000908152600d602052604090205460ff161580156112d0575060006112ce826109f2565b115b15610a9457600c805460018181019092557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7018054600160a060020a03841673ffffffffffffffffffffffffffffffffffffffff1990911681179091556000908152600d60205260409020805460ff1916909117905550565b600160a060020a038216151561135e57600080fd5b600354611371908263ffffffff61114716565b600355600160a060020a03821660009081526001602052604090205461139d908263ffffffff61114716565b600160a060020a03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600160a060020a038116151561140a57600080fd5b6114148282610f73565b151561141f57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a038116151561145657600080fd5b6114608282610f73565b1561146a57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b600061099c3384845b600160a060020a03821615156114ad57600080fd5b600160a060020a0383166000908152600160205260409020546114d6908263ffffffff61113216565b600160a060020a03808516600090815260016020526040808220939093559084168152205461150b908263ffffffff61114716565b600160a060020a0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008215156115785750600061089c565b82820282848281151561158757fe5b041461089957600080fdfea165627a7a72305820e31d200acbc4097e1d02778edfdc482f24782164ebb3e4f51f637b937ccee67c00298be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0000000000000000000000000bcf0eac47aa2e3f19b81926cd634301bfe18caafDeployed Bytecode
0x6080604052600436106101df576000357c01000000000000000000000000000000000000000000000000000000009004806370a0823111610114578063983b2d56116100b2578063aa271e1a11610081578063aa271e1a1461067c578063dd62ed3e146106af578063e68a7c3b146106ea578063f2fde38b146107b3576101df565b8063983b2d56146105c257806398650275146105f5578063a457c2d71461060a578063a9059cbb14610643576101df565b80638456cb59116100ee5780638456cb59146105525780638da5cb5b146105675780638f32d59b1461059857806395d89b41146105ad576101df565b806370a08231146104d7578063715018a61461050a57806382dc1ec41461051f576101df565b8063395093511161018157806341c0e1b51161015b57806341c0e1b51461046557806346fbf68e1461047a5780635c975abb146104ad5780636ef8d66d146104c2576101df565b806339509351146103dc5780633f4ba83a1461041557806340c10f191461042c576101df565b806318160ddd116101bd57806318160ddd1461034457806323b872dd14610359578063313ce5671461039c578063355274ea146103c7576101df565b806306fdde0314610246578063095ea7b3146102d057806314f326a11461031d575b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f496e76616c6964206574686572207472616e7366657200000000000000000000604482015290519081900360640190fd5b34801561025257600080fd5b5061025b6107e6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029557818101518382015260200161027d565b50505050905090810190601f1680156102c25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102dc57600080fd5b50610309600480360360408110156102f357600080fd5b50600160a060020a03813516906020013561087c565b604080519115158252519081900360200190f35b34801561032957600080fd5b506103326108a2565b60408051918252519081900360200190f35b34801561035057600080fd5b506103326108be565b34801561036557600080fd5b506103096004803603606081101561037c57600080fd5b50600160a060020a038135811691602081013590911690604001356108c4565b3480156103a857600080fd5b506103b16108ec565b6040805160ff9092168252519081900360200190f35b3480156103d357600080fd5b506103326108f5565b3480156103e857600080fd5b50610309600480360360408110156103ff57600080fd5b50600160a060020a0381351690602001356108fb565b34801561042157600080fd5b5061042a610918565b005b34801561043857600080fd5b506103096004803603604081101561044f57600080fd5b50600160a060020a03813516906020013561097c565b34801561047157600080fd5b5061042a6109a5565b34801561048657600080fd5b506103096004803603602081101561049d57600080fd5b5035600160a060020a03166109cb565b3480156104b957600080fd5b506103096109de565b3480156104ce57600080fd5b5061042a6109e7565b3480156104e357600080fd5b50610332600480360360208110156104fa57600080fd5b5035600160a060020a03166109f2565b34801561051657600080fd5b5061042a610a0d565b34801561052b57600080fd5b5061042a6004803603602081101561054257600080fd5b5035600160a060020a0316610a77565b34801561055e57600080fd5b5061042a610a97565b34801561057357600080fd5b5061057c610afd565b60408051600160a060020a039092168252519081900360200190f35b3480156105a457600080fd5b50610309610b0c565b3480156105b957600080fd5b5061025b610b1d565b3480156105ce57600080fd5b5061042a600480360360208110156105e557600080fd5b5035600160a060020a0316610b7e565b34801561060157600080fd5b5061042a610b9b565b34801561061657600080fd5b506103096004803603604081101561062d57600080fd5b50600160a060020a038135169060200135610ba4565b34801561064f57600080fd5b506103096004803603604081101561066657600080fd5b50600160a060020a038135169060200135610bc1565b34801561068857600080fd5b506103096004803603602081101561069f57600080fd5b5035600160a060020a0316610be0565b3480156106bb57600080fd5b50610332600480360360408110156106d257600080fd5b50600160a060020a0381358116916020013516610bf3565b3480156106f657600080fd5b5061071a6004803603604081101561070d57600080fd5b5080359060200135610c1e565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561075e578181015183820152602001610746565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561079d578181015183820152602001610785565b5050505090500194505050505060405180910390f35b3480156107bf57600080fd5b5061042a600480360360208110156107d657600080fd5b5035600160a060020a0316610dd1565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108725780601f1061084757610100808354040283529160200191610872565b820191906000526020600020905b81548152906001019060200180831161085557829003601f168201915b5050505050905090565b60055460009060ff161561088f57600080fd5b6108998383610ded565b90505b92915050565b60006108ac610b0c565b15156108b757600080fd5b50600c5490565b60035490565b6000806108d2858585610e6b565b905080156108e4576108e48585610e89565b949350505050565b60085460ff1690565b600a5490565b60055460009060ff161561090e57600080fd5b6108998383610e9f565b610921336109cb565b151561092c57600080fd5b60055460ff16151561093d57600080fd5b6005805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b600061098733610be0565b151561099257600080fd5b61099c8383610f4f565b50600192915050565b6109ad610b0c565b15156109b857600080fd5b6109c0610afd565b600160a060020a0316ff5b600061089c60048363ffffffff610f7316565b60055460ff1690565b6109f033610faa565b565b600160a060020a031660009081526001602052604090205490565b610a15610b0c565b1515610a2057600080fd5b60008054604051600160a060020a03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b610a80336109cb565b1515610a8b57600080fd5b610a9481610ff2565b50565b610aa0336109cb565b1515610aab57600080fd5b60055460ff1615610abb57600080fd5b6005805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b600054600160a060020a031690565b600054600160a060020a0316331490565b60078054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108725780601f1061084757610100808354040283529160200191610872565b610b8733610be0565b1515610b9257600080fd5b610a948161103a565b6109f033611082565b60055460009060ff1615610bb757600080fd5b61089983836110ca565b600080610bce8484611115565b90508015610899576108993385610e89565b600061089c60098363ffffffff610f7316565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b606080610c29610b0c565b1515610c3457600080fd5b828411158015610c455750600c5483105b1515610cb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f417272617920696e646578206f7574206f6620626f756e647300000000000000604482015290519081900360640190fd5b6000610cd56001610cc9868863ffffffff61113216565b9063ffffffff61114716565b9050606081604051908082528060200260200182016040528015610d03578160200160208202803883390190505b509050606082604051908082528060200260200182016040528015610d32578160200160208202803883390190505b509050865b868111610dc4576000600c82815481101515610d4f57fe5b6000918252602082200154600160a060020a03169150610d6e826109f2565b90506000811115610dba57808484815181101515610d8857fe5b6020908102909101015284518290869085908110610da257fe5b600160a060020a039092166020928302909101909101525b5050600101610d37565b5090969095509350505050565b610dd9610b0c565b1515610de457600080fd5b610a9481611159565b6000600160a060020a0383161515610e0457600080fd5b336000818152600260209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60055460009060ff1615610e7e57600080fd5b6108e48484846111d6565b610e928261129f565b610e9b8161129f565b5050565b6000600160a060020a0383161515610eb657600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610eea908363ffffffff61114716565b336000818152600260209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b600a54610f5e82610cc96108be565b1115610f6957600080fd5b610e9b8282611349565b6000600160a060020a0382161515610f8a57600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b610fbb60048263ffffffff6113f516565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61100360048263ffffffff61144116565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b61104b60098263ffffffff61144116565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b61109360098263ffffffff6113f516565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b6000600160a060020a03831615156110e157600080fd5b336000908152600260209081526040808320600160a060020a0387168452909152902054610eea908363ffffffff61113216565b60055460009060ff161561112857600080fd5b610899838361148f565b60008282111561114157600080fd5b50900390565b60008282018381101561089957600080fd5b600160a060020a038116151561116e57600080fd5b60008054604051600160a060020a03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a038316600090815260026020908152604080832033845290915281205461120a908363ffffffff61113216565b600160a060020a0385166000908152600260209081526040808320338452909152902055611239848484611498565b600160a060020a0384166000818152600260209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b600160a060020a0381166000908152600d602052604090205460ff161580156112d0575060006112ce826109f2565b115b15610a9457600c805460018181019092557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7018054600160a060020a03841673ffffffffffffffffffffffffffffffffffffffff1990911681179091556000908152600d60205260409020805460ff1916909117905550565b600160a060020a038216151561135e57600080fd5b600354611371908263ffffffff61114716565b600355600160a060020a03821660009081526001602052604090205461139d908263ffffffff61114716565b600160a060020a03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600160a060020a038116151561140a57600080fd5b6114148282610f73565b151561141f57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a038116151561145657600080fd5b6114608282610f73565b1561146a57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b600061099c3384845b600160a060020a03821615156114ad57600080fd5b600160a060020a0383166000908152600160205260409020546114d6908263ffffffff61113216565b600160a060020a03808516600090815260016020526040808220939093559084168152205461150b908263ffffffff61114716565b600160a060020a0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008215156115785750600061089c565b82820282848281151561158757fe5b041461089957600080fdfea165627a7a72305820e31d200acbc4097e1d02778edfdc482f24782164ebb3e4f51f637b937ccee67c0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000bcf0eac47aa2e3f19b81926cd634301bfe18caaf
-----Decoded View---------------
Arg [0] : contractOwner (address): 0xbcf0eac47Aa2e3f19B81926CD634301BfE18CaAF
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000bcf0eac47aa2e3f19b81926cd634301bfe18caafLoading...LoadingLoading...Loading
Loading...Loading
Loading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingOVERVIEW
Ocean Protocol helps developers build Web3 apps to publish, exchange and consume data.
Multichain Portfolio | 26 Chains
Chain Token Portfolio % Price Amount Value ETH 69.22% $0.898021 207,397.1349 $186,246.98 ETH 15.55% $0.200613 208,600 $41,847.87 ETH 12.19% $2.12 15,471.6627 $32,799.92 ETH 1.11% $1.65 1,804.3852 $2,976.94 ETH 1.03% $91.82 30.0938 $2,763.22 ETH 0.24% $1 650 $650 ETH 0.11% $0.999339 296.7756 $296.58 ETH 0.08% $9.89 21 $207.69 ETH 0.02% $0.036129 1,717.4966 $62.05 ETH 0.01% $18.36 2 $36.72 ETH <0.01% $0.70632 29.5883 $20.9 BSC 0.17% $0.046323 10,000 $463.23 BSC 0.15% $0.999105 395.0669 $394.71 BSC 0.04% $603.49 0.1975 $119.2 BSC 0.02% $0.001122 46,033.92 $51.67 BSC 0.02% $0.005009 10,000 $50.09 BSC <0.01% <$0.000001 45,000,000 $9.81 BSC <0.01% <$0.000001 14,449,860,053.3846 $8.5 BSC <0.01% $0.897552 8.42 $7.56 BSC <0.01% $0.00736 1,000 $7.36 BSC <0.01% <$0.000001 20,191,424,000 $7 BSC <0.01% $0.006128 1,000 $6.13 BSC <0.01% <$0.000001 138,000,000 $5.75 BSC <0.01% <$0.000001 2,145,597,030.7393 $4.48 BSC <0.01% $0.000007 468,623.1135 $3.3 BSC <0.01% <$0.000001 2,781,393,440.8149 $3.03 BSC <0.01% <$0.000001 9,267,358.4356 $2.23 BSC <0.01% $0.001669 1,268.4956 $2.12 BSC <0.01% $0.000019 100,000 $1.93 BSC <0.01% $0.000683 2,500 $1.71 BSC <0.01% $0.000895 1,600 $1.43 BSC <0.01% $0.000489 2,600 $1.27 BSC <0.01% $0.000201 5,000 $1 BSC <0.01% $0.000002 610,000 $0.9801 BSC <0.01% $0.000039 25,000 $0.9664 BSC <0.01% <$0.000001 3,200,000,000 $0.7988 BSC <0.01% <$0.000001 220,192,096.7738 $0.7482 BSC <0.01% $0.000003 131,000 $0.3812 BSC <0.01% $0.001321 265.3657 $0.3506 BSC <0.01% <$0.000001 3,007,000,000 $0.277 BSC <0.01% $67,778.9 0.00000234 $0.1583 ARB <0.01% $3,833.2 0.00081282 $3.12 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.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addressesPrivate Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.Compiler specific version warnings:
The compiled contract might be susceptible to DirtyBytesArrayToStorage (low-severity), ABIDecodeTwoDimensionalArrayMemory (very low-severity), KeccakCaching (medium-severity), EmptyByteArrayCopy (medium-severity), DynamicArrayCleanup (medium-severity), ImplicitConstructorCallvalueCheck (very low-severity), TupleAssignmentMultiStackSlotComponents (very low-severity), MemoryArrayCreationOverflow (low-severity), privateCanBeOverridden (low-severity), SignedArrayStorageCopy (low/medium-severity), ABIEncoderV2StorageArrayWithMultiSlotElement (low-severity), DynamicConstructorArgumentsClippedABIV2 (very low-severity), UninitializedFunctionPointerInConstructor (very low-severity), IncorrectEventSignatureInLibraries (very low-severity), ABIEncoderV2PackedStorage (low-severity) Solidity Compiler Bugs.
Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Notice
Maintenance in progress, block data might not be up to date
Before You Copy
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.