@hypercerts-org/marketplace-sdk 0.0.14 → 0.0.15

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 (139) hide show
  1. package/dist/LooksRare.d.ts +3 -3
  2. package/dist/index.cjs.js +1 -1
  3. package/dist/index.d.ts +6 -6
  4. package/dist/index.esm.js +1 -1
  5. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/AffiliateManager.d.ts +210 -0
  6. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry.d.ts +35 -0
  7. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties.d.ts +47 -0
  8. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CurrencyManager.d.ts +247 -0
  9. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/ExecutionManager.d.ts +616 -0
  10. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol.d.ts +1005 -0
  11. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/NonceManager.d.ts +148 -0
  12. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/StrategyManager.d.ts +401 -0
  13. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferManager.d.ts +324 -0
  14. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT.d.ts +620 -0
  15. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy.d.ts +97 -0
  16. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer.d.ts +176 -0
  17. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
  18. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A.d.ts +172 -0
  19. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers.d.ts +148 -0
  20. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
  21. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/index.d.ts +16 -0
  22. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager.d.ts +65 -0
  23. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager.d.ts +47 -0
  24. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager.d.ts +37 -0
  25. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager.d.ts +64 -0
  26. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol.d.ts +343 -0
  27. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager.d.ts +72 -0
  28. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry.d.ts +41 -0
  29. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy.d.ts +97 -0
  30. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager.d.ts +85 -0
  31. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager.d.ts +80 -0
  32. package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
  33. package/dist/typechain/@looksrare/contracts-exchange-v2/index.d.ts +4 -0
  34. package/dist/typechain/@looksrare/contracts-exchange-v2/test/index.d.ts +2 -0
  35. package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry.d.ts +222 -0
  36. package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
  37. package/dist/typechain/@looksrare/contracts-libs/contracts/OwnableTwoSteps.d.ts +121 -0
  38. package/dist/typechain/@looksrare/contracts-libs/contracts/PackableReentrancyGuard.d.ts +20 -0
  39. package/dist/typechain/@looksrare/contracts-libs/contracts/index.d.ts +4 -0
  40. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps.d.ts +80 -0
  41. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard.d.ts +20 -0
  42. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155.d.ts +224 -0
  43. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271.d.ts +35 -0
  44. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165.d.ts +29 -0
  45. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20.d.ts +129 -0
  46. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981.d.ts +49 -0
  47. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721.d.ts +191 -0
  48. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH.d.ts +43 -0
  49. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
  50. package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +4 -0
  51. package/dist/typechain/@looksrare/contracts-libs/index.d.ts +2 -0
  52. package/dist/typechain/@looksrare/index.d.ts +4 -0
  53. package/dist/typechain/common.d.ts +50 -0
  54. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/AffiliateManager__factory.d.ts +264 -0
  55. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry__factory.d.ts +48 -0
  56. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties__factory.d.ts +74 -0
  57. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CurrencyManager__factory.d.ts +307 -0
  58. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/ExecutionManager__factory.d.ts +748 -0
  59. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol__factory.d.ts +1527 -0
  60. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/NonceManager__factory.d.ts +174 -0
  61. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/StrategyManager__factory.d.ts +478 -0
  62. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferManager__factory.d.ts +406 -0
  63. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT__factory.d.ts +766 -0
  64. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy__factory.d.ts +100 -0
  65. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer__factory.d.ts +323 -0
  66. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
  67. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A__factory.d.ts +338 -0
  68. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers__factory.d.ts +302 -0
  69. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
  70. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/index.d.ts +13 -0
  71. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager__factory.d.ts +50 -0
  72. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager__factory.d.ts +51 -0
  73. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager__factory.d.ts +22 -0
  74. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager__factory.d.ts +61 -0
  75. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol__factory.d.ts +540 -0
  76. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager__factory.d.ts +57 -0
  77. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry__factory.d.ts +29 -0
  78. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager__factory.d.ts +88 -0
  79. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy__factory.d.ts +100 -0
  80. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager__factory.d.ts +77 -0
  81. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
  82. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/index.d.ts +2 -0
  83. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/index.d.ts +1 -0
  84. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry__factory.d.ts +278 -0
  85. package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
  86. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/OwnableTwoSteps__factory.d.ts +130 -0
  87. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/PackableReentrancyGuard__factory.d.ts +11 -0
  88. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/index.d.ts +3 -0
  89. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps__factory.d.ts +66 -0
  90. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard__factory.d.ts +11 -0
  91. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155__factory.d.ts +222 -0
  92. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271__factory.d.ts +25 -0
  93. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165__factory.d.ts +21 -0
  94. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20__factory.d.ts +147 -0
  95. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981__factory.d.ts +43 -0
  96. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721__factory.d.ts +213 -0
  97. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH__factory.d.ts +41 -0
  98. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
  99. package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +3 -0
  100. package/dist/typechain/factories/@looksrare/contracts-libs/index.d.ts +1 -0
  101. package/dist/typechain/factories/@looksrare/index.d.ts +2 -0
  102. package/dist/typechain/factories/index.d.ts +3 -0
  103. package/dist/typechain/factories/solmate/index.d.ts +1 -0
  104. package/dist/typechain/factories/solmate/src/index.d.ts +1 -0
  105. package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.d.ts +67 -0
  106. package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155__factory.d.ts +250 -0
  107. package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
  108. package/dist/typechain/factories/solmate/src/tokens/ERC20__factory.d.ts +235 -0
  109. package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.d.ts +33 -0
  110. package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721__factory.d.ts +261 -0
  111. package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
  112. package/dist/typechain/factories/solmate/src/tokens/WETH__factory.d.ts +299 -0
  113. package/dist/typechain/factories/solmate/src/tokens/index.d.ts +4 -0
  114. package/dist/typechain/factories/src/contracts/index.d.ts +1 -0
  115. package/dist/typechain/factories/src/contracts/tests/MockERC1155__factory.d.ts +283 -0
  116. package/dist/typechain/factories/src/contracts/tests/MockERC721__factory.d.ts +308 -0
  117. package/dist/typechain/factories/src/contracts/tests/Verifier__factory.d.ts +462 -0
  118. package/dist/typechain/factories/src/contracts/tests/index.d.ts +3 -0
  119. package/dist/typechain/factories/src/index.d.ts +1 -0
  120. package/dist/typechain/index.d.ts +97 -0
  121. package/dist/typechain/solmate/index.d.ts +2 -0
  122. package/dist/typechain/solmate/src/index.d.ts +2 -0
  123. package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155.d.ts +236 -0
  124. package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.d.ts +67 -0
  125. package/dist/typechain/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
  126. package/dist/typechain/solmate/src/tokens/ERC20.d.ts +181 -0
  127. package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721.d.ts +211 -0
  128. package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.d.ts +39 -0
  129. package/dist/typechain/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
  130. package/dist/typechain/solmate/src/tokens/WETH.d.ts +219 -0
  131. package/dist/typechain/solmate/src/tokens/index.d.ts +6 -0
  132. package/dist/typechain/src/contracts/index.d.ts +2 -0
  133. package/dist/typechain/src/contracts/tests/MockERC1155.d.ts +252 -0
  134. package/dist/typechain/src/contracts/tests/MockERC721.d.ts +219 -0
  135. package/dist/typechain/src/contracts/tests/Verifier.d.ts +174 -0
  136. package/dist/typechain/src/contracts/tests/index.d.ts +3 -0
  137. package/dist/typechain/src/index.d.ts +2 -0
  138. package/dist/utils/calls/exchange.d.ts +7 -6
  139. package/package.json +1 -1
