The Split contract enables the division of funds between multiple recipients based on pre-defined proportions.
This contract allows for the distribution of funds among multiple recipients according to specified percentages. It provides a secure and transparent mechanism for splitting funds based on predefined proportions.
To use the Split contract, first deploy it and initialize it with the list of recipients and their respective percentages. Subsequently, you can deposit funds into the contract, which will be automatically distributed among the recipients according to their allocated proportions.
The contract utilizes a mapping to store the recipient addresses and their corresponding percentages. When funds are deposited, the contract iterates through the mapping, calculating and distributing the allocated share to each recipient.
setRecipients(address[],uint256[])deposit()Press Enter to send your query
Powered by Neuron AI • Press Enter to send