RequestIdLibrary
Functions
from
Creates a RequestId from a client address and a 32-bit index.
function from(address client1, uint32 id) internal pure returns (RequestId);| Name | Type | Description |
|---|---|---|
client1 | address | The address of the client. |
id | uint32 | The 32-bit index. |
| Name | Type | Description |
|---|---|---|
<none> | RequestId | The constructed RequestId. |
clientAndIndex
Extracts the client address and index from a RequestId.
function clientAndIndex(RequestId id) internal pure returns (address, uint32);| Name | Type | Description |
|---|---|---|
id | RequestId | The RequestId to extract from. |
| Name | Type | Description |
|---|---|---|
<none> | address | The client address and the 32-bit index. |
<none> | uint32 |