Properties
interface
interface: RegistrationV4Interface
functions
functions: {
getVersion(overrides?) => Promise<[string]>;
imx(overrides?) => Promise<[string]>;
isRegistered(starkKey, overrides?) => Promise<[boolean]>;
registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?) => Promise<ContractTransaction>;
registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<ContractTransaction>;
registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<ContractTransaction>;
withdrawAll(ethKey, starkKey, assetType, overrides?) => Promise<ContractTransaction>;
}
Type declaration
-
getVersion:function
- getVersion(overrides?): Promise<[string]>
-
Parameters
-
Optional
overrides: CallOverrides
Returns Promise<[string]>
-
imx:function
- imx(overrides?): Promise<[string]>
-
Parameters
-
Optional
overrides: CallOverrides
Returns Promise<[string]>
-
isRegistered:function
- isRegistered(starkKey, overrides?): Promise<[boolean]>
-
Parameters
-
starkKey: PromiseOrValue<BigNumberish>
-
Optional
overrides: CallOverrides
Returns Promise<[boolean]>
-
registerAndWithdrawAll:function
- registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?): Promise<ContractTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<ContractTransaction>
-
registerAndWithdrawNft:function
- registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?): Promise<ContractTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<ContractTransaction>
-
registerWithdrawAndMint:function
- registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?): Promise<ContractTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
mintingBlob: PromiseOrValue<BytesLike>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<ContractTransaction>
-
withdrawAll:function
- withdrawAll(ethKey, starkKey, assetType, overrides?): Promise<ContractTransaction>
-
Parameters
-
ethKey: PromiseOrValue<BigNumberish>
-
starkKey: PromiseOrValue<BigNumberish>
-
assetType: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<ContractTransaction>
callStatic
callStatic: {
getVersion(overrides?) => Promise<string>;
imx(overrides?) => Promise<string>;
isRegistered(starkKey, overrides?) => Promise<boolean>;
registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?) => Promise<void>;
registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<void>;
registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<void>;
withdrawAll(ethKey, starkKey, assetType, overrides?) => Promise<void>;
}
Type declaration
-
getVersion:function
- getVersion(overrides?): Promise<string>
-
Parameters
-
Optional
overrides: CallOverrides
Returns Promise<string>
-
imx:function
- imx(overrides?): Promise<string>
-
Parameters
-
Optional
overrides: CallOverrides
Returns Promise<string>
-
isRegistered:function
- isRegistered(starkKey, overrides?): Promise<boolean>
-
Parameters
-
starkKey: PromiseOrValue<BigNumberish>
-
Optional
overrides: CallOverrides
Returns Promise<boolean>
-
registerAndWithdrawAll:function
- registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?): Promise<void>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
Optional
overrides: CallOverrides
Returns Promise<void>
-
registerAndWithdrawNft:function
- registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?): Promise<void>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
Optional
overrides: CallOverrides
Returns Promise<void>
-
registerWithdrawAndMint:function
- registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?): Promise<void>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
mintingBlob: PromiseOrValue<BytesLike>
-
Optional
overrides: CallOverrides
Returns Promise<void>
-
withdrawAll:function
- withdrawAll(ethKey, starkKey, assetType, overrides?): Promise<void>
-
Parameters
-
ethKey: PromiseOrValue<BigNumberish>
-
starkKey: PromiseOrValue<BigNumberish>
-
assetType: PromiseOrValue<BigNumberish>
-
Optional
overrides: CallOverrides
Returns Promise<void>
estimateGas
estimateGas: {
getVersion(overrides?) => Promise<BigNumber>;
imx(overrides?) => Promise<BigNumber>;
isRegistered(starkKey, overrides?) => Promise<BigNumber>;
registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?) => Promise<BigNumber>;
registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<BigNumber>;
registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<BigNumber>;
withdrawAll(ethKey, starkKey, assetType, overrides?) => Promise<BigNumber>;
}
Type declaration
-
getVersion:function
- getVersion(overrides?): Promise<BigNumber>
-
Parameters
-
Optional
overrides: CallOverrides
Returns Promise<BigNumber>
-
imx:function
- imx(overrides?): Promise<BigNumber>
-
Parameters
-
Optional
overrides: CallOverrides
Returns Promise<BigNumber>
-
isRegistered:function
- isRegistered(starkKey, overrides?): Promise<BigNumber>
-
Parameters
-
starkKey: PromiseOrValue<BigNumberish>
-
Optional
overrides: CallOverrides
Returns Promise<BigNumber>
-
registerAndWithdrawAll:function
- registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?): Promise<BigNumber>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<BigNumber>
-
registerAndWithdrawNft:function
- registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?): Promise<BigNumber>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<BigNumber>
-
registerWithdrawAndMint:function
- registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?): Promise<BigNumber>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
mintingBlob: PromiseOrValue<BytesLike>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<BigNumber>
-
withdrawAll:function
- withdrawAll(ethKey, starkKey, assetType, overrides?): Promise<BigNumber>
-
Parameters
-
ethKey: PromiseOrValue<BigNumberish>
-
starkKey: PromiseOrValue<BigNumberish>
-
assetType: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<BigNumber>
populateTransaction
populateTransaction: {
getVersion(overrides?) => Promise<PopulatedTransaction>;
imx(overrides?) => Promise<PopulatedTransaction>;
isRegistered(starkKey, overrides?) => Promise<PopulatedTransaction>;
registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?) => Promise<PopulatedTransaction>;
registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<PopulatedTransaction>;
registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<PopulatedTransaction>;
withdrawAll(ethKey, starkKey, assetType, overrides?) => Promise<PopulatedTransaction>;
}
Type declaration
-
getVersion:function
- getVersion(overrides?): Promise<PopulatedTransaction>
-
Parameters
-
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
imx:function
- imx(overrides?): Promise<PopulatedTransaction>
-
Parameters
-
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
isRegistered:function
- isRegistered(starkKey, overrides?): Promise<PopulatedTransaction>
-
Parameters
-
starkKey: PromiseOrValue<BigNumberish>
-
Optional
overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
registerAndWithdrawAll:function
- registerAndWithdrawAll(ethKey, starkKey, signature, assetType, overrides?): Promise<PopulatedTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<PopulatedTransaction>
-
registerAndWithdrawNft:function
- registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?): Promise<PopulatedTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<PopulatedTransaction>
-
registerWithdrawAndMint:function
- registerWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?): Promise<PopulatedTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
mintingBlob: PromiseOrValue<BytesLike>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<PopulatedTransaction>
-
withdrawAll:function
- withdrawAll(ethKey, starkKey, assetType, overrides?): Promise<PopulatedTransaction>
-
Parameters
-
ethKey: PromiseOrValue<BigNumberish>
-
starkKey: PromiseOrValue<BigNumberish>
-
assetType: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns 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;
}
Type declaration
-
[eventTag: string]: RunningEvent
_wrappedEmits
_wrappedEmits: {
[eventTag: string]: ((...args) => void);
}
Type declaration
-
[eventTag: string]: ((...args) => void)
-
- (...args): void
-
Returns void