S Price: $0.058165 (-2.27%)
Gas: 55 Gwei

Contract

0xEC5AFc9590964f2fA0FeED54f0fBB2A34480908D

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

More Info

Private Name Tags

Transaction Hash
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
15482162024-12-25 10:21:26401 days ago1735122086  Contract Creation0 S
Cross-Chain Transactions
Loading...
Loading

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

Contract Name:
Agent

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

API
[{"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"}]}]

0x61012b515034610020573361012b5261012b6100246100003961014b610000f35b5f80fd5f3560e01c632483e7158118610022573461012757602061012b60403960206040f35b63baae8abf8118610123576044361034176101275760043560040160088135116101275780355f81600881116101275780156100ab57905b61044081026060018160051b602086010135602086010180358060a01c610127578252602081013581016104008135116101275760208135016020840181838237505050505060010181811861005a575b5050806040525050602061012b5f395f513318610127575f6040516008811161012757801561011f57905b61044081026060016104406122606104408360045afa5050612260515a6122805f5f8251602084015f8787f1905090509050610114573d5f5f3e3d5ffd5b6001018181186100d6575b5050005b5f5ffd5b5f80fd8419012b801820a16576797065728300030a0014

Deployed Bytecode

0x5f3560e01c632483e7158118610022573461012757602061012b60403960206040f35b63baae8abf8118610123576044361034176101275760043560040160088135116101275780355f81600881116101275780156100ab57905b61044081026060018160051b602086010135602086010180358060a01c610127578252602081013581016104008135116101275760208135016020840181838237505050505060010181811861005a575b5050806040525050602061012b5f395f513318610127575f6040516008811161012757801561011f57905b61044081026060016104406122606104408360045afa5050612260515a6122805f5f8251602084015f8787f1905090509050610114573d5f5f3e3d5ffd5b6001018181186100d6575b5050005b5f5ffd5b5f80fd000000000000000000000000e5de15a9c9bbedb4f5ec13b131e61245f2983a69

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