Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 255 Bytes
import "owned";
contract NatSpecReg is owned {
function register(bytes32 _code, bytes32 _abi) onlyowner {
abis[_code] = _abi;
}
function lookup(bytes32 _code) constant returns(bytes32) {
return abis[_code];
}
mapping (bytes32 => bytes32) abis;
}