Pass-through wallet is an ownable smart contract wallet with pausable token forwarding
Some onchain value flows require or benefit greatly from inserting full smart contract wallet functionality
Via an external, pausable function taking an array of tokens to forward (0x0 for ETH).
A PassThroughWallet's owner, if set, has FULL CONTROL of the deployment. It may, at any time for any reason, change the passThrough, pause the flow, or execute arbitrary calls on behalf of the PassThroughWallet. In situations where flows ultimately belong to or benefit more than a single person & immutability is a nonstarter, we strongly recommend using a multisig or DAO for governance.
forge fmt
forge i
- install dependencies
forge b
- compile the contracts
forge t
- compile & test the contracts
forge t -vvv
- produces a trace of any failing tests
forge doc --serve --port 4000
- serves natspec docs at http://localhost:4000/