|
|
|
@ -22,28 +22,28 @@ import { TypedEventFilter, TypedEvent, TypedListener } from "./commons"; |
|
|
|
|
interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
functions: { |
|
|
|
|
"MAX_MESSAGE_BODY_BYTES()": FunctionFragment; |
|
|
|
|
"committedRoot()": FunctionFragment; |
|
|
|
|
"count()": FunctionFragment; |
|
|
|
|
"current()": FunctionFragment; |
|
|
|
|
"dispatch(uint32,bytes32,bytes)": FunctionFragment; |
|
|
|
|
"doubleUpdate(bytes32,bytes32[2],bytes,bytes)": FunctionFragment; |
|
|
|
|
"enqueue(uint32,bytes32,bytes)": FunctionFragment; |
|
|
|
|
"homeDomainHash()": FunctionFragment; |
|
|
|
|
"improperUpdate(bytes32,bytes32,bytes)": FunctionFragment; |
|
|
|
|
"initialize(address)": FunctionFragment; |
|
|
|
|
"localDomain()": FunctionFragment; |
|
|
|
|
"nextLeafIndex()": FunctionFragment; |
|
|
|
|
"nonces(uint32)": FunctionFragment; |
|
|
|
|
"owner()": FunctionFragment; |
|
|
|
|
"queueContains(bytes32)": FunctionFragment; |
|
|
|
|
"queueEnd()": FunctionFragment; |
|
|
|
|
"queueLength()": FunctionFragment; |
|
|
|
|
"renounceOwnership()": FunctionFragment; |
|
|
|
|
"root()": FunctionFragment; |
|
|
|
|
"sequences(uint32)": FunctionFragment; |
|
|
|
|
"setFailed()": FunctionFragment; |
|
|
|
|
"setUpdater(address)": FunctionFragment; |
|
|
|
|
"setUpdaterManager(address)": FunctionFragment; |
|
|
|
|
"state()": FunctionFragment; |
|
|
|
|
"suggestUpdate()": FunctionFragment; |
|
|
|
|
"testDestinationAndSequence(uint32,uint32)": FunctionFragment; |
|
|
|
|
"testDestinationAndNonce(uint32,uint32)": FunctionFragment; |
|
|
|
|
"testHomeDomainHash()": FunctionFragment; |
|
|
|
|
"transferOwnership(address)": FunctionFragment; |
|
|
|
|
"tree()": FunctionFragment; |
|
|
|
@ -56,16 +56,19 @@ interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
functionFragment: "MAX_MESSAGE_BODY_BYTES", |
|
|
|
|
values?: undefined |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData(functionFragment: "count", values?: undefined): string; |
|
|
|
|
encodeFunctionData(functionFragment: "current", values?: undefined): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
|
functionFragment: "doubleUpdate", |
|
|
|
|
values: [BytesLike, [BytesLike, BytesLike], BytesLike, BytesLike] |
|
|
|
|
functionFragment: "committedRoot", |
|
|
|
|
values?: undefined |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData(functionFragment: "count", values?: undefined): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
|
functionFragment: "enqueue", |
|
|
|
|
functionFragment: "dispatch", |
|
|
|
|
values: [BigNumberish, BytesLike, BytesLike] |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
|
functionFragment: "doubleUpdate", |
|
|
|
|
values: [BytesLike, [BytesLike, BytesLike], BytesLike, BytesLike] |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
|
functionFragment: "homeDomainHash", |
|
|
|
|
values?: undefined |
|
|
|
@ -83,6 +86,10 @@ interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
functionFragment: "nextLeafIndex", |
|
|
|
|
values?: undefined |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
|
functionFragment: "nonces", |
|
|
|
|
values: [BigNumberish] |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
|
functionFragment: "queueContains", |
|
|
|
@ -98,10 +105,6 @@ interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
values?: undefined |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData(functionFragment: "root", values?: undefined): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
|
functionFragment: "sequences", |
|
|
|
|
values: [BigNumberish] |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData(functionFragment: "setFailed", values?: undefined): string; |
|
|
|
|
encodeFunctionData(functionFragment: "setUpdater", values: [string]): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
@ -114,7 +117,7 @@ interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
values?: undefined |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
|
functionFragment: "testDestinationAndSequence", |
|
|
|
|
functionFragment: "testDestinationAndNonce", |
|
|
|
|
values: [BigNumberish, BigNumberish] |
|
|
|
|
): string; |
|
|
|
|
encodeFunctionData( |
|
|
|
@ -140,13 +143,16 @@ interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
functionFragment: "MAX_MESSAGE_BODY_BYTES", |
|
|
|
|
data: BytesLike |
|
|
|
|
): Result; |
|
|
|
|
decodeFunctionResult( |
|
|
|
|
functionFragment: "committedRoot", |
|
|
|
|
data: BytesLike |
|
|
|
|
): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "current", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "dispatch", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult( |
|
|
|
|
functionFragment: "doubleUpdate", |
|
|
|
|
data: BytesLike |
|
|
|
|
): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "enqueue", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult( |
|
|
|
|
functionFragment: "homeDomainHash", |
|
|
|
|
data: BytesLike |
|
|
|
@ -164,6 +170,7 @@ interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
functionFragment: "nextLeafIndex", |
|
|
|
|
data: BytesLike |
|
|
|
|
): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult( |
|
|
|
|
functionFragment: "queueContains", |
|
|
|
@ -179,7 +186,6 @@ interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
data: BytesLike |
|
|
|
|
): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "root", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "sequences", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "setFailed", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult(functionFragment: "setUpdater", data: BytesLike): Result; |
|
|
|
|
decodeFunctionResult( |
|
|
|
@ -192,7 +198,7 @@ interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
data: BytesLike |
|
|
|
|
): Result; |
|
|
|
|
decodeFunctionResult( |
|
|
|
|
functionFragment: "testDestinationAndSequence", |
|
|
|
|
functionFragment: "testDestinationAndNonce", |
|
|
|
|
data: BytesLike |
|
|
|
|
): Result; |
|
|
|
|
decodeFunctionResult( |
|
|
|
@ -212,7 +218,7 @@ interface TestHomeInterface extends ethers.utils.Interface { |
|
|
|
|
): Result; |
|
|
|
|
|
|
|
|
|
events: { |
|
|
|
|
"Dispatch(uint256,uint64,bytes32,bytes32,bytes)": EventFragment; |
|
|
|
|
"Dispatch(bytes32,uint256,uint64,bytes32,bytes)": EventFragment; |
|
|
|
|
"DoubleUpdate(bytes32,bytes32[2],bytes,bytes)": EventFragment; |
|
|
|
|
"ImproperUpdate(bytes32,bytes32,bytes)": EventFragment; |
|
|
|
|
"NewUpdater(address)": EventFragment; |
|
|
|
@ -278,9 +284,16 @@ export class TestHome extends BaseContract { |
|
|
|
|
functions: { |
|
|
|
|
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<[BigNumber]>; |
|
|
|
|
|
|
|
|
|
committedRoot(overrides?: CallOverrides): Promise<[string]>; |
|
|
|
|
|
|
|
|
|
count(overrides?: CallOverrides): Promise<[BigNumber]>; |
|
|
|
|
|
|
|
|
|
current(overrides?: CallOverrides): Promise<[string]>; |
|
|
|
|
dispatch( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<ContractTransaction>; |
|
|
|
|
|
|
|
|
|
doubleUpdate( |
|
|
|
|
_oldRoot: BytesLike, |
|
|
|
@ -290,13 +303,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<ContractTransaction>; |
|
|
|
|
|
|
|
|
|
enqueue( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<ContractTransaction>; |
|
|
|
|
|
|
|
|
|
homeDomainHash(overrides?: CallOverrides): Promise<[string]>; |
|
|
|
|
|
|
|
|
|
improperUpdate( |
|
|
|
@ -315,6 +321,8 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
nextLeafIndex(overrides?: CallOverrides): Promise<[BigNumber]>; |
|
|
|
|
|
|
|
|
|
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<[number]>; |
|
|
|
|
|
|
|
|
|
owner(overrides?: CallOverrides): Promise<[string]>; |
|
|
|
|
|
|
|
|
|
queueContains( |
|
|
|
@ -332,8 +340,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
root(overrides?: CallOverrides): Promise<[string]>; |
|
|
|
|
|
|
|
|
|
sequences(arg0: BigNumberish, overrides?: CallOverrides): Promise<[number]>; |
|
|
|
|
|
|
|
|
|
setFailed( |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<ContractTransaction>; |
|
|
|
@ -352,11 +358,11 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
suggestUpdate( |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<[string, string] & { _current: string; _new: string }>; |
|
|
|
|
): Promise<[string, string] & { _committedRoot: string; _new: string }>; |
|
|
|
|
|
|
|
|
|
testDestinationAndSequence( |
|
|
|
|
testDestinationAndNonce( |
|
|
|
|
_destination: BigNumberish, |
|
|
|
|
_sequence: BigNumberish, |
|
|
|
|
_nonce: BigNumberish, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<[BigNumber]>; |
|
|
|
|
|
|
|
|
@ -372,7 +378,7 @@ export class TestHome extends BaseContract { |
|
|
|
|
): Promise<[BigNumber] & { count: BigNumber }>; |
|
|
|
|
|
|
|
|
|
update( |
|
|
|
|
_currentRoot: BytesLike, |
|
|
|
|
_committedRoot: BytesLike, |
|
|
|
|
_newRoot: BytesLike, |
|
|
|
|
_signature: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
@ -385,9 +391,16 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
committedRoot(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
|
|
|
|
|
count(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
current(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
dispatch( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<ContractTransaction>; |
|
|
|
|
|
|
|
|
|
doubleUpdate( |
|
|
|
|
_oldRoot: BytesLike, |
|
|
|
@ -397,13 +410,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<ContractTransaction>; |
|
|
|
|
|
|
|
|
|
enqueue( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<ContractTransaction>; |
|
|
|
|
|
|
|
|
|
homeDomainHash(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
|
|
|
|
|
improperUpdate( |
|
|
|
@ -422,6 +428,8 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
nextLeafIndex(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>; |
|
|
|
|
|
|
|
|
|
owner(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
|
|
|
|
|
queueContains(_item: BytesLike, overrides?: CallOverrides): Promise<boolean>; |
|
|
|
@ -436,8 +444,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
root(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
|
|
|
|
|
sequences(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>; |
|
|
|
|
|
|
|
|
|
setFailed( |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<ContractTransaction>; |
|
|
|
@ -456,11 +462,11 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
suggestUpdate( |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<[string, string] & { _current: string; _new: string }>; |
|
|
|
|
): Promise<[string, string] & { _committedRoot: string; _new: string }>; |
|
|
|
|
|
|
|
|
|
testDestinationAndSequence( |
|
|
|
|
testDestinationAndNonce( |
|
|
|
|
_destination: BigNumberish, |
|
|
|
|
_sequence: BigNumberish, |
|
|
|
|
_nonce: BigNumberish, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
@ -474,7 +480,7 @@ export class TestHome extends BaseContract { |
|
|
|
|
tree(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
update( |
|
|
|
|
_currentRoot: BytesLike, |
|
|
|
|
_committedRoot: BytesLike, |
|
|
|
|
_newRoot: BytesLike, |
|
|
|
|
_signature: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
@ -487,9 +493,16 @@ export class TestHome extends BaseContract { |
|
|
|
|
callStatic: { |
|
|
|
|
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
committedRoot(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
|
|
|
|
|
count(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
current(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
dispatch( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<void>; |
|
|
|
|
|
|
|
|
|
doubleUpdate( |
|
|
|
|
_oldRoot: BytesLike, |
|
|
|
@ -499,13 +512,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<void>; |
|
|
|
|
|
|
|
|
|
enqueue( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<void>; |
|
|
|
|
|
|
|
|
|
homeDomainHash(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
|
|
|
|
|
improperUpdate( |
|
|
|
@ -524,6 +530,8 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
nextLeafIndex(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>; |
|
|
|
|
|
|
|
|
|
owner(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
|
|
|
|
|
queueContains( |
|
|
|
@ -539,8 +547,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
root(overrides?: CallOverrides): Promise<string>; |
|
|
|
|
|
|
|
|
|
sequences(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>; |
|
|
|
|
|
|
|
|
|
setFailed(overrides?: CallOverrides): Promise<void>; |
|
|
|
|
|
|
|
|
|
setUpdater(_updater: string, overrides?: CallOverrides): Promise<void>; |
|
|
|
@ -554,11 +560,11 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
suggestUpdate( |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<[string, string] & { _current: string; _new: string }>; |
|
|
|
|
): Promise<[string, string] & { _committedRoot: string; _new: string }>; |
|
|
|
|
|
|
|
|
|
testDestinationAndSequence( |
|
|
|
|
testDestinationAndNonce( |
|
|
|
|
_destination: BigNumberish, |
|
|
|
|
_sequence: BigNumberish, |
|
|
|
|
_nonce: BigNumberish, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
@ -572,7 +578,7 @@ export class TestHome extends BaseContract { |
|
|
|
|
tree(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
update( |
|
|
|
|
_currentRoot: BytesLike, |
|
|
|
|
_committedRoot: BytesLike, |
|
|
|
|
_newRoot: BytesLike, |
|
|
|
|
_signature: BytesLike, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
@ -585,18 +591,18 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
filters: { |
|
|
|
|
Dispatch( |
|
|
|
|
messageHash?: BytesLike | null, |
|
|
|
|
leafIndex?: BigNumberish | null, |
|
|
|
|
destinationAndSequence?: BigNumberish | null, |
|
|
|
|
leaf?: BytesLike | null, |
|
|
|
|
current?: null, |
|
|
|
|
destinationAndNonce?: BigNumberish | null, |
|
|
|
|
committedRoot?: null, |
|
|
|
|
message?: null |
|
|
|
|
): TypedEventFilter< |
|
|
|
|
[BigNumber, BigNumber, string, string, string], |
|
|
|
|
[string, BigNumber, BigNumber, string, string], |
|
|
|
|
{ |
|
|
|
|
messageHash: string; |
|
|
|
|
leafIndex: BigNumber; |
|
|
|
|
destinationAndSequence: BigNumber; |
|
|
|
|
leaf: string; |
|
|
|
|
current: string; |
|
|
|
|
destinationAndNonce: BigNumber; |
|
|
|
|
committedRoot: string; |
|
|
|
|
message: string; |
|
|
|
|
} |
|
|
|
|
>; |
|
|
|
@ -666,9 +672,16 @@ export class TestHome extends BaseContract { |
|
|
|
|
estimateGas: { |
|
|
|
|
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
committedRoot(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
count(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
current(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
dispatch( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
doubleUpdate( |
|
|
|
|
_oldRoot: BytesLike, |
|
|
|
@ -678,13 +691,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
enqueue( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
homeDomainHash(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
improperUpdate( |
|
|
|
@ -703,6 +709,8 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
nextLeafIndex(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
owner(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
queueContains( |
|
|
|
@ -720,11 +728,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
root(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
sequences( |
|
|
|
|
arg0: BigNumberish, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
setFailed( |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<BigNumber>; |
|
|
|
@ -743,9 +746,9 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
suggestUpdate(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
testDestinationAndSequence( |
|
|
|
|
testDestinationAndNonce( |
|
|
|
|
_destination: BigNumberish, |
|
|
|
|
_sequence: BigNumberish, |
|
|
|
|
_nonce: BigNumberish, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
@ -759,7 +762,7 @@ export class TestHome extends BaseContract { |
|
|
|
|
tree(overrides?: CallOverrides): Promise<BigNumber>; |
|
|
|
|
|
|
|
|
|
update( |
|
|
|
|
_currentRoot: BytesLike, |
|
|
|
|
_committedRoot: BytesLike, |
|
|
|
|
_newRoot: BytesLike, |
|
|
|
|
_signature: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
@ -775,9 +778,16 @@ export class TestHome extends BaseContract { |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
committedRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
count(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
current(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
|
|
|
|
dispatch( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
doubleUpdate( |
|
|
|
|
_oldRoot: BytesLike, |
|
|
|
@ -787,13 +797,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
enqueue( |
|
|
|
|
_destinationDomain: BigNumberish, |
|
|
|
|
_recipientAddress: BytesLike, |
|
|
|
|
_messageBody: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
homeDomainHash(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
improperUpdate( |
|
|
|
@ -812,6 +815,11 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
nextLeafIndex(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
nonces( |
|
|
|
|
arg0: BigNumberish, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
queueContains( |
|
|
|
@ -829,11 +837,6 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
root(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
sequences( |
|
|
|
|
arg0: BigNumberish, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
setFailed( |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|
): Promise<PopulatedTransaction>; |
|
|
|
@ -852,9 +855,9 @@ export class TestHome extends BaseContract { |
|
|
|
|
|
|
|
|
|
suggestUpdate(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
testDestinationAndSequence( |
|
|
|
|
testDestinationAndNonce( |
|
|
|
|
_destination: BigNumberish, |
|
|
|
|
_sequence: BigNumberish, |
|
|
|
|
_nonce: BigNumberish, |
|
|
|
|
overrides?: CallOverrides |
|
|
|
|
): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
@ -870,7 +873,7 @@ export class TestHome extends BaseContract { |
|
|
|
|
tree(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
|
|
|
|
|
|
|
|
|
update( |
|
|
|
|
_currentRoot: BytesLike, |
|
|
|
|
_committedRoot: BytesLike, |
|
|
|
|
_newRoot: BytesLike, |
|
|
|
|
_signature: BytesLike, |
|
|
|
|
overrides?: Overrides & { from?: string | Promise<string> } |
|
|
|
|