@b3dotfun/sdk 0.0.49 → 0.0.50-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/anyspend/constants/index.d.ts +1 -0
- package/dist/cjs/anyspend/constants/index.js +12 -2
- package/dist/cjs/anyspend/react/components/AnySpend.d.ts +2 -1
- package/dist/cjs/anyspend/react/components/AnySpend.js +18 -5
- package/dist/cjs/anyspend/react/components/AnySpendCustom.js +12 -3
- package/dist/cjs/anyspend/react/components/AnyspendDepositHype.js +11 -4
- package/dist/cjs/anyspend/react/components/common/CryptoPaySection.d.ts +3 -1
- package/dist/cjs/anyspend/react/components/common/CryptoPaySection.js +2 -2
- package/dist/cjs/anyspend/react/components/common/CryptoReceiveSection.d.ts +3 -1
- package/dist/cjs/anyspend/react/components/common/CryptoReceiveSection.js +17 -11
- package/dist/cjs/anyspend/react/components/common/FeeBreakDown.d.ts +12 -0
- package/dist/cjs/anyspend/react/components/common/FeeBreakDown.js +19 -0
- package/dist/cjs/anyspend/react/components/common/FeeDetailPanel.d.ts +8 -0
- package/dist/cjs/anyspend/react/components/common/FeeDetailPanel.js +116 -0
- package/dist/cjs/anyspend/react/components/common/OrderDetails.d.ts +1 -0
- package/dist/cjs/anyspend/react/components/common/OrderDetails.js +6 -6
- package/dist/cjs/anyspend/react/components/common/OrderDetailsCollapsible.d.ts +1 -0
- package/dist/cjs/anyspend/react/components/common/OrderDetailsCollapsible.js +3 -2
- package/dist/cjs/anyspend/react/components/common/OrderToken.js +1 -1
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmount.js +1 -1
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmountFiat.js +1 -1
- package/dist/cjs/anyspend/react/components/common/OrderTokenAmountNew.js +1 -1
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +2 -1
- package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +36 -21
- package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +2 -1
- package/dist/cjs/anyspend/react/components/common/PointsDetailPanel.js +1 -2
- package/dist/cjs/anyspend/react/contexts/FeatureFlagsContext.js +1 -1
- package/dist/cjs/anyspend/react/hooks/useAnyspendFlow.d.ts +3 -1
- package/dist/cjs/anyspend/react/hooks/useAnyspendFlow.js +1 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +48 -12
- package/dist/cjs/anyspend/types/api.d.ts +133 -178
- package/dist/cjs/anyspend/utils/chain.js +4 -4
- package/dist/cjs/bondkit/bondkitToken.d.ts +3 -1
- package/dist/cjs/bondkit/bondkitToken.js +19 -0
- package/dist/cjs/bondkit/components/TradingView.d.ts +1 -1
- package/dist/cjs/bondkit/components/TradingView.js +14 -3
- package/dist/cjs/bondkit/components/index.d.ts +1 -1
- package/dist/cjs/bondkit/components/index.js +1 -1
- package/dist/cjs/bondkit/components/types.d.ts +1 -0
- package/dist/cjs/bondkit/config.d.ts +1 -0
- package/dist/cjs/bondkit/config.js +1 -0
- package/dist/cjs/bondkit/index.d.ts +1 -1
- package/dist/cjs/bondkit/index.js +2 -6
- package/dist/cjs/bondkit/types.d.ts +15 -0
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.d.ts +1 -1
- package/dist/cjs/global-account/react/components/B3Provider/B3Provider.js +1 -1
- package/dist/cjs/global-account/react/components/B3Provider/RelayKitProviderWrapper.js +2 -2
- package/dist/cjs/global-account/react/components/ui/tooltip.js +1 -1
- package/dist/cjs/global-account/react/hooks/useAuthentication.js +11 -0
- package/dist/cjs/global-account/react/hooks/useFirstEOA.d.ts +7663 -1
- package/dist/cjs/global-account/react/hooks/useFirstEOA.js +21 -1
- package/dist/cjs/shared/generated/chain-networks.json +40 -7
- package/dist/esm/anyspend/constants/index.d.ts +1 -0
- package/dist/esm/anyspend/constants/index.js +11 -1
- package/dist/esm/anyspend/react/components/AnySpend.d.ts +2 -1
- package/dist/esm/anyspend/react/components/AnySpend.js +18 -5
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +14 -5
- package/dist/esm/anyspend/react/components/AnyspendDepositHype.js +11 -4
- package/dist/esm/anyspend/react/components/common/CryptoPaySection.d.ts +3 -1
- package/dist/esm/anyspend/react/components/common/CryptoPaySection.js +4 -4
- package/dist/esm/anyspend/react/components/common/CryptoReceiveSection.d.ts +3 -1
- package/dist/esm/anyspend/react/components/common/CryptoReceiveSection.js +19 -13
- package/dist/esm/anyspend/react/components/common/FeeBreakDown.d.ts +12 -0
- package/dist/esm/anyspend/react/components/common/FeeBreakDown.js +16 -0
- package/dist/esm/anyspend/react/components/common/FeeDetailPanel.d.ts +8 -0
- package/dist/esm/anyspend/react/components/common/FeeDetailPanel.js +113 -0
- package/dist/esm/anyspend/react/components/common/OrderDetails.d.ts +1 -0
- package/dist/esm/anyspend/react/components/common/OrderDetails.js +6 -6
- package/dist/esm/anyspend/react/components/common/OrderDetailsCollapsible.d.ts +1 -0
- package/dist/esm/anyspend/react/components/common/OrderDetailsCollapsible.js +4 -3
- package/dist/esm/anyspend/react/components/common/OrderToken.js +1 -1
- package/dist/esm/anyspend/react/components/common/OrderTokenAmount.js +1 -1
- package/dist/esm/anyspend/react/components/common/OrderTokenAmountFiat.js +1 -1
- package/dist/esm/anyspend/react/components/common/OrderTokenAmountNew.js +1 -1
- package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +2 -1
- package/dist/esm/anyspend/react/components/common/PanelOnramp.js +38 -23
- package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +2 -1
- package/dist/esm/anyspend/react/components/common/PointsDetailPanel.js +2 -3
- package/dist/esm/anyspend/react/contexts/FeatureFlagsContext.js +1 -1
- package/dist/esm/anyspend/react/hooks/useAnyspendFlow.d.ts +3 -1
- package/dist/esm/anyspend/react/hooks/useAnyspendFlow.js +1 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +48 -12
- package/dist/esm/anyspend/types/api.d.ts +133 -178
- package/dist/esm/anyspend/utils/chain.js +4 -4
- package/dist/esm/bondkit/bondkitToken.d.ts +3 -1
- package/dist/esm/bondkit/bondkitToken.js +19 -0
- package/dist/esm/bondkit/components/TradingView.d.ts +1 -1
- package/dist/esm/bondkit/components/TradingView.js +14 -3
- package/dist/esm/bondkit/components/index.d.ts +1 -1
- package/dist/esm/bondkit/components/index.js +1 -1
- package/dist/esm/bondkit/components/types.d.ts +1 -0
- package/dist/esm/bondkit/config.d.ts +1 -0
- package/dist/esm/bondkit/config.js +1 -0
- package/dist/esm/bondkit/index.d.ts +1 -1
- package/dist/esm/bondkit/index.js +1 -1
- package/dist/esm/bondkit/types.d.ts +15 -0
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.d.ts +1 -1
- package/dist/esm/global-account/react/components/B3Provider/B3Provider.js +1 -1
- package/dist/esm/global-account/react/components/B3Provider/RelayKitProviderWrapper.js +2 -2
- package/dist/esm/global-account/react/components/ui/tooltip.js +1 -1
- package/dist/esm/global-account/react/hooks/useAuthentication.js +11 -0
- package/dist/esm/global-account/react/hooks/useFirstEOA.d.ts +7663 -1
- package/dist/esm/global-account/react/hooks/useFirstEOA.js +22 -2
- package/dist/esm/shared/generated/chain-networks.json +40 -7
- package/dist/styles/index.css +1 -1
- package/dist/types/anyspend/constants/index.d.ts +1 -0
- package/dist/types/anyspend/react/components/AnySpend.d.ts +2 -1
- package/dist/types/anyspend/react/components/common/CryptoPaySection.d.ts +3 -1
- package/dist/types/anyspend/react/components/common/CryptoReceiveSection.d.ts +3 -1
- package/dist/types/anyspend/react/components/common/FeeBreakDown.d.ts +12 -0
- package/dist/types/anyspend/react/components/common/FeeDetailPanel.d.ts +8 -0
- package/dist/types/anyspend/react/components/common/OrderDetails.d.ts +1 -0
- package/dist/types/anyspend/react/components/common/OrderDetailsCollapsible.d.ts +1 -0
- package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +2 -1
- package/dist/types/anyspend/react/hooks/useAnyspendFlow.d.ts +3 -1
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +48 -12
- package/dist/types/anyspend/types/api.d.ts +133 -178
- package/dist/types/bondkit/bondkitToken.d.ts +3 -1
- package/dist/types/bondkit/components/TradingView.d.ts +1 -1
- package/dist/types/bondkit/components/index.d.ts +1 -1
- package/dist/types/bondkit/components/types.d.ts +1 -0
- package/dist/types/bondkit/config.d.ts +1 -0
- package/dist/types/bondkit/index.d.ts +1 -1
- package/dist/types/bondkit/types.d.ts +15 -0
- package/dist/types/global-account/react/components/B3Provider/B3Provider.d.ts +1 -1
- package/dist/types/global-account/react/hooks/useFirstEOA.d.ts +7663 -1
- package/package.json +4 -4
- package/src/anyspend/constants/index.ts +12 -1
- package/src/anyspend/react/components/AnySpend.tsx +33 -0
- package/src/anyspend/react/components/AnySpendCustom.tsx +69 -7
- package/src/anyspend/react/components/AnyspendDepositHype.tsx +24 -0
- package/src/anyspend/react/components/common/CryptoPaySection.tsx +14 -2
- package/src/anyspend/react/components/common/CryptoReceiveSection.tsx +31 -11
- package/src/anyspend/react/components/common/FeeBreakDown.tsx +105 -0
- package/src/anyspend/react/components/common/FeeDetailPanel.tsx +334 -0
- package/src/anyspend/react/components/common/OrderDetails.tsx +7 -0
- package/src/anyspend/react/components/common/OrderDetailsCollapsible.tsx +16 -0
- package/src/anyspend/react/components/common/OrderToken.tsx +1 -1
- package/src/anyspend/react/components/common/OrderTokenAmount.tsx +1 -1
- package/src/anyspend/react/components/common/OrderTokenAmountFiat.tsx +1 -1
- package/src/anyspend/react/components/common/OrderTokenAmountNew.tsx +1 -1
- package/src/anyspend/react/components/common/PanelOnramp.tsx +58 -27
- package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +18 -6
- package/src/anyspend/react/components/common/PointsDetailPanel.tsx +1 -13
- package/src/anyspend/react/contexts/FeatureFlagsContext.tsx +2 -2
- package/src/anyspend/react/hooks/useAnyspendFlow.ts +1 -0
- package/src/anyspend/types/api.ts +135 -178
- package/src/anyspend/utils/chain.ts +4 -4
- package/src/bondkit/bondkitToken.ts +24 -0
- package/src/bondkit/components/TradingView.tsx +15 -3
- package/src/bondkit/components/index.ts +1 -1
- package/src/bondkit/components/types.ts +1 -0
- package/src/bondkit/config.ts +2 -0
- package/src/bondkit/index.ts +1 -1
- package/src/bondkit/types.ts +19 -0
- package/src/global-account/react/components/B3Provider/B3Provider.tsx +1 -1
- package/src/global-account/react/components/B3Provider/RelayKitProviderWrapper.tsx +2 -2
- package/src/global-account/react/components/ui/tooltip.tsx +11 -9
- package/src/global-account/react/hooks/useAuthentication.ts +13 -1
- package/src/global-account/react/hooks/useFirstEOA.tsx +20 -2
- package/src/shared/generated/chain-networks.json +40 -7
|
@@ -92,7 +92,8 @@ function PanelOnrampPaymentInner(props) {
|
|
|
92
92
|
? "Receive NFT at"
|
|
93
93
|
: orderType === "join_tournament"
|
|
94
94
|
? "Join for"
|
|
95
|
-
: "Recipient" }), _jsxs("div", { className: "flex items-center gap-2", children: [recipientImageUrl && (_jsx("img", { src: recipientImageUrl, alt: recipientImageUrl, className: "bg-b3-react-foreground size-7 rounded-full object-cover opacity-100" })), _jsxs("div", { className: "flex flex-col items-end gap-1", children: [recipientEnsName && _jsxs("span", { className: "text-b3-react-foreground/80", children: ["@", recipientEnsName] }), _jsx("span", { className: "text-b3-react-foreground/80", children: centerTruncate(recipientAddress) })] })] })] })), _jsx("div", { className: "border-b3-react-border border-t pt-3", children: _jsxs("div", { className: "flex items-center justify-between", children: [_jsx("p", { className: "text-b3-react-foreground font-semibold", children: "Amount" }), _jsxs("p", { className: "text-b3-react-foreground hover:text-b3-react-foreground/80 cursor-pointer text-xl font-semibold transition-colors", onClick: onBack, children: ["$", parseFloat(srcAmountOnRamp).toFixed(2)] })
|
|
95
|
+
: "Recipient" }), _jsxs("div", { className: "flex items-center gap-2", children: [recipientImageUrl && (_jsx("img", { src: recipientImageUrl, alt: recipientImageUrl, className: "bg-b3-react-foreground size-7 rounded-full object-cover opacity-100" })), _jsxs("div", { className: "flex flex-col items-end gap-1", children: [recipientEnsName && _jsxs("span", { className: "text-b3-react-foreground/80", children: ["@", recipientEnsName] }), _jsx("span", { className: "text-b3-react-foreground/80", children: centerTruncate(recipientAddress) })] })] })] })), _jsx("div", { className: "border-b3-react-border border-t pt-3", children: _jsxs("div", { className: "flex items-center justify-between", children: [_jsx("p", { className: "text-b3-react-foreground font-semibold", children: "Amount" }), _jsxs("div", { className: "flex flex-col items-end gap-0.5", children: [_jsxs("p", { className: "text-b3-react-foreground hover:text-b3-react-foreground/80 cursor-pointer text-xl font-semibold transition-colors", onClick: onBack, children: ["$", parseFloat(srcAmountOnRamp).toFixed(2)] }), anyspendQuote?.data?.fee?.type === "standard_fee" && anyspendQuote.data.currencyIn?.amountUsd && (_jsxs("p", { className: "text-b3-react-foreground/60 text-xs", children: ["incl. $", ((Number(anyspendQuote.data.currencyIn.amountUsd) * anyspendQuote.data.fee.finalFeeBps) /
|
|
96
|
+
10000).toFixed(2), " ", "fee"] }))] })] }) })] })] }), isCreatingOrder ? (_jsxs("div", { className: "bg-b3-react-background border-b3-react-border flex items-center justify-center gap-3 rounded-lg border p-6", children: [_jsx(Loader2, { className: "h-4 w-4 animate-spin" }), _jsx("span", { className: "text-as-primary/70", children: "Creating onramp order..." })] })) : isLoading ? (_jsxs("div", { className: "bg-b3-react-background border-b3-react-border flex items-center justify-center gap-3 rounded-lg border p-6", children: [_jsx(Loader2, { className: "h-4 w-4 animate-spin" }), _jsx("span", { className: "text-as-primary/70", children: "Loading payment options..." })] })) : (_jsxs(_Fragment, { children: [_jsxs("div", { className: "mb-3 flex items-center justify-between", children: [_jsx("h2", { className: "text-lg font-semibold", children: "Payment method" }), _jsx("div", { className: "flex items-center gap-1", children: coinbaseAvailablePaymentMethods.length > 0 &&
|
|
96
97
|
(() => {
|
|
97
98
|
const hasCard = coinbaseAvailablePaymentMethods.some(m => m.id === "CARD");
|
|
98
99
|
const hasApplePay = coinbaseAvailablePaymentMethods.some(m => m.id === "APPLE_PAY");
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { ShinyButton } from "../../../../global-account/react/index.js";
|
|
3
3
|
import { cn } from "../../../../shared/utils/cn.js";
|
|
4
|
-
import { ArrowDown } from "lucide-react";
|
|
5
4
|
import Link from "next/link";
|
|
6
5
|
export function PointsDetailPanel({ pointsAmount = 0, onBack }) {
|
|
7
|
-
return (
|
|
6
|
+
return (_jsx("div", { className: "mx-auto flex w-[460px] max-w-full flex-col items-center gap-4", children: _jsxs("div", { className: "flex flex-col items-center gap-4 text-center", children: [_jsx("h3", { className: "text-as-primary text-xl font-bold", children: "Earn Points with Every Swap" }), _jsxs("p", { className: "text-as-primary/70 text-balance text-sm leading-relaxed", children: ["You'll earn ", _jsxs("span", { className: "text-as-brand font-semibold", children: ["+", pointsAmount.toLocaleString(), " points"] }), " ", "towards the", " ", _jsx(Link, { href: "https://anyspend.com/points", target: "_blank", className: "text-as-brand underline", children: "next AnySpend airdrop" }), " ", "when you complete this transaction."] }), _jsxs("div", { className: "bg-as-surface-primary border-as-border-secondary mt-2 w-full rounded-lg border p-4 text-left", children: [_jsx("h4", { className: "text-as-primary mb-2 font-semibold", children: "How it works:" }), _jsxs("ul", { className: "text-as-primary/70 space-y-1 text-sm", children: [_jsx("li", { children: "\u2022 Points are earned based on transaction volume" }), _jsx("li", { children: "\u2022 Higher volume = more points" }), _jsx("li", { children: "\u2022 Points contribute to future airdrops" }), _jsx("li", { children: "\u2022 Keep swapping to maximize your rewards" })] })] }), _jsx(ShinyButton, { accentColor: "hsl(var(--as-brand))", onClick: onBack, className: cn("as-main-button !bg-as-brand relative w-full"), textClassName: cn("text-white"), children: "Back to Swap" })] }) }));
|
|
8
7
|
}
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { createContext, useContext } from "react";
|
|
4
4
|
const FeatureFlagsContext = createContext(undefined);
|
|
5
5
|
const defaultFeatureFlags = {
|
|
6
|
-
showPoints:
|
|
6
|
+
showPoints: true,
|
|
7
7
|
};
|
|
8
8
|
export function FeatureFlagsProvider({ children, featureFlags = defaultFeatureFlags }) {
|
|
9
9
|
return _jsx(FeatureFlagsContext.Provider, { value: { featureFlags }, children: children });
|
|
@@ -8,7 +8,8 @@ export declare enum PanelView {
|
|
|
8
8
|
RECIPIENT_SELECTION = 3,
|
|
9
9
|
ORDER_DETAILS = 4,
|
|
10
10
|
LOADING = 5,
|
|
11
|
-
POINTS_DETAIL = 6
|
|
11
|
+
POINTS_DETAIL = 6,
|
|
12
|
+
FEE_DETAIL = 7
|
|
12
13
|
}
|
|
13
14
|
interface UseAnyspendFlowProps {
|
|
14
15
|
paymentType?: "crypto" | "fiat";
|
|
@@ -144,6 +145,7 @@ export declare function useAnyspendFlow({ paymentType, recipientAddress, loadOrd
|
|
|
144
145
|
userBalance?: string;
|
|
145
146
|
pointsAmount?: number;
|
|
146
147
|
pointsMultiplier?: number;
|
|
148
|
+
fee: components["schemas"]["Fee"];
|
|
147
149
|
};
|
|
148
150
|
statusCode: number;
|
|
149
151
|
} | undefined;
|
|
@@ -19,6 +19,7 @@ export var PanelView;
|
|
|
19
19
|
PanelView[PanelView["ORDER_DETAILS"] = 4] = "ORDER_DETAILS";
|
|
20
20
|
PanelView[PanelView["LOADING"] = 5] = "LOADING";
|
|
21
21
|
PanelView[PanelView["POINTS_DETAIL"] = 6] = "POINTS_DETAIL";
|
|
22
|
+
PanelView[PanelView["FEE_DETAIL"] = 7] = "FEE_DETAIL";
|
|
22
23
|
})(PanelView || (PanelView = {}));
|
|
23
24
|
export function useAnyspendFlow({ paymentType = "crypto", recipientAddress, loadOrder, isDepositMode = false, onOrderSuccess, onTransactionSuccess, sourceTokenAddress, sourceTokenChainId, slippage = 0, disableUrlParamManagement = false, }) {
|
|
24
25
|
const searchParams = useSearchParamsSSR();
|
|
@@ -13,14 +13,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
13
13
|
createdAt: number;
|
|
14
14
|
expiredAt: number;
|
|
15
15
|
filledAt: number | null;
|
|
16
|
+
receivedDepositAt: number | null;
|
|
16
17
|
creatorAddress: string | null;
|
|
17
18
|
partnerId: string | null;
|
|
18
19
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
19
20
|
oneClickBuyUrl: string | null;
|
|
20
21
|
stripePaymentIntentId: string | null;
|
|
21
22
|
settlement: {
|
|
22
|
-
actualDstAmount
|
|
23
|
+
actualDstAmount?: string;
|
|
24
|
+
relay?: Record<string, never>;
|
|
23
25
|
} | null;
|
|
26
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
24
27
|
} & {
|
|
25
28
|
type: "swap";
|
|
26
29
|
payload: import("../..").components["schemas"]["SwapPayload"];
|
|
@@ -39,14 +42,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
39
42
|
createdAt: number;
|
|
40
43
|
expiredAt: number;
|
|
41
44
|
filledAt: number | null;
|
|
45
|
+
receivedDepositAt: number | null;
|
|
42
46
|
creatorAddress: string | null;
|
|
43
47
|
partnerId: string | null;
|
|
44
48
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
45
49
|
oneClickBuyUrl: string | null;
|
|
46
50
|
stripePaymentIntentId: string | null;
|
|
47
51
|
settlement: {
|
|
48
|
-
actualDstAmount
|
|
52
|
+
actualDstAmount?: string;
|
|
53
|
+
relay?: Record<string, never>;
|
|
49
54
|
} | null;
|
|
55
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
50
56
|
} & {
|
|
51
57
|
type: "hype_duel";
|
|
52
58
|
payload: import("../..").components["schemas"]["HypeDuelPayload"];
|
|
@@ -65,14 +71,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
65
71
|
createdAt: number;
|
|
66
72
|
expiredAt: number;
|
|
67
73
|
filledAt: number | null;
|
|
74
|
+
receivedDepositAt: number | null;
|
|
68
75
|
creatorAddress: string | null;
|
|
69
76
|
partnerId: string | null;
|
|
70
77
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
71
78
|
oneClickBuyUrl: string | null;
|
|
72
79
|
stripePaymentIntentId: string | null;
|
|
73
80
|
settlement: {
|
|
74
|
-
actualDstAmount
|
|
81
|
+
actualDstAmount?: string;
|
|
82
|
+
relay?: Record<string, never>;
|
|
75
83
|
} | null;
|
|
84
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
76
85
|
} & {
|
|
77
86
|
type: "custom";
|
|
78
87
|
payload: import("../..").components["schemas"]["CustomPayload"];
|
|
@@ -91,14 +100,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
91
100
|
createdAt: number;
|
|
92
101
|
expiredAt: number;
|
|
93
102
|
filledAt: number | null;
|
|
103
|
+
receivedDepositAt: number | null;
|
|
94
104
|
creatorAddress: string | null;
|
|
95
105
|
partnerId: string | null;
|
|
96
106
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
97
107
|
oneClickBuyUrl: string | null;
|
|
98
108
|
stripePaymentIntentId: string | null;
|
|
99
109
|
settlement: {
|
|
100
|
-
actualDstAmount
|
|
110
|
+
actualDstAmount?: string;
|
|
111
|
+
relay?: Record<string, never>;
|
|
101
112
|
} | null;
|
|
113
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
102
114
|
} & {
|
|
103
115
|
type: "mint_nft";
|
|
104
116
|
payload: import("../..").components["schemas"]["MintNftPayload"];
|
|
@@ -117,14 +129,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
117
129
|
createdAt: number;
|
|
118
130
|
expiredAt: number;
|
|
119
131
|
filledAt: number | null;
|
|
132
|
+
receivedDepositAt: number | null;
|
|
120
133
|
creatorAddress: string | null;
|
|
121
134
|
partnerId: string | null;
|
|
122
135
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
123
136
|
oneClickBuyUrl: string | null;
|
|
124
137
|
stripePaymentIntentId: string | null;
|
|
125
138
|
settlement: {
|
|
126
|
-
actualDstAmount
|
|
139
|
+
actualDstAmount?: string;
|
|
140
|
+
relay?: Record<string, never>;
|
|
127
141
|
} | null;
|
|
142
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
128
143
|
} & {
|
|
129
144
|
type: "join_tournament";
|
|
130
145
|
payload: import("../..").components["schemas"]["JoinTournamentPayload"];
|
|
@@ -143,14 +158,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
143
158
|
createdAt: number;
|
|
144
159
|
expiredAt: number;
|
|
145
160
|
filledAt: number | null;
|
|
161
|
+
receivedDepositAt: number | null;
|
|
146
162
|
creatorAddress: string | null;
|
|
147
163
|
partnerId: string | null;
|
|
148
164
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
149
165
|
oneClickBuyUrl: string | null;
|
|
150
166
|
stripePaymentIntentId: string | null;
|
|
151
167
|
settlement: {
|
|
152
|
-
actualDstAmount
|
|
168
|
+
actualDstAmount?: string;
|
|
169
|
+
relay?: Record<string, never>;
|
|
153
170
|
} | null;
|
|
171
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
154
172
|
} & {
|
|
155
173
|
type: "fund_tournament";
|
|
156
174
|
payload: import("../..").components["schemas"]["FundTournamentPayload"];
|
|
@@ -172,14 +190,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
172
190
|
createdAt: number;
|
|
173
191
|
expiredAt: number;
|
|
174
192
|
filledAt: number | null;
|
|
193
|
+
receivedDepositAt: number | null;
|
|
175
194
|
creatorAddress: string | null;
|
|
176
195
|
partnerId: string | null;
|
|
177
196
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
178
197
|
oneClickBuyUrl: string | null;
|
|
179
198
|
stripePaymentIntentId: string | null;
|
|
180
199
|
settlement: {
|
|
181
|
-
actualDstAmount
|
|
200
|
+
actualDstAmount?: string;
|
|
201
|
+
relay?: Record<string, never>;
|
|
182
202
|
} | null;
|
|
203
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
183
204
|
} & {
|
|
184
205
|
type: "swap";
|
|
185
206
|
payload: import("../..").components["schemas"]["SwapPayload"];
|
|
@@ -198,14 +219,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
198
219
|
createdAt: number;
|
|
199
220
|
expiredAt: number;
|
|
200
221
|
filledAt: number | null;
|
|
222
|
+
receivedDepositAt: number | null;
|
|
201
223
|
creatorAddress: string | null;
|
|
202
224
|
partnerId: string | null;
|
|
203
225
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
204
226
|
oneClickBuyUrl: string | null;
|
|
205
227
|
stripePaymentIntentId: string | null;
|
|
206
228
|
settlement: {
|
|
207
|
-
actualDstAmount
|
|
229
|
+
actualDstAmount?: string;
|
|
230
|
+
relay?: Record<string, never>;
|
|
208
231
|
} | null;
|
|
232
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
209
233
|
} & {
|
|
210
234
|
type: "hype_duel";
|
|
211
235
|
payload: import("../..").components["schemas"]["HypeDuelPayload"];
|
|
@@ -224,14 +248,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
224
248
|
createdAt: number;
|
|
225
249
|
expiredAt: number;
|
|
226
250
|
filledAt: number | null;
|
|
251
|
+
receivedDepositAt: number | null;
|
|
227
252
|
creatorAddress: string | null;
|
|
228
253
|
partnerId: string | null;
|
|
229
254
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
230
255
|
oneClickBuyUrl: string | null;
|
|
231
256
|
stripePaymentIntentId: string | null;
|
|
232
257
|
settlement: {
|
|
233
|
-
actualDstAmount
|
|
258
|
+
actualDstAmount?: string;
|
|
259
|
+
relay?: Record<string, never>;
|
|
234
260
|
} | null;
|
|
261
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
235
262
|
} & {
|
|
236
263
|
type: "custom";
|
|
237
264
|
payload: import("../..").components["schemas"]["CustomPayload"];
|
|
@@ -250,14 +277,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
250
277
|
createdAt: number;
|
|
251
278
|
expiredAt: number;
|
|
252
279
|
filledAt: number | null;
|
|
280
|
+
receivedDepositAt: number | null;
|
|
253
281
|
creatorAddress: string | null;
|
|
254
282
|
partnerId: string | null;
|
|
255
283
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
256
284
|
oneClickBuyUrl: string | null;
|
|
257
285
|
stripePaymentIntentId: string | null;
|
|
258
286
|
settlement: {
|
|
259
|
-
actualDstAmount
|
|
287
|
+
actualDstAmount?: string;
|
|
288
|
+
relay?: Record<string, never>;
|
|
260
289
|
} | null;
|
|
290
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
261
291
|
} & {
|
|
262
292
|
type: "mint_nft";
|
|
263
293
|
payload: import("../..").components["schemas"]["MintNftPayload"];
|
|
@@ -276,14 +306,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
276
306
|
createdAt: number;
|
|
277
307
|
expiredAt: number;
|
|
278
308
|
filledAt: number | null;
|
|
309
|
+
receivedDepositAt: number | null;
|
|
279
310
|
creatorAddress: string | null;
|
|
280
311
|
partnerId: string | null;
|
|
281
312
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
282
313
|
oneClickBuyUrl: string | null;
|
|
283
314
|
stripePaymentIntentId: string | null;
|
|
284
315
|
settlement: {
|
|
285
|
-
actualDstAmount
|
|
316
|
+
actualDstAmount?: string;
|
|
317
|
+
relay?: Record<string, never>;
|
|
286
318
|
} | null;
|
|
319
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
287
320
|
} & {
|
|
288
321
|
type: "join_tournament";
|
|
289
322
|
payload: import("../..").components["schemas"]["JoinTournamentPayload"];
|
|
@@ -302,14 +335,17 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
|
|
|
302
335
|
createdAt: number;
|
|
303
336
|
expiredAt: number;
|
|
304
337
|
filledAt: number | null;
|
|
338
|
+
receivedDepositAt: number | null;
|
|
305
339
|
creatorAddress: string | null;
|
|
306
340
|
partnerId: string | null;
|
|
307
341
|
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
308
342
|
oneClickBuyUrl: string | null;
|
|
309
343
|
stripePaymentIntentId: string | null;
|
|
310
344
|
settlement: {
|
|
311
|
-
actualDstAmount
|
|
345
|
+
actualDstAmount?: string;
|
|
346
|
+
relay?: Record<string, never>;
|
|
312
347
|
} | null;
|
|
348
|
+
fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
|
|
313
349
|
} & {
|
|
314
350
|
type: "fund_tournament";
|
|
315
351
|
payload: import("../..").components["schemas"]["FundTournamentPayload"];
|