@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.
- package/dist/LooksRare.d.ts +3 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.esm.js +1 -1
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/AffiliateManager.d.ts +210 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry.d.ts +35 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties.d.ts +47 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/CurrencyManager.d.ts +247 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/ExecutionManager.d.ts +616 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol.d.ts +1005 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/NonceManager.d.ts +148 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/StrategyManager.d.ts +401 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferManager.d.ts +324 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT.d.ts +620 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy.d.ts +97 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer.d.ts +176 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A.d.ts +172 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers.d.ts +148 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/index.d.ts +16 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager.d.ts +65 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager.d.ts +47 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager.d.ts +37 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager.d.ts +64 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol.d.ts +343 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager.d.ts +72 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry.d.ts +41 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy.d.ts +97 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager.d.ts +85 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager.d.ts +80 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/index.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/test/index.d.ts +2 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry.d.ts +222 -0
- package/dist/typechain/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/OwnableTwoSteps.d.ts +121 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/PackableReentrancyGuard.d.ts +20 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/index.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps.d.ts +80 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard.d.ts +20 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155.d.ts +224 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271.d.ts +35 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165.d.ts +29 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20.d.ts +129 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981.d.ts +49 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721.d.ts +191 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH.d.ts +43 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
- package/dist/typechain/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +4 -0
- package/dist/typechain/@looksrare/contracts-libs/index.d.ts +2 -0
- package/dist/typechain/@looksrare/index.d.ts +4 -0
- package/dist/typechain/common.d.ts +50 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/AffiliateManager__factory.d.ts +264 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/BatchOrderTypehashRegistry__factory.d.ts +48 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CreatorFeeManagerWithRoyalties__factory.d.ts +74 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/CurrencyManager__factory.d.ts +307 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/ExecutionManager__factory.d.ts +748 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/LooksRareProtocol__factory.d.ts +1527 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/NonceManager__factory.d.ts +174 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/StrategyManager__factory.d.ts +478 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferManager__factory.d.ts +406 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/TransferSelectorNFT__factory.d.ts +766 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/BaseStrategy__factory.d.ts +100 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/StrategyCollectionOffer__factory.d.ts +323 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/executionStrategies/index.d.ts +2 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/OrderValidatorV2A__factory.d.ts +338 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers__factory.d.ts +302 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/helpers/index.d.ts +2 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/index.d.ts +13 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager__factory.d.ts +50 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager__factory.d.ts +51 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager__factory.d.ts +22 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager__factory.d.ts +61 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ILooksRareProtocol__factory.d.ts +540 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/INonceManager__factory.d.ts +57 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IRoyaltyFeeRegistry__factory.d.ts +29 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategyManager__factory.d.ts +88 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/IStrategy__factory.d.ts +100 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/ITransferManager__factory.d.ts +77 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/contracts/interfaces/index.d.ts +10 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/index.d.ts +2 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/index.d.ts +1 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/MockRoyaltyFeeRegistry__factory.d.ts +278 -0
- package/dist/typechain/factories/@looksrare/contracts-exchange-v2/test/mock/index.d.ts +1 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/OwnableTwoSteps__factory.d.ts +130 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/PackableReentrancyGuard__factory.d.ts +11 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/index.d.ts +3 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IOwnableTwoSteps__factory.d.ts +66 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/IReentrancyGuard__factory.d.ts +11 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1155__factory.d.ts +222 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC1271__factory.d.ts +25 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC165__factory.d.ts +21 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC20__factory.d.ts +147 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC2981__factory.d.ts +43 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IERC721__factory.d.ts +213 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/IWETH__factory.d.ts +41 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/generic/index.d.ts +7 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/contracts/interfaces/index.d.ts +3 -0
- package/dist/typechain/factories/@looksrare/contracts-libs/index.d.ts +1 -0
- package/dist/typechain/factories/@looksrare/index.d.ts +2 -0
- package/dist/typechain/factories/index.d.ts +3 -0
- package/dist/typechain/factories/solmate/index.d.ts +1 -0
- package/dist/typechain/factories/solmate/src/index.d.ts +1 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver__factory.d.ts +67 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/ERC1155__factory.d.ts +250 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC20__factory.d.ts +235 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver__factory.d.ts +33 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/ERC721__factory.d.ts +261 -0
- package/dist/typechain/factories/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
- package/dist/typechain/factories/solmate/src/tokens/WETH__factory.d.ts +299 -0
- package/dist/typechain/factories/solmate/src/tokens/index.d.ts +4 -0
- package/dist/typechain/factories/src/contracts/index.d.ts +1 -0
- package/dist/typechain/factories/src/contracts/tests/MockERC1155__factory.d.ts +283 -0
- package/dist/typechain/factories/src/contracts/tests/MockERC721__factory.d.ts +308 -0
- package/dist/typechain/factories/src/contracts/tests/Verifier__factory.d.ts +462 -0
- package/dist/typechain/factories/src/contracts/tests/index.d.ts +3 -0
- package/dist/typechain/factories/src/index.d.ts +1 -0
- package/dist/typechain/index.d.ts +97 -0
- package/dist/typechain/solmate/index.d.ts +2 -0
- package/dist/typechain/solmate/src/index.d.ts +2 -0
- package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155.d.ts +236 -0
- package/dist/typechain/solmate/src/tokens/ERC1155.sol/ERC1155TokenReceiver.d.ts +67 -0
- package/dist/typechain/solmate/src/tokens/ERC1155.sol/index.d.ts +2 -0
- package/dist/typechain/solmate/src/tokens/ERC20.d.ts +181 -0
- package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721.d.ts +211 -0
- package/dist/typechain/solmate/src/tokens/ERC721.sol/ERC721TokenReceiver.d.ts +39 -0
- package/dist/typechain/solmate/src/tokens/ERC721.sol/index.d.ts +2 -0
- package/dist/typechain/solmate/src/tokens/WETH.d.ts +219 -0
- package/dist/typechain/solmate/src/tokens/index.d.ts +6 -0
- package/dist/typechain/src/contracts/index.d.ts +2 -0
- package/dist/typechain/src/contracts/tests/MockERC1155.d.ts +252 -0
- package/dist/typechain/src/contracts/tests/MockERC721.d.ts +219 -0
- package/dist/typechain/src/contracts/tests/Verifier.d.ts +174 -0
- package/dist/typechain/src/contracts/tests/index.d.ts +3 -0
- package/dist/typechain/src/index.d.ts +2 -0
- package/dist/utils/calls/exchange.d.ts +7 -6
- package/package.json +1 -1
@@ -0,0 +1,302 @@
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
2
|
+
import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
|
3
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
4
|
+
import type { ProtocolHelpers, ProtocolHelpersInterface } from "../../../../../@looksrare/contracts-exchange-v2/contracts/helpers/ProtocolHelpers";
|
5
|
+
type ProtocolHelpersConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
6
|
+
export declare class ProtocolHelpers__factory extends ContractFactory {
|
7
|
+
constructor(...args: ProtocolHelpersConstructorParams);
|
8
|
+
getDeployTransaction(_looksRareProtocol: AddressLike, overrides?: NonPayableOverrides & {
|
9
|
+
from?: string;
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
11
|
+
deploy(_looksRareProtocol: AddressLike, overrides?: NonPayableOverrides & {
|
12
|
+
from?: string;
|
13
|
+
}): Promise<ProtocolHelpers & {
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
15
|
+
}>;
|
16
|
+
connect(runner: ContractRunner | null): ProtocolHelpers__factory;
|
17
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b50604051610ee8380380610ee883398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610e55806100936000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80630ad584961461005c578063265981d81461008457806377a682c3146100a55780639bd2d29f146100d0578063cd271c5e146100e3575b600080fd5b61006f61006a366004610935565b6100f6565b60405190151581526020015b60405180910390f35b6100976100923660046109b0565b61011c565b60405190815260200161007b565b6000546100b8906001600160a01b031681565b6040516001600160a01b03909116815260200161007b565b61006f6100de366004610bff565b61025b565b6100976100f1366004610c39565b610263565b6000806101028661011c565b905061011081848787610328565b50600195945050505050565b600080546040805163f698da2560e01b8152905183926001600160a01b03169163f698da259160048083019260209291908290030181865afa158015610166573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061018a9190610c6e565b6000805485516020870151516040516343603b2160e11b81526004810192909252602482015292935090916001600160a01b03909116906386c0764290604401602060405180830381865afa1580156101e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061020b9190610c6e565b905060405180604001604052806002815260200161190160f01b815250828260405160200161023c93929190610cab565b6040516020818303038152906040528051906020012092505050919050565b600080610102865b600080546040805163f698da2560e01b8152905183926001600160a01b03169163f698da259160048083019260209291908290030181865afa1580156102ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d19190610c6e565b905060405180604001604052806002815260200161190160f01b815250816102f885610417565b60405160200161030a93929190610cab565b60405160208183030381529060405280519060200120915050919050565b826001600160a01b03163b60000361037657826001600160a01b031661034f858484610583565b6001600160a01b0316146104115760405163d1085d1b60e01b815260040160405180910390fd5b604051630b135d3f60e11b808252906001600160a01b03851690631626ba7e906103a890889087908790600401610cd2565b602060405180830381865afa1580156103c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e99190610d08565b6001600160e01b031916146104115760405163f6cd0e2f60e01b815260040160405180910390fd5b50505050565b60007e3c1bce41a2de73dfe64d6eeb2b3d7f15f1c0c382d9d963c2c6daeb75f0e539826000015183602001518460400151856060015186608001518760a001518860c001518960e0015160405160200161047999989796959493929190610d57565b6040516020818303038152906040528261010001518361012001518461014001518561016001518661018001516040516020016104b69190610dba565b60405160208183030381529060405280519060200120876101a001516040516020016104e29190610dba565b60408051601f1981840301815282825280516020918201206101c08c01518051908301206001600160a01b0390991691840191909152908201959095526060810193909352608083019190915260a082015260c081019190915260e08101919091526101000160408051601f19818403018152908290526105669291602001610df0565b604051602081830303815290604052805190602001209050919050565b600080600080610593868661062c565b6040805160008152602081018083528c905260ff8316918101919091526060810184905260808101839052929550909350915060019060a0016020604051602081039080840390855afa1580156105ee573d6000803e3d6000fd5b5050604051601f1901519450506001600160a01b0384166106225760405163f05a20c760e01b815260040160405180910390fd5b5050509392505050565b60008080836041819003610654578535935060208601359250604086013560001a91506106a0565b8060400361067f57853593506001600160ff1b036020870135908116935060ff1c601b0191506106a0565b60405163d42b4bbd60e01b8152600481018290526024015b60405180910390fd5b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156106e1576040516360c2892960e11b815260040160405180910390fd5b8160ff16601b141580156106f957508160ff16601c14155b1561071c5760405163105e24e960e21b815260ff83166004820152602401610697565b509250925092565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561075d5761075d610724565b60405290565b6040516101e0810167ffffffffffffffff8111828210171561075d5761075d610724565b604051601f8201601f1916810167ffffffffffffffff811182821017156107b0576107b0610724565b604052919050565b600067ffffffffffffffff8211156107d2576107d2610724565b5060051b60200190565b600281106107e957600080fd5b50565b80356107f7816107dc565b919050565b6000604080838503121561080f57600080fd5b61081761073a565b91508235825260208084013567ffffffffffffffff81111561083857600080fd5b8401601f8101861361084957600080fd5b803561085c610857826107b8565b610787565b81815260069190911b8201830190838101908883111561087b57600080fd5b928401925b828410156108c45785848a0312156108985760008081fd5b6108a061073a565b84358152858501356108b1816107dc565b8187015282529285019290840190610880565b808588015250505050505092915050565b60008083601f8401126108e757600080fd5b50813567ffffffffffffffff8111156108ff57600080fd5b60208301915083602082850101111561091757600080fd5b9250929050565b80356001600160a01b03811681146107f757600080fd5b6000806000806060858703121561094b57600080fd5b843567ffffffffffffffff8082111561096357600080fd5b61096f888389016107fc565b9550602087013591508082111561098557600080fd5b50610992878288016108d5565b90945092506109a590506040860161091e565b905092959194509250565b6000602082840312156109c257600080fd5b813567ffffffffffffffff8111156109d957600080fd5b6109e5848285016107fc565b949350505050565b600082601f8301126109fe57600080fd5b81356020610a0e610857836107b8565b82815260059290921b84018101918181019086841115610a2d57600080fd5b8286015b84811015610a485780358352918301918301610a31565b509695505050505050565b600082601f830112610a6457600080fd5b813567ffffffffffffffff811115610a7e57610a7e610724565b610a91601f8201601f1916602001610787565b818152846020838601011115610aa657600080fd5b816020850160208301376000918101602001919091529392505050565b60006101e08284031215610ad657600080fd5b610ade610763565b9050610ae9826107ec565b815260208201356020820152604082013560408201526060820135606082015260808201356080820152610b1f60a083016107ec565b60a0820152610b3060c0830161091e565b60c0820152610b4160e0830161091e565b60e0820152610100610b5481840161091e565b908201526101208281013590820152610140808301359082015261016080830135908201526101808083013567ffffffffffffffff80821115610b9657600080fd5b610ba2868387016109ed565b838501526101a0925082850135915080821115610bbe57600080fd5b610bca868387016109ed565b838501526101c0925082850135915080821115610be657600080fd5b50610bf385828601610a53565b82840152505092915050565b60008060008060608587031215610c1557600080fd5b843567ffffffffffffffff80821115610c2d57600080fd5b61096f88838901610ac3565b600060208284031215610c4b57600080fd5b813567ffffffffffffffff811115610c6257600080fd5b6109e584828501610ac3565b600060208284031215610c8057600080fd5b5051919050565b60005b83811015610ca2578181015183820152602001610c8a565b50506000910152565b60008451610cbd818460208901610c87565b91909101928352506020820152604001919050565b83815260406020820152816040820152818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215610d1a57600080fd5b81516001600160e01b031981168114610d3257600080fd5b9392505050565b600281106107e957634e487b7160e01b600052602160045260246000fd5b8981526101208101610d688a610d39565b8960208301528860408301528760608301528660808301528560a0830152610d8f85610d39565b60c08201949094526001600160a01b0392831660e08201529116610100909101529695505050505050565b815160009082906020808601845b83811015610de457815185529382019390820190600101610dc8565b50929695505050505050565b60008351610e02818460208801610c87565b835190830190610e16818360208801610c87565b0194935050505056fea26469706673582212200eaa936a291098b6ff5e6441649a34cab018623ed376e5147fd6615cfb184c7e64736f6c63430008110033";
|
18
|
+
static readonly abi: readonly [{
|
19
|
+
readonly inputs: readonly [{
|
20
|
+
readonly internalType: "address";
|
21
|
+
readonly name: "_looksRareProtocol";
|
22
|
+
readonly type: "address";
|
23
|
+
}];
|
24
|
+
readonly stateMutability: "nonpayable";
|
25
|
+
readonly type: "constructor";
|
26
|
+
}, {
|
27
|
+
readonly inputs: readonly [];
|
28
|
+
readonly name: "NullSignerAddress";
|
29
|
+
readonly type: "error";
|
30
|
+
}, {
|
31
|
+
readonly inputs: readonly [];
|
32
|
+
readonly name: "SignatureEOAInvalid";
|
33
|
+
readonly type: "error";
|
34
|
+
}, {
|
35
|
+
readonly inputs: readonly [];
|
36
|
+
readonly name: "SignatureERC1271Invalid";
|
37
|
+
readonly type: "error";
|
38
|
+
}, {
|
39
|
+
readonly inputs: readonly [{
|
40
|
+
readonly internalType: "uint256";
|
41
|
+
readonly name: "length";
|
42
|
+
readonly type: "uint256";
|
43
|
+
}];
|
44
|
+
readonly name: "SignatureLengthInvalid";
|
45
|
+
readonly type: "error";
|
46
|
+
}, {
|
47
|
+
readonly inputs: readonly [];
|
48
|
+
readonly name: "SignatureParameterSInvalid";
|
49
|
+
readonly type: "error";
|
50
|
+
}, {
|
51
|
+
readonly inputs: readonly [{
|
52
|
+
readonly internalType: "uint8";
|
53
|
+
readonly name: "v";
|
54
|
+
readonly type: "uint8";
|
55
|
+
}];
|
56
|
+
readonly name: "SignatureParameterVInvalid";
|
57
|
+
readonly type: "error";
|
58
|
+
}, {
|
59
|
+
readonly inputs: readonly [{
|
60
|
+
readonly components: readonly [{
|
61
|
+
readonly internalType: "bytes32";
|
62
|
+
readonly name: "root";
|
63
|
+
readonly type: "bytes32";
|
64
|
+
}, {
|
65
|
+
readonly components: readonly [{
|
66
|
+
readonly internalType: "bytes32";
|
67
|
+
readonly name: "value";
|
68
|
+
readonly type: "bytes32";
|
69
|
+
}, {
|
70
|
+
readonly internalType: "enum OrderStructs.MerkleTreeNodePosition";
|
71
|
+
readonly name: "position";
|
72
|
+
readonly type: "uint8";
|
73
|
+
}];
|
74
|
+
readonly internalType: "struct OrderStructs.MerkleTreeNode[]";
|
75
|
+
readonly name: "proof";
|
76
|
+
readonly type: "tuple[]";
|
77
|
+
}];
|
78
|
+
readonly internalType: "struct OrderStructs.MerkleTree";
|
79
|
+
readonly name: "merkleTree";
|
80
|
+
readonly type: "tuple";
|
81
|
+
}];
|
82
|
+
readonly name: "computeDigestMerkleTree";
|
83
|
+
readonly outputs: readonly [{
|
84
|
+
readonly internalType: "bytes32";
|
85
|
+
readonly name: "digest";
|
86
|
+
readonly type: "bytes32";
|
87
|
+
}];
|
88
|
+
readonly stateMutability: "view";
|
89
|
+
readonly type: "function";
|
90
|
+
}, {
|
91
|
+
readonly inputs: readonly [{
|
92
|
+
readonly components: readonly [{
|
93
|
+
readonly internalType: "enum QuoteType";
|
94
|
+
readonly name: "quoteType";
|
95
|
+
readonly type: "uint8";
|
96
|
+
}, {
|
97
|
+
readonly internalType: "uint256";
|
98
|
+
readonly name: "globalNonce";
|
99
|
+
readonly type: "uint256";
|
100
|
+
}, {
|
101
|
+
readonly internalType: "uint256";
|
102
|
+
readonly name: "subsetNonce";
|
103
|
+
readonly type: "uint256";
|
104
|
+
}, {
|
105
|
+
readonly internalType: "uint256";
|
106
|
+
readonly name: "orderNonce";
|
107
|
+
readonly type: "uint256";
|
108
|
+
}, {
|
109
|
+
readonly internalType: "uint256";
|
110
|
+
readonly name: "strategyId";
|
111
|
+
readonly type: "uint256";
|
112
|
+
}, {
|
113
|
+
readonly internalType: "enum CollectionType";
|
114
|
+
readonly name: "collectionType";
|
115
|
+
readonly type: "uint8";
|
116
|
+
}, {
|
117
|
+
readonly internalType: "address";
|
118
|
+
readonly name: "collection";
|
119
|
+
readonly type: "address";
|
120
|
+
}, {
|
121
|
+
readonly internalType: "address";
|
122
|
+
readonly name: "currency";
|
123
|
+
readonly type: "address";
|
124
|
+
}, {
|
125
|
+
readonly internalType: "address";
|
126
|
+
readonly name: "signer";
|
127
|
+
readonly type: "address";
|
128
|
+
}, {
|
129
|
+
readonly internalType: "uint256";
|
130
|
+
readonly name: "startTime";
|
131
|
+
readonly type: "uint256";
|
132
|
+
}, {
|
133
|
+
readonly internalType: "uint256";
|
134
|
+
readonly name: "endTime";
|
135
|
+
readonly type: "uint256";
|
136
|
+
}, {
|
137
|
+
readonly internalType: "uint256";
|
138
|
+
readonly name: "price";
|
139
|
+
readonly type: "uint256";
|
140
|
+
}, {
|
141
|
+
readonly internalType: "uint256[]";
|
142
|
+
readonly name: "itemIds";
|
143
|
+
readonly type: "uint256[]";
|
144
|
+
}, {
|
145
|
+
readonly internalType: "uint256[]";
|
146
|
+
readonly name: "amounts";
|
147
|
+
readonly type: "uint256[]";
|
148
|
+
}, {
|
149
|
+
readonly internalType: "bytes";
|
150
|
+
readonly name: "additionalParameters";
|
151
|
+
readonly type: "bytes";
|
152
|
+
}];
|
153
|
+
readonly internalType: "struct OrderStructs.Maker";
|
154
|
+
readonly name: "maker";
|
155
|
+
readonly type: "tuple";
|
156
|
+
}];
|
157
|
+
readonly name: "computeMakerDigest";
|
158
|
+
readonly outputs: readonly [{
|
159
|
+
readonly internalType: "bytes32";
|
160
|
+
readonly name: "digest";
|
161
|
+
readonly type: "bytes32";
|
162
|
+
}];
|
163
|
+
readonly stateMutability: "view";
|
164
|
+
readonly type: "function";
|
165
|
+
}, {
|
166
|
+
readonly inputs: readonly [];
|
167
|
+
readonly name: "looksRareProtocol";
|
168
|
+
readonly outputs: readonly [{
|
169
|
+
readonly internalType: "contract LooksRareProtocol";
|
170
|
+
readonly name: "";
|
171
|
+
readonly type: "address";
|
172
|
+
}];
|
173
|
+
readonly stateMutability: "view";
|
174
|
+
readonly type: "function";
|
175
|
+
}, {
|
176
|
+
readonly inputs: readonly [{
|
177
|
+
readonly components: readonly [{
|
178
|
+
readonly internalType: "enum QuoteType";
|
179
|
+
readonly name: "quoteType";
|
180
|
+
readonly type: "uint8";
|
181
|
+
}, {
|
182
|
+
readonly internalType: "uint256";
|
183
|
+
readonly name: "globalNonce";
|
184
|
+
readonly type: "uint256";
|
185
|
+
}, {
|
186
|
+
readonly internalType: "uint256";
|
187
|
+
readonly name: "subsetNonce";
|
188
|
+
readonly type: "uint256";
|
189
|
+
}, {
|
190
|
+
readonly internalType: "uint256";
|
191
|
+
readonly name: "orderNonce";
|
192
|
+
readonly type: "uint256";
|
193
|
+
}, {
|
194
|
+
readonly internalType: "uint256";
|
195
|
+
readonly name: "strategyId";
|
196
|
+
readonly type: "uint256";
|
197
|
+
}, {
|
198
|
+
readonly internalType: "enum CollectionType";
|
199
|
+
readonly name: "collectionType";
|
200
|
+
readonly type: "uint8";
|
201
|
+
}, {
|
202
|
+
readonly internalType: "address";
|
203
|
+
readonly name: "collection";
|
204
|
+
readonly type: "address";
|
205
|
+
}, {
|
206
|
+
readonly internalType: "address";
|
207
|
+
readonly name: "currency";
|
208
|
+
readonly type: "address";
|
209
|
+
}, {
|
210
|
+
readonly internalType: "address";
|
211
|
+
readonly name: "signer";
|
212
|
+
readonly type: "address";
|
213
|
+
}, {
|
214
|
+
readonly internalType: "uint256";
|
215
|
+
readonly name: "startTime";
|
216
|
+
readonly type: "uint256";
|
217
|
+
}, {
|
218
|
+
readonly internalType: "uint256";
|
219
|
+
readonly name: "endTime";
|
220
|
+
readonly type: "uint256";
|
221
|
+
}, {
|
222
|
+
readonly internalType: "uint256";
|
223
|
+
readonly name: "price";
|
224
|
+
readonly type: "uint256";
|
225
|
+
}, {
|
226
|
+
readonly internalType: "uint256[]";
|
227
|
+
readonly name: "itemIds";
|
228
|
+
readonly type: "uint256[]";
|
229
|
+
}, {
|
230
|
+
readonly internalType: "uint256[]";
|
231
|
+
readonly name: "amounts";
|
232
|
+
readonly type: "uint256[]";
|
233
|
+
}, {
|
234
|
+
readonly internalType: "bytes";
|
235
|
+
readonly name: "additionalParameters";
|
236
|
+
readonly type: "bytes";
|
237
|
+
}];
|
238
|
+
readonly internalType: "struct OrderStructs.Maker";
|
239
|
+
readonly name: "maker";
|
240
|
+
readonly type: "tuple";
|
241
|
+
}, {
|
242
|
+
readonly internalType: "bytes";
|
243
|
+
readonly name: "makerSignature";
|
244
|
+
readonly type: "bytes";
|
245
|
+
}, {
|
246
|
+
readonly internalType: "address";
|
247
|
+
readonly name: "signer";
|
248
|
+
readonly type: "address";
|
249
|
+
}];
|
250
|
+
readonly name: "verifyMakerSignature";
|
251
|
+
readonly outputs: readonly [{
|
252
|
+
readonly internalType: "bool";
|
253
|
+
readonly name: "";
|
254
|
+
readonly type: "bool";
|
255
|
+
}];
|
256
|
+
readonly stateMutability: "view";
|
257
|
+
readonly type: "function";
|
258
|
+
}, {
|
259
|
+
readonly inputs: readonly [{
|
260
|
+
readonly components: readonly [{
|
261
|
+
readonly internalType: "bytes32";
|
262
|
+
readonly name: "root";
|
263
|
+
readonly type: "bytes32";
|
264
|
+
}, {
|
265
|
+
readonly components: readonly [{
|
266
|
+
readonly internalType: "bytes32";
|
267
|
+
readonly name: "value";
|
268
|
+
readonly type: "bytes32";
|
269
|
+
}, {
|
270
|
+
readonly internalType: "enum OrderStructs.MerkleTreeNodePosition";
|
271
|
+
readonly name: "position";
|
272
|
+
readonly type: "uint8";
|
273
|
+
}];
|
274
|
+
readonly internalType: "struct OrderStructs.MerkleTreeNode[]";
|
275
|
+
readonly name: "proof";
|
276
|
+
readonly type: "tuple[]";
|
277
|
+
}];
|
278
|
+
readonly internalType: "struct OrderStructs.MerkleTree";
|
279
|
+
readonly name: "merkleTree";
|
280
|
+
readonly type: "tuple";
|
281
|
+
}, {
|
282
|
+
readonly internalType: "bytes";
|
283
|
+
readonly name: "makerSignature";
|
284
|
+
readonly type: "bytes";
|
285
|
+
}, {
|
286
|
+
readonly internalType: "address";
|
287
|
+
readonly name: "signer";
|
288
|
+
readonly type: "address";
|
289
|
+
}];
|
290
|
+
readonly name: "verifyMerkleTree";
|
291
|
+
readonly outputs: readonly [{
|
292
|
+
readonly internalType: "bool";
|
293
|
+
readonly name: "";
|
294
|
+
readonly type: "bool";
|
295
|
+
}];
|
296
|
+
readonly stateMutability: "view";
|
297
|
+
readonly type: "function";
|
298
|
+
}];
|
299
|
+
static createInterface(): ProtocolHelpersInterface;
|
300
|
+
static connect(address: string, runner?: ContractRunner | null): ProtocolHelpers;
|
301
|
+
}
|
302
|
+
export {};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export * as executionStrategies from "./executionStrategies";
|
2
|
+
export * as helpers from "./helpers";
|
3
|
+
export * as interfaces from "./interfaces";
|
4
|
+
export { AffiliateManager__factory } from "./AffiliateManager__factory";
|
5
|
+
export { BatchOrderTypehashRegistry__factory } from "./BatchOrderTypehashRegistry__factory";
|
6
|
+
export { CreatorFeeManagerWithRoyalties__factory } from "./CreatorFeeManagerWithRoyalties__factory";
|
7
|
+
export { CurrencyManager__factory } from "./CurrencyManager__factory";
|
8
|
+
export { ExecutionManager__factory } from "./ExecutionManager__factory";
|
9
|
+
export { LooksRareProtocol__factory } from "./LooksRareProtocol__factory";
|
10
|
+
export { NonceManager__factory } from "./NonceManager__factory";
|
11
|
+
export { StrategyManager__factory } from "./StrategyManager__factory";
|
12
|
+
export { TransferManager__factory } from "./TransferManager__factory";
|
13
|
+
export { TransferSelectorNFT__factory } from "./TransferSelectorNFT__factory";
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
2
|
+
import type { IAffiliateManager, IAffiliateManagerInterface } from "../../../../../@looksrare/contracts-exchange-v2/contracts/interfaces/IAffiliateManager";
|
3
|
+
export declare class IAffiliateManager__factory {
|
4
|
+
static readonly abi: readonly [{
|
5
|
+
readonly inputs: readonly [];
|
6
|
+
readonly name: "NotAffiliateController";
|
7
|
+
readonly type: "error";
|
8
|
+
}, {
|
9
|
+
readonly inputs: readonly [];
|
10
|
+
readonly name: "PercentageTooHigh";
|
11
|
+
readonly type: "error";
|
12
|
+
}, {
|
13
|
+
readonly anonymous: false;
|
14
|
+
readonly inputs: readonly [{
|
15
|
+
readonly indexed: false;
|
16
|
+
readonly internalType: "address";
|
17
|
+
readonly name: "affiliateController";
|
18
|
+
readonly type: "address";
|
19
|
+
}];
|
20
|
+
readonly name: "NewAffiliateController";
|
21
|
+
readonly type: "event";
|
22
|
+
}, {
|
23
|
+
readonly anonymous: false;
|
24
|
+
readonly inputs: readonly [{
|
25
|
+
readonly indexed: false;
|
26
|
+
readonly internalType: "bool";
|
27
|
+
readonly name: "isActive";
|
28
|
+
readonly type: "bool";
|
29
|
+
}];
|
30
|
+
readonly name: "NewAffiliateProgramStatus";
|
31
|
+
readonly type: "event";
|
32
|
+
}, {
|
33
|
+
readonly anonymous: false;
|
34
|
+
readonly inputs: readonly [{
|
35
|
+
readonly indexed: false;
|
36
|
+
readonly internalType: "address";
|
37
|
+
readonly name: "affiliate";
|
38
|
+
readonly type: "address";
|
39
|
+
}, {
|
40
|
+
readonly indexed: false;
|
41
|
+
readonly internalType: "uint256";
|
42
|
+
readonly name: "rate";
|
43
|
+
readonly type: "uint256";
|
44
|
+
}];
|
45
|
+
readonly name: "NewAffiliateRate";
|
46
|
+
readonly type: "event";
|
47
|
+
}];
|
48
|
+
static createInterface(): IAffiliateManagerInterface;
|
49
|
+
static connect(address: string, runner?: ContractRunner | null): IAffiliateManager;
|
50
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
2
|
+
import type { ICreatorFeeManager, ICreatorFeeManagerInterface } from "../../../../../@looksrare/contracts-exchange-v2/contracts/interfaces/ICreatorFeeManager";
|
3
|
+
export declare class ICreatorFeeManager__factory {
|
4
|
+
static readonly abi: readonly [{
|
5
|
+
readonly inputs: readonly [{
|
6
|
+
readonly internalType: "address";
|
7
|
+
readonly name: "collection";
|
8
|
+
readonly type: "address";
|
9
|
+
}];
|
10
|
+
readonly name: "BundleEIP2981NotAllowed";
|
11
|
+
readonly type: "error";
|
12
|
+
}, {
|
13
|
+
readonly inputs: readonly [];
|
14
|
+
readonly name: "royaltyFeeRegistry";
|
15
|
+
readonly outputs: readonly [{
|
16
|
+
readonly internalType: "contract IRoyaltyFeeRegistry";
|
17
|
+
readonly name: "royaltyFeeRegistry";
|
18
|
+
readonly type: "address";
|
19
|
+
}];
|
20
|
+
readonly stateMutability: "view";
|
21
|
+
readonly type: "function";
|
22
|
+
}, {
|
23
|
+
readonly inputs: readonly [{
|
24
|
+
readonly internalType: "address";
|
25
|
+
readonly name: "collection";
|
26
|
+
readonly type: "address";
|
27
|
+
}, {
|
28
|
+
readonly internalType: "uint256";
|
29
|
+
readonly name: "price";
|
30
|
+
readonly type: "uint256";
|
31
|
+
}, {
|
32
|
+
readonly internalType: "uint256[]";
|
33
|
+
readonly name: "itemIds";
|
34
|
+
readonly type: "uint256[]";
|
35
|
+
}];
|
36
|
+
readonly name: "viewCreatorFeeInfo";
|
37
|
+
readonly outputs: readonly [{
|
38
|
+
readonly internalType: "address";
|
39
|
+
readonly name: "creator";
|
40
|
+
readonly type: "address";
|
41
|
+
}, {
|
42
|
+
readonly internalType: "uint256";
|
43
|
+
readonly name: "creatorFeeAmount";
|
44
|
+
readonly type: "uint256";
|
45
|
+
}];
|
46
|
+
readonly stateMutability: "view";
|
47
|
+
readonly type: "function";
|
48
|
+
}];
|
49
|
+
static createInterface(): ICreatorFeeManagerInterface;
|
50
|
+
static connect(address: string, runner?: ContractRunner | null): ICreatorFeeManager;
|
51
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
2
|
+
import type { ICurrencyManager, ICurrencyManagerInterface } from "../../../../../@looksrare/contracts-exchange-v2/contracts/interfaces/ICurrencyManager";
|
3
|
+
export declare class ICurrencyManager__factory {
|
4
|
+
static readonly abi: readonly [{
|
5
|
+
readonly anonymous: false;
|
6
|
+
readonly inputs: readonly [{
|
7
|
+
readonly indexed: false;
|
8
|
+
readonly internalType: "address";
|
9
|
+
readonly name: "currency";
|
10
|
+
readonly type: "address";
|
11
|
+
}, {
|
12
|
+
readonly indexed: false;
|
13
|
+
readonly internalType: "bool";
|
14
|
+
readonly name: "isAllowed";
|
15
|
+
readonly type: "bool";
|
16
|
+
}];
|
17
|
+
readonly name: "CurrencyStatusUpdated";
|
18
|
+
readonly type: "event";
|
19
|
+
}];
|
20
|
+
static createInterface(): ICurrencyManagerInterface;
|
21
|
+
static connect(address: string, runner?: ContractRunner | null): ICurrencyManager;
|
22
|
+
}
|
@@ -0,0 +1,61 @@
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
2
|
+
import type { IExecutionManager, IExecutionManagerInterface } from "../../../../../@looksrare/contracts-exchange-v2/contracts/interfaces/IExecutionManager";
|
3
|
+
export declare class IExecutionManager__factory {
|
4
|
+
static readonly abi: readonly [{
|
5
|
+
readonly inputs: readonly [];
|
6
|
+
readonly name: "CreatorFeeBpTooHigh";
|
7
|
+
readonly type: "error";
|
8
|
+
}, {
|
9
|
+
readonly inputs: readonly [];
|
10
|
+
readonly name: "NewProtocolFeeRecipientCannotBeNullAddress";
|
11
|
+
readonly type: "error";
|
12
|
+
}, {
|
13
|
+
readonly inputs: readonly [];
|
14
|
+
readonly name: "NoSelectorForStrategy";
|
15
|
+
readonly type: "error";
|
16
|
+
}, {
|
17
|
+
readonly inputs: readonly [];
|
18
|
+
readonly name: "OutsideOfTimeRange";
|
19
|
+
readonly type: "error";
|
20
|
+
}, {
|
21
|
+
readonly inputs: readonly [{
|
22
|
+
readonly internalType: "uint256";
|
23
|
+
readonly name: "strategyId";
|
24
|
+
readonly type: "uint256";
|
25
|
+
}];
|
26
|
+
readonly name: "StrategyNotAvailable";
|
27
|
+
readonly type: "error";
|
28
|
+
}, {
|
29
|
+
readonly anonymous: false;
|
30
|
+
readonly inputs: readonly [{
|
31
|
+
readonly indexed: false;
|
32
|
+
readonly internalType: "address";
|
33
|
+
readonly name: "creatorFeeManager";
|
34
|
+
readonly type: "address";
|
35
|
+
}];
|
36
|
+
readonly name: "NewCreatorFeeManager";
|
37
|
+
readonly type: "event";
|
38
|
+
}, {
|
39
|
+
readonly anonymous: false;
|
40
|
+
readonly inputs: readonly [{
|
41
|
+
readonly indexed: false;
|
42
|
+
readonly internalType: "uint256";
|
43
|
+
readonly name: "maxCreatorFeeBp";
|
44
|
+
readonly type: "uint256";
|
45
|
+
}];
|
46
|
+
readonly name: "NewMaxCreatorFeeBp";
|
47
|
+
readonly type: "event";
|
48
|
+
}, {
|
49
|
+
readonly anonymous: false;
|
50
|
+
readonly inputs: readonly [{
|
51
|
+
readonly indexed: false;
|
52
|
+
readonly internalType: "address";
|
53
|
+
readonly name: "protocolFeeRecipient";
|
54
|
+
readonly type: "address";
|
55
|
+
}];
|
56
|
+
readonly name: "NewProtocolFeeRecipient";
|
57
|
+
readonly type: "event";
|
58
|
+
}];
|
59
|
+
static createInterface(): IExecutionManagerInterface;
|
60
|
+
static connect(address: string, runner?: ContractRunner | null): IExecutionManager;
|
61
|
+
}
|