|
|
@@ -86,14 +86,10 @@ export async function copyPosition(positionDetails: OpenPositionEvent['positionD
|
|
|
name: '📍 仓位地址',
|
|
|
value: `[${positionAddress.slice(0, 8)}...${positionAddress.slice(-8)}](${solscanBaseUrl}/account/${positionAddress})`,
|
|
|
inline: false
|
|
|
- },
|
|
|
- {
|
|
|
- name: '🎨 NFT Mint',
|
|
|
- value: `[${nftMintAddress.slice(0, 8)}...${nftMintAddress.slice(-8)}](${solscanBaseUrl}/token/${nftMintAddress})`,
|
|
|
- inline: false
|
|
|
}
|
|
|
],
|
|
|
timestamp: new Date().toISOString(),
|
|
|
+ url: `https://www.byreal.io/en/portfolio?userAddress=${providerAddress}&tab=current&positionAddress=${positionAddress}`,
|
|
|
footer: {
|
|
|
text: 'ByReal Auto Trading'
|
|
|
}
|
|
|
@@ -122,6 +118,7 @@ export async function copyPosition(positionDetails: OpenPositionEvent['positionD
|
|
|
const errorEmbed = {
|
|
|
title: '❌ 仓位复制失败',
|
|
|
description: `复制仓位失败:**${mintASymbol}/${mintBSymbol}**`,
|
|
|
+ url: `https://www.byreal.io/en/portfolio?userAddress=${providerAddress}&tab=current&positionAddress=${positionAddress}`,
|
|
|
color: 0xff0000, // 红色
|
|
|
fields: [
|
|
|
{
|