mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
LogFilter supports new, better, filter mechanism.
Exposed to JS API.
This commit is contained in:
parent
18fc2ed2d6
commit
5d3e21fd93
@ -145,7 +145,7 @@ string CompilerStack::expanded(string const& _sourceCode)
|
||||
{ "CoinReg", "contract CoinReg{function count()constant returns(uint256 r){}function info(uint256 i)constant returns(address addr,string3 name,uint256 denom){}function register(string3 name,uint256 denom){}function unregister(){}}" },
|
||||
{ "coin", "#require CoinReg\ncontract coin {function coin(string3 name, uint denom) {CoinReg(Config().lookup(3)).register(name, denom);}}" },
|
||||
{ "service", "#require Config\ncontract service{function service(uint _n){Config().register(_n, this);}}" },
|
||||
{ "owned", "contract owned{function owned(){owner = msg.sender;}address owner;}" },
|
||||
{ "owned", "contract owned{function owned(){owner = msg.sender;}modifier onlyowner(){if(msg.sender==owner)_}address owner;}" },
|
||||
{ "mortal", "#require owned\ncontract mortal is owned {function kill() { if (msg.sender == owner) suicide(owner); }}" },
|
||||
{ "NameReg", "contract NameReg{function register(string32 name){}function addressOf(string32 name)constant returns(address addr){}function unregister(){}function nameOf(address addr)constant returns(string32 name){}}" },
|
||||
{ "named", "#require Config NameReg\ncontract named {function named(string32 name) {NameReg(Config().lookup(1)).register(name);}}" },
|
||||
|
Loading…
Reference in New Issue
Block a user