Files
openzeppelin-contracts/docs/source/limitbalance.rst
Nimo Naamani 05609de044 Update limitbalance.rst
Fixed typo
2017-08-20 21:58:27 +12:00

13 lines
431 B
ReStructuredText

LimitBalance
=============================================
Base contract that provides mechanism for limiting the amount of funds a contract can hold.
LimitBalance(unit _limit)
""""""""""""""""""""""""""""
Constructor takes an unsigned integer and sets it as the limit of funds this contract can hold.
modifier limitedPayable()
""""""""""""""""""""""""""""
Throws an error if this contract's balance is already above the limit.