mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
Minor change in parameters.
This commit is contained in:
parent
b396a4c4da
commit
cd3fb604e1
|
@ -59,23 +59,6 @@ contract Owners {
|
|||
require(ownersCount > 0, "zero-owner-not-allowed");
|
||||
}
|
||||
|
||||
function execute(
|
||||
address _target,
|
||||
bytes memory _data,
|
||||
uint _src,
|
||||
uint _session
|
||||
) public payable onlyOwner
|
||||
{
|
||||
address walletAddress = RegistryInterface(registry).proxies(address(this));
|
||||
UserWalletInterface(walletAddress).execute.value(msg.value)(
|
||||
_target,
|
||||
_data,
|
||||
_src,
|
||||
_session
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -89,4 +72,20 @@ contract InstaAccess is Owners {
|
|||
ownersCount++;
|
||||
}
|
||||
|
||||
function execute(
|
||||
address target,
|
||||
bytes memory data,
|
||||
uint src,
|
||||
uint session
|
||||
) public payable onlyOwner
|
||||
{
|
||||
address walletAddress = RegistryInterface(registry).proxies(address(this));
|
||||
UserWalletInterface(walletAddress).execute.value(msg.value)(
|
||||
target,
|
||||
data,
|
||||
src,
|
||||
session
|
||||
);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user