Files
openzeppelin-contracts/docs/source/limitbalance.rst
Demian Elias Brener ec07dce76f writing docs
2016-12-19 11:56:34 -03:00

12 lines
430 B
ReStructuredText

LimitBalance
=============================================
Base contract that provides mechanism for limiting the amount of funds a contract can hold.
LimitBalance(unit _limit)
""""""""""""""""""""""""""""
Constructor takes an unisgned 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.