Source Code
Overview
HYPE Balance
HYPE Value
$0.00View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
PriceFeedV3
Compiler Version
v0.8.26+commit.8a97fa7a
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
// import "@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol";
interface IUniswapV3Pool {
function slot0() external view returns (
uint160 sqrtPriceX96,
int24 tick,
uint16 observationIndex,
uint16 observationCardinality,
uint16 observationCardinalityNext,
uint32 feeProtocol,
bool unlocked
);
function token0() external view returns (address);
function token1() external view returns (address);
}
interface IERC20 {
function approve(address spender, uint256 value) external returns (bool);
function transfer(address to, uint256 value) external returns (bool);
function transferFrom(address from, address to, uint256 value) external returns (bool);
function balanceOf(address owner) external view returns (uint256);
function decimals() external view returns (uint8);
}
interface IPriceOracle {
function getPrice(address _token) external view returns (uint256);
}
contract PriceFeedV3{
struct V3PoolInfo {
uint8 quoteTokenIndex; // 0: usdt0, 1: hype
address pool;
}
address public operator;
uint256 public USDT0PRICE = 1e8;
uint256 public PRICEUNIT = 1e8;
address public HYPE = 0x5555555555555555555555555555555555555555;
address public USDT0 = 0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb;
address public wstHYPE = 0x94e8396e0869c9F2200760aF0621aFd240E1CF38;
address public stHYPE = 0xfFaa4a3D97fE9107Cef8a3F48c069F577Ff76cC1;
address public LHYPE = 0x5748ae796AE46A4F1348a1693de4b50560485562;
address public UBTC = 0x9FDBdA0A5e284c32744D2f17Ee5c74B284993463;
address public UETH = 0xBe6727B535545C67d5cAa73dEa54865B92CF7907;
address public USDe = 0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34;
address public feUSD = 0x02c6a2fA58cC01A18B8D9E00eA48d65E4dF26c70;
address public USDXL = 0xca79db4B49f608eF54a5CB813FbEd3a6387bC645;
mapping( address => V3PoolInfo ) public hyperswapv3poolInfo;
mapping( address => address ) public hyperswapv3pool_honey;
mapping( address => address ) public hyperswapv3pool_eth;
mapping( address => address ) public hyperswapv3pool_btc;
mapping( address => address ) public hyperswapv3pool_beraeth;
mapping( address => address ) public hyperswapv3pool_solvbtc;
mapping( address => address ) public hyperswapv3pool_usda;
mapping( address => address ) public hyperswapv3pool_pumpbtcbera;
constructor(){
operator = msg.sender;
hyperswapv3poolInfo[0x5555555555555555555555555555555555555555] = V3PoolInfo(0, 0x56aBfaf40F5B7464e9cC8cFF1af13863D6914508); // WHYPE/USDT0
hyperswapv3poolInfo[0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34] = V3PoolInfo(0, 0xB0588A09096f1029B25d14f788a480044D8C546B); // USDe/USDT0
hyperswapv3poolInfo[0x02c6a2fA58cC01A18B8D9E00eA48d65E4dF26c70] = V3PoolInfo(0, 0x7D31b4A859d73532741CF19153cafE2c21ef03C4); // feUSD/USDT0
hyperswapv3poolInfo[0xca79db4B49f608eF54a5CB813FbEd3a6387bC645] = V3PoolInfo(0, 0xEA1694eB5CE437fA6F4e974cBa12E80BFE3258a7); // USDXL/USDT0
hyperswapv3poolInfo[0x94e8396e0869c9F2200760aF0621aFd240E1CF38] = V3PoolInfo(1, 0x7066dDF85A4a624418Af9da57e3f7baeEFA8E792); // wstHYPE/HYPE
hyperswapv3poolInfo[0xfFaa4a3D97fE9107Cef8a3F48c069F577Ff76cC1] = V3PoolInfo(1, 0x8D64d8273a3D50E44Cc0e6F43d927f78754EdefB); // stHYPE/HYPE
hyperswapv3poolInfo[0x5748ae796AE46A4F1348a1693de4b50560485562] = V3PoolInfo(1, 0x7Db294F26c753ce4FA54A1577aeF7f837ea91fDC); // LHYPE/HYPE
hyperswapv3poolInfo[0x9FDBdA0A5e284c32744D2f17Ee5c74B284993463] = V3PoolInfo(1, 0x3A36B04bcC1D5E2E303981eF643D2668E00b43e7); // UBTC/HYPE
hyperswapv3poolInfo[0xBe6727B535545C67d5cAa73dEa54865B92CF7907] = V3PoolInfo(1, 0x719D7F4388cb0eFb6A48F3c3266e443edCE6588a); // UETH/HYPE
hyperswapv3poolInfo[0xfD739d4e423301CE9385c1fb8850539D657C296D] = V3PoolInfo(1, 0x5Cbe810071DE393de35e574Fb2830E16dA794bab); // KHYPE/HYPE
}
function setUSDT0Price(uint256 _price) public {
require(msg.sender == operator, "byUSDT0Price: only operator can set price");
USDT0PRICE = _price;
}
function setHyperSwapV3Pool(address _token, address _pool, uint8 _index) public {
require(msg.sender == operator, "byUSDT0Price: only operator can set pool");
hyperswapv3poolInfo[_token] = V3PoolInfo(
_index,
_pool
);
}
function getHYPEPrice() public view returns(uint256 price){
price = _getTokenPrice(USDT0PRICE, HYPE);
}
function getPrice(address token) public view returns (uint256 price){
if(token == USDT0){
price = USDT0PRICE;
return price;
}
else{
V3PoolInfo memory _info = hyperswapv3poolInfo[token];
uint8 index = _info.quoteTokenIndex;
uint256 quoteTokenPrice = 0;
if(index == 0) quoteTokenPrice = USDT0PRICE;
else if(index == 1) quoteTokenPrice = getHYPEPrice();
price = _getTokenPrice(quoteTokenPrice, token);
}
}
function _getTokenPrice(uint256 quoteTokenPrice, address token) public view returns (uint256 price) {
V3PoolInfo memory _info = hyperswapv3poolInfo[token];
address pool = _info.pool;
require(pool != address(0), "Pool not found");
IUniswapV3Pool uniswapPool = IUniswapV3Pool(pool);
// Get token addresses
address token0 = uniswapPool.token0();
address token1 = uniswapPool.token1();
require(token == token0 || token == token1, "Token not in this pool");
// Get the sqrtPriceX96 from slot0()
(uint160 sqrtPriceX96,,,,,,) = uniswapPool.slot0();
// Convert sqrtPriceX96 to price (token1 per token0)
// uint256 priceX96 = uint256(sqrtPriceX96) * uint256(sqrtPriceX96) >> (96 * 2);
// If token0 is the input token, return token1/token0 price
// Otherwise, return the inverse (token0/token1)
uint8 decimal0 = IERC20(token0).decimals();
uint8 decimal1 = IERC20(token1).decimals();
if (token == token0) { // token1 per token0
if(decimal0 > decimal1){
price = ((quoteTokenPrice * uint256(sqrtPriceX96) >> 48) * uint256(sqrtPriceX96) >> 48) * 10**(decimal0 - decimal1) >> 96;
}
else{
price = ((quoteTokenPrice * uint256(sqrtPriceX96) >> 48) * uint256(sqrtPriceX96) >> 48) / 10**(decimal1 - decimal0) >> 96;
}
} else {
if(decimal0 > decimal1){ // token0 per token1 (USDC per token)
price = ((quoteTokenPrice << 144) / uint256(sqrtPriceX96) << 48) / 10**(decimal0 - decimal1) / uint256(sqrtPriceX96);
}
else{
price = ((quoteTokenPrice << 144) / uint256(sqrtPriceX96) << 48) * 10**(decimal1 - decimal0) / uint256(sqrtPriceX96);
}
}
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"viaIR": true,
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"remappings": []
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"HYPE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"LHYPE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICEUNIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UBTC","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDT0","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDT0PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDXL","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDe","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quoteTokenPrice","type":"uint256"},{"internalType":"address","name":"token","type":"address"}],"name":"_getTokenPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feUSD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHYPEPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hyperswapv3poolInfo","outputs":[{"internalType":"uint8","name":"quoteTokenIndex","type":"uint8"},{"internalType":"address","name":"pool","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hyperswapv3pool_beraeth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hyperswapv3pool_btc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hyperswapv3pool_eth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hyperswapv3pool_honey","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hyperswapv3pool_pumpbtcbera","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hyperswapv3pool_solvbtc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"hyperswapv3pool_usda","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_pool","type":"address"},{"internalType":"uint8","name":"_index","type":"uint8"}],"name":"setHyperSwapV3Pool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setUSDT0Price","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stHYPE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wstHYPE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60806040523461059a576305f5e1006001819055600255600380546001600160a01b03199081167355555555555555555555555555555555555555551790915560048054821673b8ce59fc3717ada4c02eadf9682a9e934f625ebb1790556005805482167394e8396e0869c9f2200760af0621afd240e1cf3817905560068054821673ffaa4a3d97fe9107cef8a3f48c069f577ff76cc1179055600780548216735748ae796ae46a4f1348a1693de4b50560485562179055600880548216739fdbda0a5e284c32744d2f17ee5c74b28499346317905560098054821673be6727b535545c67d5caa73dea54865b92cf7907179055600a80548216735d3a1ff2b6bab83b63cd9ad0787074081a52ef34179055600b805482167302c6a2fa58cc01a18b8d9e00ea48d65e4df26c70179055600c8054821673ca79db4b49f608ef54a5cb813fbed3a6387bc6451790555f80549091163317905561015f61059e565b5f8152602081017356abfaf40f5b7464e9cc8cff1af13863d691450881527355555555555555555555555555555555555555555f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b031916171790556101ca61059e565b5f81526020810173b0588a09096f1029b25d14f788a480044d8c546b8152735d3a1ff2b6bab83b63cd9ad0787074081a52ef345f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b0319161717905561023561059e565b5f815260208101737d31b4a859d73532741cf19153cafe2c21ef03c481527302c6a2fa58cc01a18b8d9e00ea48d65e4df26c705f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b031916171790556102a061059e565b5f81526020810173ea1694eb5ce437fa6f4e974cba12e80bfe3258a7815273ca79db4b49f608ef54a5cb813fbed3a6387bc6455f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b0319161717905561030b61059e565b6001815260208101737066ddf85a4a624418af9da57e3f7baeefa8e79281527394e8396e0869c9f2200760af0621afd240e1cf385f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b0319161717905561037761059e565b6001815260208101738d64d8273a3d50e44cc0e6f43d927f78754edefb815273ffaa4a3d97fe9107cef8a3f48c069f577ff76cc15f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b031916171790556103e361059e565b6001815260208101737db294f26c753ce4fa54a1577aef7f837ea91fdc8152735748ae796ae46a4f1348a1693de4b505604855625f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b0319161717905561044f61059e565b6001815260208101733a36b04bcc1d5e2e303981ef643d2668e00b43e78152739fdbda0a5e284c32744d2f17ee5c74b2849934635f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b031916171790556104bb61059e565b600181526020810173719d7f4388cb0efb6a48f3c3266e443edce6588a815273be6727b535545c67d5caa73dea54865b92cf79075f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b0319161717905561052761059e565b6001815260208101735cbe810071de393de35e574fb2830e16da794bab815273fd739d4e423301ce9385c1fb8850539d657c296d5f52600d60205260ff60405f20925116825491610100600160a81b03905160081b169160018060a81b03191617179055604051610d0b90816105d28239f35b5f80fd5b60408051919082016001600160401b038111838210176105bd57604052565b634e487b7160e01b5f52604160045260245ffdfe6080806040526004361015610012575f80fd5b5f3560e01c908163098223d1146106f05750806329cdd7c3146106b057806341976e091461068d5780634d1a7dee146106655780634f86cd3014610648578063570ca735146106215780635ea895df146105e15780636cf1b74f146105b957806370c26a5e1461059157806371f39cd51461056957806376e86e7214610541578063818d0baf1461044957806382d2dcfb1461042157806386d4c423146103f95780638b3a777214610378578063981deba814610338578063a216db6814610312578063b8005e52146102d2578063cc33f41614610292578063cd02751f1461026a578063cd36eb6e14610242578063d086feb0146101f7578063d1609502146101cf578063d68cfdfc1461019b578063dd3927771461017e5763ecbc1ad61461013a575f80fd5b3461017a57602036600319011261017a576001600160a01b0361015b61072f565b165f526014602052602060018060a01b0360405f205416604051908152f35b5f80fd5b3461017a575f36600319011261017a576020600154604051908152f35b3461017a575f36600319011261017a576001546003546020916101c7916001600160a01b0316906108f1565b604051908152f35b3461017a575f36600319011261017a57600a546040516001600160a01b039091168152602090f35b3461017a57602036600319011261017a576001600160a01b0361021861072f565b165f52600d6020526040805f205481519060ff8116825260018060a01b039060081c166020820152f35b3461017a575f36600319011261017a576007546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a576006546040516001600160a01b039091168152602090f35b3461017a57602036600319011261017a576001600160a01b036102b361072f565b165f526012602052602060018060a01b0360405f205416604051908152f35b3461017a57602036600319011261017a576001600160a01b036102f361072f565b165f52600f602052602060018060a01b0360405f205416604051908152f35b3461017a57604036600319011261017a5760206101c7610330610745565b6004356108f1565b3461017a57602036600319011261017a576001600160a01b0361035961072f565b165f526010602052602060018060a01b0360405f205416604051908152f35b3461017a57602036600319011261017a575f546001600160a01b031633036103a257600435600155005b60405162461bcd60e51b815260206004820152602960248201527f6279555344543050726963653a206f6e6c79206f70657261746f722063616e2060448201526873657420707269636560b81b6064820152608490fd5b3461017a575f36600319011261017a576008546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a576009546040516001600160a01b039091168152602090f35b3461017a57606036600319011261017a5761046261072f565b61046a610745565b6044359160ff831680930361017a575f546001600160a01b031633036104eb57604051926104978461075b565b83526001600160a01b039182166020808501918252919092165f908152600d909152604090209151825491516001600160a81b031990921660ff919091161760089190911b610100600160a81b0316179055005b60405162461bcd60e51b815260206004820152602860248201527f6279555344543050726963653a206f6e6c79206f70657261746f722063616e206044820152671cd95d081c1bdbdb60c21b6064820152608490fd5b3461017a575f36600319011261017a576003546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a576005546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a57600c546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a57600b546040516001600160a01b039091168152602090f35b3461017a57602036600319011261017a576001600160a01b0361060261072f565b165f526013602052602060018060a01b0360405f205416604051908152f35b3461017a575f36600319011261017a575f546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a576020600254604051908152f35b3461017a575f36600319011261017a576004546040516001600160a01b039091168152602090f35b3461017a57602036600319011261017a5760206101c76106ab61072f565b6107ad565b3461017a57602036600319011261017a576001600160a01b036106d161072f565b165f526011602052602060018060a01b0360405f205416604051908152f35b3461017a57602036600319011261017a576020906001600160a01b0361071461072f565b165f908152600e835260409020546001600160a01b03168152f35b600435906001600160a01b038216820361017a57565b602435906001600160a01b038216820361017a57565b6040810190811067ffffffffffffffff82111761077757604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761077757604052565b6004546001600160a01b0382811692911682036107cc57505060015490565b610819915f52600d60205260405f20604051906107e88261075b565b5460ff811680835260089190911c6001600160a01b03166020909201919091525f908061081c5750506001546108f1565b90565b6001036108f1575061083b60015460018060a01b0360035416906108f1565b6108f1565b9081602091031261017a57516001600160a01b038116810361017a5790565b519061ffff8216820361017a57565b9081602091031261017a575160ff8116810361017a5790565b8115610891570490565b634e487b7160e01b5f52601260045260245ffd5b9060ff8091169116039060ff82116108b957565b634e487b7160e01b5f52601160045260245ffd5b60ff16604d81116108b957600a0a90565b818102929181159184041417156108b957565b60209160018060a01b031690815f52600d835260405f20604051906109158261075b565b5460ff8116825260081c6001600160a01b031693018390528215610c9f57604051630dfe168160e01b815292602084600481845afa938415610b33575f94610c7e575b5060405163d21220a760e01b815293602085600481855afa948515610b33575f95610c4d575b506001600160a01b0316928084149081908115610c3a575b5015610bfc5760e060049260405193848092633850c7bd851b82525afa918215610b33575f92610b61575b5060206004946040519586809263313ce56760e01b82525afa938415610b33575f94610b3e575b5060405163313ce56760e01b81529394602090859060049082906001600160a01b03165afa938415610b33575f94610b02575b5015610a9b5760ff831660ff8516115f14610a7457610a6e9392610a5a610a6893610a52610a639460018060a01b031680926108de565b60301c6108de565b60301c936108a5565b6108cd565b906108de565b60601c90565b610a6e93610a5a610a9593610a52610a639460018060a01b031680926108de565b90610887565b92909160ff811660ff8316115f14610adf5790610a95610a63610ada93610ad16108199760018060a01b0316809760901b610887565b60301b936108a5565b610887565b610a68610a63610ada93610ad16108199760018060a01b0316809760901b610887565b610b2591945060203d602011610b2c575b610b1d818361078b565b81019061086e565b925f610a1b565b503d610b13565b6040513d5f823e3d90fd5b60049450610b5a602091823d8411610b2c57610b1d818361078b565b94506109e8565b93915060e0843d60e011610bf4575b81610b7d60e0938361078b565b8101031261017a578351936001600160a01b038516850361017a5760208101518060020b0361017a57610bb26040820161085f565b50610bbf6060820161085f565b50610bcc6080820161085f565b5060a081015163ffffffff81160361017a5760c001518015150361017a5790929060206109c1565b3d9150610b70565b60405162461bcd60e51b8152602060048201526016602482015275151bdad95b881b9bdd081a5b881d1a1a5cc81c1bdbdb60521b6044820152606490fd5b6001600160a01b0387161490505f610996565b610c7091955060203d602011610c77575b610c68818361078b565b810190610840565b935f61097e565b503d610c5e565b610c9891945060203d602011610c7757610c68818361078b565b925f610958565b60405162461bcd60e51b815260206004820152600e60248201526d141bdbdb081b9bdd08199bdd5b9960921b6044820152606490fdfea26469706673582212209399d850d8df8f2b57891874ef01d031cb230fc98e8b06aa8d5d63bb4edcd27564736f6c634300081a0033
Deployed Bytecode
0x6080806040526004361015610012575f80fd5b5f3560e01c908163098223d1146106f05750806329cdd7c3146106b057806341976e091461068d5780634d1a7dee146106655780634f86cd3014610648578063570ca735146106215780635ea895df146105e15780636cf1b74f146105b957806370c26a5e1461059157806371f39cd51461056957806376e86e7214610541578063818d0baf1461044957806382d2dcfb1461042157806386d4c423146103f95780638b3a777214610378578063981deba814610338578063a216db6814610312578063b8005e52146102d2578063cc33f41614610292578063cd02751f1461026a578063cd36eb6e14610242578063d086feb0146101f7578063d1609502146101cf578063d68cfdfc1461019b578063dd3927771461017e5763ecbc1ad61461013a575f80fd5b3461017a57602036600319011261017a576001600160a01b0361015b61072f565b165f526014602052602060018060a01b0360405f205416604051908152f35b5f80fd5b3461017a575f36600319011261017a576020600154604051908152f35b3461017a575f36600319011261017a576001546003546020916101c7916001600160a01b0316906108f1565b604051908152f35b3461017a575f36600319011261017a57600a546040516001600160a01b039091168152602090f35b3461017a57602036600319011261017a576001600160a01b0361021861072f565b165f52600d6020526040805f205481519060ff8116825260018060a01b039060081c166020820152f35b3461017a575f36600319011261017a576007546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a576006546040516001600160a01b039091168152602090f35b3461017a57602036600319011261017a576001600160a01b036102b361072f565b165f526012602052602060018060a01b0360405f205416604051908152f35b3461017a57602036600319011261017a576001600160a01b036102f361072f565b165f52600f602052602060018060a01b0360405f205416604051908152f35b3461017a57604036600319011261017a5760206101c7610330610745565b6004356108f1565b3461017a57602036600319011261017a576001600160a01b0361035961072f565b165f526010602052602060018060a01b0360405f205416604051908152f35b3461017a57602036600319011261017a575f546001600160a01b031633036103a257600435600155005b60405162461bcd60e51b815260206004820152602960248201527f6279555344543050726963653a206f6e6c79206f70657261746f722063616e2060448201526873657420707269636560b81b6064820152608490fd5b3461017a575f36600319011261017a576008546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a576009546040516001600160a01b039091168152602090f35b3461017a57606036600319011261017a5761046261072f565b61046a610745565b6044359160ff831680930361017a575f546001600160a01b031633036104eb57604051926104978461075b565b83526001600160a01b039182166020808501918252919092165f908152600d909152604090209151825491516001600160a81b031990921660ff919091161760089190911b610100600160a81b0316179055005b60405162461bcd60e51b815260206004820152602860248201527f6279555344543050726963653a206f6e6c79206f70657261746f722063616e206044820152671cd95d081c1bdbdb60c21b6064820152608490fd5b3461017a575f36600319011261017a576003546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a576005546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a57600c546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a57600b546040516001600160a01b039091168152602090f35b3461017a57602036600319011261017a576001600160a01b0361060261072f565b165f526013602052602060018060a01b0360405f205416604051908152f35b3461017a575f36600319011261017a575f546040516001600160a01b039091168152602090f35b3461017a575f36600319011261017a576020600254604051908152f35b3461017a575f36600319011261017a576004546040516001600160a01b039091168152602090f35b3461017a57602036600319011261017a5760206101c76106ab61072f565b6107ad565b3461017a57602036600319011261017a576001600160a01b036106d161072f565b165f526011602052602060018060a01b0360405f205416604051908152f35b3461017a57602036600319011261017a576020906001600160a01b0361071461072f565b165f908152600e835260409020546001600160a01b03168152f35b600435906001600160a01b038216820361017a57565b602435906001600160a01b038216820361017a57565b6040810190811067ffffffffffffffff82111761077757604052565b634e487b7160e01b5f52604160045260245ffd5b90601f8019910116810190811067ffffffffffffffff82111761077757604052565b6004546001600160a01b0382811692911682036107cc57505060015490565b610819915f52600d60205260405f20604051906107e88261075b565b5460ff811680835260089190911c6001600160a01b03166020909201919091525f908061081c5750506001546108f1565b90565b6001036108f1575061083b60015460018060a01b0360035416906108f1565b6108f1565b9081602091031261017a57516001600160a01b038116810361017a5790565b519061ffff8216820361017a57565b9081602091031261017a575160ff8116810361017a5790565b8115610891570490565b634e487b7160e01b5f52601260045260245ffd5b9060ff8091169116039060ff82116108b957565b634e487b7160e01b5f52601160045260245ffd5b60ff16604d81116108b957600a0a90565b818102929181159184041417156108b957565b60209160018060a01b031690815f52600d835260405f20604051906109158261075b565b5460ff8116825260081c6001600160a01b031693018390528215610c9f57604051630dfe168160e01b815292602084600481845afa938415610b33575f94610c7e575b5060405163d21220a760e01b815293602085600481855afa948515610b33575f95610c4d575b506001600160a01b0316928084149081908115610c3a575b5015610bfc5760e060049260405193848092633850c7bd851b82525afa918215610b33575f92610b61575b5060206004946040519586809263313ce56760e01b82525afa938415610b33575f94610b3e575b5060405163313ce56760e01b81529394602090859060049082906001600160a01b03165afa938415610b33575f94610b02575b5015610a9b5760ff831660ff8516115f14610a7457610a6e9392610a5a610a6893610a52610a639460018060a01b031680926108de565b60301c6108de565b60301c936108a5565b6108cd565b906108de565b60601c90565b610a6e93610a5a610a9593610a52610a639460018060a01b031680926108de565b90610887565b92909160ff811660ff8316115f14610adf5790610a95610a63610ada93610ad16108199760018060a01b0316809760901b610887565b60301b936108a5565b610887565b610a68610a63610ada93610ad16108199760018060a01b0316809760901b610887565b610b2591945060203d602011610b2c575b610b1d818361078b565b81019061086e565b925f610a1b565b503d610b13565b6040513d5f823e3d90fd5b60049450610b5a602091823d8411610b2c57610b1d818361078b565b94506109e8565b93915060e0843d60e011610bf4575b81610b7d60e0938361078b565b8101031261017a578351936001600160a01b038516850361017a5760208101518060020b0361017a57610bb26040820161085f565b50610bbf6060820161085f565b50610bcc6080820161085f565b5060a081015163ffffffff81160361017a5760c001518015150361017a5790929060206109c1565b3d9150610b70565b60405162461bcd60e51b8152602060048201526016602482015275151bdad95b881b9bdd081a5b881d1a1a5cc81c1bdbdb60521b6044820152606490fd5b6001600160a01b0387161490505f610996565b610c7091955060203d602011610c77575b610c68818361078b565b810190610840565b935f61097e565b503d610c5e565b610c9891945060203d602011610c7757610c68818361078b565b925f610958565b60405162461bcd60e51b815260206004820152600e60248201526d141bdbdb081b9bdd08199bdd5b9960921b6044820152606490fdfea26469706673582212209399d850d8df8f2b57891874ef01d031cb230fc98e8b06aa8d5d63bb4edcd27564736f6c634300081a0033
Deployed Bytecode Sourcemap
1060:6070:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;-1:-1:-1;;;;;1060:6070:0;;:::i;:::-;;;;2482:64;1060:6070;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;;1227:31;1060:6070;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;4656:10;1060:6070;4668:4;1060:6070;;;4641:32;;-1:-1:-1;;;;;1060:6070:0;;4641:32;:::i;:::-;1060:6070;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;1810:64;1060:6070;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;-1:-1:-1;;;;;1060:6070:0;;:::i;:::-;;;;2027:59;1060:6070;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;1596:65;1060:6070;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;1523:66;1060:6070;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;-1:-1:-1;;;;;1060:6070:0;;:::i;:::-;;;;2351:60;1060:6070;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;-1:-1:-1;;;;;1060:6070:0;;:::i;:::-;;;;2158:56;1060:6070;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;;;;;:::i;:::-;;;;:::i;:::-;;;;;;-1:-1:-1;;1060:6070:0;;;;-1:-1:-1;;;;;1060:6070:0;;:::i;:::-;;;;2221:56;1060:6070;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;;;-1:-1:-1;;;;;1060:6070:0;4167:10;:22;1060:6070;;;;;;;;;;-1:-1:-1;;;1060:6070:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;1060:6070:0;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;1668:64;1060:6070;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;1739:64;1060:6070;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;;;:::i;:::-;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;1060:6070:0;4378:10;:22;1060:6070;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;1060:6070:0;;;;4486:62;;;1060:6070;;;;;;;-1:-1:-1;1060:6070:0;;;4456:19;1060:6070;;;;;;;;;;;;-1:-1:-1;;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;-1:-1:-1;;;1060:6070:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;1060:6070:0;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;1306:64;1060:6070;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;1449:67;1060:6070;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;1953:65;1060:6070;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;1881:65;1060:6070;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;-1:-1:-1;;;;;1060:6070:0;;:::i;:::-;;;;2418:57;1060:6070;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;;1265:30;1060:6070;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;-1:-1:-1;;1060:6070:0;;;;-1:-1:-1;;;;;1060:6070:0;;:::i;:::-;;;;2284:60;1060:6070;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1060:6070:0;;;;;;-1:-1:-1;;;;;1060:6070:0;;:::i;:::-;;;;;;2093:58;1060:6070;;;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;1060:6070:0;;;;;-1:-1:-1;1060:6070:0;;;;;;;;;;;;;;;;;;;;;;:::o;4687:547::-;4778:5;1060:6070;-1:-1:-1;;;;;1060:6070:0;;;;;;4769:14;;;;1060:6070;;4807:10;1060:6070;4832:12;:::o;4766:461::-;5177:38;1060:6070;;;4911:19;1060:6070;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;-1:-1:-1;;5047:10:0;;;1060:6070;;5077:10;1060:6070;5177:38;:::i;:::-;4766:461;4687:547::o;5044:110::-;5119:1;5110:10;5177:38;5107:47;1060:6070;4641:32;5119:1;1060:6070;;;;;;4668:4;1060:6070;;4641:32;;:::i;:::-;5177:38;:::i;1060:6070::-;;;;;;;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;:::o;:::-;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;:::o;5240:1887::-;1060:6070;5240:1887;1060:6070;;;;;;;;;;5377:19;1060:6070;;;;;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;5468:18;;1060:6070;;;;-1:-1:-1;;;5627:20:0;;1060:6070;;;5627:20;1060:6070;;5627:20;;;;;;;1060:6070;5627:20;;;5240:1887;-1:-1:-1;1060:6070:0;;-1:-1:-1;;;5675:20:0;;1060:6070;;;5627:20;1060:6070;5675:20;;;;;;;;1060:6070;5675:20;;;5240:1887;-1:-1:-1;;;;;;1060:6070:0;;5716:15;;;;;;:34;;;;5240:1887;1060:6070;;;;;5627:20;1060:6070;;;;;;;;;;5867:19;;;;;;;;;1060:6070;5867:19;;;5240:1887;1060:6070;;5627:20;1060:6070;;;;;;;;;;6197:25;;;;;;;;;1060:6070;6197:25;;;5240:1887;-1:-1:-1;1060:6070:0;;-1:-1:-1;;;6250:25:0;;1060:6070;;;;;;5627:20;;1060:6070;;-1:-1:-1;;;;;1060:6070:0;6250:25;;;;;;;1060:6070;6250:25;;;5240:1887;-1:-1:-1;6286:834:0;;;1060:6070;;;;;;6346:19;6343:353;1060:6070;;;6393:107;1060:6070;;6394:71;6475:25;1060:6070;6395:39;6480:19;1060:6070;;;;;;;6395:39;;;:::i;:::-;6438:2;1060:6070;6394:71;:::i;:::-;6438:2;1060:6070;6480:19;;:::i;:::-;6475:25;:::i;:::-;6393:107;;:::i;:::-;6504:2;1060:6070;6343:353;5240:1887::o;6343:353::-;6567:107;1060:6070;6568:71;6649:25;1060:6070;6569:39;6654:19;1060:6070;;;;;;;6569:39;;;:::i;6649:25::-;6567:107;;:::i;6286:834::-;1060:6070;;;;;;;;;6731:19;6728:381;1060:6070;;;;6875:25;6880:19;6816:84;1060:6070;6817:48;6816:108;1060:6070;;;;;;;;;6837:3;1060:6070;6817:48;:::i;:::-;6869:2;1060:6070;6880:19;;:::i;6816:84::-;:108;:::i;6728:381::-;7044:25;7049:19;6985:84;1060:6070;6986:48;6985:108;1060:6070;;;;;;;;;7006:3;1060:6070;6986:48;:::i;6250:25::-;;;;;1060:6070;6250:25;1060:6070;6250:25;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;1060:6070;;;;;;;;;6197:25;5627:20;6197:25;;;1060:6070;6197:25;;;;;;;;;;;:::i;:::-;;;;;5867:19;;;;1060:6070;5867:19;;1060:6070;5867:19;;;;;;1060:6070;5867:19;;;:::i;:::-;;;1060:6070;;;;;;;-1:-1:-1;;;;;1060:6070:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5867:19;;;1060:6070;5867:19;;;;;-1:-1:-1;5867:19:0;;1060:6070;;;-1:-1:-1;;;1060:6070:0;;;5627:20;1060:6070;;;;;;;;-1:-1:-1;;;1060:6070:0;;;;;;;5716:34;-1:-1:-1;;;;;1060:6070:0;;5735:15;;-1:-1:-1;5716:34:0;;;5675:20;;;;;1060:6070;5675:20;1060:6070;5675:20;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;5627;;;;;1060:6070;5627:20;1060:6070;5627:20;;;;;;;:::i;:::-;;;;;1060:6070;;;-1:-1:-1;;;1060:6070:0;;;;;;;;;;;;-1:-1:-1;;;1060:6070:0;;;;;;
Swarm Source
ipfs://9399d850d8df8f2b57891874ef01d031cb230fc98e8b06aa8d5d63bb4edcd275
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
[ 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.