Skip to main content

Module Exchange

Expand description

Module containing a contract’s types and functions.

contract Exchange {
    function executeRsmDirective(bytes memory directive, bytes memory signature) external;
    function executeUserDirective(bytes memory directive, bytes memory signature) external;
}

Structs§

ExchangeInstance
A Exchange instance.
executeRsmDirectiveCall
Function with signature executeRsmDirective(bytes,bytes) and selector 0x9945c75a.
executeRsmDirectiveReturn
Container type for the return parameters of the executeRsmDirective(bytes,bytes) function.
executeUserDirectiveCall
Function with signature executeUserDirective(bytes,bytes) and selector 0x6af113a9.
executeUserDirectiveReturn
Container type for the return parameters of the executeUserDirective(bytes,bytes) function.

Enums§

ExchangeCalls
Container for all the Exchange function calls.

Functions§

new
Creates a new wrapper around an on-chain Exchange contract instance.