Spend less on fees, more on crypto. Buy crypto easily with MoonPay Balance. 20M+ users trust MoonPay worldwide.
Ready to onboard to Ethereum? With MetaMask Portfolio, you're in control.
Don’t invest unless you’re prepared to lose all the money you invest.
Ready to simplify your web3 experience? Try the all-in-one web3 app trusted by millions worldwide.
Available on 9 networks: Ethereum mainnet, Linea, Polygon, Optimism, BNB Chain, zkSync Era, Base, Avalanche.
Everyday giveaways up to 100 ETH, Lucky Spins. Deposit BONUS 300% and Cashbacks!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Slots, Roulette, Poker & more - Proud sponsors of UFC, Everton & StakeF1 team!
5000+ Slots & Live Casino Games, 50+cryptos. Register with Etherscan and get 760% deposit bonus. Win Big$, withdraw it fast.
Anonymous play on awesome games - sign up now for 25 free jackpot spins - worth $100s!
100s of games, generous bonuses, 20+ years of trusted gaming. Join CryptoWins & start winning today!
Overview
ETH Balance
Eth Value
$0.00Token Holdings
Could not find any matches!
- ERC-20 Tokens (22)2 LINKChainLink To... (LINK)$44.76@22.3815,471.66268496 FETFetch (FET)$19,339.58@1.25213,780.58115047 OCEANOcean Token (OCEAN)$120,269.11@0.562629.5883 OMGOMG Network (OMG)$9.76@0.32980.98978359 PRIAPRIA (PRIA)$0.07@0.068530.093844 QNTQuant (QNT)$3,161.96@105.07208,600 TRUTrueFi (TRU)$17,707.43@0.084921 UNIUniswap (UNI)$288.12@13.7266.01999999 WTCWalton (WTC)$2.15@0.0326296.775633 USDTTether USD (USDT)$295.78@0.9966650 USDCUSDC (USDC)$648.47@0.99771,717.49662008 ASMASSEMBLE$44.28@0.02585.42 BRDERC-20: BRD (BRD)1,804.38519657 ORNOrion Protocol0.68 HQGERC-20: 环球股 (HQG)1 APUApu Apustaja$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 (27)! fetpool.com! fetpool.comERC-1155claim rewards on apyusd.comapyusd.comERC-1155claim rewards on clinkevent.orgclinkevent.orgERC-1155claim rewards on fetchfinance.netfetchfinance.netERC-1155claim rewards on fetchpool.comfetchpool.comERC-1155claim rewards on link-prize.netlink-prize.netERC-1155claim rewards qntnetwork.comqntnetwork.comERC-1155QUANT GOLD PASSQUANT: Gold Airdrop PassERC-1155claim rewards on quantprize.netquantprize.netERC-1155claim rewards on univ3portal.netuniv3portal.netERC-1155ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]
Multichain Info
3 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 MethodBlockFromTo0xceb54c0c5160dccd51cd2320edb1ce82f1a4ab4f7575cc5f964442c8945021cf Approve (pending) 2024-12-22 4:18:53 26 hrs ago 1734841133 IN 0 ETH$0.00 (Pending) (Pending) 0x72dfa807ef49cab4457b0a46314bf71b26b8733a2c45fac2cea769c8201214ee Approve (pending) 2024-12-22 4:18:53 26 hrs ago 1734841133 IN 0 ETH$0.00 (Pending) (Pending) 0x7a9602e91b592b00398dc90c4e2d7000d1015fb45ad7d4e37323374666f79b29 Approve (pending) 2024-12-22 4:18:53 26 hrs ago 1734841133 IN 0 ETH$0.00 (Pending) (Pending) 0x96f3b291fe79beef53e382e40c589f8d8826f57785fb14b9e40dfbf5ffbf8d98 Transfer (pending) 2024-12-15 1:37:16 8 days ago 1734226636 IN 0 ETH$0.00 (Pending) (Pending) 0xe953b569751032ea41e1c7802ea11380306b5e1659cda3557c1b1471245f9156 Transfer (pending) 2024-12-10 2:45:00 13 days ago 1733798700 IN 0 ETH$0.00 (Pending) (Pending) 0x12f24c846407e8b020c4d0c54a978c7b0064c641fe7772fe1ecc5e5f18294ca3 Approve (pending) 2024-12-07 0:01:41 16 days ago 1733529701 IN 0 ETH$0.00 (Pending) (Pending) 0x978d545c2088640a6b59b7d326d3215d722c6610d1d9c0c1244c598b37d294ee Approve (pending) 2024-12-07 0:01:39 16 days ago 1733529699 IN 0 ETH$0.00 (Pending) (Pending) Transfer 21463338 2024-12-23 6:15:59 25 mins ago 1734934559 IN 0 ETH$0.00 0.00018443 5 Approve 21463325 2024-12-23 6:13:23 28 mins ago 1734934403 IN 0 ETH$0.00 0.0002431 4.98248954 Transfer 21463313 2024-12-23 6:10:59 30 mins ago 1734934259 IN 0 ETH$0.00 0.00053134 4.98921196 Approve 21463289 2024-12-23 6:06:11 35 mins ago 1734933971 IN 0 ETH$0.00 0.00024466 5.0145687 Approve 21463174 2024-12-23 5:43:11 58 mins ago 1734932591 IN 0 ETH$0.00 0.00018482 3.81521817 Approve 21463133 2024-12-23 5:34:59 1 hr ago 1734932099 IN 0 ETH$0.00 0.0002903 5.99117041 Transfer 21463028 2024-12-23 5:13:35 1 hr ago 1734930815 IN 0 ETH$0.00 0.00024832 5.95529694 Transfer 21463017 2024-12-23 5:11:23 1 hr ago 1734930683 IN 0 ETH$0.00 0.00065014 6.10480608 Transfer 21462976 2024-12-23 5:03:11 1 hr ago 1734930191 IN 0 ETH$0.00 0.00019911 5.39641364 Transfer 21462898 2024-12-23 4:47:35 1 hr ago 1734929255 IN 0 ETH$0.00 0.00066252 6.22034266 Transfer 21462871 2024-12-23 4:42:11 1 hr ago 1734928931 IN 0 ETH$0.00 0.00020683 5.6074179 Approve 21462870 2024-12-23 4:41:59 1 hr ago 1734928919 IN 0 ETH$0.00 0.00027621 5.66111873 Transfer 21462865 2024-12-23 4:40:59 2 hrs ago 1734928859 IN 0 ETH$0.00 0.00065276 6.12932818 Transfer 21462834 2024-12-23 4:34:47 2 hrs ago 1734928487 IN 0 ETH$0.00 0.00027683 5.12796583 Transfer 21462834 2024-12-23 4:34:47 2 hrs ago 1734928487 IN 0 ETH$0.00 0.00036023 6.12796583 Transfer 21462815 2024-12-23 4:30:59 2 hrs ago 1734928259 IN 0 ETH$0.00 0.00018449 5 Approve 21462694 2024-12-23 4:06:35 2 hrs ago 1734926795 IN 0 ETH$0.00 0.00032314 6.67218047 Approve 21462487 2024-12-23 3:24:59 3 hrs ago 1734924299 IN 0 ETH$0.00 0.00048056 9.90548863 Latest 1 internal transaction
Advanced mode:Parent Transaction Hash Block FromTo11143534 2020-10-28 6:39:04 1517 days ago 1603867144 0.3 ETH$978.97 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...LoadingLoading...LoadingOVERVIEW
Ocean Protocol helps developers build Web3 apps to publish, exchange and consume data.
Multichain Portfolio | 30 Chains
Chain Token Portfolio % Price Amount Value ETH 38.46% $0.562582 213,780.5812 $120,269.11 ETH 6.18% $1.25 15,471.6627 $19,339.58 ETH 5.66% $0.084887 208,600 $17,707.43 ETH 1.01% $105.07 30.0938 $3,161.96 ETH 0.21% $0.997653 650 $648.47 ETH 0.09% $0.99663 296.7756 $295.78 ETH 0.09% $13.72 21 $288.12 ETH 0.01% $22.38 2 $44.76 ETH 0.01% $0.025783 1,717.4966 $44.28 ETH <0.01% $0.329757 29.5883 $9.76 ETH <0.01% $0.0326 66.02 $2.15 BSC 47.87% <$0.000001 87,645,564,043,744.859 $149,698.62 BSC 0.15% $0.046323 10,000 $463.23 BSC 0.13% $0.997602 395.0669 $394.12 BSC 0.04% $655.44 0.1975 $129.46 BSC 0.02% $0.006778 10,000 $67.78 BSC <0.01% $0.000453 46,033.92 $20.84 BSC <0.01% $0.560073 22.42 $12.56 BSC <0.01% $0.008168 1,000 $8.17 BSC <0.01% <$0.000001 14,454,132,290.4167 $8.01 BSC <0.01% <$0.000001 45,000,000 $7.38 BSC <0.01% <$0.000001 20,191,424,000 $5.89 BSC <0.01% <$0.000001 138,000,000 $5.75 BSC <0.01% $0.000007 468,674.6998 $3.3 BSC <0.01% <$0.000001 2,782,938,497.6394 $2.61 BSC <0.01% $0.000025 100,000 $2.55 BSC <0.01% <$0.000001 9,282,077.092 $2.24 BSC <0.01% $0.001987 1,000 $1.99 BSC <0.01% <$0.000001 3,007,000,000 $1.46 BSC <0.01% $0.001139 1,268.4956 $1.45 BSC <0.01% $0.000201 5,000 $1 BSC <0.01% <$0.000001 220,356,397.2044 $1 BSC <0.01% $0.000401 2,500 $1 BSC <0.01% $0.000036 25,000 $0.9025 BSC <0.01% $0.000333 2,600 $0.8655 BSC <0.01% <$0.000001 3,200,000,000 $0.6924 BSC <0.01% $0.000001 610,000 $0.6313 BSC <0.01% $0.000003 131,000 $0.3812 BSC <0.01% $0.000203 1,600 $0.3252 BSC <0.01% $95,366.91 0.00000234 $0.2227 BSC <0.01% $0.00055 265.3657 $0.146 BASE <0.01% $3,261.97 0.009567 $31.21 ARB <0.01% $3,263.18 0.00081282 $2.65 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.SignIn
Address Cards
To use this feature, please login to your Etherscan account and return to this page.Before You Copy
Transaction Private Note
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.