mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
Degraded to >>> pragma solidity ^0.4.23;
This commit is contained in:
parent
1300517fac
commit
dbd142c6b3
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user