@hypercerts-org/marketplace-sdk 0.0.13 → 0.0.14

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.
Files changed (140) hide show
  1. package/dist/LooksRare.d.ts +3 -3
  2. package/dist/index.cjs.js +4 -18
  3. package/dist/index.d.ts +6 -6
  4. package/dist/index.esm.js +6 -20
  5. package/dist/types.d.ts +5 -7
  6. package/dist/utils/calls/exchange.d.ts +6 -7
  7. package/package.json +1 -1
  8. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/AffiliateManager.d.ts +0 -210
  9. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry.d.ts +0 -35
  10. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties.d.ts +0 -47
  11. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CurrencyManager.d.ts +0 -247
  12. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/ExecutionManager.d.ts +0 -616
  13. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol.d.ts +0 -1005
  14. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/NonceManager.d.ts +0 -148
  15. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/StrategyManager.d.ts +0 -401
  16. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferManager.d.ts +0 -324
  17. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT.d.ts +0 -620
  18. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy.d.ts +0 -97
  19. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer.d.ts +0 -176
  20. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +0 -2
  21. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A.d.ts +0 -172
  22. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers.d.ts +0 -148
  23. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +0 -2
  24. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/index.d.ts +0 -16
  25. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager.d.ts +0 -65
  26. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager.d.ts +0 -47
  27. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager.d.ts +0 -37
  28. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager.d.ts +0 -64
  29. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol.d.ts +0 -343
  30. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager.d.ts +0 -72
  31. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry.d.ts +0 -41
  32. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy.d.ts +0 -97
  33. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager.d.ts +0 -85
  34. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager.d.ts +0 -80
  35. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +0 -10
  36. package/dist/typechain/@looksrare/contracts-exchange-v2/index.d.ts +0 -4
  37. package/dist/typechain/@looksrare/contracts-exchange-v2/test/index.d.ts +0 -2
  38. package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry.d.ts +0 -222
  39. package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +0 -1
  40. package/dist/typechain/@looksrare/contracts-libs/contracts/OwnableTwoSteps.d.ts +0 -121
  41. package/dist/typechain/@looksrare/contracts-libs/contracts/PackableReentrancyGuard.d.ts +0 -20
  42. package/dist/typechain/@looksrare/contracts-libs/contracts/index.d.ts +0 -4
  43. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps.d.ts +0 -80
  44. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard.d.ts +0 -20
  45. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155.d.ts +0 -224
  46. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271.d.ts +0 -35
  47. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165.d.ts +0 -29
  48. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20.d.ts +0 -129
  49. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981.d.ts +0 -49
  50. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721.d.ts +0 -191
  51. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH.d.ts +0 -43
  52. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +0 -7
  53. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +0 -4
  54. package/dist/typechain/@looksrare/contracts-libs/index.d.ts +0 -2
  55. package/dist/typechain/@looksrare/index.d.ts +0 -4
  56. package/dist/typechain/common.d.ts +0 -50
  57. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/AffiliateManager__factory.d.ts +0 -264
  58. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry__factory.d.ts +0 -48
  59. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties__factory.d.ts +0 -74
  60. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CurrencyManager__factory.d.ts +0 -307
  61. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/ExecutionManager__factory.d.ts +0 -748
  62. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol__factory.d.ts +0 -1527
  63. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/NonceManager__factory.d.ts +0 -174
  64. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/StrategyManager__factory.d.ts +0 -478
  65. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferManager__factory.d.ts +0 -406
  66. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT__factory.d.ts +0 -766
  67. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy__factory.d.ts +0 -100
  68. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer__factory.d.ts +0 -323
  69. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +0 -2
  70. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A__factory.d.ts +0 -338
  71. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers__factory.d.ts +0 -302
  72. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +0 -2
  73. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/index.d.ts +0 -13
  74. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager__factory.d.ts +0 -50
  75. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager__factory.d.ts +0 -51
  76. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager__factory.d.ts +0 -22
  77. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager__factory.d.ts +0 -61
  78. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol__factory.d.ts +0 -540
  79. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager__factory.d.ts +0 -57
  80. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry__factory.d.ts +0 -29
  81. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager__factory.d.ts +0 -88
  82. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy__factory.d.ts +0 -100
  83. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager__factory.d.ts +0 -77
  84. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +0 -10
  85. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/index.d.ts +0 -2
  86. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/index.d.ts +0 -1
  87. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry__factory.d.ts +0 -278
  88. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +0 -1
  89. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/OwnableTwoSteps__factory.d.ts +0 -130
  90. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/PackableReentrancyGuard__factory.d.ts +0 -11
  91. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/index.d.ts +0 -3
  92. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps__factory.d.ts +0 -66
  93. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard__factory.d.ts +0 -11
  94. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155__factory.d.ts +0 -222
  95. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271__factory.d.ts +0 -25
  96. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165__factory.d.ts +0 -21
  97. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20__factory.d.ts +0 -147
  98. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981__factory.d.ts +0 -43
  99. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721__factory.d.ts +0 -213
  100. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH__factory.d.ts +0 -41
  101. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +0 -7
  102. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +0 -3
  103. package/dist/typechain/factories/@looksrare/contracts-libs/index.d.ts +0 -1
  104. package/dist/typechain/factories/@looksrare/index.d.ts +0 -2
  105. package/dist/typechain/factories/index.d.ts +0 -3
  106. package/dist/typechain/factories/solmate/index.d.ts +0 -1
  107. package/dist/typechain/factories/solmate/src/index.d.ts +0 -1
  108. package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.d.ts +0 -67
  109. package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155__factory.d.ts +0 -250
  110. package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/index.d.ts +0 -2
  111. package/dist/typechain/factories/solmate/src/tokens/ERC20__factory.d.ts +0 -235
  112. package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.d.ts +0 -33
  113. package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721__factory.d.ts +0 -261
  114. package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/index.d.ts +0 -2
  115. package/dist/typechain/factories/solmate/src/tokens/WETH__factory.d.ts +0 -299
  116. package/dist/typechain/factories/solmate/src/tokens/index.d.ts +0 -4
  117. package/dist/typechain/factories/src/contracts/index.d.ts +0 -1
  118. package/dist/typechain/factories/src/contracts/tests/MockERC1155__factory.d.ts +0 -283
  119. package/dist/typechain/factories/src/contracts/tests/MockERC721__factory.d.ts +0 -308
  120. package/dist/typechain/factories/src/contracts/tests/Verifier__factory.d.ts +0 -462
  121. package/dist/typechain/factories/src/contracts/tests/index.d.ts +0 -3
  122. package/dist/typechain/factories/src/index.d.ts +0 -1
  123. package/dist/typechain/index.d.ts +0 -97
  124. package/dist/typechain/solmate/index.d.ts +0 -2
  125. package/dist/typechain/solmate/src/index.d.ts +0 -2
  126. package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155.d.ts +0 -236
  127. package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.d.ts +0 -67
  128. package/dist/typechain/solmate/src/tokens/ERC1155.sol/index.d.ts +0 -2
  129. package/dist/typechain/solmate/src/tokens/ERC20.d.ts +0 -181
  130. package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721.d.ts +0 -211
  131. package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.d.ts +0 -39
  132. package/dist/typechain/solmate/src/tokens/ERC721.sol/index.d.ts +0 -2
  133. package/dist/typechain/solmate/src/tokens/WETH.d.ts +0 -219
  134. package/dist/typechain/solmate/src/tokens/index.d.ts +0 -6
  135. package/dist/typechain/src/contracts/index.d.ts +0 -2
  136. package/dist/typechain/src/contracts/tests/MockERC1155.d.ts +0 -252
  137. package/dist/typechain/src/contracts/tests/MockERC721.d.ts +0 -219
  138. package/dist/typechain/src/contracts/tests/Verifier.d.ts +0 -174
  139. package/dist/typechain/src/contracts/tests/index.d.ts +0 -3
  140. package/dist/typechain/src/index.d.ts +0 -2
