DSProxy

Execute transactions with the use of a proxy

Smart contract code: DSProxy

1. Summary

A user can execute functions through this proxy by passing in the bytecode for the target contract as well as the calldata for the function they want to call.

2. Contract Variables & Functions

Variables

  • cache - address of contract that caches the bytecode of target contracts called by the proxy

Functions

  • execute - execute a function in the context of the proxy

  • setCache - set a new cache

Last updated