SplitMain

Verified contract

Active on Base with 7,114 txns
Deployed by via 0x14cb018e at 2293907
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $122,624.23
ERC-20
Value $420.83
ERC-20
Value $252.21
ERC-20
Value $192.37
ERC-20
Value $134
ERC-20
Value $50.43
ERC-20
Value $17.54
ERC-20
Value $11.39
ERC-20
Value $10.6
ERC-20
Value $6.7
0xa55facd83bb3ced920441fb256891223a8a6568a15fd4402d946d9d5f009ffbe
0x8c02065231306ef3e10b34ed8dd501d5c1315670608ea4c49396fc0c6ee6a680
0xb93477258a843c0dd24b332ea6a4e4542cfd5322a81cdffac0dd4eea89e55d07
0x13e36a0dec5d664261137813c93de5c0bedcba4f990f0d6e8c4b90ef774536ec
0x2a6021552f1525610a44a04cec49d8951b654b5fa2a3afc80d53395b6f592347
0xf8bcebd847f36874815a8b24a418b515e2b4bf9df034c509a37808957ae82b9e
0x31c979e18b24c5e15deff0265e0a5db77fa7fddf2144e615efb00af84dd553c9
0x13f427025e033ba8c496511da24cd3f8523005494fc3e1a59d79b63a0888aaef
0xe8af94c2096ee6e8fe73a8c32f3b60a48f8c18ce8dfd02da78e447d5c6166026
0xcd5c2d13681ad26af5e21369ca26709eec2ce034daaeb8cc8403344d68e107c7

Functions
Getter at block 21848356
PERCENTAGE_SCALE(view returns (uint256)
1000000
walletImplementation(view returns (address)
0xd94c0ce4f8eefa4ebf44bf6665688edeef213b33
Read-only
getController(address splitview returns (address)
getERC20Balance(address accountaddress tokenview returns (uint256)
getETHBalance(address accountview returns (uint256)
getHash(address splitview returns (bytes32)
getNewPotentialController(address splitview returns (address)
predictImmutableSplitAddress(address[] accountsuint32[] percentAllocationsuint32 distributorFeeview returns (address split)
State-modifying
acceptControl(address split
cancelControlTransfer(address split
createSplit(address[] accountsuint32[] percentAllocationsuint32 distributorFeeaddress controllerreturns (address split)
distributeERC20(address splitaddress tokenaddress[] accountsuint32[] percentAllocationsuint32 distributorFeeaddress distributorAddress
distributeETH(address splitaddress[] accountsuint32[] percentAllocationsuint32 distributorFeeaddress distributorAddress
makeSplitImmutable(address split
transferControl(address splitaddress newController
updateAndDistributeERC20(address splitaddress tokenaddress[] accountsuint32[] percentAllocationsuint32 distributorFeeaddress distributorAddress
updateAndDistributeETH(address splitaddress[] accountsuint32[] percentAllocationsuint32 distributorFeeaddress distributorAddress
updateSplit(address splitaddress[] accountsuint32[] percentAllocationsuint32 distributorFee
withdraw(address accountuint256 withdrawETHaddress[] tokens
Events
CancelControlTransfer(address indexed split
ControlTransfer(address indexed splitaddress indexed previousControlleraddress indexed newController
CreateSplit(address indexed splitaddress[] accountsuint32[] percentAllocationsuint32 distributorFeeaddress controller
DistributeERC20(address indexed splitaddress indexed tokenuint256 amountaddress indexed distributorAddress
DistributeETH(address indexed splituint256 amountaddress indexed distributorAddress
InitiateControlTransfer(address indexed splitaddress indexed newPotentialController
UpdateSplit(address indexed splitaddress[] accountsuint32[] percentAllocationsuint32 distributorFee
Withdrawal(address indexed accountuint256 ethAmountaddress[] tokensuint256[] tokenAmounts
Constructor
constructor(
Fallback and receive
receive(
Errors
Create2Error(
CreateError(
InvalidNewController(address newController
InvalidSplit__AccountsAndAllocationsMismatch(uint256 accountsLengthuint256 allocationsLength
InvalidSplit__AccountsOutOfOrder(uint256 index
InvalidSplit__AllocationMustBePositive(uint256 index
InvalidSplit__InvalidAllocationsSum(uint32 allocationsSum
InvalidSplit__InvalidDistributorFee(uint32 distributorFee
InvalidSplit__InvalidHash(bytes32 hash
InvalidSplit__TooFewAccounts(uint256 accountsLength
Unauthorized(address sender