Rename Home and Replica to Outbox and Inbox (#174)
parent
d1de95e81b
commit
4c11db7e93
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,127 +0,0 @@ |
||||
/* Autogenerated file. Do not edit manually. */ |
||||
/* tslint:disable */ |
||||
/* eslint-disable */ |
||||
|
||||
import { |
||||
ethers, |
||||
EventFilter, |
||||
Signer, |
||||
BigNumber, |
||||
BigNumberish, |
||||
PopulatedTransaction, |
||||
BaseContract, |
||||
ContractTransaction, |
||||
Overrides, |
||||
CallOverrides, |
||||
} from "ethers"; |
||||
import { BytesLike } from "@ethersproject/bytes"; |
||||
import { Listener, Provider } from "@ethersproject/providers"; |
||||
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; |
||||
import { TypedEventFilter, TypedEvent, TypedListener } from "./commons"; |
||||
|
||||
interface IUpdaterManagerInterface extends ethers.utils.Interface { |
||||
functions: { |
||||
"slashUpdater(address)": FunctionFragment; |
||||
"updater()": FunctionFragment; |
||||
}; |
||||
|
||||
encodeFunctionData( |
||||
functionFragment: "slashUpdater", |
||||
values: [string] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "updater", values?: undefined): string; |
||||
|
||||
decodeFunctionResult( |
||||
functionFragment: "slashUpdater", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "updater", data: BytesLike): Result; |
||||
|
||||
events: {}; |
||||
} |
||||
|
||||
export class IUpdaterManager extends BaseContract { |
||||
connect(signerOrProvider: Signer | Provider | string): this; |
||||
attach(addressOrName: string): this; |
||||
deployed(): Promise<this>; |
||||
|
||||
listeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): Array<TypedListener<EventArgsArray, EventArgsObject>>; |
||||
off<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
on<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
once<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeListener<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
|
||||
listeners(eventName?: string): Array<Listener>; |
||||
off(eventName: string, listener: Listener): this; |
||||
on(eventName: string, listener: Listener): this; |
||||
once(eventName: string, listener: Listener): this; |
||||
removeListener(eventName: string, listener: Listener): this; |
||||
removeAllListeners(eventName?: string): this; |
||||
|
||||
queryFilter<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
event: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
fromBlockOrBlockhash?: string | number | undefined, |
||||
toBlock?: string | number | undefined |
||||
): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>; |
||||
|
||||
interface: IUpdaterManagerInterface; |
||||
|
||||
functions: { |
||||
slashUpdater( |
||||
_reporter: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<[string]>; |
||||
}; |
||||
|
||||
slashUpdater( |
||||
_reporter: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
callStatic: { |
||||
slashUpdater(_reporter: string, overrides?: CallOverrides): Promise<void>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<string>; |
||||
}; |
||||
|
||||
filters: {}; |
||||
|
||||
estimateGas: { |
||||
slashUpdater( |
||||
_reporter: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<BigNumber>; |
||||
}; |
||||
|
||||
populateTransaction: { |
||||
slashUpdater( |
||||
_reporter: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
}; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -1,246 +0,0 @@ |
||||
/* Autogenerated file. Do not edit manually. */ |
||||
/* tslint:disable */ |
||||
/* eslint-disable */ |
||||
|
||||
import { |
||||
ethers, |
||||
EventFilter, |
||||
Signer, |
||||
BigNumber, |
||||
BigNumberish, |
||||
PopulatedTransaction, |
||||
BaseContract, |
||||
ContractTransaction, |
||||
CallOverrides, |
||||
} from "ethers"; |
||||
import { BytesLike } from "@ethersproject/bytes"; |
||||
import { Listener, Provider } from "@ethersproject/providers"; |
||||
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; |
||||
import { TypedEventFilter, TypedEvent, TypedListener } from "./commons"; |
||||
|
||||
interface MerkleLibInterface extends ethers.utils.Interface { |
||||
functions: { |
||||
"zeroHashes()": FunctionFragment; |
||||
}; |
||||
|
||||
encodeFunctionData( |
||||
functionFragment: "zeroHashes", |
||||
values?: undefined |
||||
): string; |
||||
|
||||
decodeFunctionResult(functionFragment: "zeroHashes", data: BytesLike): Result; |
||||
|
||||
events: {}; |
||||
} |
||||
|
||||
export class MerkleLib extends BaseContract { |
||||
connect(signerOrProvider: Signer | Provider | string): this; |
||||
attach(addressOrName: string): this; |
||||
deployed(): Promise<this>; |
||||
|
||||
listeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): Array<TypedListener<EventArgsArray, EventArgsObject>>; |
||||
off<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
on<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
once<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeListener<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
|
||||
listeners(eventName?: string): Array<Listener>; |
||||
off(eventName: string, listener: Listener): this; |
||||
on(eventName: string, listener: Listener): this; |
||||
once(eventName: string, listener: Listener): this; |
||||
removeListener(eventName: string, listener: Listener): this; |
||||
removeAllListeners(eventName?: string): this; |
||||
|
||||
queryFilter<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
event: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
fromBlockOrBlockhash?: string | number | undefined, |
||||
toBlock?: string | number | undefined |
||||
): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>; |
||||
|
||||
interface: MerkleLibInterface; |
||||
|
||||
functions: { |
||||
zeroHashes( |
||||
overrides?: CallOverrides |
||||
): Promise< |
||||
[ |
||||
[ |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string |
||||
] |
||||
] & { |
||||
_zeroes: [ |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string |
||||
]; |
||||
} |
||||
>; |
||||
}; |
||||
|
||||
zeroHashes( |
||||
overrides?: CallOverrides |
||||
): Promise< |
||||
[ |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string |
||||
] |
||||
>; |
||||
|
||||
callStatic: { |
||||
zeroHashes( |
||||
overrides?: CallOverrides |
||||
): Promise< |
||||
[ |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string, |
||||
string |
||||
] |
||||
>; |
||||
}; |
||||
|
||||
filters: {}; |
||||
|
||||
estimateGas: { |
||||
zeroHashes(overrides?: CallOverrides): Promise<BigNumber>; |
||||
}; |
||||
|
||||
populateTransaction: { |
||||
zeroHashes(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
}; |
||||
} |
@ -0,0 +1,570 @@ |
||||
/* Autogenerated file. Do not edit manually. */ |
||||
/* tslint:disable */ |
||||
/* eslint-disable */ |
||||
|
||||
import { |
||||
ethers, |
||||
EventFilter, |
||||
Signer, |
||||
BigNumber, |
||||
BigNumberish, |
||||
PopulatedTransaction, |
||||
BaseContract, |
||||
ContractTransaction, |
||||
Overrides, |
||||
CallOverrides, |
||||
} from "ethers"; |
||||
import { BytesLike } from "@ethersproject/bytes"; |
||||
import { Listener, Provider } from "@ethersproject/providers"; |
||||
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; |
||||
import { TypedEventFilter, TypedEvent, TypedListener } from "./commons"; |
||||
|
||||
interface OutboxInterface extends ethers.utils.Interface { |
||||
functions: { |
||||
"MAX_MESSAGE_BODY_BYTES()": FunctionFragment; |
||||
"VERSION()": FunctionFragment; |
||||
"checkpoint()": FunctionFragment; |
||||
"checkpointedRoot()": FunctionFragment; |
||||
"checkpoints(bytes32)": FunctionFragment; |
||||
"count()": FunctionFragment; |
||||
"dispatch(uint32,bytes32,bytes)": FunctionFragment; |
||||
"fail()": FunctionFragment; |
||||
"initialize(address)": FunctionFragment; |
||||
"latestCheckpoint()": FunctionFragment; |
||||
"localDomain()": FunctionFragment; |
||||
"nonces(uint32)": FunctionFragment; |
||||
"owner()": FunctionFragment; |
||||
"renounceOwnership()": FunctionFragment; |
||||
"root()": FunctionFragment; |
||||
"setValidatorManager(address)": FunctionFragment; |
||||
"state()": FunctionFragment; |
||||
"transferOwnership(address)": FunctionFragment; |
||||
"tree()": FunctionFragment; |
||||
"validatorManager()": FunctionFragment; |
||||
}; |
||||
|
||||
encodeFunctionData( |
||||
functionFragment: "MAX_MESSAGE_BODY_BYTES", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "checkpoint", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "checkpointedRoot", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "checkpoints", |
||||
values: [BytesLike] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "count", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "dispatch", |
||||
values: [BigNumberish, BytesLike, BytesLike] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "fail", values?: undefined): string; |
||||
encodeFunctionData(functionFragment: "initialize", values: [string]): string; |
||||
encodeFunctionData( |
||||
functionFragment: "latestCheckpoint", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "localDomain", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "nonces", |
||||
values: [BigNumberish] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "owner", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "renounceOwnership", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData(functionFragment: "root", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "setValidatorManager", |
||||
values: [string] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "state", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "transferOwnership", |
||||
values: [string] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "tree", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "validatorManager", |
||||
values?: undefined |
||||
): string; |
||||
|
||||
decodeFunctionResult( |
||||
functionFragment: "MAX_MESSAGE_BODY_BYTES", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "checkpoint", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "checkpointedRoot", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "checkpoints", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "count", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "dispatch", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "fail", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "latestCheckpoint", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "localDomain", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "renounceOwnership", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "root", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "setValidatorManager", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "state", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "transferOwnership", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "tree", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "validatorManager", |
||||
data: BytesLike |
||||
): Result; |
||||
|
||||
events: { |
||||
"Checkpoint(bytes32,uint256)": EventFragment; |
||||
"Dispatch(bytes32,uint256,uint64,bytes32,bytes)": EventFragment; |
||||
"Fail()": EventFragment; |
||||
"NewValidatorManager(address)": EventFragment; |
||||
"OwnershipTransferred(address,address)": EventFragment; |
||||
}; |
||||
|
||||
getEvent(nameOrSignatureOrTopic: "Checkpoint"): EventFragment; |
||||
getEvent(nameOrSignatureOrTopic: "Dispatch"): EventFragment; |
||||
getEvent(nameOrSignatureOrTopic: "Fail"): EventFragment; |
||||
getEvent(nameOrSignatureOrTopic: "NewValidatorManager"): EventFragment; |
||||
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; |
||||
} |
||||
|
||||
export class Outbox extends BaseContract { |
||||
connect(signerOrProvider: Signer | Provider | string): this; |
||||
attach(addressOrName: string): this; |
||||
deployed(): Promise<this>; |
||||
|
||||
listeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): Array<TypedListener<EventArgsArray, EventArgsObject>>; |
||||
off<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
on<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
once<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeListener<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
|
||||
listeners(eventName?: string): Array<Listener>; |
||||
off(eventName: string, listener: Listener): this; |
||||
on(eventName: string, listener: Listener): this; |
||||
once(eventName: string, listener: Listener): this; |
||||
removeListener(eventName: string, listener: Listener): this; |
||||
removeAllListeners(eventName?: string): this; |
||||
|
||||
queryFilter<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
event: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
fromBlockOrBlockhash?: string | number | undefined, |
||||
toBlock?: string | number | undefined |
||||
): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>; |
||||
|
||||
interface: OutboxInterface; |
||||
|
||||
functions: { |
||||
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<[BigNumber]>; |
||||
|
||||
VERSION(overrides?: CallOverrides): Promise<[number]>; |
||||
|
||||
checkpoint( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
checkpointedRoot(overrides?: CallOverrides): Promise<[string]>; |
||||
|
||||
checkpoints( |
||||
arg0: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<[BigNumber]>; |
||||
|
||||
count(overrides?: CallOverrides): Promise<[BigNumber]>; |
||||
|
||||
dispatch( |
||||
_destinationDomain: BigNumberish, |
||||
_recipientAddress: BytesLike, |
||||
_messageBody: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
fail( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
initialize( |
||||
_validatorManager: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
latestCheckpoint( |
||||
overrides?: CallOverrides |
||||
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<[number]>; |
||||
|
||||
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<[number]>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<[string]>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
root(overrides?: CallOverrides): Promise<[string]>; |
||||
|
||||
setValidatorManager( |
||||
_validatorManager: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
state(overrides?: CallOverrides): Promise<[number]>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
tree( |
||||
overrides?: CallOverrides |
||||
): Promise<[BigNumber] & { count: BigNumber }>; |
||||
|
||||
validatorManager(overrides?: CallOverrides): Promise<[string]>; |
||||
}; |
||||
|
||||
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
VERSION(overrides?: CallOverrides): Promise<number>; |
||||
|
||||
checkpoint( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
checkpointedRoot(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
count(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
dispatch( |
||||
_destinationDomain: BigNumberish, |
||||
_recipientAddress: BytesLike, |
||||
_messageBody: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
fail( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
initialize( |
||||
_validatorManager: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
latestCheckpoint( |
||||
overrides?: CallOverrides |
||||
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<number>; |
||||
|
||||
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
root(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
setValidatorManager( |
||||
_validatorManager: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
state(overrides?: CallOverrides): Promise<number>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
tree(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
validatorManager(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
callStatic: { |
||||
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
VERSION(overrides?: CallOverrides): Promise<number>; |
||||
|
||||
checkpoint(overrides?: CallOverrides): Promise<void>; |
||||
|
||||
checkpointedRoot(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
count(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
dispatch( |
||||
_destinationDomain: BigNumberish, |
||||
_recipientAddress: BytesLike, |
||||
_messageBody: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
fail(overrides?: CallOverrides): Promise<void>; |
||||
|
||||
initialize( |
||||
_validatorManager: string, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
latestCheckpoint( |
||||
overrides?: CallOverrides |
||||
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<number>; |
||||
|
||||
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
renounceOwnership(overrides?: CallOverrides): Promise<void>; |
||||
|
||||
root(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
setValidatorManager( |
||||
_validatorManager: string, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
state(overrides?: CallOverrides): Promise<number>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
tree(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
validatorManager(overrides?: CallOverrides): Promise<string>; |
||||
}; |
||||
|
||||
filters: { |
||||
Checkpoint( |
||||
root?: BytesLike | null, |
||||
index?: BigNumberish | null |
||||
): TypedEventFilter< |
||||
[string, BigNumber], |
||||
{ root: string; index: BigNumber } |
||||
>; |
||||
|
||||
Dispatch( |
||||
messageHash?: BytesLike | null, |
||||
leafIndex?: BigNumberish | null, |
||||
destinationAndNonce?: BigNumberish | null, |
||||
checkpointedRoot?: null, |
||||
message?: null |
||||
): TypedEventFilter< |
||||
[string, BigNumber, BigNumber, string, string], |
||||
{ |
||||
messageHash: string; |
||||
leafIndex: BigNumber; |
||||
destinationAndNonce: BigNumber; |
||||
checkpointedRoot: string; |
||||
message: string; |
||||
} |
||||
>; |
||||
|
||||
Fail(): TypedEventFilter<[], {}>; |
||||
|
||||
NewValidatorManager( |
||||
validatorManager?: null |
||||
): TypedEventFilter<[string], { validatorManager: string }>; |
||||
|
||||
OwnershipTransferred( |
||||
previousOwner?: string | null, |
||||
newOwner?: string | null |
||||
): TypedEventFilter< |
||||
[string, string], |
||||
{ previousOwner: string; newOwner: string } |
||||
>; |
||||
}; |
||||
|
||||
estimateGas: { |
||||
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
VERSION(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
checkpoint( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
checkpointedRoot(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
count(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
dispatch( |
||||
_destinationDomain: BigNumberish, |
||||
_recipientAddress: BytesLike, |
||||
_messageBody: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
fail( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
initialize( |
||||
_validatorManager: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
latestCheckpoint(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
root(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
setValidatorManager( |
||||
_validatorManager: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
state(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
tree(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
validatorManager(overrides?: CallOverrides): Promise<BigNumber>; |
||||
}; |
||||
|
||||
populateTransaction: { |
||||
MAX_MESSAGE_BODY_BYTES( |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
VERSION(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
checkpoint( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
checkpointedRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
checkpoints( |
||||
arg0: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
count(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
dispatch( |
||||
_destinationDomain: BigNumberish, |
||||
_recipientAddress: BytesLike, |
||||
_messageBody: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
fail( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
initialize( |
||||
_validatorManager: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
latestCheckpoint(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
nonces( |
||||
arg0: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
root(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
setValidatorManager( |
||||
_validatorManager: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
state(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
tree(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
validatorManager(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
}; |
||||
} |
@ -1,145 +0,0 @@ |
||||
/* Autogenerated file. Do not edit manually. */ |
||||
/* tslint:disable */ |
||||
/* eslint-disable */ |
||||
|
||||
import { |
||||
ethers, |
||||
EventFilter, |
||||
Signer, |
||||
BigNumber, |
||||
BigNumberish, |
||||
PopulatedTransaction, |
||||
BaseContract, |
||||
ContractTransaction, |
||||
CallOverrides, |
||||
} from "ethers"; |
||||
import { BytesLike } from "@ethersproject/bytes"; |
||||
import { Listener, Provider } from "@ethersproject/providers"; |
||||
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; |
||||
import { TypedEventFilter, TypedEvent, TypedListener } from "./commons"; |
||||
|
||||
interface QueueManagerInterface extends ethers.utils.Interface { |
||||
functions: { |
||||
"queueContains(bytes32)": FunctionFragment; |
||||
"queueEnd()": FunctionFragment; |
||||
"queueLength()": FunctionFragment; |
||||
}; |
||||
|
||||
encodeFunctionData( |
||||
functionFragment: "queueContains", |
||||
values: [BytesLike] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "queueEnd", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "queueLength", |
||||
values?: undefined |
||||
): string; |
||||
|
||||
decodeFunctionResult( |
||||
functionFragment: "queueContains", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "queueEnd", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "queueLength", |
||||
data: BytesLike |
||||
): Result; |
||||
|
||||
events: {}; |
||||
} |
||||
|
||||
export class QueueManager extends BaseContract { |
||||
connect(signerOrProvider: Signer | Provider | string): this; |
||||
attach(addressOrName: string): this; |
||||
deployed(): Promise<this>; |
||||
|
||||
listeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): Array<TypedListener<EventArgsArray, EventArgsObject>>; |
||||
off<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
on<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
once<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeListener<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
|
||||
listeners(eventName?: string): Array<Listener>; |
||||
off(eventName: string, listener: Listener): this; |
||||
on(eventName: string, listener: Listener): this; |
||||
once(eventName: string, listener: Listener): this; |
||||
removeListener(eventName: string, listener: Listener): this; |
||||
removeAllListeners(eventName?: string): this; |
||||
|
||||
queryFilter<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
event: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
fromBlockOrBlockhash?: string | number | undefined, |
||||
toBlock?: string | number | undefined |
||||
): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>; |
||||
|
||||
interface: QueueManagerInterface; |
||||
|
||||
functions: { |
||||
queueContains( |
||||
_item: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<[boolean]>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<[string]>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<[BigNumber]>; |
||||
}; |
||||
|
||||
queueContains(_item: BytesLike, overrides?: CallOverrides): Promise<boolean>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
callStatic: { |
||||
queueContains( |
||||
_item: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<boolean>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<BigNumber>; |
||||
}; |
||||
|
||||
filters: {}; |
||||
|
||||
estimateGas: { |
||||
queueContains( |
||||
_item: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<BigNumber>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<BigNumber>; |
||||
}; |
||||
|
||||
populateTransaction: { |
||||
queueContains( |
||||
_item: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
}; |
||||
} |
@ -1,363 +0,0 @@ |
||||
/* Autogenerated file. Do not edit manually. */ |
||||
/* tslint:disable */ |
||||
/* eslint-disable */ |
||||
|
||||
import { |
||||
ethers, |
||||
EventFilter, |
||||
Signer, |
||||
BigNumber, |
||||
BigNumberish, |
||||
PopulatedTransaction, |
||||
BaseContract, |
||||
ContractTransaction, |
||||
Overrides, |
||||
CallOverrides, |
||||
} from "ethers"; |
||||
import { BytesLike } from "@ethersproject/bytes"; |
||||
import { Listener, Provider } from "@ethersproject/providers"; |
||||
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; |
||||
import { TypedEventFilter, TypedEvent, TypedListener } from "./commons"; |
||||
|
||||
interface TestQueueInterface extends ethers.utils.Interface { |
||||
functions: { |
||||
"contains(bytes32)": FunctionFragment; |
||||
"dequeue()": FunctionFragment; |
||||
"dequeueMany(uint256)": FunctionFragment; |
||||
"drain()": FunctionFragment; |
||||
"enqueue(bytes32)": FunctionFragment; |
||||
"enqueueMany(bytes32[])": FunctionFragment; |
||||
"initializeAgain()": FunctionFragment; |
||||
"lastItem()": FunctionFragment; |
||||
"length()": FunctionFragment; |
||||
"peek()": FunctionFragment; |
||||
"queueContains(bytes32)": FunctionFragment; |
||||
"queueEnd()": FunctionFragment; |
||||
"queueLength()": FunctionFragment; |
||||
}; |
||||
|
||||
encodeFunctionData(functionFragment: "contains", values: [BytesLike]): string; |
||||
encodeFunctionData(functionFragment: "dequeue", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "dequeueMany", |
||||
values: [BigNumberish] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "drain", values?: undefined): string; |
||||
encodeFunctionData(functionFragment: "enqueue", values: [BytesLike]): string; |
||||
encodeFunctionData( |
||||
functionFragment: "enqueueMany", |
||||
values: [BytesLike[]] |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "initializeAgain", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData(functionFragment: "lastItem", values?: undefined): string; |
||||
encodeFunctionData(functionFragment: "length", values?: undefined): string; |
||||
encodeFunctionData(functionFragment: "peek", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "queueContains", |
||||
values: [BytesLike] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "queueEnd", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "queueLength", |
||||
values?: undefined |
||||
): string; |
||||
|
||||
decodeFunctionResult(functionFragment: "contains", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "dequeue", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "dequeueMany", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "drain", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "enqueue", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "enqueueMany", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "initializeAgain", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "lastItem", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "length", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "peek", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "queueContains", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "queueEnd", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "queueLength", |
||||
data: BytesLike |
||||
): Result; |
||||
|
||||
events: {}; |
||||
} |
||||
|
||||
export class TestQueue extends BaseContract { |
||||
connect(signerOrProvider: Signer | Provider | string): this; |
||||
attach(addressOrName: string): this; |
||||
deployed(): Promise<this>; |
||||
|
||||
listeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): Array<TypedListener<EventArgsArray, EventArgsObject>>; |
||||
off<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
on<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
once<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeListener<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
|
||||
listeners(eventName?: string): Array<Listener>; |
||||
off(eventName: string, listener: Listener): this; |
||||
on(eventName: string, listener: Listener): this; |
||||
once(eventName: string, listener: Listener): this; |
||||
removeListener(eventName: string, listener: Listener): this; |
||||
removeAllListeners(eventName?: string): this; |
||||
|
||||
queryFilter<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
event: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
fromBlockOrBlockhash?: string | number | undefined, |
||||
toBlock?: string | number | undefined |
||||
): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>; |
||||
|
||||
interface: TestQueueInterface; |
||||
|
||||
functions: { |
||||
contains(_item: BytesLike, overrides?: CallOverrides): Promise<[boolean]>; |
||||
|
||||
dequeue( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
dequeueMany( |
||||
_number: BigNumberish, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
drain( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
enqueue( |
||||
_item: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
enqueueMany( |
||||
_items: BytesLike[], |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
initializeAgain( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
lastItem(overrides?: CallOverrides): Promise<[string]>; |
||||
|
||||
length(overrides?: CallOverrides): Promise<[BigNumber]>; |
||||
|
||||
peek(overrides?: CallOverrides): Promise<[string] & { _item: string }>; |
||||
|
||||
queueContains( |
||||
_item: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<[boolean]>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<[string]>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<[BigNumber]>; |
||||
}; |
||||
|
||||
contains(_item: BytesLike, overrides?: CallOverrides): Promise<boolean>; |
||||
|
||||
dequeue( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
dequeueMany( |
||||
_number: BigNumberish, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
drain( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
enqueue( |
||||
_item: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
enqueueMany( |
||||
_items: BytesLike[], |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
initializeAgain( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
lastItem(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
length(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
peek(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
queueContains(_item: BytesLike, overrides?: CallOverrides): Promise<boolean>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
callStatic: { |
||||
contains(_item: BytesLike, overrides?: CallOverrides): Promise<boolean>; |
||||
|
||||
dequeue(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
dequeueMany( |
||||
_number: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<string[]>; |
||||
|
||||
drain(overrides?: CallOverrides): Promise<void>; |
||||
|
||||
enqueue(_item: BytesLike, overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
enqueueMany( |
||||
_items: BytesLike[], |
||||
overrides?: CallOverrides |
||||
): Promise<BigNumber>; |
||||
|
||||
initializeAgain(overrides?: CallOverrides): Promise<void>; |
||||
|
||||
lastItem(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
length(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
peek(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
queueContains( |
||||
_item: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<boolean>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<BigNumber>; |
||||
}; |
||||
|
||||
filters: {}; |
||||
|
||||
estimateGas: { |
||||
contains(_item: BytesLike, overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
dequeue( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
dequeueMany( |
||||
_number: BigNumberish, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
drain( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
enqueue( |
||||
_item: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
enqueueMany( |
||||
_items: BytesLike[], |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
initializeAgain( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
lastItem(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
length(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
peek(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
queueContains( |
||||
_item: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<BigNumber>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<BigNumber>; |
||||
}; |
||||
|
||||
populateTransaction: { |
||||
contains( |
||||
_item: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
dequeue( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
dequeueMany( |
||||
_number: BigNumberish, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
drain( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
enqueue( |
||||
_item: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
enqueueMany( |
||||
_items: BytesLike[], |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
initializeAgain( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
lastItem(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
length(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
peek(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
queueContains( |
||||
_item: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
queueEnd(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
queueLength(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
}; |
||||
} |
@ -1,575 +0,0 @@ |
||||
/* Autogenerated file. Do not edit manually. */ |
||||
/* tslint:disable */ |
||||
/* eslint-disable */ |
||||
|
||||
import { |
||||
ethers, |
||||
EventFilter, |
||||
Signer, |
||||
BigNumber, |
||||
BigNumberish, |
||||
PopulatedTransaction, |
||||
BaseContract, |
||||
ContractTransaction, |
||||
Overrides, |
||||
CallOverrides, |
||||
} from "ethers"; |
||||
import { BytesLike } from "@ethersproject/bytes"; |
||||
import { Listener, Provider } from "@ethersproject/providers"; |
||||
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; |
||||
import { TypedEventFilter, TypedEvent, TypedListener } from "./commons"; |
||||
|
||||
interface TestXAppConnectionManagerInterface extends ethers.utils.Interface { |
||||
functions: { |
||||
"domainToReplica(uint32)": FunctionFragment; |
||||
"home()": FunctionFragment; |
||||
"isReplica(address)": FunctionFragment; |
||||
"localDomain()": FunctionFragment; |
||||
"owner()": FunctionFragment; |
||||
"ownerEnrollReplica(address,uint32)": FunctionFragment; |
||||
"ownerUnenrollReplica(address)": FunctionFragment; |
||||
"renounceOwnership()": FunctionFragment; |
||||
"replicaToDomain(address)": FunctionFragment; |
||||
"setHome(address)": FunctionFragment; |
||||
"setWatcherPermission(address,uint32,bool)": FunctionFragment; |
||||
"testRecoverWatcherFromSig(uint32,address,address,bytes)": FunctionFragment; |
||||
"transferOwnership(address)": FunctionFragment; |
||||
"unenrollReplica(uint32,bytes32,bytes)": FunctionFragment; |
||||
"watcherPermission(address,uint32)": FunctionFragment; |
||||
}; |
||||
|
||||
encodeFunctionData( |
||||
functionFragment: "domainToReplica", |
||||
values: [BigNumberish] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "home", values?: undefined): string; |
||||
encodeFunctionData(functionFragment: "isReplica", values: [string]): string; |
||||
encodeFunctionData( |
||||
functionFragment: "localDomain", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData(functionFragment: "owner", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "ownerEnrollReplica", |
||||
values: [string, BigNumberish] |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "ownerUnenrollReplica", |
||||
values: [string] |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "renounceOwnership", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "replicaToDomain", |
||||
values: [string] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "setHome", values: [string]): string; |
||||
encodeFunctionData( |
||||
functionFragment: "setWatcherPermission", |
||||
values: [string, BigNumberish, boolean] |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "testRecoverWatcherFromSig", |
||||
values: [BigNumberish, string, string, BytesLike] |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "transferOwnership", |
||||
values: [string] |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "unenrollReplica", |
||||
values: [BigNumberish, BytesLike, BytesLike] |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "watcherPermission", |
||||
values: [string, BigNumberish] |
||||
): string; |
||||
|
||||
decodeFunctionResult( |
||||
functionFragment: "domainToReplica", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "home", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "isReplica", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "localDomain", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "ownerEnrollReplica", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "ownerUnenrollReplica", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "renounceOwnership", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "replicaToDomain", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "setHome", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "setWatcherPermission", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "testRecoverWatcherFromSig", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "transferOwnership", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "unenrollReplica", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "watcherPermission", |
||||
data: BytesLike |
||||
): Result; |
||||
|
||||
events: { |
||||
"OwnershipTransferred(address,address)": EventFragment; |
||||
"ReplicaEnrolled(uint32,address)": EventFragment; |
||||
"ReplicaUnenrolled(uint32,address)": EventFragment; |
||||
"WatcherPermissionSet(uint32,address,bool)": EventFragment; |
||||
}; |
||||
|
||||
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; |
||||
getEvent(nameOrSignatureOrTopic: "ReplicaEnrolled"): EventFragment; |
||||
getEvent(nameOrSignatureOrTopic: "ReplicaUnenrolled"): EventFragment; |
||||
getEvent(nameOrSignatureOrTopic: "WatcherPermissionSet"): EventFragment; |
||||
} |
||||
|
||||
export class TestXAppConnectionManager extends BaseContract { |
||||
connect(signerOrProvider: Signer | Provider | string): this; |
||||
attach(addressOrName: string): this; |
||||
deployed(): Promise<this>; |
||||
|
||||
listeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): Array<TypedListener<EventArgsArray, EventArgsObject>>; |
||||
off<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
on<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
once<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeListener<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
|
||||
listeners(eventName?: string): Array<Listener>; |
||||
off(eventName: string, listener: Listener): this; |
||||
on(eventName: string, listener: Listener): this; |
||||
once(eventName: string, listener: Listener): this; |
||||
removeListener(eventName: string, listener: Listener): this; |
||||
removeAllListeners(eventName?: string): this; |
||||
|
||||
queryFilter<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
event: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
fromBlockOrBlockhash?: string | number | undefined, |
||||
toBlock?: string | number | undefined |
||||
): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>; |
||||
|
||||
interface: TestXAppConnectionManagerInterface; |
||||
|
||||
functions: { |
||||
domainToReplica( |
||||
arg0: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<[string]>; |
||||
|
||||
home(overrides?: CallOverrides): Promise<[string]>; |
||||
|
||||
isReplica(_replica: string, overrides?: CallOverrides): Promise<[boolean]>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<[number]>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<[string]>; |
||||
|
||||
ownerEnrollReplica( |
||||
_replica: string, |
||||
_domain: BigNumberish, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
ownerUnenrollReplica( |
||||
_replica: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
replicaToDomain(arg0: string, overrides?: CallOverrides): Promise<[number]>; |
||||
|
||||
setHome( |
||||
_home: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
setWatcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
_access: boolean, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
testRecoverWatcherFromSig( |
||||
_domain: BigNumberish, |
||||
_replica: string, |
||||
_updater: string, |
||||
_signature: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<[string]>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
unenrollReplica( |
||||
_domain: BigNumberish, |
||||
_updater: BytesLike, |
||||
_signature: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
watcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<[boolean]>; |
||||
}; |
||||
|
||||
domainToReplica( |
||||
arg0: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<string>; |
||||
|
||||
home(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
isReplica(_replica: string, overrides?: CallOverrides): Promise<boolean>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<number>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
ownerEnrollReplica( |
||||
_replica: string, |
||||
_domain: BigNumberish, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
ownerUnenrollReplica( |
||||
_replica: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
replicaToDomain(arg0: string, overrides?: CallOverrides): Promise<number>; |
||||
|
||||
setHome( |
||||
_home: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
setWatcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
_access: boolean, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
testRecoverWatcherFromSig( |
||||
_domain: BigNumberish, |
||||
_replica: string, |
||||
_updater: string, |
||||
_signature: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<string>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
unenrollReplica( |
||||
_domain: BigNumberish, |
||||
_updater: BytesLike, |
||||
_signature: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
watcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<boolean>; |
||||
|
||||
callStatic: { |
||||
domainToReplica( |
||||
arg0: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<string>; |
||||
|
||||
home(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
isReplica(_replica: string, overrides?: CallOverrides): Promise<boolean>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<number>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
ownerEnrollReplica( |
||||
_replica: string, |
||||
_domain: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
ownerUnenrollReplica( |
||||
_replica: string, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
renounceOwnership(overrides?: CallOverrides): Promise<void>; |
||||
|
||||
replicaToDomain(arg0: string, overrides?: CallOverrides): Promise<number>; |
||||
|
||||
setHome(_home: string, overrides?: CallOverrides): Promise<void>; |
||||
|
||||
setWatcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
_access: boolean, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
testRecoverWatcherFromSig( |
||||
_domain: BigNumberish, |
||||
_replica: string, |
||||
_updater: string, |
||||
_signature: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<string>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
unenrollReplica( |
||||
_domain: BigNumberish, |
||||
_updater: BytesLike, |
||||
_signature: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
watcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<boolean>; |
||||
}; |
||||
|
||||
filters: { |
||||
OwnershipTransferred( |
||||
previousOwner?: string | null, |
||||
newOwner?: string | null |
||||
): TypedEventFilter< |
||||
[string, string], |
||||
{ previousOwner: string; newOwner: string } |
||||
>; |
||||
|
||||
ReplicaEnrolled( |
||||
domain?: BigNumberish | null, |
||||
replica?: null |
||||
): TypedEventFilter<[number, string], { domain: number; replica: string }>; |
||||
|
||||
ReplicaUnenrolled( |
||||
domain?: BigNumberish | null, |
||||
replica?: null |
||||
): TypedEventFilter<[number, string], { domain: number; replica: string }>; |
||||
|
||||
WatcherPermissionSet( |
||||
domain?: BigNumberish | null, |
||||
watcher?: null, |
||||
access?: null |
||||
): TypedEventFilter< |
||||
[number, string, boolean], |
||||
{ domain: number; watcher: string; access: boolean } |
||||
>; |
||||
}; |
||||
|
||||
estimateGas: { |
||||
domainToReplica( |
||||
arg0: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<BigNumber>; |
||||
|
||||
home(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
isReplica(_replica: string, overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
ownerEnrollReplica( |
||||
_replica: string, |
||||
_domain: BigNumberish, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
ownerUnenrollReplica( |
||||
_replica: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
replicaToDomain( |
||||
arg0: string, |
||||
overrides?: CallOverrides |
||||
): Promise<BigNumber>; |
||||
|
||||
setHome( |
||||
_home: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
setWatcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
_access: boolean, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
testRecoverWatcherFromSig( |
||||
_domain: BigNumberish, |
||||
_replica: string, |
||||
_updater: string, |
||||
_signature: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<BigNumber>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
unenrollReplica( |
||||
_domain: BigNumberish, |
||||
_updater: BytesLike, |
||||
_signature: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
watcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<BigNumber>; |
||||
}; |
||||
|
||||
populateTransaction: { |
||||
domainToReplica( |
||||
arg0: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
home(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
isReplica( |
||||
_replica: string, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
ownerEnrollReplica( |
||||
_replica: string, |
||||
_domain: BigNumberish, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
ownerUnenrollReplica( |
||||
_replica: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
replicaToDomain( |
||||
arg0: string, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
setHome( |
||||
_home: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
setWatcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
_access: boolean, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
testRecoverWatcherFromSig( |
||||
_domain: BigNumberish, |
||||
_replica: string, |
||||
_updater: string, |
||||
_signature: BytesLike, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
unenrollReplica( |
||||
_domain: BigNumberish, |
||||
_updater: BytesLike, |
||||
_signature: BytesLike, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
watcherPermission( |
||||
_watcher: string, |
||||
_domain: BigNumberish, |
||||
overrides?: CallOverrides |
||||
): Promise<PopulatedTransaction>; |
||||
}; |
||||
} |
@ -1,276 +0,0 @@ |
||||
/* Autogenerated file. Do not edit manually. */ |
||||
/* tslint:disable */ |
||||
/* eslint-disable */ |
||||
|
||||
import { |
||||
ethers, |
||||
EventFilter, |
||||
Signer, |
||||
BigNumber, |
||||
BigNumberish, |
||||
PopulatedTransaction, |
||||
BaseContract, |
||||
ContractTransaction, |
||||
Overrides, |
||||
CallOverrides, |
||||
} from "ethers"; |
||||
import { BytesLike } from "@ethersproject/bytes"; |
||||
import { Listener, Provider } from "@ethersproject/providers"; |
||||
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi"; |
||||
import { TypedEventFilter, TypedEvent, TypedListener } from "./commons"; |
||||
|
||||
interface UpdaterManagerInterface extends ethers.utils.Interface { |
||||
functions: { |
||||
"owner()": FunctionFragment; |
||||
"renounceOwnership()": FunctionFragment; |
||||
"setHome(address)": FunctionFragment; |
||||
"setUpdater(address)": FunctionFragment; |
||||
"slashUpdater(address)": FunctionFragment; |
||||
"transferOwnership(address)": FunctionFragment; |
||||
"updater()": FunctionFragment; |
||||
}; |
||||
|
||||
encodeFunctionData(functionFragment: "owner", values?: undefined): string; |
||||
encodeFunctionData( |
||||
functionFragment: "renounceOwnership", |
||||
values?: undefined |
||||
): string; |
||||
encodeFunctionData(functionFragment: "setHome", values: [string]): string; |
||||
encodeFunctionData(functionFragment: "setUpdater", values: [string]): string; |
||||
encodeFunctionData( |
||||
functionFragment: "slashUpdater", |
||||
values: [string] |
||||
): string; |
||||
encodeFunctionData( |
||||
functionFragment: "transferOwnership", |
||||
values: [string] |
||||
): string; |
||||
encodeFunctionData(functionFragment: "updater", values?: undefined): string; |
||||
|
||||
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "renounceOwnership", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "setHome", data: BytesLike): Result; |
||||
decodeFunctionResult(functionFragment: "setUpdater", data: BytesLike): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "slashUpdater", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult( |
||||
functionFragment: "transferOwnership", |
||||
data: BytesLike |
||||
): Result; |
||||
decodeFunctionResult(functionFragment: "updater", data: BytesLike): Result; |
||||
|
||||
events: { |
||||
"FakeSlashed(address)": EventFragment; |
||||
"NewHome(address)": EventFragment; |
||||
"OwnershipTransferred(address,address)": EventFragment; |
||||
}; |
||||
|
||||
getEvent(nameOrSignatureOrTopic: "FakeSlashed"): EventFragment; |
||||
getEvent(nameOrSignatureOrTopic: "NewHome"): EventFragment; |
||||
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment; |
||||
} |
||||
|
||||
export class UpdaterManager extends BaseContract { |
||||
connect(signerOrProvider: Signer | Provider | string): this; |
||||
attach(addressOrName: string): this; |
||||
deployed(): Promise<this>; |
||||
|
||||
listeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): Array<TypedListener<EventArgsArray, EventArgsObject>>; |
||||
off<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
on<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
once<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeListener<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
listener: TypedListener<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject> |
||||
): this; |
||||
|
||||
listeners(eventName?: string): Array<Listener>; |
||||
off(eventName: string, listener: Listener): this; |
||||
on(eventName: string, listener: Listener): this; |
||||
once(eventName: string, listener: Listener): this; |
||||
removeListener(eventName: string, listener: Listener): this; |
||||
removeAllListeners(eventName?: string): this; |
||||
|
||||
queryFilter<EventArgsArray extends Array<any>, EventArgsObject>( |
||||
event: TypedEventFilter<EventArgsArray, EventArgsObject>, |
||||
fromBlockOrBlockhash?: string | number | undefined, |
||||
toBlock?: string | number | undefined |
||||
): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>; |
||||
|
||||
interface: UpdaterManagerInterface; |
||||
|
||||
functions: { |
||||
owner(overrides?: CallOverrides): Promise<[string]>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
setHome( |
||||
_home: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
setUpdater( |
||||
_updaterAddress: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
slashUpdater( |
||||
_reporter: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<[string]>; |
||||
}; |
||||
|
||||
owner(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
setHome( |
||||
_home: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
setUpdater( |
||||
_updaterAddress: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
slashUpdater( |
||||
_reporter: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<ContractTransaction>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
callStatic: { |
||||
owner(overrides?: CallOverrides): Promise<string>; |
||||
|
||||
renounceOwnership(overrides?: CallOverrides): Promise<void>; |
||||
|
||||
setHome(_home: string, overrides?: CallOverrides): Promise<void>; |
||||
|
||||
setUpdater( |
||||
_updaterAddress: string, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
slashUpdater(_reporter: string, overrides?: CallOverrides): Promise<void>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: CallOverrides |
||||
): Promise<void>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<string>; |
||||
}; |
||||
|
||||
filters: { |
||||
FakeSlashed( |
||||
reporter?: null |
||||
): TypedEventFilter<[string], { reporter: string }>; |
||||
|
||||
NewHome(home?: null): TypedEventFilter<[string], { home: string }>; |
||||
|
||||
OwnershipTransferred( |
||||
previousOwner?: string | null, |
||||
newOwner?: string | null |
||||
): TypedEventFilter< |
||||
[string, string], |
||||
{ previousOwner: string; newOwner: string } |
||||
>; |
||||
}; |
||||
|
||||
estimateGas: { |
||||
owner(overrides?: CallOverrides): Promise<BigNumber>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
setHome( |
||||
_home: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
setUpdater( |
||||
_updaterAddress: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
slashUpdater( |
||||
_reporter: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<BigNumber>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<BigNumber>; |
||||
}; |
||||
|
||||
populateTransaction: { |
||||
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
|
||||
renounceOwnership( |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
setHome( |
||||
_home: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
setUpdater( |
||||
_updaterAddress: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
slashUpdater( |
||||
_reporter: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
transferOwnership( |
||||
newOwner: string, |
||||
overrides?: Overrides & { from?: string | Promise<string> } |
||||
): Promise<PopulatedTransaction>; |
||||
|
||||
updater(overrides?: CallOverrides): Promise<PopulatedTransaction>; |
||||
}; |
||||
} |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue