File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
packages/bridging/src/providers/near-intents Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,13 @@ import type {
2626 ReceiverAccountBridgeProvider ,
2727} from '../../types'
2828
29+ export const NEAR_INTENTS_HOOK_DAPP_ID = `${ HOOK_DAPP_BRIDGE_PROVIDER_PREFIX } /near-intents`
30+ export const REFERRAL = 'cow'
31+
2932export interface NearIntentsQuoteResult extends BridgeQuoteResult {
3033 depositAddress : Hex
3134}
3235
33- export const NEAR_INTENTS_HOOK_DAPP_ID = `${ HOOK_DAPP_BRIDGE_PROVIDER_PREFIX } /near-intents`
34-
3536export interface NearIntentsBridgeProviderOptions {
3637 cowShedOptions ?: CowShedSdkOptions
3738}
@@ -132,6 +133,7 @@ export class NearIntentsBridgeProvider implements ReceiverAccountBridgeProvider<
132133 recipient : receiver || account ,
133134 recipientType : QuoteRequest . recipientType . DESTINATION_CHAIN ,
134135 deadline : calculateDeadline ( validFor || 3600 ) ,
136+ referral : REFERRAL ,
135137 } )
136138
137139 const payoutRatio = Number ( quote . amountOutUsd ) / Number ( quote . amountInUsd )
You can’t perform that action at this time.
0 commit comments