@@ -135,14 +135,14 @@ export declare class LooksRare {
135
135
  signature: string;
136
136
  merkleTree?: MerkleTree;
137
137
  }[], isAtomic: boolean, overrides?: Overrides): {
138
- call: (additionalOverrides?: any) => any;
138
+ call: (additionalOverrides?: import("./typechain/common").PayableOverrides | undefined) => any;
139
139
  /**
140
140
  * Validate a timestamp format (seconds)
141
141
  * @param timestamp
142
142
  * @returns boolean
143
143
  */
144
- estimateGas: (additionalOverrides?: any) => any;
145
- callStatic: (additionalOverrides?: any) => any;
144
+ estimateGas: (additionalOverrides?: import("./typechain/common").PayableOverrides | undefined) => any;
145
+ callStatic: (additionalOverrides?: import("./typechain/common").PayableOverrides | undefined) => any;
146
146
  };
147
147
  /**
148
148
  * Cancell all maker bid and/or ask orders for the current user
package/dist/index.cjs.js CHANGED
@@ -1072,7 +1072,7 @@ var asDeployedChain$1 = /*#__PURE__*/Object.freeze({
1072
1072
  asDeployedChain: asDeployedChain
1073
1073
  });
1074
1074
 
1075
- const HYPERCERTS_MARKETPLACE_API_URL = "https://staging.hyperboards.org/api";
1075
+ const HYPERCERTS_MARKETPLACE_API_URL = "http://localhost:3000/api";
1076
1076
  const SUPABASE_HYPERCERTS_URL = "https://clagjjfinooizoqdkvqc.supabase.co";
