Skip to content

Commit 21b835b

Browse files
devin-ai-integration[bot]Jayant Krishnamurthy
andcommitted
style: fix formatting issues
Co-Authored-By: Jayant Krishnamurthy <[email protected]>
1 parent 56beca0 commit 21b835b

34 files changed

+2457
-5
lines changed

apps/api-reference/src/components/Code/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ type CopyButtonProps = Omit<HTMLAttributes<HTMLElement>, "children"> & {
5454
const CopyButton = ({ children, className, ...props }: CopyButtonProps) => {
5555
const [isCopied, setIsCopied] = useState(false);
5656
const copy = useCallback(() => {
57-
// eslint-disable-next-line n/no-unsupported-features/node-builtins
5857
navigator.clipboard
5958
.writeText(children)
6059
.then(() => {

apps/entropy-debugger/src/app/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ const Info = ({ state }: { state: TxStateContext }) => {
212212
</pre>
213213
<button
214214
onClick={() => {
215-
// eslint-disable-next-line n/no-unsupported-features/node-builtins
216215
navigator.clipboard.writeText(state.data).catch(() => {
217216
/* no-op on error */
218217
});

apps/insights/src/components/CopyButton/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export const CopyButton = ({ text, children, className, ...props }: Props) => {
2727
const [isCopied, setIsCopied] = useState(false);
2828
const logger = useLogger();
2929
const copy = useCallback(() => {
30-
// eslint-disable-next-line n/no-unsupported-features/node-builtins
3130
navigator.clipboard
3231
.writeText(text)
3332
.then(() => {

apps/insights/src/components/Root/search-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const SearchText = () => {
3131
const SearchTextImpl = () => {
3232
// This component can only ever render in the client so we can safely ignore
3333
// this eslint rule.
34-
// eslint-disable-next-line n/no-unsupported-features/node-builtins
34+
3535
const isMac = useMemo(() => navigator.userAgent.includes("Mac"), []);
3636
return isMac ? "⌘ K" : "Ctrl K";
3737
};

apps/staking/src/components/CopyButton/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export const CopyButton = ({
1818
const [isCopied, setIsCopied] = useState(false);
1919
const logger = useLogger();
2020
const copy = useCallback(() => {
21-
// eslint-disable-next-line n/no-unsupported-features/node-builtins
2221
navigator.clipboard
2322
.writeText(text)
2423
.then(() => {

express_relay/sdk/js/lib/abi.d.ts

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
export declare const executeOpportunityAbi: {
2+
type: string;
3+
name: string;
4+
inputs: ({
5+
name: string;
6+
type: string;
7+
internalType: string;
8+
components: {
9+
name: string;
10+
type: string;
11+
internalType: string;
12+
components: ({
13+
name: string;
14+
type: string;
15+
internalType: string;
16+
components: {
17+
name: string;
18+
type: string;
19+
internalType: string;
20+
}[];
21+
} | {
22+
name: string;
23+
type: string;
24+
internalType: string;
25+
components?: undefined;
26+
})[];
27+
}[];
28+
} | {
29+
name: string;
30+
type: string;
31+
internalType: string;
32+
components?: undefined;
33+
})[];
34+
outputs: never[];
35+
stateMutability: string;
36+
};
37+
//# sourceMappingURL=abi.d.ts.map

express_relay/sdk/js/lib/abi.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

express_relay/sdk/js/lib/abi.js

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });
3+
exports.executeOpportunityAbi = void 0;
4+
exports.executeOpportunityAbi = {
5+
type: "function",
6+
name: "executeOpportunity",
7+
inputs: [
8+
{
9+
name: "params",
10+
type: "tuple",
11+
internalType: "struct ExecutionParams",
12+
components: [
13+
{
14+
name: "permit",
15+
type: "tuple",
16+
internalType: "struct ISignatureTransfer.PermitBatchTransferFrom",
17+
components: [
18+
{
19+
name: "permitted",
20+
type: "tuple[]",
21+
internalType: "struct ISignatureTransfer.TokenPermissions[]",
22+
components: [
23+
{
24+
name: "token",
25+
type: "address",
26+
internalType: "address",
27+
},
28+
{
29+
name: "amount",
30+
type: "uint256",
31+
internalType: "uint256",
32+
},
33+
],
34+
},
35+
{
36+
name: "nonce",
37+
type: "uint256",
38+
internalType: "uint256",
39+
},
40+
{
41+
name: "deadline",
42+
type: "uint256",
43+
internalType: "uint256",
44+
},
45+
],
46+
},
47+
{
48+
name: "witness",
49+
type: "tuple",
50+
internalType: "struct ExecutionWitness",
51+
components: [
52+
{
53+
name: "buyTokens",
54+
type: "tuple[]",
55+
internalType: "struct TokenAmount[]",
56+
components: [
57+
{
58+
name: "token",
59+
type: "address",
60+
internalType: "address",
61+
},
62+
{
63+
name: "amount",
64+
type: "uint256",
65+
internalType: "uint256",
66+
},
67+
],
68+
},
69+
{
70+
name: "executor",
71+
type: "address",
72+
internalType: "address",
73+
},
74+
{
75+
name: "targetContract",
76+
type: "address",
77+
internalType: "address",
78+
},
79+
{
80+
name: "targetCalldata",
81+
type: "bytes",
82+
internalType: "bytes",
83+
},
84+
{
85+
name: "targetCallValue",
86+
type: "uint256",
87+
internalType: "uint256",
88+
},
89+
{
90+
name: "bidAmount",
91+
type: "uint256",
92+
internalType: "uint256",
93+
},
94+
],
95+
},
96+
],
97+
},
98+
{
99+
name: "signature",
100+
type: "bytes",
101+
internalType: "bytes",
102+
},
103+
],
104+
outputs: [],
105+
stateMutability: "payable",
106+
};
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { OpportunityAdapterConfig, SvmConstantsConfig } from "./types";
2+
export declare const OPPORTUNITY_ADAPTER_CONFIGS: Record<string, OpportunityAdapterConfig>;
3+
export declare const SVM_CONSTANTS: Record<string, SvmConstantsConfig>;
4+
//# sourceMappingURL=const.d.ts.map

express_relay/sdk/js/lib/const.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)