ODCinterfaces
IVault
Interface for a generic vault contract that can hold any type of assets and execute arbitrary transactions
NativeCoinReceived
Emitted when native coin is received
Parameters
Name | Type | Description |
---|---|---|
from | address | The sender of the native coin |
value | uint256 | The amount of native coin received |
execute
Executes a state-changing call on a target
Access to this function SHOULD be protected
Parameters
Name | Type | Description |
---|---|---|
target | address | Contract to call |
data | bytes | Data sent to the target, including function selector |
value | uint256 | Native coin value sent with the call |
executeStatic
Executes a static call (non state-changing) on a target
Parameters
Name | Type | Description |
---|---|---|
target | address | Contract to call |
data | bytes | Data sent to the target, including function selector |