Skip to content

Commit

Permalink
chore: rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-zhipeng committed Nov 8, 2023
1 parent 72ee556 commit 2e90894
Show file tree
Hide file tree
Showing 9 changed files with 172 additions and 138 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"function DOMAIN() view returns (uint32)",
"function allowlistedProposers(address _proposer) view returns (bool)",
"function proposeAggregateRoot(bytes32 _aggregateRoot, uint256 _rootTimestamp)",
"function proveAndProcess(tuple(bytes message, bytes32[32] path, uint256 index)[] _proofs, bytes32 _aggregateRoot, bytes32[32] _aggregatePath, uint256 _aggregateIndex)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"error RelayerProxy__proposeAggregateRootCooledDown_notCooledDown()",
"error RelayerProxy__removeRelayer_relayerNotAdded()",
"error RelayerProxy__validateAndPayWithCredits_notKeep3r()",
"error RelayerProxy__validateProposeSignature_notProposer()",
"error RelayerProxy__validateProposeSignature_notProposer(address signer)",
"event ConnextChanged(address updated, address previous)",
"event FeeCollectorChanged(address updated, address previous)",
"event FundsDeducted(uint256 amount, uint256 balance)",
Expand All @@ -32,12 +32,12 @@
"function allowedRelayer(address) view returns (bool)",
"function connext() view returns (address)",
"function delay() view returns (uint256)",
"function domain() view returns (uint32)",
"function execute(tuple(tuple(uint32 originDomain, uint32 destinationDomain, uint32 canonicalDomain, address to, address delegate, bool receiveLocal, bytes callData, uint256 slippage, address originSender, uint256 bridgedAmt, uint256 normalizedIn, uint256 nonce, bytes32 canonicalId) params, address[] routers, bytes[] routerSignatures, address sequencer, bytes sequencerSignature) _args, uint256 _fee) returns (bytes32 transferId)",
"function feeCollector() view returns (address)",
"function gelatoRelayer() view returns (address)",
"function keep3r() view returns (address)",
"function lastProposeAggregateRootAt() view returns (uint256)",
"function nonce() view returns (uint256)",
"function owner() view returns (address)",
"function proposeAggregateRoot(bytes32 _aggregateRoot, uint256 _rootTimestamp, bytes _signature, uint256 _fee)",
"function proposeAggregateRootCooldown() view returns (uint256)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,20 @@
"error ProposedOwnable__proposeNewOwner_noOwnershipChange()",
"error ProposedOwnable__renounceOwnership_invalidProposal()",
"error ProposedOwnable__renounceOwnership_noProposal()",
"error RelayerProxyHub__finalizeAndPropagateCooledDown_notCooledDown()",
"error RelayerProxyHub__finalizeCooledDown_notCooledDown()",
"error RelayerProxyHub__processFromRoot_alreadyProcessed()",
"error RelayerProxyHub__processFromRoot_noHubConnector()",
"error RelayerProxyHub__processFromRoot_unsupportedChain()",
"error RelayerProxyHub__propagateCooledDown_notCooledDown()",
"error RelayerProxyHub__proposeAggregateRootCooledDown_notCooledDown()",
"error RelayerProxyHub__validateProposeSignature_notProposer()",
"error RelayerProxyHub__validateProposeSignature_notProposer(address signer)",
"error RelayerProxy__addRelayer_relayerAdded()",
"error RelayerProxy__definedAddress_empty()",
"error RelayerProxy__isWorkableBySender_notWorkable()",
"error RelayerProxy__onlyRelayer_notRelayer()",
"error RelayerProxy__proposeAggregateRootCooledDown_notCooledDown()",
"error RelayerProxy__removeRelayer_relayerNotAdded()",
"error RelayerProxy__validateAndPayWithCredits_notKeep3r()",
"error RelayerProxy__validateProposeSignature_notProposer()",
"error RelayerProxy__validateProposeSignature_notProposer(address signer)",
"event AutonolasChanged(address updated, address previous)",
"event AutonolasPriorityChanged(uint8 fn, uint8 updated, uint8 previous)",
"event ConnextChanged(address updated, address previous)",
Expand All @@ -48,6 +46,7 @@
"function autonolasPriority(uint8) view returns (uint8)",
"function connext() view returns (address)",
"function delay() view returns (uint256)",
"function domain() view returns (uint32)",
"function execute(tuple(tuple(uint32 originDomain, uint32 destinationDomain, uint32 canonicalDomain, address to, address delegate, bool receiveLocal, bytes callData, uint256 slippage, address originSender, uint256 bridgedAmt, uint256 normalizedIn, uint256 nonce, bytes32 canonicalId) params, address[] routers, bytes[] routerSignatures, address sequencer, bytes sequencerSignature) _args, uint256 _fee) returns (bytes32 transferId)",
"function feeCollector() view returns (address)",
"function finalize(bytes32 _proposedAggregateRoot, uint256 _endOfDispute)",
Expand All @@ -60,7 +59,6 @@
"function lastFinalizeAt() view returns (uint256)",
"function lastPropagateAt() view returns (uint256)",
"function lastProposeAggregateRootAt() view returns (uint256)",
"function nonce() view returns (uint256)",
"function owner() view returns (address)",
"function processFromRoot(bytes _encodedData, uint32 _fromChain, bytes32 _l2Hash)",
"function processFromRootKeep3r(bytes _encodedData, uint32 _fromChain, bytes32 _l2Hash)",
Expand All @@ -70,9 +68,9 @@
"function propagateKeep3r(address[] _connectors, uint256[] _messageFees, bytes[] _encodedData)",
"function propagateWorkable(uint32[] domains) returns (bool)",
"function proposeAggregateRoot(bytes32 _aggregateRoot, uint256 _rootTimestamp, bytes _signature, uint256 _fee)",
"function proposeAggregateRoot(uint256 _snapshotId, bytes32 _aggregateRoot, bytes32[] _snapshotsRoots, uint32[] _domains, bytes _signature)",
"function proposeAggregateRootCooldown() view returns (uint256)",
"function proposeAggregateRootKeep3r(uint256 _snapshotId, bytes32 _aggregateRoot, bytes32[] _snapshotsRoots, uint32[] _domains, bytes _signature)",
"function proposeAggregateRootOnRoot(uint256 _snapshotId, bytes32 _aggregateRoot, bytes32[] _snapshotsRoots, uint32[] _domains, bytes _signature)",
"function proposeAggregateRootOnRootKeep3r(uint256 _snapshotId, bytes32 _aggregateRoot, bytes32[] _snapshotsRoots, uint32[] _domains, bytes _signature)",
"function proposeNewOwner(address newlyProposed)",
"function proposed() view returns (address)",
"function proposedTimestamp() view returns (uint256)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export declare namespace ISpokeConnector {

