Source Code
Overview
HYPE Balance
HYPE Value
$0.00| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers.
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Block | From | To | ||||
|---|---|---|---|---|---|---|---|
| 25578183 | 37 secs ago | 0 HYPE | |||||
| 25578183 | 37 secs ago | 0 HYPE | |||||
| 25578183 | 37 secs ago | 0 HYPE | |||||
| 25572227 | 1 hr ago | 0 HYPE | |||||
| 25572227 | 1 hr ago | 0 HYPE | |||||
| 25572227 | 1 hr ago | 0 HYPE | |||||
| 25572050 | 1 hr ago | 0 HYPE | |||||
| 25572050 | 1 hr ago | 0 HYPE | |||||
| 25572050 | 1 hr ago | 0 HYPE | |||||
| 25571480 | 1 hr ago | 0 HYPE | |||||
| 25571480 | 1 hr ago | 0 HYPE | |||||
| 25571480 | 1 hr ago | 0 HYPE | |||||
| 25571332 | 1 hr ago | 0 HYPE | |||||
| 25571332 | 1 hr ago | 0 HYPE | |||||
| 25571332 | 1 hr ago | 0 HYPE | |||||
| 25568460 | 2 hrs ago | 0 HYPE | |||||
| 25568460 | 2 hrs ago | 0 HYPE | |||||
| 25568460 | 2 hrs ago | 0 HYPE | |||||
| 25568224 | 2 hrs ago | 0 HYPE | |||||
| 25568224 | 2 hrs ago | 0 HYPE | |||||
| 25568224 | 2 hrs ago | 0 HYPE | |||||
| 25568139 | 2 hrs ago | 0 HYPE | |||||
| 25568139 | 2 hrs ago | 0 HYPE | |||||
| 25568139 | 2 hrs ago | 0 HYPE | |||||
| 25568094 | 2 hrs ago | 0 HYPE |
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xc89aD6B3...8c305dD35 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
RatioAdapter
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import { Ownable } from "../utils/Ownable.sol";
import { IAggregator } from "../interfaces/IAggregator.sol";
import { IAdapter } from "../interfaces/IAdapter.sol";
import { IOracle } from "../interfaces/IOracle.sol";
import { IERC4626 } from "../interfaces/IERC4626.sol";
import { IERC20 } from "../interfaces/IERC20.sol";
///@title RatioAdapter
///@author HyperLend
///@notice An adapter returning price of some asset with certain ratio to the underlying asset
contract RatioAdapter is Ownable, IAdapter {
/// @notice contract providing price of the underlying asset
IOracle public priceProvider;
/// @notice contract providing the ratio between wrapped and underlying asset
IOracle public ratioProvider;
/// @notice the description of the price source
string public description;
/// @notice the number of decimals the aggregator responses represent
uint8 public decimals;
/// @notice address of the underlying token
IERC20 public asset;
///@notice decimals of the ratio oracle
uint8 public ratioDecimals;
/// @param _priceProvider contract providing price of the underlying asset
/// @param _description the description of the price source
/// @param _asset address of the underlying asset
/// @param _ratioProvider contract providing the ratio between wrapped and underlying asset
constructor(address _priceProvider, string memory _description, address _asset, address _ratioProvider) Ownable(msg.sender) {
priceProvider = IOracle(_priceProvider);
description = _description;
decimals = priceProvider.decimals();
asset = IERC20(_asset);
ratioProvider = IOracle(_ratioProvider);
ratioDecimals = ratioProvider.decimals();
}
/// @notice returns the latest price
function latestAnswer() external view returns (int256) {
( , int256 answer , , , ) = getData();
return answer;
}
/// @notice returns the latest price in chainlink-compatible format
function latestRoundData() external view returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
){
return getData();
}
function getData() internal view returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
) {
(
uint80 _roundId,
int256 _answer,
uint256 _startedAt,
uint256 _updatedAt,
uint80 _answeredInRound
) = priceProvider.latestRoundData();
require(_answer > 0, "price <= 0");
(, int256 _ratioAnswer ,,,) = ratioProvider.latestRoundData();
answer = _answer * _ratioAnswer / int256(10**ratioDecimals);
//return round data for the underlying price
roundId = _roundId;
startedAt = _startedAt;
updatedAt = _updatedAt;
answeredInRound = _answeredInRound;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
interface IAdapter {
function latestAnswer() external view returns (int256);
function decimals() external view returns (uint8);
function description() external view returns (string memory);
function latestRoundData() external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
interface IAggregator {
function getPrice(address asset) external view returns (uint256);
function getUpdateTimestamp(address asset) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.20;
interface IERC20 {
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
/**
* @dev Returns the value of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the value of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves a `value` amount of tokens from the caller's account to `to`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address to, uint256 value) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets a `value` amount of tokens as the allowance of `spender` over the
* caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: 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
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 value) external returns (bool);
/**
* @dev Moves a `value` amount of tokens from `from` to `to` using the
* allowance mechanism. `value` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address from, address to, uint256 value) external returns (bool);
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import { IERC20 } from "./IERC20.sol";
/// @title ERC4626 interface
/// See: https://eips.ethereum.org/EIPS/eip-4626
interface IERC4626 is IERC20 {
/*////////////////////////////////////////////////////////
Events
////////////////////////////////////////////////////////*/
/// @notice `sender` has exchanged `assets` for `shares`,
/// and transferred those `shares` to `receiver`.
event Deposit(address indexed sender, address indexed receiver, uint256 assets, uint256 shares);
/// @notice `sender` has exchanged `shares` for `assets`,
/// and transferred those `assets` to `receiver`.
event Withdraw(address indexed sender, address indexed receiver, uint256 assets, uint256 shares);
/*////////////////////////////////////////////////////////
Vault properties
////////////////////////////////////////////////////////*/
/// @notice The address of the underlying ERC20 token used for
/// the Vault for accounting, depositing, and withdrawing.
function asset() external view returns (address asset);
/// @notice Total amount of the underlying asset that
/// is "managed" by Vault.
function totalAssets() external view returns (uint256 totalAssets);
/*////////////////////////////////////////////////////////
Deposit/Withdrawal Logic
////////////////////////////////////////////////////////*/
/// @notice Mints `shares` Vault shares to `receiver` by
/// depositing exactly `assets` of underlying tokens.
function deposit(uint256 assets, address receiver) external returns (uint256 shares);
/// @notice Mints exactly `shares` Vault shares to `receiver`
/// by depositing `assets` of underlying tokens.
function mint(uint256 shares, address receiver) external returns (uint256 assets);
/// @notice Redeems `shares` from `owner` and sends `assets`
/// of underlying tokens to `receiver`.
function withdraw(
uint256 assets,
address receiver,
address owner
) external returns (uint256 shares);
/// @notice Redeems `shares` from `owner` and sends `assets`
/// of underlying tokens to `receiver`.
function redeem(
uint256 shares,
address receiver,
address owner
) external returns (uint256 assets);
/*////////////////////////////////////////////////////////
Vault Accounting Logic
////////////////////////////////////////////////////////*/
/// @notice The amount of shares that the vault would
/// exchange for the amount of assets provided, in an
/// ideal scenario where all the conditions are met.
function convertToShares(uint256 assets) external view returns (uint256 shares);
/// @notice The amount of assets that the vault would
/// exchange for the amount of shares provided, in an
/// ideal scenario where all the conditions are met.
function convertToAssets(uint256 shares) external view returns (uint256 assets);
/// @notice Total number of underlying assets that can
/// be deposited by `owner` into the Vault, where `owner`
/// corresponds to the input parameter `receiver` of a
/// `deposit` call.
function maxDeposit(address owner) external view returns (uint256 maxAssets);
/// @notice Allows an on-chain or off-chain user to simulate
/// the effects of their deposit at the current block, given
/// current on-chain conditions.
function previewDeposit(uint256 assets) external view returns (uint256 shares);
/// @notice Total number of underlying shares that can be minted
/// for `owner`, where `owner` corresponds to the input
/// parameter `receiver` of a `mint` call.
function maxMint(address owner) external view returns (uint256 maxShares);
/// @notice Allows an on-chain or off-chain user to simulate
/// the effects of their mint at the current block, given
/// current on-chain conditions.
function previewMint(uint256 shares) external view returns (uint256 assets);
/// @notice Total number of underlying assets that can be
/// withdrawn from the Vault by `owner`, where `owner`
/// corresponds to the input parameter of a `withdraw` call.
function maxWithdraw(address owner) external view returns (uint256 maxAssets);
/// @notice Allows an on-chain or off-chain user to simulate
/// the effects of their withdrawal at the current block,
/// given current on-chain conditions.
function previewWithdraw(uint256 assets) external view returns (uint256 shares);
/// @notice Total number of underlying shares that can be
/// redeemed from the Vault by `owner`, where `owner` corresponds
/// to the input parameter of a `redeem` call.
function maxRedeem(address owner) external view returns (uint256 maxShares);
/// @notice Allows an on-chain or off-chain user to simulate
/// the effects of their redeemption at the current block,
/// given current on-chain conditions.
function previewRedeem(uint256 shares) external view returns (uint256 assets);
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
interface IOracle {
function latestAnswer() external view returns (uint256);
function latestRoundData() external view returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
function decimals() external view returns (uint8);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)
pragma solidity ^0.8.20;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {Context} from "./Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* The initial owner is set to the address provided by the deployer. This can
* later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
/**
* @dev The caller account is not authorized to perform an operation.
*/
error OwnableUnauthorizedAccount(address account);
/**
* @dev The owner is not a valid owner account. (eg. `address(0)`)
*/
error OwnableInvalidOwner(address owner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the address provided by the deployer as the initial owner.
*/
constructor(address initialOwner) {
if (initialOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(initialOwner);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
if (owner() != _msgSender()) {
revert OwnableUnauthorizedAccount(_msgSender());
}
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
if (newOwner == address(0)) {
revert OwnableInvalidOwner(address(0));
}
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}{
"evmVersion": "paris",
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_priceProvider","type":"address"},{"internalType":"string","name":"_description","type":"string"},{"internalType":"address","name":"_asset","type":"address"},{"internalType":"address","name":"_ratioProvider","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"asset","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestRoundData","outputs":[{"internalType":"uint80","name":"roundId","type":"uint80"},{"internalType":"int256","name":"answer","type":"int256"},{"internalType":"uint256","name":"startedAt","type":"uint256"},{"internalType":"uint256","name":"updatedAt","type":"uint256"},{"internalType":"uint80","name":"answeredInRound","type":"uint80"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceProvider","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ratioDecimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ratioProvider","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
0x60806040523480156200001157600080fd5b5060405162001932380380620019328339818101604052810190620000379190620005b6565b33600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000ad5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000a4919062000658565b60405180910390fd5b620000be81620002fa60201b60201c565b5083600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508260039081620001119190620008c0565b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000180573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001a69190620009e5565b600460006101000a81548160ff021916908360ff16021790555081600460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002b0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002d69190620009e5565b600460156101000a81548160ff021916908360ff1602179055505050505062000a17565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003ff82620003d2565b9050919050565b6200041181620003f2565b81146200041d57600080fd5b50565b600081519050620004318162000406565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200048c8262000441565b810181811067ffffffffffffffff82111715620004ae57620004ad62000452565b5b80604052505050565b6000620004c3620003be565b9050620004d1828262000481565b919050565b600067ffffffffffffffff821115620004f457620004f362000452565b5b620004ff8262000441565b9050602081019050919050565b60005b838110156200052c5780820151818401526020810190506200050f565b60008484015250505050565b60006200054f6200054984620004d6565b620004b7565b9050828152602081018484840111156200056e576200056d6200043c565b5b6200057b8482856200050c565b509392505050565b600082601f8301126200059b576200059a62000437565b5b8151620005ad84826020860162000538565b91505092915050565b60008060008060808587031215620005d357620005d2620003c8565b5b6000620005e38782880162000420565b945050602085015167ffffffffffffffff811115620006075762000606620003cd565b5b620006158782880162000583565b9350506040620006288782880162000420565b92505060606200063b8782880162000420565b91505092959194509250565b6200065281620003f2565b82525050565b60006020820190506200066f600083018462000647565b92915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006c857607f821691505b602082108103620006de57620006dd62000680565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620007487fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000709565b62000754868362000709565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620007a16200079b62000795846200076c565b62000776565b6200076c565b9050919050565b6000819050919050565b620007bd8362000780565b620007d5620007cc82620007a8565b84845462000716565b825550505050565b600090565b620007ec620007dd565b620007f9818484620007b2565b505050565b5b81811015620008215762000815600082620007e2565b600181019050620007ff565b5050565b601f82111562000870576200083a81620006e4565b6200084584620006f9565b8101602085101562000855578190505b6200086d6200086485620006f9565b830182620007fe565b50505b505050565b600082821c905092915050565b6000620008956000198460080262000875565b1980831691505092915050565b6000620008b0838362000882565b9150826002028217905092915050565b620008cb8262000675565b67ffffffffffffffff811115620008e757620008e662000452565b5b620008f38254620006af565b6200090082828562000825565b600060209050601f83116001811462000938576000841562000923578287015190505b6200092f8582620008a2565b8655506200099f565b601f1984166200094886620006e4565b60005b8281101562000972578489015182556001820191506020850194506020810190506200094b565b868310156200099257848901516200098e601f89168262000882565b8355505b6001600288020188555050505b505050505050565b600060ff82169050919050565b620009bf81620009a7565b8114620009cb57600080fd5b50565b600081519050620009df81620009b4565b92915050565b600060208284031215620009fe57620009fd620003c8565b5b600062000a0e84828501620009ce565b91505092915050565b610f0b8062000a276000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80637284e416116100715780637284e416146101305780638da5cb5b1461014e578063b4cde1d11461016c578063b888879e1461018a578063f2fde38b146101a8578063feaf968c146101c4576100a9565b80631518af76146100ae578063313ce567146100cc57806338d52e0f146100ea57806350d25bcd14610108578063715018a614610126575b600080fd5b6100b66101e6565b6040516100c3919061074a565b60405180910390f35b6100d46101f9565b6040516100e1919061074a565b60405180910390f35b6100f261020c565b6040516100ff91906107e4565b60405180910390f35b610110610232565b60405161011d9190610818565b60405180910390f35b61012e61024a565b005b61013861025e565b60405161014591906108c3565b60405180910390f35b6101566102ec565b6040516101639190610906565b60405180910390f35b610174610315565b6040516101819190610942565b60405180910390f35b61019261033b565b60405161019f9190610942565b60405180910390f35b6101c260048036038101906101bd919061098e565b610361565b005b6101cc6103e7565b6040516101dd9594939291906109f9565b60405180910390f35b600460159054906101000a900460ff1681565b600460009054906101000a900460ff1681565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061023d610408565b5050509150508091505090565b6102526105db565b61025c6000610662565b565b6003805461026b90610a7b565b80601f016020809104026020016040519081016040528092919081815260200182805461029790610a7b565b80156102e45780601f106102b9576101008083540402835291602001916102e4565b820191906000526020600020905b8154815290600101906020018083116102c757829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6103696105db565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036103db5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016103d29190610906565b60405180910390fd5b6103e481610662565b50565b60008060008060006103f7610408565b945094509450945094509091929394565b600080600080600080600080600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a89190610b30565b94509450945094509450600084136104f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ec90610bf7565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610564573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105889190610b30565b505050915050600460159054906101000a900460ff16600a6105aa9190610d79565b81866105b69190610dc4565b6105c09190610e6b565b9950859a508398508297508196505050505050509091929394565b6105e3610726565b73ffffffffffffffffffffffffffffffffffffffff166106016102ec565b73ffffffffffffffffffffffffffffffffffffffff161461066057610624610726565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016106579190610906565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600060ff82169050919050565b6107448161072e565b82525050565b600060208201905061075f600083018461073b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006107aa6107a56107a084610765565b610785565b610765565b9050919050565b60006107bc8261078f565b9050919050565b60006107ce826107b1565b9050919050565b6107de816107c3565b82525050565b60006020820190506107f960008301846107d5565b92915050565b6000819050919050565b610812816107ff565b82525050565b600060208201905061082d6000830184610809565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561086d578082015181840152602081019050610852565b60008484015250505050565b6000601f19601f8301169050919050565b600061089582610833565b61089f818561083e565b93506108af81856020860161084f565b6108b881610879565b840191505092915050565b600060208201905081810360008301526108dd818461088a565b905092915050565b60006108f082610765565b9050919050565b610900816108e5565b82525050565b600060208201905061091b60008301846108f7565b92915050565b600061092c826107b1565b9050919050565b61093c81610921565b82525050565b60006020820190506109576000830184610933565b92915050565b600080fd5b61096b816108e5565b811461097657600080fd5b50565b60008135905061098881610962565b92915050565b6000602082840312156109a4576109a361095d565b5b60006109b284828501610979565b91505092915050565b600069ffffffffffffffffffff82169050919050565b6109da816109bb565b82525050565b6000819050919050565b6109f3816109e0565b82525050565b600060a082019050610a0e60008301886109d1565b610a1b6020830187610809565b610a2860408301866109ea565b610a3560608301856109ea565b610a4260808301846109d1565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610a9357607f821691505b602082108103610aa657610aa5610a4c565b5b50919050565b610ab5816109bb565b8114610ac057600080fd5b50565b600081519050610ad281610aac565b92915050565b610ae1816107ff565b8114610aec57600080fd5b50565b600081519050610afe81610ad8565b92915050565b610b0d816109e0565b8114610b1857600080fd5b50565b600081519050610b2a81610b04565b92915050565b600080600080600060a08688031215610b4c57610b4b61095d565b5b6000610b5a88828901610ac3565b9550506020610b6b88828901610aef565b9450506040610b7c88828901610b1b565b9350506060610b8d88828901610b1b565b9250506080610b9e88828901610ac3565b9150509295509295909350565b7f7072696365203c3d203000000000000000000000000000000000000000000000600082015250565b6000610be1600a8361083e565b9150610bec82610bab565b602082019050919050565b60006020820190508181036000830152610c1081610bd4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115610c9d57808604811115610c7957610c78610c17565b5b6001851615610c885780820291505b8081029050610c9685610c46565b9450610c5d565b94509492505050565b600082610cb65760019050610d72565b81610cc45760009050610d72565b8160018114610cda5760028114610ce457610d13565b6001915050610d72565b60ff841115610cf657610cf5610c17565b5b8360020a915084821115610d0d57610d0c610c17565b5b50610d72565b5060208310610133831016604e8410600b8410161715610d485782820a905083811115610d4357610d42610c17565b5b610d72565b610d558484846001610c53565b92509050818404811115610d6c57610d6b610c17565b5b81810290505b9392505050565b6000610d84826109e0565b9150610d8f8361072e565b9250610dbc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610ca6565b905092915050565b6000610dcf826107ff565b9150610dda836107ff565b9250828202610de8816107ff565b91507f80000000000000000000000000000000000000000000000000000000000000008414600084121615610e2057610e1f610c17565b5b8282058414831517610e3557610e34610c17565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610e76826107ff565b9150610e81836107ff565b925082610e9157610e90610e3c565b5b600160000383147f800000000000000000000000000000000000000000000000000000000000000083141615610eca57610ec9610c17565b5b82820590509291505056fea264697066735822122012aa36db157a34fc1673a8a0a5dfafcfb16f11b4f8c5a14082c8dfbf00da613364736f6c63430008140033000000000000000000000000f1cee6fd8464a059b6d2f3e8a0754cd530e78c170000000000000000000000000000000000000000000000000000000000000080000000000000000000000000d8fc8f0b03eba61f64d08b0bef69d80916e5dda90000000000000000000000005016c48f36f7e4c83b5c4d4b7227bfef35ae7688000000000000000000000000000000000000000000000000000000000000001d52656473746f6e652b436861696e6c696e6b2d6265485950452f555344000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80637284e416116100715780637284e416146101305780638da5cb5b1461014e578063b4cde1d11461016c578063b888879e1461018a578063f2fde38b146101a8578063feaf968c146101c4576100a9565b80631518af76146100ae578063313ce567146100cc57806338d52e0f146100ea57806350d25bcd14610108578063715018a614610126575b600080fd5b6100b66101e6565b6040516100c3919061074a565b60405180910390f35b6100d46101f9565b6040516100e1919061074a565b60405180910390f35b6100f261020c565b6040516100ff91906107e4565b60405180910390f35b610110610232565b60405161011d9190610818565b60405180910390f35b61012e61024a565b005b61013861025e565b60405161014591906108c3565b60405180910390f35b6101566102ec565b6040516101639190610906565b60405180910390f35b610174610315565b6040516101819190610942565b60405180910390f35b61019261033b565b60405161019f9190610942565b60405180910390f35b6101c260048036038101906101bd919061098e565b610361565b005b6101cc6103e7565b6040516101dd9594939291906109f9565b60405180910390f35b600460159054906101000a900460ff1681565b600460009054906101000a900460ff1681565b600460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061023d610408565b5050509150508091505090565b6102526105db565b61025c6000610662565b565b6003805461026b90610a7b565b80601f016020809104026020016040519081016040528092919081815260200182805461029790610a7b565b80156102e45780601f106102b9576101008083540402835291602001916102e4565b820191906000526020600020905b8154815290600101906020018083116102c757829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6103696105db565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036103db5760006040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016103d29190610906565b60405180910390fd5b6103e481610662565b50565b60008060008060006103f7610408565b945094509450945094509091929394565b600080600080600080600080600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a89190610b30565b94509450945094509450600084136104f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ec90610bf7565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610564573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105889190610b30565b505050915050600460159054906101000a900460ff16600a6105aa9190610d79565b81866105b69190610dc4565b6105c09190610e6b565b9950859a508398508297508196505050505050509091929394565b6105e3610726565b73ffffffffffffffffffffffffffffffffffffffff166106016102ec565b73ffffffffffffffffffffffffffffffffffffffff161461066057610624610726565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016106579190610906565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b600060ff82169050919050565b6107448161072e565b82525050565b600060208201905061075f600083018461073b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006107aa6107a56107a084610765565b610785565b610765565b9050919050565b60006107bc8261078f565b9050919050565b60006107ce826107b1565b9050919050565b6107de816107c3565b82525050565b60006020820190506107f960008301846107d5565b92915050565b6000819050919050565b610812816107ff565b82525050565b600060208201905061082d6000830184610809565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561086d578082015181840152602081019050610852565b60008484015250505050565b6000601f19601f8301169050919050565b600061089582610833565b61089f818561083e565b93506108af81856020860161084f565b6108b881610879565b840191505092915050565b600060208201905081810360008301526108dd818461088a565b905092915050565b60006108f082610765565b9050919050565b610900816108e5565b82525050565b600060208201905061091b60008301846108f7565b92915050565b600061092c826107b1565b9050919050565b61093c81610921565b82525050565b60006020820190506109576000830184610933565b92915050565b600080fd5b61096b816108e5565b811461097657600080fd5b50565b60008135905061098881610962565b92915050565b6000602082840312156109a4576109a361095d565b5b60006109b284828501610979565b91505092915050565b600069ffffffffffffffffffff82169050919050565b6109da816109bb565b82525050565b6000819050919050565b6109f3816109e0565b82525050565b600060a082019050610a0e60008301886109d1565b610a1b6020830187610809565b610a2860408301866109ea565b610a3560608301856109ea565b610a4260808301846109d1565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610a9357607f821691505b602082108103610aa657610aa5610a4c565b5b50919050565b610ab5816109bb565b8114610ac057600080fd5b50565b600081519050610ad281610aac565b92915050565b610ae1816107ff565b8114610aec57600080fd5b50565b600081519050610afe81610ad8565b92915050565b610b0d816109e0565b8114610b1857600080fd5b50565b600081519050610b2a81610b04565b92915050565b600080600080600060a08688031215610b4c57610b4b61095d565b5b6000610b5a88828901610ac3565b9550506020610b6b88828901610aef565b9450506040610b7c88828901610b1b565b9350506060610b8d88828901610b1b565b9250506080610b9e88828901610ac3565b9150509295509295909350565b7f7072696365203c3d203000000000000000000000000000000000000000000000600082015250565b6000610be1600a8361083e565b9150610bec82610bab565b602082019050919050565b60006020820190508181036000830152610c1081610bd4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b6001851115610c9d57808604811115610c7957610c78610c17565b5b6001851615610c885780820291505b8081029050610c9685610c46565b9450610c5d565b94509492505050565b600082610cb65760019050610d72565b81610cc45760009050610d72565b8160018114610cda5760028114610ce457610d13565b6001915050610d72565b60ff841115610cf657610cf5610c17565b5b8360020a915084821115610d0d57610d0c610c17565b5b50610d72565b5060208310610133831016604e8410600b8410161715610d485782820a905083811115610d4357610d42610c17565b5b610d72565b610d558484846001610c53565b92509050818404811115610d6c57610d6b610c17565b5b81810290505b9392505050565b6000610d84826109e0565b9150610d8f8361072e565b9250610dbc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484610ca6565b905092915050565b6000610dcf826107ff565b9150610dda836107ff565b9250828202610de8816107ff565b91507f80000000000000000000000000000000000000000000000000000000000000008414600084121615610e2057610e1f610c17565b5b8282058414831517610e3557610e34610c17565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000610e76826107ff565b9150610e81836107ff565b925082610e9157610e90610e3c565b5b600160000383147f800000000000000000000000000000000000000000000000000000000000000083141615610eca57610ec9610c17565b5b82820590509291505056fea264697066735822122012aa36db157a34fc1673a8a0a5dfafcfb16f11b4f8c5a14082c8dfbf00da613364736f6c63430008140033
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in HYPE
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.