@hypercerts-org/marketplace-sdk 0.0.12 → 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 +5 -19
  3. package/dist/index.d.ts +6 -6
  4. package/dist/index.esm.js +7 -21
  5. package/dist/types.d.ts +5 -7
  6. package/dist/utils/calls/exchange.d.ts +6 -7
  7. package/package.json +4 -4
  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,247 +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 interface CurrencyManagerInterface extends Interface {
4
- getFunction(nameOrSignature: "affiliateController" | "affiliateRates" | "cancelOwnershipTransfer" | "confirmOwnershipRenouncement" | "confirmOwnershipTransfer" | "initiateOwnershipRenouncement" | "initiateOwnershipTransfer" | "isAffiliateProgramActive" | "isCurrencyAllowed" | "owner" | "ownershipStatus" | "potentialOwner" | "updateAffiliateController" | "updateAffiliateProgramStatus" | "updateAffiliateRate" | "updateCurrencyStatus"): FunctionFragment;
5
- getEvent(nameOrSignatureOrTopic: "CancelOwnershipTransfer" | "CurrencyStatusUpdated" | "InitiateOwnershipRenouncement" | "InitiateOwnershipTransfer" | "NewAffiliateController" | "NewAffiliateProgramStatus" | "NewAffiliateRate" | "NewOwner"): EventFragment;
6
- encodeFunctionData(functionFragment: "affiliateController", values?: undefined): string;
7
- encodeFunctionData(functionFragment: "affiliateRates", values: [AddressLike]): string;
8
- encodeFunctionData(functionFragment: "cancelOwnershipTransfer", values?: undefined): string;
9
- encodeFunctionData(functionFragment: "confirmOwnershipRenouncement", values?: undefined): string;
10
- encodeFunctionData(functionFragment: "confirmOwnershipTransfer", values?: undefined): string;
11
- encodeFunctionData(functionFragment: "initiateOwnershipRenouncement", values?: undefined): string;
12
- encodeFunctionData(functionFragment: "initiateOwnershipTransfer", values: [AddressLike]): string;
13
- encodeFunctionData(functionFragment: "isAffiliateProgramActive", values?: undefined): string;
14
- encodeFunctionData(functionFragment: "isCurrencyAllowed", values: [AddressLike]): string;
15
- encodeFunctionData(functionFragment: "owner", values?: undefined): string;
16
- encodeFunctionData(functionFragment: "ownershipStatus", values?: undefined): string;
17
- encodeFunctionData(functionFragment: "potentialOwner", values?: undefined): string;
18
- encodeFunctionData(functionFragment: "updateAffiliateController", values: [AddressLike]): string;
19
- encodeFunctionData(functionFragment: "updateAffiliateProgramStatus", values: [boolean]): string;
20
- encodeFunctionData(functionFragment: "updateAffiliateRate", values: [AddressLike, BigNumberish]): string;
21
- encodeFunctionData(functionFragment: "updateCurrencyStatus", values: [AddressLike, boolean]): string;
22
- decodeFunctionResult(functionFragment: "affiliateController", data: BytesLike): Result;
23
- decodeFunctionResult(functionFragment: "affiliateRates", data: BytesLike): Result;
24
- decodeFunctionResult(functionFragment: "cancelOwnershipTransfer", data: BytesLike): Result;
25
- decodeFunctionResult(functionFragment: "confirmOwnershipRenouncement", data: BytesLike): Result;
26
- decodeFunctionResult(functionFragment: "confirmOwnershipTransfer", data: BytesLike): Result;
27
- decodeFunctionResult(functionFragment: "initiateOwnershipRenouncement", data: BytesLike): Result;
28
- decodeFunctionResult(functionFragment: "initiateOwnershipTransfer", data: BytesLike): Result;
29
- decodeFunctionResult(functionFragment: "isAffiliateProgramActive", data: BytesLike): Result;
30
- decodeFunctionResult(functionFragment: "isCurrencyAllowed", data: BytesLike): Result;
31
- decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
32
- decodeFunctionResult(functionFragment: "ownershipStatus", data: BytesLike): Result;
33
- decodeFunctionResult(functionFragment: "potentialOwner", data: BytesLike): Result;
34
- decodeFunctionResult(functionFragment: "updateAffiliateController", data: BytesLike): Result;
35
- decodeFunctionResult(functionFragment: "updateAffiliateProgramStatus", data: BytesLike): Result;
36
- decodeFunctionResult(functionFragment: "updateAffiliateRate", data: BytesLike): Result;
37
- decodeFunctionResult(functionFragment: "updateCurrencyStatus", data: BytesLike): Result;
38
- }
39
- export declare namespace CancelOwnershipTransferEvent {
40
- type InputTuple = [];
41
- type OutputTuple = [];
42
- interface OutputObject {
43
- }
44
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
45
- type Filter = TypedDeferredTopicFilter<Event>;
46
- type Log = TypedEventLog<Event>;
47
- type LogDescription = TypedLogDescription<Event>;
48
- }
49
- export declare namespace CurrencyStatusUpdatedEvent {
50
- type InputTuple = [currency: AddressLike, isAllowed: boolean];
51
- type OutputTuple = [currency: string, isAllowed: boolean];
52
- interface OutputObject {
53
- currency: string;
54
- isAllowed: boolean;
55
- }
56
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
57
- type Filter = TypedDeferredTopicFilter<Event>;
58
- type Log = TypedEventLog<Event>;
59
- type LogDescription = TypedLogDescription<Event>;
60
- }
61
- export declare namespace InitiateOwnershipRenouncementEvent {
62
- type InputTuple = [];
63
- type OutputTuple = [];
64
- interface OutputObject {
65
- }
66
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
67
- type Filter = TypedDeferredTopicFilter<Event>;
68
- type Log = TypedEventLog<Event>;
69
- type LogDescription = TypedLogDescription<Event>;
70
- }
71
- export declare namespace InitiateOwnershipTransferEvent {
72
- type InputTuple = [
73
- previousOwner: AddressLike,
74
- potentialOwner: AddressLike
75
- ];
76
- type OutputTuple = [previousOwner: string, potentialOwner: string];
77
- interface OutputObject {
78
- previousOwner: string;
79
- potentialOwner: string;
80
- }
81
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
82
- type Filter = TypedDeferredTopicFilter<Event>;
83
- type Log = TypedEventLog<Event>;
84
- type LogDescription = TypedLogDescription<Event>;
85
- }
86
- export declare namespace NewAffiliateControllerEvent {
87
- type InputTuple = [affiliateController: AddressLike];
88
- type OutputTuple = [affiliateController: string];
89
- interface OutputObject {
90
- affiliateController: string;
91
- }
92
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
93
- type Filter = TypedDeferredTopicFilter<Event>;
94
- type Log = TypedEventLog<Event>;
95
- type LogDescription = TypedLogDescription<Event>;
96
- }
97
- export declare namespace NewAffiliateProgramStatusEvent {
98
- type InputTuple = [isActive: boolean];
99
- type OutputTuple = [isActive: boolean];
100
- interface OutputObject {
101
- isActive: boolean;
102
- }
103
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
104
- type Filter = TypedDeferredTopicFilter<Event>;
105
- type Log = TypedEventLog<Event>;
106
- type LogDescription = TypedLogDescription<Event>;
107
- }
108
- export declare namespace NewAffiliateRateEvent {
109
- type InputTuple = [affiliate: AddressLike, rate: BigNumberish];
110
- type OutputTuple = [affiliate: string, rate: bigint];
111
- interface OutputObject {
112
- affiliate: string;
113
- rate: bigint;
114
- }
115
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
116
- type Filter = TypedDeferredTopicFilter<Event>;
117
- type Log = TypedEventLog<Event>;
118
- type LogDescription = TypedLogDescription<Event>;
119
- }
120
- export declare namespace NewOwnerEvent {
121
- type InputTuple = [newOwner: AddressLike];
122
- type OutputTuple = [newOwner: string];
123
- interface OutputObject {
124
- newOwner: string;
125
- }
126
- type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
127
- type Filter = TypedDeferredTopicFilter<Event>;
128
- type Log = TypedEventLog<Event>;
129
- type LogDescription = TypedLogDescription<Event>;
130
- }
131
- export interface CurrencyManager extends BaseContract {
132
- connect(runner?: ContractRunner | null): CurrencyManager;
133
- waitForDeployment(): Promise<this>;
134
- interface: CurrencyManagerInterface;
135
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
136
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
137
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
138
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
139
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
140
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
141
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
142
- listeners(eventName?: string): Promise<Array<Listener>>;
143
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
144
- affiliateController: TypedContractMethod<[], [string], "view">;
145
- affiliateRates: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
146
- cancelOwnershipTransfer: TypedContractMethod<[], [void], "nonpayable">;
147
- confirmOwnershipRenouncement: TypedContractMethod<[], [void], "nonpayable">;
148
- confirmOwnershipTransfer: TypedContractMethod<[], [void], "nonpayable">;
149
- initiateOwnershipRenouncement: TypedContractMethod<[], [void], "nonpayable">;
150
- initiateOwnershipTransfer: TypedContractMethod<[
151
- newPotentialOwner: AddressLike
152
- ], [
153
- void
154
- ], "nonpayable">;
155
- isAffiliateProgramActive: TypedContractMethod<[], [boolean], "view">;
156
- isCurrencyAllowed: TypedContractMethod<[
157
- arg0: AddressLike
158
- ], [
159
- boolean
160
- ], "view">;
161
- owner: TypedContractMethod<[], [string], "view">;
162
- ownershipStatus: TypedContractMethod<[], [bigint], "view">;
163
- potentialOwner: TypedContractMethod<[], [string], "view">;
164
- updateAffiliateController: TypedContractMethod<[
165
- newAffiliateController: AddressLike
166
- ], [
167
- void
168
- ], "nonpayable">;
169
- updateAffiliateProgramStatus: TypedContractMethod<[
170
- isActive: boolean
171
- ], [
172
- void
173
- ], "nonpayable">;
174
- updateAffiliateRate: TypedContractMethod<[
175
- affiliate: AddressLike,
176
- bp: BigNumberish
177
- ], [
178
- void
179
- ], "nonpayable">;
180
- updateCurrencyStatus: TypedContractMethod<[
181
- currency: AddressLike,
182
- isAllowed: boolean
183
- ], [
184
- void
185
- ], "nonpayable">;
186
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
187
- getFunction(nameOrSignature: "affiliateController"): TypedContractMethod<[], [string], "view">;
188
- getFunction(nameOrSignature: "affiliateRates"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
189
- getFunction(nameOrSignature: "cancelOwnershipTransfer"): TypedContractMethod<[], [void], "nonpayable">;
190
- getFunction(nameOrSignature: "confirmOwnershipRenouncement"): TypedContractMethod<[], [void], "nonpayable">;
191
- getFunction(nameOrSignature: "confirmOwnershipTransfer"): TypedContractMethod<[], [void], "nonpayable">;
192
- getFunction(nameOrSignature: "initiateOwnershipRenouncement"): TypedContractMethod<[], [void], "nonpayable">;
193
- getFunction(nameOrSignature: "initiateOwnershipTransfer"): TypedContractMethod<[
194
- newPotentialOwner: AddressLike
195
- ], [
196
- void
197
- ], "nonpayable">;
198
- getFunction(nameOrSignature: "isAffiliateProgramActive"): TypedContractMethod<[], [boolean], "view">;
199
- getFunction(nameOrSignature: "isCurrencyAllowed"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
200
- getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
201
- getFunction(nameOrSignature: "ownershipStatus"): TypedContractMethod<[], [bigint], "view">;
202
- getFunction(nameOrSignature: "potentialOwner"): TypedContractMethod<[], [string], "view">;
203
- getFunction(nameOrSignature: "updateAffiliateController"): TypedContractMethod<[
204
- newAffiliateController: AddressLike
205
- ], [
206
- void
207
- ], "nonpayable">;
208
- getFunction(nameOrSignature: "updateAffiliateProgramStatus"): TypedContractMethod<[isActive: boolean], [void], "nonpayable">;
209
- getFunction(nameOrSignature: "updateAffiliateRate"): TypedContractMethod<[
210
- affiliate: AddressLike,
211
- bp: BigNumberish
212
- ], [
213
- void
214
- ], "nonpayable">;
215
- getFunction(nameOrSignature: "updateCurrencyStatus"): TypedContractMethod<[
216
- currency: AddressLike,
217
- isAllowed: boolean
218
- ], [
219
- void
220
- ], "nonpayable">;
221
- getEvent(key: "CancelOwnershipTransfer"): TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
222
- getEvent(key: "CurrencyStatusUpdated"): TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
223
- getEvent(key: "InitiateOwnershipRenouncement"): TypedContractEvent<InitiateOwnershipRenouncementEvent.InputTuple, InitiateOwnershipRenouncementEvent.OutputTuple, InitiateOwnershipRenouncementEvent.OutputObject>;
224
- getEvent(key: "InitiateOwnershipTransfer"): TypedContractEvent<InitiateOwnershipTransferEvent.InputTuple, InitiateOwnershipTransferEvent.OutputTuple, InitiateOwnershipTransferEvent.OutputObject>;
225
- getEvent(key: "NewAffiliateController"): TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
226
- getEvent(key: "NewAffiliateProgramStatus"): TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
227
- getEvent(key: "NewAffiliateRate"): TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
228
- getEvent(key: "NewOwner"): TypedContractEvent<NewOwnerEvent.InputTuple, NewOwnerEvent.OutputTuple, NewOwnerEvent.OutputObject>;
229
- filters: {
230
- "CancelOwnershipTransfer()": TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
231
- CancelOwnershipTransfer: TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
232
- "CurrencyStatusUpdated(address,bool)": TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
233
- CurrencyStatusUpdated: TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
234
- "InitiateOwnershipRenouncement()": TypedContractEvent<InitiateOwnershipRenouncementEvent.InputTuple, InitiateOwnershipRenouncementEvent.OutputTuple, InitiateOwnershipRenouncementEvent.OutputObject>;
235
- InitiateOwnershipRenouncement: TypedContractEvent<InitiateOwnershipRenouncementEvent.InputTuple, InitiateOwnershipRenouncementEvent.OutputTuple, InitiateOwnershipRenouncementEvent.OutputObject>;
236
- "InitiateOwnershipTransfer(address,address)": TypedContractEvent<InitiateOwnershipTransferEvent.InputTuple, InitiateOwnershipTransferEvent.OutputTuple, InitiateOwnershipTransferEvent.OutputObject>;
237
- InitiateOwnershipTransfer: TypedContractEvent<InitiateOwnershipTransferEvent.InputTuple, InitiateOwnershipTransferEvent.OutputTuple, InitiateOwnershipTransferEvent.OutputObject>;
238
- "NewAffiliateController(address)": TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
239
- NewAffiliateController: TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
240
- "NewAffiliateProgramStatus(bool)": TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
241
- NewAffiliateProgramStatus: TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
242
- "NewAffiliateRate(address,uint256)": TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
243
- NewAffiliateRate: TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
244
- "NewOwner(address)": TypedContractEvent<NewOwnerEvent.InputTuple, NewOwnerEvent.OutputTuple, NewOwnerEvent.OutputObject>;
245
- NewOwner: TypedContractEvent<NewOwnerEvent.InputTuple, NewOwnerEvent.OutputTuple, NewOwnerEvent.OutputObject>;
246
- };
247
- }