Discover more of SonicScan Block Explorer's tools and services in one place.
Contract Source Code:
File 1 of 1 : Agent
# 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)
Please enter a contract address above to load the contract details and source code.
Please DO NOT store any passwords or private keys here. A private note (up to 100 characters) can be saved and is useful for transaction tracking.
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.