@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,148 @@
|
|
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 NonceManagerInterface extends Interface {
|
4
|
+
getFunction(nameOrSignature: "MAGIC_VALUE_ORDER_NONCE_EXECUTED" | "cancelOrderNonces" | "cancelSubsetNonces" | "incrementBidAskNonces" | "userBidAskNonces" | "userOrderNonce" | "userSubsetNonce"): FunctionFragment;
|
5
|
+
getEvent(nameOrSignatureOrTopic: "NewBidAskNonces" | "OrderNoncesCancelled" | "SubsetNoncesCancelled"): EventFragment;
|
6
|
+
encodeFunctionData(functionFragment: "MAGIC_VALUE_ORDER_NONCE_EXECUTED", values?: undefined): string;
|
7
|
+
encodeFunctionData(functionFragment: "cancelOrderNonces", values: [BigNumberish[]]): string;
|
8
|
+
encodeFunctionData(functionFragment: "cancelSubsetNonces", values: [BigNumberish[]]): string;
|
9
|
+
encodeFunctionData(functionFragment: "incrementBidAskNonces", values: [boolean, boolean]): string;
|
10
|
+
encodeFunctionData(functionFragment: "userBidAskNonces", values: [AddressLike]): string;
|
11
|
+
encodeFunctionData(functionFragment: "userOrderNonce", values: [AddressLike, BigNumberish]): string;
|
12
|
+
encodeFunctionData(functionFragment: "userSubsetNonce", values: [AddressLike, BigNumberish]): string;
|
13
|
+
decodeFunctionResult(functionFragment: "MAGIC_VALUE_ORDER_NONCE_EXECUTED", data: BytesLike): Result;
|
14
|
+
decodeFunctionResult(functionFragment: "cancelOrderNonces", data: BytesLike): Result;
|
15
|
+
decodeFunctionResult(functionFragment: "cancelSubsetNonces", data: BytesLike): Result;
|
16
|
+
decodeFunctionResult(functionFragment: "incrementBidAskNonces", data: BytesLike): Result;
|
17
|
+
decodeFunctionResult(functionFragment: "userBidAskNonces", data: BytesLike): Result;
|
18
|
+
decodeFunctionResult(functionFragment: "userOrderNonce", data: BytesLike): Result;
|
19
|
+
decodeFunctionResult(functionFragment: "userSubsetNonce", data: BytesLike): Result;
|
20
|
+
}
|
21
|
+
export declare namespace NewBidAskNoncesEvent {
|
22
|
+
type InputTuple = [
|
23
|
+
user: AddressLike,
|
24
|
+
bidNonce: BigNumberish,
|
25
|
+
askNonce: BigNumberish
|
26
|
+
];
|
27
|
+
type OutputTuple = [user: string, bidNonce: bigint, askNonce: bigint];
|
28
|
+
interface OutputObject {
|
29
|
+
user: string;
|
30
|
+
bidNonce: bigint;
|
31
|
+
askNonce: bigint;
|
32
|
+
}
|
33
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
34
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
35
|
+
type Log = TypedEventLog<Event>;
|
36
|
+
type LogDescription = TypedLogDescription<Event>;
|
37
|
+
}
|
38
|
+
export declare namespace OrderNoncesCancelledEvent {
|
39
|
+
type InputTuple = [user: AddressLike, orderNonces: BigNumberish[]];
|
40
|
+
type OutputTuple = [user: string, orderNonces: bigint[]];
|
41
|
+
interface OutputObject {
|
42
|
+
user: string;
|
43
|
+
orderNonces: bigint[];
|
44
|
+
}
|
45
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
46
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
47
|
+
type Log = TypedEventLog<Event>;
|
48
|
+
type LogDescription = TypedLogDescription<Event>;
|
49
|
+
}
|
50
|
+
export declare namespace SubsetNoncesCancelledEvent {
|
51
|
+
type InputTuple = [user: AddressLike, subsetNonces: BigNumberish[]];
|
52
|
+
type OutputTuple = [user: string, subsetNonces: bigint[]];
|
53
|
+
interface OutputObject {
|
54
|
+
user: string;
|
55
|
+
subsetNonces: bigint[];
|
56
|
+
}
|
57
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
58
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
59
|
+
type Log = TypedEventLog<Event>;
|
60
|
+
type LogDescription = TypedLogDescription<Event>;
|
61
|
+
}
|
62
|
+
export interface NonceManager extends BaseContract {
|
63
|
+
connect(runner?: ContractRunner | null): NonceManager;
|
64
|
+
waitForDeployment(): Promise<this>;
|
65
|
+
interface: NonceManagerInterface;
|
66
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
67
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
68
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
69
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
70
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
71
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
72
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
73
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
74
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
75
|
+
MAGIC_VALUE_ORDER_NONCE_EXECUTED: TypedContractMethod<[], [string], "view">;
|
76
|
+
cancelOrderNonces: TypedContractMethod<[
|
77
|
+
orderNonces: BigNumberish[]
|
78
|
+
], [
|
79
|
+
void
|
80
|
+
], "nonpayable">;
|
81
|
+
cancelSubsetNonces: TypedContractMethod<[
|
82
|
+
subsetNonces: BigNumberish[]
|
83
|
+
], [
|
84
|
+
void
|
85
|
+
], "nonpayable">;
|
86
|
+
incrementBidAskNonces: TypedContractMethod<[
|
87
|
+
bid: boolean,
|
88
|
+
ask: boolean
|
89
|
+
], [
|
90
|
+
void
|
91
|
+
], "nonpayable">;
|
92
|
+
userBidAskNonces: TypedContractMethod<[
|
93
|
+
arg0: AddressLike
|
94
|
+
], [
|
95
|
+
[bigint, bigint] & {
|
96
|
+
bidNonce: bigint;
|
97
|
+
askNonce: bigint;
|
98
|
+
}
|
99
|
+
], "view">;
|
100
|
+
userOrderNonce: TypedContractMethod<[
|
101
|
+
arg0: AddressLike,
|
102
|
+
arg1: BigNumberish
|
103
|
+
], [
|
104
|
+
string
|
105
|
+
], "view">;
|
106
|
+
userSubsetNonce: TypedContractMethod<[
|
107
|
+
arg0: AddressLike,
|
108
|
+
arg1: BigNumberish
|
109
|
+
], [
|
110
|
+
boolean
|
111
|
+
], "view">;
|
112
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
113
|
+
getFunction(nameOrSignature: "MAGIC_VALUE_ORDER_NONCE_EXECUTED"): TypedContractMethod<[], [string], "view">;
|
114
|
+
getFunction(nameOrSignature: "cancelOrderNonces"): TypedContractMethod<[orderNonces: BigNumberish[]], [void], "nonpayable">;
|
115
|
+
getFunction(nameOrSignature: "cancelSubsetNonces"): TypedContractMethod<[subsetNonces: BigNumberish[]], [void], "nonpayable">;
|
116
|
+
getFunction(nameOrSignature: "incrementBidAskNonces"): TypedContractMethod<[bid: boolean, ask: boolean], [void], "nonpayable">;
|
117
|
+
getFunction(nameOrSignature: "userBidAskNonces"): TypedContractMethod<[
|
118
|
+
arg0: AddressLike
|
119
|
+
], [
|
120
|
+
[bigint, bigint] & {
|
121
|
+
bidNonce: bigint;
|
122
|
+
askNonce: bigint;
|
123
|
+
}
|
124
|
+
], "view">;
|
125
|
+
getFunction(nameOrSignature: "userOrderNonce"): TypedContractMethod<[
|
126
|
+
arg0: AddressLike,
|
127
|
+
arg1: BigNumberish
|
128
|
+
], [
|
129
|
+
string
|
130
|
+
], "view">;
|
131
|
+
getFunction(nameOrSignature: "userSubsetNonce"): TypedContractMethod<[
|
132
|
+
arg0: AddressLike,
|
133
|
+
arg1: BigNumberish
|
134
|
+
], [
|
135
|
+
boolean
|
136
|
+
], "view">;
|
137
|
+
getEvent(key: "NewBidAskNonces"): TypedContractEvent<NewBidAskNoncesEvent.InputTuple, NewBidAskNoncesEvent.OutputTuple, NewBidAskNoncesEvent.OutputObject>;
|
138
|
+
getEvent(key: "OrderNoncesCancelled"): TypedContractEvent<OrderNoncesCancelledEvent.InputTuple, OrderNoncesCancelledEvent.OutputTuple, OrderNoncesCancelledEvent.OutputObject>;
|
139
|
+
getEvent(key: "SubsetNoncesCancelled"): TypedContractEvent<SubsetNoncesCancelledEvent.InputTuple, SubsetNoncesCancelledEvent.OutputTuple, SubsetNoncesCancelledEvent.OutputObject>;
|
140
|
+
filters: {
|
141
|
+
"NewBidAskNonces(address,uint256,uint256)": TypedContractEvent<NewBidAskNoncesEvent.InputTuple, NewBidAskNoncesEvent.OutputTuple, NewBidAskNoncesEvent.OutputObject>;
|
142
|
+
NewBidAskNonces: TypedContractEvent<NewBidAskNoncesEvent.InputTuple, NewBidAskNoncesEvent.OutputTuple, NewBidAskNoncesEvent.OutputObject>;
|
143
|
+
"OrderNoncesCancelled(address,uint256[])": TypedContractEvent<OrderNoncesCancelledEvent.InputTuple, OrderNoncesCancelledEvent.OutputTuple, OrderNoncesCancelledEvent.OutputObject>;
|
144
|
+
OrderNoncesCancelled: TypedContractEvent<OrderNoncesCancelledEvent.InputTuple, OrderNoncesCancelledEvent.OutputTuple, OrderNoncesCancelledEvent.OutputObject>;
|
145
|
+
"SubsetNoncesCancelled(address,uint256[])": TypedContractEvent<SubsetNoncesCancelledEvent.InputTuple, SubsetNoncesCancelledEvent.OutputTuple, SubsetNoncesCancelledEvent.OutputObject>;
|
146
|
+
SubsetNoncesCancelled: TypedContractEvent<SubsetNoncesCancelledEvent.InputTuple, SubsetNoncesCancelledEvent.OutputTuple, SubsetNoncesCancelledEvent.OutputObject>;
|
147
|
+
};
|
148
|
+
}
|
@@ -0,0 +1,401 @@
|
|
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 StrategyManagerInterface extends Interface {
|
4
|
+
getFunction(nameOrSignature: "addStrategy" | "affiliateController" | "affiliateRates" | "cancelOwnershipTransfer" | "confirmOwnershipRenouncement" | "confirmOwnershipTransfer" | "initiateOwnershipRenouncement" | "initiateOwnershipTransfer" | "isAffiliateProgramActive" | "isCurrencyAllowed" | "owner" | "ownershipStatus" | "potentialOwner" | "strategyInfo" | "updateAffiliateController" | "updateAffiliateProgramStatus" | "updateAffiliateRate" | "updateCurrencyStatus" | "updateStrategy"): FunctionFragment;
|
5
|
+
getEvent(nameOrSignatureOrTopic: "CancelOwnershipTransfer" | "CurrencyStatusUpdated" | "InitiateOwnershipRenouncement" | "InitiateOwnershipTransfer" | "NewAffiliateController" | "NewAffiliateProgramStatus" | "NewAffiliateRate" | "NewOwner" | "NewStrategy" | "StrategyUpdated"): EventFragment;
|
6
|
+
encodeFunctionData(functionFragment: "addStrategy", values: [
|
7
|
+
BigNumberish,
|
8
|
+
BigNumberish,
|
9
|
+
BigNumberish,
|
10
|
+
BytesLike,
|
11
|
+
boolean,
|
12
|
+
AddressLike
|
13
|
+
]): string;
|
14
|
+
encodeFunctionData(functionFragment: "affiliateController", values?: undefined): string;
|
15
|
+
encodeFunctionData(functionFragment: "affiliateRates", values: [AddressLike]): string;
|
16
|
+
encodeFunctionData(functionFragment: "cancelOwnershipTransfer", values?: undefined): string;
|
17
|
+
encodeFunctionData(functionFragment: "confirmOwnershipRenouncement", values?: undefined): string;
|
18
|
+
encodeFunctionData(functionFragment: "confirmOwnershipTransfer", values?: undefined): string;
|
19
|
+
encodeFunctionData(functionFragment: "initiateOwnershipRenouncement", values?: undefined): string;
|
20
|
+
encodeFunctionData(functionFragment: "initiateOwnershipTransfer", values: [AddressLike]): string;
|
21
|
+
encodeFunctionData(functionFragment: "isAffiliateProgramActive", values?: undefined): string;
|
22
|
+
encodeFunctionData(functionFragment: "isCurrencyAllowed", values: [AddressLike]): string;
|
23
|
+
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
24
|
+
encodeFunctionData(functionFragment: "ownershipStatus", values?: undefined): string;
|
25
|
+
encodeFunctionData(functionFragment: "potentialOwner", values?: undefined): string;
|
26
|
+
encodeFunctionData(functionFragment: "strategyInfo", values: [BigNumberish]): string;
|
27
|
+
encodeFunctionData(functionFragment: "updateAffiliateController", values: [AddressLike]): string;
|
28
|
+
encodeFunctionData(functionFragment: "updateAffiliateProgramStatus", values: [boolean]): string;
|
29
|
+
encodeFunctionData(functionFragment: "updateAffiliateRate", values: [AddressLike, BigNumberish]): string;
|
30
|
+
encodeFunctionData(functionFragment: "updateCurrencyStatus", values: [AddressLike, boolean]): string;
|
31
|
+
encodeFunctionData(functionFragment: "updateStrategy", values: [BigNumberish, boolean, BigNumberish, BigNumberish]): string;
|
32
|
+
decodeFunctionResult(functionFragment: "addStrategy", data: BytesLike): Result;
|
33
|
+
decodeFunctionResult(functionFragment: "affiliateController", data: BytesLike): Result;
|
34
|
+
decodeFunctionResult(functionFragment: "affiliateRates", data: BytesLike): Result;
|
35
|
+
decodeFunctionResult(functionFragment: "cancelOwnershipTransfer", data: BytesLike): Result;
|
36
|
+
decodeFunctionResult(functionFragment: "confirmOwnershipRenouncement", data: BytesLike): Result;
|
37
|
+
decodeFunctionResult(functionFragment: "confirmOwnershipTransfer", data: BytesLike): Result;
|
38
|
+
decodeFunctionResult(functionFragment: "initiateOwnershipRenouncement", data: BytesLike): Result;
|
39
|
+
decodeFunctionResult(functionFragment: "initiateOwnershipTransfer", data: BytesLike): Result;
|
40
|
+
decodeFunctionResult(functionFragment: "isAffiliateProgramActive", data: BytesLike): Result;
|
41
|
+
decodeFunctionResult(functionFragment: "isCurrencyAllowed", data: BytesLike): Result;
|
42
|
+
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
43
|
+
decodeFunctionResult(functionFragment: "ownershipStatus", data: BytesLike): Result;
|
44
|
+
decodeFunctionResult(functionFragment: "potentialOwner", data: BytesLike): Result;
|
45
|
+
decodeFunctionResult(functionFragment: "strategyInfo", data: BytesLike): Result;
|
46
|
+
decodeFunctionResult(functionFragment: "updateAffiliateController", data: BytesLike): Result;
|
47
|
+
decodeFunctionResult(functionFragment: "updateAffiliateProgramStatus", data: BytesLike): Result;
|
48
|
+
decodeFunctionResult(functionFragment: "updateAffiliateRate", data: BytesLike): Result;
|
49
|
+
decodeFunctionResult(functionFragment: "updateCurrencyStatus", data: BytesLike): Result;
|
50
|
+
decodeFunctionResult(functionFragment: "updateStrategy", data: BytesLike): Result;
|
51
|
+
}
|
52
|
+
export declare namespace CancelOwnershipTransferEvent {
|
53
|
+
type InputTuple = [];
|
54
|
+
type OutputTuple = [];
|
55
|
+
interface OutputObject {
|
56
|
+
}
|
57
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
58
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
59
|
+
type Log = TypedEventLog<Event>;
|
60
|
+
type LogDescription = TypedLogDescription<Event>;
|
61
|
+
}
|
62
|
+
export declare namespace CurrencyStatusUpdatedEvent {
|
63
|
+
type InputTuple = [currency: AddressLike, isAllowed: boolean];
|
64
|
+
type OutputTuple = [currency: string, isAllowed: boolean];
|
65
|
+
interface OutputObject {
|
66
|
+
currency: string;
|
67
|
+
isAllowed: boolean;
|
68
|
+
}
|
69
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
70
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
71
|
+
type Log = TypedEventLog<Event>;
|
72
|
+
type LogDescription = TypedLogDescription<Event>;
|
73
|
+
}
|
74
|
+
export declare namespace InitiateOwnershipRenouncementEvent {
|
75
|
+
type InputTuple = [];
|
76
|
+
type OutputTuple = [];
|
77
|
+
interface OutputObject {
|
78
|
+
}
|
79
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
80
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
81
|
+
type Log = TypedEventLog<Event>;
|
82
|
+
type LogDescription = TypedLogDescription<Event>;
|
83
|
+
}
|
84
|
+
export declare namespace InitiateOwnershipTransferEvent {
|
85
|
+
type InputTuple = [
|
86
|
+
previousOwner: AddressLike,
|
87
|
+
potentialOwner: AddressLike
|
88
|
+
];
|
89
|
+
type OutputTuple = [previousOwner: string, potentialOwner: string];
|
90
|
+
interface OutputObject {
|
91
|
+
previousOwner: string;
|
92
|
+
potentialOwner: string;
|
93
|
+
}
|
94
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
95
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
96
|
+
type Log = TypedEventLog<Event>;
|
97
|
+
type LogDescription = TypedLogDescription<Event>;
|
98
|
+
}
|
99
|
+
export declare namespace NewAffiliateControllerEvent {
|
100
|
+
type InputTuple = [affiliateController: AddressLike];
|
101
|
+
type OutputTuple = [affiliateController: string];
|
102
|
+
interface OutputObject {
|
103
|
+
affiliateController: string;
|
104
|
+
}
|
105
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
106
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
107
|
+
type Log = TypedEventLog<Event>;
|
108
|
+
type LogDescription = TypedLogDescription<Event>;
|
109
|
+
}
|
110
|
+
export declare namespace NewAffiliateProgramStatusEvent {
|
111
|
+
type InputTuple = [isActive: boolean];
|
112
|
+
type OutputTuple = [isActive: boolean];
|
113
|
+
interface OutputObject {
|
114
|
+
isActive: boolean;
|
115
|
+
}
|
116
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
117
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
118
|
+
type Log = TypedEventLog<Event>;
|
119
|
+
type LogDescription = TypedLogDescription<Event>;
|
120
|
+
}
|
121
|
+
export declare namespace NewAffiliateRateEvent {
|
122
|
+
type InputTuple = [affiliate: AddressLike, rate: BigNumberish];
|
123
|
+
type OutputTuple = [affiliate: string, rate: bigint];
|
124
|
+
interface OutputObject {
|
125
|
+
affiliate: string;
|
126
|
+
rate: bigint;
|
127
|
+
}
|
128
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
129
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
130
|
+
type Log = TypedEventLog<Event>;
|
131
|
+
type LogDescription = TypedLogDescription<Event>;
|
132
|
+
}
|
133
|
+
export declare namespace NewOwnerEvent {
|
134
|
+
type InputTuple = [newOwner: AddressLike];
|
135
|
+
type OutputTuple = [newOwner: string];
|
136
|
+
interface OutputObject {
|
137
|
+
newOwner: string;
|
138
|
+
}
|
139
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
140
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
141
|
+
type Log = TypedEventLog<Event>;
|
142
|
+
type LogDescription = TypedLogDescription<Event>;
|
143
|
+
}
|
144
|
+
export declare namespace NewStrategyEvent {
|
145
|
+
type InputTuple = [
|
146
|
+
strategyId: BigNumberish,
|
147
|
+
standardProtocolFeeBp: BigNumberish,
|
148
|
+
minTotalFeeBp: BigNumberish,
|
149
|
+
maxProtocolFeeBp: BigNumberish,
|
150
|
+
selector: BytesLike,
|
151
|
+
isMakerBid: boolean,
|
152
|
+
implementation: AddressLike
|
153
|
+
];
|
154
|
+
type OutputTuple = [
|
155
|
+
strategyId: bigint,
|
156
|
+
standardProtocolFeeBp: bigint,
|
157
|
+
minTotalFeeBp: bigint,
|
158
|
+
maxProtocolFeeBp: bigint,
|
159
|
+
selector: string,
|
160
|
+
isMakerBid: boolean,
|
161
|
+
implementation: string
|
162
|
+
];
|
163
|
+
interface OutputObject {
|
164
|
+
strategyId: bigint;
|
165
|
+
standardProtocolFeeBp: bigint;
|
166
|
+
minTotalFeeBp: bigint;
|
167
|
+
maxProtocolFeeBp: bigint;
|
168
|
+
selector: string;
|
169
|
+
isMakerBid: boolean;
|
170
|
+
implementation: string;
|
171
|
+
}
|
172
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
173
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
174
|
+
type Log = TypedEventLog<Event>;
|
175
|
+
type LogDescription = TypedLogDescription<Event>;
|
176
|
+
}
|
177
|
+
export declare namespace StrategyUpdatedEvent {
|
178
|
+
type InputTuple = [
|
179
|
+
strategyId: BigNumberish,
|
180
|
+
isActive: boolean,
|
181
|
+
standardProtocolFeeBp: BigNumberish,
|
182
|
+
minTotalFeeBp: BigNumberish
|
183
|
+
];
|
184
|
+
type OutputTuple = [
|
185
|
+
strategyId: bigint,
|
186
|
+
isActive: boolean,
|
187
|
+
standardProtocolFeeBp: bigint,
|
188
|
+
minTotalFeeBp: bigint
|
189
|
+
];
|
190
|
+
interface OutputObject {
|
191
|
+
strategyId: bigint;
|
192
|
+
isActive: boolean;
|
193
|
+
standardProtocolFeeBp: bigint;
|
194
|
+
minTotalFeeBp: bigint;
|
195
|
+
}
|
196
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
197
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
198
|
+
type Log = TypedEventLog<Event>;
|
199
|
+
type LogDescription = TypedLogDescription<Event>;
|
200
|
+
}
|
201
|
+
export interface StrategyManager extends BaseContract {
|
202
|
+
connect(runner?: ContractRunner | null): StrategyManager;
|
203
|
+
waitForDeployment(): Promise<this>;
|
204
|
+
interface: StrategyManagerInterface;
|
205
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
206
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
207
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
208
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
209
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
210
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
211
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
212
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
213
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
214
|
+
addStrategy: TypedContractMethod<[
|
215
|
+
standardProtocolFeeBp: BigNumberish,
|
216
|
+
minTotalFeeBp: BigNumberish,
|
217
|
+
maxProtocolFeeBp: BigNumberish,
|
218
|
+
selector: BytesLike,
|
219
|
+
isMakerBid: boolean,
|
220
|
+
implementation: AddressLike
|
221
|
+
], [
|
222
|
+
void
|
223
|
+
], "nonpayable">;
|
224
|
+
affiliateController: TypedContractMethod<[], [string], "view">;
|
225
|
+
affiliateRates: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
226
|
+
cancelOwnershipTransfer: TypedContractMethod<[], [void], "nonpayable">;
|
227
|
+
confirmOwnershipRenouncement: TypedContractMethod<[], [void], "nonpayable">;
|
228
|
+
confirmOwnershipTransfer: TypedContractMethod<[], [void], "nonpayable">;
|
229
|
+
initiateOwnershipRenouncement: TypedContractMethod<[], [void], "nonpayable">;
|
230
|
+
initiateOwnershipTransfer: TypedContractMethod<[
|
231
|
+
newPotentialOwner: AddressLike
|
232
|
+
], [
|
233
|
+
void
|
234
|
+
], "nonpayable">;
|
235
|
+
isAffiliateProgramActive: TypedContractMethod<[], [boolean], "view">;
|
236
|
+
isCurrencyAllowed: TypedContractMethod<[
|
237
|
+
arg0: AddressLike
|
238
|
+
], [
|
239
|
+
boolean
|
240
|
+
], "view">;
|
241
|
+
owner: TypedContractMethod<[], [string], "view">;
|
242
|
+
ownershipStatus: TypedContractMethod<[], [bigint], "view">;
|
243
|
+
potentialOwner: TypedContractMethod<[], [string], "view">;
|
244
|
+
strategyInfo: TypedContractMethod<[
|
245
|
+
arg0: BigNumberish
|
246
|
+
], [
|
247
|
+
[
|
248
|
+
boolean,
|
249
|
+
bigint,
|
250
|
+
bigint,
|
251
|
+
bigint,
|
252
|
+
string,
|
253
|
+
boolean,
|
254
|
+
string
|
255
|
+
] & {
|
256
|
+
isActive: boolean;
|
257
|
+
standardProtocolFeeBp: bigint;
|
258
|
+
minTotalFeeBp: bigint;
|
259
|
+
maxProtocolFeeBp: bigint;
|
260
|
+
selector: string;
|
261
|
+
isMakerBid: boolean;
|
262
|
+
implementation: string;
|
263
|
+
}
|
264
|
+
], "view">;
|
265
|
+
updateAffiliateController: TypedContractMethod<[
|
266
|
+
newAffiliateController: AddressLike
|
267
|
+
], [
|
268
|
+
void
|
269
|
+
], "nonpayable">;
|
270
|
+
updateAffiliateProgramStatus: TypedContractMethod<[
|
271
|
+
isActive: boolean
|
272
|
+
], [
|
273
|
+
void
|
274
|
+
], "nonpayable">;
|
275
|
+
updateAffiliateRate: TypedContractMethod<[
|
276
|
+
affiliate: AddressLike,
|
277
|
+
bp: BigNumberish
|
278
|
+
], [
|
279
|
+
void
|
280
|
+
], "nonpayable">;
|
281
|
+
updateCurrencyStatus: TypedContractMethod<[
|
282
|
+
currency: AddressLike,
|
283
|
+
isAllowed: boolean
|
284
|
+
], [
|
285
|
+
void
|
286
|
+
], "nonpayable">;
|
287
|
+
updateStrategy: TypedContractMethod<[
|
288
|
+
strategyId: BigNumberish,
|
289
|
+
isActive: boolean,
|
290
|
+
newStandardProtocolFee: BigNumberish,
|
291
|
+
newMinTotalFee: BigNumberish
|
292
|
+
], [
|
293
|
+
void
|
294
|
+
], "nonpayable">;
|
295
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
296
|
+
getFunction(nameOrSignature: "addStrategy"): TypedContractMethod<[
|
297
|
+
standardProtocolFeeBp: BigNumberish,
|
298
|
+
minTotalFeeBp: BigNumberish,
|
299
|
+
maxProtocolFeeBp: BigNumberish,
|
300
|
+
selector: BytesLike,
|
301
|
+
isMakerBid: boolean,
|
302
|
+
implementation: AddressLike
|
303
|
+
], [
|
304
|
+
void
|
305
|
+
], "nonpayable">;
|
306
|
+
getFunction(nameOrSignature: "affiliateController"): TypedContractMethod<[], [string], "view">;
|
307
|
+
getFunction(nameOrSignature: "affiliateRates"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
308
|
+
getFunction(nameOrSignature: "cancelOwnershipTransfer"): TypedContractMethod<[], [void], "nonpayable">;
|
309
|
+
getFunction(nameOrSignature: "confirmOwnershipRenouncement"): TypedContractMethod<[], [void], "nonpayable">;
|
310
|
+
getFunction(nameOrSignature: "confirmOwnershipTransfer"): TypedContractMethod<[], [void], "nonpayable">;
|
311
|
+
getFunction(nameOrSignature: "initiateOwnershipRenouncement"): TypedContractMethod<[], [void], "nonpayable">;
|
312
|
+
getFunction(nameOrSignature: "initiateOwnershipTransfer"): TypedContractMethod<[
|
313
|
+
newPotentialOwner: AddressLike
|
314
|
+
], [
|
315
|
+
void
|
316
|
+
], "nonpayable">;
|
317
|
+
getFunction(nameOrSignature: "isAffiliateProgramActive"): TypedContractMethod<[], [boolean], "view">;
|
318
|
+
getFunction(nameOrSignature: "isCurrencyAllowed"): TypedContractMethod<[arg0: AddressLike], [boolean], "view">;
|
319
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
320
|
+
getFunction(nameOrSignature: "ownershipStatus"): TypedContractMethod<[], [bigint], "view">;
|
321
|
+
getFunction(nameOrSignature: "potentialOwner"): TypedContractMethod<[], [string], "view">;
|
322
|
+
getFunction(nameOrSignature: "strategyInfo"): TypedContractMethod<[
|
323
|
+
arg0: BigNumberish
|
324
|
+
], [
|
325
|
+
[
|
326
|
+
boolean,
|
327
|
+
bigint,
|
328
|
+
bigint,
|
329
|
+
bigint,
|
330
|
+
string,
|
331
|
+
boolean,
|
332
|
+
string
|
333
|
+
] & {
|
334
|
+
isActive: boolean;
|
335
|
+
standardProtocolFeeBp: bigint;
|
336
|
+
minTotalFeeBp: bigint;
|
337
|
+
maxProtocolFeeBp: bigint;
|
338
|
+
selector: string;
|
339
|
+
isMakerBid: boolean;
|
340
|
+
implementation: string;
|
341
|
+
}
|
342
|
+
], "view">;
|
343
|
+
getFunction(nameOrSignature: "updateAffiliateController"): TypedContractMethod<[
|
344
|
+
newAffiliateController: AddressLike
|
345
|
+
], [
|
346
|
+
void
|
347
|
+
], "nonpayable">;
|
348
|
+
getFunction(nameOrSignature: "updateAffiliateProgramStatus"): TypedContractMethod<[isActive: boolean], [void], "nonpayable">;
|
349
|
+
getFunction(nameOrSignature: "updateAffiliateRate"): TypedContractMethod<[
|
350
|
+
affiliate: AddressLike,
|
351
|
+
bp: BigNumberish
|
352
|
+
], [
|
353
|
+
void
|
354
|
+
], "nonpayable">;
|
355
|
+
getFunction(nameOrSignature: "updateCurrencyStatus"): TypedContractMethod<[
|
356
|
+
currency: AddressLike,
|
357
|
+
isAllowed: boolean
|
358
|
+
], [
|
359
|
+
void
|
360
|
+
], "nonpayable">;
|
361
|
+
getFunction(nameOrSignature: "updateStrategy"): TypedContractMethod<[
|
362
|
+
strategyId: BigNumberish,
|
363
|
+
isActive: boolean,
|
364
|
+
newStandardProtocolFee: BigNumberish,
|
365
|
+
newMinTotalFee: BigNumberish
|
366
|
+
], [
|
367
|
+
void
|
368
|
+
], "nonpayable">;
|
369
|
+
getEvent(key: "CancelOwnershipTransfer"): TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
|
370
|
+
getEvent(key: "CurrencyStatusUpdated"): TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
|
371
|
+
getEvent(key: "InitiateOwnershipRenouncement"): TypedContractEvent<InitiateOwnershipRenouncementEvent.InputTuple, InitiateOwnershipRenouncementEvent.OutputTuple, InitiateOwnershipRenouncementEvent.OutputObject>;
|
372
|
+
getEvent(key: "InitiateOwnershipTransfer"): TypedContractEvent<InitiateOwnershipTransferEvent.InputTuple, InitiateOwnershipTransferEvent.OutputTuple, InitiateOwnershipTransferEvent.OutputObject>;
|
373
|
+
getEvent(key: "NewAffiliateController"): TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
|
374
|
+
getEvent(key: "NewAffiliateProgramStatus"): TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
|
375
|
+
getEvent(key: "NewAffiliateRate"): TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
|
376
|
+
getEvent(key: "NewOwner"): TypedContractEvent<NewOwnerEvent.InputTuple, NewOwnerEvent.OutputTuple, NewOwnerEvent.OutputObject>;
|
377
|
+
getEvent(key: "NewStrategy"): TypedContractEvent<NewStrategyEvent.InputTuple, NewStrategyEvent.OutputTuple, NewStrategyEvent.OutputObject>;
|
378
|
+
getEvent(key: "StrategyUpdated"): TypedContractEvent<StrategyUpdatedEvent.InputTuple, StrategyUpdatedEvent.OutputTuple, StrategyUpdatedEvent.OutputObject>;
|
379
|
+
filters: {
|
380
|
+
"CancelOwnershipTransfer()": TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
|
381
|
+
CancelOwnershipTransfer: TypedContractEvent<CancelOwnershipTransferEvent.InputTuple, CancelOwnershipTransferEvent.OutputTuple, CancelOwnershipTransferEvent.OutputObject>;
|
382
|
+
"CurrencyStatusUpdated(address,bool)": TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
|
383
|
+
CurrencyStatusUpdated: TypedContractEvent<CurrencyStatusUpdatedEvent.InputTuple, CurrencyStatusUpdatedEvent.OutputTuple, CurrencyStatusUpdatedEvent.OutputObject>;
|
384
|
+
"InitiateOwnershipRenouncement()": TypedContractEvent<InitiateOwnershipRenouncementEvent.InputTuple, InitiateOwnershipRenouncementEvent.OutputTuple, InitiateOwnershipRenouncementEvent.OutputObject>;
|
385
|
+
InitiateOwnershipRenouncement: TypedContractEvent<InitiateOwnershipRenouncementEvent.InputTuple, InitiateOwnershipRenouncementEvent.OutputTuple, InitiateOwnershipRenouncementEvent.OutputObject>;
|
386
|
+
"InitiateOwnershipTransfer(address,address)": TypedContractEvent<InitiateOwnershipTransferEvent.InputTuple, InitiateOwnershipTransferEvent.OutputTuple, InitiateOwnershipTransferEvent.OutputObject>;
|
387
|
+
InitiateOwnershipTransfer: TypedContractEvent<InitiateOwnershipTransferEvent.InputTuple, InitiateOwnershipTransferEvent.OutputTuple, InitiateOwnershipTransferEvent.OutputObject>;
|
388
|
+
"NewAffiliateController(address)": TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
|
389
|
+
NewAffiliateController: TypedContractEvent<NewAffiliateControllerEvent.InputTuple, NewAffiliateControllerEvent.OutputTuple, NewAffiliateControllerEvent.OutputObject>;
|
390
|
+
"NewAffiliateProgramStatus(bool)": TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
|
391
|
+
NewAffiliateProgramStatus: TypedContractEvent<NewAffiliateProgramStatusEvent.InputTuple, NewAffiliateProgramStatusEvent.OutputTuple, NewAffiliateProgramStatusEvent.OutputObject>;
|
392
|
+
"NewAffiliateRate(address,uint256)": TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
|
393
|
+
NewAffiliateRate: TypedContractEvent<NewAffiliateRateEvent.InputTuple, NewAffiliateRateEvent.OutputTuple, NewAffiliateRateEvent.OutputObject>;
|
394
|
+
"NewOwner(address)": TypedContractEvent<NewOwnerEvent.InputTuple, NewOwnerEvent.OutputTuple, NewOwnerEvent.OutputObject>;
|
395
|
+
NewOwner: TypedContractEvent<NewOwnerEvent.InputTuple, NewOwnerEvent.OutputTuple, NewOwnerEvent.OutputObject>;
|
396
|
+
"NewStrategy(uint256,uint16,uint16,uint16,bytes4,bool,address)": TypedContractEvent<NewStrategyEvent.InputTuple, NewStrategyEvent.OutputTuple, NewStrategyEvent.OutputObject>;
|
397
|
+
NewStrategy: TypedContractEvent<NewStrategyEvent.InputTuple, NewStrategyEvent.OutputTuple, NewStrategyEvent.OutputObject>;
|
398
|
+
"StrategyUpdated(uint256,bool,uint16,uint16)": TypedContractEvent<StrategyUpdatedEvent.InputTuple, StrategyUpdatedEvent.OutputTuple, StrategyUpdatedEvent.OutputObject>;
|
399
|
+
StrategyUpdated: TypedContractEvent<StrategyUpdatedEvent.InputTuple, StrategyUpdatedEvent.OutputTuple, StrategyUpdatedEvent.OutputObject>;
|
400
|
+
};
|
401
|
+
}
|