ETH Price: $3,748.29 (-2.64%)

Contract

0x9fF1ddE4BE9BbD891836863d227248047B3D881b

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

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
284529692022-10-10 1:25:54792 days ago1665365154  Contract Creation0 ETH

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Vyper_contract

Compiler Version
vyper:0.3.7

Optimization Enabled:
N/A

Other Settings:
default evmVersion, None license

Contract Source Code (Vyper language format)

# @version 0.3.7
"""
@title Agent
@author CurveFi
"""


struct Message:
    target: address
    data: Bytes[MAX_BYTES]


MAX_BYTES: constant(uint256) = 1024
MAX_MESSAGES: constant(uint256) = 8


RELAYER: public(immutable(address))


@external
def __init__():
    RELAYER = msg.sender


@external
def execute(_messages: DynArray[Message, MAX_MESSAGES]):
    """
    @notice Execute a sequence of messages.
    @param _messages An array of messages to be executed.
    """
    assert msg.sender == RELAYER

    for message in _messages:
        raw_call(message.target, message.data)

Contract Security Audit

Contract ABI

[{"stateMutability":"nonpayable","type":"constructor","inputs":[],"outputs":[]},{"stateMutability":"nonpayable","type":"function","name":"execute","inputs":[{"name":"_messages","type":"tuple[]","components":[{"name":"target","type":"address"},{"name":"data","type":"bytes"}]}],"outputs":[]},{"stateMutability":"view","type":"function","name":"RELAYER","inputs":[],"outputs":[{"name":"","type":"address"}]}]

34610196573361017a5261017a61001b6100003961019a610000f36003361161000c57610162565b60003560e01c346101685763baae8abf8118610139576044361061016857600435600401600881351161016857803580604052600081600881116101685780156100ae57905b61044081026060018160051b602086010135602086010180358060a01c61016857825260208101358101610400813511610168578035806020850152602082016020602086010182828237505050505050600101818118610052575b50505050602061017a60003960005133186101685760006040516008811161016857801561013557905b6104408102606001805161226052602081018051806122805260208201816122a0838360045afa5050505050612280600060008251602084016000612260515af1905061012a573d600060003e3d6000fd5b6001018181186100d8575b5050005b632483e7158118610160576004361061016857602061017a60003960005160405260206040f35b505b60006000fd5b600080fda165767970657283000307000b005b600080fd

Deployed Bytecode

0x6003361161000c57610162565b60003560e01c346101685763baae8abf8118610139576044361061016857600435600401600881351161016857803580604052600081600881116101685780156100ae57905b61044081026060018160051b602086010135602086010180358060a01c61016857825260208101358101610400813511610168578035806020850152602082016020602086010182828237505050505050600101818118610052575b50505050602061017a60003960005133186101685760006040516008811161016857801561013557905b6104408102606001805161226052602081018051806122805260208201816122a0838360045afa5050505050612280600060008251602084016000612260515af1905061012a573d600060003e3d6000fd5b6001018181186100d8575b5050005b632483e7158118610160576004361061016857602061017a60003960005160405260206040f35b505b60006000fd5b600080fda165767970657283000307000b0000000000000000000000008e1e5001c7b8920196c7e3edf2bcf47b2b6153ff

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
[ 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.