mirror of
https://github.com/Instadapp/InstaContract.git
synced 2024-07-29 22:47:45 +00:00
Added feature to do for v2 contracts.
This commit is contained in:
parent
0b5f247e44
commit
ca12f19d04
|
@ -1,3 +1,16 @@
|
||||||
|
//// SMART CONTARCT
|
||||||
|
// shut
|
||||||
|
// transferCDP only works if FREEZED
|
||||||
|
// mapping of SendWyre address
|
||||||
|
// nextOwner changed internally
|
||||||
|
// new registry contract
|
||||||
|
// charge fees on connected contracts like
|
||||||
|
// if no internal owner of CDP then admin is the owner
|
||||||
|
// update registry of v2 beforehand
|
||||||
|
|
||||||
|
//// DAPP
|
||||||
|
// check isAddress (and every important variable) before executing any contract function
|
||||||
|
|
||||||
pragma solidity 0.4.24;
|
pragma solidity 0.4.24;
|
||||||
|
|
||||||
|
|
||||||
|
@ -67,7 +80,7 @@ interface InstaKyber {
|
||||||
address dest,
|
address dest,
|
||||||
uint srcAmt
|
uint srcAmt
|
||||||
) external view returns (uint, uint);
|
) external view returns (uint, uint);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
contract Registry {
|
contract Registry {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user