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; _resourceIDToContractAddress: any; executeProposal: 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>
_resourceIDToContractAddress:function
- _resourceIDToContractAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<string>
Parameters
arg0: BytesLike
Optional overrides: CallOverrides
Returns Promise<string>
executeProposal:function
- executeProposal(resourceID: BytesLike, data: BytesLike, overrides?: CallOverrides): Promise<void>
Parameters
resourceID: BytesLike
data: BytesLike
Optional overrides: CallOverrides
Returns Promise<void>
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; _resourceIDToContractAddress: any; executeProposal: 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>
_resourceIDToContractAddress:function
- _resourceIDToContractAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
Parameters
arg0: BytesLike
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>
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; _resourceIDToContractAddress: any; executeProposal: 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]>
_resourceIDToContractAddress:function
- _resourceIDToContractAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<[string]>
Parameters
arg0: BytesLike
Optional overrides: CallOverrides
Returns Promise<[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>
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: HandlerHelpersInterface
populateTransaction
populateTransaction: { _bridgeAddress: any; _contractAddressToResourceID: any; _contractWhitelist: any; _resourceIDToContractAddress: any; executeProposal: 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>
_resourceIDToContractAddress:function
- _resourceIDToContractAddress(arg0: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
Parameters
arg0: BytesLike
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>
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