interface
interface: CoreV4Interface
functions
functions: {
DEPOSIT_CANCEL_DELAY(overrides?: CallOverrides): Promise<[BigNumber]>;
FREEZE_GRACE_PERIOD(overrides?: CallOverrides): Promise<[BigNumber]>;
MAIN_GOVERNANCE_INFO_TAG(overrides?: CallOverrides): Promise<[string]>;
MAX_FORCED_ACTIONS_REQS_PER_BLOCK(overrides?: CallOverrides): Promise<[BigNumber]>;
MAX_VERIFIER_COUNT(overrides?: CallOverrides): Promise<[BigNumber]>;
STARKEX_MAX_DEFAULT_VAULT_LOCK(overrides?: CallOverrides): Promise<[BigNumber]>;
UNFREEZE_DELAY(overrides?: CallOverrides): Promise<[BigNumber]>;
VERIFIER_REMOVAL_DELAY(overrides?: CallOverrides): Promise<[BigNumber]>;
VERSION(overrides?: CallOverrides): Promise<[string]>;
announceAvailabilityVerifierRemovalIntent(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
announceVerifierRemovalIntent(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
defaultVaultWithdrawalLock(overrides?: CallOverrides): Promise<[BigNumber]>;
deposit(uint256,uint256,uint256)(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
deposit(uint256,uint256,uint256,uint256)(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
depositCancel(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
depositERC20(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
depositERC20ToVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
depositEth(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
depositEthToVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
depositNft(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
depositNftReclaim(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
depositReclaim(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
escape(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
freezeRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
fullWithdrawalRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
getActionCount(overrides?: CallOverrides): Promise<[BigNumber]>;
getActionHashByIndex(actionIndex: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string]>;
getAssetInfo(assetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string] & {
assetInfo: string;
}>;
getCancellationRequest(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
request: BigNumber;
}>;
getDepositBalance(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
balance: BigNumber;
}>;
getEthKey(ownerKey: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string]>;
getFullWithdrawalRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
res: BigNumber;
}>;
getLastBatchId(overrides?: CallOverrides): Promise<[BigNumber] & {
batchId: BigNumber;
}>;
getOrderRoot(overrides?: CallOverrides): Promise<[BigNumber] & {
root: BigNumber;
}>;
getOrderTreeHeight(overrides?: CallOverrides): Promise<[BigNumber] & {
height: BigNumber;
}>;
getQuantizedDepositBalance(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
balance: BigNumber;
}>;
getQuantizedVaultBalance(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
getQuantum(presumedAssetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
quantum: BigNumber;
}>;
getRegisteredAvailabilityVerifiers(overrides?: CallOverrides): Promise<[string[]] & {
_verifers: string[];
}>;
getRegisteredVerifiers(overrides?: CallOverrides): Promise<[string[]] & {
_verifers: string[];
}>;
getSequenceNumber(overrides?: CallOverrides): Promise<[BigNumber] & {
seq: BigNumber;
}>;
getVaultBalance(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
getVaultRoot(overrides?: CallOverrides): Promise<[BigNumber] & {
root: BigNumber;
}>;
getVaultTreeHeight(overrides?: CallOverrides): Promise<[BigNumber] & {
height: BigNumber;
}>;
getVaultWithdrawalLock(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber]>;
getWithdrawalBalance(ownerKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[BigNumber] & {
balance: BigNumber;
}>;
initialize(data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
isAssetRegistered(assetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[boolean]>;
isAvailabilityVerifier(verifierAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
isFrozen(overrides?: CallOverrides): Promise<[boolean]>;
isOperator(testedOperator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
isStrictVaultBalancePolicy(overrides?: CallOverrides): Promise<[boolean]>;
isTokenAdmin(testedAdmin: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
isVaultLocked(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[boolean]>;
isVerifier(verifierAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
lockVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, lockTime: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
mainAcceptGovernance(overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
mainCancelNomination(overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
mainIsGovernor(testGovernor: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[boolean]>;
mainNominateNewGovernor(newGovernor: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
mainRemoveGovernor(governorForRemoval: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
onERC721Received(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, arg2: PromiseOrValue<BigNumberish>, arg3: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
orderRegistryAddress(overrides?: CallOverrides): Promise<[string]>;
registerAndDepositERC20(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, signature: PromiseOrValue<BytesLike>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
registerAndDepositEth(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, signature: PromiseOrValue<BytesLike>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
registerAvailabilityVerifier(verifier: PromiseOrValue<string>, identifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
registerEthAddress(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, starkSignature: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
registerOperator(newOperator: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
registerSender(starkKey: PromiseOrValue<BigNumberish>, starkSignature: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
registerToken(uint256,bytes)(assetType: PromiseOrValue<BigNumberish>, assetInfo: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
registerToken(uint256,bytes,uint256)(assetType: PromiseOrValue<BigNumberish>, assetInfo: PromiseOrValue<BytesLike>, quantum: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
registerTokenAdmin(newAdmin: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
registerVerifier(verifier: PromiseOrValue<string>, identifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
removeAvailabilityVerifier(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
removeVerifier(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
setDefaultVaultWithdrawalLock(newDefaultTime: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
unFreeze(overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
unregisterOperator(removedOperator: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
unregisterTokenAdmin(oldAdmin: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
updateImplementationActivationTime(implementation: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, finalize: PromiseOrValue<boolean>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
updateState(publicInput: PromiseOrValue<BigNumberish>[], applicationData: PromiseOrValue<BigNumberish>[], overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
withdraw(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
withdrawAndMint(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, mintingBlob: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
withdrawFromVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
withdrawNft(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<ContractTransaction>;
}
callStatic
callStatic: {
DEPOSIT_CANCEL_DELAY(overrides?: CallOverrides): Promise<BigNumber>;
FREEZE_GRACE_PERIOD(overrides?: CallOverrides): Promise<BigNumber>;
MAIN_GOVERNANCE_INFO_TAG(overrides?: CallOverrides): Promise<string>;
MAX_FORCED_ACTIONS_REQS_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
MAX_VERIFIER_COUNT(overrides?: CallOverrides): Promise<BigNumber>;
STARKEX_MAX_DEFAULT_VAULT_LOCK(overrides?: CallOverrides): Promise<BigNumber>;
UNFREEZE_DELAY(overrides?: CallOverrides): Promise<BigNumber>;
VERIFIER_REMOVAL_DELAY(overrides?: CallOverrides): Promise<BigNumber>;
VERSION(overrides?: CallOverrides): Promise<string>;
announceAvailabilityVerifierRemovalIntent(verifier: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
announceVerifierRemovalIntent(verifier: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
defaultVaultWithdrawalLock(overrides?: CallOverrides): Promise<BigNumber>;
deposit(uint256,uint256,uint256)(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
deposit(uint256,uint256,uint256,uint256)(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
depositCancel(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
depositERC20(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
depositERC20ToVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
depositEth(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
depositEthToVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
depositNft(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
depositNftReclaim(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
depositReclaim(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
escape(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
freezeRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
fullWithdrawalRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
getActionCount(overrides?: CallOverrides): Promise<BigNumber>;
getActionHashByIndex(actionIndex: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
getAssetInfo(assetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
getCancellationRequest(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getDepositBalance(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getEthKey(ownerKey: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
getFullWithdrawalRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getLastBatchId(overrides?: CallOverrides): Promise<BigNumber>;
getOrderRoot(overrides?: CallOverrides): Promise<BigNumber>;
getOrderTreeHeight(overrides?: CallOverrides): Promise<BigNumber>;
getQuantizedDepositBalance(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getQuantizedVaultBalance(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getQuantum(presumedAssetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getRegisteredAvailabilityVerifiers(overrides?: CallOverrides): Promise<string[]>;
getRegisteredVerifiers(overrides?: CallOverrides): Promise<string[]>;
getSequenceNumber(overrides?: CallOverrides): Promise<BigNumber>;
getVaultBalance(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getVaultRoot(overrides?: CallOverrides): Promise<BigNumber>;
getVaultTreeHeight(overrides?: CallOverrides): Promise<BigNumber>;
getVaultWithdrawalLock(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getWithdrawalBalance(ownerKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
initialize(data: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
isAssetRegistered(assetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>;
isAvailabilityVerifier(verifierAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
isFrozen(overrides?: CallOverrides): Promise<boolean>;
isOperator(testedOperator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
isStrictVaultBalancePolicy(overrides?: CallOverrides): Promise<boolean>;
isTokenAdmin(testedAdmin: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
isVaultLocked(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<boolean>;
isVerifier(verifierAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
lockVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, lockTime: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
mainAcceptGovernance(overrides?: CallOverrides): Promise<void>;
mainCancelNomination(overrides?: CallOverrides): Promise<void>;
mainIsGovernor(testGovernor: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
mainNominateNewGovernor(newGovernor: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
mainRemoveGovernor(governorForRemoval: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
onERC721Received(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, arg2: PromiseOrValue<BigNumberish>, arg3: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<string>;
orderRegistryAddress(overrides?: CallOverrides): Promise<string>;
registerAndDepositERC20(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, signature: PromiseOrValue<BytesLike>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
registerAndDepositEth(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, signature: PromiseOrValue<BytesLike>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
registerAvailabilityVerifier(verifier: PromiseOrValue<string>, identifier: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
registerEthAddress(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, starkSignature: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
registerOperator(newOperator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
registerSender(starkKey: PromiseOrValue<BigNumberish>, starkSignature: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
registerToken(uint256,bytes)(assetType: PromiseOrValue<BigNumberish>, assetInfo: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
registerToken(uint256,bytes,uint256)(assetType: PromiseOrValue<BigNumberish>, assetInfo: PromiseOrValue<BytesLike>, quantum: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
registerTokenAdmin(newAdmin: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
registerVerifier(verifier: PromiseOrValue<string>, identifier: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
removeAvailabilityVerifier(verifier: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
removeVerifier(verifier: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
setDefaultVaultWithdrawalLock(newDefaultTime: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
unFreeze(overrides?: CallOverrides): Promise<void>;
unregisterOperator(removedOperator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
unregisterTokenAdmin(oldAdmin: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>;
updateImplementationActivationTime(implementation: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, finalize: PromiseOrValue<boolean>, overrides?: CallOverrides): Promise<void>;
updateState(publicInput: PromiseOrValue<BigNumberish>[], applicationData: PromiseOrValue<BigNumberish>[], overrides?: CallOverrides): Promise<void>;
withdraw(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
withdrawAndMint(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, mintingBlob: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<void>;
withdrawFromVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
withdrawNft(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>;
}
filters
filters: {
ImplementationActivationRescheduled(address,uint256)(implementation?: null | PromiseOrValue<string>, updatedActivationTime?: null): ImplementationActivationRescheduledEventFilter;
ImplementationActivationRescheduled(implementation?: null | PromiseOrValue<string>, updatedActivationTime?: null): ImplementationActivationRescheduledEventFilter;
LogDefaultVaultWithdrawalLockSet(uint256)(newDefaultLockTime?: null): LogDefaultVaultWithdrawalLockSetEventFilter;
LogDefaultVaultWithdrawalLockSet(newDefaultLockTime?: null): LogDefaultVaultWithdrawalLockSetEventFilter;
LogDeposit(address,uint256,uint256,uint256,uint256,uint256)(depositorEthKey?: null, starkKey?: null, vaultId?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogDepositEventFilter;
LogDeposit(depositorEthKey?: null, starkKey?: null, vaultId?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogDepositEventFilter;
LogDepositCancel(uint256,uint256,uint256)(starkKey?: null, vaultId?: null, assetId?: null): LogDepositCancelEventFilter;
LogDepositCancel(starkKey?: null, vaultId?: null, assetId?: null): LogDepositCancelEventFilter;
LogDepositCancelReclaimed(uint256,uint256,uint256,uint256,uint256)(starkKey?: null, vaultId?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogDepositCancelReclaimedEventFilter;
LogDepositCancelReclaimed(starkKey?: null, vaultId?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogDepositCancelReclaimedEventFilter;
LogDepositNftCancelReclaimed(uint256,uint256,uint256,uint256,uint256)(starkKey?: null, vaultId?: null, assetType?: null, tokenId?: null, assetId?: null): LogDepositNftCancelReclaimedEventFilter;
LogDepositNftCancelReclaimed(starkKey?: null, vaultId?: null, assetType?: null, tokenId?: null, assetId?: null): LogDepositNftCancelReclaimedEventFilter;
LogDepositToVault(address,uint256,uint256,uint256,uint256)(ethKey?: null, assetId?: null, vaultId?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogDepositToVaultEventFilter;
LogDepositToVault(ethKey?: null, assetId?: null, vaultId?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogDepositToVaultEventFilter;
LogFrozen()(): LogFrozenEventFilter;
LogFrozen(): LogFrozenEventFilter;
LogFullWithdrawalRequest(uint256,uint256)(starkKey?: null, vaultId?: null): LogFullWithdrawalRequestEventFilter;
LogFullWithdrawalRequest(starkKey?: null, vaultId?: null): LogFullWithdrawalRequestEventFilter;
LogMintWithdrawalPerformed(uint256,uint256,uint256,uint256,uint256)(ownerKey?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null, assetId?: null): LogMintWithdrawalPerformedEventFilter;
LogMintWithdrawalPerformed(ownerKey?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null, assetId?: null): LogMintWithdrawalPerformedEventFilter;
LogMintableWithdrawalAllowed(uint256,uint256,uint256)(ownerKey?: null, assetId?: null, quantizedAmount?: null): LogMintableWithdrawalAllowedEventFilter;
LogMintableWithdrawalAllowed(ownerKey?: null, assetId?: null, quantizedAmount?: null): LogMintableWithdrawalAllowedEventFilter;
LogNewGovernorAccepted(address)(acceptedGovernor?: null): LogNewGovernorAcceptedEventFilter;
LogNewGovernorAccepted(acceptedGovernor?: null): LogNewGovernorAcceptedEventFilter;
LogNftDeposit(address,uint256,uint256,uint256,uint256,uint256)(depositorEthKey?: null, starkKey?: null, vaultId?: null, assetType?: null, tokenId?: null, assetId?: null): LogNftDepositEventFilter;
LogNftDeposit(depositorEthKey?: null, starkKey?: null, vaultId?: null, assetType?: null, tokenId?: null, assetId?: null): LogNftDepositEventFilter;
LogNftWithdrawalAllowed(uint256,uint256)(ownerKey?: null, assetId?: null): LogNftWithdrawalAllowedEventFilter;
LogNftWithdrawalAllowed(ownerKey?: null, assetId?: null): LogNftWithdrawalAllowedEventFilter;
LogNftWithdrawalPerformed(uint256,uint256,uint256,uint256,address)(ownerKey?: null, assetType?: null, tokenId?: null, assetId?: null, recipient?: null): LogNftWithdrawalPerformedEventFilter;
LogNftWithdrawalPerformed(ownerKey?: null, assetType?: null, tokenId?: null, assetId?: null, recipient?: null): LogNftWithdrawalPerformedEventFilter;
LogNominatedGovernor(address)(nominatedGovernor?: null): LogNominatedGovernorEventFilter;
LogNominatedGovernor(nominatedGovernor?: null): LogNominatedGovernorEventFilter;
LogNominationCancelled()(): LogNominationCancelledEventFilter;
LogNominationCancelled(): LogNominationCancelledEventFilter;
LogOperatorAdded(address)(operator?: null): LogOperatorAddedEventFilter;
LogOperatorAdded(operator?: null): LogOperatorAddedEventFilter;
LogOperatorRemoved(address)(operator?: null): LogOperatorRemovedEventFilter;
LogOperatorRemoved(operator?: null): LogOperatorRemovedEventFilter;
LogRegistered(address,string)(entry?: null, entryId?: null): LogRegisteredEventFilter;
LogRegistered(entry?: null, entryId?: null): LogRegisteredEventFilter;
LogRemovalIntent(address,string)(entry?: null, entryId?: null): LogRemovalIntentEventFilter;
LogRemovalIntent(entry?: null, entryId?: null): LogRemovalIntentEventFilter;
LogRemoved(address,string)(entry?: null, entryId?: null): LogRemovedEventFilter;
LogRemoved(entry?: null, entryId?: null): LogRemovedEventFilter;
LogRemovedGovernor(address)(removedGovernor?: null): LogRemovedGovernorEventFilter;
LogRemovedGovernor(removedGovernor?: null): LogRemovedGovernorEventFilter;
LogRootUpdate(uint256,uint256,uint256,uint256)(sequenceNumber?: null, batchId?: null, vaultRoot?: null, orderRoot?: null): LogRootUpdateEventFilter;
LogRootUpdate(sequenceNumber?: null, batchId?: null, vaultRoot?: null, orderRoot?: null): LogRootUpdateEventFilter;
LogStateTransitionFact(bytes32)(stateTransitionFact?: null): LogStateTransitionFactEventFilter;
LogStateTransitionFact(stateTransitionFact?: null): LogStateTransitionFactEventFilter;
LogTokenAdminAdded(address)(tokenAdmin?: null): LogTokenAdminAddedEventFilter;
LogTokenAdminAdded(tokenAdmin?: null): LogTokenAdminAddedEventFilter;
LogTokenAdminRemoved(address)(tokenAdmin?: null): LogTokenAdminRemovedEventFilter;
LogTokenAdminRemoved(tokenAdmin?: null): LogTokenAdminRemovedEventFilter;
LogTokenRegistered(uint256,bytes,uint256)(assetType?: null, assetInfo?: null, quantum?: null): LogTokenRegisteredEventFilter;
LogTokenRegistered(assetType?: null, assetInfo?: null, quantum?: null): LogTokenRegisteredEventFilter;
LogUnFrozen()(): LogUnFrozenEventFilter;
LogUnFrozen(): LogUnFrozenEventFilter;
LogUserRegistered(address,uint256,address)(ethKey?: null, starkKey?: null, sender?: null): LogUserRegisteredEventFilter;
LogUserRegistered(ethKey?: null, starkKey?: null, sender?: null): LogUserRegisteredEventFilter;
LogVaultBalanceChangeApplied(address,uint256,uint256,int256)(ethKey?: null, assetId?: null, vaultId?: null, quantizedAmountChange?: null): LogVaultBalanceChangeAppliedEventFilter;
LogVaultBalanceChangeApplied(ethKey?: null, assetId?: null, vaultId?: null, quantizedAmountChange?: null): LogVaultBalanceChangeAppliedEventFilter;
LogVaultWithdrawalLockSet(address,uint256,uint256,uint256)(ethKey?: null, assetId?: null, vaultId?: null, timeRelease?: null): LogVaultWithdrawalLockSetEventFilter;
LogVaultWithdrawalLockSet(ethKey?: null, assetId?: null, vaultId?: null, timeRelease?: null): LogVaultWithdrawalLockSetEventFilter;
LogWithdrawalAllowed(uint256,uint256,uint256,uint256)(ownerKey?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogWithdrawalAllowedEventFilter;
LogWithdrawalAllowed(ownerKey?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogWithdrawalAllowedEventFilter;
LogWithdrawalFromVault(address,uint256,uint256,uint256,uint256)(ethKey?: null, assetId?: null, vaultId?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogWithdrawalFromVaultEventFilter;
LogWithdrawalFromVault(ethKey?: null, assetId?: null, vaultId?: null, nonQuantizedAmount?: null, quantizedAmount?: null): LogWithdrawalFromVaultEventFilter;
LogWithdrawalPerformed(uint256,uint256,uint256,uint256,address)(ownerKey?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null, recipient?: null): LogWithdrawalPerformedEventFilter;
LogWithdrawalPerformed(ownerKey?: null, assetType?: null, nonQuantizedAmount?: null, quantizedAmount?: null, recipient?: null): LogWithdrawalPerformedEventFilter;
}
estimateGas
estimateGas: {
DEPOSIT_CANCEL_DELAY(overrides?: CallOverrides): Promise<BigNumber>;
FREEZE_GRACE_PERIOD(overrides?: CallOverrides): Promise<BigNumber>;
MAIN_GOVERNANCE_INFO_TAG(overrides?: CallOverrides): Promise<BigNumber>;
MAX_FORCED_ACTIONS_REQS_PER_BLOCK(overrides?: CallOverrides): Promise<BigNumber>;
MAX_VERIFIER_COUNT(overrides?: CallOverrides): Promise<BigNumber>;
STARKEX_MAX_DEFAULT_VAULT_LOCK(overrides?: CallOverrides): Promise<BigNumber>;
UNFREEZE_DELAY(overrides?: CallOverrides): Promise<BigNumber>;
VERIFIER_REMOVAL_DELAY(overrides?: CallOverrides): Promise<BigNumber>;
VERSION(overrides?: CallOverrides): Promise<BigNumber>;
announceAvailabilityVerifierRemovalIntent(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
announceVerifierRemovalIntent(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
defaultVaultWithdrawalLock(overrides?: CallOverrides): Promise<BigNumber>;
deposit(uint256,uint256,uint256)(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
deposit(uint256,uint256,uint256,uint256)(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
depositCancel(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
depositERC20(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
depositERC20ToVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
depositEth(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
depositEthToVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
depositNft(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
depositNftReclaim(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
depositReclaim(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
escape(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
freezeRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
fullWithdrawalRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
getActionCount(overrides?: CallOverrides): Promise<BigNumber>;
getActionHashByIndex(actionIndex: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getAssetInfo(assetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getCancellationRequest(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getDepositBalance(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getEthKey(ownerKey: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getFullWithdrawalRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getLastBatchId(overrides?: CallOverrides): Promise<BigNumber>;
getOrderRoot(overrides?: CallOverrides): Promise<BigNumber>;
getOrderTreeHeight(overrides?: CallOverrides): Promise<BigNumber>;
getQuantizedDepositBalance(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getQuantizedVaultBalance(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getQuantum(presumedAssetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getRegisteredAvailabilityVerifiers(overrides?: CallOverrides): Promise<BigNumber>;
getRegisteredVerifiers(overrides?: CallOverrides): Promise<BigNumber>;
getSequenceNumber(overrides?: CallOverrides): Promise<BigNumber>;
getVaultBalance(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getVaultRoot(overrides?: CallOverrides): Promise<BigNumber>;
getVaultTreeHeight(overrides?: CallOverrides): Promise<BigNumber>;
getVaultWithdrawalLock(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
getWithdrawalBalance(ownerKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
initialize(data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
isAssetRegistered(assetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
isAvailabilityVerifier(verifierAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
isFrozen(overrides?: CallOverrides): Promise<BigNumber>;
isOperator(testedOperator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
isStrictVaultBalancePolicy(overrides?: CallOverrides): Promise<BigNumber>;
isTokenAdmin(testedAdmin: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
isVaultLocked(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
isVerifier(verifierAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
lockVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, lockTime: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
mainAcceptGovernance(overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
mainCancelNomination(overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
mainIsGovernor(testGovernor: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
mainNominateNewGovernor(newGovernor: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
mainRemoveGovernor(governorForRemoval: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
onERC721Received(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, arg2: PromiseOrValue<BigNumberish>, arg3: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
orderRegistryAddress(overrides?: CallOverrides): Promise<BigNumber>;
registerAndDepositERC20(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, signature: PromiseOrValue<BytesLike>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
registerAndDepositEth(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, signature: PromiseOrValue<BytesLike>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
registerAvailabilityVerifier(verifier: PromiseOrValue<string>, identifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
registerEthAddress(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, starkSignature: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
registerOperator(newOperator: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
registerSender(starkKey: PromiseOrValue<BigNumberish>, starkSignature: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
registerToken(uint256,bytes)(assetType: PromiseOrValue<BigNumberish>, assetInfo: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
registerToken(uint256,bytes,uint256)(assetType: PromiseOrValue<BigNumberish>, assetInfo: PromiseOrValue<BytesLike>, quantum: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
registerTokenAdmin(newAdmin: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
registerVerifier(verifier: PromiseOrValue<string>, identifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
removeAvailabilityVerifier(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
removeVerifier(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
setDefaultVaultWithdrawalLock(newDefaultTime: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
unFreeze(overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
unregisterOperator(removedOperator: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
unregisterTokenAdmin(oldAdmin: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
updateImplementationActivationTime(implementation: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, finalize: PromiseOrValue<boolean>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
updateState(publicInput: PromiseOrValue<BigNumberish>[], applicationData: PromiseOrValue<BigNumberish>[], overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
withdraw(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
withdrawAndMint(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, mintingBlob: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
withdrawFromVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
withdrawNft(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<BigNumber>;
}
populateTransaction
populateTransaction: {
DEPOSIT_CANCEL_DELAY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
FREEZE_GRACE_PERIOD(overrides?: CallOverrides): Promise<PopulatedTransaction>;
MAIN_GOVERNANCE_INFO_TAG(overrides?: CallOverrides): Promise<PopulatedTransaction>;
MAX_FORCED_ACTIONS_REQS_PER_BLOCK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
MAX_VERIFIER_COUNT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
STARKEX_MAX_DEFAULT_VAULT_LOCK(overrides?: CallOverrides): Promise<PopulatedTransaction>;
UNFREEZE_DELAY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
VERIFIER_REMOVAL_DELAY(overrides?: CallOverrides): Promise<PopulatedTransaction>;
VERSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
announceAvailabilityVerifierRemovalIntent(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
announceVerifierRemovalIntent(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
defaultVaultWithdrawalLock(overrides?: CallOverrides): Promise<PopulatedTransaction>;
deposit(uint256,uint256,uint256)(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
deposit(uint256,uint256,uint256,uint256)(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
depositCancel(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
depositERC20(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
depositERC20ToVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
depositEth(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
depositEthToVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
depositNft(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
depositNftReclaim(starkKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
depositReclaim(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
escape(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
freezeRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
fullWithdrawalRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
getActionCount(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getActionHashByIndex(actionIndex: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getAssetInfo(assetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getCancellationRequest(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getDepositBalance(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getEthKey(ownerKey: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getFullWithdrawalRequest(starkKey: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getLastBatchId(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getOrderRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getOrderTreeHeight(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getQuantizedDepositBalance(starkKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getQuantizedVaultBalance(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getQuantum(presumedAssetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getRegisteredAvailabilityVerifiers(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getRegisteredVerifiers(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getSequenceNumber(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getVaultBalance(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getVaultRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getVaultTreeHeight(overrides?: CallOverrides): Promise<PopulatedTransaction>;
getVaultWithdrawalLock(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
getWithdrawalBalance(ownerKey: PromiseOrValue<BigNumberish>, assetId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
initialize(data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
isAssetRegistered(assetType: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
isAvailabilityVerifier(verifierAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
isFrozen(overrides?: CallOverrides): Promise<PopulatedTransaction>;
isOperator(testedOperator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
isStrictVaultBalancePolicy(overrides?: CallOverrides): Promise<PopulatedTransaction>;
isTokenAdmin(testedAdmin: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
isVaultLocked(ethKey: PromiseOrValue<string>, assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
isVerifier(verifierAddress: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
lockVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, lockTime: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
mainAcceptGovernance(overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
mainCancelNomination(overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
mainIsGovernor(testGovernor: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
mainNominateNewGovernor(newGovernor: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
mainRemoveGovernor(governorForRemoval: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
onERC721Received(arg0: PromiseOrValue<string>, arg1: PromiseOrValue<string>, arg2: PromiseOrValue<BigNumberish>, arg3: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
orderRegistryAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>;
registerAndDepositERC20(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, signature: PromiseOrValue<BytesLike>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
registerAndDepositEth(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, signature: PromiseOrValue<BytesLike>, assetType: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, overrides?: PayableOverrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
registerAvailabilityVerifier(verifier: PromiseOrValue<string>, identifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
registerEthAddress(ethKey: PromiseOrValue<string>, starkKey: PromiseOrValue<BigNumberish>, starkSignature: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
registerOperator(newOperator: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
registerSender(starkKey: PromiseOrValue<BigNumberish>, starkSignature: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
registerToken(uint256,bytes)(assetType: PromiseOrValue<BigNumberish>, assetInfo: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
registerToken(uint256,bytes,uint256)(assetType: PromiseOrValue<BigNumberish>, assetInfo: PromiseOrValue<BytesLike>, quantum: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
registerTokenAdmin(newAdmin: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
registerVerifier(verifier: PromiseOrValue<string>, identifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
removeAvailabilityVerifier(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
removeVerifier(verifier: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
setDefaultVaultWithdrawalLock(newDefaultTime: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
unFreeze(overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
unregisterOperator(removedOperator: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
unregisterTokenAdmin(oldAdmin: PromiseOrValue<string>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
updateImplementationActivationTime(implementation: PromiseOrValue<string>, data: PromiseOrValue<BytesLike>, finalize: PromiseOrValue<boolean>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
updateState(publicInput: PromiseOrValue<BigNumberish>[], applicationData: PromiseOrValue<BigNumberish>[], overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
withdraw(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
withdrawAndMint(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, mintingBlob: PromiseOrValue<BytesLike>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
withdrawFromVault(assetId: PromiseOrValue<BigNumberish>, vaultId: PromiseOrValue<BigNumberish>, quantizedAmount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
withdrawNft(ownerKey: PromiseOrValue<BigNumberish>, assetType: PromiseOrValue<BigNumberish>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
from?: PromiseOrValue<string>;
}): Promise<PopulatedTransaction>;
}
Readonly
address
address: string
Readonly
provider
provider: Provider
Readonly
resolvedAddress
resolvedAddress: Promise<string>
Readonly
deployTransaction
_deployedPromise
_deployedPromise: Promise<Contract>
_runningEvents
_runningEvents: {
[eventTag: string]: RunningEvent;
}
_wrappedEmits
_wrappedEmits: {
[eventTag: string]: ((...args: any[]) => void);
}