export interface ISpokeConnectorInterface extends utils.Interface {
functions: {
"DOMAIN()": FunctionFragment;
"allowlistedProposers(address)": FunctionFragment;
"proposeAggregateRoot(bytes32,uint256)": FunctionFragment;
"proveAndProcess((bytes,bytes32[32],uint256)[],bytes32,bytes32[32],uint256)": FunctionFragment;
Expand All @@ -48,12 +49,14 @@ export interface ISpokeConnectorInterface extends utils.Interface {

getFunction(
nameOrSignatureOrTopic:
| "DOMAIN"
| "allowlistedProposers"
| "proposeAggregateRoot"
| "proveAndProcess"
| "send"
): FunctionFragment;

encodeFunctionData(functionFragment: "DOMAIN", values?: undefined): string;
encodeFunctionData(
functionFragment: "allowlistedProposers",
values: [PromiseOrValue<string>]
Expand All @@ -76,6 +79,7 @@ export interface ISpokeConnectorInterface extends utils.Interface {
values: [PromiseOrValue<BytesLike>]
): string;

decodeFunctionResult(functionFragment: "DOMAIN", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "allowlistedProposers",
data: BytesLike
Expand Down Expand Up @@ -120,6 +124,8 @@ export interface ISpokeConnector extends BaseContract {
removeListener: OnEvent<this>;

functions: {
DOMAIN(overrides?: CallOverrides): Promise<[number]>;

allowlistedProposers(
_proposer: PromiseOrValue<string>,
overrides?: CallOverrides
Expand All @@ -145,6 +151,8 @@ export interface ISpokeConnector extends BaseContract {
): Promise<ContractTransaction>;
};

DOMAIN(overrides?: CallOverrides): Promise<number>;

allowlistedProposers(
_proposer: PromiseOrValue<string>,
overrides?: CallOverrides
Expand All @@ -170,6 +178,8 @@ export interface ISpokeConnector extends BaseContract {
): Promise<ContractTransaction>;

callStatic: {
DOMAIN(overrides?: CallOverrides): Promise<number>;

allowlistedProposers(
_proposer: PromiseOrValue<string>,
overrides?: CallOverrides
Expand Down Expand Up @@ -198,6 +208,8 @@ export interface ISpokeConnector extends BaseContract {
filters: {};

estimateGas: {
DOMAIN(overrides?: CallOverrides): Promise<BigNumber>;

allowlistedProposers(
_proposer: PromiseOrValue<string>,
overrides?: CallOverrides
Expand All @@ -224,6 +236,8 @@ export interface ISpokeConnector extends BaseContract {
};

populateTransaction: {
DOMAIN(overrides?: CallOverrides): Promise<PopulatedTransaction>;

allowlistedProposers(
_proposer: PromiseOrValue<string>,
overrides?: CallOverrides
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ export interface RelayerProxyInterface extends utils.Interface {
"allowedRelayer(address)": FunctionFragment;
"connext()": FunctionFragment;
"delay()": FunctionFragment;
"domain()": FunctionFragment;
"execute(((uint32,uint32,uint32,address,address,bool,bytes,uint256,address,uint256,uint256,uint256,bytes32),address[],bytes[],address,bytes),uint256)": FunctionFragment;
"feeCollector()": FunctionFragment;
"gelatoRelayer()": FunctionFragment;
"keep3r()": FunctionFragment;
"lastProposeAggregateRootAt()": FunctionFragment;
"nonce()": FunctionFragment;
"owner()": FunctionFragment;
"proposeAggregateRoot(bytes32,uint256,bytes,uint256)": FunctionFragment;
"proposeAggregateRootCooldown()": FunctionFragment;
Expand Down Expand Up @@ -176,12 +176,12 @@ export interface RelayerProxyInterface extends utils.Interface {
| "allowedRelayer"
| "connext"
| "delay"
| "domain"
| "execute"
| "feeCollector"
| "gelatoRelayer"
| "keep3r"
| "lastProposeAggregateRootAt"
| "nonce"
| "owner"
| "proposeAggregateRoot"
| "proposeAggregateRootCooldown"
Expand Down Expand Up @@ -216,6 +216,7 @@ export interface RelayerProxyInterface extends utils.Interface {
): string;
encodeFunctionData(functionFragment: "connext", values?: undefined): string;
encodeFunctionData(functionFragment: "delay", values?: undefined): string;
encodeFunctionData(functionFragment: "domain", values?: undefined): string;
encodeFunctionData(
functionFragment: "execute",
values: [ExecuteArgsStruct, PromiseOrValue<BigNumberish>]
Expand All @@ -233,7 +234,6 @@ export interface RelayerProxyInterface extends utils.Interface {
functionFragment: "lastProposeAggregateRootAt",
values?: undefined
): string;
encodeFunctionData(functionFragment: "nonce", values?: undefined): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "proposeAggregateRoot",
Expand Down Expand Up @@ -321,6 +321,7 @@ export interface RelayerProxyInterface extends utils.Interface {
): Result;
decodeFunctionResult(functionFragment: "connext", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "delay", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "domain", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "feeCollector",
Expand All @@ -335,7 +336,6 @@ export interface RelayerProxyInterface extends utils.Interface {
functionFragment: "lastProposeAggregateRootAt",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "nonce", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "proposeAggregateRoot",
Expand Down Expand Up @@ -596,6 +596,8 @@ export interface RelayerProxy extends BaseContract {

delay(overrides?: CallOverrides): Promise<[BigNumber]>;

domain(overrides?: CallOverrides): Promise<[number]>;

execute(
_args: ExecuteArgsStruct,
_fee: PromiseOrValue<BigNumberish>,
Expand All @@ -610,8 +612,6 @@ export interface RelayerProxy extends BaseContract {

lastProposeAggregateRootAt(overrides?: CallOverrides): Promise<[BigNumber]>;

nonce(overrides?: CallOverrides): Promise<[BigNumber]>;

owner(overrides?: CallOverrides): Promise<[string]>;

proposeAggregateRoot(
Expand Down Expand Up @@ -712,6 +712,8 @@ export interface RelayerProxy extends BaseContract {

delay(overrides?: CallOverrides): Promise<BigNumber>;

domain(overrides?: CallOverrides): Promise<number>;

execute(
_args: ExecuteArgsStruct,
_fee: PromiseOrValue<BigNumberish>,
Expand All @@ -726,8 +728,6 @@ export interface RelayerProxy extends BaseContract {

lastProposeAggregateRootAt(overrides?: CallOverrides): Promise<BigNumber>;

nonce(overrides?: CallOverrides): Promise<BigNumber>;

owner(overrides?: CallOverrides): Promise<string>;

proposeAggregateRoot(
Expand Down Expand Up @@ -824,6 +824,8 @@ export interface RelayerProxy extends BaseContract {

delay(overrides?: CallOverrides): Promise<BigNumber>;

domain(overrides?: CallOverrides): Promise<number>;

execute(
_args: ExecuteArgsStruct,
_fee: PromiseOrValue<BigNumberish>,
Expand All @@ -838,8 +840,6 @@ export interface RelayerProxy extends BaseContract {

lastProposeAggregateRootAt(overrides?: CallOverrides): Promise<BigNumber>;

nonce(overrides?: CallOverrides): Promise<BigNumber>;

owner(overrides?: CallOverrides): Promise<string>;

proposeAggregateRoot(
Expand Down Expand Up @@ -1019,6 +1019,8 @@ export interface RelayerProxy extends BaseContract {

delay(overrides?: CallOverrides): Promise<BigNumber>;

domain(overrides?: CallOverrides): Promise<BigNumber>;

execute(
_args: ExecuteArgsStruct,
_fee: PromiseOrValue<BigNumberish>,
Expand All @@ -1033,8 +1035,6 @@ export interface RelayerProxy extends BaseContract {

lastProposeAggregateRootAt(overrides?: CallOverrides): Promise<BigNumber>;

nonce(overrides?: CallOverrides): Promise<BigNumber>;

owner(overrides?: CallOverrides): Promise<BigNumber>;

proposeAggregateRoot(
Expand Down Expand Up @@ -1134,6 +1134,8 @@ export interface RelayerProxy extends BaseContract {

delay(overrides?: CallOverrides): Promise<PopulatedTransaction>;

domain(overrides?: CallOverrides): Promise<PopulatedTransaction>;

execute(
_args: ExecuteArgsStruct,
_fee: PromiseOrValue<BigNumberish>,
Expand All @@ -1150,8 +1152,6 @@ export interface RelayerProxy extends BaseContract {
overrides?: CallOverrides
): Promise<PopulatedTransaction>;

nonce(overrides?: CallOverrides): Promise<PopulatedTransaction>;

owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;

proposeAggregateRoot(
Expand Down
Loading

0 comments on commit 2e90894

Please sign in to comment.