Skip to content

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.

NameTypeDescription
domainbytes4- Unique identifier for the delegate

getDomain

function getDomain() public view returns (bytes4)
NameTypeDescription
[0]bytes4bytes4 - Domain of the delegate.

isDeployable

function isDeployable() external pure returns (bool)
NameTypeDescription
[0]boolbool - Deployable status of the domain server is always false

isValidData

function isValidData() external pure returns (bool)
NameTypeDescription
[0]boolbool - Domain server never has valid message data

currentSenderAddress

function currentSenderAddress() external pure returns (bytes32)
NameTypeDescription
[0]bytes32bytes32 - no-op

currentTxnSenderAddress

function currentTxnSenderAddress() external pure returns (bytes32)
NameTypeDescription
[0]bytes32bytes32 - 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