Degraded to >>> pragma solidity ^0.4.23;

This commit is contained in:
Sowmayjain 2019-03-10 02:56:18 +05:30
parent 1300517fac
commit dbd142c6b3
3 changed files with 4 additions and 5 deletions

View File

@ -7,7 +7,7 @@
// contracts in the same cache. The cache a proxy instance uses can be
// changed. The cache uses the sha3 hash of a contract's bytecode to
// lookup the address
pragma solidity ^0.5.0;
pragma solidity ^0.4.23;
contract DSProxyCache {
mapping(bytes32 => address) cache;

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0;
pragma solidity ^0.4.23;
contract DSAuthority {
function canCall(address src, address dst, bytes4 sig) public view returns (bool);
@ -179,11 +179,10 @@ contract DSProxyCache {
}
// ProxyRegistry
// This Registry deploys new proxy instances through DSProxyFactory.build(address) and keeps a registry of owner => proxy
contract ProxyRegistry {
event Created(address indexed sender, address indexed owner, address proxy);
mapping(address => DSProxy) public proxies;
DSProxyCache public cache = new DSProxyCache();
DSProxyCache cache = new DSProxyCache();
// deploys a new proxy instance
// sets owner of proxy to caller

View File

@ -1,4 +1,4 @@
pragma solidity ^0.5.0;
pragma solidity ^0.4.23;
contract DSAuthority {
function canCall(address src, address dst, bytes4 sig) public view returns (bool);