SplitPayment
contract SplitPayment
Base contract that supports multiple payees claiming funds sent to this contract according to the proportion they own.
Source: payment/SplitPayment.sol
Reference
Functions
addPayee
function addPayee(address _payee, uint256 _shares) internal
Add a new payee to the contract.
- Parameters:
_payee
- The address of the payee to add._shares
- The number of shares owned by the payee.
claim
function claim() public
Claim your share of the balance.
fallback
function (address[] _payees, uint256[] _shares) public payable
Constructor.
- Parameters:
_payees
- address[]_shares
- uint256[]
fallback
function () public payable
Payable fallback.