1077
1077
  const SUPABASE_HYPERCERTS_ANON_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImNsYWdqamZpbm9vaXpvcWRrdnFjIiwicm9sZSI6ImFub24iLCJpYXQiOjE2NzY5NTAxNDAsImV4cCI6MTk5MjUyNjE0MH0.LOIW3NcYEfF7w893PS3Ne1VrntACE3OPeSRFkspvyqw";
1078
1078
  const supabaseHypercerts = supabaseJs.createClient(SUPABASE_HYPERCERTS_URL, SUPABASE_HYPERCERTS_ANON_KEY);
package/dist/index.d.ts CHANGED
@@ -25,12 +25,12 @@ declare const utils: {
25
25
  cancelOrderNonces: (signer: import("ethers").Signer, address: string, nonces: import("ethers").BigNumberish[], overrides?: import("ethers").Overrides | undefined) => import("./types").ContractMethods;
26
26
  cancelSubsetNonces: (signer: import("ethers").Signer, address: string, nonces: import("ethers").BigNumberish[], overrides?: import("ethers").Overrides | undefined) => import("./types").ContractMethods;
27
27
  incrementBidAskNonces: (signer: import("ethers").Signer, address: string, bid: boolean, ask: boolean, overrides?: import("ethers").Overrides | undefined) => import("./types").ContractMethods;
28
- executeTakerBid: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: any) => import("./types").ContractMethods;
29
- executeTakerAsk: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: any) => import("./types").ContractMethods;
30
- executeMultipleTakerBids: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker[], maker: import("./types").Maker[], makerSignature: string[], isAtomic: boolean, merkleTree: import("./types").MerkleTree[], overrides?: any) => {
31
- call: (additionalOverrides?: any) => any;
32
- estimateGas: (additionalOverrides?: any) => any;
33
- callStatic: (additionalOverrides?: any) => any;
28
+ executeTakerBid: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: import("./typechain/common").PayableOverrides | undefined) => import("./types").ContractMethods;
29
+ executeTakerAsk: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker, maker: import("./types").Maker, makerSignature: string, merkleTree: import("./types").MerkleTree, overrides?: import("./typechain/common").PayableOverrides | undefined) => import("./types").ContractMethods;
30
+ executeMultipleTakerBids: (signer: import("ethers").Signer, address: string, taker: import("./types").Taker[], maker: import("./types").Maker[], makerSignature: string[], isAtomic: boolean, merkleTree: import("./types").MerkleTree[], overrides?: import("./typechain/common").PayableOverrides | undefined) => {
31
+ call: (additionalOverrides?: import("./typechain/common").PayableOverrides | undefined) => any;
32
+ estimateGas: (additionalOverrides?: import("./typechain/common").PayableOverrides | undefined) => any;
33
+ callStatic: (additionalOverrides?: import("./typechain/common").PayableOverrides | undefined) => any;
34
34
  };
