Overview
S Balance
0 S
S Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Source Code Verified (Exact Match) This is an ERC-5202 Blueprint contract
Contract Name:
Agent
Compiler Version
vyper:0.3.10
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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]}]
Contract Creation Code
6101663d81600a3d39f3fe710061012b515034610020573361012b5261012b6100246100003961014b610000f35b5f80fd5f3560e01c632483e7158118610022573461012757602061012b60403960206040f35b63baae8abf8118610123576044361034176101275760043560040160088135116101275780355f81600881116101275780156100ab57905b61044081026060018160051b602086010135602086010180358060a01c610127578252602081013581016104008135116101275760208135016020840181838237505050505060010181811861005a575b5050806040525050602061012b5f395f513318610127575f6040516008811161012757801561011f57905b61044081026060016104406122606104408360045afa5050612260515a6122805f5f8251602084015f8787f1905090509050610114573d5f5f3e3d5ffd5b6001018181186100d6575b5050005b5f5ffd5b5f80fd8419012b801820a16576797065728300030a0014
Deployed Bytecode
0xfe710061012b515034610020573361012b5261012b6100246100003961014b610000f35b5f80fd5f3560e01c632483e7158118610022573461012757602061012b60403960206040f35b63baae8abf8118610123576044361034176101275760043560040160088135116101275780355f81600881116101275780156100ab57905b61044081026060018160051b602086010135602086010180358060a01c610127578252602081013581016104008135116101275760208135016020840181838237505050505060010181811861005a575b5050806040525050602061012b5f395f513318610127575f6040516008811161012757801561011f57905b61044081026060016104406122606104408360045afa5050612260515a6122805f5f8251602084015f8787f1905090509050610114573d5f5f3e3d5ffd5b6001018181186100d6575b5050005b5f5ffd5b5f80fd8419012b801820a16576797065728300030a0014
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.