@hypercerts-org/marketplace-sdk 0.0.5 → 0.0.7

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.
@@ -21,7 +21,10 @@ export declare namespace OrderStructs {
21
21
  recipient: AddressLike;
22
22
  additionalParameters: BytesLike;
23
23
  };
24
- type TakerStructOutput = [recipient: string, additionalParameters: string] & {
24
+ type TakerStructOutput = [
25
+ recipient: string,
26
+ additionalParameters: string
27
+ ] & {
25
28
  recipient: string;
26
29
  additionalParameters: string;
27
30
  };
@@ -87,7 +90,10 @@ export declare namespace OrderStructs {
87
90
  root: BytesLike;
88
91
  proof: OrderStructs.MerkleTreeNodeStruct[];
89
92
  };
90
- type MerkleTreeStructOutput = [root: string, proof: OrderStructs.MerkleTreeNodeStructOutput[]] & {
93
+ type MerkleTreeStructOutput = [
94
+ root: string,
95
+ proof: OrderStructs.MerkleTreeNodeStructOutput[]
96
+ ] & {
91
97
  root: string;
92
98
  proof: OrderStructs.MerkleTreeNodeStructOutput[];
93
99
  };
@@ -97,7 +103,14 @@ export interface LooksRareProtocolInterface extends Interface {
97
103
  getEvent(nameOrSignatureOrTopic: "AffiliatePayment" | "CancelOwnershipTransfer" | "CurrencyStatusUpdated" | "InitiateOwnershipRenouncement" | "InitiateOwnershipTransfer" | "NewAffiliateController" | "NewAffiliateProgramStatus" | "NewAffiliateRate" | "NewBidAskNonces" | "NewCreatorFeeManager" | "NewDomainSeparator" | "NewGasLimitETHTransfer" | "NewMaxCreatorFeeBp" | "NewOwner" | "NewProtocolFeeRecipient" | "NewStrategy" | "OrderNoncesCancelled" | "StrategyUpdated" | "SubsetNoncesCancelled" | "TakerAsk" | "TakerBid"): EventFragment;
98
104
  encodeFunctionData(functionFragment: "MAGIC_VALUE_ORDER_NONCE_EXECUTED", values?: undefined): string;
99
105
  encodeFunctionData(functionFragment: "WETH", values?: undefined): string;
100
- encodeFunctionData(functionFragment: "addStrategy", values: [BigNumberish, BigNumberish, BigNumberish, BytesLike, boolean, AddressLike]): string;
106
+ encodeFunctionData(functionFragment: "addStrategy", values: [
107
+ BigNumberish,
108
+ BigNumberish,
109
+ BigNumberish,
110
+ BytesLike,
111
+ boolean,
112
+ AddressLike
113
+ ]): string;
101
114
  encodeFunctionData(functionFragment: "affiliateController", values?: undefined): string;
102
115
  encodeFunctionData(functionFragment: "affiliateRates", values: [AddressLike]): string;
103
116
  encodeFunctionData(functionFragment: "cancelOrderNonces", values: [BigNumberish[]]): string;
@@ -116,8 +129,20 @@ export interface LooksRareProtocolInterface extends Interface {
116
129
  AddressLike,
117
130
  boolean
118
131
  ]): string;
119
- encodeFunctionData(functionFragment: "executeTakerAsk", values: [OrderStructs.TakerStruct, OrderStructs.MakerStruct, BytesLike, OrderStructs.MerkleTreeStruct, AddressLike]): string;
120
- encodeFunctionData(functionFragment: "executeTakerBid", values: [OrderStructs.TakerStruct, OrderStructs.MakerStruct, BytesLike, OrderStructs.MerkleTreeStruct, AddressLike]): string;
132
+ encodeFunctionData(functionFragment: "executeTakerAsk", values: [
133
+ OrderStructs.TakerStruct,
134
+ OrderStructs.MakerStruct,
135
+ BytesLike,
136
+ OrderStructs.MerkleTreeStruct,
137
+ AddressLike
138
+ ]): string;
139
+ encodeFunctionData(functionFragment: "executeTakerBid", values: [
140
+ OrderStructs.TakerStruct,
141
+ OrderStructs.MakerStruct,
142
+ BytesLike,
143
+ OrderStructs.MerkleTreeStruct,
144
+ AddressLike
145
+ ]): string;
121
146
  encodeFunctionData(functionFragment: "hashBatchOrder", values: [BytesLike, BigNumberish]): string;
122
147
  encodeFunctionData(functionFragment: "incrementBidAskNonces", values: [boolean, boolean]): string;
123
148
  encodeFunctionData(functionFragment: "initiateOwnershipRenouncement", values?: undefined): string;
@@ -129,7 +154,12 @@ export interface LooksRareProtocolInterface extends Interface {
129
154
  encodeFunctionData(functionFragment: "ownershipStatus", values?: undefined): string;
130
155
  encodeFunctionData(functionFragment: "potentialOwner", values?: undefined): string;
131
156
  encodeFunctionData(functionFragment: "protocolFeeRecipient", values?: undefined): string;
132
- encodeFunctionData(functionFragment: "restrictedExecuteTakerBid", values: [OrderStructs.TakerStruct, OrderStructs.MakerStruct, AddressLike, BytesLike]): string;
157
+ encodeFunctionData(functionFragment: "restrictedExecuteTakerBid", values: [
158
+ OrderStructs.TakerStruct,
159
+ OrderStructs.MakerStruct,
160
+ AddressLike,
161
+ BytesLike
162
+ ]): string;
133
163
  encodeFunctionData(functionFragment: "strategyInfo", values: [BigNumberish]): string;
134
164
  encodeFunctionData(functionFragment: "transferManager", values?: undefined): string;
135
165
  encodeFunctionData(functionFragment: "updateAffiliateController", values: [AddressLike]): string;
@@ -190,8 +220,16 @@ export interface LooksRareProtocolInterface extends Interface {
190
220
  decodeFunctionResult(functionFragment: "userSubsetNonce", data: BytesLike): Result;
191
221
  }
192
222
  export declare namespace AffiliatePaymentEvent {
193
- type InputTuple = [affiliate: AddressLike, currency: AddressLike, affiliateFee: BigNumberish];
194
- type OutputTuple = [affiliate: string, currency: string, affiliateFee: bigint];
223
+ type InputTuple = [
224
+ affiliate: AddressLike,
225
+ currency: AddressLike,
226
+ affiliateFee: BigNumberish
227
+ ];
228
+ type OutputTuple = [
229
+ affiliate: string,
230
+ currency: string,
231
+ affiliateFee: bigint
232
+ ];
195
233
  interface OutputObject {
196
234
  affiliate: string;
197
235
  currency: string;
@@ -235,7 +273,10 @@ export declare namespace InitiateOwnershipRenouncementEvent {
235
273
  type LogDescription = TypedLogDescription<Event>;
236
274
  }
237
275
  export declare namespace InitiateOwnershipTransferEvent {
238
- type InputTuple = [previousOwner: AddressLike, potentialOwner: AddressLike];
276
+ type InputTuple = [
277
+ previousOwner: AddressLike,
278
+ potentialOwner: AddressLike
279
+ ];
239
280
  type OutputTuple = [previousOwner: string, potentialOwner: string];
240
281
  interface OutputObject {
241
282
  previousOwner: string;
@@ -281,7 +322,11 @@ export declare namespace NewAffiliateRateEvent {
281
322
  type LogDescription = TypedLogDescription<Event>;
282
323
  }
283
324
  export declare namespace NewBidAskNoncesEvent {
284
- type InputTuple = [user: AddressLike, bidNonce: BigNumberish, askNonce: BigNumberish];
325
+ type InputTuple = [
326
+ user: AddressLike,
327
+ bidNonce: BigNumberish,
328
+ askNonce: BigNumberish
329
+ ];
285
330
  type OutputTuple = [user: string, bidNonce: bigint, askNonce: bigint];
286
331
  interface OutputObject {
287
332
  user: string;
@@ -550,9 +595,17 @@ export interface LooksRareProtocol extends BaseContract {
550
595
  ], "nonpayable">;
551
596
  affiliateController: TypedContractMethod<[], [string], "view">;
552
597
  affiliateRates: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
553
- cancelOrderNonces: TypedContractMethod<[orderNonces: BigNumberish[]], [void], "nonpayable">;
598
+ cancelOrderNonces: TypedContractMethod<[
599
+ orderNonces: BigNumberish[]
600
+ ], [
601
+ void
602
+ ], "nonpayable">;
554
603
  cancelOwnershipTransfer: TypedContractMethod<[], [void], "nonpayable">;
555
- cancelSubsetNonces: TypedContractMethod<[subsetNonces: BigNumberish[]], [void], "nonpayable">;
604
+ cancelSubsetNonces: TypedContractMethod<[
605
+ subsetNonces: BigNumberish[]
606
+ ], [
607
+ void
608
+ ], "nonpayable">;
556
609
  chainId: TypedContractMethod<[], [bigint], "view">;
557
610
  confirmOwnershipRenouncement: TypedContractMethod<[], [void], "nonpayable">;
558
611
  confirmOwnershipTransfer: TypedContractMethod<[], [void], "nonpayable">;
@@ -563,6 +616,7 @@ export interface LooksRareProtocol extends BaseContract {
563
616
  makerAsks: OrderStructs.MakerStruct[],
564
617
  makerSignatures: BytesLike[],
565
618
  merkleTrees: OrderStructs.MerkleTreeStruct[],
619
+ affiliate: AddressLike,
566
620
  isAtomic: boolean
567
621
  ], [
568
622
  void
@@ -571,7 +625,8 @@ export interface LooksRareProtocol extends BaseContract {
571
625
  takerAsk: OrderStructs.TakerStruct,
572
626
  makerBid: OrderStructs.MakerStruct,
573
627
  makerSignature: BytesLike,
574
- merkleTree: OrderStructs.MerkleTreeStruct
628
+ merkleTree: OrderStructs.MerkleTreeStruct,
629
+ affiliate: AddressLike
575
630
  ], [
576
631
  void
577
632
  ], "nonpayable">;
@@ -579,16 +634,35 @@ export interface LooksRareProtocol extends BaseContract {
579
634
  takerBid: OrderStructs.TakerStruct,
580
635
  makerAsk: OrderStructs.MakerStruct,
581
636
  makerSignature: BytesLike,
582
- merkleTree: OrderStructs.MerkleTreeStruct
637
+ merkleTree: OrderStructs.MerkleTreeStruct,
638
+ affiliate: AddressLike
583
639
  ], [
584
640
  void
585
641
  ], "payable">;
586
- hashBatchOrder: TypedContractMethod<[root: BytesLike, proofLength: BigNumberish], [string], "view">;
587
- incrementBidAskNonces: TypedContractMethod<[bid: boolean, ask: boolean], [void], "nonpayable">;
642
+ hashBatchOrder: TypedContractMethod<[
643
+ root: BytesLike,
644
+ proofLength: BigNumberish
645
+ ], [
646
+ string
647
+ ], "view">;
648
+ incrementBidAskNonces: TypedContractMethod<[
649
+ bid: boolean,
650
+ ask: boolean
651
+ ], [
652
+ void
653
+ ], "nonpayable">;
588
654
  initiateOwnershipRenouncement: TypedContractMethod<[], [void], "nonpayable">;
589
- initiateOwnershipTransfer: TypedContractMethod<[newPotentialOwner: AddressLike], [void], "nonpayable">;
655
+ initiateOwnershipTransfer: TypedContractMethod<[
656
+ newPotentialOwner: AddressLike
657
+ ], [
658
+ void
659
+ ], "nonpayable">;
590
660
  isAffiliateProgramActive: TypedContractMethod<[], [boolean], "view">;
591
- isCurrencyAllowed: TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
661
+ isCurrencyAllowed: TypedContractMethod<[
662
+ arg0: AddressLike
663
+ ], [
664
+ boolean
665
+ ], "view">;
592
666
  maxCreatorFeeBp: TypedContractMethod<[], [bigint], "view">;
593
667
  owner: TypedContractMethod<[], [string], "view">;
594
668
  ownershipStatus: TypedContractMethod<[], [bigint], "view">;
@@ -624,15 +698,49 @@ export interface LooksRareProtocol extends BaseContract {
624
698
  }
625
699
  ], "view">;
626
700
  transferManager: TypedContractMethod<[], [string], "view">;
627
- updateAffiliateController: TypedContractMethod<[newAffiliateController: AddressLike], [void], "nonpayable">;
628
- updateAffiliateProgramStatus: TypedContractMethod<[isActive: boolean], [void], "nonpayable">;
629
- updateAffiliateRate: TypedContractMethod<[affiliate: AddressLike, bp: BigNumberish], [void], "nonpayable">;
630
- updateCreatorFeeManager: TypedContractMethod<[newCreatorFeeManager: AddressLike], [void], "nonpayable">;
631
- updateCurrencyStatus: TypedContractMethod<[currency: AddressLike, isAllowed: boolean], [void], "nonpayable">;
701
+ updateAffiliateController: TypedContractMethod<[
702
+ newAffiliateController: AddressLike
703
+ ], [
704
+ void
705
+ ], "nonpayable">;
706
+ updateAffiliateProgramStatus: TypedContractMethod<[
707
+ isActive: boolean
708
+ ], [
709
+ void
710
+ ], "nonpayable">;
711
+ updateAffiliateRate: TypedContractMethod<[
712
+ affiliate: AddressLike,
713
+ bp: BigNumberish
714
+ ], [
715
+ void
716
+ ], "nonpayable">;
717
+ updateCreatorFeeManager: TypedContractMethod<[
718
+ newCreatorFeeManager: AddressLike
719
+ ], [
720
+ void
721
+ ], "nonpayable">;
722
+ updateCurrencyStatus: TypedContractMethod<[
723
+ currency: AddressLike,
724
+ isAllowed: boolean
725
+ ], [
726
+ void
727
+ ], "nonpayable">;
632
728
  updateDomainSeparator: TypedContractMethod<[], [void], "nonpayable">;
633
- updateETHGasLimitForTransfer: TypedContractMethod<[newGasLimitETHTransfer: BigNumberish], [void], "nonpayable">;
634
- updateMaxCreatorFeeBp: TypedContractMethod<[newMaxCreatorFeeBp: BigNumberish], [void], "nonpayable">;
635
- updateProtocolFeeRecipient: TypedContractMethod<[newProtocolFeeRecipient: AddressLike], [void], "nonpayable">;
729
+ updateETHGasLimitForTransfer: TypedContractMethod<[
730
+ newGasLimitETHTransfer: BigNumberish
731
+ ], [
732
+ void
733
+ ], "nonpayable">;
734
+ updateMaxCreatorFeeBp: TypedContractMethod<[
735
+ newMaxCreatorFeeBp: BigNumberish
736
+ ], [
737
+ void
738
+ ], "nonpayable">;
739
+ updateProtocolFeeRecipient: TypedContractMethod<[
740
+ newProtocolFeeRecipient: AddressLike
741
+ ], [
742
+ void
743
+ ], "nonpayable">;
636
744
  updateStrategy: TypedContractMethod<[
637
745
  strategyId: BigNumberish,
638
746
  isActive: boolean,
@@ -649,8 +757,18 @@ export interface LooksRareProtocol extends BaseContract {
649
757
  askNonce: bigint;
650
758
  }
651
759
  ], "view">;
652
- userOrderNonce: TypedContractMethod<[arg0: AddressLike, arg1: BigNumberish], [string], "view">;
653
- userSubsetNonce: TypedContractMethod<[arg0: AddressLike, arg1: BigNumberish], [boolean], "view">;
760
+ userOrderNonce: TypedContractMethod<[
761
+ arg0: AddressLike,
762
+ arg1: BigNumberish
763
+ ], [
764
+ string
765
+ ], "view">;
766
+ userSubsetNonce: TypedContractMethod<[
767
+ arg0: AddressLike,
768
+ arg1: BigNumberish
769
+ ], [
770
+ boolean
771
+ ], "view">;
654
772
  getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
655
773
  getFunction(nameOrSignature: "MAGIC_VALUE_ORDER_NONCE_EXECUTED"): TypedContractMethod<[], [string], "view">;
656
774
  getFunction(nameOrSignature: "WETH"): TypedContractMethod<[], [string], "view">;
@@ -679,6 +797,7 @@ export interface LooksRareProtocol extends BaseContract {
679
797
  makerAsks: OrderStructs.MakerStruct[],
680
798
  makerSignatures: BytesLike[],
681
799
  merkleTrees: OrderStructs.MerkleTreeStruct[],
800
+ affiliate: AddressLike,
682
801
  isAtomic: boolean
683
802
  ], [
684
803
  void
@@ -687,7 +806,8 @@ export interface LooksRareProtocol extends BaseContract {
687
806
  takerAsk: OrderStructs.TakerStruct,
688
807
  makerBid: OrderStructs.MakerStruct,
689
808
  makerSignature: BytesLike,
690
- merkleTree: OrderStructs.MerkleTreeStruct
809
+ merkleTree: OrderStructs.MerkleTreeStruct,
810
+ affiliate: AddressLike
691
811
  ], [
692
812
  void
693
813
  ], "nonpayable">;
@@ -695,14 +815,24 @@ export interface LooksRareProtocol extends BaseContract {
695
815
  takerBid: OrderStructs.TakerStruct,
696
816
  makerAsk: OrderStructs.MakerStruct,
697
817
  makerSignature: BytesLike,
698
- merkleTree: OrderStructs.MerkleTreeStruct
818
+ merkleTree: OrderStructs.MerkleTreeStruct,
819
+ affiliate: AddressLike
699
820
  ], [
700
821
  void
701
822
  ], "payable">;
702
- getFunction(nameOrSignature: "hashBatchOrder"): TypedContractMethod<[root: BytesLike, proofLength: BigNumberish], [string], "view">;
823
+ getFunction(nameOrSignature: "hashBatchOrder"): TypedContractMethod<[
824
+ root: BytesLike,
825
+ proofLength: BigNumberish
826
+ ], [
827
+ string
828
+ ], "view">;
703
829
  getFunction(nameOrSignature: "incrementBidAskNonces"): TypedContractMethod<[bid: boolean, ask: boolean], [void], "nonpayable">;
704
830
  getFunction(nameOrSignature: "initiateOwnershipRenouncement"): TypedContractMethod<[], [void], "nonpayable">;
705
- getFunction(nameOrSignature: "initiateOwnershipTransfer"): TypedContractMethod<[newPotentialOwner: AddressLike], [void], "nonpayable">;
831
+ getFunction(nameOrSignature: "initiateOwnershipTransfer"): TypedContractMethod<[
832
+ newPotentialOwner: AddressLike
833
+ ], [
834
+ void
835
+ ], "nonpayable">;
706
836
  getFunction(nameOrSignature: "isAffiliateProgramActive"): TypedContractMethod<[], [boolean], "view">;
707
837
  getFunction(nameOrSignature: "isCurrencyAllowed"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
708
838
  getFunction(nameOrSignature: "maxCreatorFeeBp"): TypedContractMethod<[], [bigint], "view">;
@@ -740,15 +870,45 @@ export interface LooksRareProtocol extends BaseContract {
740
870
  }
741
871
  ], "view">;
742
872
  getFunction(nameOrSignature: "transferManager"): TypedContractMethod<[], [string], "view">;
743
- getFunction(nameOrSignature: "updateAffiliateController"): TypedContractMethod<[newAffiliateController: AddressLike], [void], "nonpayable">;
873
+ getFunction(nameOrSignature: "updateAffiliateController"): TypedContractMethod<[
874
+ newAffiliateController: AddressLike
875
+ ], [
876
+ void
877
+ ], "nonpayable">;
744
878
  getFunction(nameOrSignature: "updateAffiliateProgramStatus"): TypedContractMethod<[isActive: boolean], [void], "nonpayable">;
745
- getFunction(nameOrSignature: "updateAffiliateRate"): TypedContractMethod<[affiliate: AddressLike, bp: BigNumberish], [void], "nonpayable">;
746
- getFunction(nameOrSignature: "updateCreatorFeeManager"): TypedContractMethod<[newCreatorFeeManager: AddressLike], [void], "nonpayable">;
747
- getFunction(nameOrSignature: "updateCurrencyStatus"): TypedContractMethod<[currency: AddressLike, isAllowed: boolean], [void], "nonpayable">;
879
+ getFunction(nameOrSignature: "updateAffiliateRate"): TypedContractMethod<[
880
+ affiliate: AddressLike,
881
+ bp: BigNumberish
882
+ ], [
883
+ void
884
+ ], "nonpayable">;
885
+ getFunction(nameOrSignature: "updateCreatorFeeManager"): TypedContractMethod<[
886
+ newCreatorFeeManager: AddressLike
887
+ ], [
888
+ void
889
+ ], "nonpayable">;
890
+ getFunction(nameOrSignature: "updateCurrencyStatus"): TypedContractMethod<[
891
+ currency: AddressLike,
892
+ isAllowed: boolean
893
+ ], [
894
+ void
895
+ ], "nonpayable">;
748
896
  getFunction(nameOrSignature: "updateDomainSeparator"): TypedContractMethod<[], [void], "nonpayable">;
749
- getFunction(nameOrSignature: "updateETHGasLimitForTransfer"): TypedContractMethod<[newGasLimitETHTransfer: BigNumberish], [void], "nonpayable">;
750
- getFunction(nameOrSignature: "updateMaxCreatorFeeBp"): TypedContractMethod<[newMaxCreatorFeeBp: BigNumberish], [void], "nonpayable">;
751
- getFunction(nameOrSignature: "updateProtocolFeeRecipient"): TypedContractMethod<[newProtocolFeeRecipient: AddressLike], [void], "nonpayable">;
897
+ getFunction(nameOrSignature: "updateETHGasLimitForTransfer"): TypedContractMethod<[
898
+ newGasLimitETHTransfer: BigNumberish
899
+ ], [
900
+ void
901
+ ], "nonpayable">;
902
+ getFunction(nameOrSignature: "updateMaxCreatorFeeBp"): TypedContractMethod<[
903
+ newMaxCreatorFeeBp: BigNumberish
904
+ ], [
905
+ void
906
+ ], "nonpayable">;
907
+ getFunction(nameOrSignature: "updateProtocolFeeRecipient"): TypedContractMethod<[
908
+ newProtocolFeeRecipient: AddressLike
909
+ ], [
910
+ void
911
+ ], "nonpayable">;
752
912
  getFunction(nameOrSignature: "updateStrategy"): TypedContractMethod<[
753
913
  strategyId: BigNumberish,
754
914
  isActive: boolean,
@@ -757,12 +917,26 @@ export interface LooksRareProtocol extends BaseContract {
757
917
  ], [
758
918
  void
759
919
  ], "nonpayable">;
760
- getFunction(nameOrSignature: "userBidAskNonces"): TypedContractMethod<[arg0: AddressLike], [[bigint, bigint] & {
761
- bidNonce: bigint;
762
- askNonce: bigint;
763
- }], "view">;
764
- getFunction(nameOrSignature: "userOrderNonce"): TypedContractMethod<[arg0: AddressLike, arg1: BigNumberish], [string], "view">;
765
- getFunction(nameOrSignature: "userSubsetNonce"): TypedContractMethod<[arg0: AddressLike, arg1: BigNumberish], [boolean], "view">;
920
+ getFunction(nameOrSignature: "userBidAskNonces"): TypedContractMethod<[
921
+ arg0: AddressLike
922
+ ], [
923
+ [bigint, bigint] & {
924
+ bidNonce: bigint;
925
+ askNonce: bigint;
926
+ }
927
+ ], "view">;
928
+ getFunction(nameOrSignature: "userOrderNonce"): TypedContractMethod<[
929
+ arg0: AddressLike,
930
+ arg1: BigNumberish
931
+ ], [
932
+ string
933
+ ], "view">;
934
+ getFunction(nameOrSignature: "userSubsetNonce"): TypedContractMethod<[
935
+ arg0: AddressLike,
936
+ arg1: BigNumberish
937
+ ], [
938
+ boolean
939
+ ], "view">;
766
940
  getEvent(key: "AffiliatePayment"): TypedContractEvent<AffiliatePaymentEvent.InputTuple, AffiliatePaymentEvent.OutputTuple, AffiliatePaymentEvent.OutputObject>;
767
941
  getEvent(key: "CancelOwnershipTransfer"): TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
768
942
  getEvent(key: "CurrencyStatusUpdated"): TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
@@ -0,0 +1,2 @@
1
+ import { ChainId } from "../types";
2
+ export declare function asChainId(chainId: number): ChainId;
@@ -4,7 +4,7 @@ import { PayableOverrides } from "../../typechain/common";
4
4
  export declare const executeTakerBid: (signer: Signer, address: string, taker: Taker, maker: Maker, makerSignature: string, merkleTree: MerkleTree, overrides?: PayableOverrides) => ContractMethods;
5
5
  export declare const executeTakerAsk: (signer: Signer, address: string, taker: Taker, maker: Maker, makerSignature: string, merkleTree: MerkleTree, overrides?: PayableOverrides) => ContractMethods;
6
6
  export declare const executeMultipleTakerBids: (signer: Signer, address: string, taker: Taker[], maker: Maker[], makerSignature: string[], isAtomic: boolean, merkleTree: MerkleTree[], overrides?: PayableOverrides) => {
7
- call: (additionalOverrides?: PayableOverrides) => Promise<import("ethers").ContractTransactionResponse>;
8
- estimateGas: (additionalOverrides?: PayableOverrides) => Promise<bigint>;
9
- callStatic: (additionalOverrides?: PayableOverrides) => Promise<void>;
7
+ call: (additionalOverrides?: PayableOverrides) => any;
8
+ estimateGas: (additionalOverrides?: PayableOverrides) => any;
9
+ callStatic: (additionalOverrides?: PayableOverrides) => any;
10
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/marketplace-sdk",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -46,7 +46,7 @@
46
46
  "devDependencies": {
47
47
  "@commitlint/cli": "^17.0.2",
48
48
  "@commitlint/config-conventional": "^17.0.2",
49
- "@hypercerts-org/contracts": "^0.10.0",
49
+ "@hypercerts-org/contracts": "1.0.0-alpha.6",
50
50
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
51
51
  "@looksrare/contracts-exchange-v1": "^1.2.0",
52
52
  "@looksrare/contracts-exchange-v2": "^0.1.2",