Name | Type | Description |
---|---|---|
returnData | bytes | The data returned from the failed call |
Name | Type | Description |
---|---|---|
from | address | The address that made the deposit |
amount | uint256 | The amount of native currency deposited |
id | bytes32 | The unique identifier associated with the deposit |
Name | Type | Description |
---|---|---|
from | address | The address that made the deposit |
token | address | The address of the ERC20 token |
amount | uint256 | The amount of tokens deposited |
id | bytes32 | The unique identifier associated with the deposit |
Name | Type | Description |
---|---|---|
id | bytes32 | The identifier of the call request |
call | struct Call | The call details that were executed |
Name | Type | Description |
---|---|---|
_owner | address | The address that will own the contract |
_allocator | address | The address authorized to sign withdrawal requests |
Name | Type | Description |
---|---|---|
_allocator | address | The new allocator address |
RelayNativeDeposit
event
Emits a RelayNativeDeposit event with the deposit details
Name | Type | Description |
---|---|---|
depositor | address | The address of the depositor - set to address(0) to credit msg.sender |
id | bytes32 | The identifier associated with the deposit |
RelayErc20Deposit
event
Transfers tokens from msg.sender to this contract and emits a RelayErc20Deposit event
Name | Type | Description |
---|---|---|
depositor | address | The address of the depositor - set to address(0) to credit msg.sender |
token | address | The erc20 token to deposit |
amount | uint256 | The amount to deposit |
id | bytes32 | The identifier associated with the deposit |
RelayErc20Deposit
event
Uses the full allowance granted to this contract and calls depositErc20
Name | Type | Description |
---|---|---|
depositor | address | The address of the depositor - set to address(0) to credit msg.sender |
token | address | The erc20 token to deposit |
id | bytes32 | The identifier associated with the deposit |
CallRequest
signed by the allocator
Verifies the signature, expiration, and uniqueness before execution
Name | Type | Description |
---|---|---|
request | struct CallRequest | The CallRequest to execute |
signature | bytes | The signature from the allocator |
Name | Type | Description |
---|---|---|
results | struct CallResult[] | The results of the calls |
Name | Type | Description |
---|---|---|
id | bytes32 | The identifier of the call request |
calls | struct Call[] | The array of calls to execute |
Name | Type | Description |
---|---|---|
returnData | struct CallResult[] | The results of each executed call |
CallRequest
and return the EIP-712 digest
Implements EIP-712 structured data hashing for the complex CallRequest type
Name | Type | Description |
---|---|---|
request | struct CallRequest | The CallRequest to hash |
Name | Type | Description |
---|---|---|
structHash | bytes32 | The struct hash |
eip712Hash | bytes32 | The EIP712 hash |
Name | Type | Description |
---|---|---|
name | string | The domain name |
version | string | The version |
Name | Type | Description |
---|
Name | Type | Description |
---|
Name | Type | Description |
---|