DlnSource

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x70a3d85e at 18084553
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 "DlnSource"

No transactions found for "DlnSource"


Functions
Getter at block 20791544
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
SOLANA_ADDRESS_LENGTH(view returns (uint256)
32
deBridgeGate(view returns (address)
0x0000000000000000000000000000000000000000
getChainId(view returns (uint256 cid)
1
globalFixedNativeFee(view returns (uint88)
0
globalTransferFeeBps(view returns (uint16)
0
paused(view returns (bool)
false
version(pure returns (string)
1.3.0
Read-only
chainEngines(uint256view returns (uint8)
collectedFee(addressview returns (uint256)
dlnDestinationAddresses(uint256view returns (bytes)
getOrderId(struct DlnOrderLibOrder _orderpure returns (bytes32)
getRoleAdmin(bytes32 roleview returns (bytes32)
giveOrders(bytes32view returns (uint8 statusuint160 giveTokenAddressuint88 nativeFixFeeuint48 takeChainIduint208 percentFeeuint256 giveAmountaddress affiliateBeneficiaryuint256 affiliateAmount)
givePatches(bytes32view returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
masterNonce(addressview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
unclaimedAffiliateETHFees(addressview returns (uint256)
unexpectedOrderStatusForCancel(bytes32view returns (address)
unexpectedOrderStatusForClaim(bytes32view returns (address)
validateCreationOrder(struct DlnOrderLibOrderCreation _orderCreationaddress _signerview returns (struct DlnOrderLibOrder order)
validateCreationOrder(struct DlnOrderLibOrderCreation _orderCreationaddress _signeruint64 _saltview returns (struct DlnOrderLibOrder order)
State-modifying
claimBatchCancel(bytes32[] _orderIdsaddress _beneficiary
claimBatchUnlock(bytes32[] _orderIdsaddress _beneficiary
claimCancel(bytes32 _orderIdaddress _beneficiary
claimUnlock(bytes32 _orderIdaddress _beneficiary
createOrder(struct DlnOrderLibOrderCreation _orderCreationbytes _affiliateFeeuint32 _referralCodebytes _permitEnvelopepayable returns (bytes32)
createSaltedOrder(struct DlnOrderLibOrderCreation _orderCreationuint64 _saltbytes _affiliateFeeuint32 _referralCodebytes _permitEnvelopebytes _metadatapayable returns (bytes32)
grantRole(bytes32 roleaddress account
initialize(address _deBridgeGateuint88 _globalFixedNativeFeeuint16 _globalTransferFeeBps
patchOrderGive(struct DlnOrderLibOrder _orderuint256 _addGiveAmountbytes _permitEnvelopepayable 
pause(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setDlnDestinationAddress(uint256 _chainIdTobytes _dlnDestinationAddressuint8 _chainEngine
unpause(
updateGlobalFee(uint88 _globalFixedNativeFeeuint16 _globalTransferFeeBps
withdrawFee(address[] _tokensaddress _beneficiary
Events
AffiliateFeePaid(bytes32 _orderIdaddress beneficiaryuint256 affiliateFeeaddress giveTokenAddress
ClaimedOrderCancel(bytes32 orderIdaddress beneficiaryuint256 paidAmountaddress giveTokenAddress
ClaimedUnlock(bytes32 orderIdaddress beneficiaryuint256 giveAmountaddress giveTokenAddress
CreatedOrder(struct DlnOrderLibOrder orderbytes32 orderIdbytes affiliateFeeuint256 nativeFixFeeuint256 percentFeeuint32 referralCodebytes metadata
CriticalMismatchChainId(bytes32 orderIdaddress beneficiaryuint256 takeChainIduint256 submissionChainIdFrom
GlobalFixedNativeFeeUpdated(uint88 oldGlobalFixedNativeFeeuint88 newGlobalFixedNativeFee
GlobalTransferFeeBpsUpdated(uint16 oldGlobalTransferFeeBpsuint16 newGlobalTransferFeeBps
IncreasedGiveAmount(bytes32 orderIduint256 orderGiveFinalAmountuint256 finalPercentFee
Initialized(uint8 version
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
SetDlnDestinationAddress(uint256 chainIdTobytes dlnDestinationAddressuint8 chainEngine
UnexpectedOrderStatusForCancel(bytes32 orderIduint8 statusaddress beneficiary
UnexpectedOrderStatusForClaim(bytes32 orderIduint8 statusaddress beneficiary
Unpaused(address account
WithdrawnFee(address tokenAddressuint256 amountaddress beneficiary
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AdminBadRole(
CallProxyBadRole(
CriticalMismatchTakeChainId(bytes32 orderIduint48 takeChainIduint256 submissionsChainIdFrom
EthTransferFailed(
GovMonitoringBadRole(
IncorrectOrderStatus(
MismatchNativeGiveAmount(
MismatchedOrderId(
MismatchedTransferAmount(
NativeSenderBadRole(bytes nativeSenderuint256 chainIdFrom
NotSupportedDstChain(
SignatureInvalidV(
Unauthorized(
UnknownEngine(
WrongAddressLength(
WrongAffiliateFeeLength(
WrongArgument(
WrongChain(
WrongFixedFee(uint256 receiveduint256 actual
ZeroAddress(