Skip to content

Commit d3999ce

Browse files
fixed typos on address and whether (#160)
Co-authored-by: farhanW3 <132962163+farhanW3@users.noreply.github.com>
1 parent 6f82df3 commit d3999ce

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

server/api/contract/extensions/erc1155/write/setApprovalForAll.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const requestBodySchema = Type.Object({
1919
description: "Address of the operator to give approval to",
2020
}),
2121
approved: Type.Boolean({
22-
description: "wheter to approve or revoke approval",
22+
description: "whether to approve or revoke approval",
2323
}),
2424
...txOverridesForWriteRequest.properties,
2525
});

server/api/contract/extensions/erc721/write/setApprovalForAll.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const requestBodySchema = Type.Object({
1919
description: "Address of the operator to give approval to",
2020
}),
2121
approved: Type.Boolean({
22-
description: "wheter to approve or revoke approval",
22+
description: "whether to approve or revoke approval",
2323
}),
2424
...txOverridesForWriteRequest.properties,
2525
});

server/helpers/sharedApiSchemas.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const contractParamSchema = Type.Object({
2222
}),
2323
contract_address: Type.String({
2424
examples: ["0xc8be6265C06aC376876b4F62670adB3c4d72EABA"],
25-
description: "Contract Addres on the Chain",
25+
description: "Contract Address on the Chain",
2626
}),
2727
});
2828

@@ -153,7 +153,7 @@ export const erc20ContractParamSchema = Type.Object({
153153
}),
154154
contract_address: Type.String({
155155
examples: ["0x365b83D67D5539C6583b9c0266A548926Bf216F4"],
156-
description: "ERC20 Contract Addres on the Chain",
156+
description: "ERC20 Contract Address on the Chain",
157157
}),
158158
});
159159

@@ -167,7 +167,7 @@ export const erc1155ContractParamSchema = Type.Object({
167167
}),
168168
contract_address: Type.String({
169169
examples: ["0x19411143085F1ec7D21a7cc07000CBA5188C5e8e"],
170-
description: "ERC1155 Contract Addres on the Chain",
170+
description: "ERC1155 Contract Address on the Chain",
171171
}),
172172
});
173173

@@ -181,7 +181,7 @@ export const erc721ContractParamSchema = Type.Object({
181181
}),
182182
contract_address: Type.String({
183183
examples: ["0xc8be6265C06aC376876b4F62670adB3c4d72EABA"],
184-
description: "ERC721 Contract Addres on the Chain",
184+
description: "ERC721 Contract Address on the Chain",
185185
}),
186186
});
187187
export const currencyValueSchema = Type.Object({
@@ -211,7 +211,7 @@ export const marketplaceV3ContractParamSchema = Type.Object({
211211
}),
212212
contract_address: Type.String({
213213
examples: ["0xE8Bf1a01106F3acD7F84acaf5D668D7C9eA11535"],
214-
description: "Contract Addres on the Chain",
214+
description: "Contract Address on the Chain",
215215
}),
216216
});
217217

0 commit comments

Comments
 (0)