35
35
  setApprovalForAll: (signer: import("ethers").Signer, collection: string, operator: string, approved: boolean, overrides?: import("ethers").Overrides | undefined) => Promise<import("ethers").ContractTransactionResponse>;
36
36
  isApprovedForAll: (signerOrProvider: import("ethers").Signer | import("ethers").Provider, collection: string, account: string, operator: string, overrides?: import("ethers").Overrides | undefined) => Promise<boolean>;
package/dist/index.esm.js CHANGED
@@ -1070,7 +1070,7 @@ var asDeployedChain$1 = /*#__PURE__*/Object.freeze({
1070
1070
  asDeployedChain: asDeployedChain
1071
1071
  });
1072
1072
 
1073
- const HYPERCERTS_MARKETPLACE_API_URL = "https://staging.hyperboards.org/api";
1073
+ const HYPERCERTS_MARKETPLACE_API_URL = "http://localhost:3000/api";
1074
1074
  const SUPABASE_HYPERCERTS_URL = "https://clagjjfinooizoqdkvqc.supabase.co";
1075
1075
  const SUPABASE_HYPERCERTS_ANON_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImNsYWdqamZpbm9vaXpvcWRrdnFjIiwicm9sZSI6ImFub24iLCJpYXQiOjE2NzY5NTAxNDAsImV4cCI6MTk5MjUyNjE0MH0.LOIW3NcYEfF7w893PS3Ne1VrntACE3OPeSRFkspvyqw";
1076
1076
  const supabaseHypercerts = createClient(SUPABASE_HYPERCERTS_URL, SUPABASE_HYPERCERTS_ANON_KEY);
