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
- Mainnet:
0x2ed6c4B5dA6378c7897AC67Ba9e43102Feb694EE
- Ropsten:
0x2ed6c4B5dA6378c7897AC67Ba9e43102Feb694EE
- Rinkeby:
0x2ed6c4B5dA6378c7897AC67Ba9e43102Feb694EE
- Goerli:
0x2ed6c4B5dA6378c7897AC67Ba9e43102Feb694EE
- Kovan:
0x2ed6c4B5dA6378c7897AC67Ba9e43102Feb694EE
Polygon
- Polygon:
0x2ed6c4B5dA6378c7897AC67Ba9e43102Feb694EE
- Mumbai:
0x2ed6c4B5dA6378c7897AC67Ba9e43102Feb694EE
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