Solidity API
DomainServer
DomainServer provides a delegate interface that correctly returns a given operational domain. It has pass throughs or no-ops for typical SpanningDelegate functionality.
domain_
bytes4 domain_
constructor
constructor(bytes4 domain) public
Initializes a Domain Server.
Name | Type | Description |
---|---|---|
domain | bytes4 | - Unique identifier for the delegate |
getDomain
function getDomain() public view returns (bytes4)
Name | Type | Description |
---|---|---|
[0] | bytes4 | bytes4 - Domain of the delegate. |
isDeployable
function isDeployable() external pure returns (bool)
Name | Type | Description |
---|---|---|
[0] | bool | bool - Deployable status of the domain server is always false |
isValidData
function isValidData() external pure returns (bool)
Name | Type | Description |
---|---|---|
[0] | bool | bool - Domain server never has valid message data |
currentSenderAddress
function currentSenderAddress() external pure returns (bytes32)
Name | Type | Description |
---|---|---|
[0] | bytes32 | bytes32 - no-op |
currentTxnSenderAddress
function currentTxnSenderAddress() external pure returns (bytes32)
Name | Type | Description |
---|---|---|
[0] | bytes32 | bytes32 - no-op |
Modifiers
domainServerOnly
modifier domainServerOnly()
Reverts as these Delegate functions are not supported by the Domain Server.
No-ops
makeDeployable
function makeDeployable() external pure override domainServerOnly
No-op
revokeDeployable
function revokeDeployable() external pure override domainServerOnly
No-op
spanningCall
function spanningCall(bytes32, bytes32, bytes32, bytes) external pure
No-op
makeRequest
function makeRequest(bytes32, bytes) external pure
No-op