@imtbl/x-client 2.0.0-alpha.0
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/LICENSE.md +176 -0
- package/README.md +53 -0
- package/dist/browser/index.js +2 -0
- package/dist/node/index.cjs +2 -0
- package/dist/node/index.js +2 -0
- package/dist/types/IMXClient.d.ts +334 -0
- package/dist/types/config/config.test.d.ts +1 -0
- package/dist/types/config/index.d.ts +77 -0
- package/dist/types/contracts/@openzeppelin/contracts/index.d.ts +4 -0
- package/dist/types/contracts/@openzeppelin/contracts/token/ERC20/IERC20.d.ts +129 -0
- package/dist/types/contracts/@openzeppelin/contracts/token/ERC20/index.d.ts +1 -0
- package/dist/types/contracts/@openzeppelin/contracts/token/ERC721/IERC721.d.ts +199 -0
- package/dist/types/contracts/@openzeppelin/contracts/token/ERC721/index.d.ts +1 -0
- package/dist/types/contracts/@openzeppelin/contracts/token/index.d.ts +4 -0
- package/dist/types/contracts/@openzeppelin/contracts/utils/index.d.ts +2 -0
- package/dist/types/contracts/@openzeppelin/contracts/utils/introspection/IERC165.d.ts +29 -0
- package/dist/types/contracts/@openzeppelin/contracts/utils/introspection/index.d.ts +1 -0
- package/dist/types/contracts/@openzeppelin/index.d.ts +2 -0
- package/dist/types/contracts/common.d.ts +50 -0
- package/dist/types/contracts/contracts/index.d.ts +4 -0
- package/dist/types/contracts/contracts/v3/Core.d.ts +1088 -0
- package/dist/types/contracts/contracts/v3/Registration.d.ts +169 -0
- package/dist/types/contracts/contracts/v3/index.d.ts +2 -0
- package/dist/types/contracts/contracts/v4/CoreV4.d.ts +1650 -0
- package/dist/types/contracts/contracts/v4/RegistrationV4.d.ts +111 -0
- package/dist/types/contracts/contracts/v4/index.d.ts +2 -0
- package/dist/types/contracts/factories/@openzeppelin/contracts/index.d.ts +2 -0
- package/dist/types/contracts/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts +147 -0
- package/dist/types/contracts/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +1 -0
- package/dist/types/contracts/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.d.ts +227 -0
- package/dist/types/contracts/factories/@openzeppelin/contracts/token/ERC721/index.d.ts +1 -0
- package/dist/types/contracts/factories/@openzeppelin/contracts/token/index.d.ts +2 -0
- package/dist/types/contracts/factories/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/contracts/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.d.ts +21 -0
- package/dist/types/contracts/factories/@openzeppelin/contracts/utils/introspection/index.d.ts +1 -0
- package/dist/types/contracts/factories/@openzeppelin/index.d.ts +1 -0
- package/dist/types/contracts/factories/contracts/index.d.ts +2 -0
- package/dist/types/contracts/factories/contracts/v3/Core__factory.d.ts +1254 -0
- package/dist/types/contracts/factories/contracts/v3/Registration__factory.d.ts +214 -0
- package/dist/types/contracts/factories/contracts/v3/index.d.ts +2 -0
- package/dist/types/contracts/factories/contracts/v4/CoreV4__factory.d.ts +1890 -0
- package/dist/types/contracts/factories/contracts/v4/RegistrationV4__factory.d.ts +168 -0
- package/dist/types/contracts/factories/contracts/v4/index.d.ts +2 -0
- package/dist/types/contracts/factories/index.d.ts +2 -0
- package/dist/types/contracts/index.d.ts +19 -0
- package/dist/types/exportContracts.d.ts +2 -0
- package/dist/types/exportUtils.d.ts +1 -0
- package/dist/types/imx.test.d.ts +1 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/types/api.d.ts +223 -0
- package/dist/types/types/errors.d.ts +9 -0
- package/dist/types/types/index.d.ts +6 -0
- package/dist/types/types/requests.d.ts +53 -0
- package/dist/types/types/signers.d.ts +37 -0
- package/dist/types/types/tokens.d.ts +51 -0
- package/dist/types/types/transfers.d.ts +17 -0
- package/dist/types/utils/convertToSignableToken.d.ts +8 -0
- package/dist/types/utils/crypto/crypto.d.ts +16 -0
- package/dist/types/utils/crypto/crypto.test.d.ts +1 -0
- package/dist/types/utils/crypto/index.d.ts +1 -0
- package/dist/types/utils/formatError.d.ts +7 -0
- package/dist/types/utils/formatError.test.d.ts +1 -0
- package/dist/types/utils/index.d.ts +5 -0
- package/dist/types/utils/stark/errors.d.ts +3 -0
- package/dist/types/utils/stark/getStarkPublicKeyFromImx.d.ts +12 -0
- package/dist/types/utils/stark/legacy/crypto/constants.d.ts +27 -0
- package/dist/types/utils/stark/legacy/crypto/crypto.d.ts +14 -0
- package/dist/types/utils/stark/legacy/crypto/index.d.ts +2 -0
- package/dist/types/utils/stark/legacy/crypto/points.d.ts +1 -0
- package/dist/types/utils/stark/legacy/crypto/types.d.ts +18 -0
- package/dist/types/utils/stark/starkCurve.d.ts +18 -0
- package/dist/types/utils/stark/starkCurve.test.d.ts +1 -0
- package/dist/types/utils/stark/starkSigner.d.ts +17 -0
- package/dist/types/utils/stark/starkSigner.test.d.ts +1 -0
- package/dist/types/workflows/errors.d.ts +3 -0
- package/dist/types/workflows/exchangeTransfers.d.ts +8 -0
- package/dist/types/workflows/index.d.ts +1 -0
- package/dist/types/workflows/minting.d.ts +4 -0
- package/dist/types/workflows/orders.d.ts +13 -0
- package/dist/types/workflows/trades.d.ts +8 -0
- package/dist/types/workflows/workflows.d.ts +29 -0
- package/package.json +70 -0
|
@@ -0,0 +1,1088 @@
|
|
|
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 CoreInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "announceAvailabilityVerifierRemovalIntent" | "announceVerifierRemovalIntent" | "deposit(uint256,uint256,uint256)" | "deposit(uint256,uint256,uint256,uint256)" | "depositCancel" | "depositERC20" | "depositEth" | "depositNft" | "depositNftReclaim" | "depositReclaim" | "escape" | "freezeRequest" | "fullWithdrawalRequest" | "getAssetInfo" | "getCancellationRequest" | "getDepositBalance" | "getEthKey" | "getFullWithdrawalRequest" | "getLastBatchId" | "getOrderRoot" | "getOrderTreeHeight" | "getQuantizedDepositBalance" | "getQuantum" | "getRegisteredAvailabilityVerifiers" | "getRegisteredVerifiers" | "getSequenceNumber" | "getVaultRoot" | "getVaultTreeHeight" | "getWithdrawalBalance" | "isAvailabilityVerifier" | "isFrozen" | "isOperator" | "isTokenAdmin" | "isUserAdmin" | "isVerifier" | "mainAcceptGovernance" | "mainCancelNomination" | "mainIsGovernor" | "mainNominateNewGovernor" | "mainRemoveGovernor" | "onERC721Received" | "registerAndDepositERC20" | "registerAndDepositEth" | "registerAvailabilityVerifier" | "registerOperator" | "registerToken" | "registerTokenAdmin" | "registerUser" | "registerUserAdmin" | "registerVerifier" | "removeAvailabilityVerifier" | "removeVerifier" | "unFreeze" | "unregisterOperator" | "unregisterTokenAdmin" | "unregisterUserAdmin" | "updateState" | "withdraw" | "withdrawAndMint" | "withdrawNft" | "withdrawNftTo" | "withdrawTo"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "LogDeposit" | "LogDepositCancel" | "LogDepositCancelReclaimed" | "LogDepositNftCancelReclaimed" | "LogFullWithdrawalRequest" | "LogMintWithdrawalPerformed" | "LogMintableWithdrawalAllowed" | "LogNftDeposit" | "LogNftWithdrawalAllowed" | "LogNftWithdrawalPerformed" | "LogRootUpdate" | "LogStateTransitionFact" | "LogVaultBalanceChangeApplied" | "LogWithdrawalAllowed" | "LogWithdrawalPerformed"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "announceAvailabilityVerifierRemovalIntent", values: [AddressLike]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "announceVerifierRemovalIntent", values: [AddressLike]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "deposit(uint256,uint256,uint256)", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "deposit(uint256,uint256,uint256,uint256)", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "depositCancel", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "depositERC20", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "depositEth", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "depositNft", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "depositNftReclaim", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "depositReclaim", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "escape", values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "freezeRequest", values: [BigNumberish, BigNumberish]): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "fullWithdrawalRequest", values: [BigNumberish, BigNumberish]): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "getAssetInfo", values: [BigNumberish]): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "getCancellationRequest", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
21
|
+
encodeFunctionData(functionFragment: "getDepositBalance", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "getEthKey", values: [BigNumberish]): string;
|
|
23
|
+
encodeFunctionData(functionFragment: "getFullWithdrawalRequest", values: [BigNumberish, BigNumberish]): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "getLastBatchId", values?: undefined): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "getOrderRoot", values?: undefined): string;
|
|
26
|
+
encodeFunctionData(functionFragment: "getOrderTreeHeight", values?: undefined): string;
|
|
27
|
+
encodeFunctionData(functionFragment: "getQuantizedDepositBalance", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "getQuantum", values: [BigNumberish]): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "getRegisteredAvailabilityVerifiers", values?: undefined): string;
|
|
30
|
+
encodeFunctionData(functionFragment: "getRegisteredVerifiers", values?: undefined): string;
|
|
31
|
+
encodeFunctionData(functionFragment: "getSequenceNumber", values?: undefined): string;
|
|
32
|
+
encodeFunctionData(functionFragment: "getVaultRoot", values?: undefined): string;
|
|
33
|
+
encodeFunctionData(functionFragment: "getVaultTreeHeight", values?: undefined): string;
|
|
34
|
+
encodeFunctionData(functionFragment: "getWithdrawalBalance", values: [BigNumberish, BigNumberish]): string;
|
|
35
|
+
encodeFunctionData(functionFragment: "isAvailabilityVerifier", values: [AddressLike]): string;
|
|
36
|
+
encodeFunctionData(functionFragment: "isFrozen", values?: undefined): string;
|
|
37
|
+
encodeFunctionData(functionFragment: "isOperator", values: [AddressLike]): string;
|
|
38
|
+
encodeFunctionData(functionFragment: "isTokenAdmin", values: [AddressLike]): string;
|
|
39
|
+
encodeFunctionData(functionFragment: "isUserAdmin", values: [AddressLike]): string;
|
|
40
|
+
encodeFunctionData(functionFragment: "isVerifier", values: [AddressLike]): string;
|
|
41
|
+
encodeFunctionData(functionFragment: "mainAcceptGovernance", values?: undefined): string;
|
|
42
|
+
encodeFunctionData(functionFragment: "mainCancelNomination", values?: undefined): string;
|
|
43
|
+
encodeFunctionData(functionFragment: "mainIsGovernor", values: [AddressLike]): string;
|
|
44
|
+
encodeFunctionData(functionFragment: "mainNominateNewGovernor", values: [AddressLike]): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "mainRemoveGovernor", values: [AddressLike]): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "onERC721Received", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
47
|
+
encodeFunctionData(functionFragment: "registerAndDepositERC20", values: [
|
|
48
|
+
AddressLike,
|
|
49
|
+
BigNumberish,
|
|
50
|
+
BytesLike,
|
|
51
|
+
BigNumberish,
|
|
52
|
+
BigNumberish,
|
|
53
|
+
BigNumberish
|
|
54
|
+
]): string;
|
|
55
|
+
encodeFunctionData(functionFragment: "registerAndDepositEth", values: [AddressLike, BigNumberish, BytesLike, BigNumberish, BigNumberish]): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "registerAvailabilityVerifier", values: [AddressLike, string]): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "registerOperator", values: [AddressLike]): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "registerToken", values: [BigNumberish, BytesLike]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "registerTokenAdmin", values: [AddressLike]): string;
|
|
60
|
+
encodeFunctionData(functionFragment: "registerUser", values: [AddressLike, BigNumberish, BytesLike]): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "registerUserAdmin", values: [AddressLike]): string;
|
|
62
|
+
encodeFunctionData(functionFragment: "registerVerifier", values: [AddressLike, string]): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "removeAvailabilityVerifier", values: [AddressLike]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "removeVerifier", values: [AddressLike]): string;
|
|
65
|
+
encodeFunctionData(functionFragment: "unFreeze", values?: undefined): string;
|
|
66
|
+
encodeFunctionData(functionFragment: "unregisterOperator", values: [AddressLike]): string;
|
|
67
|
+
encodeFunctionData(functionFragment: "unregisterTokenAdmin", values: [AddressLike]): string;
|
|
68
|
+
encodeFunctionData(functionFragment: "unregisterUserAdmin", values: [AddressLike]): string;
|
|
69
|
+
encodeFunctionData(functionFragment: "updateState", values: [BigNumberish[], BigNumberish[]]): string;
|
|
70
|
+
encodeFunctionData(functionFragment: "withdraw", values: [BigNumberish, BigNumberish]): string;
|
|
71
|
+
encodeFunctionData(functionFragment: "withdrawAndMint", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
72
|
+
encodeFunctionData(functionFragment: "withdrawNft", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
73
|
+
encodeFunctionData(functionFragment: "withdrawNftTo", values: [BigNumberish, BigNumberish, BigNumberish, AddressLike]): string;
|
|
74
|
+
encodeFunctionData(functionFragment: "withdrawTo", values: [BigNumberish, BigNumberish, AddressLike]): string;
|
|
75
|
+
decodeFunctionResult(functionFragment: "announceAvailabilityVerifierRemovalIntent", data: BytesLike): Result;
|
|
76
|
+
decodeFunctionResult(functionFragment: "announceVerifierRemovalIntent", data: BytesLike): Result;
|
|
77
|
+
decodeFunctionResult(functionFragment: "deposit(uint256,uint256,uint256)", data: BytesLike): Result;
|
|
78
|
+
decodeFunctionResult(functionFragment: "deposit(uint256,uint256,uint256,uint256)", data: BytesLike): Result;
|
|
79
|
+
decodeFunctionResult(functionFragment: "depositCancel", data: BytesLike): Result;
|
|
80
|
+
decodeFunctionResult(functionFragment: "depositERC20", data: BytesLike): Result;
|
|
81
|
+
decodeFunctionResult(functionFragment: "depositEth", data: BytesLike): Result;
|
|
82
|
+
decodeFunctionResult(functionFragment: "depositNft", data: BytesLike): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: "depositNftReclaim", data: BytesLike): Result;
|
|
84
|
+
decodeFunctionResult(functionFragment: "depositReclaim", data: BytesLike): Result;
|
|
85
|
+
decodeFunctionResult(functionFragment: "escape", data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: "freezeRequest", data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: "fullWithdrawalRequest", data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: "getAssetInfo", data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: "getCancellationRequest", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "getDepositBalance", data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(functionFragment: "getEthKey", data: BytesLike): Result;
|
|
92
|
+
decodeFunctionResult(functionFragment: "getFullWithdrawalRequest", data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: "getLastBatchId", data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: "getOrderRoot", data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: "getOrderTreeHeight", data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: "getQuantizedDepositBalance", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "getQuantum", data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: "getRegisteredAvailabilityVerifiers", data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: "getRegisteredVerifiers", data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: "getSequenceNumber", data: BytesLike): Result;
|
|
101
|
+
decodeFunctionResult(functionFragment: "getVaultRoot", data: BytesLike): Result;
|
|
102
|
+
decodeFunctionResult(functionFragment: "getVaultTreeHeight", data: BytesLike): Result;
|
|
103
|
+
decodeFunctionResult(functionFragment: "getWithdrawalBalance", data: BytesLike): Result;
|
|
104
|
+
decodeFunctionResult(functionFragment: "isAvailabilityVerifier", data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(functionFragment: "isFrozen", data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: "isOperator", data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: "isTokenAdmin", data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: "isUserAdmin", data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "isVerifier", data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(functionFragment: "mainAcceptGovernance", data: BytesLike): Result;
|
|
111
|
+
decodeFunctionResult(functionFragment: "mainCancelNomination", data: BytesLike): Result;
|
|
112
|
+
decodeFunctionResult(functionFragment: "mainIsGovernor", data: BytesLike): Result;
|
|
113
|
+
decodeFunctionResult(functionFragment: "mainNominateNewGovernor", data: BytesLike): Result;
|
|
114
|
+
decodeFunctionResult(functionFragment: "mainRemoveGovernor", data: BytesLike): Result;
|
|
115
|
+
decodeFunctionResult(functionFragment: "onERC721Received", data: BytesLike): Result;
|
|
116
|
+
decodeFunctionResult(functionFragment: "registerAndDepositERC20", data: BytesLike): Result;
|
|
117
|
+
decodeFunctionResult(functionFragment: "registerAndDepositEth", data: BytesLike): Result;
|
|
118
|
+
decodeFunctionResult(functionFragment: "registerAvailabilityVerifier", data: BytesLike): Result;
|
|
119
|
+
decodeFunctionResult(functionFragment: "registerOperator", data: BytesLike): Result;
|
|
120
|
+
decodeFunctionResult(functionFragment: "registerToken", data: BytesLike): Result;
|
|
121
|
+
decodeFunctionResult(functionFragment: "registerTokenAdmin", data: BytesLike): Result;
|
|
122
|
+
decodeFunctionResult(functionFragment: "registerUser", data: BytesLike): Result;
|
|
123
|
+
decodeFunctionResult(functionFragment: "registerUserAdmin", data: BytesLike): Result;
|
|
124
|
+
decodeFunctionResult(functionFragment: "registerVerifier", data: BytesLike): Result;
|
|
125
|
+
decodeFunctionResult(functionFragment: "removeAvailabilityVerifier", data: BytesLike): Result;
|
|
126
|
+
decodeFunctionResult(functionFragment: "removeVerifier", data: BytesLike): Result;
|
|
127
|
+
decodeFunctionResult(functionFragment: "unFreeze", data: BytesLike): Result;
|
|
128
|
+
decodeFunctionResult(functionFragment: "unregisterOperator", data: BytesLike): Result;
|
|
129
|
+
decodeFunctionResult(functionFragment: "unregisterTokenAdmin", data: BytesLike): Result;
|
|
130
|
+
decodeFunctionResult(functionFragment: "unregisterUserAdmin", data: BytesLike): Result;
|
|
131
|
+
decodeFunctionResult(functionFragment: "updateState", data: BytesLike): Result;
|
|
132
|
+
decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
|
|
133
|
+
decodeFunctionResult(functionFragment: "withdrawAndMint", data: BytesLike): Result;
|
|
134
|
+
decodeFunctionResult(functionFragment: "withdrawNft", data: BytesLike): Result;
|
|
135
|
+
decodeFunctionResult(functionFragment: "withdrawNftTo", data: BytesLike): Result;
|
|
136
|
+
decodeFunctionResult(functionFragment: "withdrawTo", data: BytesLike): Result;
|
|
137
|
+
}
|
|
138
|
+
export declare namespace LogDepositEvent {
|
|
139
|
+
type InputTuple = [
|
|
140
|
+
depositorEthKey: AddressLike,
|
|
141
|
+
starkKey: BigNumberish,
|
|
142
|
+
vaultId: BigNumberish,
|
|
143
|
+
assetType: BigNumberish,
|
|
144
|
+
nonQuantizedAmount: BigNumberish,
|
|
145
|
+
quantizedAmount: BigNumberish
|
|
146
|
+
];
|
|
147
|
+
type OutputTuple = [
|
|
148
|
+
depositorEthKey: string,
|
|
149
|
+
starkKey: bigint,
|
|
150
|
+
vaultId: bigint,
|
|
151
|
+
assetType: bigint,
|
|
152
|
+
nonQuantizedAmount: bigint,
|
|
153
|
+
quantizedAmount: bigint
|
|
154
|
+
];
|
|
155
|
+
interface OutputObject {
|
|
156
|
+
depositorEthKey: string;
|
|
157
|
+
starkKey: bigint;
|
|
158
|
+
vaultId: bigint;
|
|
159
|
+
assetType: bigint;
|
|
160
|
+
nonQuantizedAmount: bigint;
|
|
161
|
+
quantizedAmount: bigint;
|
|
162
|
+
}
|
|
163
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
164
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
165
|
+
type Log = TypedEventLog<Event>;
|
|
166
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
167
|
+
}
|
|
168
|
+
export declare namespace LogDepositCancelEvent {
|
|
169
|
+
type InputTuple = [
|
|
170
|
+
starkKey: BigNumberish,
|
|
171
|
+
vaultId: BigNumberish,
|
|
172
|
+
assetId: BigNumberish
|
|
173
|
+
];
|
|
174
|
+
type OutputTuple = [
|
|
175
|
+
starkKey: bigint,
|
|
176
|
+
vaultId: bigint,
|
|
177
|
+
assetId: bigint
|
|
178
|
+
];
|
|
179
|
+
interface OutputObject {
|
|
180
|
+
starkKey: bigint;
|
|
181
|
+
vaultId: bigint;
|
|
182
|
+
assetId: bigint;
|
|
183
|
+
}
|
|
184
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
185
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
186
|
+
type Log = TypedEventLog<Event>;
|
|
187
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
188
|
+
}
|
|
189
|
+
export declare namespace LogDepositCancelReclaimedEvent {
|
|
190
|
+
type InputTuple = [
|
|
191
|
+
starkKey: BigNumberish,
|
|
192
|
+
vaultId: BigNumberish,
|
|
193
|
+
assetType: BigNumberish,
|
|
194
|
+
nonQuantizedAmount: BigNumberish,
|
|
195
|
+
quantizedAmount: BigNumberish
|
|
196
|
+
];
|
|
197
|
+
type OutputTuple = [
|
|
198
|
+
starkKey: bigint,
|
|
199
|
+
vaultId: bigint,
|
|
200
|
+
assetType: bigint,
|
|
201
|
+
nonQuantizedAmount: bigint,
|
|
202
|
+
quantizedAmount: bigint
|
|
203
|
+
];
|
|
204
|
+
interface OutputObject {
|
|
205
|
+
starkKey: bigint;
|
|
206
|
+
vaultId: bigint;
|
|
207
|
+
assetType: bigint;
|
|
208
|
+
nonQuantizedAmount: bigint;
|
|
209
|
+
quantizedAmount: bigint;
|
|
210
|
+
}
|
|
211
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
212
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
213
|
+
type Log = TypedEventLog<Event>;
|
|
214
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
215
|
+
}
|
|
216
|
+
export declare namespace LogDepositNftCancelReclaimedEvent {
|
|
217
|
+
type InputTuple = [
|
|
218
|
+
starkKey: BigNumberish,
|
|
219
|
+
vaultId: BigNumberish,
|
|
220
|
+
assetType: BigNumberish,
|
|
221
|
+
tokenId: BigNumberish,
|
|
222
|
+
assetId: BigNumberish
|
|
223
|
+
];
|
|
224
|
+
type OutputTuple = [
|
|
225
|
+
starkKey: bigint,
|
|
226
|
+
vaultId: bigint,
|
|
227
|
+
assetType: bigint,
|
|
228
|
+
tokenId: bigint,
|
|
229
|
+
assetId: bigint
|
|
230
|
+
];
|
|
231
|
+
interface OutputObject {
|
|
232
|
+
starkKey: bigint;
|
|
233
|
+
vaultId: bigint;
|
|
234
|
+
assetType: bigint;
|
|
235
|
+
tokenId: bigint;
|
|
236
|
+
assetId: bigint;
|
|
237
|
+
}
|
|
238
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
239
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
240
|
+
type Log = TypedEventLog<Event>;
|
|
241
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
242
|
+
}
|
|
243
|
+
export declare namespace LogFullWithdrawalRequestEvent {
|
|
244
|
+
type InputTuple = [starkKey: BigNumberish, vaultId: BigNumberish];
|
|
245
|
+
type OutputTuple = [starkKey: bigint, vaultId: bigint];
|
|
246
|
+
interface OutputObject {
|
|
247
|
+
starkKey: bigint;
|
|
248
|
+
vaultId: bigint;
|
|
249
|
+
}
|
|
250
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
251
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
252
|
+
type Log = TypedEventLog<Event>;
|
|
253
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
254
|
+
}
|
|
255
|
+
export declare namespace LogMintWithdrawalPerformedEvent {
|
|
256
|
+
type InputTuple = [
|
|
257
|
+
ownerKey: BigNumberish,
|
|
258
|
+
assetType: BigNumberish,
|
|
259
|
+
nonQuantizedAmount: BigNumberish,
|
|
260
|
+
quantizedAmount: BigNumberish,
|
|
261
|
+
assetId: BigNumberish
|
|
262
|
+
];
|
|
263
|
+
type OutputTuple = [
|
|
264
|
+
ownerKey: bigint,
|
|
265
|
+
assetType: bigint,
|
|
266
|
+
nonQuantizedAmount: bigint,
|
|
267
|
+
quantizedAmount: bigint,
|
|
268
|
+
assetId: bigint
|
|
269
|
+
];
|
|
270
|
+
interface OutputObject {
|
|
271
|
+
ownerKey: bigint;
|
|
272
|
+
assetType: bigint;
|
|
273
|
+
nonQuantizedAmount: bigint;
|
|
274
|
+
quantizedAmount: bigint;
|
|
275
|
+
assetId: bigint;
|
|
276
|
+
}
|
|
277
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
278
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
279
|
+
type Log = TypedEventLog<Event>;
|
|
280
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
281
|
+
}
|
|
282
|
+
export declare namespace LogMintableWithdrawalAllowedEvent {
|
|
283
|
+
type InputTuple = [
|
|
284
|
+
ownerKey: BigNumberish,
|
|
285
|
+
assetId: BigNumberish,
|
|
286
|
+
quantizedAmount: BigNumberish
|
|
287
|
+
];
|
|
288
|
+
type OutputTuple = [
|
|
289
|
+
ownerKey: bigint,
|
|
290
|
+
assetId: bigint,
|
|
291
|
+
quantizedAmount: bigint
|
|
292
|
+
];
|
|
293
|
+
interface OutputObject {
|
|
294
|
+
ownerKey: bigint;
|
|
295
|
+
assetId: bigint;
|
|
296
|
+
quantizedAmount: bigint;
|
|
297
|
+
}
|
|
298
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
299
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
300
|
+
type Log = TypedEventLog<Event>;
|
|
301
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
302
|
+
}
|
|
303
|
+
export declare namespace LogNftDepositEvent {
|
|
304
|
+
type InputTuple = [
|
|
305
|
+
depositorEthKey: AddressLike,
|
|
306
|
+
starkKey: BigNumberish,
|
|
307
|
+
vaultId: BigNumberish,
|
|
308
|
+
assetType: BigNumberish,
|
|
309
|
+
tokenId: BigNumberish,
|
|
310
|
+
assetId: BigNumberish
|
|
311
|
+
];
|
|
312
|
+
type OutputTuple = [
|
|
313
|
+
depositorEthKey: string,
|
|
314
|
+
starkKey: bigint,
|
|
315
|
+
vaultId: bigint,
|
|
316
|
+
assetType: bigint,
|
|
317
|
+
tokenId: bigint,
|
|
318
|
+
assetId: bigint
|
|
319
|
+
];
|
|
320
|
+
interface OutputObject {
|
|
321
|
+
depositorEthKey: string;
|
|
322
|
+
starkKey: bigint;
|
|
323
|
+
vaultId: bigint;
|
|
324
|
+
assetType: bigint;
|
|
325
|
+
tokenId: bigint;
|
|
326
|
+
assetId: bigint;
|
|
327
|
+
}
|
|
328
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
329
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
330
|
+
type Log = TypedEventLog<Event>;
|
|
331
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
332
|
+
}
|
|
333
|
+
export declare namespace LogNftWithdrawalAllowedEvent {
|
|
334
|
+
type InputTuple = [ownerKey: BigNumberish, assetId: BigNumberish];
|
|
335
|
+
type OutputTuple = [ownerKey: bigint, assetId: bigint];
|
|
336
|
+
interface OutputObject {
|
|
337
|
+
ownerKey: bigint;
|
|
338
|
+
assetId: bigint;
|
|
339
|
+
}
|
|
340
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
341
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
342
|
+
type Log = TypedEventLog<Event>;
|
|
343
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
344
|
+
}
|
|
345
|
+
export declare namespace LogNftWithdrawalPerformedEvent {
|
|
346
|
+
type InputTuple = [
|
|
347
|
+
ownerKey: BigNumberish,
|
|
348
|
+
assetType: BigNumberish,
|
|
349
|
+
tokenId: BigNumberish,
|
|
350
|
+
assetId: BigNumberish,
|
|
351
|
+
recipient: AddressLike
|
|
352
|
+
];
|
|
353
|
+
type OutputTuple = [
|
|
354
|
+
ownerKey: bigint,
|
|
355
|
+
assetType: bigint,
|
|
356
|
+
tokenId: bigint,
|
|
357
|
+
assetId: bigint,
|
|
358
|
+
recipient: string
|
|
359
|
+
];
|
|
360
|
+
interface OutputObject {
|
|
361
|
+
ownerKey: bigint;
|
|
362
|
+
assetType: bigint;
|
|
363
|
+
tokenId: bigint;
|
|
364
|
+
assetId: bigint;
|
|
365
|
+
recipient: string;
|
|
366
|
+
}
|
|
367
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
368
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
369
|
+
type Log = TypedEventLog<Event>;
|
|
370
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
371
|
+
}
|
|
372
|
+
export declare namespace LogRootUpdateEvent {
|
|
373
|
+
type InputTuple = [
|
|
374
|
+
sequenceNumber: BigNumberish,
|
|
375
|
+
batchId: BigNumberish,
|
|
376
|
+
vaultRoot: BigNumberish,
|
|
377
|
+
orderRoot: BigNumberish
|
|
378
|
+
];
|
|
379
|
+
type OutputTuple = [
|
|
380
|
+
sequenceNumber: bigint,
|
|
381
|
+
batchId: bigint,
|
|
382
|
+
vaultRoot: bigint,
|
|
383
|
+
orderRoot: bigint
|
|
384
|
+
];
|
|
385
|
+
interface OutputObject {
|
|
386
|
+
sequenceNumber: bigint;
|
|
387
|
+
batchId: bigint;
|
|
388
|
+
vaultRoot: bigint;
|
|
389
|
+
orderRoot: bigint;
|
|
390
|
+
}
|
|
391
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
392
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
393
|
+
type Log = TypedEventLog<Event>;
|
|
394
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
395
|
+
}
|
|
396
|
+
export declare namespace LogStateTransitionFactEvent {
|
|
397
|
+
type InputTuple = [stateTransitionFact: BytesLike];
|
|
398
|
+
type OutputTuple = [stateTransitionFact: string];
|
|
399
|
+
interface OutputObject {
|
|
400
|
+
stateTransitionFact: string;
|
|
401
|
+
}
|
|
402
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
403
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
404
|
+
type Log = TypedEventLog<Event>;
|
|
405
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
406
|
+
}
|
|
407
|
+
export declare namespace LogVaultBalanceChangeAppliedEvent {
|
|
408
|
+
type InputTuple = [
|
|
409
|
+
ethKey: AddressLike,
|
|
410
|
+
assetId: BigNumberish,
|
|
411
|
+
vaultId: BigNumberish,
|
|
412
|
+
quantizedAmountChange: BigNumberish
|
|
413
|
+
];
|
|
414
|
+
type OutputTuple = [
|
|
415
|
+
ethKey: string,
|
|
416
|
+
assetId: bigint,
|
|
417
|
+
vaultId: bigint,
|
|
418
|
+
quantizedAmountChange: bigint
|
|
419
|
+
];
|
|
420
|
+
interface OutputObject {
|
|
421
|
+
ethKey: string;
|
|
422
|
+
assetId: bigint;
|
|
423
|
+
vaultId: bigint;
|
|
424
|
+
quantizedAmountChange: bigint;
|
|
425
|
+
}
|
|
426
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
427
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
428
|
+
type Log = TypedEventLog<Event>;
|
|
429
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
430
|
+
}
|
|
431
|
+
export declare namespace LogWithdrawalAllowedEvent {
|
|
432
|
+
type InputTuple = [
|
|
433
|
+
ownerKey: BigNumberish,
|
|
434
|
+
assetType: BigNumberish,
|
|
435
|
+
nonQuantizedAmount: BigNumberish,
|
|
436
|
+
quantizedAmount: BigNumberish
|
|
437
|
+
];
|
|
438
|
+
type OutputTuple = [
|
|
439
|
+
ownerKey: bigint,
|
|
440
|
+
assetType: bigint,
|
|
441
|
+
nonQuantizedAmount: bigint,
|
|
442
|
+
quantizedAmount: bigint
|
|
443
|
+
];
|
|
444
|
+
interface OutputObject {
|
|
445
|
+
ownerKey: bigint;
|
|
446
|
+
assetType: bigint;
|
|
447
|
+
nonQuantizedAmount: bigint;
|
|
448
|
+
quantizedAmount: bigint;
|
|
449
|
+
}
|
|
450
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
451
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
452
|
+
type Log = TypedEventLog<Event>;
|
|
453
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
454
|
+
}
|
|
455
|
+
export declare namespace LogWithdrawalPerformedEvent {
|
|
456
|
+
type InputTuple = [
|
|
457
|
+
ownerKey: BigNumberish,
|
|
458
|
+
assetType: BigNumberish,
|
|
459
|
+
nonQuantizedAmount: BigNumberish,
|
|
460
|
+
quantizedAmount: BigNumberish,
|
|
461
|
+
recipient: AddressLike
|
|
462
|
+
];
|
|
463
|
+
type OutputTuple = [
|
|
464
|
+
ownerKey: bigint,
|
|
465
|
+
assetType: bigint,
|
|
466
|
+
nonQuantizedAmount: bigint,
|
|
467
|
+
quantizedAmount: bigint,
|
|
468
|
+
recipient: string
|
|
469
|
+
];
|
|
470
|
+
interface OutputObject {
|
|
471
|
+
ownerKey: bigint;
|
|
472
|
+
assetType: bigint;
|
|
473
|
+
nonQuantizedAmount: bigint;
|
|
474
|
+
quantizedAmount: bigint;
|
|
475
|
+
recipient: string;
|
|
476
|
+
}
|
|
477
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
478
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
479
|
+
type Log = TypedEventLog<Event>;
|
|
480
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
481
|
+
}
|
|
482
|
+
export interface Core extends BaseContract {
|
|
483
|
+
connect(runner?: ContractRunner | null): Core;
|
|
484
|
+
waitForDeployment(): Promise<this>;
|
|
485
|
+
interface: CoreInterface;
|
|
486
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
487
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
488
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
489
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
490
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
491
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
492
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
493
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
494
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
495
|
+
announceAvailabilityVerifierRemovalIntent: TypedContractMethod<[
|
|
496
|
+
arg0: AddressLike
|
|
497
|
+
], [
|
|
498
|
+
void
|
|
499
|
+
], "nonpayable">;
|
|
500
|
+
announceVerifierRemovalIntent: TypedContractMethod<[
|
|
501
|
+
arg0: AddressLike
|
|
502
|
+
], [
|
|
503
|
+
void
|
|
504
|
+
], "nonpayable">;
|
|
505
|
+
"deposit(uint256,uint256,uint256)": TypedContractMethod<[
|
|
506
|
+
starkKey: BigNumberish,
|
|
507
|
+
assetType: BigNumberish,
|
|
508
|
+
vaultId: BigNumberish
|
|
509
|
+
], [
|
|
510
|
+
void
|
|
511
|
+
], "payable">;
|
|
512
|
+
"deposit(uint256,uint256,uint256,uint256)": TypedContractMethod<[
|
|
513
|
+
starkKey: BigNumberish,
|
|
514
|
+
assetType: BigNumberish,
|
|
515
|
+
vaultId: BigNumberish,
|
|
516
|
+
quantizedAmount: BigNumberish
|
|
517
|
+
], [
|
|
518
|
+
void
|
|
519
|
+
], "nonpayable">;
|
|
520
|
+
depositCancel: TypedContractMethod<[
|
|
521
|
+
starkKey: BigNumberish,
|
|
522
|
+
assetId: BigNumberish,
|
|
523
|
+
vaultId: BigNumberish
|
|
524
|
+
], [
|
|
525
|
+
void
|
|
526
|
+
], "nonpayable">;
|
|
527
|
+
depositERC20: TypedContractMethod<[
|
|
528
|
+
starkKey: BigNumberish,
|
|
529
|
+
assetType: BigNumberish,
|
|
530
|
+
vaultId: BigNumberish,
|
|
531
|
+
quantizedAmount: BigNumberish
|
|
532
|
+
], [
|
|
533
|
+
void
|
|
534
|
+
], "nonpayable">;
|
|
535
|
+
depositEth: TypedContractMethod<[
|
|
536
|
+
starkKey: BigNumberish,
|
|
537
|
+
assetType: BigNumberish,
|
|
538
|
+
vaultId: BigNumberish
|
|
539
|
+
], [
|
|
540
|
+
void
|
|
541
|
+
], "payable">;
|
|
542
|
+
depositNft: TypedContractMethod<[
|
|
543
|
+
starkKey: BigNumberish,
|
|
544
|
+
assetType: BigNumberish,
|
|
545
|
+
vaultId: BigNumberish,
|
|
546
|
+
tokenId: BigNumberish
|
|
547
|
+
], [
|
|
548
|
+
void
|
|
549
|
+
], "nonpayable">;
|
|
550
|
+
depositNftReclaim: TypedContractMethod<[
|
|
551
|
+
starkKey: BigNumberish,
|
|
552
|
+
assetType: BigNumberish,
|
|
553
|
+
vaultId: BigNumberish,
|
|
554
|
+
tokenId: BigNumberish
|
|
555
|
+
], [
|
|
556
|
+
void
|
|
557
|
+
], "nonpayable">;
|
|
558
|
+
depositReclaim: TypedContractMethod<[
|
|
559
|
+
starkKey: BigNumberish,
|
|
560
|
+
assetId: BigNumberish,
|
|
561
|
+
vaultId: BigNumberish
|
|
562
|
+
], [
|
|
563
|
+
void
|
|
564
|
+
], "nonpayable">;
|
|
565
|
+
escape: TypedContractMethod<[
|
|
566
|
+
starkKey: BigNumberish,
|
|
567
|
+
vaultId: BigNumberish,
|
|
568
|
+
assetId: BigNumberish,
|
|
569
|
+
quantizedAmount: BigNumberish
|
|
570
|
+
], [
|
|
571
|
+
void
|
|
572
|
+
], "nonpayable">;
|
|
573
|
+
freezeRequest: TypedContractMethod<[
|
|
574
|
+
starkKey: BigNumberish,
|
|
575
|
+
vaultId: BigNumberish
|
|
576
|
+
], [
|
|
577
|
+
void
|
|
578
|
+
], "nonpayable">;
|
|
579
|
+
fullWithdrawalRequest: TypedContractMethod<[
|
|
580
|
+
starkKey: BigNumberish,
|
|
581
|
+
vaultId: BigNumberish
|
|
582
|
+
], [
|
|
583
|
+
void
|
|
584
|
+
], "nonpayable">;
|
|
585
|
+
getAssetInfo: TypedContractMethod<[
|
|
586
|
+
assetType: BigNumberish
|
|
587
|
+
], [
|
|
588
|
+
string
|
|
589
|
+
], "view">;
|
|
590
|
+
getCancellationRequest: TypedContractMethod<[
|
|
591
|
+
starkKey: BigNumberish,
|
|
592
|
+
assetId: BigNumberish,
|
|
593
|
+
vaultId: BigNumberish
|
|
594
|
+
], [
|
|
595
|
+
bigint
|
|
596
|
+
], "view">;
|
|
597
|
+
getDepositBalance: TypedContractMethod<[
|
|
598
|
+
starkKey: BigNumberish,
|
|
599
|
+
assetId: BigNumberish,
|
|
600
|
+
vaultId: BigNumberish
|
|
601
|
+
], [
|
|
602
|
+
bigint
|
|
603
|
+
], "view">;
|
|
604
|
+
getEthKey: TypedContractMethod<[starkKey: BigNumberish], [string], "view">;
|
|
605
|
+
getFullWithdrawalRequest: TypedContractMethod<[
|
|
606
|
+
starkKey: BigNumberish,
|
|
607
|
+
vaultId: BigNumberish
|
|
608
|
+
], [
|
|
609
|
+
bigint
|
|
610
|
+
], "view">;
|
|
611
|
+
getLastBatchId: TypedContractMethod<[], [bigint], "view">;
|
|
612
|
+
getOrderRoot: TypedContractMethod<[], [bigint], "view">;
|
|
613
|
+
getOrderTreeHeight: TypedContractMethod<[], [bigint], "view">;
|
|
614
|
+
getQuantizedDepositBalance: TypedContractMethod<[
|
|
615
|
+
starkKey: BigNumberish,
|
|
616
|
+
assetId: BigNumberish,
|
|
617
|
+
vaultId: BigNumberish
|
|
618
|
+
], [
|
|
619
|
+
bigint
|
|
620
|
+
], "view">;
|
|
621
|
+
getQuantum: TypedContractMethod<[
|
|
622
|
+
presumedAssetType: BigNumberish
|
|
623
|
+
], [
|
|
624
|
+
bigint
|
|
625
|
+
], "view">;
|
|
626
|
+
getRegisteredAvailabilityVerifiers: TypedContractMethod<[
|
|
627
|
+
], [
|
|
628
|
+
void
|
|
629
|
+
], "nonpayable">;
|
|
630
|
+
getRegisteredVerifiers: TypedContractMethod<[], [void], "nonpayable">;
|
|
631
|
+
getSequenceNumber: TypedContractMethod<[], [bigint], "view">;
|
|
632
|
+
getVaultRoot: TypedContractMethod<[], [bigint], "view">;
|
|
633
|
+
getVaultTreeHeight: TypedContractMethod<[], [bigint], "view">;
|
|
634
|
+
getWithdrawalBalance: TypedContractMethod<[
|
|
635
|
+
ownerKey: BigNumberish,
|
|
636
|
+
assetId: BigNumberish
|
|
637
|
+
], [
|
|
638
|
+
bigint
|
|
639
|
+
], "view">;
|
|
640
|
+
isAvailabilityVerifier: TypedContractMethod<[
|
|
641
|
+
arg0: AddressLike
|
|
642
|
+
], [
|
|
643
|
+
void
|
|
644
|
+
], "nonpayable">;
|
|
645
|
+
isFrozen: TypedContractMethod<[], [void], "nonpayable">;
|
|
646
|
+
isOperator: TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
647
|
+
isTokenAdmin: TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
648
|
+
isUserAdmin: TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
649
|
+
isVerifier: TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
650
|
+
mainAcceptGovernance: TypedContractMethod<[], [void], "nonpayable">;
|
|
651
|
+
mainCancelNomination: TypedContractMethod<[], [void], "nonpayable">;
|
|
652
|
+
mainIsGovernor: TypedContractMethod<[
|
|
653
|
+
arg0: AddressLike
|
|
654
|
+
], [
|
|
655
|
+
void
|
|
656
|
+
], "nonpayable">;
|
|
657
|
+
mainNominateNewGovernor: TypedContractMethod<[
|
|
658
|
+
arg0: AddressLike
|
|
659
|
+
], [
|
|
660
|
+
void
|
|
661
|
+
], "nonpayable">;
|
|
662
|
+
mainRemoveGovernor: TypedContractMethod<[
|
|
663
|
+
arg0: AddressLike
|
|
664
|
+
], [
|
|
665
|
+
void
|
|
666
|
+
], "nonpayable">;
|
|
667
|
+
onERC721Received: TypedContractMethod<[
|
|
668
|
+
arg0: AddressLike,
|
|
669
|
+
arg1: AddressLike,
|
|
670
|
+
arg2: BigNumberish,
|
|
671
|
+
arg3: BytesLike
|
|
672
|
+
], [
|
|
673
|
+
void
|
|
674
|
+
], "nonpayable">;
|
|
675
|
+
registerAndDepositERC20: TypedContractMethod<[
|
|
676
|
+
ethKey: AddressLike,
|
|
677
|
+
starkKey: BigNumberish,
|
|
678
|
+
signature: BytesLike,
|
|
679
|
+
assetType: BigNumberish,
|
|
680
|
+
vaultId: BigNumberish,
|
|
681
|
+
quantizedAmount: BigNumberish
|
|
682
|
+
], [
|
|
683
|
+
void
|
|
684
|
+
], "nonpayable">;
|
|
685
|
+
registerAndDepositEth: TypedContractMethod<[
|
|
686
|
+
ethKey: AddressLike,
|
|
687
|
+
starkKey: BigNumberish,
|
|
688
|
+
signature: BytesLike,
|
|
689
|
+
assetType: BigNumberish,
|
|
690
|
+
vaultId: BigNumberish
|
|
691
|
+
], [
|
|
692
|
+
void
|
|
693
|
+
], "payable">;
|
|
694
|
+
registerAvailabilityVerifier: TypedContractMethod<[
|
|
695
|
+
arg0: AddressLike,
|
|
696
|
+
arg1: string
|
|
697
|
+
], [
|
|
698
|
+
void
|
|
699
|
+
], "nonpayable">;
|
|
700
|
+
registerOperator: TypedContractMethod<[
|
|
701
|
+
arg0: AddressLike
|
|
702
|
+
], [
|
|
703
|
+
void
|
|
704
|
+
], "nonpayable">;
|
|
705
|
+
registerToken: TypedContractMethod<[
|
|
706
|
+
arg0: BigNumberish,
|
|
707
|
+
arg1: BytesLike
|
|
708
|
+
], [
|
|
709
|
+
void
|
|
710
|
+
], "nonpayable">;
|
|
711
|
+
registerTokenAdmin: TypedContractMethod<[
|
|
712
|
+
arg0: AddressLike
|
|
713
|
+
], [
|
|
714
|
+
void
|
|
715
|
+
], "nonpayable">;
|
|
716
|
+
registerUser: TypedContractMethod<[
|
|
717
|
+
arg0: AddressLike,
|
|
718
|
+
arg1: BigNumberish,
|
|
719
|
+
arg2: BytesLike
|
|
720
|
+
], [
|
|
721
|
+
void
|
|
722
|
+
], "nonpayable">;
|
|
723
|
+
registerUserAdmin: TypedContractMethod<[
|
|
724
|
+
arg0: AddressLike
|
|
725
|
+
], [
|
|
726
|
+
void
|
|
727
|
+
], "nonpayable">;
|
|
728
|
+
registerVerifier: TypedContractMethod<[
|
|
729
|
+
arg0: AddressLike,
|
|
730
|
+
arg1: string
|
|
731
|
+
], [
|
|
732
|
+
void
|
|
733
|
+
], "nonpayable">;
|
|
734
|
+
removeAvailabilityVerifier: TypedContractMethod<[
|
|
735
|
+
arg0: AddressLike
|
|
736
|
+
], [
|
|
737
|
+
void
|
|
738
|
+
], "nonpayable">;
|
|
739
|
+
removeVerifier: TypedContractMethod<[
|
|
740
|
+
arg0: AddressLike
|
|
741
|
+
], [
|
|
742
|
+
void
|
|
743
|
+
], "nonpayable">;
|
|
744
|
+
unFreeze: TypedContractMethod<[], [void], "nonpayable">;
|
|
745
|
+
unregisterOperator: TypedContractMethod<[
|
|
746
|
+
arg0: AddressLike
|
|
747
|
+
], [
|
|
748
|
+
void
|
|
749
|
+
], "nonpayable">;
|
|
750
|
+
unregisterTokenAdmin: TypedContractMethod<[
|
|
751
|
+
arg0: AddressLike
|
|
752
|
+
], [
|
|
753
|
+
void
|
|
754
|
+
], "nonpayable">;
|
|
755
|
+
unregisterUserAdmin: TypedContractMethod<[
|
|
756
|
+
arg0: AddressLike
|
|
757
|
+
], [
|
|
758
|
+
void
|
|
759
|
+
], "nonpayable">;
|
|
760
|
+
updateState: TypedContractMethod<[
|
|
761
|
+
publicInput: BigNumberish[],
|
|
762
|
+
applicationData: BigNumberish[]
|
|
763
|
+
], [
|
|
764
|
+
void
|
|
765
|
+
], "nonpayable">;
|
|
766
|
+
withdraw: TypedContractMethod<[
|
|
767
|
+
ownerKey: BigNumberish,
|
|
768
|
+
assetType: BigNumberish
|
|
769
|
+
], [
|
|
770
|
+
void
|
|
771
|
+
], "nonpayable">;
|
|
772
|
+
withdrawAndMint: TypedContractMethod<[
|
|
773
|
+
ownerKey: BigNumberish,
|
|
774
|
+
assetType: BigNumberish,
|
|
775
|
+
mintingBlob: BytesLike
|
|
776
|
+
], [
|
|
777
|
+
void
|
|
778
|
+
], "nonpayable">;
|
|
779
|
+
withdrawNft: TypedContractMethod<[
|
|
780
|
+
ownerKey: BigNumberish,
|
|
781
|
+
assetType: BigNumberish,
|
|
782
|
+
tokenId: BigNumberish
|
|
783
|
+
], [
|
|
784
|
+
void
|
|
785
|
+
], "nonpayable">;
|
|
786
|
+
withdrawNftTo: TypedContractMethod<[
|
|
787
|
+
arg0: BigNumberish,
|
|
788
|
+
arg1: BigNumberish,
|
|
789
|
+
arg2: BigNumberish,
|
|
790
|
+
arg3: AddressLike
|
|
791
|
+
], [
|
|
792
|
+
void
|
|
793
|
+
], "nonpayable">;
|
|
794
|
+
withdrawTo: TypedContractMethod<[
|
|
795
|
+
arg0: BigNumberish,
|
|
796
|
+
arg1: BigNumberish,
|
|
797
|
+
arg2: AddressLike
|
|
798
|
+
], [
|
|
799
|
+
void
|
|
800
|
+
], "nonpayable">;
|
|
801
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
802
|
+
getFunction(nameOrSignature: "announceAvailabilityVerifierRemovalIntent"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
803
|
+
getFunction(nameOrSignature: "announceVerifierRemovalIntent"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
804
|
+
getFunction(nameOrSignature: "deposit(uint256,uint256,uint256)"): TypedContractMethod<[
|
|
805
|
+
starkKey: BigNumberish,
|
|
806
|
+
assetType: BigNumberish,
|
|
807
|
+
vaultId: BigNumberish
|
|
808
|
+
], [
|
|
809
|
+
void
|
|
810
|
+
], "payable">;
|
|
811
|
+
getFunction(nameOrSignature: "deposit(uint256,uint256,uint256,uint256)"): TypedContractMethod<[
|
|
812
|
+
starkKey: BigNumberish,
|
|
813
|
+
assetType: BigNumberish,
|
|
814
|
+
vaultId: BigNumberish,
|
|
815
|
+
quantizedAmount: BigNumberish
|
|
816
|
+
], [
|
|
817
|
+
void
|
|
818
|
+
], "nonpayable">;
|
|
819
|
+
getFunction(nameOrSignature: "depositCancel"): TypedContractMethod<[
|
|
820
|
+
starkKey: BigNumberish,
|
|
821
|
+
assetId: BigNumberish,
|
|
822
|
+
vaultId: BigNumberish
|
|
823
|
+
], [
|
|
824
|
+
void
|
|
825
|
+
], "nonpayable">;
|
|
826
|
+
getFunction(nameOrSignature: "depositERC20"): TypedContractMethod<[
|
|
827
|
+
starkKey: BigNumberish,
|
|
828
|
+
assetType: BigNumberish,
|
|
829
|
+
vaultId: BigNumberish,
|
|
830
|
+
quantizedAmount: BigNumberish
|
|
831
|
+
], [
|
|
832
|
+
void
|
|
833
|
+
], "nonpayable">;
|
|
834
|
+
getFunction(nameOrSignature: "depositEth"): TypedContractMethod<[
|
|
835
|
+
starkKey: BigNumberish,
|
|
836
|
+
assetType: BigNumberish,
|
|
837
|
+
vaultId: BigNumberish
|
|
838
|
+
], [
|
|
839
|
+
void
|
|
840
|
+
], "payable">;
|
|
841
|
+
getFunction(nameOrSignature: "depositNft"): TypedContractMethod<[
|
|
842
|
+
starkKey: BigNumberish,
|
|
843
|
+
assetType: BigNumberish,
|
|
844
|
+
vaultId: BigNumberish,
|
|
845
|
+
tokenId: BigNumberish
|
|
846
|
+
], [
|
|
847
|
+
void
|
|
848
|
+
], "nonpayable">;
|
|
849
|
+
getFunction(nameOrSignature: "depositNftReclaim"): TypedContractMethod<[
|
|
850
|
+
starkKey: BigNumberish,
|
|
851
|
+
assetType: BigNumberish,
|
|
852
|
+
vaultId: BigNumberish,
|
|
853
|
+
tokenId: BigNumberish
|
|
854
|
+
], [
|
|
855
|
+
void
|
|
856
|
+
], "nonpayable">;
|
|
857
|
+
getFunction(nameOrSignature: "depositReclaim"): TypedContractMethod<[
|
|
858
|
+
starkKey: BigNumberish,
|
|
859
|
+
assetId: BigNumberish,
|
|
860
|
+
vaultId: BigNumberish
|
|
861
|
+
], [
|
|
862
|
+
void
|
|
863
|
+
], "nonpayable">;
|
|
864
|
+
getFunction(nameOrSignature: "escape"): TypedContractMethod<[
|
|
865
|
+
starkKey: BigNumberish,
|
|
866
|
+
vaultId: BigNumberish,
|
|
867
|
+
assetId: BigNumberish,
|
|
868
|
+
quantizedAmount: BigNumberish
|
|
869
|
+
], [
|
|
870
|
+
void
|
|
871
|
+
], "nonpayable">;
|
|
872
|
+
getFunction(nameOrSignature: "freezeRequest"): TypedContractMethod<[
|
|
873
|
+
starkKey: BigNumberish,
|
|
874
|
+
vaultId: BigNumberish
|
|
875
|
+
], [
|
|
876
|
+
void
|
|
877
|
+
], "nonpayable">;
|
|
878
|
+
getFunction(nameOrSignature: "fullWithdrawalRequest"): TypedContractMethod<[
|
|
879
|
+
starkKey: BigNumberish,
|
|
880
|
+
vaultId: BigNumberish
|
|
881
|
+
], [
|
|
882
|
+
void
|
|
883
|
+
], "nonpayable">;
|
|
884
|
+
getFunction(nameOrSignature: "getAssetInfo"): TypedContractMethod<[assetType: BigNumberish], [string], "view">;
|
|
885
|
+
getFunction(nameOrSignature: "getCancellationRequest"): TypedContractMethod<[
|
|
886
|
+
starkKey: BigNumberish,
|
|
887
|
+
assetId: BigNumberish,
|
|
888
|
+
vaultId: BigNumberish
|
|
889
|
+
], [
|
|
890
|
+
bigint
|
|
891
|
+
], "view">;
|
|
892
|
+
getFunction(nameOrSignature: "getDepositBalance"): TypedContractMethod<[
|
|
893
|
+
starkKey: BigNumberish,
|
|
894
|
+
assetId: BigNumberish,
|
|
895
|
+
vaultId: BigNumberish
|
|
896
|
+
], [
|
|
897
|
+
bigint
|
|
898
|
+
], "view">;
|
|
899
|
+
getFunction(nameOrSignature: "getEthKey"): TypedContractMethod<[starkKey: BigNumberish], [string], "view">;
|
|
900
|
+
getFunction(nameOrSignature: "getFullWithdrawalRequest"): TypedContractMethod<[
|
|
901
|
+
starkKey: BigNumberish,
|
|
902
|
+
vaultId: BigNumberish
|
|
903
|
+
], [
|
|
904
|
+
bigint
|
|
905
|
+
], "view">;
|
|
906
|
+
getFunction(nameOrSignature: "getLastBatchId"): TypedContractMethod<[], [bigint], "view">;
|
|
907
|
+
getFunction(nameOrSignature: "getOrderRoot"): TypedContractMethod<[], [bigint], "view">;
|
|
908
|
+
getFunction(nameOrSignature: "getOrderTreeHeight"): TypedContractMethod<[], [bigint], "view">;
|
|
909
|
+
getFunction(nameOrSignature: "getQuantizedDepositBalance"): TypedContractMethod<[
|
|
910
|
+
starkKey: BigNumberish,
|
|
911
|
+
assetId: BigNumberish,
|
|
912
|
+
vaultId: BigNumberish
|
|
913
|
+
], [
|
|
914
|
+
bigint
|
|
915
|
+
], "view">;
|
|
916
|
+
getFunction(nameOrSignature: "getQuantum"): TypedContractMethod<[presumedAssetType: BigNumberish], [bigint], "view">;
|
|
917
|
+
getFunction(nameOrSignature: "getRegisteredAvailabilityVerifiers"): TypedContractMethod<[], [void], "nonpayable">;
|
|
918
|
+
getFunction(nameOrSignature: "getRegisteredVerifiers"): TypedContractMethod<[], [void], "nonpayable">;
|
|
919
|
+
getFunction(nameOrSignature: "getSequenceNumber"): TypedContractMethod<[], [bigint], "view">;
|
|
920
|
+
getFunction(nameOrSignature: "getVaultRoot"): TypedContractMethod<[], [bigint], "view">;
|
|
921
|
+
getFunction(nameOrSignature: "getVaultTreeHeight"): TypedContractMethod<[], [bigint], "view">;
|
|
922
|
+
getFunction(nameOrSignature: "getWithdrawalBalance"): TypedContractMethod<[
|
|
923
|
+
ownerKey: BigNumberish,
|
|
924
|
+
assetId: BigNumberish
|
|
925
|
+
], [
|
|
926
|
+
bigint
|
|
927
|
+
], "view">;
|
|
928
|
+
getFunction(nameOrSignature: "isAvailabilityVerifier"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
929
|
+
getFunction(nameOrSignature: "isFrozen"): TypedContractMethod<[], [void], "nonpayable">;
|
|
930
|
+
getFunction(nameOrSignature: "isOperator"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
931
|
+
getFunction(nameOrSignature: "isTokenAdmin"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
932
|
+
getFunction(nameOrSignature: "isUserAdmin"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
933
|
+
getFunction(nameOrSignature: "isVerifier"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
934
|
+
getFunction(nameOrSignature: "mainAcceptGovernance"): TypedContractMethod<[], [void], "nonpayable">;
|
|
935
|
+
getFunction(nameOrSignature: "mainCancelNomination"): TypedContractMethod<[], [void], "nonpayable">;
|
|
936
|
+
getFunction(nameOrSignature: "mainIsGovernor"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
937
|
+
getFunction(nameOrSignature: "mainNominateNewGovernor"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
938
|
+
getFunction(nameOrSignature: "mainRemoveGovernor"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
939
|
+
getFunction(nameOrSignature: "onERC721Received"): TypedContractMethod<[
|
|
940
|
+
arg0: AddressLike,
|
|
941
|
+
arg1: AddressLike,
|
|
942
|
+
arg2: BigNumberish,
|
|
943
|
+
arg3: BytesLike
|
|
944
|
+
], [
|
|
945
|
+
void
|
|
946
|
+
], "nonpayable">;
|
|
947
|
+
getFunction(nameOrSignature: "registerAndDepositERC20"): TypedContractMethod<[
|
|
948
|
+
ethKey: AddressLike,
|
|
949
|
+
starkKey: BigNumberish,
|
|
950
|
+
signature: BytesLike,
|
|
951
|
+
assetType: BigNumberish,
|
|
952
|
+
vaultId: BigNumberish,
|
|
953
|
+
quantizedAmount: BigNumberish
|
|
954
|
+
], [
|
|
955
|
+
void
|
|
956
|
+
], "nonpayable">;
|
|
957
|
+
getFunction(nameOrSignature: "registerAndDepositEth"): TypedContractMethod<[
|
|
958
|
+
ethKey: AddressLike,
|
|
959
|
+
starkKey: BigNumberish,
|
|
960
|
+
signature: BytesLike,
|
|
961
|
+
assetType: BigNumberish,
|
|
962
|
+
vaultId: BigNumberish
|
|
963
|
+
], [
|
|
964
|
+
void
|
|
965
|
+
], "payable">;
|
|
966
|
+
getFunction(nameOrSignature: "registerAvailabilityVerifier"): TypedContractMethod<[
|
|
967
|
+
arg0: AddressLike,
|
|
968
|
+
arg1: string
|
|
969
|
+
], [
|
|
970
|
+
void
|
|
971
|
+
], "nonpayable">;
|
|
972
|
+
getFunction(nameOrSignature: "registerOperator"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
973
|
+
getFunction(nameOrSignature: "registerToken"): TypedContractMethod<[
|
|
974
|
+
arg0: BigNumberish,
|
|
975
|
+
arg1: BytesLike
|
|
976
|
+
], [
|
|
977
|
+
void
|
|
978
|
+
], "nonpayable">;
|
|
979
|
+
getFunction(nameOrSignature: "registerTokenAdmin"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
980
|
+
getFunction(nameOrSignature: "registerUser"): TypedContractMethod<[
|
|
981
|
+
arg0: AddressLike,
|
|
982
|
+
arg1: BigNumberish,
|
|
983
|
+
arg2: BytesLike
|
|
984
|
+
], [
|
|
985
|
+
void
|
|
986
|
+
], "nonpayable">;
|
|
987
|
+
getFunction(nameOrSignature: "registerUserAdmin"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
988
|
+
getFunction(nameOrSignature: "registerVerifier"): TypedContractMethod<[
|
|
989
|
+
arg0: AddressLike,
|
|
990
|
+
arg1: string
|
|
991
|
+
], [
|
|
992
|
+
void
|
|
993
|
+
], "nonpayable">;
|
|
994
|
+
getFunction(nameOrSignature: "removeAvailabilityVerifier"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
995
|
+
getFunction(nameOrSignature: "removeVerifier"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
996
|
+
getFunction(nameOrSignature: "unFreeze"): TypedContractMethod<[], [void], "nonpayable">;
|
|
997
|
+
getFunction(nameOrSignature: "unregisterOperator"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
998
|
+
getFunction(nameOrSignature: "unregisterTokenAdmin"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
999
|
+
getFunction(nameOrSignature: "unregisterUserAdmin"): TypedContractMethod<[arg0: AddressLike], [void], "nonpayable">;
|
|
1000
|
+
getFunction(nameOrSignature: "updateState"): TypedContractMethod<[
|
|
1001
|
+
publicInput: BigNumberish[],
|
|
1002
|
+
applicationData: BigNumberish[]
|
|
1003
|
+
], [
|
|
1004
|
+
void
|
|
1005
|
+
], "nonpayable">;
|
|
1006
|
+
getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[
|
|
1007
|
+
ownerKey: BigNumberish,
|
|
1008
|
+
assetType: BigNumberish
|
|
1009
|
+
], [
|
|
1010
|
+
void
|
|
1011
|
+
], "nonpayable">;
|
|
1012
|
+
getFunction(nameOrSignature: "withdrawAndMint"): TypedContractMethod<[
|
|
1013
|
+
ownerKey: BigNumberish,
|
|
1014
|
+
assetType: BigNumberish,
|
|
1015
|
+
mintingBlob: BytesLike
|
|
1016
|
+
], [
|
|
1017
|
+
void
|
|
1018
|
+
], "nonpayable">;
|
|
1019
|
+
getFunction(nameOrSignature: "withdrawNft"): TypedContractMethod<[
|
|
1020
|
+
ownerKey: BigNumberish,
|
|
1021
|
+
assetType: BigNumberish,
|
|
1022
|
+
tokenId: BigNumberish
|
|
1023
|
+
], [
|
|
1024
|
+
void
|
|
1025
|
+
], "nonpayable">;
|
|
1026
|
+
getFunction(nameOrSignature: "withdrawNftTo"): TypedContractMethod<[
|
|
1027
|
+
arg0: BigNumberish,
|
|
1028
|
+
arg1: BigNumberish,
|
|
1029
|
+
arg2: BigNumberish,
|
|
1030
|
+
arg3: AddressLike
|
|
1031
|
+
], [
|
|
1032
|
+
void
|
|
1033
|
+
], "nonpayable">;
|
|
1034
|
+
getFunction(nameOrSignature: "withdrawTo"): TypedContractMethod<[
|
|
1035
|
+
arg0: BigNumberish,
|
|
1036
|
+
arg1: BigNumberish,
|
|
1037
|
+
arg2: AddressLike
|
|
1038
|
+
], [
|
|
1039
|
+
void
|
|
1040
|
+
], "nonpayable">;
|
|
1041
|
+
getEvent(key: "LogDeposit"): TypedContractEvent<LogDepositEvent.InputTuple, LogDepositEvent.OutputTuple, LogDepositEvent.OutputObject>;
|
|
1042
|
+
getEvent(key: "LogDepositCancel"): TypedContractEvent<LogDepositCancelEvent.InputTuple, LogDepositCancelEvent.OutputTuple, LogDepositCancelEvent.OutputObject>;
|
|
1043
|
+
getEvent(key: "LogDepositCancelReclaimed"): TypedContractEvent<LogDepositCancelReclaimedEvent.InputTuple, LogDepositCancelReclaimedEvent.OutputTuple, LogDepositCancelReclaimedEvent.OutputObject>;
|
|
1044
|
+
getEvent(key: "LogDepositNftCancelReclaimed"): TypedContractEvent<LogDepositNftCancelReclaimedEvent.InputTuple, LogDepositNftCancelReclaimedEvent.OutputTuple, LogDepositNftCancelReclaimedEvent.OutputObject>;
|
|
1045
|
+
getEvent(key: "LogFullWithdrawalRequest"): TypedContractEvent<LogFullWithdrawalRequestEvent.InputTuple, LogFullWithdrawalRequestEvent.OutputTuple, LogFullWithdrawalRequestEvent.OutputObject>;
|
|
1046
|
+
getEvent(key: "LogMintWithdrawalPerformed"): TypedContractEvent<LogMintWithdrawalPerformedEvent.InputTuple, LogMintWithdrawalPerformedEvent.OutputTuple, LogMintWithdrawalPerformedEvent.OutputObject>;
|
|
1047
|
+
getEvent(key: "LogMintableWithdrawalAllowed"): TypedContractEvent<LogMintableWithdrawalAllowedEvent.InputTuple, LogMintableWithdrawalAllowedEvent.OutputTuple, LogMintableWithdrawalAllowedEvent.OutputObject>;
|
|
1048
|
+
getEvent(key: "LogNftDeposit"): TypedContractEvent<LogNftDepositEvent.InputTuple, LogNftDepositEvent.OutputTuple, LogNftDepositEvent.OutputObject>;
|
|
1049
|
+
getEvent(key: "LogNftWithdrawalAllowed"): TypedContractEvent<LogNftWithdrawalAllowedEvent.InputTuple, LogNftWithdrawalAllowedEvent.OutputTuple, LogNftWithdrawalAllowedEvent.OutputObject>;
|
|
1050
|
+
getEvent(key: "LogNftWithdrawalPerformed"): TypedContractEvent<LogNftWithdrawalPerformedEvent.InputTuple, LogNftWithdrawalPerformedEvent.OutputTuple, LogNftWithdrawalPerformedEvent.OutputObject>;
|
|
1051
|
+
getEvent(key: "LogRootUpdate"): TypedContractEvent<LogRootUpdateEvent.InputTuple, LogRootUpdateEvent.OutputTuple, LogRootUpdateEvent.OutputObject>;
|
|
1052
|
+
getEvent(key: "LogStateTransitionFact"): TypedContractEvent<LogStateTransitionFactEvent.InputTuple, LogStateTransitionFactEvent.OutputTuple, LogStateTransitionFactEvent.OutputObject>;
|
|
1053
|
+
getEvent(key: "LogVaultBalanceChangeApplied"): TypedContractEvent<LogVaultBalanceChangeAppliedEvent.InputTuple, LogVaultBalanceChangeAppliedEvent.OutputTuple, LogVaultBalanceChangeAppliedEvent.OutputObject>;
|
|
1054
|
+
getEvent(key: "LogWithdrawalAllowed"): TypedContractEvent<LogWithdrawalAllowedEvent.InputTuple, LogWithdrawalAllowedEvent.OutputTuple, LogWithdrawalAllowedEvent.OutputObject>;
|
|
1055
|
+
getEvent(key: "LogWithdrawalPerformed"): TypedContractEvent<LogWithdrawalPerformedEvent.InputTuple, LogWithdrawalPerformedEvent.OutputTuple, LogWithdrawalPerformedEvent.OutputObject>;
|
|
1056
|
+
filters: {
|
|
1057
|
+
"LogDeposit(address,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<LogDepositEvent.InputTuple, LogDepositEvent.OutputTuple, LogDepositEvent.OutputObject>;
|
|
1058
|
+
LogDeposit: TypedContractEvent<LogDepositEvent.InputTuple, LogDepositEvent.OutputTuple, LogDepositEvent.OutputObject>;
|
|
1059
|
+
"LogDepositCancel(uint256,uint256,uint256)": TypedContractEvent<LogDepositCancelEvent.InputTuple, LogDepositCancelEvent.OutputTuple, LogDepositCancelEvent.OutputObject>;
|
|
1060
|
+
LogDepositCancel: TypedContractEvent<LogDepositCancelEvent.InputTuple, LogDepositCancelEvent.OutputTuple, LogDepositCancelEvent.OutputObject>;
|
|
1061
|
+
"LogDepositCancelReclaimed(uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<LogDepositCancelReclaimedEvent.InputTuple, LogDepositCancelReclaimedEvent.OutputTuple, LogDepositCancelReclaimedEvent.OutputObject>;
|
|
1062
|
+
LogDepositCancelReclaimed: TypedContractEvent<LogDepositCancelReclaimedEvent.InputTuple, LogDepositCancelReclaimedEvent.OutputTuple, LogDepositCancelReclaimedEvent.OutputObject>;
|
|
1063
|
+
"LogDepositNftCancelReclaimed(uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<LogDepositNftCancelReclaimedEvent.InputTuple, LogDepositNftCancelReclaimedEvent.OutputTuple, LogDepositNftCancelReclaimedEvent.OutputObject>;
|
|
1064
|
+
LogDepositNftCancelReclaimed: TypedContractEvent<LogDepositNftCancelReclaimedEvent.InputTuple, LogDepositNftCancelReclaimedEvent.OutputTuple, LogDepositNftCancelReclaimedEvent.OutputObject>;
|
|
1065
|
+
"LogFullWithdrawalRequest(uint256,uint256)": TypedContractEvent<LogFullWithdrawalRequestEvent.InputTuple, LogFullWithdrawalRequestEvent.OutputTuple, LogFullWithdrawalRequestEvent.OutputObject>;
|
|
1066
|
+
LogFullWithdrawalRequest: TypedContractEvent<LogFullWithdrawalRequestEvent.InputTuple, LogFullWithdrawalRequestEvent.OutputTuple, LogFullWithdrawalRequestEvent.OutputObject>;
|
|
1067
|
+
"LogMintWithdrawalPerformed(uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<LogMintWithdrawalPerformedEvent.InputTuple, LogMintWithdrawalPerformedEvent.OutputTuple, LogMintWithdrawalPerformedEvent.OutputObject>;
|
|
1068
|
+
LogMintWithdrawalPerformed: TypedContractEvent<LogMintWithdrawalPerformedEvent.InputTuple, LogMintWithdrawalPerformedEvent.OutputTuple, LogMintWithdrawalPerformedEvent.OutputObject>;
|
|
1069
|
+
"LogMintableWithdrawalAllowed(uint256,uint256,uint256)": TypedContractEvent<LogMintableWithdrawalAllowedEvent.InputTuple, LogMintableWithdrawalAllowedEvent.OutputTuple, LogMintableWithdrawalAllowedEvent.OutputObject>;
|
|
1070
|
+
LogMintableWithdrawalAllowed: TypedContractEvent<LogMintableWithdrawalAllowedEvent.InputTuple, LogMintableWithdrawalAllowedEvent.OutputTuple, LogMintableWithdrawalAllowedEvent.OutputObject>;
|
|
1071
|
+
"LogNftDeposit(address,uint256,uint256,uint256,uint256,uint256)": TypedContractEvent<LogNftDepositEvent.InputTuple, LogNftDepositEvent.OutputTuple, LogNftDepositEvent.OutputObject>;
|
|
1072
|
+
LogNftDeposit: TypedContractEvent<LogNftDepositEvent.InputTuple, LogNftDepositEvent.OutputTuple, LogNftDepositEvent.OutputObject>;
|
|
1073
|
+
"LogNftWithdrawalAllowed(uint256,uint256)": TypedContractEvent<LogNftWithdrawalAllowedEvent.InputTuple, LogNftWithdrawalAllowedEvent.OutputTuple, LogNftWithdrawalAllowedEvent.OutputObject>;
|
|
1074
|
+
LogNftWithdrawalAllowed: TypedContractEvent<LogNftWithdrawalAllowedEvent.InputTuple, LogNftWithdrawalAllowedEvent.OutputTuple, LogNftWithdrawalAllowedEvent.OutputObject>;
|
|
1075
|
+
"LogNftWithdrawalPerformed(uint256,uint256,uint256,uint256,address)": TypedContractEvent<LogNftWithdrawalPerformedEvent.InputTuple, LogNftWithdrawalPerformedEvent.OutputTuple, LogNftWithdrawalPerformedEvent.OutputObject>;
|
|
1076
|
+
LogNftWithdrawalPerformed: TypedContractEvent<LogNftWithdrawalPerformedEvent.InputTuple, LogNftWithdrawalPerformedEvent.OutputTuple, LogNftWithdrawalPerformedEvent.OutputObject>;
|
|
1077
|
+
"LogRootUpdate(uint256,uint256,uint256,uint256)": TypedContractEvent<LogRootUpdateEvent.InputTuple, LogRootUpdateEvent.OutputTuple, LogRootUpdateEvent.OutputObject>;
|
|
1078
|
+
LogRootUpdate: TypedContractEvent<LogRootUpdateEvent.InputTuple, LogRootUpdateEvent.OutputTuple, LogRootUpdateEvent.OutputObject>;
|
|
1079
|
+
"LogStateTransitionFact(bytes32)": TypedContractEvent<LogStateTransitionFactEvent.InputTuple, LogStateTransitionFactEvent.OutputTuple, LogStateTransitionFactEvent.OutputObject>;
|
|
1080
|
+
LogStateTransitionFact: TypedContractEvent<LogStateTransitionFactEvent.InputTuple, LogStateTransitionFactEvent.OutputTuple, LogStateTransitionFactEvent.OutputObject>;
|
|
1081
|
+
"LogVaultBalanceChangeApplied(address,uint256,uint256,int256)": TypedContractEvent<LogVaultBalanceChangeAppliedEvent.InputTuple, LogVaultBalanceChangeAppliedEvent.OutputTuple, LogVaultBalanceChangeAppliedEvent.OutputObject>;
|
|
1082
|
+
LogVaultBalanceChangeApplied: TypedContractEvent<LogVaultBalanceChangeAppliedEvent.InputTuple, LogVaultBalanceChangeAppliedEvent.OutputTuple, LogVaultBalanceChangeAppliedEvent.OutputObject>;
|
|
1083
|
+
"LogWithdrawalAllowed(uint256,uint256,uint256,uint256)": TypedContractEvent<LogWithdrawalAllowedEvent.InputTuple, LogWithdrawalAllowedEvent.OutputTuple, LogWithdrawalAllowedEvent.OutputObject>;
|
|
1084
|
+
LogWithdrawalAllowed: TypedContractEvent<LogWithdrawalAllowedEvent.InputTuple, LogWithdrawalAllowedEvent.OutputTuple, LogWithdrawalAllowedEvent.OutputObject>;
|
|
1085
|
+
"LogWithdrawalPerformed(uint256,uint256,uint256,uint256,address)": TypedContractEvent<LogWithdrawalPerformedEvent.InputTuple, LogWithdrawalPerformedEvent.OutputTuple, LogWithdrawalPerformedEvent.OutputObject>;
|
|
1086
|
+
LogWithdrawalPerformed: TypedContractEvent<LogWithdrawalPerformedEvent.InputTuple, LogWithdrawalPerformedEvent.OutputTuple, LogWithdrawalPerformedEvent.OutputObject>;
|
|
1087
|
+
};
|
|
1088
|
+
}
|