Skip to content

RoadsTO/splits-pass-through-wallet

 
 

Repository files navigation

splits-pass-through-wallet

What

Pass-through wallet is an ownable smart contract wallet with pausable token forwarding

Why

Some onchain value flows require or benefit greatly from inserting full smart contract wallet functionality

How

Sequence diagram of passThroughFunds

How does it forward funds?

Via an external, pausable function taking an array of tokens to forward (0x0 for ETH).

How is it governed?

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.

Lint

forge fmt

Setup & test

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

Natspec

forge doc --serve --port 4000 - serves natspec docs at http://localhost:4000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 100.0%