Skip to content

Commit 956d05d

Browse files
committed
Merge branch 'zora_721_hotfix' of https://github.com/rabbitholegg/questdk-plugins into zora_721_hotfix
2 parents 0dd121b + 210223a commit 956d05d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

packages/zora/src/Zora.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ describe('Given the zora plugin', () => {
2929
recipient: '0x628d4c61d81ac4f286b1778a063ed2f8810bc367',
3030
},
3131
{
32-
tokenRecipient: '0x628d4c61d81ac4f286b1778a063ed2f8810bc367',
32+
tokenRecipient:
33+
'0x628d4c61d81ac4f286b1778a063ed2f8810bc367',
3334
},
3435
{
3536
to: '0x628d4c61d81ac4f286b1778a063ed2f8810bc367',
@@ -47,7 +48,8 @@ describe('Given the zora plugin', () => {
4748
recipient: '0x628d4c61d81ac4f286b1778a063ed2f8810bc367',
4849
},
4950
{
50-
tokenRecipient: '0x628d4c61d81ac4f286b1778a063ed2f8810bc367',
51+
tokenRecipient:
52+
'0x628d4c61d81ac4f286b1778a063ed2f8810bc367',
5153
},
5254
{
5355
to: '0x628d4c61d81ac4f286b1778a063ed2f8810bc367',

packages/zora/src/Zora.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
import { zoraUniversalMinterAddress } from '@zoralabs/universal-minter'
77
import { type Address } from 'viem'
88
import { CHAIN_ID_ARRAY } from './chain-ids'
9-
import { ZORA_MINTER_ABI_1155, ZORA_MINTER_ABI_721 } from './abi'
9+
import { ZORA_MINTER_ABI_1155, ZORA_MINTER_ABI_721 } from './abi'
1010
import type { Chains } from './utils'
1111

1212
export const mint = async (
@@ -47,10 +47,10 @@ export const mint = async (
4747
to: mintContract,
4848
input: {
4949
$or: [
50-
{
51-
$abiAbstract: ZORA_MINTER_ABI_721,
52-
$and: andArray721.length !== 0 ? andArray721 : undefined,
53-
},
50+
{
51+
$abiAbstract: ZORA_MINTER_ABI_721,
52+
$and: andArray721.length !== 0 ? andArray721 : undefined,
53+
},
5454
{
5555
$abiAbstract: ZORA_MINTER_ABI_1155,
5656
$and: andArray1155.length !== 0 ? andArray1155 : undefined,

packages/zora/src/abi.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,10 @@ export const ZORA_MINTER_ABI_721 = [
222222
],
223223
stateMutability: 'payable',
224224
type: 'function',
225-
} // ERC721Drop
225+
}, // ERC721Drop
226226
// https://github.com/ourzora/zora-protocol/blob/8d1fe9bdd79a552a8f74b4712451185f6aebf9a0/packages/1155-contracts/src/nft/ZoraCreator1155Impl.sol#L427
227-
228227
]
229228

230-
231229
export const ZORA_MINTER_ABI_1155 = [
232230
{
233231
inputs: [
@@ -350,4 +348,4 @@ export const ZORA_MINTER_ABI_1155 = [
350348
stateMutability: 'payable',
351349
type: 'function',
352350
}, // universal batch mint
353-
]
351+
]

0 commit comments

Comments
 (0)