@@ -1,65 +0,0 @@
1
- import type { BaseContract, BigNumberish, FunctionFragment, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener } from "../../../../common";
3
- export interface IAffiliateManagerInterface extends Interface {
4
- getEvent(nameOrSignatureOrTopic: "NewAffiliateController" | "NewAffiliateProgramStatus" | "NewAffiliateRate"): EventFragment;
5
- }
6
- export declare namespace NewAffiliateControllerEvent {
7
- type InputTuple = [affiliateController: AddressLike];
8
- type OutputTuple = [affiliateController: string];
9
- interface OutputObject {
10
- affiliateController: string;
11
- }
12
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
13
- type Filter = TypedDeferredTopicFilter<Event>;
14
- type Log = TypedEventLog<Event>;
15
- type LogDescription = TypedLogDescription<Event>;
16
- }
17
- export declare namespace NewAffiliateProgramStatusEvent {
18
- type InputTuple = [isActive: boolean];
19
- type OutputTuple = [isActive: boolean];
20
- interface OutputObject {
21
- isActive: boolean;
22
- }
23
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
24
- type Filter = TypedDeferredTopicFilter<Event>;
25
- type Log = TypedEventLog<Event>;
26
- type LogDescription = TypedLogDescription<Event>;
27
- }
28
- export declare namespace NewAffiliateRateEvent {
29
- type InputTuple = [affiliate: AddressLike, rate: BigNumberish];
30
- type OutputTuple = [affiliate: string, rate: bigint];
31
- interface OutputObject {
32
- affiliate: string;
33
- rate: bigint;
34
- }
35
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
36
- type Filter = TypedDeferredTopicFilter<Event>;
37
- type Log = TypedEventLog<Event>;
38
- type LogDescription = TypedLogDescription<Event>;
39
- }
40
- export interface IAffiliateManager extends BaseContract {
41
- connect(runner?: ContractRunner | null): IAffiliateManager;
42
- waitForDeployment(): Promise<this>;
43
- interface: IAffiliateManagerInterface;
44
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
45
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
46
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
47
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
48
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
49
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
50
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
51
- listeners(eventName?: string): Promise<Array<Listener>>;
52
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
53
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
54
- getEvent(key: "NewAffiliateController"): TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
55
- getEvent(key: "NewAffiliateProgramStatus"): TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
56
- getEvent(key: "NewAffiliateRate"): TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
57
- filters: {
58
- "NewAffiliateController(address)": TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
59
- NewAffiliateController: TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
60
- "NewAffiliateProgramStatus(bool)": TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
61
- NewAffiliateProgramStatus: TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
62
- "NewAffiliateRate(address,uint256)": TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
63
- NewAffiliateRate: TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
64
- };
65
- }
@@ -1,47 +0,0 @@
1
- import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../../common";
3
- export interface ICreatorFeeManagerInterface extends Interface {
4
- getFunction(nameOrSignature: "royaltyFeeRegistry" | "viewCreatorFeeInfo"): FunctionFragment;
5
- encodeFunctionData(functionFragment: "royaltyFeeRegistry", values?: undefined): string;
6
- encodeFunctionData(functionFragment: "viewCreatorFeeInfo", values: [AddressLike, BigNumberish, BigNumberish[]]): string;
7
- decodeFunctionResult(functionFragment: "royaltyFeeRegistry", data: BytesLike): Result;
8
- decodeFunctionResult(functionFragment: "viewCreatorFeeInfo", data: BytesLike): Result;
9
- }
10
- export interface ICreatorFeeManager extends BaseContract {
11
- connect(runner?: ContractRunner | null): ICreatorFeeManager;
12
- waitForDeployment(): Promise<this>;
13
- interface: ICreatorFeeManagerInterface;
14
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
15
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
16
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
17
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
18
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
19
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
20
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
21
- listeners(eventName?: string): Promise<Array<Listener>>;
22
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
23
- royaltyFeeRegistry: TypedContractMethod<[], [string], "view">;
24
- viewCreatorFeeInfo: TypedContractMethod<[
25
- collection: AddressLike,
26
- price: BigNumberish,
27
- itemIds: BigNumberish[]
28
- ], [
29
- [string, bigint] & {
30
- creator: string;
31
- creatorFeeAmount: bigint;
32
- }
33
- ], "view">;
34
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
35
- getFunction(nameOrSignature: "royaltyFeeRegistry"): TypedContractMethod<[], [string], "view">;
36
- getFunction(nameOrSignature: "viewCreatorFeeInfo"): TypedContractMethod<[
37
- collection: AddressLike,
38
- price: BigNumberish,
39
- itemIds: BigNumberish[]
40
- ], [
41
- [string, bigint] & {
42
- creator: string;
43
- creatorFeeAmount: bigint;
44
- }
45
- ], "view">;
46
- filters: {};
47
- }
@@ -1,37 +0,0 @@
1
- import type { BaseContract, FunctionFragment, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener } from "../../../../common";
3
- export interface ICurrencyManagerInterface extends Interface {
4
- getEvent(nameOrSignatureOrTopic: "CurrencyStatusUpdated"): EventFragment;
5
- }
6
- export declare namespace CurrencyStatusUpdatedEvent {
7
- type InputTuple = [currency: AddressLike, isAllowed: boolean];
8
- type OutputTuple = [currency: string, isAllowed: boolean];
9
- interface OutputObject {
10
- currency: string;
11
- isAllowed: boolean;
12
- }
13
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
14
- type Filter = TypedDeferredTopicFilter<Event>;
15
- type Log = TypedEventLog<Event>;
16
- type LogDescription = TypedLogDescription<Event>;
17
- }
18
- export interface ICurrencyManager extends BaseContract {
19
- connect(runner?: ContractRunner | null): ICurrencyManager;
20
- waitForDeployment(): Promise<this>;
21
- interface: ICurrencyManagerInterface;
22
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
23
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
24
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
25
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
26
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
27
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
28
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
29
- listeners(eventName?: string): Promise<Array<Listener>>;
30
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
31
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
32
- getEvent(key: "CurrencyStatusUpdated"): TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
33
- filters: {
34
- "CurrencyStatusUpdated(address,bool)": TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
35
- CurrencyStatusUpdated: TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
36
- };
37
- }
@@ -1,64 +0,0 @@
1
- import type { BaseContract, BigNumberish, FunctionFragment, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener } from "../../../../common";
3
- export interface IExecutionManagerInterface extends Interface {
4
- getEvent(nameOrSignatureOrTopic: "NewCreatorFeeManager" | "NewMaxCreatorFeeBp" | "NewProtocolFeeRecipient"): EventFragment;
5
- }
6
- export declare namespace NewCreatorFeeManagerEvent {
7
- type InputTuple = [creatorFeeManager: AddressLike];
8
- type OutputTuple = [creatorFeeManager: string];
9
- interface OutputObject {
10
- creatorFeeManager: string;
11
- }
12
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
13
- type Filter = TypedDeferredTopicFilter<Event>;
14
- type Log = TypedEventLog<Event>;
15
- type LogDescription = TypedLogDescription<Event>;
16
- }
17
- export declare namespace NewMaxCreatorFeeBpEvent {
18
- type InputTuple = [maxCreatorFeeBp: BigNumberish];
19
- type OutputTuple = [maxCreatorFeeBp: bigint];
20
- interface OutputObject {
21
- maxCreatorFeeBp: bigint;
22
- }
23
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
24
- type Filter = TypedDeferredTopicFilter<Event>;
25
- type Log = TypedEventLog<Event>;
26
- type LogDescription = TypedLogDescription<Event>;
27
- }
28
- export declare namespace NewProtocolFeeRecipientEvent {
29
- type InputTuple = [protocolFeeRecipient: AddressLike];
30
- type OutputTuple = [protocolFeeRecipient: string];
31
- interface OutputObject {
32
- protocolFeeRecipient: string;
33
- }
34
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
35
- type Filter = TypedDeferredTopicFilter<Event>;
36
- type Log = TypedEventLog<Event>;
37
- type LogDescription = TypedLogDescription<Event>;
38
- }
39
- export interface IExecutionManager extends BaseContract {
40
- connect(runner?: ContractRunner | null): IExecutionManager;
41
- waitForDeployment(): Promise<this>;
42
- interface: IExecutionManagerInterface;
43
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
44
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
45
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
46
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
47
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
48
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
49
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
50
- listeners(eventName?: string): Promise<Array<Listener>>;
51
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
52
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
53
- getEvent(key: "NewCreatorFeeManager"): TypedContractEvent<NewCreatorFeeManagerEvent.InputTuple, NewCreatorFeeManagerEvent.OutputTuple, NewCreatorFeeManagerEvent.OutputObject>;
54
- getEvent(key: "NewMaxCreatorFeeBp"): TypedContractEvent<NewMaxCreatorFeeBpEvent.InputTuple, NewMaxCreatorFeeBpEvent.OutputTuple, NewMaxCreatorFeeBpEvent.OutputObject>;
55
- getEvent(key: "NewProtocolFeeRecipient"): TypedContractEvent<NewProtocolFeeRecipientEvent.InputTuple, NewProtocolFeeRecipientEvent.OutputTuple, NewProtocolFeeRecipientEvent.OutputObject>;
56
- filters: {
57
- "NewCreatorFeeManager(address)": TypedContractEvent<NewCreatorFeeManagerEvent.InputTuple, NewCreatorFeeManagerEvent.OutputTuple, NewCreatorFeeManagerEvent.OutputObject>;
58
- NewCreatorFeeManager: TypedContractEvent<NewCreatorFeeManagerEvent.InputTuple, NewCreatorFeeManagerEvent.OutputTuple, NewCreatorFeeManagerEvent.OutputObject>;
59
- "NewMaxCreatorFeeBp(uint256)": TypedContractEvent<NewMaxCreatorFeeBpEvent.InputTuple, NewMaxCreatorFeeBpEvent.OutputTuple, NewMaxCreatorFeeBpEvent.OutputObject>;
60
- NewMaxCreatorFeeBp: TypedContractEvent<NewMaxCreatorFeeBpEvent.InputTuple, NewMaxCreatorFeeBpEvent.OutputTuple, NewMaxCreatorFeeBpEvent.OutputObject>;
61
- "NewProtocolFeeRecipient(address)": TypedContractEvent<NewProtocolFeeRecipientEvent.InputTuple, NewProtocolFeeRecipientEvent.OutputTuple, NewProtocolFeeRecipientEvent.OutputObject>;
62
- NewProtocolFeeRecipient: TypedContractEvent<NewProtocolFeeRecipientEvent.InputTuple, NewProtocolFeeRecipientEvent.OutputTuple, NewProtocolFeeRecipientEvent.OutputObject>;
63
- };
64
- }
@@ -1,343 +0,0 @@
1
- import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
3
- export declare namespace ILooksRareProtocol {
4
- type NonceInvalidationParametersStruct = {
5
- orderHash: BytesLike;
6
- orderNonce: BigNumberish;
7
- isNonceInvalidated: boolean;
8
- };
9
- type NonceInvalidationParametersStructOutput = [
10
- orderHash: string,
11
- orderNonce: bigint,
12
- isNonceInvalidated: boolean
13
- ] & {
14
- orderHash: string;
15
- orderNonce: bigint;
16
- isNonceInvalidated: boolean;
17
- };
18
- }
19
- export declare namespace OrderStructs {
20
- type TakerStruct = {
21
- recipient: AddressLike;
22
- additionalParameters: BytesLike;
23
- };
24
- type TakerStructOutput = [
25
- recipient: string,
26
- additionalParameters: string
27
- ] & {
28
- recipient: string;
29
- additionalParameters: string;
30
- };
31
- type MakerStruct = {
32
- quoteType: BigNumberish;
33
- globalNonce: BigNumberish;
34
- subsetNonce: BigNumberish;
35
- orderNonce: BigNumberish;
36
- strategyId: BigNumberish;
37
- collectionType: BigNumberish;
38
- collection: AddressLike;
39
- currency: AddressLike;
40
- signer: AddressLike;
41
- startTime: BigNumberish;
42
- endTime: BigNumberish;
43
- price: BigNumberish;
44
- itemIds: BigNumberish[];
45
- amounts: BigNumberish[];
46
- additionalParameters: BytesLike;
47
- };
48
- type MakerStructOutput = [
49
- quoteType: bigint,
50
- globalNonce: bigint,
51
- subsetNonce: bigint,
52
- orderNonce: bigint,
53
- strategyId: bigint,
54
- collectionType: bigint,
55
- collection: string,
56
- currency: string,
57
- signer: string,
58
- startTime: bigint,
59
- endTime: bigint,
60
- price: bigint,
61
- itemIds: bigint[],
62
- amounts: bigint[],
63
- additionalParameters: string
64
- ] & {
65
- quoteType: bigint;
66
- globalNonce: bigint;
67
- subsetNonce: bigint;
68
- orderNonce: bigint;
69
- strategyId: bigint;
70
- collectionType: bigint;
71
- collection: string;
72
- currency: string;
73
- signer: string;
74
- startTime: bigint;
75
- endTime: bigint;
76
- price: bigint;
77
- itemIds: bigint[];
78
- amounts: bigint[];
79
- additionalParameters: string;
80
- };
81
- type MerkleTreeNodeStruct = {
82
- value: BytesLike;
83
- position: BigNumberish;
84
- };
85
- type MerkleTreeNodeStructOutput = [value: string, position: bigint] & {
86
- value: string;
87
- position: bigint;
88
- };
89
- type MerkleTreeStruct = {
90
- root: BytesLike;
91
- proof: OrderStructs.MerkleTreeNodeStruct[];
92
- };
93
- type MerkleTreeStructOutput = [
94
- root: string,
95
- proof: OrderStructs.MerkleTreeNodeStructOutput[]
96
- ] & {
97
- root: string;
98
- proof: OrderStructs.MerkleTreeNodeStructOutput[];
99
- };
100
- }
101
- export interface ILooksRareProtocolInterface extends Interface {
102
- getFunction(nameOrSignature: "executeMultipleTakerBids" | "executeTakerAsk" | "executeTakerBid"): FunctionFragment;
103
- getEvent(nameOrSignatureOrTopic: "AffiliatePayment" | "NewDomainSeparator" | "NewGasLimitETHTransfer" | "TakerAsk" | "TakerBid"): EventFragment;
104
- encodeFunctionData(functionFragment: "executeMultipleTakerBids", values: [
105
- OrderStructs.TakerStruct[],
106
- OrderStructs.MakerStruct[],
107
- BytesLike[],
108
- OrderStructs.MerkleTreeStruct[],
109
- AddressLike,
110
- boolean
111
- ]): string;
112
- encodeFunctionData(functionFragment: "executeTakerAsk", values: [
113
- OrderStructs.TakerStruct,
114
- OrderStructs.MakerStruct,
115
- BytesLike,
116
- OrderStructs.MerkleTreeStruct,
117
- AddressLike
118
- ]): string;
119
- encodeFunctionData(functionFragment: "executeTakerBid", values: [
120
- OrderStructs.TakerStruct,
121
- OrderStructs.MakerStruct,
122
- BytesLike,
123
- OrderStructs.MerkleTreeStruct,
124
- AddressLike
125
- ]): string;
126
- decodeFunctionResult(functionFragment: "executeMultipleTakerBids", data: BytesLike): Result;
127
- decodeFunctionResult(functionFragment: "executeTakerAsk", data: BytesLike): Result;
128
- decodeFunctionResult(functionFragment: "executeTakerBid", data: BytesLike): Result;
129
- }
130
- export declare namespace AffiliatePaymentEvent {
131
- type InputTuple = [
132
- affiliate: AddressLike,
133
- currency: AddressLike,
134
- affiliateFee: BigNumberish
135
- ];
136
- type OutputTuple = [
137
- affiliate: string,
138
- currency: string,
139
- affiliateFee: bigint
140
- ];
141
- interface OutputObject {
142
- affiliate: string;
143
- currency: string;
144
- affiliateFee: bigint;
145
- }
146
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
147
- type Filter = TypedDeferredTopicFilter<Event>;
148
- type Log = TypedEventLog<Event>;
149
- type LogDescription = TypedLogDescription<Event>;
150
- }
151
- export declare namespace NewDomainSeparatorEvent {
152
- type InputTuple = [];
153
- type OutputTuple = [];
154
- interface OutputObject {
155
- }
156
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
157
- type Filter = TypedDeferredTopicFilter<Event>;
158
- type Log = TypedEventLog<Event>;
159
- type LogDescription = TypedLogDescription<Event>;
160
- }
161
- export declare namespace NewGasLimitETHTransferEvent {
162
- type InputTuple = [gasLimitETHTransfer: BigNumberish];
163
- type OutputTuple = [gasLimitETHTransfer: bigint];
164
- interface OutputObject {
165
- gasLimitETHTransfer: bigint;
166
- }
167
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
168
- type Filter = TypedDeferredTopicFilter<Event>;
169
- type Log = TypedEventLog<Event>;
170
- type LogDescription = TypedLogDescription<Event>;
171
- }
172
- export declare namespace TakerAskEvent {
173
- type InputTuple = [
174
- nonceInvalidationParameters: ILooksRareProtocol.NonceInvalidationParametersStruct,
175
- askUser: AddressLike,
176
- bidUser: AddressLike,
177
- strategyId: BigNumberish,
178
- currency: AddressLike,
179
- collection: AddressLike,
180
- itemIds: BigNumberish[],
181
- amounts: BigNumberish[],
182
- feeRecipients: [AddressLike, AddressLike],
183
- feeAmounts: [BigNumberish, BigNumberish, BigNumberish]
184
- ];
185
- type OutputTuple = [
186
- nonceInvalidationParameters: ILooksRareProtocol.NonceInvalidationParametersStructOutput,
187
- askUser: string,
188
- bidUser: string,
189
- strategyId: bigint,
190
- currency: string,
191
- collection: string,
192
- itemIds: bigint[],
193
- amounts: bigint[],
194
- feeRecipients: [string, string],
195
- feeAmounts: [bigint, bigint, bigint]
196
- ];
197
- interface OutputObject {
198
- nonceInvalidationParameters: ILooksRareProtocol.NonceInvalidationParametersStructOutput;
199
- askUser: string;
200
- bidUser: string;
201
- strategyId: bigint;
202
- currency: string;
203
- collection: string;
204
- itemIds: bigint[];
205
- amounts: bigint[];
206
- feeRecipients: [string, string];
207
- feeAmounts: [bigint, bigint, bigint];
208
- }
209
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
210
- type Filter = TypedDeferredTopicFilter<Event>;
211
- type Log = TypedEventLog<Event>;
212
- type LogDescription = TypedLogDescription<Event>;
213
- }
214
- export declare namespace TakerBidEvent {
215
- type InputTuple = [
216
- nonceInvalidationParameters: ILooksRareProtocol.NonceInvalidationParametersStruct,
217
- bidUser: AddressLike,
218
- bidRecipient: AddressLike,
219
- strategyId: BigNumberish,
220
- currency: AddressLike,
221
- collection: AddressLike,
222
- itemIds: BigNumberish[],
223
- amounts: BigNumberish[],
224
- feeRecipients: [AddressLike, AddressLike],
225
- feeAmounts: [BigNumberish, BigNumberish, BigNumberish]
226
- ];
227
- type OutputTuple = [
228
- nonceInvalidationParameters: ILooksRareProtocol.NonceInvalidationParametersStructOutput,
229
- bidUser: string,
230
- bidRecipient: string,
231
- strategyId: bigint,
232
- currency: string,
233
- collection: string,
234
- itemIds: bigint[],
235
- amounts: bigint[],
236
- feeRecipients: [string, string],
237
- feeAmounts: [bigint, bigint, bigint]
238
- ];
239
- interface OutputObject {
240
- nonceInvalidationParameters: ILooksRareProtocol.NonceInvalidationParametersStructOutput;
241
- bidUser: string;
242
- bidRecipient: string;
243
- strategyId: bigint;
244
- currency: string;
245
- collection: string;
246
- itemIds: bigint[];
247
- amounts: bigint[];
248
- feeRecipients: [string, string];
249
- feeAmounts: [bigint, bigint, bigint];
250
- }
251
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
252
- type Filter = TypedDeferredTopicFilter<Event>;
253
- type Log = TypedEventLog<Event>;
254
- type LogDescription = TypedLogDescription<Event>;
255
- }
256
- export interface ILooksRareProtocol extends BaseContract {
257
- connect(runner?: ContractRunner | null): ILooksRareProtocol;
258
- waitForDeployment(): Promise<this>;
259
- interface: ILooksRareProtocolInterface;
260
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
261
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
262
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
263
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
264
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
265
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
266
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
267
- listeners(eventName?: string): Promise<Array<Listener>>;
268
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
269
- executeMultipleTakerBids: TypedContractMethod<[
270
- takerBids: OrderStructs.TakerStruct[],
271
- makerAsks: OrderStructs.MakerStruct[],
272
- makerSignatures: BytesLike[],
273
- merkleTrees: OrderStructs.MerkleTreeStruct[],
274
- affiliate: AddressLike,
275
- isAtomic: boolean
276
- ], [
277
- void
278
- ], "payable">;
279
- executeTakerAsk: TypedContractMethod<[
280
- takerAsk: OrderStructs.TakerStruct,
281
- makerBid: OrderStructs.MakerStruct,
282
- makerSignature: BytesLike,
283
- merkleTree: OrderStructs.MerkleTreeStruct,
284
- affiliate: AddressLike
285
- ], [
286
- void
287
- ], "nonpayable">;
288
- executeTakerBid: TypedContractMethod<[
289
- takerBid: OrderStructs.TakerStruct,
290
- makerAsk: OrderStructs.MakerStruct,
291
- makerSignature: BytesLike,
292
- merkleTree: OrderStructs.MerkleTreeStruct,
293
- affiliate: AddressLike
294
- ], [
295
- void
296
- ], "payable">;
297
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
298
- getFunction(nameOrSignature: "executeMultipleTakerBids"): TypedContractMethod<[
299
- takerBids: OrderStructs.TakerStruct[],
300
- makerAsks: OrderStructs.MakerStruct[],
301
- makerSignatures: BytesLike[],
302
- merkleTrees: OrderStructs.MerkleTreeStruct[],
303
- affiliate: AddressLike,
304
- isAtomic: boolean
305
- ], [
306
- void
307
- ], "payable">;
308
- getFunction(nameOrSignature: "executeTakerAsk"): TypedContractMethod<[
309
- takerAsk: OrderStructs.TakerStruct,
310
- makerBid: OrderStructs.MakerStruct,
311
- makerSignature: BytesLike,
312
- merkleTree: OrderStructs.MerkleTreeStruct,
313
- affiliate: AddressLike
314
- ], [
315
- void
316
- ], "nonpayable">;
317
- getFunction(nameOrSignature: "executeTakerBid"): TypedContractMethod<[
318
- takerBid: OrderStructs.TakerStruct,
319
- makerAsk: OrderStructs.MakerStruct,
320
- makerSignature: BytesLike,
321
- merkleTree: OrderStructs.MerkleTreeStruct,
322
- affiliate: AddressLike
323
- ], [
324
- void
325
- ], "payable">;
326
- getEvent(key: "AffiliatePayment"): TypedContractEvent<AffiliatePaymentEvent.InputTuple, AffiliatePaymentEvent.OutputTuple, AffiliatePaymentEvent.OutputObject>;
327
- getEvent(key: "NewDomainSeparator"): TypedContractEvent<NewDomainSeparatorEvent.InputTuple, NewDomainSeparatorEvent.OutputTuple, NewDomainSeparatorEvent.OutputObject>;
328
- getEvent(key: "NewGasLimitETHTransfer"): TypedContractEvent<NewGasLimitETHTransferEvent.InputTuple, NewGasLimitETHTransferEvent.OutputTuple, NewGasLimitETHTransferEvent.OutputObject>;
329
- getEvent(key: "TakerAsk"): TypedContractEvent<TakerAskEvent.InputTuple, TakerAskEvent.OutputTuple, TakerAskEvent.OutputObject>;
330
- getEvent(key: "TakerBid"): TypedContractEvent<TakerBidEvent.InputTuple, TakerBidEvent.OutputTuple, TakerBidEvent.OutputObject>;
331
- filters: {
332
- "AffiliatePayment(address,address,uint256)": TypedContractEvent<AffiliatePaymentEvent.InputTuple, AffiliatePaymentEvent.OutputTuple, AffiliatePaymentEvent.OutputObject>;
333
- AffiliatePayment: TypedContractEvent<AffiliatePaymentEvent.InputTuple, AffiliatePaymentEvent.OutputTuple, AffiliatePaymentEvent.OutputObject>;
334
- "NewDomainSeparator()": TypedContractEvent<NewDomainSeparatorEvent.InputTuple, NewDomainSeparatorEvent.OutputTuple, NewDomainSeparatorEvent.OutputObject>;
335
- NewDomainSeparator: TypedContractEvent<NewDomainSeparatorEvent.InputTuple, NewDomainSeparatorEvent.OutputTuple, NewDomainSeparatorEvent.OutputObject>;
336
- "NewGasLimitETHTransfer(uint256)": TypedContractEvent<NewGasLimitETHTransferEvent.InputTuple, NewGasLimitETHTransferEvent.OutputTuple, NewGasLimitETHTransferEvent.OutputObject>;
337
- NewGasLimitETHTransfer: TypedContractEvent<NewGasLimitETHTransferEvent.InputTuple, NewGasLimitETHTransferEvent.OutputTuple, NewGasLimitETHTransferEvent.OutputObject>;
338
- "TakerAsk(tuple,address,address,uint256,address,address,uint256[],uint256[],address[2],uint256[3])": TypedContractEvent<TakerAskEvent.InputTuple, TakerAskEvent.OutputTuple, TakerAskEvent.OutputObject>;
339
- TakerAsk: TypedContractEvent<TakerAskEvent.InputTuple, TakerAskEvent.OutputTuple, TakerAskEvent.OutputObject>;
340
- "TakerBid(tuple,address,address,uint256,address,address,uint256[],uint256[],address[2],uint256[3])": TypedContractEvent<TakerBidEvent.InputTuple, TakerBidEvent.OutputTuple, TakerBidEvent.OutputObject>;
341
- TakerBid: TypedContractEvent<TakerBidEvent.InputTuple, TakerBidEvent.OutputTuple, TakerBidEvent.OutputObject>;
342
- };
343
- }
@@ -1,72 +0,0 @@
1
- import type { BaseContract, BigNumberish, FunctionFragment, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener } from "../../../../common";
3
- export interface INonceManagerInterface extends Interface {
4
- getEvent(nameOrSignatureOrTopic: "NewBidAskNonces" | "OrderNoncesCancelled" | "SubsetNoncesCancelled"): EventFragment;
5
- }
6
- export declare namespace NewBidAskNoncesEvent {
7
- type InputTuple = [
8
- user: AddressLike,
9
- bidNonce: BigNumberish,
10
- askNonce: BigNumberish
11
- ];
12
- type OutputTuple = [user: string, bidNonce: bigint, askNonce: bigint];
13
- interface OutputObject {
14
- user: string;
15
- bidNonce: bigint;
16
- askNonce: bigint;
17
- }
18
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
19
- type Filter = TypedDeferredTopicFilter<Event>;
20
- type Log = TypedEventLog<Event>;
21
- type LogDescription = TypedLogDescription<Event>;
22
- }
23
- export declare namespace OrderNoncesCancelledEvent {
24
- type InputTuple = [user: AddressLike, orderNonces: BigNumberish[]];
25
- type OutputTuple = [user: string, orderNonces: bigint[]];
26
- interface OutputObject {
27
- user: string;
28
- orderNonces: bigint[];
29
- }
30
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
31
- type Filter = TypedDeferredTopicFilter<Event>;
32
- type Log = TypedEventLog<Event>;
33
- type LogDescription = TypedLogDescription<Event>;
34
- }
35
- export declare namespace SubsetNoncesCancelledEvent {
36
- type InputTuple = [user: AddressLike, subsetNonces: BigNumberish[]];
37
- type OutputTuple = [user: string, subsetNonces: bigint[]];
38
- interface OutputObject {
39
- user: string;
40
- subsetNonces: bigint[];
41
- }
42
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
43
- type Filter = TypedDeferredTopicFilter<Event>;
44
- type Log = TypedEventLog<Event>;
45
- type LogDescription = TypedLogDescription<Event>;
46
- }
47
- export interface INonceManager extends BaseContract {
48
- connect(runner?: ContractRunner | null): INonceManager;
49
- waitForDeployment(): Promise<this>;
50
- interface: INonceManagerInterface;
51
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
52
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
53
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
54
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
55
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
56
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
57
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
58
- listeners(eventName?: string): Promise<Array<Listener>>;
59
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
60
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
61
- getEvent(key: "NewBidAskNonces"): TypedContractEvent<NewBidAskNoncesEvent.InputTuple, NewBidAskNoncesEvent.OutputTuple, NewBidAskNoncesEvent.OutputObject>;
62
- getEvent(key: "OrderNoncesCancelled"): TypedContractEvent<OrderNoncesCancelledEvent.InputTuple, OrderNoncesCancelledEvent.OutputTuple, OrderNoncesCancelledEvent.OutputObject>;
63
- getEvent(key: "SubsetNoncesCancelled"): TypedContractEvent<SubsetNoncesCancelledEvent.InputTuple, SubsetNoncesCancelledEvent.OutputTuple, SubsetNoncesCancelledEvent.OutputObject>;
64
- filters: {
65
- "NewBidAskNonces(address,uint256,uint256)": TypedContractEvent<NewBidAskNoncesEvent.InputTuple, NewBidAskNoncesEvent.OutputTuple, NewBidAskNoncesEvent.OutputObject>;
66
- NewBidAskNonces: TypedContractEvent<NewBidAskNoncesEvent.InputTuple, NewBidAskNoncesEvent.OutputTuple, NewBidAskNoncesEvent.OutputObject>;
67
- "OrderNoncesCancelled(address,uint256[])": TypedContractEvent<OrderNoncesCancelledEvent.InputTuple, OrderNoncesCancelledEvent.OutputTuple, OrderNoncesCancelledEvent.OutputObject>;
68
- OrderNoncesCancelled: TypedContractEvent<OrderNoncesCancelledEvent.InputTuple, OrderNoncesCancelledEvent.OutputTuple, OrderNoncesCancelledEvent.OutputObject>;
69
- "SubsetNoncesCancelled(address,uint256[])": TypedContractEvent<SubsetNoncesCancelledEvent.InputTuple, SubsetNoncesCancelledEvent.OutputTuple, SubsetNoncesCancelledEvent.OutputObject>;
70
- SubsetNoncesCancelled: TypedContractEvent<SubsetNoncesCancelledEvent.InputTuple, SubsetNoncesCancelledEvent.OutputTuple, SubsetNoncesCancelledEvent.OutputObject>;
71
- };
72
- }