S Price: $0.0299 (+0.89%)
Gas: 55 Gwei

Contract

0xea13718A6955bd2dc3F261351F1Fda78aB74E25D

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Exact Match Similar Match: 0x6ECfb8FF...5Fa5F5fC8
Constructor

Contract Name

PythAggregatorV3

Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled
Yes with 200 runs
Other Settings
default evmVersion
License
-NA-
Contract Source Code (Solidity Standard Json-Input format)
Contract Security Audit
No Contract Security Audit SubmittedSubmit Audit Here
Contract ABI
API
[{"inputs":[{"internalType":"address","name":"_pyth","type":"address"},{"internalType":"bytes32","name":"_priceId","type":"bytes32"},{"internalType":"uint8","name":"__decimals","type":"uint8"},{"internalType":"uint8","name":"__inputDecimals","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"description","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestAnswer","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"latestTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pyth","outputs":[{"internalType":"contract IPyth","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"priceUpdateData","type":"bytes[]"}],"name":"updateFeeds","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"}]
Deployed Bytecode
0x6080604052600436106100c25760003560e01c80638205bf6a1161007f578063b633620c11610059578063b633620c1461021a578063bc36c0a91461023a578063f98d06f01461024f578063feaf968c1461028757600080fd5b80638205bf6a1461018e5780639a6fc8f5146101a3578063b5ab58dc146101fa57600080fd5b806331189334146100c7578063313ce567146100f057806350d25bcd1461012e57806354fd4d5014610143578063668a0f02146101575780637284e4161461016c575b600080fd5b3480156100d357600080fd5b506100dd60005481565b6040519081526020015b60405180910390f35b3480156100fc57600080fd5b5060405160ff7f000000000000000000000000000000000000000000000000000000000000000a1681526020016100e7565b34801561013a57600080fd5b506100dd61029c565b34801561014f57600080fd5b5060016100dd565b34801561016357600080fd5b506100dd610327565b34801561017857600080fd5b50610181610336565b6040516100e79190610771565b34801561019a57600080fd5b506100dd610356565b3480156101af57600080fd5b506101c36101be3660046107bf565b6103d6565b6040805169ffffffffffffffffffff968716815260208101959095528401929092526060830152909116608082015260a0016100e7565b34801561020657600080fd5b506100dd6102153660046107eb565b61047c565b34801561022657600080fd5b506100dd6102353660046107eb565b61048c565b61024d610248366004610804565b610496565b005b34801561025b57600080fd5b5060015461026f906001600160a01b031681565b6040516001600160a01b0390911681526020016100e7565b34801561029357600080fd5b506101c3610609565b600154600080546040516396834ad360e01b81526004810191909152909182916001600160a01b03909116906396834ad390602401608060405180830381865afa1580156102ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031291906108a8565b905061032181600001516106b5565b91505090565b6000610331610356565b905090565b60606040518060600160405280603e8152602001610ba5603e9139905090565b600154600080546040516396834ad360e01b81526004810191909152909182916001600160a01b03909116906396834ad390602401608060405180830381865afa1580156103a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103cc91906108a8565b6060015192915050565b600154600080546040516396834ad360e01b815260048101919091529091829182918291829182916001600160a01b03909116906396834ad390602401608060405180830381865afa158015610430573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045491906108a8565b90508661046482600001516106b5565b60609290920151909891979096508695509350915050565b600061048661029c565b92915050565b6000610486610356565b60015460405163d47eed4560e01b81526000916001600160a01b03169063d47eed45906104c99086908690600401610961565b602060405180830381865afa1580156104e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050a91906109fd565b600154604051631df3cbc560e31b81529192506001600160a01b03169063ef9e5e2890839061053f9087908790600401610961565b6000604051808303818588803b15801561055857600080fd5b505af115801561056c573d6000803e3d6000fd5b5050604051600093503392504791508381818185875af1925050503d80600081146105b3576040519150601f19603f3d011682016040523d82523d6000602084013e6105b8565b606091505b50509050806106035760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b604482015260640160405180910390fd5b50505050565b600154600080546040516396834ad360e01b815260048101919091529091829182918291829182916001600160a01b03909116906396834ad390602401608060405180830381865afa158015610663573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068791906108a8565b9050806060015195508561069e82600001516106b5565b606092909201519097919690955085945092509050565b6000600782900b6106e77f000000000000000000000000000000000000000000000000000000000000000a6012610a2c565b6106f290600a610b29565b6106fc9082610b38565b905060127f000000000000000000000000000000000000000000000000000000000000000a60ff161015610486576107557f000000000000000000000000000000000000000000000000000000000000000a6012610a2c565b61076090600a610b29565b61076a9082610b68565b9392505050565b600060208083528351808285015260005b8181101561079e57858101830151858201604001528201610782565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156107d157600080fd5b813569ffffffffffffffffffff8116811461076a57600080fd5b6000602082840312156107fd57600080fd5b5035919050565b6000806020838503121561081757600080fd5b823567ffffffffffffffff8082111561082f57600080fd5b818501915085601f83011261084357600080fd5b81358181111561085257600080fd5b8660208260051b850101111561086757600080fd5b60209290920196919550909350505050565b805167ffffffffffffffff8116811461089157600080fd5b919050565b8051600381900b811461089157600080fd5b6000608082840312156108ba57600080fd5b6040516080810181811067ffffffffffffffff821117156108eb57634e487b7160e01b600052604160045260246000fd5b6040528251600781900b811461090057600080fd5b815261090e60208401610879565b602082015261091f60408401610896565b6040820152606083015160608201528091505092915050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60208082528181018390526000906040600585901b8401810190840186845b878110156109f057868403603f190183528135368a9003601e190181126109a657600080fd5b8901858101903567ffffffffffffffff8111156109c257600080fd5b8036038213156109d157600080fd5b6109dc868284610938565b955050509184019190840190600101610980565b5091979650505050505050565b600060208284031215610a0f57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60ff828116828216039081111561048657610486610a16565b600181815b80851115610a80578160001904821115610a6657610a66610a16565b80851615610a7357918102915b93841c9390800290610a4a565b509250929050565b600082610a9757506001610486565b81610aa457506000610486565b8160018114610aba5760028114610ac457610ae0565b6001915050610486565b60ff841115610ad557610ad5610a16565b50506001821b610486565b5060208310610133831016604e8410600b8410161715610b03575081810a610486565b610b0d8383610a45565b8060001904821115610b2157610b21610a16565b029392505050565b600061076a60ff841683610a88565b80820260008212600160ff1b84141615610b5457610b54610a16565b818105831482151761048657610486610a16565b600082610b8557634e487b7160e01b600052601260045260246000fd5b600160ff1b821460001984141615610b9f57610b9f610a16565b50059056fe4120706f7274206f66206120636861696e6c696e6b2061676772656761746f7220706f77657265642062792070797468206e6574776f726b206665656473a264697066735822122002496c738df53ded58eebe9bc641658bd55469bc25b4c324ee5be36b7a361a7664736f6c63430008130033
🤖 Code Reader

Generate instant answers for your smart contract questions using Al Models. Read more.

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.