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; isFork: any; isInitialized: any; messageFee: any; nextSequence: any; parseAndVerifyVM: any; parseVM: any; quorum: 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>
-
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 } }>
-
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 }>
-
quorum: function
- quorum(numGuardians: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
numGuardians: BigNumberish
-
Optional overrides: CallOverrides
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<[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; isFork: any; isInitialized: any; messageFee: any; nextSequence: any; parseAndVerifyVM: any; parseVM: any; quorum: 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>
-
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>
-
parseVM: function
- parseVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<BigNumber>
-
quorum: function
- quorum(numGuardians: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
-
Parameters
-
numGuardians: BigNumberish
-
Optional overrides: CallOverrides
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>
functions
functions: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any; parseAndVerifyVM: any; parseVM: any; quorum: 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]>
-
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 } }>
-
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 } }>
-
quorum: function
- quorum(numGuardians: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber] & { numSignaturesRequiredForQuorum: BigNumber }>
-
Parameters
-
numGuardians: BigNumberish
-
Optional overrides: CallOverrides
Returns Promise<[BigNumber] & { numSignaturesRequiredForQuorum: BigNumber }>
-
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: MessagesInterface
populateTransaction
populateTransaction: { chainId: any; evmChainId: any; getCurrentGuardianSetIndex: any; getGuardianSet: any; getGuardianSetExpiry: any; governanceActionIsConsumed: any; governanceChainId: any; governanceContract: any; isFork: any; isInitialized: any; messageFee: any; nextSequence: any; parseAndVerifyVM: any; parseVM: any; quorum: 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>
-
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>
-
parseVM: function
- parseVM(encodedVM: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
encodedVM: BytesLike
-
Optional overrides: CallOverrides
Returns Promise<PopulatedTransaction>
-
quorum: function
- quorum(numGuardians: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
-
Parameters
-
numGuardians: BigNumberish
-
Optional overrides: CallOverrides
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