ODCdataIndexomnichain

AccessManagerOmnichainInternal

Internal facet to manage access of Omnichain Data Managers to DataObjects

REMOTE_APPROVE_DATAMANAGER_GAS_LIMIT

uint128 REMOTE_APPROVE_DATAMANAGER_GAS_LIMIT

Gas limit for remoteApproveDataManager() call

ZeroProxyAddress

error ZeroProxyAddress()

Error thrown when the proxy address is zero

WrongOmnichainFeeEstimation

error WrongOmnichainFeeEstimation(uint32 chainid)

NotEnoughFunds

error NotEnoughFunds(uint256 providedFunds, uint256 estimatedFee)

Error thrown when the provided funds are not enough for the estimated fee

UnsupportedRemoteDataManagerApproval

error UnsupportedRemoteDataManagerApproval(uint32 dpChainId, uint32 dmChainId)

Error thrown when the approval of remote DataManager for remote DataPoint is not supported

NativePaymentNotSupported

error NativePaymentNotSupported()

Error thrown when the native payment is not supported

DataPointAdminVerificationFailed

event DataPointAdminVerificationFailed(DataPoint dp, OmnichainAddress account)

Event emitted when OmnichainDataManager approval verification failed

Parameters

NameTypeDescription
dpDataPointDataPoint identifier
accountOmnichainAddressAccount that initiated the approval

OmnichainDataObjectApprovalChanged

event OmnichainDataObjectApprovalChanged(address dataObject, uint32[] chains, bool approved)

_approveOmnichainDataManager

function _approveOmnichainDataManager(DataPoint dp, OmnichainAddress dm, bool approved) internal virtual

_approveOmnichainDataManagers

function _approveOmnichainDataManagers(DataPoint dp, OmnichainAddress[] dms, bool approved, address payable refundAddress) internal virtual

_estimateApproveOmnichainDataManagers

function _estimateApproveOmnichainDataManagers(DataPoint dp, OmnichainAddress[] dms, bool approved) internal view returns (uint256)

_estimateApproveOmnichainDataManagers

function _estimateApproveOmnichainDataManagers(contract IOmnichainProxy proxy, DataPoint dp, OmnichainAddress[] dms, bool approved, OmnichainAddress sender) internal view virtual returns (uint256 estimatedTotalFee, uint256[] estimatedFees)

_approveLocalDataManagerForLocalDataPoint

function _approveLocalDataManagerForLocalDataPoint(DataPoint dp, OmnichainAddress dm, bool approved) internal virtual

_approveLocalDataManagerForRemoteDataPoint

function _approveLocalDataManagerForRemoteDataPoint(DataPoint dp, OmnichainAddress dm, bool approved) internal virtual

_approveRemoteDataManagerForLocalDataPoint

function _approveRemoteDataManagerForLocalDataPoint(DataPoint dp, OmnichainAddress dm, bool approved) internal virtual

_approveOmnichainDataManagerCallback

function _approveOmnichainDataManagerCallback(bytes opData, bytes result) internal

_approveOmnichainDataManagerFromRemote

function _approveOmnichainDataManagerFromRemote(DataPoint dp, OmnichainAddress dm, bool approved, OmnichainAddress sender) internal virtual

_verifyLocalSenderIsDPAdmin

function _verifyLocalSenderIsDPAdmin(DataPoint dp, address sender) internal view

_approveLocal

function _approveLocal(DataPoint dp, OmnichainAddress dm, bool approved, OmnichainAddress sender) internal

_approveOmnichainDataObject

function _approveOmnichainDataObject(address dataObject, uint32[] chains, bool approved) internal