@@ -0,0 +1,210 @@
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 AffiliateManagerInterface extends Interface {
4
+ getFunction(nameOrSignature: "affiliateController" | "affiliateRates" | "cancelOwnershipTransfer" | "confirmOwnershipRenouncement" | "confirmOwnershipTransfer" | "initiateOwnershipRenouncement" | "initiateOwnershipTransfer" | "isAffiliateProgramActive" | "owner" | "ownershipStatus" | "potentialOwner" | "updateAffiliateController" | "updateAffiliateProgramStatus" | "updateAffiliateRate"): FunctionFragment;
5
+ getEvent(nameOrSignatureOrTopic: "CancelOwnershipTransfer" | "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: "owner", values?: undefined): string;
15
+ encodeFunctionData(functionFragment: "ownershipStatus", values?: undefined): string;
16
+ encodeFunctionData(functionFragment: "potentialOwner", values?: undefined): string;
17
+ encodeFunctionData(functionFragment: "updateAffiliateController", values: [AddressLike]): string;
18
+ encodeFunctionData(functionFragment: "updateAffiliateProgramStatus", values: [boolean]): string;
19
+ encodeFunctionData(functionFragment: "updateAffiliateRate", values: [AddressLike, BigNumberish]): string;
20
+ decodeFunctionResult(functionFragment: "affiliateController", data: BytesLike): Result;
21
+ decodeFunctionResult(functionFragment: "affiliateRates", data: BytesLike): Result;
22
+ decodeFunctionResult(functionFragment: "cancelOwnershipTransfer", data: BytesLike): Result;
23
+ decodeFunctionResult(functionFragment: "confirmOwnershipRenouncement", data: BytesLike): Result;
24
+ decodeFunctionResult(functionFragment: "confirmOwnershipTransfer", data: BytesLike): Result;
25
+ decodeFunctionResult(functionFragment: "initiateOwnershipRenouncement", data: BytesLike): Result;
26
+ decodeFunctionResult(functionFragment: "initiateOwnershipTransfer", data: BytesLike): Result;
27
+ decodeFunctionResult(functionFragment: "isAffiliateProgramActive", data: BytesLike): Result;
28
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
29
+ decodeFunctionResult(functionFragment: "ownershipStatus", data: BytesLike): Result;
30
+ decodeFunctionResult(functionFragment: "potentialOwner", data: BytesLike): Result;
31
+ decodeFunctionResult(functionFragment: "updateAffiliateController", data: BytesLike): Result;
32
+ decodeFunctionResult(functionFragment: "updateAffiliateProgramStatus", data: BytesLike): Result;
33
+ decodeFunctionResult(functionFragment: "updateAffiliateRate", data: BytesLike): Result;
34
+ }
35
+ export declare namespace CancelOwnershipTransferEvent {
36
+ type InputTuple = [];
37
+ type OutputTuple = [];
38
+ interface OutputObject {
39
+ }
40
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
41
+ type Filter = TypedDeferredTopicFilter<Event>;
42
+ type Log = TypedEventLog<Event>;
43
+ type LogDescription = TypedLogDescription<Event>;
44
+ }
45
+ export declare namespace InitiateOwnershipRenouncementEvent {
46
+ type InputTuple = [];
47
+ type OutputTuple = [];
48
+ interface OutputObject {
49
+ }
50
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
51
+ type Filter = TypedDeferredTopicFilter<Event>;
52
+ type Log = TypedEventLog<Event>;
53
+ type LogDescription = TypedLogDescription<Event>;
54
+ }
55
+ export declare namespace InitiateOwnershipTransferEvent {
56
+ type InputTuple = [
57
+ previousOwner: AddressLike,
58
+ potentialOwner: AddressLike
59
+ ];
60
+ type OutputTuple = [previousOwner: string, potentialOwner: string];
61
+ interface OutputObject {
62
+ previousOwner: string;
63
+ potentialOwner: string;
64
+ }
65
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
66
+ type Filter = TypedDeferredTopicFilter<Event>;
67
+ type Log = TypedEventLog<Event>;
68
+ type LogDescription = TypedLogDescription<Event>;
69
+ }
70
+ export declare namespace NewAffiliateControllerEvent {
71
+ type InputTuple = [affiliateController: AddressLike];
72
+ type OutputTuple = [affiliateController: string];
73
+ interface OutputObject {
74
+ affiliateController: string;
75
+ }
76
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
77
+ type Filter = TypedDeferredTopicFilter<Event>;
78
+ type Log = TypedEventLog<Event>;
79
+ type LogDescription = TypedLogDescription<Event>;
80
+ }
81
+ export declare namespace NewAffiliateProgramStatusEvent {
82
+ type InputTuple = [isActive: boolean];
83
+ type OutputTuple = [isActive: boolean];
84
+ interface OutputObject {
85
+ isActive: boolean;
86
+ }
87
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
88
+ type Filter = TypedDeferredTopicFilter<Event>;
89
+ type Log = TypedEventLog<Event>;
90
+ type LogDescription = TypedLogDescription<Event>;
91
+ }
92
+ export declare namespace NewAffiliateRateEvent {
93
+ type InputTuple = [affiliate: AddressLike, rate: BigNumberish];
94
+ type OutputTuple = [affiliate: string, rate: bigint];
95
+ interface OutputObject {
96
+ affiliate: string;
97
+ rate: bigint;
98
+ }
99
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
100
+ type Filter = TypedDeferredTopicFilter<Event>;
101
+ type Log = TypedEventLog<Event>;
102
+ type LogDescription = TypedLogDescription<Event>;
103
+ }
104
+ export declare namespace NewOwnerEvent {
105
+ type InputTuple = [newOwner: AddressLike];
106
+ type OutputTuple = [newOwner: string];
107
+ interface OutputObject {
108
+ newOwner: string;
109
+ }
110
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
111
+ type Filter = TypedDeferredTopicFilter<Event>;
112
+ type Log = TypedEventLog<Event>;
113
+ type LogDescription = TypedLogDescription<Event>;
114
+ }
115
+ export interface AffiliateManager extends BaseContract {
116
+ connect(runner?: ContractRunner | null): AffiliateManager;
117
+ waitForDeployment(): Promise<this>;
118
+ interface: AffiliateManagerInterface;
119
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
120
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
121
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
122
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
123
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
124
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
125
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
126
+ listeners(eventName?: string): Promise<Array<Listener>>;
127
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
128
+ affiliateController: TypedContractMethod<[], [string], "view">;
129
+ affiliateRates: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
130
+ cancelOwnershipTransfer: TypedContractMethod<[], [void], "nonpayable">;
131
+ confirmOwnershipRenouncement: TypedContractMethod<[], [void], "nonpayable">;
132
+ confirmOwnershipTransfer: TypedContractMethod<[], [void], "nonpayable">;
133
+ initiateOwnershipRenouncement: TypedContractMethod<[], [void], "nonpayable">;
134
+ initiateOwnershipTransfer: TypedContractMethod<[
135
+ newPotentialOwner: AddressLike
136
+ ], [
137
+ void
138
+ ], "nonpayable">;
139
+ isAffiliateProgramActive: TypedContractMethod<[], [boolean], "view">;
140
+ owner: TypedContractMethod<[], [string], "view">;
141
+ ownershipStatus: TypedContractMethod<[], [bigint], "view">;
142
+ potentialOwner: TypedContractMethod<[], [string], "view">;
143
+ updateAffiliateController: TypedContractMethod<[
144
+ newAffiliateController: AddressLike
145
+ ], [
146
+ void
147
+ ], "nonpayable">;
148
+ updateAffiliateProgramStatus: TypedContractMethod<[
149
+ isActive: boolean
150
+ ], [
151
+ void
152
+ ], "nonpayable">;
153
+ updateAffiliateRate: TypedContractMethod<[
154
+ affiliate: AddressLike,
155
+ bp: BigNumberish
156
+ ], [
157
+ void
158
+ ], "nonpayable">;
159
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
160
+ getFunction(nameOrSignature: "affiliateController"): TypedContractMethod<[], [string], "view">;
161
+ getFunction(nameOrSignature: "affiliateRates"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
162
+ getFunction(nameOrSignature: "cancelOwnershipTransfer"): TypedContractMethod<[], [void], "nonpayable">;
163
+ getFunction(nameOrSignature: "confirmOwnershipRenouncement"): TypedContractMethod<[], [void], "nonpayable">;
164
+ getFunction(nameOrSignature: "confirmOwnershipTransfer"): TypedContractMethod<[], [void], "nonpayable">;
165
+ getFunction(nameOrSignature: "initiateOwnershipRenouncement"): TypedContractMethod<[], [void], "nonpayable">;
166
+ getFunction(nameOrSignature: "initiateOwnershipTransfer"): TypedContractMethod<[
167
+ newPotentialOwner: AddressLike
168
+ ], [
169
+ void
170
+ ], "nonpayable">;
171
+ getFunction(nameOrSignature: "isAffiliateProgramActive"): TypedContractMethod<[], [boolean], "view">;
172
+ getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
173
+ getFunction(nameOrSignature: "ownershipStatus"): TypedContractMethod<[], [bigint], "view">;
174
+ getFunction(nameOrSignature: "potentialOwner"): TypedContractMethod<[], [string], "view">;
175
+ getFunction(nameOrSignature: "updateAffiliateController"): TypedContractMethod<[
176
+ newAffiliateController: AddressLike
177
+ ], [
178
+ void
179
+ ], "nonpayable">;
180
+ getFunction(nameOrSignature: "updateAffiliateProgramStatus"): TypedContractMethod<[isActive: boolean], [void], "nonpayable">;
181
+ getFunction(nameOrSignature: "updateAffiliateRate"): TypedContractMethod<[
182
+ affiliate: AddressLike,
183
+ bp: BigNumberish
184
+ ], [
185
+ void
186
+ ], "nonpayable">;
187
+ getEvent(key: "CancelOwnershipTransfer"): TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
188
+ getEvent(key: "InitiateOwnershipRenouncement"): TypedContractEvent<InitiateOwnershipRenouncementEvent.InputTuple, InitiateOwnershipRenouncementEvent.OutputTuple, InitiateOwnershipRenouncementEvent.OutputObject>;
189
+ getEvent(key: "InitiateOwnershipTransfer"): TypedContractEvent<InitiateOwnershipTransferEvent.InputTuple, InitiateOwnershipTransferEvent.OutputTuple, InitiateOwnershipTransferEvent.OutputObject>;
190
+ getEvent(key: "NewAffiliateController"): TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
191
+ getEvent(key: "NewAffiliateProgramStatus"): TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
192
+ getEvent(key: "NewAffiliateRate"): TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
193
+ getEvent(key: "NewOwner"): TypedContractEvent<NewOwnerEvent.InputTuple, NewOwnerEvent.OutputTuple, NewOwnerEvent.OutputObject>;
194
+ filters: {
195
+ "CancelOwnershipTransfer()": TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
196
+ CancelOwnershipTransfer: TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
197
+ "InitiateOwnershipRenouncement()": TypedContractEvent<InitiateOwnershipRenouncementEvent.InputTuple, InitiateOwnershipRenouncementEvent.OutputTuple, InitiateOwnershipRenouncementEvent.OutputObject>;
198
+ InitiateOwnershipRenouncement: TypedContractEvent<InitiateOwnershipRenouncementEvent.InputTuple, InitiateOwnershipRenouncementEvent.OutputTuple, InitiateOwnershipRenouncementEvent.OutputObject>;
199
+ "InitiateOwnershipTransfer(address,address)": TypedContractEvent<InitiateOwnershipTransferEvent.InputTuple, InitiateOwnershipTransferEvent.OutputTuple, InitiateOwnershipTransferEvent.OutputObject>;
200
+ InitiateOwnershipTransfer: TypedContractEvent<InitiateOwnershipTransferEvent.InputTuple, InitiateOwnershipTransferEvent.OutputTuple, InitiateOwnershipTransferEvent.OutputObject>;
201
+ "NewAffiliateController(address)": TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
202
+ NewAffiliateController: TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
203
+ "NewAffiliateProgramStatus(bool)": TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
204
+ NewAffiliateProgramStatus: TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
205
+ "NewAffiliateRate(address,uint256)": TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
206
+ NewAffiliateRate: TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
207
+ "NewOwner(address)": TypedContractEvent<NewOwnerEvent.InputTuple, NewOwnerEvent.OutputTuple, NewOwnerEvent.OutputObject>;
208
+ NewOwner: TypedContractEvent<NewOwnerEvent.InputTuple, NewOwnerEvent.OutputTuple, NewOwnerEvent.OutputObject>;
209
+ };
210
+ }
@@ -0,0 +1,35 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
3
+ export interface BatchOrderTypehashRegistryInterface extends Interface {
4
+ getFunction(nameOrSignature: "hashBatchOrder"): FunctionFragment;
5
+ encodeFunctionData(functionFragment: "hashBatchOrder", values: [BytesLike, BigNumberish]): string;
6
+ decodeFunctionResult(functionFragment: "hashBatchOrder", data: BytesLike): Result;
7
+ }
8
+ export interface BatchOrderTypehashRegistry extends BaseContract {
9
+ connect(runner?: ContractRunner | null): BatchOrderTypehashRegistry;
10
+ waitForDeployment(): Promise<this>;
11
+ interface: BatchOrderTypehashRegistryInterface;
12
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
13
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
14
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
15
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
16
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
17
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
18
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
19
+ listeners(eventName?: string): Promise<Array<Listener>>;
20
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
21
+ hashBatchOrder: TypedContractMethod<[
22
+ root: BytesLike,
23
+ proofLength: BigNumberish
24
+ ], [
25
+ string
26
+ ], "view">;
27
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
28
+ getFunction(nameOrSignature: "hashBatchOrder"): TypedContractMethod<[
29
+ root: BytesLike,
30
+ proofLength: BigNumberish
31
+ ], [
32
+ string
33
+ ], "view">;
34
+ filters: {};
35
+ }
@@ -0,0 +1,47 @@
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 CreatorFeeManagerWithRoyaltiesInterface 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 CreatorFeeManagerWithRoyalties extends BaseContract {
11
+ connect(runner?: ContractRunner | null): CreatorFeeManagerWithRoyalties;
12
+ waitForDeployment(): Promise<this>;
13
+ interface: CreatorFeeManagerWithRoyaltiesInterface;
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
+ }
@@ -0,0 +1,247 @@
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
+ }