Functions
isSubmissionUsed
getSubmissionIdFrom
.
getNativeInfo
send
Name | Type | Description |
---|---|---|
_tokenAddress | address | Asset identifier. |
_amount | uint256 | Amount to be transferred (note: the fee can be applied). |
_chainIdTo | uint256 | Chain id of the target chain. |
_receiver | bytes | Receiver address. |
_permit | bytes | deadline + signature for approving the spender by signature. |
_useAssetFee | bool | use assets fee for pay protocol fix (only for special tokens) |
_referralCode | uint32 | Referral code |
_autoParams | bytes | Auto params for external call in target network |
claim
Name | Type | Description |
---|---|---|
_debridgeId | bytes32 | Asset identifier. |
_amount | uint256 | Amount of the transferred asset (note: the fee can be applied). |
_chainIdFrom | uint256 | Chain where submission was sent |
_receiver | address | Receiver address. |
_nonce | uint256 | Submission id. |
_signatures | bytes | Validators signatures to confirm |
_autoParams | bytes | Auto params for external call |
flash
Name | Type | Description |
---|---|---|
_tokenAddress | address | An asset to loan |
_receiver | address | Where funds should be sent |
_amount | uint256 | Amount to loan |
_data | bytes | Data for sender’s flashCallback |
getDefiAvaliableReserves
Name | Type | Description |
---|---|---|
_tokenAddress | address | Token address. |
requestReserves
Name | Type | Description |
---|---|---|
_tokenAddress | address | Asset address. |
_amount | uint256 | Amount to request. |
returnReserves
Name | Type | Description |
---|---|---|
_tokenAddress | address | Asset address. |
_amount | uint256 | Amount to return. |
withdrawFee
Name | Type | Description |
---|---|---|
_debridgeId | bytes32 | Asset identifier. |
getDebridgeChainAssetFixedFee
Name | Type | Description |
---|---|---|
_debridgeId | bytes32 | Asset identifier. |
_chainId | uint256 | Chain id. |
Events
Sent
Claimed
PairAdded
MonitoringSendEvent
MonitoringClaimEvent
ChainSupportUpdated
ChainsSupportUpdated
CallProxyUpdated
AutoRequestExecuted
Blocked
Unblocked
Flash
WithdrawnFee
FixedNativeFeeUpdated
globalFixedNativeFee
and globalTransferFeeBps
are updated.
FixedNativeFeeAutoUpdated
globalFixedNativeFee
is updated by feeContractUpdater
.