13 lines
161 B
Solidity
13 lines
161 B
Solidity
pragma solidity ^0.4.0;
|
|
contract LimitFunds {
|
|
|
|
uint LIMIT = 5000;
|
|
|
|
function() { throw; }
|
|
|
|
function deposit() {
|
|
if (this.balance > LIMIT) throw;
|
|
}
|
|
|
|
}
|