Smart Contracts
/
Overview

Contracts Overview

This section provides a high-level overview of the contracts & functions involved. The procotol consists of 3 contracts: SplitMain, SplitProxy, and SplitWallet.

For more details & implementation instructions on the individual contracts, check out the NatSpec Comments for SplitMain and SplitWallet. You can also read the contracts on GitHub.

Audit

The contracts were audited by Macro. You can read their audit report here.

Addresses

Ethereum

Polygon

SplitMain

createSplit

Create a new SplitProxy

distributeETH

Split ETH for Split address which allows Recipients to withdraw

distributeERC20

Split IERC20 for Split address which allows Recipients to withdraw

withdraw

Withdraw ETH & ERC20s for EOA/SC address

SplitProxy

receive()

Emit an event when funds are received at the proxy

fallback()

Delegates all other calls to the implementation SplitWallet

SplitWallet

sendETHToMain

Sends the contract's ETH to SplitMain

sendERC20ToMain

Sends the contract's IERC20 to SplitMain