Properties
_deployedPromise
_deployedPromise: Promise<Contract>
_runningEvents
_runningEvents: {}
Type declaration
[eventTag: string]: RunningEvent
_wrappedEmits
_wrappedEmits: {}
Type declaration
[eventTag: string]: (...args: any[]) => void
Readonly address
address: string
callStatic
callStatic: { _bridgeAddress: any; _contractAddressToResourceID: any; _contractWhitelist: any; _counts: any; _resourceIDToContractAddress: any; _updateRecords: any; executeProposal: any; getUpdateRecord: any; migrateBridge: any; setResource: any }
Type declaration
_bridgeAddress:function
- _bridgeAddress(overrides?: CallOverrides): Promise<string>
Parameters
Optional overrides: CallOverrides
Returns Promise<string>
_contractAddressToResourceID:function
- _contractAddressToResourceID(arg0: string, overrides?: CallOverrides): Promise<string>
Parameters
arg0: string
Optional overrides: CallOverrides
Returns Promise<string>
_contractWhitelist:function
- _contractWhitelist(arg0: string, overrides?: CallOverrides): Promise<boolean>
Parameters
arg0: string
Optional overrides: CallOverrides
Returns Promise<boolean>
_counts:function
- _counts(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
arg0: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
_resourceIDToContractAddress:function
- _resourceIDToContractAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<string>
Parameters
arg0: BytesLike
Optional overrides: CallOverrides
Returns Promise<string>
_updateRecords:function
- _updateRecords(arg0: BigNumberish, arg1: BigNumberish, overrides?: CallOverrides): Promise<[string, BigNumber, BigNumber, string, string, string] & { _executionChainID: BigNumber; _nonce: BigNumber; _resourceID: string; _tokenWrapperAddress: string; _updateValue: string; functionSig: string }>
Parameters
arg0: BigNumberish
arg1: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[string, BigNumber, BigNumber, string, string, string] & { _executionChainID: BigNumber; _nonce: BigNumber; _resourceID: string; _tokenWrapperAddress: string; _updateValue: string; functionSig: string }>
executeProposal:function
- executeProposal(resourceID: BytesLike, data: BytesLike, overrides?: CallOverrides): Promise<void>
Parameters
resourceID: BytesLike
data: BytesLike
Optional overrides: CallOverrides
Returns Promise<void>
getUpdateRecord:function
- getUpdateRecord(updateNonce: BigNumberish, executionChainId: BigNumberish, overrides?: CallOverrides): Promise<[string, BigNumber, BigNumber, string, string, string] & { _executionChainID: BigNumber; _nonce: BigNumber; _resourceID: string; _tokenWrapperAddress: string; _updateValue: string; functionSig: string }>
Parameters
updateNonce: BigNumberish
executionChainId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[string, BigNumber, BigNumber, string, string, string] & { _executionChainID: BigNumber; _nonce: BigNumber; _resourceID: string; _tokenWrapperAddress: string; _updateValue: string; functionSig: string }>
migrateBridge:function
- migrateBridge(newBridge: string, overrides?: CallOverrides): Promise<void>
Parameters
newBridge: string
Optional overrides: CallOverrides
Returns Promise<void>
setResource:function
- setResource(resourceID: BytesLike, contractAddress: string, overrides?: CallOverrides): Promise<void>
Parameters
resourceID: BytesLike
contractAddress: string
Optional overrides: CallOverrides
Returns Promise<void>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { _bridgeAddress: any; _contractAddressToResourceID: any; _contractWhitelist: any; _counts: any; _resourceIDToContractAddress: any; _updateRecords: any; executeProposal: any; getUpdateRecord: any; migrateBridge: any; setResource: any }
Type declaration
_bridgeAddress:function
- _bridgeAddress(overrides?: CallOverrides): Promise<BigNumber>
Parameters
Optional overrides: CallOverrides
Returns Promise<BigNumber>
_contractAddressToResourceID:function
- _contractAddressToResourceID(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
Parameters
arg0: string
Optional overrides: CallOverrides
Returns Promise<BigNumber>
_contractWhitelist:function
- _contractWhitelist(arg0: string, overrides?: CallOverrides): Promise<BigNumber>
Parameters
arg0: string
Optional overrides: CallOverrides
Returns Promise<BigNumber>
_counts:function
- _counts(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
arg0: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
_resourceIDToContractAddress:function
- _resourceIDToContractAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
Parameters
arg0: BytesLike
Optional overrides: CallOverrides
Returns Promise<BigNumber>
_updateRecords:function
- _updateRecords(arg0: BigNumberish, arg1: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
arg0: BigNumberish
arg1: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
executeProposal:function
- executeProposal(resourceID: BytesLike, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
resourceID: BytesLike
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
getUpdateRecord:function
- getUpdateRecord(updateNonce: BigNumberish, executionChainId: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
Parameters
updateNonce: BigNumberish
executionChainId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<BigNumber>
migrateBridge:function
- migrateBridge(newBridge: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
newBridge: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
setResource:function
- setResource(resourceID: BytesLike, contractAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
Parameters
resourceID: BytesLike
contractAddress: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
functions
functions: { _bridgeAddress: any; _contractAddressToResourceID: any; _contractWhitelist: any; _counts: any; _resourceIDToContractAddress: any; _updateRecords: any; executeProposal: any; getUpdateRecord: any; migrateBridge: any; setResource: any }
Type declaration
_bridgeAddress:function
- _bridgeAddress(overrides?: CallOverrides): Promise<[string]>
Parameters
Optional overrides: CallOverrides
Returns Promise<[string]>
_contractAddressToResourceID:function
- _contractAddressToResourceID(arg0: string, overrides?: CallOverrides): Promise<[string]>
Parameters
arg0: string
Optional overrides: CallOverrides
Returns Promise<[string]>
_contractWhitelist:function
- _contractWhitelist(arg0: string, overrides?: CallOverrides): Promise<[boolean]>
Parameters
arg0: string
Optional overrides: CallOverrides
Returns Promise<[boolean]>
_counts:function
- _counts(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>
Parameters
arg0: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
_resourceIDToContractAddress:function
- _resourceIDToContractAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<[string]>
Parameters
arg0: BytesLike
Optional overrides: CallOverrides
Returns Promise<[string]>
_updateRecords:function
- _updateRecords(arg0: BigNumberish, arg1: BigNumberish, overrides?: CallOverrides): Promise<[string, BigNumber, BigNumber, string, string, string] & { _executionChainID: BigNumber; _nonce: BigNumber; _resourceID: string; _tokenWrapperAddress: string; _updateValue: string; functionSig: string }>
Parameters
arg0: BigNumberish
arg1: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[string, BigNumber, BigNumber, string, string, string] & { _executionChainID: BigNumber; _nonce: BigNumber; _resourceID: string; _tokenWrapperAddress: string; _updateValue: string; functionSig: string }>
executeProposal:function
- executeProposal(resourceID: BytesLike, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
resourceID: BytesLike
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
getUpdateRecord:function
- getUpdateRecord(updateNonce: BigNumberish, executionChainId: BigNumberish, overrides?: CallOverrides): Promise<[[string, BigNumber, BigNumber, string, string, string] & { _executionChainID: BigNumber; _nonce: BigNumber; _resourceID: string; _tokenWrapperAddress: string; _updateValue: string; functionSig: string }]>
Parameters
updateNonce: BigNumberish
executionChainId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<[[string, BigNumber, BigNumber, string, string, string] & { _executionChainID: BigNumber; _nonce: BigNumber; _resourceID: string; _tokenWrapperAddress: string; _updateValue: string; functionSig: string }]>
migrateBridge:function
- migrateBridge(newBridge: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
newBridge: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
setResource:function
- setResource(resourceID: BytesLike, contractAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
Parameters
resourceID: BytesLike
contractAddress: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
interface
interface: TokenWrapperHandlerInterface
populateTransaction
populateTransaction: { _bridgeAddress: any; _contractAddressToResourceID: any; _contractWhitelist: any; _counts: any; _resourceIDToContractAddress: any; _updateRecords: any; executeProposal: any; getUpdateRecord: any; migrateBridge: any; setResource: any }
Type declaration
_bridgeAddress:function
- _bridgeAddress(overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
_contractAddressToResourceID:function
- _contractAddressToResourceID(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
arg0: string
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
_contractWhitelist:function
- _contractWhitelist(arg0: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
arg0: string
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
_counts:function
- _counts(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
arg0: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
_resourceIDToContractAddress:function
- _resourceIDToContractAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
arg0: BytesLike
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
_updateRecords:function
- _updateRecords(arg0: BigNumberish, arg1: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
arg0: BigNumberish
arg1: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
executeProposal:function
- executeProposal(resourceID: BytesLike, data: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
resourceID: BytesLike
data: BytesLike
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
getUpdateRecord:function
- getUpdateRecord(updateNonce: BigNumberish, executionChainId: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
updateNonce: BigNumberish
executionChainId: BigNumberish
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
migrateBridge:function
- migrateBridge(newBridge: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
newBridge: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
setResource:function
- setResource(resourceID: BytesLike, contractAddress: string, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
Parameters
resourceID: BytesLike
contractAddress: string
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer