Properties
interface
interface: RegistrationInterface
functions
functions: {
imx(overrides?) => Promise<[string]>;
isRegistered(starkKey, overrides?) => Promise<[boolean]>;
registerAndDepositNft(ethKey, starkKey, signature, assetType, vaultId, tokenId, overrides?) => Promise<ContractTransaction>;
registerAndWithdraw(ethKey, starkKey, signature, assetType, overrides?) => Promise<ContractTransaction>;
registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<ContractTransaction>;
registerAndWithdrawNftTo(ethKey, starkKey, signature, assetType, tokenId, recipient, overrides?) => Promise<ContractTransaction>;
registerAndWithdrawTo(ethKey, starkKey, signature, assetType, recipient, overrides?) => Promise<ContractTransaction>;
regsiterAndWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<ContractTransaction>;
}
Type declaration
-
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]>
-
registerAndDepositNft:function
- registerAndDepositNft(ethKey, starkKey, signature, assetType, vaultId, tokenId, overrides?): Promise<ContractTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
vaultId: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<ContractTransaction>
-
registerAndWithdraw:function
- registerAndWithdraw(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>
-
registerAndWithdrawNftTo:function
- registerAndWithdrawNftTo(ethKey, starkKey, signature, assetType, tokenId, recipient, overrides?): Promise<ContractTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
recipient: PromiseOrValue<string>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<ContractTransaction>
-
registerAndWithdrawTo:function
- registerAndWithdrawTo(ethKey, starkKey, signature, assetType, recipient, overrides?): Promise<ContractTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
recipient: PromiseOrValue<string>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<ContractTransaction>
-
regsiterAndWithdrawAndMint:function
- regsiterAndWithdrawAndMint(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>
callStatic
callStatic: {
imx(overrides?) => Promise<string>;
isRegistered(starkKey, overrides?) => Promise<boolean>;
registerAndDepositNft(ethKey, starkKey, signature, assetType, vaultId, tokenId, overrides?) => Promise<void>;
registerAndWithdraw(ethKey, starkKey, signature, assetType, overrides?) => Promise<void>;
registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<void>;
registerAndWithdrawNftTo(ethKey, starkKey, signature, assetType, tokenId, recipient, overrides?) => Promise<void>;
registerAndWithdrawTo(ethKey, starkKey, signature, assetType, recipient, overrides?) => Promise<void>;
regsiterAndWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<void>;
}
Type declaration
-
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>
-
registerAndDepositNft:function
- registerAndDepositNft(ethKey, starkKey, signature, assetType, vaultId, tokenId, overrides?): Promise<void>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
vaultId: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
Optional
overrides: CallOverrides
Returns Promise<void>
-
registerAndWithdraw:function
- registerAndWithdraw(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>
-
registerAndWithdrawNftTo:function
- registerAndWithdrawNftTo(ethKey, starkKey, signature, assetType, tokenId, recipient, overrides?): Promise<void>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
recipient: PromiseOrValue<string>
-
Optional
overrides: CallOverrides
Returns Promise<void>
-
registerAndWithdrawTo:function
- registerAndWithdrawTo(ethKey, starkKey, signature, assetType, recipient, overrides?): Promise<void>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
recipient: PromiseOrValue<string>
-
Optional
overrides: CallOverrides
Returns Promise<void>
-
regsiterAndWithdrawAndMint:function
- regsiterAndWithdrawAndMint(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>
estimateGas
estimateGas: {
imx(overrides?) => Promise<BigNumber>;
isRegistered(starkKey, overrides?) => Promise<BigNumber>;
registerAndDepositNft(ethKey, starkKey, signature, assetType, vaultId, tokenId, overrides?) => Promise<BigNumber>;
registerAndWithdraw(ethKey, starkKey, signature, assetType, overrides?) => Promise<BigNumber>;
registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<BigNumber>;
registerAndWithdrawNftTo(ethKey, starkKey, signature, assetType, tokenId, recipient, overrides?) => Promise<BigNumber>;
registerAndWithdrawTo(ethKey, starkKey, signature, assetType, recipient, overrides?) => Promise<BigNumber>;
regsiterAndWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<BigNumber>;
}
Type declaration
-
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>
-
registerAndDepositNft:function
- registerAndDepositNft(ethKey, starkKey, signature, assetType, vaultId, tokenId, overrides?): Promise<BigNumber>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
vaultId: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<BigNumber>
-
registerAndWithdraw:function
- registerAndWithdraw(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>
-
registerAndWithdrawNftTo:function
- registerAndWithdrawNftTo(ethKey, starkKey, signature, assetType, tokenId, recipient, overrides?): Promise<BigNumber>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
recipient: PromiseOrValue<string>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<BigNumber>
-
registerAndWithdrawTo:function
- registerAndWithdrawTo(ethKey, starkKey, signature, assetType, recipient, overrides?): Promise<BigNumber>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
recipient: PromiseOrValue<string>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<BigNumber>
-
regsiterAndWithdrawAndMint:function
- regsiterAndWithdrawAndMint(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>
populateTransaction
populateTransaction: {
imx(overrides?) => Promise<PopulatedTransaction>;
isRegistered(starkKey, overrides?) => Promise<PopulatedTransaction>;
registerAndDepositNft(ethKey, starkKey, signature, assetType, vaultId, tokenId, overrides?) => Promise<PopulatedTransaction>;
registerAndWithdraw(ethKey, starkKey, signature, assetType, overrides?) => Promise<PopulatedTransaction>;
registerAndWithdrawNft(ethKey, starkKey, signature, assetType, tokenId, overrides?) => Promise<PopulatedTransaction>;
registerAndWithdrawNftTo(ethKey, starkKey, signature, assetType, tokenId, recipient, overrides?) => Promise<PopulatedTransaction>;
registerAndWithdrawTo(ethKey, starkKey, signature, assetType, recipient, overrides?) => Promise<PopulatedTransaction>;
regsiterAndWithdrawAndMint(ethKey, starkKey, signature, assetType, mintingBlob, overrides?) => Promise<PopulatedTransaction>;
}
Type declaration
-
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>
-
registerAndDepositNft:function
- registerAndDepositNft(ethKey, starkKey, signature, assetType, vaultId, tokenId, overrides?): Promise<PopulatedTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
vaultId: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<PopulatedTransaction>
-
registerAndWithdraw:function
- registerAndWithdraw(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>
-
registerAndWithdrawNftTo:function
- registerAndWithdrawNftTo(ethKey, starkKey, signature, assetType, tokenId, recipient, overrides?): Promise<PopulatedTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
tokenId: PromiseOrValue<BigNumberish>
-
recipient: PromiseOrValue<string>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<PopulatedTransaction>
-
registerAndWithdrawTo:function
- registerAndWithdrawTo(ethKey, starkKey, signature, assetType, recipient, overrides?): Promise<PopulatedTransaction>
-
Parameters
-
ethKey: PromiseOrValue<string>
-
starkKey: PromiseOrValue<BigNumberish>
-
signature: PromiseOrValue<BytesLike>
-
assetType: PromiseOrValue<BigNumberish>
-
recipient: PromiseOrValue<string>
-
Optional
overrides: Overrides & {
from?: PromiseOrValue<string>;
}
Returns Promise<PopulatedTransaction>
-
regsiterAndWithdrawAndMint:function
- regsiterAndWithdrawAndMint(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>
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