DlnDestination

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xce412a7b at 18083713
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots

No balances found for "DlnDestination"

No transactions found for "DlnDestination"


Functions
Getter at block 20790964
BPS_DENOMINATOR(view returns (uint256)
10000
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
EVM_ADDRESS_LENGTH(view returns (uint256)
20
GOVMONITORING_ROLE(view returns (bytes32)
0x2b36fa99e118fa8485d488becf749a974743fbeb6a7aa57e663893bf5d69a3c1
MAX_ADDRESS_LENGTH(view returns (uint256)
255
NATIVE_AMOUNT_DIVIDER_FOR_TRANSFER_TO_SOLANA(view returns (uint256)
10000000000
SOLANA_ADDRESS_LENGTH(view returns (uint256)
32
deBridgeGate(view returns (address)
0x0000000000000000000000000000000000000000
externalCallAdapter(view returns (address)
0x0000000000000000000000000000000000000000
getChainId(view returns (uint256 cid)
1
maxOrderCountPerBatchEvmUnlock(view returns (uint256)
0
maxOrderCountPerBatchSolanaUnlock(view returns (uint256)
0
paused(view returns (bool)
false
version(pure returns (string)
1.3.0
Read-only
chainEngines(uint256view returns (uint8)
dlnSourceAddresses(uint256view returns (bytes)
getOrderId(struct DlnOrderLibOrder _orderpure returns (bytes32)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
takeOrders(bytes32view returns (uint8 statusaddress takerAddressuint256 giveChainId)
takePatches(bytes32view returns (uint256)
State-modifying
fulfillOrder(struct DlnOrderLibOrder _orderuint256 _fulFillAmountbytes32 _orderIdbytes _permitEnvelopeaddress _unlockAuthoritypayable 
fulfillOrder(struct DlnOrderLibOrder _orderuint256 _fulFillAmountbytes32 _orderIdbytes _permitEnvelopeaddress _unlockAuthorityaddress _externalCallRewardBeneficiarypayable 
grantRole(bytes32 roleaddress account
initialize(address _deBridgeGate
patchOrderTake(struct DlnOrderLibOrder _orderuint256 _newSubtrahend
pause(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sendBatchEvmUnlock(bytes32[] _orderIdsaddress _beneficiaryuint256 _executionFeepayable 
sendBatchSolanaUnlock(struct DlnOrderLibOrder[] _ordersbytes32 _beneficiaryuint256 _executionFeeuint64 _initWalletIfNeededInstructionRewarduint64 _claimUnlockInstructionRewardpayable 
sendEvmOrderCancel(struct DlnOrderLibOrder _orderaddress _cancelBeneficiaryuint256 _executionFeepayable 
sendEvmUnlock(bytes32 _orderIdaddress _beneficiaryuint256 _executionFeepayable 
sendSolanaOrderCancel(struct DlnOrderLibOrder _orderbytes32 _cancelBeneficiaryuint256 _executionFeeuint64 _reward1uint64 _reward2payable 
sendSolanaUnlock(struct DlnOrderLibOrder _orderbytes32 _beneficiaryuint256 _executionFeeuint64 _initWalletIfNeededInstructionRewarduint64 _claimUnlockInstructionRewardpayable 
setDlnSourceAddress(uint256 _chainIdFrombytes _dlnSourceAddressuint8 _chainEngine
setExternalCallAdapter(address _externalCallAdapter
setMaxOrderCountsPerBatch(uint256 _newEvmCountuint256 _newSolanaCount
unpause(
Events
DecreasedTakeAmount(bytes32 orderIduint256 orderTakeFinalAmount
ExternalCallAdapterUpdated(address oldAdapteraddress newAdapter
FulfilledOrder(struct DlnOrderLibOrder orderbytes32 orderIdaddress senderaddress unlockAuthority
Initialized(uint8 version
MaxOrderCountPerBatchEvmUnlockChanged(uint256 oldValueuint256 newValue
MaxOrderCountPerBatchSolanaUnlockChanged(uint256 oldValueuint256 newValue
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SentOrderCancel(struct DlnOrderLibOrder orderbytes32 orderIdbytes cancelBeneficiarybytes32 submissionId
SentOrderUnlock(bytes32 orderIdbytes beneficiarybytes32 submissionId
SetDlnSourceAddress(uint256 chainIdFrombytes dlnSourceAddressuint8 chainEngine
Unpaused(address account
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AdminBadRole(
AllowOnlyForBeneficiary(bytes expectedBeneficiary
CallProxyBadRole(
EthTransferFailed(
GovMonitoringBadRole(
IncorrectOrderStatus(
MismatchGiveChainId(
MismatchNativeTakerAmount(
MismatchTakerAmount(
MismatchedOrderId(
MismatchedTransferAmount(
NativeSenderBadRole(bytes nativeSenderuint256 chainIdFrom
NotSupportedDstChain(
SignatureInvalidV(
TransferAmountNotCoverFees(
Unauthorized(
UnexpectedBatchSize(
UnknownEngine(
WrongAddressLength(
WrongArgument(
WrongChain(
WrongToken(
ZeroAddress(