ETH Price: $2,950.80 (-0.17%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Method Block
From
To
View All Internal Transactions
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FixedPegOracleSLTR

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2025-10-25
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.18;

/**
 * @title FixedPegOracleSLTR
 * @notice Static price oracle returning $1.00 with 8 decimals.
 * @dev Does NOT inherit interfaces to avoid Remix/ethers.js deployment issues.
 */
contract FixedPegOracleSLTR {
    function decimals() external pure returns (uint8) {
        return 8;
    }

    function description() external pure returns (string memory) {
        return "SLTR / USD Oracle (Fixed at $1.00)";
    }

    function version() external pure returns (uint256) {
        return 1;
    }

    function latestRoundData()
        external
        view
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        )
    {
        return (
            1,
            1e8,
            block.timestamp,
            block.timestamp,
            1
        );
    }

    function getRoundData(uint80 _roundId)
        external
        view
        returns (
            uint80 roundId,
            int256 answer,
            uint256 startedAt,
            uint256 updatedAt,
            uint80 answeredInRound
        )
    {
        return (
            _roundId,
            1e8,
            block.timestamp,
            block.timestamp,
            _roundId
        );
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint80","name":"_roundId","type":"uint80"}],"name":"getRoundData","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":"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":"version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"}]

608060405234801561001057600080fd5b506101f0806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063313ce5671461005c57806354fd4d50146100705780637284e4161461007f5780639a6fc8f514610094578063feaf968c146100e8575b600080fd5b604051600881526020015b60405180910390f35b60405160018152602001610067565b6100876100f7565b6040516100679190610117565b6100b16100a2366004610165565b906305f5e10090429081908490565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a001610067565b60016305f5e1004280836100b1565b606060405180606001604052806022815260200161019960229139905090565b600060208083528351808285015260005b8181101561014457858101830151858201604001528201610128565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561017757600080fd5b813569ffffffffffffffffffff8116811461019157600080fd5b939250505056fe534c5452202f20555344204f7261636c65202846697865642061742024312e303029a2646970667358221220933fa09381b9dfb2a36191faa5e031fcf0cec8d23cb2dedbe892d659bef5b9bd64736f6c63430008120033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063313ce5671461005c57806354fd4d50146100705780637284e4161461007f5780639a6fc8f514610094578063feaf968c146100e8575b600080fd5b604051600881526020015b60405180910390f35b60405160018152602001610067565b6100876100f7565b6040516100679190610117565b6100b16100a2366004610165565b906305f5e10090429081908490565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a001610067565b60016305f5e1004280836100b1565b606060405180606001604052806022815260200161019960229139905090565b600060208083528351808285015260005b8181101561014457858101830151858201604001528201610128565b506000604082860101526040601f19601f8301168501019250505092915050565b60006020828403121561017757600080fd5b813569ffffffffffffffffffff8116811461019157600080fd5b939250505056fe534c5452202f20555344204f7261636c65202846697865642061742024312e303029a2646970667358221220933fa09381b9dfb2a36191faa5e031fcf0cec8d23cb2dedbe892d659bef5b9bd64736f6c63430008120033

Deployed Bytecode Sourcemap

247:1170:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;282:77;;;350:1;156:36:1;;144:2;129:18;282:77:0;;;;;;;;498:78;;;567:1;349:25:1;;337:2;322:18;498:78:0;203:177:1;367:123:0;;;:::i;:::-;;;;;;;:::i;990:424::-;;;;;;:::i;:::-;1286:8;1309:3;;1327:15;;;;1286:8;;990:424;;;;;1494:22:1;1543:15;;;1525:34;;1590:2;1575:18;;1568:34;;;;1618:18;;1611:34;;;;1676:2;1661:18;;1654:34;1725:15;;;1719:3;1704:19;;1697:44;1471:3;1456:19;990:424:0;1231:516:1;584:398:0;868:1;884:3;902:15;;868:1;584:398;;367:123;413:13;439:43;;;;;;;;;;;;;;;;;;;367:123;:::o;385:548:1:-;497:4;526:2;555;544:9;537:21;587:6;581:13;630:6;625:2;614:9;610:18;603:34;655:1;665:140;679:6;676:1;673:13;665:140;;;774:14;;;770:23;;764:30;740:17;;;759:2;736:26;729:66;694:10;;665:140;;;669:3;854:1;849:2;840:6;829:9;825:22;821:31;814:42;924:2;917;913:7;908:2;900:6;896:15;892:29;881:9;877:45;873:54;865:62;;;;385:548;;;;:::o;938:288::-;996:6;1049:2;1037:9;1028:7;1024:23;1020:32;1017:52;;;1065:1;1062;1055:12;1017:52;1104:9;1091:23;1154:22;1147:5;1143:34;1136:5;1133:45;1123:73;;1192:1;1189;1182:12;1123:73;1215:5;938:288;-1:-1:-1;;;938:288:1:o

Swarm Source

ipfs://933fa09381b9dfb2a36191faa5e031fcf0cec8d23cb2dedbe892d659bef5b9bd

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.