ETH Price: $2,455.83 (-2.00%)

Contract

0x430BEdcA5DfA6f94d1205Cb33AB4f008D0d9942a
 

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

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
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
Source Code Verified Exact Match

Contract Name

FixedPriceStrategy

Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled
Yes with 200 runs
Other Settings
london 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":"uint256","name":"priceRatio","type":"uint256"},{"internalType":"address","name":"underlyingAsset","type":"address"},{"internalType":"uint8","name":"underlyingAssetDecimals","type":"uint8"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"GHO_DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_RATIO","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNDERLYING_ASSET","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNDERLYING_ASSET_DECIMALS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"assetAmount","type":"uint256"},{"internalType":"bool","name":"roundUp","type":"bool"}],"name":"getAssetPriceInGho","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ghoAmount","type":"uint256"},{"internalType":"bool","name":"roundUp","type":"bool"}],"name":"getGhoPriceInAsset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
61010060405234801561001157600080fd5b5060405161061e38038061061e833981016040819052610030916100b4565b600083116100845760405162461bcd60e51b815260206004820152601360248201527f494e56414c49445f50524943455f524154494f00000000000000000000000000604482015260640160405180910390fd5b60c08390526001600160a01b03821660805260ff811660a0526100a881600a610206565b60e0525061021c915050565b6000806000606084860312156100c957600080fd5b835160208501519093506001600160a01b03811681146100e857600080fd5b604085015190925060ff811681146100ff57600080fd5b809150509250925092565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111561015b5781600019048211156101415761014161010a565b8085161561014e57918102915b93841c9390800290610125565b509250929050565b60008261017257506001610200565b8161017f57506000610200565b8160018114610195576002811461019f576101bb565b6001915050610200565b60ff8411156101b0576101b061010a565b50506001821b610200565b5060208310610133831016604e8410600b84101617156101de575081810a610200565b6101e88383610120565b80600019048211156101fc576101fc61010a565b0290505b92915050565b600061021560ff841683610163565b9392505050565b60805160a05160c05160e0516103b76102676000396000818161013c01526101c301526000818160ae0152818161015d01526101a20152600060870152600060fb01526103b76000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80632e0e1eb6146100675780633545cd86146100825780633c431d6a146100a95780635ded74a5146100d0578063a7b78c3c146100e3578063e6025393146100f6575b600080fd5b61006f601281565b6040519081526020015b60405180910390f35b61006f7f000000000000000000000000000000000000000000000000000000000000000081565b61006f7f000000000000000000000000000000000000000000000000000000000000000081565b61006f6100de3660046102fa565b610135565b61006f6100f13660046102fa565b61019b565b61011d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610079565b60006101947f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000008461018857600061018b565b60015b869291906101ee565b9392505050565b60006101947f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000008461018857600061018b565b6000806101fc86868661024b565b905060018360028111156102125761021261032f565b14801561022f57506000848061022a5761022a610345565b868809115b156102425761023f60018261035b565b90505b95945050505050565b6000808060001985870985870292508281108382030391505080600014156102865783828161027c5761027c610345565b0492505050610194565b80841161029257600080fd5b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6000806040838503121561030d57600080fd5b823591506020830135801515811461032457600080fd5b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000821982111561037c57634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220be8834c82818d60e4c2763dd74fcede1bb330cb409ba3bed33d28da6946c7d4764736f6c634300080a00330000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000006
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c80632e0e1eb6146100675780633545cd86146100825780633c431d6a146100a95780635ded74a5146100d0578063a7b78c3c146100e3578063e6025393146100f6575b600080fd5b61006f601281565b6040519081526020015b60405180910390f35b61006f7f000000000000000000000000000000000000000000000000000000000000000681565b61006f7f0000000000000000000000000000000000000000000000000de0b6b3a764000081565b61006f6100de3660046102fa565b610135565b61006f6100f13660046102fa565b61019b565b61011d7f000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb4881565b6040516001600160a01b039091168152602001610079565b60006101947f00000000000000000000000000000000000000000000000000000000000f42407f0000000000000000000000000000000000000000000000000de0b6b3a76400008461018857600061018b565b60015b869291906101ee565b9392505050565b60006101947f0000000000000000000000000000000000000000000000000de0b6b3a76400007f00000000000000000000000000000000000000000000000000000000000f42408461018857600061018b565b6000806101fc86868661024b565b905060018360028111156102125761021261032f565b14801561022f57506000848061022a5761022a610345565b868809115b156102425761023f60018261035b565b90505b95945050505050565b6000808060001985870985870292508281108382030391505080600014156102865783828161027c5761027c610345565b0492505050610194565b80841161029257600080fd5b600084868809600260036001881981018916988990049182028318808302840302808302840302808302840302808302840302808302840302918202909203026000889003889004909101858311909403939093029303949094049190911702949350505050565b6000806040838503121561030d57600080fd5b823591506020830135801515811461032457600080fd5b809150509250929050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6000821982111561037c57634e487b7160e01b600052601160045260246000fd5b50019056fea2646970667358221220be8834c82818d60e4c2763dd74fcede1bb330cb409ba3bed33d28da6946c7d4764736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000de0b6b3a7640000000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000000000000000000000000000000000000000000006

-----Decoded View---------------
Arg [0] : priceRatio (uint256): 1000000000000000000
Arg [1] : underlyingAsset (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [2] : underlyingAssetDecimals (uint8): 6

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [1] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000006

🤖 Code Reader

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

Custom Contract ABI

                            

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.