> For the complete documentation index, see [llms.txt](https://docs-v4.venus.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v4.venus.io/technical-reference/reference-governance/omnichain-executor-owner.md).

# OmnichainExecutorOwner

## OmnichainExecutorOwner

[`OmnichainExecutorOwner` at v2.15.0](https://github.com/VenusProtocol/governance-contracts/blob/v2.15.0/contracts/Cross-chain/OmnichainExecutorOwner.sol) is the upgradeable access-controlled owner of a destination OmnichainGovernanceExecutor. The previous description incorrectly called this contract `OmnichainProposalSender`.

Known selectors are registered by their full function-signature strings. The fallback resolves `msg.sig`, checks the corresponding AccessControlManager permission, and forwards the original calldata to the executor. `upsertSignature` is owner-only; `setTrustedRemoteAddress` and `transferBridgeOwnership` use exact ACM signatures. Ownership renunciation is disabled.

## Solidity API

#### OMNICHAIN\_GOVERNANCE\_EXECUTOR

@custom:oz-upgrades-unsafe-allow state-variable-immutable

```solidity
contract IOmnichainGovernanceExecutor OMNICHAIN_GOVERNANCE_EXECUTOR
```

***

#### functionRegistry

Stores function signature corresponding to their 4 bytes hash value

```solidity
mapping(bytes4 => string) functionRegistry
```

***

#### initialize

Initialize the contract

```solidity
function initialize(address accessControlManager_) external
```

**Parameters**

| Name                   | Type    | Description                       |
| ---------------------- | ------- | --------------------------------- |
| accessControlManager\_ | address | Address of access control manager |

***

#### setTrustedRemoteAddress

Sets the source message sender address

```solidity
function setTrustedRemoteAddress(uint16 srcChainId_, bytes srcAddress_) external
```

**Parameters**

| Name         | Type   | Description                                     |
| ------------ | ------ | ----------------------------------------------- |
| srcChainId\_ | uint16 | The LayerZero id of a source chain              |
| srcAddress\_ | bytes  | The address of the contract on the source chain |

**📅 Events**

* Emits SetTrustedRemoteAddress with source chain Id and source address

**⛔️ Access Requirements**

* Controlled by AccessControlManager

***

#### fallback

Invoked when called function does not exist in the contract

```solidity
fallback(bytes data_) external returns (bytes)
```

**Parameters**

| Name   | Type  | Description                                   |
| ------ | ----- | --------------------------------------------- |
| data\_ | bytes | Calldata containing the encoded function call |

**Return Values**

| Name | Type  | Description             |
| ---- | ----- | ----------------------- |
| \[0] | bytes | Result of function call |

**⛔️ Access Requirements**

* Controlled by Access Control Manager

***

#### upsertSignature

A registry of functions that are allowed to be executed from proposals

```solidity
function upsertSignature(string[] signatures_, bool[] active_) external
```

**Parameters**

| Name         | Type      | Description                                |
| ------------ | --------- | ------------------------------------------ |
| signatures\_ | string\[] | Function signature to be added or removed  |
| active\_     | bool\[]   | bool value, should be true to add function |

**⛔️ Access Requirements**

* Only owner

***

#### transferBridgeOwnership

This function transfer the ownership of the executor from this contract to new owner

```solidity
function transferBridgeOwnership(address newOwner_) external
```

**Parameters**

| Name       | Type    | Description                         |
| ---------- | ------- | ----------------------------------- |
| newOwner\_ | address | New owner of the governanceExecutor |

**⛔️ Access Requirements**

* Controlled by AccessControlManager

***

#### renounceOwnership

@notice Empty implementation of renounce ownership to avoid any mishappening

```solidity
function renounceOwnership() public virtual
```

***


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-v4.venus.io/technical-reference/reference-governance/omnichain-executor-owner.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
