Add Account framework (#5657)
This commit is contained in:
@ -5,6 +5,7 @@ pragma solidity ^0.8.20;
|
||||
contract CallReceiverMock {
|
||||
event MockFunctionCalled();
|
||||
event MockFunctionCalledWithArgs(uint256 a, uint256 b);
|
||||
event MockFunctionCalledExtra(address caller, uint256 value);
|
||||
|
||||
uint256[] private _array;
|
||||
|
||||
@ -58,6 +59,10 @@ contract CallReceiverMock {
|
||||
}
|
||||
return "0x1234";
|
||||
}
|
||||
|
||||
function mockFunctionExtra() public payable {
|
||||
emit MockFunctionCalledExtra(msg.sender, msg.value);
|
||||
}
|
||||
}
|
||||
|
||||
contract CallReceiverMockTrustingForwarder is CallReceiverMock {
|
||||
|
||||
Reference in New Issue
Block a user