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: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; initialize: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any; parseAndVerifyVM: any; parseContractUpgrade: any; parseGuardianSetUpgrade: any; parseRecoverChainId: any; parseSetMessageFee: any; parseTransferFees: any; parseVM: any; publishMessage: any; quorum: any; submitContractUpgrade: any; submitNewGuardianSet: any; submitRecoverChainId: any; submitSetMessageFee: any; submitTransferFees: any; testNewImplementationActive: any; testOverwriteEVMChainId: any; verifySignatures: any; verifyVM: any }
Type declaration
-
chainId: function
- chainId(overrides?: CallOverrides): Promise<number>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<number>
-
evmChainId: function
- evmChainId(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
getCurrentGuardianSetIndex: function
- getCurrentGuardianSetIndex(overrides?: CallOverrides): Promise<number>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<number>
-
getGuardianSet: function
- getGuardianSet(index: BigNumberish, overrides?: CallOverrides): Promise<[string[], number] & { expirationTime: number; keys: string[] }>
-
Parameters
-
index: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[string[], number] & { expirationTime: number; keys: string[] }>
-
getGuardianSetExpiry: function
- getGuardianSetExpiry(overrides?: CallOverrides): Promise<number>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<number>
-
governanceActionIsConsumed: function
- governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
governanceChainId: function
- governanceChainId(overrides?: CallOverrides): Promise<number>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<number>
-
governanceContract: function
- governanceContract(overrides?: CallOverrides): Promise<string>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<string>
-
initialize: function
- initialize(overrides?: CallOverrides): Promise<void>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<void>
-
isFork: function
- isFork(overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
isInitialized: function
- isInitialized(impl: string, overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
impl: string
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
messageFee: function
- messageFee(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
nextSequence: function
- nextSequence(emitter: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
emitter: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseAndVerifyVM: function
- parseAndVerifyVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<[[number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number }, boolean, string] & { reason: string; valid: boolean; vm: [number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number } }>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number }, boolean, string] & { reason: string; valid: boolean; vm: [number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number } }>
-
parseContractUpgrade: function
- parseContractUpgrade(encodedUpgrade: BytesLike, overrides?: CallOverrides): Promise<[string, number, number, string] & { action: number; chain: number; module: string; newContract: string }>
-
Parameters
-
encodedUpgrade: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string, number, number, string] & { action: number; chain: number; module: string; newContract: string }>
-
parseGuardianSetUpgrade: function
- parseGuardianSetUpgrade(encodedUpgrade: BytesLike, overrides?: CallOverrides): Promise<[string, number, number, [string[], number] & { expirationTime: number; keys: string[] }, number] & { action: number; chain: number; module: string; newGuardianSet: [string[], number] & { expirationTime: number; keys: string[] }; newGuardianSetIndex: number }>
-
Parameters
-
encodedUpgrade: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string, number, number, [string[], number] & { expirationTime: number; keys: string[] }, number] & { action: number; chain: number; module: string; newGuardianSet: [string[], number] & { expirationTime: number; keys: string[] }; newGuardianSetIndex: number }>
-
parseRecoverChainId: function
- parseRecoverChainId(encodedRecoverChainId: BytesLike, overrides?: CallOverrides): Promise<[string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number }>
-
Parameters
-
encodedRecoverChainId: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number }>
-
parseSetMessageFee: function
- parseSetMessageFee(encodedSetMessageFee: BytesLike, overrides?: CallOverrides): Promise<[string, number, number, BigNumber] & { action: number; chain: number; messageFee: BigNumber; module: string }>
-
Parameters
-
encodedSetMessageFee: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string, number, number, BigNumber] & { action: number; chain: number; messageFee: BigNumber; module: string }>
-
parseTransferFees: function
- parseTransferFees(encodedTransferFees: BytesLike, overrides?: CallOverrides): Promise<[string, number, number, BigNumber, string] & { action: number; amount: BigNumber; chain: number; module: string; recipient: string }>
-
Parameters
-
encodedTransferFees: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[string, number, number, BigNumber, string] & { action: number; amount: BigNumber; chain: number; module: string; recipient: string }>
-
parseVM: function
- parseVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<[number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number }>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number }>
-
publishMessage: function
- publishMessage(nonce: BigNumberish, payload: BytesLike, consistencyLevel: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
nonce: BigNumberish
-
payload: BytesLike
-
consistencyLevel: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
quorum: function
- quorum(numGuardians: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
numGuardians: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
submitContractUpgrade: function
- submitContractUpgrade(_vm: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
submitNewGuardianSet: function
- submitNewGuardianSet(_vm: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
submitRecoverChainId: function
- submitRecoverChainId(_vm: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
submitSetMessageFee: function
- submitSetMessageFee(_vm: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
submitTransferFees: function
- submitTransferFees(_vm: BytesLike, overrides?: CallOverrides): Promise<void>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<void>
-
testNewImplementationActive: function
- testNewImplementationActive(overrides?: CallOverrides): Promise<boolean>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<boolean>
-
testOverwriteEVMChainId: function
- testOverwriteEVMChainId(fakeChainId: BigNumberish, fakeEvmChainId: BigNumberish, overrides?: CallOverrides): Promise<void>
-
Parameters
-
fakeChainId: BigNumberish
-
fakeEvmChainId: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<void>
-
verifySignatures: function
- verifySignatures(hash: BytesLike, signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[], guardianSet: { expirationTime: BigNumberish; keys: string[] }, overrides?: CallOverrides): Promise<[boolean, string] & { reason: string; valid: boolean }>
-
Parameters
-
hash: BytesLike
-
signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]
-
guardianSet: { expirationTime: BigNumberish; keys: string[] }
-
expirationTime: BigNumberish
-
keys: string[]
-
Optional overrides: CallOverrides
Returns Promise<[boolean, string] & { reason: string; valid: boolean }>
-
verifyVM: function
- verifyVM(vm: { consistencyLevel: BigNumberish; emitterAddress: BytesLike; emitterChainId: BigNumberish; guardianSetIndex: BigNumberish; hash: BytesLike; nonce: BigNumberish; payload: BytesLike; sequence: BigNumberish; signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]; timestamp: BigNumberish; version: BigNumberish }, overrides?: CallOverrides): Promise<[boolean, string] & { reason: string; valid: boolean }>
-
Parameters
-
vm: { consistencyLevel: BigNumberish; emitterAddress: BytesLike; emitterChainId: BigNumberish; guardianSetIndex: BigNumberish; hash: BytesLike; nonce: BigNumberish; payload: BytesLike; sequence: BigNumberish; signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]; timestamp: BigNumberish; version: BigNumberish }
-
consistencyLevel: BigNumberish
-
emitterAddress: BytesLike
-
emitterChainId: BigNumberish
-
guardianSetIndex: BigNumberish
-
hash: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
sequence: BigNumberish
-
signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]
-
timestamp: BigNumberish
-
version: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[boolean, string] & { reason: string; valid: boolean }>
Readonly deployTransaction
deployTransaction: TransactionResponse
estimateGas
estimateGas: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; initialize: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any; parseAndVerifyVM: any; parseContractUpgrade: any; parseGuardianSetUpgrade: any; parseRecoverChainId: any; parseSetMessageFee: any; parseTransferFees: any; parseVM: any; publishMessage: any; quorum: any; submitContractUpgrade: any; submitNewGuardianSet: any; submitRecoverChainId: any; submitSetMessageFee: any; submitTransferFees: any; testNewImplementationActive: any; testOverwriteEVMChainId: any; verifySignatures: any; verifyVM: any }
Type declaration
-
chainId: function
- chainId(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
evmChainId: function
- evmChainId(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
getCurrentGuardianSetIndex: function
- getCurrentGuardianSetIndex(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
getGuardianSet: function
- getGuardianSet(index: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
index: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
getGuardianSetExpiry: function
- getGuardianSetExpiry(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
governanceActionIsConsumed: function
- governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
governanceChainId: function
- governanceChainId(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
governanceContract: function
- governanceContract(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
initialize: function
- initialize(overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
isFork: function
- isFork(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
isInitialized: function
- isInitialized(impl: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
impl: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
messageFee: function
- messageFee(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
nextSequence: function
- nextSequence(emitter: string, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
emitter: string
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseAndVerifyVM: function
- parseAndVerifyVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseContractUpgrade: function
- parseContractUpgrade(encodedUpgrade: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encodedUpgrade: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseGuardianSetUpgrade: function
- parseGuardianSetUpgrade(encodedUpgrade: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encodedUpgrade: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseRecoverChainId: function
- parseRecoverChainId(encodedRecoverChainId: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encodedRecoverChainId: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseSetMessageFee: function
- parseSetMessageFee(encodedSetMessageFee: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encodedSetMessageFee: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseTransferFees: function
- parseTransferFees(encodedTransferFees: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encodedTransferFees: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
parseVM: function
- parseVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
publishMessage: function
- publishMessage(nonce: BigNumberish, payload: BytesLike, consistencyLevel: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
nonce: BigNumberish
-
payload: BytesLike
-
consistencyLevel: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
quorum: function
- quorum(numGuardians: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
numGuardians: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
submitContractUpgrade: function
- submitContractUpgrade(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
submitNewGuardianSet: function
- submitNewGuardianSet(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
submitRecoverChainId: function
- submitRecoverChainId(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
submitSetMessageFee: function
- submitSetMessageFee(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
submitTransferFees: function
- submitTransferFees(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
testNewImplementationActive: function
- testNewImplementationActive(overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
testOverwriteEVMChainId: function
- testOverwriteEVMChainId(fakeChainId: BigNumberish, fakeEvmChainId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<BigNumber>
-
Parameters
-
fakeChainId: BigNumberish
-
fakeEvmChainId: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<BigNumber>
-
verifySignatures: function
- verifySignatures(hash: BytesLike, signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[], guardianSet: { expirationTime: BigNumberish; keys: string[] }, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
hash: BytesLike
-
signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]
-
guardianSet: { expirationTime: BigNumberish; keys: string[] }
-
expirationTime: BigNumberish
-
keys: string[]
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
verifyVM: function
- verifyVM(vm: { consistencyLevel: BigNumberish; emitterAddress: BytesLike; emitterChainId: BigNumberish; guardianSetIndex: BigNumberish; hash: BytesLike; nonce: BigNumberish; payload: BytesLike; sequence: BigNumberish; signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]; timestamp: BigNumberish; version: BigNumberish }, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
vm: { consistencyLevel: BigNumberish; emitterAddress: BytesLike; emitterChainId: BigNumberish; guardianSetIndex: BigNumberish; hash: BytesLike; nonce: BigNumberish; payload: BytesLike; sequence: BigNumberish; signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]; timestamp: BigNumberish; version: BigNumberish }
-
consistencyLevel: BigNumberish
-
emitterAddress: BytesLike
-
emitterChainId: BigNumberish
-
guardianSetIndex: BigNumberish
-
hash: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
sequence: BigNumberish
-
signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]
-
timestamp: BigNumberish
-
version: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
filters
filters: { AdminChanged: any; BeaconUpgraded: any; ContractUpgraded: any; GuardianSetAdded: any; LogMessagePublished: any; Upgraded: any }
Type declaration
-
AdminChanged: function
- AdminChanged(previousAdmin?: null, newAdmin?: null): TypedEventFilter<[string, string], { newAdmin: string; previousAdmin: string }>
-
Parameters
-
Optional previousAdmin: null
-
Optional newAdmin: null
Returns TypedEventFilter<[string, string], { newAdmin: string; previousAdmin: string }>
-
BeaconUpgraded: function
- BeaconUpgraded(beacon?: null | string): TypedEventFilter<[string], { beacon: string }>
-
Parameters
-
Optional beacon: null | string
Returns TypedEventFilter<[string], { beacon: string }>
-
ContractUpgraded: function
- ContractUpgraded(oldContract?: null | string, newContract?: null | string): TypedEventFilter<[string, string], { newContract: string; oldContract: string }>
-
Parameters
-
Optional oldContract: null | string
-
Optional newContract: null | string
Returns TypedEventFilter<[string, string], { newContract: string; oldContract: string }>
-
GuardianSetAdded: function
- GuardianSetAdded(index?: null | BigNumberish): TypedEventFilter<[number], { index: number }>
-
Parameters
-
Optional index: null | BigNumberish
Returns TypedEventFilter<[number], { index: number }>
-
LogMessagePublished: function
- LogMessagePublished(sender?: null | string, sequence?: null, nonce?: null, payload?: null, consistencyLevel?: null): TypedEventFilter<[string, BigNumber, number, string, number], { consistencyLevel: number; nonce: number; payload: string; sender: string; sequence: BigNumber }>
-
Parameters
-
Optional sender: null | string
-
Optional sequence: null
-
Optional nonce: null
-
Optional payload: null
-
Optional consistencyLevel: null
Returns TypedEventFilter<[string, BigNumber, number, string, number], { consistencyLevel: number; nonce: number; payload: string; sender: string; sequence: BigNumber }>
-
Upgraded: function
- Upgraded(implementation?: null | string): TypedEventFilter<[string], { implementation: string }>
-
Parameters
-
Optional implementation: null | string
Returns TypedEventFilter<[string], { implementation: string }>
functions
functions: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; initialize: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any; parseAndVerifyVM: any; parseContractUpgrade: any; parseGuardianSetUpgrade: any; parseRecoverChainId: any; parseSetMessageFee: any; parseTransferFees: any; parseVM: any; publishMessage: any; quorum: any; submitContractUpgrade: any; submitNewGuardianSet: any; submitRecoverChainId: any; submitSetMessageFee: any; submitTransferFees: any; testNewImplementationActive: any; testOverwriteEVMChainId: any; verifySignatures: any; verifyVM: any }
Type declaration
-
chainId: function
- chainId(overrides?: CallOverrides): Promise<[number]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[number]>
-
evmChainId: function
- evmChainId(overrides?: CallOverrides): Promise<[BigNumber]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
-
getCurrentGuardianSetIndex: function
- getCurrentGuardianSetIndex(overrides?: CallOverrides): Promise<[number]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[number]>
-
getGuardianSet: function
- getGuardianSet(index: BigNumberish, overrides?: CallOverrides): Promise<[[string[], number] & { expirationTime: number; keys: string[] }]>
-
Parameters
-
index: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[[string[], number] & { expirationTime: number; keys: string[] }]>
-
getGuardianSetExpiry: function
- getGuardianSetExpiry(overrides?: CallOverrides): Promise<[number]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[number]>
-
governanceActionIsConsumed: function
- governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<[boolean]>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[boolean]>
-
governanceChainId: function
- governanceChainId(overrides?: CallOverrides): Promise<[number]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[number]>
-
governanceContract: function
- governanceContract(overrides?: CallOverrides): Promise<[string]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[string]>
-
initialize: function
- initialize(overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
isFork: function
- isFork(overrides?: CallOverrides): Promise<[boolean]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[boolean]>
-
isInitialized: function
- isInitialized(impl: string, overrides?: CallOverrides): Promise<[boolean]>
-
Parameters
-
impl: string
-
Optional overrides: CallOverrides
Returns Promise<[boolean]>
-
messageFee: function
- messageFee(overrides?: CallOverrides): Promise<[BigNumber]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
-
nextSequence: function
- nextSequence(emitter: string, overrides?: CallOverrides): Promise<[BigNumber]>
-
Parameters
-
emitter: string
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber]>
-
parseAndVerifyVM: function
- parseAndVerifyVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<[[number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number }, boolean, string] & { reason: string; valid: boolean; vm: [number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number } }>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number }, boolean, string] & { reason: string; valid: boolean; vm: [number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number } }>
-
parseContractUpgrade: function
- parseContractUpgrade(encodedUpgrade: BytesLike, overrides?: CallOverrides): Promise<[[string, number, number, string] & { action: number; chain: number; module: string; newContract: string }] & { cu: [string, number, number, string] & { action: number; chain: number; module: string; newContract: string } }>
-
Parameters
-
encodedUpgrade: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[string, number, number, string] & { action: number; chain: number; module: string; newContract: string }] & { cu: [string, number, number, string] & { action: number; chain: number; module: string; newContract: string } }>
-
parseGuardianSetUpgrade: function
- parseGuardianSetUpgrade(encodedUpgrade: BytesLike, overrides?: CallOverrides): Promise<[[string, number, number, [string[], number] & { expirationTime: number; keys: string[] }, number] & { action: number; chain: number; module: string; newGuardianSet: [string[], number] & { expirationTime: number; keys: string[] }; newGuardianSetIndex: number }] & { gsu: [string, number, number, [string[], number] & { expirationTime: number; keys: string[] }, number] & { action: number; chain: number; module: string; newGuardianSet: [string[], number] & { expirationTime: number; keys: string[] }; newGuardianSetIndex: number } }>
-
Parameters
-
encodedUpgrade: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[string, number, number, [string[], number] & { expirationTime: number; keys: string[] }, number] & { action: number; chain: number; module: string; newGuardianSet: [string[], number] & { expirationTime: number; keys: string[] }; newGuardianSetIndex: number }] & { gsu: [string, number, number, [string[], number] & { expirationTime: number; keys: string[] }, number] & { action: number; chain: number; module: string; newGuardianSet: [string[], number] & { expirationTime: number; keys: string[] }; newGuardianSetIndex: number } }>
-
parseRecoverChainId: function
- parseRecoverChainId(encodedRecoverChainId: BytesLike, overrides?: CallOverrides): Promise<[[string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number }] & { rci: [string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number } }>
-
Parameters
-
encodedRecoverChainId: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number }] & { rci: [string, number, BigNumber, number] & { action: number; evmChainId: BigNumber; module: string; newChainId: number } }>
-
parseSetMessageFee: function
- parseSetMessageFee(encodedSetMessageFee: BytesLike, overrides?: CallOverrides): Promise<[[string, number, number, BigNumber] & { action: number; chain: number; messageFee: BigNumber; module: string }] & { smf: [string, number, number, BigNumber] & { action: number; chain: number; messageFee: BigNumber; module: string } }>
-
Parameters
-
encodedSetMessageFee: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[string, number, number, BigNumber] & { action: number; chain: number; messageFee: BigNumber; module: string }] & { smf: [string, number, number, BigNumber] & { action: number; chain: number; messageFee: BigNumber; module: string } }>
-
parseTransferFees: function
- parseTransferFees(encodedTransferFees: BytesLike, overrides?: CallOverrides): Promise<[[string, number, number, BigNumber, string] & { action: number; amount: BigNumber; chain: number; module: string; recipient: string }] & { tf: [string, number, number, BigNumber, string] & { action: number; amount: BigNumber; chain: number; module: string; recipient: string } }>
-
Parameters
-
encodedTransferFees: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[string, number, number, BigNumber, string] & { action: number; amount: BigNumber; chain: number; module: string; recipient: string }] & { tf: [string, number, number, BigNumber, string] & { action: number; amount: BigNumber; chain: number; module: string; recipient: string } }>
-
parseVM: function
- parseVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<[[number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number }] & { vm: [number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number } }>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<[[number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number }] & { vm: [number, number, number, number, string, BigNumber, number, string, number, ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[], string] & { consistencyLevel: number; emitterAddress: string; emitterChainId: number; guardianSetIndex: number; hash: string; nonce: number; payload: string; sequence: BigNumber; signatures: ([string, string, number, number] & { guardianIndex: number; r: string; s: string; v: number })[]; timestamp: number; version: number } }>
-
publishMessage: function
- publishMessage(nonce: BigNumberish, payload: BytesLike, consistencyLevel: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
nonce: BigNumberish
-
payload: BytesLike
-
consistencyLevel: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
quorum: function
- quorum(numGuardians: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber] & { numSignaturesRequiredForQuorum: BigNumber }>
-
Parameters
-
numGuardians: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber] & { numSignaturesRequiredForQuorum: BigNumber }>
-
submitContractUpgrade: function
- submitContractUpgrade(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
submitNewGuardianSet: function
- submitNewGuardianSet(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
submitRecoverChainId: function
- submitRecoverChainId(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
submitSetMessageFee: function
- submitSetMessageFee(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
submitTransferFees: function
- submitTransferFees(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
testNewImplementationActive: function
- testNewImplementationActive(overrides?: CallOverrides): Promise<[boolean]>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<[boolean]>
-
testOverwriteEVMChainId: function
- testOverwriteEVMChainId(fakeChainId: BigNumberish, fakeEvmChainId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<ContractTransaction>
-
Parameters
-
fakeChainId: BigNumberish
-
fakeEvmChainId: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<ContractTransaction>
-
verifySignatures: function
- verifySignatures(hash: BytesLike, signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[], guardianSet: { expirationTime: BigNumberish; keys: string[] }, overrides?: CallOverrides): Promise<[boolean, string] & { reason: string; valid: boolean }>
-
Parameters
-
hash: BytesLike
-
signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]
-
guardianSet: { expirationTime: BigNumberish; keys: string[] }
-
expirationTime: BigNumberish
-
keys: string[]
-
Optional overrides: CallOverrides
Returns Promise<[boolean, string] & { reason: string; valid: boolean }>
-
verifyVM: function
- verifyVM(vm: { consistencyLevel: BigNumberish; emitterAddress: BytesLike; emitterChainId: BigNumberish; guardianSetIndex: BigNumberish; hash: BytesLike; nonce: BigNumberish; payload: BytesLike; sequence: BigNumberish; signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]; timestamp: BigNumberish; version: BigNumberish }, overrides?: CallOverrides): Promise<[boolean, string] & { reason: string; valid: boolean }>
-
Parameters
-
vm: { consistencyLevel: BigNumberish; emitterAddress: BytesLike; emitterChainId: BigNumberish; guardianSetIndex: BigNumberish; hash: BytesLike; nonce: BigNumberish; payload: BytesLike; sequence: BigNumberish; signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]; timestamp: BigNumberish; version: BigNumberish }
-
consistencyLevel: BigNumberish
-
emitterAddress: BytesLike
-
emitterChainId: BigNumberish
-
guardianSetIndex: BigNumberish
-
hash: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
sequence: BigNumberish
-
signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]
-
timestamp: BigNumberish
-
version: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[boolean, string] & { reason: string; valid: boolean }>
interface
interface: MockImplementationInterface
populateTransaction
populateTransaction: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; initialize: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any; parseAndVerifyVM: any; parseContractUpgrade: any; parseGuardianSetUpgrade: any; parseRecoverChainId: any; parseSetMessageFee: any; parseTransferFees: any; parseVM: any; publishMessage: any; quorum: any; submitContractUpgrade: any; submitNewGuardianSet: any; submitRecoverChainId: any; submitSetMessageFee: any; submitTransferFees: any; testNewImplementationActive: any; testOverwriteEVMChainId: any; verifySignatures: any; verifyVM: any }
Type declaration
-
chainId: function
- chainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
evmChainId: function
- evmChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
getCurrentGuardianSetIndex: function
- getCurrentGuardianSetIndex(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
getGuardianSet: function
- getGuardianSet(index: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
index: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
getGuardianSetExpiry: function
- getGuardianSetExpiry(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
governanceActionIsConsumed: function
- governanceActionIsConsumed(hash: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
hash: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
governanceChainId: function
- governanceChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
governanceContract: function
- governanceContract(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
initialize: function
- initialize(overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
isFork: function
- isFork(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
isInitialized: function
- isInitialized(impl: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
impl: string
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
messageFee: function
- messageFee(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
nextSequence: function
- nextSequence(emitter: string, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
emitter: string
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseAndVerifyVM: function
- parseAndVerifyVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseContractUpgrade: function
- parseContractUpgrade(encodedUpgrade: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encodedUpgrade: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseGuardianSetUpgrade: function
- parseGuardianSetUpgrade(encodedUpgrade: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encodedUpgrade: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseRecoverChainId: function
- parseRecoverChainId(encodedRecoverChainId: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encodedRecoverChainId: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseSetMessageFee: function
- parseSetMessageFee(encodedSetMessageFee: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encodedSetMessageFee: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseTransferFees: function
- parseTransferFees(encodedTransferFees: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encodedTransferFees: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
parseVM: function
- parseVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
publishMessage: function
- publishMessage(nonce: BigNumberish, payload: BytesLike, consistencyLevel: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
nonce: BigNumberish
-
payload: BytesLike
-
consistencyLevel: BigNumberish
-
Optional overrides: PayableOverrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
quorum: function
- quorum(numGuardians: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
numGuardians: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
submitContractUpgrade: function
- submitContractUpgrade(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
submitNewGuardianSet: function
- submitNewGuardianSet(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
submitRecoverChainId: function
- submitRecoverChainId(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
submitSetMessageFee: function
- submitSetMessageFee(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
submitTransferFees: function
- submitTransferFees(_vm: BytesLike, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
_vm: BytesLike
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
testNewImplementationActive: function
- testNewImplementationActive(overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
testOverwriteEVMChainId: function
- testOverwriteEVMChainId(fakeChainId: BigNumberish, fakeEvmChainId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }): Promise<PopulatedTransaction>
-
Parameters
-
fakeChainId: BigNumberish
-
fakeEvmChainId: BigNumberish
-
Optional overrides: Overrides & { from?: string | Promise<string> }
Returns Promise<PopulatedTransaction>
-
verifySignatures: function
- verifySignatures(hash: BytesLike, signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[], guardianSet: { expirationTime: BigNumberish; keys: string[] }, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
hash: BytesLike
-
signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]
-
guardianSet: { expirationTime: BigNumberish; keys: string[] }
-
expirationTime: BigNumberish
-
keys: string[]
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
verifyVM: function
- verifyVM(vm: { consistencyLevel: BigNumberish; emitterAddress: BytesLike; emitterChainId: BigNumberish; guardianSetIndex: BigNumberish; hash: BytesLike; nonce: BigNumberish; payload: BytesLike; sequence: BigNumberish; signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]; timestamp: BigNumberish; version: BigNumberish }, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
vm: { consistencyLevel: BigNumberish; emitterAddress: BytesLike; emitterChainId: BigNumberish; guardianSetIndex: BigNumberish; hash: BytesLike; nonce: BigNumberish; payload: BytesLike; sequence: BigNumberish; signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]; timestamp: BigNumberish; version: BigNumberish }
-
consistencyLevel: BigNumberish
-
emitterAddress: BytesLike
-
emitterChainId: BigNumberish
-
guardianSetIndex: BigNumberish
-
hash: BytesLike
-
nonce: BigNumberish
-
payload: BytesLike
-
sequence: BigNumberish
-
signatures: { guardianIndex: BigNumberish; r: BytesLike; s: BytesLike; v: BigNumberish }[]
-
timestamp: BigNumberish
-
version: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
Readonly provider
provider: Provider
Readonly resolvedAddress
resolvedAddress: Promise<string>
Readonly signer
signer: Signer
parseAndVerifyVM serves to parse an encodedVM and wholy validate it for consumption