ETH Price: $3,442.35 (+2.94%)

Contract

0xc594687D3D9A7b8766b73Ded692A280793366b23
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x09534053...6B24EE2e0
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
StableSwapNGAdapter

Compiler Version
vyper:0.3.10

Optimization Enabled:
N/A

Other Settings:
default evmVersion, MIT license

Contract Source Code (Vyper language format)

# pragma version 0.3.10
"""
@title StableSwapNGAdapter
@author Curve.Fi
@notice View contract to use -ng StableSwap in AggregateStablePrice with only old pools support
"""

interface Stableswap:
    def price_oracle(i: uint256) -> uint256: view


TARGET: public(immutable(Stableswap))


@external
def __init__(_address: Stableswap):
    TARGET = _address


@view
@external
def __default__() -> uint256:
    # Needed methods are view and return exactly 1 slot:
    #     def coins(i: uint256) -> address: view
    #     def get_virtual_price() -> uint256: view
    #     def totalSupply() -> uint256: view
    return convert(raw_call(TARGET.address, msg.data, max_outsize=32, is_static_call=True), uint256)


@view
@external
def price_oracle() -> uint256:
    return TARGET.price_oracle(0)

Contract Security Audit

Contract ABI

[{"stateMutability":"nonpayable","type":"constructor","inputs":[{"name":"_address","type":"address"}],"outputs":[]},{"stateMutability":"view","type":"fallback"},{"stateMutability":"view","type":"function","name":"price_oracle","inputs":[],"outputs":[{"name":"","type":"uint256"}]},{"stateMutability":"view","type":"function","name":"TARGET","inputs":[],"outputs":[{"name":"","type":"address"}]}]

Deployed Bytecode

0x5f3560e01c60026001821660011b6100e201601e395f51565b63cc1f2afa811861008657346100de5760206100e660403960206040f3610086565b6386fc88d3811861008657346100de57602060206100e65f395f5163687276536040525f606052602060406024605c845afa610078573d5f5f3e3d5ffd5b60203d106100de5760409050f35b346100de5760206100e65f395f515a596020606036365f8537838686fa9050905090506100b5573d5f5f3e3d5ffd5b3d602081183d602010021860405260406020810151815160200360031b1c905060805260206080f35b5f80fd0018003a00000000000000000000000030ce6e5a75586f0e83bcac77c9135e980e6bc7a8

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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