Constructs a new instance of the object
Returns the contract address
Returns an interface allowing for us with the multicall method of a provider
Rest
...params: any[]Connects the existing instance of the contract to a new signer or provider
Initializes the instance of PaymentSplitter
where each account in payees
is assigned the number of shares at
the matching position in the shares
array.
All addresses in payees
must be non-zero. Both arrays must have the same non-zero length.
Optional
payees: string[]Optional
shares: BigNumberish[]Triggers a transfer to account
of the amount of Ether (or token
) they are owed, according to their
percentage of the total shares and their previous withdrawals.
Optional
token: stringProtected
retryGetter for the amount of shares held by an account.
Getter for the total shares held by payees.
Represents a simple wrapper around an ethers.Contract that adds some additional capabilities such as easy multicall structures a retryCall method for view operations, allows for connecting
the contract to a different signerOrProvider without redeclaring, etc.