gitignore typechain types (#176)

pull/180/head
Asa Oines 3 years ago committed by GitHub
parent 4c11db7e93
commit 92d941ee3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      .github/workflows/solidity.yml
  2. 6
      .github/workflows/typescript.yml
  3. 3
      solidity/abacus-core/.gitignore
  4. 2
      solidity/abacus-core/package.json
  5. 2
      solidity/abacus-core/test/cross-chain/governanceRouter.test.ts
  6. 2
      solidity/abacus-core/test/cross-chain/recoveryManager.test.ts
  7. 2
      solidity/abacus-core/test/cross-chain/simpleMessage.test.ts
  8. 2
      solidity/abacus-core/test/lib/core.ts
  9. 1
      solidity/abacus-core/test/lib/types.ts
  10. 123
      solidity/abacus-core/typechain/BadRecipient1.d.ts
  11. 123
      solidity/abacus-core/typechain/BadRecipient2.d.ts
  12. 123
      solidity/abacus-core/typechain/BadRecipient3.d.ts
  13. 123
      solidity/abacus-core/typechain/BadRecipient4.d.ts
  14. 123
      solidity/abacus-core/typechain/BadRecipient5.d.ts
  15. 123
      solidity/abacus-core/typechain/BadRecipient6.d.ts
  16. 118
      solidity/abacus-core/typechain/BadRecipientHandle.d.ts
  17. 326
      solidity/abacus-core/typechain/Common.d.ts
  18. 715
      solidity/abacus-core/typechain/GovernanceRouter.d.ts
  19. 124
      solidity/abacus-core/typechain/IMessageRecipient.d.ts
  20. 131
      solidity/abacus-core/typechain/IValidatorManager.d.ts
  21. 1024
      solidity/abacus-core/typechain/Inbox.d.ts
  22. 123
      solidity/abacus-core/typechain/MerkleTreeManager.d.ts
  23. 173
      solidity/abacus-core/typechain/MysteryMath.d.ts
  24. 186
      solidity/abacus-core/typechain/MysteryMathV1.d.ts
  25. 186
      solidity/abacus-core/typechain/MysteryMathV2.d.ts
  26. 570
      solidity/abacus-core/typechain/Outbox.d.ts
  27. 169
      solidity/abacus-core/typechain/Ownable.d.ts
  28. 169
      solidity/abacus-core/typechain/OwnableUpgradeable.d.ts
  29. 354
      solidity/abacus-core/typechain/TestCommon.d.ts
  30. 788
      solidity/abacus-core/typechain/TestGovernanceRouter.d.ts
  31. 1377
      solidity/abacus-core/typechain/TestInbox.d.ts
  32. 392
      solidity/abacus-core/typechain/TestMerkle.d.ts
  33. 252
      solidity/abacus-core/typechain/TestMessage.d.ts
  34. 643
      solidity/abacus-core/typechain/TestOutbox.d.ts
  35. 206
      solidity/abacus-core/typechain/TestRecipient.d.ts
  36. 95
      solidity/abacus-core/typechain/TypedMemView.d.ts
  37. 86
      solidity/abacus-core/typechain/UpgradeBeacon.d.ts
  38. 215
      solidity/abacus-core/typechain/UpgradeBeaconController.d.ts
  39. 78
      solidity/abacus-core/typechain/UpgradeBeaconProxy.d.ts
  40. 390
      solidity/abacus-core/typechain/ValidatorManager.d.ts
  41. 95
      solidity/abacus-core/typechain/Version0.d.ts
  42. 385
      solidity/abacus-core/typechain/XAppConnectionManager.d.ts
  43. 36
      solidity/abacus-core/typechain/commons.ts
  44. 70
      solidity/abacus-core/typechain/factories/BadRecipient1__factory.ts
  45. 70
      solidity/abacus-core/typechain/factories/BadRecipient2__factory.ts
  46. 70
      solidity/abacus-core/typechain/factories/BadRecipient3__factory.ts
  47. 70
      solidity/abacus-core/typechain/factories/BadRecipient4__factory.ts
  48. 70
      solidity/abacus-core/typechain/factories/BadRecipient5__factory.ts
  49. 70
      solidity/abacus-core/typechain/factories/BadRecipient6__factory.ts
  50. 68
      solidity/abacus-core/typechain/factories/BadRecipientHandle__factory.ts
  51. 193
      solidity/abacus-core/typechain/factories/Common__factory.ts
  52. 537
      solidity/abacus-core/typechain/factories/GovernanceRouter__factory.ts
  53. 49
      solidity/abacus-core/typechain/factories/IMessageRecipient__factory.ts
  54. 60
      solidity/abacus-core/typechain/factories/IValidatorManager__factory.ts
  55. 479
      solidity/abacus-core/typechain/factories/Inbox__factory.ts
  56. 89
      solidity/abacus-core/typechain/factories/MerkleTreeManager__factory.ts
  57. 128
      solidity/abacus-core/typechain/factories/MysteryMathV1__factory.ts
  58. 128
      solidity/abacus-core/typechain/factories/MysteryMathV2__factory.ts
  59. 86
      solidity/abacus-core/typechain/factories/MysteryMath__factory.ts
  60. 427
      solidity/abacus-core/typechain/factories/Outbox__factory.ts
  61. 78
      solidity/abacus-core/typechain/factories/OwnableUpgradeable__factory.ts
  62. 75
      solidity/abacus-core/typechain/factories/Ownable__factory.ts
  63. 253
      solidity/abacus-core/typechain/factories/TestCommon__factory.ts
  64. 578
      solidity/abacus-core/typechain/factories/TestGovernanceRouter__factory.ts
  65. 561
      solidity/abacus-core/typechain/factories/TestInbox__factory.ts
  66. 133
      solidity/abacus-core/typechain/factories/TestMerkle__factory.ts
  67. 199
      solidity/abacus-core/typechain/factories/TestMessage__factory.ts
  68. 467
      solidity/abacus-core/typechain/factories/TestOutbox__factory.ts
  69. 132
      solidity/abacus-core/typechain/factories/TestRecipient__factory.ts
  70. 60
      solidity/abacus-core/typechain/factories/TypedMemView__factory.ts
  71. 143
      solidity/abacus-core/typechain/factories/UpgradeBeaconController__factory.ts
  72. 93
      solidity/abacus-core/typechain/factories/UpgradeBeaconProxy__factory.ts
  73. 98
      solidity/abacus-core/typechain/factories/UpgradeBeacon__factory.ts
  74. 293
      solidity/abacus-core/typechain/factories/ValidatorManager__factory.ts
  75. 60
      solidity/abacus-core/typechain/factories/Version0__factory.ts
  76. 289
      solidity/abacus-core/typechain/factories/XAppConnectionManager__factory.ts
  77. 159
      solidity/abacus-core/typechain/hardhat.d.ts
  78. 70
      solidity/abacus-core/typechain/index.ts
  79. 3
      solidity/abacus-xapps/.gitignore
  80. 2
      solidity/abacus-xapps/package.json
  81. 2
      solidity/abacus-xapps/test/EthHelper.test.ts
  82. 2
      solidity/abacus-xapps/test/bridge.test.ts
  83. 847
      solidity/abacus-xapps/typechain/BridgeRouter.d.ts
  84. 771
      solidity/abacus-xapps/typechain/BridgeToken.d.ts
  85. 326
      solidity/abacus-xapps/typechain/Common.d.ts
  86. 375
      solidity/abacus-xapps/typechain/ERC20.d.ts
  87. 209
      solidity/abacus-xapps/typechain/ETHHelper.d.ts
  88. 570
      solidity/abacus-xapps/typechain/Home.d.ts
  89. 286
      solidity/abacus-xapps/typechain/IBridgeToken.d.ts
  90. 294
      solidity/abacus-xapps/typechain/IERC20.d.ts
  91. 124
      solidity/abacus-xapps/typechain/IMessageRecipient.d.ts
  92. 127
      solidity/abacus-xapps/typechain/IUpdaterManager.d.ts
  93. 131
      solidity/abacus-xapps/typechain/IValidatorManager.d.ts
  94. 141
      solidity/abacus-xapps/typechain/IWeth.d.ts
  95. 1024
      solidity/abacus-xapps/typechain/Inbox.d.ts
  96. 123
      solidity/abacus-xapps/typechain/MerkleTreeManager.d.ts
  97. 346
      solidity/abacus-xapps/typechain/MockCore.d.ts
  98. 793
      solidity/abacus-xapps/typechain/MockWeth.d.ts
  99. 570
      solidity/abacus-xapps/typechain/Outbox.d.ts
  100. 169
      solidity/abacus-xapps/typechain/Ownable.d.ts
  101. Some files were not shown because too many files have changed in this diff Show More

@ -48,7 +48,11 @@ jobs:
uses: ./.github/workflows/npm
with:
runneros: ${{ runner.os }}
- name: test
- name: core
run: |
npm --prefix ./solidity/abacus-core run build
npm --prefix ./solidity/abacus-core run test
- name: xapps
run: |
npm --prefix ./solidity/abacus-xapps run build
npm --prefix ./solidity/abacus-xapps run test

@ -31,11 +31,7 @@ jobs:
runneros: ${{ runner.os }}
- name: build
run: |
npm --prefix ./typescript/typechain run build
npm --prefix ./typescript/abacus-sdk run build
npm --prefix ./typescript/abacus-deploy run build
npm --prefix ./typescript/contract-metrics run build
run: npm run build
typescript-lint:
runs-on: ubuntu-latest
needs: [typescript-install]

@ -1,6 +1,7 @@
node_modules/
cache/
artifacts/
typechain/
coverage/
coverage.json
.env
.env

@ -30,7 +30,7 @@
"prettier": "prettier --write ./contracts ./libs ./test",
"force-compile": "hardhat compile --force && hardhat typechain",
"compile": "hardhat compile && hardhat typechain && npm run prettier && npm run copy-typechain",
"copy-typechain": "cp -r typechain/* ../../typescript/typechain/abacus-core/",
"copy-typechain": "mkdir -p ../../typescript/typechain/abacus-core/ && cp -r typechain/* ../../typescript/typechain/abacus-core/",
"build": "npm run compile",
"test": "hardhat test",
"coverage": "npm run compile && hardhat coverage",

@ -62,7 +62,7 @@ describe('GovernanceRouter', async () => {
});
beforeEach(async () => {
abacusDeployment = await abacus.deployment.fromDomains(domains, signer);
abacusDeployment = await AbacusDeployment.fromDomains(domains, signer);
governanceDeployment = await GovernanceDeployment.fromAbacusDeployment(
abacusDeployment,
signer,

@ -216,7 +216,7 @@ describe('RecoveryManager', async () => {
before(async () => {
[governor, recoveryManager, randomSigner] = await ethers.getSigners();
const validator = await Validator.fromSigner(randomSigner, localDomain);
abacusDeployment = await abacus.deployment.fromDomains(
abacusDeployment = await AbacusDeployment.fromDomains(
domains,
randomSigner,
);

@ -29,7 +29,7 @@ describe('SimpleCrossChainMessage', async () => {
before(async () => {
[randomSigner] = await ethers.getSigners();
validator = await Validator.fromSigner(randomSigner, localDomain);
abacusDeployment = await abacus.deployment.fromDomains(
abacusDeployment = await AbacusDeployment.fromDomains(
domains,
randomSigner,
);

@ -3,7 +3,6 @@ import * as ethers from 'ethers';
import * as types from './types';
import { getHexStringByteLength } from './utils';
import { AbacusDeployment } from './AbacusDeployment';
export class Validator {
localDomain: types.Domain;
@ -161,7 +160,6 @@ function formatCalls(callsData: types.CallData[]): string {
}
export const abacus: types.HardhatAbacusHelpers = {
deployment: AbacusDeployment,
formatMessage,
governance: {
formatTransferGovernor,

@ -4,7 +4,6 @@ import { BytesLike, ethers } from 'ethers';
/********* HRE *********/
export interface HardhatAbacusHelpers {
deployment: any;
formatMessage: Function;
governance: {
formatTransferGovernor: Function;

@ -1,123 +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 BadRecipient1Interface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
events: {};
}
export class BadRecipient1 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: BadRecipient1Interface;
functions: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;
};
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
callStatic: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,123 +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 BadRecipient2Interface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
events: {};
}
export class BadRecipient2 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: BadRecipient2Interface;
functions: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;
};
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
callStatic: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,123 +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 BadRecipient3Interface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
events: {};
}
export class BadRecipient3 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: BadRecipient3Interface;
functions: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;
};
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
callStatic: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,123 +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 BadRecipient4Interface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
events: {};
}
export class BadRecipient4 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: BadRecipient4Interface;
functions: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;
};
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
callStatic: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,123 +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 BadRecipient5Interface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
events: {};
}
export class BadRecipient5 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: BadRecipient5Interface;
functions: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;
};
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
callStatic: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,123 +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 BadRecipient6Interface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
events: {};
}
export class BadRecipient6 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: BadRecipient6Interface;
functions: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;
};
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
callStatic: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,118 +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 BadRecipientHandleInterface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
events: {};
}
export class BadRecipientHandle 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: BadRecipientHandleInterface;
functions: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;
};
handle(
arg0: BigNumberish,
arg1: BytesLike,
overrides?: CallOverrides
): Promise<void>;
callStatic: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,326 +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 CommonInterface extends ethers.utils.Interface {
functions: {
"checkpointedRoot()": FunctionFragment;
"checkpoints(bytes32)": FunctionFragment;
"latestCheckpoint()": FunctionFragment;
"localDomain()": FunctionFragment;
"owner()": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"setValidatorManager(address)": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
"validatorManager()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "checkpointedRoot",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "checkpoints",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "latestCheckpoint",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "localDomain",
values?: undefined
): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "setValidatorManager",
values: [string]
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
encodeFunctionData(
functionFragment: "validatorManager",
values?: undefined
): string;
decodeFunctionResult(
functionFragment: "checkpointedRoot",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "checkpoints",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "latestCheckpoint",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "localDomain",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setValidatorManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "validatorManager",
data: BytesLike
): Result;
events: {
"Checkpoint(bytes32,uint256)": EventFragment;
"NewValidatorManager(address)": EventFragment;
"OwnershipTransferred(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Checkpoint"): EventFragment;
getEvent(nameOrSignatureOrTopic: "NewValidatorManager"): EventFragment;
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export class Common 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: CommonInterface;
functions: {
checkpointedRoot(overrides?: CallOverrides): Promise<[string]>;
checkpoints(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<[BigNumber]>;
latestCheckpoint(
overrides?: CallOverrides
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>;
localDomain(overrides?: CallOverrides): Promise<[number]>;
owner(overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
validatorManager(overrides?: CallOverrides): Promise<[string]>;
};
checkpointedRoot(overrides?: CallOverrides): Promise<string>;
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
latestCheckpoint(
overrides?: CallOverrides
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>;
localDomain(overrides?: CallOverrides): Promise<number>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
validatorManager(overrides?: CallOverrides): Promise<string>;
callStatic: {
checkpointedRoot(overrides?: CallOverrides): Promise<string>;
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
latestCheckpoint(
overrides?: CallOverrides
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>;
localDomain(overrides?: CallOverrides): Promise<number>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
setValidatorManager(
_validatorManager: string,
overrides?: CallOverrides
): Promise<void>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
validatorManager(overrides?: CallOverrides): Promise<string>;
};
filters: {
Checkpoint(
root?: BytesLike | null,
index?: BigNumberish | null
): TypedEventFilter<
[string, BigNumber],
{ root: string; index: BigNumber }
>;
NewValidatorManager(
validatorManager?: null
): TypedEventFilter<[string], { validatorManager: string }>;
OwnershipTransferred(
previousOwner?: string | null,
newOwner?: string | null
): TypedEventFilter<
[string, string],
{ previousOwner: string; newOwner: string }
>;
};
estimateGas: {
checkpointedRoot(overrides?: CallOverrides): Promise<BigNumber>;
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
latestCheckpoint(overrides?: CallOverrides): Promise<BigNumber>;
localDomain(overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
validatorManager(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
checkpointedRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>;
checkpoints(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
latestCheckpoint(overrides?: CallOverrides): Promise<PopulatedTransaction>;
localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
validatorManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,715 +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 GovernanceRouterInterface extends ethers.utils.Interface {
functions: {
"VERSION()": FunctionFragment;
"callLocal(tuple[])": FunctionFragment;
"callRemote(uint32,tuple[])": FunctionFragment;
"domains(uint256)": FunctionFragment;
"exitRecovery()": FunctionFragment;
"governor()": FunctionFragment;
"governorDomain()": FunctionFragment;
"handle(uint32,bytes32,bytes)": FunctionFragment;
"inRecovery()": FunctionFragment;
"initialize(address,address)": FunctionFragment;
"initiateRecoveryTimelock()": FunctionFragment;
"localDomain()": FunctionFragment;
"recoveryActiveAt()": FunctionFragment;
"recoveryManager()": FunctionFragment;
"recoveryTimelock()": FunctionFragment;
"routers(uint32)": FunctionFragment;
"setRouter(uint32,bytes32)": FunctionFragment;
"setRouterLocal(uint32,bytes32)": FunctionFragment;
"setXAppConnectionManager(address)": FunctionFragment;
"transferGovernor(uint32,address)": FunctionFragment;
"transferRecoveryManager(address)": FunctionFragment;
"xAppConnectionManager()": FunctionFragment;
};
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
encodeFunctionData(
functionFragment: "callLocal",
values: [{ to: BytesLike; data: BytesLike }[]]
): string;
encodeFunctionData(
functionFragment: "callRemote",
values: [BigNumberish, { to: BytesLike; data: BytesLike }[]]
): string;
encodeFunctionData(
functionFragment: "domains",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "exitRecovery",
values?: undefined
): string;
encodeFunctionData(functionFragment: "governor", values?: undefined): string;
encodeFunctionData(
functionFragment: "governorDomain",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
encodeFunctionData(
functionFragment: "inRecovery",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "initialize",
values: [string, string]
): string;
encodeFunctionData(
functionFragment: "initiateRecoveryTimelock",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "localDomain",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "recoveryActiveAt",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "recoveryManager",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "recoveryTimelock",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "routers",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setRouter",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "setRouterLocal",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "setXAppConnectionManager",
values: [string]
): string;
encodeFunctionData(
functionFragment: "transferGovernor",
values: [BigNumberish, string]
): string;
encodeFunctionData(
functionFragment: "transferRecoveryManager",
values: [string]
): string;
encodeFunctionData(
functionFragment: "xAppConnectionManager",
values?: undefined
): string;
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "callLocal", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "callRemote", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "domains", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "exitRecovery",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "governor", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "governorDomain",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "inRecovery", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "initiateRecoveryTimelock",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "localDomain",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "recoveryActiveAt",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "recoveryManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "recoveryTimelock",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "routers", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setRouter", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "setRouterLocal",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setXAppConnectionManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferGovernor",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferRecoveryManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "xAppConnectionManager",
data: BytesLike
): Result;
events: {
"ExitRecovery(address)": EventFragment;
"InitiateRecovery(address,uint256)": EventFragment;
"SetRouter(uint32,bytes32,bytes32)": EventFragment;
"TransferGovernor(uint32,uint32,address,address)": EventFragment;
"TransferRecoveryManager(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "ExitRecovery"): EventFragment;
getEvent(nameOrSignatureOrTopic: "InitiateRecovery"): EventFragment;
getEvent(nameOrSignatureOrTopic: "SetRouter"): EventFragment;
getEvent(nameOrSignatureOrTopic: "TransferGovernor"): EventFragment;
getEvent(nameOrSignatureOrTopic: "TransferRecoveryManager"): EventFragment;
}
export class GovernanceRouter 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: GovernanceRouterInterface;
functions: {
VERSION(overrides?: CallOverrides): Promise<[number]>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
domains(arg0: BigNumberish, overrides?: CallOverrides): Promise<[number]>;
exitRecovery(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
governor(overrides?: CallOverrides): Promise<[string]>;
governorDomain(overrides?: CallOverrides): Promise<[number]>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
inRecovery(overrides?: CallOverrides): Promise<[boolean]>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initiateRecoveryTimelock(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
localDomain(overrides?: CallOverrides): Promise<[number]>;
recoveryActiveAt(overrides?: CallOverrides): Promise<[BigNumber]>;
recoveryManager(overrides?: CallOverrides): Promise<[string]>;
recoveryTimelock(overrides?: CallOverrides): Promise<[BigNumber]>;
routers(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
xAppConnectionManager(overrides?: CallOverrides): Promise<[string]>;
};
VERSION(overrides?: CallOverrides): Promise<number>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
domains(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>;
exitRecovery(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
governor(overrides?: CallOverrides): Promise<string>;
governorDomain(overrides?: CallOverrides): Promise<number>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
inRecovery(overrides?: CallOverrides): Promise<boolean>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initiateRecoveryTimelock(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
localDomain(overrides?: CallOverrides): Promise<number>;
recoveryActiveAt(overrides?: CallOverrides): Promise<BigNumber>;
recoveryManager(overrides?: CallOverrides): Promise<string>;
recoveryTimelock(overrides?: CallOverrides): Promise<BigNumber>;
routers(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
xAppConnectionManager(overrides?: CallOverrides): Promise<string>;
callStatic: {
VERSION(overrides?: CallOverrides): Promise<number>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: CallOverrides
): Promise<void>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: CallOverrides
): Promise<void>;
domains(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>;
exitRecovery(overrides?: CallOverrides): Promise<void>;
governor(overrides?: CallOverrides): Promise<string>;
governorDomain(overrides?: CallOverrides): Promise<number>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: CallOverrides
): Promise<void>;
inRecovery(overrides?: CallOverrides): Promise<boolean>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: CallOverrides
): Promise<void>;
initiateRecoveryTimelock(overrides?: CallOverrides): Promise<void>;
localDomain(overrides?: CallOverrides): Promise<number>;
recoveryActiveAt(overrides?: CallOverrides): Promise<BigNumber>;
recoveryManager(overrides?: CallOverrides): Promise<string>;
recoveryTimelock(overrides?: CallOverrides): Promise<BigNumber>;
routers(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: CallOverrides
): Promise<void>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: CallOverrides
): Promise<void>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: CallOverrides
): Promise<void>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: CallOverrides
): Promise<void>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: CallOverrides
): Promise<void>;
xAppConnectionManager(overrides?: CallOverrides): Promise<string>;
};
filters: {
ExitRecovery(
recoveryManager?: null
): TypedEventFilter<[string], { recoveryManager: string }>;
InitiateRecovery(
recoveryManager?: string | null,
recoveryActiveAt?: null
): TypedEventFilter<
[string, BigNumber],
{ recoveryManager: string; recoveryActiveAt: BigNumber }
>;
SetRouter(
domain?: BigNumberish | null,
previousRouter?: null,
newRouter?: null
): TypedEventFilter<
[number, string, string],
{ domain: number; previousRouter: string; newRouter: string }
>;
TransferGovernor(
previousGovernorDomain?: null,
newGovernorDomain?: null,
previousGovernor?: string | null,
newGovernor?: string | null
): TypedEventFilter<
[number, number, string, string],
{
previousGovernorDomain: number;
newGovernorDomain: number;
previousGovernor: string;
newGovernor: string;
}
>;
TransferRecoveryManager(
previousRecoveryManager?: string | null,
newRecoveryManager?: string | null
): TypedEventFilter<
[string, string],
{ previousRecoveryManager: string; newRecoveryManager: string }
>;
};
estimateGas: {
VERSION(overrides?: CallOverrides): Promise<BigNumber>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
domains(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
exitRecovery(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
governor(overrides?: CallOverrides): Promise<BigNumber>;
governorDomain(overrides?: CallOverrides): Promise<BigNumber>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
inRecovery(overrides?: CallOverrides): Promise<BigNumber>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
initiateRecoveryTimelock(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
localDomain(overrides?: CallOverrides): Promise<BigNumber>;
recoveryActiveAt(overrides?: CallOverrides): Promise<BigNumber>;
recoveryManager(overrides?: CallOverrides): Promise<BigNumber>;
recoveryTimelock(overrides?: CallOverrides): Promise<BigNumber>;
routers(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
xAppConnectionManager(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
VERSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
domains(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
exitRecovery(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
governor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
governorDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
inRecovery(overrides?: CallOverrides): Promise<PopulatedTransaction>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
initiateRecoveryTimelock(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
recoveryActiveAt(overrides?: CallOverrides): Promise<PopulatedTransaction>;
recoveryManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
recoveryTimelock(overrides?: CallOverrides): Promise<PopulatedTransaction>;
routers(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
xAppConnectionManager(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,124 +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 IMessageRecipientInterface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
events: {};
}
export class IMessageRecipient 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: IMessageRecipientInterface;
functions: {
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -1,131 +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 IValidatorManagerInterface extends ethers.utils.Interface {
functions: {
"isValidatorSignature(uint32,bytes32,uint256,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "isValidatorSignature",
values: [BigNumberish, BytesLike, BigNumberish, BytesLike]
): string;
decodeFunctionResult(
functionFragment: "isValidatorSignature",
data: BytesLike
): Result;
events: {};
}
export class IValidatorManager 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: IValidatorManagerInterface;
functions: {
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<[boolean]>;
};
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<boolean>;
callStatic: {
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<boolean>;
};
filters: {};
estimateGas: {
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

File diff suppressed because it is too large Load Diff

@ -1,123 +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 MerkleTreeManagerInterface extends ethers.utils.Interface {
functions: {
"count()": FunctionFragment;
"root()": FunctionFragment;
"tree()": FunctionFragment;
};
encodeFunctionData(functionFragment: "count", values?: undefined): string;
encodeFunctionData(functionFragment: "root", values?: undefined): string;
encodeFunctionData(functionFragment: "tree", values?: undefined): string;
decodeFunctionResult(functionFragment: "count", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "root", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "tree", data: BytesLike): Result;
events: {};
}
export class MerkleTreeManager 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: MerkleTreeManagerInterface;
functions: {
count(overrides?: CallOverrides): Promise<[BigNumber]>;
root(overrides?: CallOverrides): Promise<[string]>;
tree(
overrides?: CallOverrides
): Promise<[BigNumber] & { count: BigNumber }>;
};
count(overrides?: CallOverrides): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<string>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
callStatic: {
count(overrides?: CallOverrides): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<string>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
};
filters: {};
estimateGas: {
count(overrides?: CallOverrides): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<BigNumber>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
count(overrides?: CallOverrides): Promise<PopulatedTransaction>;
root(overrides?: CallOverrides): Promise<PopulatedTransaction>;
tree(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,173 +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 MysteryMathInterface extends ethers.utils.Interface {
functions: {
"doMath(uint256,uint256)": FunctionFragment;
"getState()": FunctionFragment;
"setState(uint256)": FunctionFragment;
"stateVar()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "doMath",
values: [BigNumberish, BigNumberish]
): string;
encodeFunctionData(functionFragment: "getState", values?: undefined): string;
encodeFunctionData(
functionFragment: "setState",
values: [BigNumberish]
): string;
encodeFunctionData(functionFragment: "stateVar", values?: undefined): string;
decodeFunctionResult(functionFragment: "doMath", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "getState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "stateVar", data: BytesLike): Result;
events: {};
}
export class MysteryMath 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: MysteryMathInterface;
functions: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<[BigNumber] & { _result: BigNumber }>;
getState(overrides?: CallOverrides): Promise<[BigNumber]>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<[BigNumber]>;
};
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
callStatic: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: CallOverrides): Promise<void>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
};
filters: {};
estimateGas: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
getState(overrides?: CallOverrides): Promise<PopulatedTransaction>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
stateVar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,186 +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 MysteryMathV1Interface extends ethers.utils.Interface {
functions: {
"doMath(uint256,uint256)": FunctionFragment;
"getState()": FunctionFragment;
"setState(uint256)": FunctionFragment;
"stateVar()": FunctionFragment;
"version()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "doMath",
values: [BigNumberish, BigNumberish]
): string;
encodeFunctionData(functionFragment: "getState", values?: undefined): string;
encodeFunctionData(
functionFragment: "setState",
values: [BigNumberish]
): string;
encodeFunctionData(functionFragment: "stateVar", values?: undefined): string;
encodeFunctionData(functionFragment: "version", values?: undefined): string;
decodeFunctionResult(functionFragment: "doMath", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "getState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "stateVar", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
events: {};
}
export class MysteryMathV1 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: MysteryMathV1Interface;
functions: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<[BigNumber] & { _result: BigNumber }>;
getState(overrides?: CallOverrides): Promise<[BigNumber]>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<[BigNumber]>;
version(overrides?: CallOverrides): Promise<[number]>;
};
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<number>;
callStatic: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: CallOverrides): Promise<void>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<number>;
};
filters: {};
estimateGas: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
getState(overrides?: CallOverrides): Promise<PopulatedTransaction>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
stateVar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,186 +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 MysteryMathV2Interface extends ethers.utils.Interface {
functions: {
"doMath(uint256,uint256)": FunctionFragment;
"getState()": FunctionFragment;
"setState(uint256)": FunctionFragment;
"stateVar()": FunctionFragment;
"version()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "doMath",
values: [BigNumberish, BigNumberish]
): string;
encodeFunctionData(functionFragment: "getState", values?: undefined): string;
encodeFunctionData(
functionFragment: "setState",
values: [BigNumberish]
): string;
encodeFunctionData(functionFragment: "stateVar", values?: undefined): string;
encodeFunctionData(functionFragment: "version", values?: undefined): string;
decodeFunctionResult(functionFragment: "doMath", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "getState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setState", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "stateVar", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
events: {};
}
export class MysteryMathV2 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: MysteryMathV2Interface;
functions: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<[BigNumber] & { _result: BigNumber }>;
getState(overrides?: CallOverrides): Promise<[BigNumber]>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<[BigNumber]>;
version(overrides?: CallOverrides): Promise<[number]>;
};
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<number>;
callStatic: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
setState(_var: BigNumberish, overrides?: CallOverrides): Promise<void>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<number>;
};
filters: {};
estimateGas: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
getState(overrides?: CallOverrides): Promise<BigNumber>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
stateVar(overrides?: CallOverrides): Promise<BigNumber>;
version(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
doMath(
a: BigNumberish,
b: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
getState(overrides?: CallOverrides): Promise<PopulatedTransaction>;
setState(
_var: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
stateVar(overrides?: CallOverrides): Promise<PopulatedTransaction>;
version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,570 +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 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,169 +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 OwnableInterface extends ethers.utils.Interface {
functions: {
"owner()": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
};
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
events: {
"OwnershipTransferred(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export class Ownable 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: OwnableInterface;
functions: {
owner(overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
};
filters: {
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>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -1,169 +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 OwnableUpgradeableInterface extends ethers.utils.Interface {
functions: {
"owner()": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
};
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
events: {
"OwnershipTransferred(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export class OwnableUpgradeable 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: OwnableUpgradeableInterface;
functions: {
owner(overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
};
filters: {
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>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -1,354 +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 TestCommonInterface extends ethers.utils.Interface {
functions: {
"checkpointedRoot()": FunctionFragment;
"checkpoints(bytes32)": FunctionFragment;
"initialize(address)": FunctionFragment;
"latestCheckpoint()": FunctionFragment;
"localDomain()": FunctionFragment;
"owner()": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"setValidatorManager(address)": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
"validatorManager()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "checkpointedRoot",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "checkpoints",
values: [BytesLike]
): string;
encodeFunctionData(functionFragment: "initialize", values: [string]): string;
encodeFunctionData(
functionFragment: "latestCheckpoint",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "localDomain",
values?: undefined
): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "setValidatorManager",
values: [string]
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
encodeFunctionData(
functionFragment: "validatorManager",
values?: undefined
): string;
decodeFunctionResult(
functionFragment: "checkpointedRoot",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "checkpoints",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "latestCheckpoint",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "localDomain",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setValidatorManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "validatorManager",
data: BytesLike
): Result;
events: {
"Checkpoint(bytes32,uint256)": EventFragment;
"NewValidatorManager(address)": EventFragment;
"OwnershipTransferred(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Checkpoint"): EventFragment;
getEvent(nameOrSignatureOrTopic: "NewValidatorManager"): EventFragment;
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export class TestCommon 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: TestCommonInterface;
functions: {
checkpointedRoot(overrides?: CallOverrides): Promise<[string]>;
checkpoints(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<[BigNumber]>;
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]>;
owner(overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
validatorManager(overrides?: CallOverrides): Promise<[string]>;
};
checkpointedRoot(overrides?: CallOverrides): Promise<string>;
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
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>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
validatorManager(overrides?: CallOverrides): Promise<string>;
callStatic: {
checkpointedRoot(overrides?: CallOverrides): Promise<string>;
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
initialize(
_validatorManager: string,
overrides?: CallOverrides
): Promise<void>;
latestCheckpoint(
overrides?: CallOverrides
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>;
localDomain(overrides?: CallOverrides): Promise<number>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
setValidatorManager(
_validatorManager: string,
overrides?: CallOverrides
): Promise<void>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
validatorManager(overrides?: CallOverrides): Promise<string>;
};
filters: {
Checkpoint(
root?: BytesLike | null,
index?: BigNumberish | null
): TypedEventFilter<
[string, BigNumber],
{ root: string; index: BigNumber }
>;
NewValidatorManager(
validatorManager?: null
): TypedEventFilter<[string], { validatorManager: string }>;
OwnershipTransferred(
previousOwner?: string | null,
newOwner?: string | null
): TypedEventFilter<
[string, string],
{ previousOwner: string; newOwner: string }
>;
};
estimateGas: {
checkpointedRoot(overrides?: CallOverrides): Promise<BigNumber>;
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
initialize(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
latestCheckpoint(overrides?: CallOverrides): Promise<BigNumber>;
localDomain(overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
validatorManager(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
checkpointedRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>;
checkpoints(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
initialize(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
latestCheckpoint(overrides?: CallOverrides): Promise<PopulatedTransaction>;
localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
validatorManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,788 +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 TestGovernanceRouterInterface extends ethers.utils.Interface {
functions: {
"VERSION()": FunctionFragment;
"callLocal(tuple[])": FunctionFragment;
"callRemote(uint32,tuple[])": FunctionFragment;
"containsDomain(uint32)": FunctionFragment;
"domains(uint256)": FunctionFragment;
"exitRecovery()": FunctionFragment;
"governor()": FunctionFragment;
"governorDomain()": FunctionFragment;
"handle(uint32,bytes32,bytes)": FunctionFragment;
"inRecovery()": FunctionFragment;
"initialize(address,address)": FunctionFragment;
"initiateRecoveryTimelock()": FunctionFragment;
"localDomain()": FunctionFragment;
"recoveryActiveAt()": FunctionFragment;
"recoveryManager()": FunctionFragment;
"recoveryTimelock()": FunctionFragment;
"routers(uint32)": FunctionFragment;
"setRouter(uint32,bytes32)": FunctionFragment;
"setRouterLocal(uint32,bytes32)": FunctionFragment;
"setXAppConnectionManager(address)": FunctionFragment;
"testSetRouter(uint32,bytes32)": FunctionFragment;
"transferGovernor(uint32,address)": FunctionFragment;
"transferRecoveryManager(address)": FunctionFragment;
"xAppConnectionManager()": FunctionFragment;
};
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
encodeFunctionData(
functionFragment: "callLocal",
values: [{ to: BytesLike; data: BytesLike }[]]
): string;
encodeFunctionData(
functionFragment: "callRemote",
values: [BigNumberish, { to: BytesLike; data: BytesLike }[]]
): string;
encodeFunctionData(
functionFragment: "containsDomain",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "domains",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "exitRecovery",
values?: undefined
): string;
encodeFunctionData(functionFragment: "governor", values?: undefined): string;
encodeFunctionData(
functionFragment: "governorDomain",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
encodeFunctionData(
functionFragment: "inRecovery",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "initialize",
values: [string, string]
): string;
encodeFunctionData(
functionFragment: "initiateRecoveryTimelock",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "localDomain",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "recoveryActiveAt",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "recoveryManager",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "recoveryTimelock",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "routers",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "setRouter",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "setRouterLocal",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "setXAppConnectionManager",
values: [string]
): string;
encodeFunctionData(
functionFragment: "testSetRouter",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "transferGovernor",
values: [BigNumberish, string]
): string;
encodeFunctionData(
functionFragment: "transferRecoveryManager",
values: [string]
): string;
encodeFunctionData(
functionFragment: "xAppConnectionManager",
values?: undefined
): string;
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "callLocal", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "callRemote", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "containsDomain",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "domains", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "exitRecovery",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "governor", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "governorDomain",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "inRecovery", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "initiateRecoveryTimelock",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "localDomain",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "recoveryActiveAt",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "recoveryManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "recoveryTimelock",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "routers", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setRouter", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "setRouterLocal",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setXAppConnectionManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "testSetRouter",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferGovernor",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferRecoveryManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "xAppConnectionManager",
data: BytesLike
): Result;
events: {
"ExitRecovery(address)": EventFragment;
"InitiateRecovery(address,uint256)": EventFragment;
"SetRouter(uint32,bytes32,bytes32)": EventFragment;
"TransferGovernor(uint32,uint32,address,address)": EventFragment;
"TransferRecoveryManager(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "ExitRecovery"): EventFragment;
getEvent(nameOrSignatureOrTopic: "InitiateRecovery"): EventFragment;
getEvent(nameOrSignatureOrTopic: "SetRouter"): EventFragment;
getEvent(nameOrSignatureOrTopic: "TransferGovernor"): EventFragment;
getEvent(nameOrSignatureOrTopic: "TransferRecoveryManager"): EventFragment;
}
export class TestGovernanceRouter 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: TestGovernanceRouterInterface;
functions: {
VERSION(overrides?: CallOverrides): Promise<[number]>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
containsDomain(
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<[boolean]>;
domains(arg0: BigNumberish, overrides?: CallOverrides): Promise<[number]>;
exitRecovery(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
governor(overrides?: CallOverrides): Promise<[string]>;
governorDomain(overrides?: CallOverrides): Promise<[number]>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
inRecovery(overrides?: CallOverrides): Promise<[boolean]>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initiateRecoveryTimelock(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
localDomain(overrides?: CallOverrides): Promise<[number]>;
recoveryActiveAt(overrides?: CallOverrides): Promise<[BigNumber]>;
recoveryManager(overrides?: CallOverrides): Promise<[string]>;
recoveryTimelock(overrides?: CallOverrides): Promise<[BigNumber]>;
routers(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
testSetRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
xAppConnectionManager(overrides?: CallOverrides): Promise<[string]>;
};
VERSION(overrides?: CallOverrides): Promise<number>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
containsDomain(
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
domains(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>;
exitRecovery(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
governor(overrides?: CallOverrides): Promise<string>;
governorDomain(overrides?: CallOverrides): Promise<number>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
inRecovery(overrides?: CallOverrides): Promise<boolean>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initiateRecoveryTimelock(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
localDomain(overrides?: CallOverrides): Promise<number>;
recoveryActiveAt(overrides?: CallOverrides): Promise<BigNumber>;
recoveryManager(overrides?: CallOverrides): Promise<string>;
recoveryTimelock(overrides?: CallOverrides): Promise<BigNumber>;
routers(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
testSetRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
xAppConnectionManager(overrides?: CallOverrides): Promise<string>;
callStatic: {
VERSION(overrides?: CallOverrides): Promise<number>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: CallOverrides
): Promise<void>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: CallOverrides
): Promise<void>;
containsDomain(
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
domains(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>;
exitRecovery(overrides?: CallOverrides): Promise<void>;
governor(overrides?: CallOverrides): Promise<string>;
governorDomain(overrides?: CallOverrides): Promise<number>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: CallOverrides
): Promise<void>;
inRecovery(overrides?: CallOverrides): Promise<boolean>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: CallOverrides
): Promise<void>;
initiateRecoveryTimelock(overrides?: CallOverrides): Promise<void>;
localDomain(overrides?: CallOverrides): Promise<number>;
recoveryActiveAt(overrides?: CallOverrides): Promise<BigNumber>;
recoveryManager(overrides?: CallOverrides): Promise<string>;
recoveryTimelock(overrides?: CallOverrides): Promise<BigNumber>;
routers(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: CallOverrides
): Promise<void>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: CallOverrides
): Promise<void>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: CallOverrides
): Promise<void>;
testSetRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: CallOverrides
): Promise<void>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: CallOverrides
): Promise<void>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: CallOverrides
): Promise<void>;
xAppConnectionManager(overrides?: CallOverrides): Promise<string>;
};
filters: {
ExitRecovery(
recoveryManager?: null
): TypedEventFilter<[string], { recoveryManager: string }>;
InitiateRecovery(
recoveryManager?: string | null,
recoveryActiveAt?: null
): TypedEventFilter<
[string, BigNumber],
{ recoveryManager: string; recoveryActiveAt: BigNumber }
>;
SetRouter(
domain?: BigNumberish | null,
previousRouter?: null,
newRouter?: null
): TypedEventFilter<
[number, string, string],
{ domain: number; previousRouter: string; newRouter: string }
>;
TransferGovernor(
previousGovernorDomain?: null,
newGovernorDomain?: null,
previousGovernor?: string | null,
newGovernor?: string | null
): TypedEventFilter<
[number, number, string, string],
{
previousGovernorDomain: number;
newGovernorDomain: number;
previousGovernor: string;
newGovernor: string;
}
>;
TransferRecoveryManager(
previousRecoveryManager?: string | null,
newRecoveryManager?: string | null
): TypedEventFilter<
[string, string],
{ previousRecoveryManager: string; newRecoveryManager: string }
>;
};
estimateGas: {
VERSION(overrides?: CallOverrides): Promise<BigNumber>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
containsDomain(
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
domains(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
exitRecovery(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
governor(overrides?: CallOverrides): Promise<BigNumber>;
governorDomain(overrides?: CallOverrides): Promise<BigNumber>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
inRecovery(overrides?: CallOverrides): Promise<BigNumber>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
initiateRecoveryTimelock(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
localDomain(overrides?: CallOverrides): Promise<BigNumber>;
recoveryActiveAt(overrides?: CallOverrides): Promise<BigNumber>;
recoveryManager(overrides?: CallOverrides): Promise<BigNumber>;
recoveryTimelock(overrides?: CallOverrides): Promise<BigNumber>;
routers(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
testSetRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
xAppConnectionManager(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
VERSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
callLocal(
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
callRemote(
_destination: BigNumberish,
_calls: { to: BytesLike; data: BytesLike }[],
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
containsDomain(
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
domains(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
exitRecovery(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
governor(overrides?: CallOverrides): Promise<PopulatedTransaction>;
governorDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
inRecovery(overrides?: CallOverrides): Promise<PopulatedTransaction>;
initialize(
_xAppConnectionManager: string,
_recoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
initiateRecoveryTimelock(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
recoveryActiveAt(overrides?: CallOverrides): Promise<PopulatedTransaction>;
recoveryManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
recoveryTimelock(overrides?: CallOverrides): Promise<PopulatedTransaction>;
routers(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
setRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setRouterLocal(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
testSetRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferGovernor(
_newDomain: BigNumberish,
_newGovernor: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferRecoveryManager(
_newRecoveryManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
xAppConnectionManager(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

File diff suppressed because it is too large Load Diff

@ -1,392 +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 TestMerkleInterface extends ethers.utils.Interface {
functions: {
"branchRoot(bytes32,bytes32[32],uint256)": FunctionFragment;
"count()": FunctionFragment;
"insert(bytes32)": FunctionFragment;
"root()": FunctionFragment;
"tree()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "branchRoot",
values: [
BytesLike,
[
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike
],
BigNumberish
]
): string;
encodeFunctionData(functionFragment: "count", values?: undefined): string;
encodeFunctionData(functionFragment: "insert", values: [BytesLike]): string;
encodeFunctionData(functionFragment: "root", values?: undefined): string;
encodeFunctionData(functionFragment: "tree", values?: undefined): string;
decodeFunctionResult(functionFragment: "branchRoot", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "count", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "insert", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "root", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "tree", data: BytesLike): Result;
events: {};
}
export class TestMerkle 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: TestMerkleInterface;
functions: {
branchRoot(
_leaf: BytesLike,
_proof: [
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike
],
_index: BigNumberish,
overrides?: CallOverrides
): Promise<[string] & { _node: string }>;
count(overrides?: CallOverrides): Promise<[BigNumber]>;
insert(
_node: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
root(overrides?: CallOverrides): Promise<[string]>;
tree(
overrides?: CallOverrides
): Promise<[BigNumber] & { count: BigNumber }>;
};
branchRoot(
_leaf: BytesLike,
_proof: [
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike
],
_index: BigNumberish,
overrides?: CallOverrides
): Promise<string>;
count(overrides?: CallOverrides): Promise<BigNumber>;
insert(
_node: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
root(overrides?: CallOverrides): Promise<string>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
callStatic: {
branchRoot(
_leaf: BytesLike,
_proof: [
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike
],
_index: BigNumberish,
overrides?: CallOverrides
): Promise<string>;
count(overrides?: CallOverrides): Promise<BigNumber>;
insert(_node: BytesLike, overrides?: CallOverrides): Promise<void>;
root(overrides?: CallOverrides): Promise<string>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
};
filters: {};
estimateGas: {
branchRoot(
_leaf: BytesLike,
_proof: [
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike
],
_index: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
count(overrides?: CallOverrides): Promise<BigNumber>;
insert(
_node: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<BigNumber>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
branchRoot(
_leaf: BytesLike,
_proof: [
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike,
BytesLike
],
_index: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
count(overrides?: CallOverrides): Promise<PopulatedTransaction>;
insert(
_node: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
root(overrides?: CallOverrides): Promise<PopulatedTransaction>;
tree(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,252 +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 TestMessageInterface extends ethers.utils.Interface {
functions: {
"body(bytes)": FunctionFragment;
"destination(bytes)": FunctionFragment;
"leaf(bytes)": FunctionFragment;
"nonce(bytes)": FunctionFragment;
"origin(bytes)": FunctionFragment;
"recipient(bytes)": FunctionFragment;
"recipientAddress(bytes)": FunctionFragment;
"sender(bytes)": FunctionFragment;
};
encodeFunctionData(functionFragment: "body", values: [BytesLike]): string;
encodeFunctionData(
functionFragment: "destination",
values: [BytesLike]
): string;
encodeFunctionData(functionFragment: "leaf", values: [BytesLike]): string;
encodeFunctionData(functionFragment: "nonce", values: [BytesLike]): string;
encodeFunctionData(functionFragment: "origin", values: [BytesLike]): string;
encodeFunctionData(
functionFragment: "recipient",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "recipientAddress",
values: [BytesLike]
): string;
encodeFunctionData(functionFragment: "sender", values: [BytesLike]): string;
decodeFunctionResult(functionFragment: "body", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "destination",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "leaf", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "nonce", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "origin", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "recipient", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "recipientAddress",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "sender", data: BytesLike): Result;
events: {};
}
export class TestMessage 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: TestMessageInterface;
functions: {
body(_message: BytesLike, overrides?: CallOverrides): Promise<[string]>;
destination(
_message: BytesLike,
overrides?: CallOverrides
): Promise<[number]>;
leaf(_message: BytesLike, overrides?: CallOverrides): Promise<[string]>;
nonce(_message: BytesLike, overrides?: CallOverrides): Promise<[number]>;
origin(_message: BytesLike, overrides?: CallOverrides): Promise<[number]>;
recipient(
_message: BytesLike,
overrides?: CallOverrides
): Promise<[string]>;
recipientAddress(
_message: BytesLike,
overrides?: CallOverrides
): Promise<[string]>;
sender(_message: BytesLike, overrides?: CallOverrides): Promise<[string]>;
};
body(_message: BytesLike, overrides?: CallOverrides): Promise<string>;
destination(_message: BytesLike, overrides?: CallOverrides): Promise<number>;
leaf(_message: BytesLike, overrides?: CallOverrides): Promise<string>;
nonce(_message: BytesLike, overrides?: CallOverrides): Promise<number>;
origin(_message: BytesLike, overrides?: CallOverrides): Promise<number>;
recipient(_message: BytesLike, overrides?: CallOverrides): Promise<string>;
recipientAddress(
_message: BytesLike,
overrides?: CallOverrides
): Promise<string>;
sender(_message: BytesLike, overrides?: CallOverrides): Promise<string>;
callStatic: {
body(_message: BytesLike, overrides?: CallOverrides): Promise<string>;
destination(
_message: BytesLike,
overrides?: CallOverrides
): Promise<number>;
leaf(_message: BytesLike, overrides?: CallOverrides): Promise<string>;
nonce(_message: BytesLike, overrides?: CallOverrides): Promise<number>;
origin(_message: BytesLike, overrides?: CallOverrides): Promise<number>;
recipient(_message: BytesLike, overrides?: CallOverrides): Promise<string>;
recipientAddress(
_message: BytesLike,
overrides?: CallOverrides
): Promise<string>;
sender(_message: BytesLike, overrides?: CallOverrides): Promise<string>;
};
filters: {};
estimateGas: {
body(_message: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
destination(
_message: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
leaf(_message: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
nonce(_message: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
origin(_message: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
recipient(
_message: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
recipientAddress(
_message: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
sender(_message: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
body(
_message: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
destination(
_message: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
leaf(
_message: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
nonce(
_message: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
origin(
_message: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
recipient(
_message: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
recipientAddress(
_message: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
sender(
_message: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,643 +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 TestOutboxInterface extends ethers.utils.Interface {
functions: {
"MAX_MESSAGE_BODY_BYTES()": FunctionFragment;
"VERSION()": FunctionFragment;
"checkpoint()": FunctionFragment;
"checkpointedRoot()": FunctionFragment;
"checkpoints(bytes32)": FunctionFragment;
"count()": FunctionFragment;
"destinationAndNonce(uint32,uint32)": 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;
"testSetValidatorManager(address)": 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: "destinationAndNonce",
values: [BigNumberish, BigNumberish]
): 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: "testSetValidatorManager",
values: [string]
): 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: "destinationAndNonce",
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: "testSetValidatorManager",
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 TestOutbox 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: TestOutboxInterface;
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]>;
destinationAndNonce(
_destination: BigNumberish,
_nonce: BigNumberish,
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]>;
testSetValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
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>;
destinationAndNonce(
_destination: BigNumberish,
_nonce: BigNumberish,
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>;
testSetValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
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>;
destinationAndNonce(
_destination: BigNumberish,
_nonce: BigNumberish,
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>;
testSetValidatorManager(
_validatorManager: string,
overrides?: CallOverrides
): Promise<void>;
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>;
destinationAndNonce(
_destination: BigNumberish,
_nonce: BigNumberish,
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>;
testSetValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): 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>;
destinationAndNonce(
_destination: BigNumberish,
_nonce: BigNumberish,
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>;
testSetValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
tree(overrides?: CallOverrides): Promise<PopulatedTransaction>;
validatorManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,206 +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 TestRecipientInterface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32,bytes)": FunctionFragment;
"message()": FunctionFragment;
"processCall(bool)": FunctionFragment;
"processed()": FunctionFragment;
"receiveString(string)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
encodeFunctionData(functionFragment: "message", values?: undefined): string;
encodeFunctionData(
functionFragment: "processCall",
values: [boolean]
): string;
encodeFunctionData(functionFragment: "processed", values?: undefined): string;
encodeFunctionData(
functionFragment: "receiveString",
values: [string]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "message", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "processCall",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "processed", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "receiveString",
data: BytesLike
): Result;
events: {};
}
export class TestRecipient 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: TestRecipientInterface;
functions: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<[void]>;
message(overrides?: CallOverrides): Promise<[string]>;
processCall(
callProcessed: boolean,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
processed(overrides?: CallOverrides): Promise<[boolean]>;
receiveString(_str: string, overrides?: CallOverrides): Promise<[string]>;
};
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
message(overrides?: CallOverrides): Promise<string>;
processCall(
callProcessed: boolean,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
processed(overrides?: CallOverrides): Promise<boolean>;
receiveString(_str: string, overrides?: CallOverrides): Promise<string>;
callStatic: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<void>;
message(overrides?: CallOverrides): Promise<string>;
processCall(
callProcessed: boolean,
overrides?: CallOverrides
): Promise<void>;
processed(overrides?: CallOverrides): Promise<boolean>;
receiveString(_str: string, overrides?: CallOverrides): Promise<string>;
};
filters: {};
estimateGas: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
message(overrides?: CallOverrides): Promise<BigNumber>;
processCall(
callProcessed: boolean,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
processed(overrides?: CallOverrides): Promise<BigNumber>;
receiveString(_str: string, overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
handle(
arg0: BigNumberish,
arg1: BytesLike,
arg2: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
message(overrides?: CallOverrides): Promise<PopulatedTransaction>;
processCall(
callProcessed: boolean,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
processed(overrides?: CallOverrides): Promise<PopulatedTransaction>;
receiveString(
_str: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,95 +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 TypedMemViewInterface extends ethers.utils.Interface {
functions: {
"NULL()": FunctionFragment;
};
encodeFunctionData(functionFragment: "NULL", values?: undefined): string;
decodeFunctionResult(functionFragment: "NULL", data: BytesLike): Result;
events: {};
}
export class TypedMemView 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: TypedMemViewInterface;
functions: {
NULL(overrides?: CallOverrides): Promise<[string]>;
};
NULL(overrides?: CallOverrides): Promise<string>;
callStatic: {
NULL(overrides?: CallOverrides): Promise<string>;
};
filters: {};
estimateGas: {
NULL(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
NULL(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,86 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
BaseContract,
ContractTransaction,
} 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 UpgradeBeaconInterface extends ethers.utils.Interface {
functions: {};
events: {
"Upgrade(address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Upgrade"): EventFragment;
}
export class UpgradeBeacon 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: UpgradeBeaconInterface;
functions: {};
callStatic: {};
filters: {
Upgrade(
implementation?: string | null
): TypedEventFilter<[string], { implementation: string }>;
};
estimateGas: {};
populateTransaction: {};
}

@ -1,215 +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 UpgradeBeaconControllerInterface extends ethers.utils.Interface {
functions: {
"owner()": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
"upgrade(address,address)": FunctionFragment;
};
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
encodeFunctionData(
functionFragment: "upgrade",
values: [string, string]
): string;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "upgrade", data: BytesLike): Result;
events: {
"BeaconUpgraded(address,address)": EventFragment;
"OwnershipTransferred(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment;
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export class UpgradeBeaconController 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: UpgradeBeaconControllerInterface;
functions: {
owner(overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
upgrade(
_beacon: string,
_implementation: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
upgrade(
_beacon: string,
_implementation: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
upgrade(
_beacon: string,
_implementation: string,
overrides?: CallOverrides
): Promise<void>;
};
filters: {
BeaconUpgraded(
beacon?: string | null,
implementation?: null
): TypedEventFilter<
[string, string],
{ beacon: string; implementation: 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>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
upgrade(
_beacon: string,
_implementation: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
upgrade(
_beacon: string,
_implementation: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -1,78 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
BaseContract,
ContractTransaction,
} 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 UpgradeBeaconProxyInterface extends ethers.utils.Interface {
functions: {};
events: {};
}
export class UpgradeBeaconProxy 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: UpgradeBeaconProxyInterface;
functions: {};
callStatic: {};
filters: {};
estimateGas: {};
populateTransaction: {};
}

@ -1,390 +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 ValidatorManagerInterface extends ethers.utils.Interface {
functions: {
"domainHash(uint32)": FunctionFragment;
"improperCheckpoint(address,bytes32,uint256,bytes)": FunctionFragment;
"isValidatorSignature(uint32,bytes32,uint256,bytes)": FunctionFragment;
"owner()": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"setValidator(uint32,address)": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
"validators(uint32)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "domainHash",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "improperCheckpoint",
values: [string, BytesLike, BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "isValidatorSignature",
values: [BigNumberish, BytesLike, BigNumberish, BytesLike]
): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "setValidator",
values: [BigNumberish, string]
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
encodeFunctionData(
functionFragment: "validators",
values: [BigNumberish]
): string;
decodeFunctionResult(functionFragment: "domainHash", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "improperCheckpoint",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "isValidatorSignature",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setValidator",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "validators", data: BytesLike): Result;
events: {
"ImproperCheckpoint(address,uint32,address,bytes32,uint256,bytes)": EventFragment;
"NewValidator(uint32,address)": EventFragment;
"OwnershipTransferred(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "ImproperCheckpoint"): EventFragment;
getEvent(nameOrSignatureOrTopic: "NewValidator"): EventFragment;
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export class ValidatorManager 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: ValidatorManagerInterface;
functions: {
domainHash(
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<[string]>;
improperCheckpoint(
_outbox: string,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<[boolean]>;
owner(overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setValidator(
_domain: BigNumberish,
_validator: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
validators(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<[string]>;
};
domainHash(_domain: BigNumberish, overrides?: CallOverrides): Promise<string>;
improperCheckpoint(
_outbox: string,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<boolean>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setValidator(
_domain: BigNumberish,
_validator: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
validators(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
callStatic: {
domainHash(
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<string>;
improperCheckpoint(
_outbox: string,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<boolean>;
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<boolean>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
setValidator(
_domain: BigNumberish,
_validator: string,
overrides?: CallOverrides
): Promise<void>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
validators(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
};
filters: {
ImproperCheckpoint(
outbox?: string | null,
domain?: BigNumberish | null,
validator?: string | null,
root?: null,
index?: null,
signature?: null
): TypedEventFilter<
[string, number, string, string, BigNumber, string],
{
outbox: string;
domain: number;
validator: string;
root: string;
index: BigNumber;
signature: string;
}
>;
NewValidator(
domain?: BigNumberish | null,
validator?: string | null
): TypedEventFilter<
[number, string],
{ domain: number; validator: string }
>;
OwnershipTransferred(
previousOwner?: string | null,
newOwner?: string | null
): TypedEventFilter<
[string, string],
{ previousOwner: string; newOwner: string }
>;
};
estimateGas: {
domainHash(
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
improperCheckpoint(
_outbox: string,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setValidator(
_domain: BigNumberish,
_validator: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
validators(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
domainHash(
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
improperCheckpoint(
_outbox: string,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setValidator(
_domain: BigNumberish,
_validator: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
validators(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,95 +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 Version0Interface extends ethers.utils.Interface {
functions: {
"VERSION()": FunctionFragment;
};
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
events: {};
}
export class Version0 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: Version0Interface;
functions: {
VERSION(overrides?: CallOverrides): Promise<[number]>;
};
VERSION(overrides?: CallOverrides): Promise<number>;
callStatic: {
VERSION(overrides?: CallOverrides): Promise<number>;
};
filters: {};
estimateGas: {
VERSION(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
VERSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,385 +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 XAppConnectionManagerInterface extends ethers.utils.Interface {
functions: {
"domainToInbox(uint32)": FunctionFragment;
"enrollInbox(address,uint32)": FunctionFragment;
"inboxToDomain(address)": FunctionFragment;
"isInbox(address)": FunctionFragment;
"localDomain()": FunctionFragment;
"outbox()": FunctionFragment;
"owner()": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"setOutbox(address)": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
"unenrollInbox(address)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "domainToInbox",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "enrollInbox",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "inboxToDomain",
values: [string]
): string;
encodeFunctionData(functionFragment: "isInbox", values: [string]): string;
encodeFunctionData(
functionFragment: "localDomain",
values?: undefined
): string;
encodeFunctionData(functionFragment: "outbox", values?: undefined): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(functionFragment: "setOutbox", values: [string]): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
encodeFunctionData(
functionFragment: "unenrollInbox",
values: [string]
): string;
decodeFunctionResult(
functionFragment: "domainToInbox",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "enrollInbox",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "inboxToDomain",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "isInbox", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "localDomain",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "outbox", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "setOutbox", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "unenrollInbox",
data: BytesLike
): Result;
events: {
"InboxEnrolled(uint32,address)": EventFragment;
"InboxUnenrolled(uint32,address)": EventFragment;
"NewOutbox(address)": EventFragment;
"OwnershipTransferred(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "InboxEnrolled"): EventFragment;
getEvent(nameOrSignatureOrTopic: "InboxUnenrolled"): EventFragment;
getEvent(nameOrSignatureOrTopic: "NewOutbox"): EventFragment;
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export class XAppConnectionManager 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: XAppConnectionManagerInterface;
functions: {
domainToInbox(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<[string]>;
enrollInbox(
_inbox: string,
_domain: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
inboxToDomain(arg0: string, overrides?: CallOverrides): Promise<[number]>;
isInbox(_inbox: string, overrides?: CallOverrides): Promise<[boolean]>;
localDomain(overrides?: CallOverrides): Promise<[number]>;
outbox(overrides?: CallOverrides): Promise<[string]>;
owner(overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setOutbox(
_outbox: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
unenrollInbox(
_inbox: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
domainToInbox(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
enrollInbox(
_inbox: string,
_domain: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
inboxToDomain(arg0: string, overrides?: CallOverrides): Promise<number>;
isInbox(_inbox: string, overrides?: CallOverrides): Promise<boolean>;
localDomain(overrides?: CallOverrides): Promise<number>;
outbox(overrides?: CallOverrides): Promise<string>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setOutbox(
_outbox: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
unenrollInbox(
_inbox: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
domainToInbox(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<string>;
enrollInbox(
_inbox: string,
_domain: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
inboxToDomain(arg0: string, overrides?: CallOverrides): Promise<number>;
isInbox(_inbox: string, overrides?: CallOverrides): Promise<boolean>;
localDomain(overrides?: CallOverrides): Promise<number>;
outbox(overrides?: CallOverrides): Promise<string>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
setOutbox(_outbox: string, overrides?: CallOverrides): Promise<void>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
unenrollInbox(_inbox: string, overrides?: CallOverrides): Promise<void>;
};
filters: {
InboxEnrolled(
domain?: BigNumberish | null,
inbox?: null
): TypedEventFilter<[number, string], { domain: number; inbox: string }>;
InboxUnenrolled(
domain?: BigNumberish | null,
inbox?: null
): TypedEventFilter<[number, string], { domain: number; inbox: string }>;
NewOutbox(
outbox?: string | null
): TypedEventFilter<[string], { outbox: string }>;
OwnershipTransferred(
previousOwner?: string | null,
newOwner?: string | null
): TypedEventFilter<
[string, string],
{ previousOwner: string; newOwner: string }
>;
};
estimateGas: {
domainToInbox(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<BigNumber>;
enrollInbox(
_inbox: string,
_domain: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
inboxToDomain(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
isInbox(_inbox: string, overrides?: CallOverrides): Promise<BigNumber>;
localDomain(overrides?: CallOverrides): Promise<BigNumber>;
outbox(overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setOutbox(
_outbox: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
unenrollInbox(
_inbox: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
domainToInbox(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
enrollInbox(
_inbox: string,
_domain: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
inboxToDomain(
arg0: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
isInbox(
_inbox: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
outbox(overrides?: CallOverrides): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setOutbox(
_outbox: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
unenrollInbox(
_inbox: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -1,36 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { EventFilter, Event } from "ethers";
import { Result } from "@ethersproject/abi";
export interface TypedEventFilter<_EventArgsArray, _EventArgsObject>
extends EventFilter {}
export interface TypedEvent<EventArgs extends Result> extends Event {
args: EventArgs;
}
export type TypedListener<
EventArgsArray extends Array<any>,
EventArgsObject
> = (
...listenerArg: [
...EventArgsArray,
TypedEvent<EventArgsArray & EventArgsObject>
]
) => void;
export type MinEthersFactory<C, ARGS> = {
deploy(...a: ARGS[]): Promise<C>;
};
export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<
infer C,
any
>
? C
: never;
export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any>
? Parameters<F["deploy"]>
: never;

@ -1,70 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { BadRecipient1, BadRecipient1Interface } from "../BadRecipient1";
const _abi = [
{
inputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
{
internalType: "bytes",
name: "",
type: "bytes",
},
],
name: "handle",
outputs: [],
stateMutability: "pure",
type: "function",
},
];
const _bytecode =
"0x608060405234801561001057600080fd5b50610117806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806356d5d47514602d575b600080fd5b60df60048036036060811015604157600080fd5b63ffffffff82351691602081013591810190606081016040820135640100000000811115606d57600080fd5b820183602082011115607e57600080fd5b80359060200191846001830284011164010000000083111715609f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506028945050505050565b00fea26469706673582212203117ae1693eae5da24a6e5577157a0058bfb01a60a3d3d0a27a051482e0f787e64736f6c63430007060033";
export class BadRecipient1__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BadRecipient1> {
return super.deploy(overrides || {}) as Promise<BadRecipient1>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): BadRecipient1 {
return super.attach(address) as BadRecipient1;
}
connect(signer: Signer): BadRecipient1__factory {
return super.connect(signer) as BadRecipient1__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): BadRecipient1Interface {
return new utils.Interface(_abi) as BadRecipient1Interface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): BadRecipient1 {
return new Contract(address, _abi, signerOrProvider) as BadRecipient1;
}
}

@ -1,70 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { BadRecipient2, BadRecipient2Interface } from "../BadRecipient2";
const _abi = [
{
inputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
{
internalType: "bytes",
name: "",
type: "bytes",
},
],
name: "handle",
outputs: [],
stateMutability: "pure",
type: "function",
},
];
const _bytecode =
"0x608060405234801561001057600080fd5b50610117806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806356d5d47514602d575b600080fd5b60df60048036036060811015604157600080fd5b63ffffffff82351691602081013591810190606081016040820135640100000000811115606d57600080fd5b820183602082011115607e57600080fd5b80359060200191846001830284011164010000000083111715609f57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955060df945050505050565b00fea264697066735822122015f340edec8150a0a5acf888f811c882cb93e41d4c3439a3224ab159a251cd3a64736f6c63430007060033";
export class BadRecipient2__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BadRecipient2> {
return super.deploy(overrides || {}) as Promise<BadRecipient2>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): BadRecipient2 {
return super.attach(address) as BadRecipient2;
}
connect(signer: Signer): BadRecipient2__factory {
return super.connect(signer) as BadRecipient2__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): BadRecipient2Interface {
return new utils.Interface(_abi) as BadRecipient2Interface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): BadRecipient2 {
return new Contract(address, _abi, signerOrProvider) as BadRecipient2;
}
}

@ -1,70 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { BadRecipient3, BadRecipient3Interface } from "../BadRecipient3";
const _abi = [
{
inputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
{
internalType: "bytes",
name: "",
type: "bytes",
},
],
name: "handle",
outputs: [],
stateMutability: "pure",
type: "function",
},
];
const _bytecode =
"0x608060405234801561001057600080fd5b50610124806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806356d5d47514602d575b600080fd5b60df60048036036060811015604157600080fd5b63ffffffff82351691602081013591810190606081016040820135640100000000811115606d57600080fd5b820183602082011115607e57600080fd5b80359060200191846001830284011164010000000083111715609f57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955060e1945050505050565b005b62abcdef60005260206000fdfea2646970667358221220ebe6cd34d60c56fedb5458f11d4ed1a5a0954b199fd0cd646685a6dda46c497764736f6c63430007060033";
export class BadRecipient3__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BadRecipient3> {
return super.deploy(overrides || {}) as Promise<BadRecipient3>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): BadRecipient3 {
return super.attach(address) as BadRecipient3;
}
connect(signer: Signer): BadRecipient3__factory {
return super.connect(signer) as BadRecipient3__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): BadRecipient3Interface {
return new utils.Interface(_abi) as BadRecipient3Interface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): BadRecipient3 {
return new Contract(address, _abi, signerOrProvider) as BadRecipient3;
}
}

@ -1,70 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { BadRecipient4, BadRecipient4Interface } from "../BadRecipient4";
const _abi = [
{
inputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
{
internalType: "bytes",
name: "",
type: "bytes",
},
],
name: "handle",
outputs: [],
stateMutability: "pure",
type: "function",
},
];
const _bytecode =
"0x608060405234801561001057600080fd5b50610124806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806356d5d47514602d575b600080fd5b60df60048036036060811015604157600080fd5b63ffffffff82351691602081013591810190606081016040820135640100000000811115606d57600080fd5b820183602082011115607e57600080fd5b80359060200191846001830284011164010000000083111715609f57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955060e1945050505050565b005b62abcdef60005260206000f3fea2646970667358221220177e0626c8693836f2b6f508fb993cc339d3e4f2f9c9f13475d1af5f0bb34b4e64736f6c63430007060033";
export class BadRecipient4__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BadRecipient4> {
return super.deploy(overrides || {}) as Promise<BadRecipient4>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): BadRecipient4 {
return super.attach(address) as BadRecipient4;
}
connect(signer: Signer): BadRecipient4__factory {
return super.connect(signer) as BadRecipient4__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): BadRecipient4Interface {
return new utils.Interface(_abi) as BadRecipient4Interface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): BadRecipient4 {
return new Contract(address, _abi, signerOrProvider) as BadRecipient4;
}
}

@ -1,70 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { BadRecipient5, BadRecipient5Interface } from "../BadRecipient5";
const _abi = [
{
inputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
{
internalType: "bytes",
name: "",
type: "bytes",
},
],
name: "handle",
outputs: [],
stateMutability: "pure",
type: "function",
},
];
const _bytecode =
"0x608060405234801561001057600080fd5b50610187806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c806356d5d47514610030575b600080fd5b6100e86004803603606081101561004657600080fd5b63ffffffff8235169160208101359181019060608101604082013564010000000081111561007357600080fd5b82018360208201111561008557600080fd5b803590602001918460018302840111640100000000831117156100a757600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506100ea945050505050565b005b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f6e6f2063616e20646f0000000000000000000000000000000000000000000000604482015290519081900360640190fdfea264697066735822122005bff28742770cfa349a79ff0d13671853ca6c36d1162f1dca3e148ca67b604364736f6c63430007060033";
export class BadRecipient5__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BadRecipient5> {
return super.deploy(overrides || {}) as Promise<BadRecipient5>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): BadRecipient5 {
return super.attach(address) as BadRecipient5;
}
connect(signer: Signer): BadRecipient5__factory {
return super.connect(signer) as BadRecipient5__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): BadRecipient5Interface {
return new utils.Interface(_abi) as BadRecipient5Interface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): BadRecipient5 {
return new Contract(address, _abi, signerOrProvider) as BadRecipient5;
}
}

@ -1,70 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { BadRecipient6, BadRecipient6Interface } from "../BadRecipient6";
const _abi = [
{
inputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
{
internalType: "bytes",
name: "",
type: "bytes",
},
],
name: "handle",
outputs: [],
stateMutability: "pure",
type: "function",
},
];
const _bytecode =
"0x608060405234801561001057600080fd5b50610117806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806356d5d47514602d575b600080fd5b60df60048036036060811015604157600080fd5b63ffffffff82351691602081013591810190606081016040820135640100000000811115606d57600080fd5b820183602082011115607e57600080fd5b80359060200191846001830284011164010000000083111715609f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506028945050505050565b00fea2646970667358221220e4e58579306f6204f12ceaa33bf9d882837d909bf16a1d0feff175c36a8ec99064736f6c63430007060033";
export class BadRecipient6__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BadRecipient6> {
return super.deploy(overrides || {}) as Promise<BadRecipient6>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): BadRecipient6 {
return super.attach(address) as BadRecipient6;
}
connect(signer: Signer): BadRecipient6__factory {
return super.connect(signer) as BadRecipient6__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): BadRecipient6Interface {
return new utils.Interface(_abi) as BadRecipient6Interface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): BadRecipient6 {
return new Contract(address, _abi, signerOrProvider) as BadRecipient6;
}
}

@ -1,68 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type {
BadRecipientHandle,
BadRecipientHandleInterface,
} from "../BadRecipientHandle";
const _abi = [
{
inputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
name: "handle",
outputs: [],
stateMutability: "pure",
type: "function",
},
];
const _bytecode =
"0x6080604052348015600f57600080fd5b50608f8061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063c122ad8d14602d575b600080fd5b605360048036036040811015604157600080fd5b5063ffffffff81351690602001356055565b005b505056fea2646970667358221220f12eb0ee3b0ef6e5ecfb5840d141b289fb62ac8961ed2d136c581457e678076364736f6c63430007060033";
export class BadRecipientHandle__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BadRecipientHandle> {
return super.deploy(overrides || {}) as Promise<BadRecipientHandle>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): BadRecipientHandle {
return super.attach(address) as BadRecipientHandle;
}
connect(signer: Signer): BadRecipientHandle__factory {
return super.connect(signer) as BadRecipientHandle__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): BadRecipientHandleInterface {
return new utils.Interface(_abi) as BadRecipientHandleInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): BadRecipientHandle {
return new Contract(address, _abi, signerOrProvider) as BadRecipientHandle;
}
}

@ -1,193 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type { Common, CommonInterface } from "../Common";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "bytes32",
name: "root",
type: "bytes32",
},
{
indexed: true,
internalType: "uint256",
name: "index",
type: "uint256",
},
],
name: "Checkpoint",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: false,
internalType: "address",
name: "validatorManager",
type: "address",
},
],
name: "NewValidatorManager",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "previousOwner",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "OwnershipTransferred",
type: "event",
},
{
inputs: [],
name: "checkpointedRoot",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
name: "checkpoints",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "latestCheckpoint",
outputs: [
{
internalType: "bytes32",
name: "root",
type: "bytes32",
},
{
internalType: "uint256",
name: "index",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "localDomain",
outputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "owner",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "renounceOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_validatorManager",
type: "address",
},
],
name: "setValidatorManager",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "transferOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "validatorManager",
outputs: [
{
internalType: "contract IValidatorManager",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
];
export class Common__factory {
static readonly abi = _abi;
static createInterface(): CommonInterface {
return new utils.Interface(_abi) as CommonInterface;
}
static connect(address: string, signerOrProvider: Signer | Provider): Common {
return new Contract(address, _abi, signerOrProvider) as Common;
}
}

File diff suppressed because one or more lines are too long

@ -1,49 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type {
IMessageRecipient,
IMessageRecipientInterface,
} from "../IMessageRecipient";
const _abi = [
{
inputs: [
{
internalType: "uint32",
name: "_origin",
type: "uint32",
},
{
internalType: "bytes32",
name: "_sender",
type: "bytes32",
},
{
internalType: "bytes",
name: "_message",
type: "bytes",
},
],
name: "handle",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
export class IMessageRecipient__factory {
static readonly abi = _abi;
static createInterface(): IMessageRecipientInterface {
return new utils.Interface(_abi) as IMessageRecipientInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): IMessageRecipient {
return new Contract(address, _abi, signerOrProvider) as IMessageRecipient;
}
}

@ -1,60 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type {
IValidatorManager,
IValidatorManagerInterface,
} from "../IValidatorManager";
const _abi = [
{
inputs: [
{
internalType: "uint32",
name: "_domain",
type: "uint32",
},
{
internalType: "bytes32",
name: "_root",
type: "bytes32",
},
{
internalType: "uint256",
name: "_index",
type: "uint256",
},
{
internalType: "bytes",
name: "_signature",
type: "bytes",
},
],
name: "isValidatorSignature",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
];
export class IValidatorManager__factory {
static readonly abi = _abi;
static createInterface(): IValidatorManagerInterface {
return new utils.Interface(_abi) as IValidatorManagerInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): IValidatorManager {
return new Contract(address, _abi, signerOrProvider) as IValidatorManager;
}
}

File diff suppressed because one or more lines are too long

@ -1,89 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type {
MerkleTreeManager,
MerkleTreeManagerInterface,
} from "../MerkleTreeManager";
const _abi = [
{
inputs: [],
name: "count",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "root",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "tree",
outputs: [
{
internalType: "uint256",
name: "count",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
];
const _bytecode =
"0x608060405234801561001057600080fd5b5061067a806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806306661abd14610046578063ebf0c71714610060578063fd54b22814610068575b600080fd5b61004e610070565b60408051918252519081900360200190f35b61004e610076565b61004e610087565b60205490565b6000610082600061008d565b905090565b60205481565b60006100a08261009b6100a6565b610567565b92915050565b6100ae610625565b600081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb560208201527fb4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d3060408201527f21ddb9a356815c3fac1026b6dec5df3124afbadb485c9ba5a3e3398a04b7ba8560608201527fe58769b32a1beaf1ea27375a44095a0d1fb664ce2dd358e7fcbfb78c26a1934460808201527f0eb01ebfc9ed27500cd4dfc979272d1f0913cc9f66540d7e8005811109e1cf2d60a08201527f887c22bd8750d34016ac3c66b5ff102dacdd73f6b014e710b51e8022af9a196860c08201527fffd70157e48063fc33c97a050f7f640233bf646cc98d9524c6b92bcf3ab56f8360e08201527f9867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756af6101008201527fcefad4e508c098b9a7e1d8feb19955fb02ba9675585078710969d3440f5054e06101208201527ff9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a56101408201527ff8b13a49e282f609c317a833fb8d976d11517c571d1221a265d25af778ecf8926101608201527f3490c6ceeb450aecdc82e28293031d10c7d73bf85e57bf041a97360aa2c5d99c6101808201527fc1df82d9c4b87413eae2ef048f94b4d3554cea73d92b0f7af96e0271c691e2bb6101a08201527f5c67add7c6caf302256adedf7ab114da0acfe870d449a3a489f781d659e8becc6101c08201527fda7bce9f4e8618b6bd2f4132ce798cdc7a60e7e1460a7299e3c6342a579626d26101e08201527f2733e50f526ec2fa19a22b31e8ed50f23cd1fdf94c9154ed3a7609a2f1ff981f6102008201527fe1d3b5c807b281e4683cc6d6315cf95b9ade8641defcb32372f1c126e398ef7a6102208201527f5a2dce0a8a7f68bb74560f8f71837c2c2ebbcbf7fffb42ae1896f13f7c7479a06102408201527fb46a28b6f55540f89444f63de0378e3d121be09e06cc9ded1c20e65876d36aa06102608201527fc65e9645644786b620e2dd2ad648ddfcbf4a7e5b1a3a4ecfe7f64667a3f0b7e26102808201527ff4418588ed35a2458cffeb39b93d26f18d2ab13bdce6aee58e7b99359ec2dfd96102a08201527f5a9c16dc00d6ef18b7933a6f8dc65ccb55667138776f7dea101070dc8796e3776102c08201527f4df84f40ae0c8229d0d6069e5c8f39a7c299677a09d367fc7b05e3bc380ee6526102e08201527fcdc72595f74c7b1043d0e1ffbab734648c838dfb0527d971b602bc216c9619ef6103008201527f0abf5ac974a1ed57f4050aa510dd9c74f508277b39d7973bb2dfccc5eeb0618d6103208201527fb8cd74046ff337f0a7bf2c8e03e10f642c1886798d71806ab1e888d9e5ee87d06103408201527f838c5655cb21c6cb83313b5a631175dff4963772cce9108188b34ac87c81c41e6103608201527f662ee4dd2dd7b2bc707961b1e646c4047669dcb6584f0d8d770daf5d7e7deb2e6103808201527f388ab20e2573d171a88108e79d820e98f26c0b84aa8b2f4aa4968dbb818ea3226103a08201527f93237c50ba75ee485f4c22adf2f741400bdf8d6a9cc7df7ecae576221665d7356103c08201527f8448818bb4ae4562849e949e17ac16e0be16688e156b5cf15e098c627c0056a96103e082015290565b6020820154600090815b602081101561061d57600182821c16600086836020811061058e57fe5b0154905081600114156105d15780856040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209450610613565b848684602081106105de57fe5b602002015160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012094505b5050600101610571565b505092915050565b604051806104000160405280602090602082028036833750919291505056fea26469706673582212203a85471519851d2f70affe5fe6cefaad02a6b1f4b075bb70f894a0282509d1ad64736f6c63430007060033";
export class MerkleTreeManager__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<MerkleTreeManager> {
return super.deploy(overrides || {}) as Promise<MerkleTreeManager>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): MerkleTreeManager {
return super.attach(address) as MerkleTreeManager;
}
connect(signer: Signer): MerkleTreeManager__factory {
return super.connect(signer) as MerkleTreeManager__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): MerkleTreeManagerInterface {
return new utils.Interface(_abi) as MerkleTreeManagerInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): MerkleTreeManager {
return new Contract(address, _abi, signerOrProvider) as MerkleTreeManager;
}
}

@ -1,128 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { MysteryMathV1, MysteryMathV1Interface } from "../MysteryMathV1";
const _abi = [
{
inputs: [],
stateMutability: "nonpayable",
type: "constructor",
},
{
inputs: [
{
internalType: "uint256",
name: "a",
type: "uint256",
},
{
internalType: "uint256",
name: "b",
type: "uint256",
},
],
name: "doMath",
outputs: [
{
internalType: "uint256",
name: "_result",
type: "uint256",
},
],
stateMutability: "pure",
type: "function",
},
{
inputs: [],
name: "getState",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "_var",
type: "uint256",
},
],
name: "setState",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "stateVar",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "version",
outputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
],
stateMutability: "view",
type: "function",
},
];
const _bytecode =
"0x60a060405234801561001057600080fd5b50600160e01b60805260016101606100316000398060f952506101606000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063793816ec11610050578063793816ec146100a7578063a9e966b7146100af578063d6c4979c146100ce57610067565b80631865c57d1461006c57806354fd4d5014610086575b600080fd5b6100746100f1565b60408051918252519081900360200190f35b61008e6100f7565b6040805163ffffffff9092168252519081900360200190f35b61007461011b565b6100cc600480360360208110156100c557600080fd5b5035610121565b005b610074600480360360408110156100e457600080fd5b5080359060200135610126565b60005490565b7f000000000000000000000000000000000000000000000000000000000000000081565b60005481565b600055565b019056fea26469706673582212202cd3e240eb7513b7e99ad8aad10be88dc51153cca445d8263caebdc15674f10564736f6c63430007060033";
export class MysteryMathV1__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<MysteryMathV1> {
return super.deploy(overrides || {}) as Promise<MysteryMathV1>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): MysteryMathV1 {
return super.attach(address) as MysteryMathV1;
}
connect(signer: Signer): MysteryMathV1__factory {
return super.connect(signer) as MysteryMathV1__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): MysteryMathV1Interface {
return new utils.Interface(_abi) as MysteryMathV1Interface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): MysteryMathV1 {
return new Contract(address, _abi, signerOrProvider) as MysteryMathV1;
}
}

@ -1,128 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { MysteryMathV2, MysteryMathV2Interface } from "../MysteryMathV2";
const _abi = [
{
inputs: [],
stateMutability: "nonpayable",
type: "constructor",
},
{
inputs: [
{
internalType: "uint256",
name: "a",
type: "uint256",
},
{
internalType: "uint256",
name: "b",
type: "uint256",
},
],
name: "doMath",
outputs: [
{
internalType: "uint256",
name: "_result",
type: "uint256",
},
],
stateMutability: "pure",
type: "function",
},
{
inputs: [],
name: "getState",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "_var",
type: "uint256",
},
],
name: "setState",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "stateVar",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "version",
outputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
],
stateMutability: "view",
type: "function",
},
];
const _bytecode =
"0x60a060405234801561001057600080fd5b50600160e11b60805260026101606100316000398060f952506101606000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c8063793816ec11610050578063793816ec146100a7578063a9e966b7146100af578063d6c4979c146100ce57610067565b80631865c57d1461006c57806354fd4d5014610086575b600080fd5b6100746100f1565b60408051918252519081900360200190f35b61008e6100f7565b6040805163ffffffff9092168252519081900360200190f35b61007461011b565b6100cc600480360360208110156100c557600080fd5b5035610121565b005b610074600480360360408110156100e457600080fd5b5080359060200135610126565b60005490565b7f000000000000000000000000000000000000000000000000000000000000000081565b60005481565b600055565b029056fea264697066735822122034f6d0a8100e82e9f9e2453439dbf2c723da18fb2f703bfcfb8f313bc5d5b35164736f6c63430007060033";
export class MysteryMathV2__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<MysteryMathV2> {
return super.deploy(overrides || {}) as Promise<MysteryMathV2>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): MysteryMathV2 {
return super.attach(address) as MysteryMathV2;
}
connect(signer: Signer): MysteryMathV2__factory {
return super.connect(signer) as MysteryMathV2__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): MysteryMathV2Interface {
return new utils.Interface(_abi) as MysteryMathV2Interface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): MysteryMathV2 {
return new Contract(address, _abi, signerOrProvider) as MysteryMathV2;
}
}

@ -1,86 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type { MysteryMath, MysteryMathInterface } from "../MysteryMath";
const _abi = [
{
inputs: [
{
internalType: "uint256",
name: "a",
type: "uint256",
},
{
internalType: "uint256",
name: "b",
type: "uint256",
},
],
name: "doMath",
outputs: [
{
internalType: "uint256",
name: "_result",
type: "uint256",
},
],
stateMutability: "pure",
type: "function",
},
{
inputs: [],
name: "getState",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "uint256",
name: "_var",
type: "uint256",
},
],
name: "setState",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "stateVar",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
];
export class MysteryMath__factory {
static readonly abi = _abi;
static createInterface(): MysteryMathInterface {
return new utils.Interface(_abi) as MysteryMathInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): MysteryMath {
return new Contract(address, _abi, signerOrProvider) as MysteryMath;
}
}

File diff suppressed because one or more lines are too long

@ -1,78 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type {
OwnableUpgradeable,
OwnableUpgradeableInterface,
} from "../OwnableUpgradeable";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "previousOwner",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "OwnershipTransferred",
type: "event",
},
{
inputs: [],
name: "owner",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "renounceOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "transferOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
export class OwnableUpgradeable__factory {
static readonly abi = _abi;
static createInterface(): OwnableUpgradeableInterface {
return new utils.Interface(_abi) as OwnableUpgradeableInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): OwnableUpgradeable {
return new Contract(address, _abi, signerOrProvider) as OwnableUpgradeable;
}
}

@ -1,75 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Contract, Signer, utils } from "ethers";
import { Provider } from "@ethersproject/providers";
import type { Ownable, OwnableInterface } from "../Ownable";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "previousOwner",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "OwnershipTransferred",
type: "event",
},
{
inputs: [],
name: "owner",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "renounceOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "transferOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
export class Ownable__factory {
static readonly abi = _abi;
static createInterface(): OwnableInterface {
return new utils.Interface(_abi) as OwnableInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): Ownable {
return new Contract(address, _abi, signerOrProvider) as Ownable;
}
}

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,133 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { TestMerkle, TestMerkleInterface } from "../TestMerkle";
const _abi = [
{
inputs: [],
stateMutability: "nonpayable",
type: "constructor",
},
{
inputs: [
{
internalType: "bytes32",
name: "_leaf",
type: "bytes32",
},
{
internalType: "bytes32[32]",
name: "_proof",
type: "bytes32[32]",
},
{
internalType: "uint256",
name: "_index",
type: "uint256",
},
],
name: "branchRoot",
outputs: [
{
internalType: "bytes32",
name: "_node",
type: "bytes32",
},
],
stateMutability: "pure",
type: "function",
},
{
inputs: [],
name: "count",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "bytes32",
name: "_node",
type: "bytes32",
},
],
name: "insert",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "root",
outputs: [
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "tree",
outputs: [
{
internalType: "uint256",
name: "count",
type: "uint256",
},
],
stateMutability: "view",
type: "function",
},
];
const _bytecode =
"0x608060405234801561001057600080fd5b506108ec806100206000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c806377d63d1d1161005057806377d63d1d146100a5578063ebf0c717146100cf578063fd54b228146100d757610067565b806306661abd1461006c5780632d287e4314610086575b600080fd5b6100746100df565b60408051918252519081900360200190f35b6100a36004803603602081101561009c57600080fd5b50356100e5565b005b61007460048036036104408110156100bc57600080fd5b50803590602081019061042001356100f3565b610074610131565b610074610142565b60205490565b6100f0600082610148565b50565b60006101298484602080602002604051908101604052809291908260208002808284376000920191909152508691506102549050565b949350505050565b600061013d60006102ff565b905090565b60205481565b602082015463ffffffff116101be57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6d65726b6c6520747265652066756c6c00000000000000000000000000000000604482015290519081900360640190fd5b6020820180546001019081905560005b602081101561024d5781600116600114156101fa57828482602081106101f057fe5b0155506102509050565b83816020811061020657fe5b01548360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092506002828161024257fe5b0491506001016101ce565b50fe5b5050565b8260005b60208110156102f757600183821c16600085836020811061027557fe5b6020020151905081600114156102bb57808460405160200180838152602001828152602001925050506040516020818303038152906040528051906020012093506102ed565b838160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012093505b5050600101610258565b509392505050565b60006103128261030d610318565b6107d9565b92915050565b610320610897565b600081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb560208201527fb4c11951957c6f8f642c4af61cd6b24640fec6dc7fc607ee8206a99e92410d3060408201527f21ddb9a356815c3fac1026b6dec5df3124afbadb485c9ba5a3e3398a04b7ba8560608201527fe58769b32a1beaf1ea27375a44095a0d1fb664ce2dd358e7fcbfb78c26a1934460808201527f0eb01ebfc9ed27500cd4dfc979272d1f0913cc9f66540d7e8005811109e1cf2d60a08201527f887c22bd8750d34016ac3c66b5ff102dacdd73f6b014e710b51e8022af9a196860c08201527fffd70157e48063fc33c97a050f7f640233bf646cc98d9524c6b92bcf3ab56f8360e08201527f9867cc5f7f196b93bae1e27e6320742445d290f2263827498b54fec539f756af6101008201527fcefad4e508c098b9a7e1d8feb19955fb02ba9675585078710969d3440f5054e06101208201527ff9dc3e7fe016e050eff260334f18a5d4fe391d82092319f5964f2e2eb7c1c3a56101408201527ff8b13a49e282f609c317a833fb8d976d11517c571d1221a265d25af778ecf8926101608201527f3490c6ceeb450aecdc82e28293031d10c7d73bf85e57bf041a97360aa2c5d99c6101808201527fc1df82d9c4b87413eae2ef048f94b4d3554cea73d92b0f7af96e0271c691e2bb6101a08201527f5c67add7c6caf302256adedf7ab114da0acfe870d449a3a489f781d659e8becc6101c08201527fda7bce9f4e8618b6bd2f4132ce798cdc7a60e7e1460a7299e3c6342a579626d26101e08201527f2733e50f526ec2fa19a22b31e8ed50f23cd1fdf94c9154ed3a7609a2f1ff981f6102008201527fe1d3b5c807b281e4683cc6d6315cf95b9ade8641defcb32372f1c126e398ef7a6102208201527f5a2dce0a8a7f68bb74560f8f71837c2c2ebbcbf7fffb42ae1896f13f7c7479a06102408201527fb46a28b6f55540f89444f63de0378e3d121be09e06cc9ded1c20e65876d36aa06102608201527fc65e9645644786b620e2dd2ad648ddfcbf4a7e5b1a3a4ecfe7f64667a3f0b7e26102808201527ff4418588ed35a2458cffeb39b93d26f18d2ab13bdce6aee58e7b99359ec2dfd96102a08201527f5a9c16dc00d6ef18b7933a6f8dc65ccb55667138776f7dea101070dc8796e3776102c08201527f4df84f40ae0c8229d0d6069e5c8f39a7c299677a09d367fc7b05e3bc380ee6526102e08201527fcdc72595f74c7b1043d0e1ffbab734648c838dfb0527d971b602bc216c9619ef6103008201527f0abf5ac974a1ed57f4050aa510dd9c74f508277b39d7973bb2dfccc5eeb0618d6103208201527fb8cd74046ff337f0a7bf2c8e03e10f642c1886798d71806ab1e888d9e5ee87d06103408201527f838c5655cb21c6cb83313b5a631175dff4963772cce9108188b34ac87c81c41e6103608201527f662ee4dd2dd7b2bc707961b1e646c4047669dcb6584f0d8d770daf5d7e7deb2e6103808201527f388ab20e2573d171a88108e79d820e98f26c0b84aa8b2f4aa4968dbb818ea3226103a08201527f93237c50ba75ee485f4c22adf2f741400bdf8d6a9cc7df7ecae576221665d7356103c08201527f8448818bb4ae4562849e949e17ac16e0be16688e156b5cf15e098c627c0056a96103e082015290565b6020820154600090815b602081101561088f57600182821c16600086836020811061080057fe5b0154905081600114156108435780856040516020018083815260200182815260200192505050604051602081830303815290604052805190602001209450610885565b8486846020811061085057fe5b602002015160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012094505b50506001016107e3565b505092915050565b604051806104000160405280602090602082028036833750919291505056fea2646970667358221220fa2e7de552199308ae93bb99d5bbbcaf4a3beed6157b4da5ffbf4d2bc292f34a64736f6c63430007060033";
export class TestMerkle__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<TestMerkle> {
return super.deploy(overrides || {}) as Promise<TestMerkle>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): TestMerkle {
return super.attach(address) as TestMerkle;
}
connect(signer: Signer): TestMerkle__factory {
return super.connect(signer) as TestMerkle__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): TestMerkleInterface {
return new utils.Interface(_abi) as TestMerkleInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): TestMerkle {
return new Contract(address, _abi, signerOrProvider) as TestMerkle;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1,132 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { TestRecipient, TestRecipientInterface } from "../TestRecipient";
const _abi = [
{
stateMutability: "nonpayable",
type: "fallback",
},
{
inputs: [
{
internalType: "uint32",
name: "",
type: "uint32",
},
{
internalType: "bytes32",
name: "",
type: "bytes32",
},
{
internalType: "bytes",
name: "",
type: "bytes",
},
],
name: "handle",
outputs: [],
stateMutability: "pure",
type: "function",
},
{
inputs: [],
name: "message",
outputs: [
{
internalType: "string",
name: "",
type: "string",
},
],
stateMutability: "pure",
type: "function",
},
{
inputs: [
{
internalType: "bool",
name: "callProcessed",
type: "bool",
},
],
name: "processCall",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [],
name: "processed",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "string",
name: "_str",
type: "string",
},
],
name: "receiveString",
outputs: [
{
internalType: "string",
name: "",
type: "string",
},
],
stateMutability: "pure",
type: "function",
},
];
const _bytecode =
"0x60806040526000805460ff1916905534801561001a57600080fd5b5061039c8061002a6000396000f3fe608060405234801561001057600080fd5b50600436106100675760003560e01c806356d5d4751161005057806356d5d475146101cf578063c0a58a4d14610289578063e21f37ce146102a857610067565b80632ce5c284146100ce5780634e376c5d146100ea575b604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f46616c6c6261636b000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6100d66102b0565b604080519115158252519081900360200190f35b61015a6004803603602081101561010057600080fd5b81019060208101813564010000000081111561011b57600080fd5b82018360208201111561012d57600080fd5b8035906020019184600183028401116401000000008311171561014f57600080fd5b5090925090506102b9565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561019457818101518382015260200161017c565b50505050905090810190601f1680156101c15780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610287600480360360608110156101e557600080fd5b63ffffffff8235169160208101359181019060608101604082013564010000000081111561021257600080fd5b82018360208201111561022457600080fd5b8035906020019184600183028401116401000000008311171561024657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102f9945050505050565b005b6102876004803603602081101561029f57600080fd5b503515156102fe565b61015a61032f565b60005460ff1681565b606082828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929695505050505050565b505050565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60408051808201909152601081527f6d6573736167652072656365697665640000000000000000000000000000000060208201529056fea264697066735822122097826225a1efb1c42f91488ad92d10ca3dba981ac77c1c66b5771b0446d732ef64736f6c63430007060033";
export class TestRecipient__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<TestRecipient> {
return super.deploy(overrides || {}) as Promise<TestRecipient>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): TestRecipient {
return super.attach(address) as TestRecipient;
}
connect(signer: Signer): TestRecipient__factory {
return super.connect(signer) as TestRecipient__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): TestRecipientInterface {
return new utils.Interface(_abi) as TestRecipientInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): TestRecipient {
return new Contract(address, _abi, signerOrProvider) as TestRecipient;
}
}

@ -1,60 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { TypedMemView, TypedMemViewInterface } from "../TypedMemView";
const _abi = [
{
inputs: [],
name: "NULL",
outputs: [
{
internalType: "bytes29",
name: "",
type: "bytes29",
},
],
stateMutability: "view",
type: "function",
},
];
const _bytecode =
"0x60cd610025600b82828239805160001a60731461001857fe5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361060335760003560e01c8063f26be3fc146038575b600080fd5b603e6073565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000009092168252519081900360200190f35b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000008156fea2646970667358221220b07daa2cfa732a0712e14f333f7fb26a0736db4a4fce155c515a5dd1fc062de564736f6c63430007060033";
export class TypedMemView__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<TypedMemView> {
return super.deploy(overrides || {}) as Promise<TypedMemView>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): TypedMemView {
return super.attach(address) as TypedMemView;
}
connect(signer: Signer): TypedMemView__factory {
return super.connect(signer) as TypedMemView__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): TypedMemViewInterface {
return new utils.Interface(_abi) as TypedMemViewInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): TypedMemView {
return new Contract(address, _abi, signerOrProvider) as TypedMemView;
}
}

@ -1,143 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type {
UpgradeBeaconController,
UpgradeBeaconControllerInterface,
} from "../UpgradeBeaconController";
const _abi = [
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "beacon",
type: "address",
},
{
indexed: false,
internalType: "address",
name: "implementation",
type: "address",
},
],
name: "BeaconUpgraded",
type: "event",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "previousOwner",
type: "address",
},
{
indexed: true,
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "OwnershipTransferred",
type: "event",
},
{
inputs: [],
name: "owner",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "renounceOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "newOwner",
type: "address",
},
],
name: "transferOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "_beacon",
type: "address",
},
{
internalType: "address",
name: "_implementation",
type: "address",
},
],
name: "upgrade",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
];
const _bytecode =
"0x608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b6106b98061007d6000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063715018a6146100515780638da5cb5b1461005b57806399a88ec41461008c578063f2fde38b146100c7575b600080fd5b6100596100fa565b005b610063610211565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610059600480360360408110156100a257600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661022d565b610059600480360360208110156100dd57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166104b2565b610102610653565b73ffffffffffffffffffffffffffffffffffffffff16610120610211565b73ffffffffffffffffffffffffffffffffffffffff16146101a257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b610235610653565b73ffffffffffffffffffffffffffffffffffffffff16610253610211565b73ffffffffffffffffffffffffffffffffffffffff16146102d557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6102de82610657565b61034957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f626561636f6e2021636f6e747261637400000000000000000000000000000000604482015290519081900360640190fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051602001808273ffffffffffffffffffffffffffffffffffffffff1681526020019150506040516020818303038152906040526040518082805190602001908083835b602083106103e557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016103a8565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610447576040519150601f19603f3d011682016040523d82523d6000602084013e61044c565b606091505b505090508061045f573d6000803e3d6000fd5b6040805173ffffffffffffffffffffffffffffffffffffffff84811682529151918516917fc945ae30494f6ee00b9e4bf1fec5653ced7244b559666f44f9a88ea732e957b09181900360200190a2505050565b6104ba610653565b73ffffffffffffffffffffffffffffffffffffffff166104d8610211565b73ffffffffffffffffffffffffffffffffffffffff161461055a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166105c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061065e6026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3390565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373a264697066735822122037b6854cc29d6915711f7e0e3bd20ec11dc989d231d211f19f09c69f5386505e64736f6c63430007060033";
export class UpgradeBeaconController__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<UpgradeBeaconController> {
return super.deploy(overrides || {}) as Promise<UpgradeBeaconController>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): UpgradeBeaconController {
return super.attach(address) as UpgradeBeaconController;
}
connect(signer: Signer): UpgradeBeaconController__factory {
return super.connect(signer) as UpgradeBeaconController__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): UpgradeBeaconControllerInterface {
return new utils.Interface(_abi) as UpgradeBeaconControllerInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): UpgradeBeaconController {
return new Contract(
address,
_abi,
signerOrProvider
) as UpgradeBeaconController;
}
}

@ -1,93 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
Signer,
utils,
BytesLike,
Contract,
ContractFactory,
PayableOverrides,
} from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type {
UpgradeBeaconProxy,
UpgradeBeaconProxyInterface,
} from "../UpgradeBeaconProxy";
const _abi = [
{
inputs: [
{
internalType: "address",
name: "_upgradeBeacon",
type: "address",
},
{
internalType: "bytes",
name: "_initializationCalldata",
type: "bytes",
},
],
stateMutability: "payable",
type: "constructor",
},
{
stateMutability: "payable",
type: "fallback",
},
{
stateMutability: "payable",
type: "receive",
},
];
const _bytecode =
"0x60a060405260405161058b38038061058b8339818101604052604081101561002657600080fd5b81516020830180516040519294929383019291908464010000000082111561004d57600080fd5b90830190602082018581111561006257600080fd5b825164010000000081118282018810171561007c57600080fd5b82525081516020918201929091019080838360005b838110156100a9578181015183820152602001610091565b50505050905090810190601f1680156100d65780820380516001836020036101000a031916815260200191505b506040525050506100f0826101d060201b6100291760201c565b610134576040805162461bcd60e51b815260206004820152601060248201526f18995858dbdb880858dbdb9d1c9858dd60821b604482015290519081900360640190fd5b6001600160601b0319606083901b166080526000610151836101d6565b9050610166816101d060201b6100291760201c565b6101b7576040805162461bcd60e51b815260206004820152601f60248201527f626561636f6e20696d706c656d656e746174696f6e2021636f6e747261637400604482015290519081900360640190fd5b8151156101c8576101c881836102d6565b50505061038f565b3b151590565b604051600090819081906001600160a01b0385169082818181855afa9150503d8060008114610221576040519150601f19603f3d011682016040523d82523d6000602084013e610226565b606091505b50915091508181906102b65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561027b578181015183820152602001610263565b50505050905090810190601f1680156102a85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508080602001905160208110156102cc57600080fd5b5051949350505050565b6000826001600160a01b0316826040518082805190602001908083835b602083106103125780518252601f1990920191602091820191016102f3565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610372576040519150601f19603f3d011682016040523d82523d6000602084013e610377565b606091505b505090508061038a573d6000803e3d6000fd5b505050565b60805160601c6101e06103ab60003980603652506101e06000f3fe60806040523661001357610011610017565b005b6100115b61002761002261002f565b61005f565b565b3b151590565b600061005a7f0000000000000000000000000000000000000000000000000000000000000000610083565b905090565b3660008037600080366000845af43d6000803e80801561007e573d6000f35b3d6000fd5b6040516000908190819073ffffffffffffffffffffffffffffffffffffffff85169082818181855afa9150503d80600081146100db576040519150601f19603f3d011682016040523d82523d6000602084013e6100e0565b606091505b509150915081819061018a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561014f578181015183820152602001610137565b50505050905090810190601f16801561017c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508080602001905160208110156101a057600080fd5b505194935050505056fea264697066735822122045e2978eb512ee336ea17d3aebe82e86ec3eccf27a023a07f6c24bd7e9b53c8e64736f6c63430007060033";
export class UpgradeBeaconProxy__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
_upgradeBeacon: string,
_initializationCalldata: BytesLike,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<UpgradeBeaconProxy> {
return super.deploy(
_upgradeBeacon,
_initializationCalldata,
overrides || {}
) as Promise<UpgradeBeaconProxy>;
}
getDeployTransaction(
_upgradeBeacon: string,
_initializationCalldata: BytesLike,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(
_upgradeBeacon,
_initializationCalldata,
overrides || {}
);
}
attach(address: string): UpgradeBeaconProxy {
return super.attach(address) as UpgradeBeaconProxy;
}
connect(signer: Signer): UpgradeBeaconProxy__factory {
return super.connect(signer) as UpgradeBeaconProxy__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): UpgradeBeaconProxyInterface {
return new utils.Interface(_abi) as UpgradeBeaconProxyInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): UpgradeBeaconProxy {
return new Contract(address, _abi, signerOrProvider) as UpgradeBeaconProxy;
}
}

@ -1,98 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
Signer,
utils,
Contract,
ContractFactory,
PayableOverrides,
} from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { UpgradeBeacon, UpgradeBeaconInterface } from "../UpgradeBeacon";
const _abi = [
{
inputs: [
{
internalType: "address",
name: "_initialImplementation",
type: "address",
},
{
internalType: "address",
name: "_controller",
type: "address",
},
],
stateMutability: "payable",
type: "constructor",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "address",
name: "implementation",
type: "address",
},
],
name: "Upgrade",
type: "event",
},
{
stateMutability: "payable",
type: "fallback",
},
];
const _bytecode =
"0x60a060405260405161036d38038061036d8339818101604052604081101561002657600080fd5b5080516020909101516100388261004e565b60601b6001600160601b0319166080525061014e565b6000546001600160a01b038281169116141561009c576040805162461bcd60e51b8152602060048201526008602482015267217570677261646560c01b604482015290519081900360640190fd5b6100af8161014860201b6101c71760201c565b610100576040805162461bcd60e51b815260206004820152601860248201527f696d706c656d656e746174696f6e2021636f6e74726163740000000000000000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b038316908117825560405190917ff78721226efe9a1bb678189a16d1554928b9f2192e2cb93eeda83b79fa40007d91a250565b3b151590565b60805160601c61020361016a60003980601c52506102036000f3fe60806040523373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461004d5760005460005260206000f35b6000356100598161005c565b50005b60005473ffffffffffffffffffffffffffffffffffffffff828116911614156100e657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600860248201527f2175706772616465000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6100ef816101c7565b61015a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f696d706c656d656e746174696f6e2021636f6e74726163740000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917ff78721226efe9a1bb678189a16d1554928b9f2192e2cb93eeda83b79fa40007d91a250565b3b15159056fea2646970667358221220f8dead67a094ec1890f3d64fa226c417203cec9094811630e9e9287dc2881a1d64736f6c63430007060033";
export class UpgradeBeacon__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
_initialImplementation: string,
_controller: string,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<UpgradeBeacon> {
return super.deploy(
_initialImplementation,
_controller,
overrides || {}
) as Promise<UpgradeBeacon>;
}
getDeployTransaction(
_initialImplementation: string,
_controller: string,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(
_initialImplementation,
_controller,
overrides || {}
);
}
attach(address: string): UpgradeBeacon {
return super.attach(address) as UpgradeBeacon;
}
connect(signer: Signer): UpgradeBeacon__factory {
return super.connect(signer) as UpgradeBeacon__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): UpgradeBeaconInterface {
return new utils.Interface(_abi) as UpgradeBeaconInterface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): UpgradeBeacon {
return new Contract(address, _abi, signerOrProvider) as UpgradeBeacon;
}
}

File diff suppressed because one or more lines are too long

@ -1,60 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
import { Provider, TransactionRequest } from "@ethersproject/providers";
import type { Version0, Version0Interface } from "../Version0";
const _abi = [
{
inputs: [],
name: "VERSION",
outputs: [
{
internalType: "uint8",
name: "",
type: "uint8",
},
],
stateMutability: "view",
type: "function",
},
];
const _bytecode =
"0x6080604052348015600f57600080fd5b5060848061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063ffa1ad7414602d575b600080fd5b60336049565b6040805160ff9092168252519081900360200190f35b60008156fea2646970667358221220e241524a04a589fc0740f410cf7e79a1c2e9c6b3aed0530d40cd2999ecbe20d364736f6c63430007060033";
export class Version0__factory extends ContractFactory {
constructor(signer?: Signer) {
super(_abi, _bytecode, signer);
}
deploy(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<Version0> {
return super.deploy(overrides || {}) as Promise<Version0>;
}
getDeployTransaction(
overrides?: Overrides & { from?: string | Promise<string> }
): TransactionRequest {
return super.getDeployTransaction(overrides || {});
}
attach(address: string): Version0 {
return super.attach(address) as Version0;
}
connect(signer: Signer): Version0__factory {
return super.connect(signer) as Version0__factory;
}
static readonly bytecode = _bytecode;
static readonly abi = _abi;
static createInterface(): Version0Interface {
return new utils.Interface(_abi) as Version0Interface;
}
static connect(
address: string,
signerOrProvider: Signer | Provider
): Version0 {
return new Contract(address, _abi, signerOrProvider) as Version0;
}
}

File diff suppressed because one or more lines are too long

@ -1,159 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import { ethers } from "ethers";
import {
FactoryOptions,
HardhatEthersHelpers as HardhatEthersHelpersBase,
} from "@nomiclabs/hardhat-ethers/types";
import * as Contracts from ".";
declare module "hardhat/types/runtime" {
interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
getContractFactory(
name: "OwnableUpgradeable",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.OwnableUpgradeable__factory>;
getContractFactory(
name: "Ownable",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Ownable__factory>;
getContractFactory(
name: "TypedMemView",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TypedMemView__factory>;
getContractFactory(
name: "Common",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Common__factory>;
getContractFactory(
name: "GovernanceRouter",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.GovernanceRouter__factory>;
getContractFactory(
name: "Inbox",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Inbox__factory>;
getContractFactory(
name: "MerkleTreeManager",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.MerkleTreeManager__factory>;
getContractFactory(
name: "Outbox",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Outbox__factory>;
getContractFactory(
name: "BadRecipient1",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.BadRecipient1__factory>;
getContractFactory(
name: "BadRecipient2",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.BadRecipient2__factory>;
getContractFactory(
name: "BadRecipient3",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.BadRecipient3__factory>;
getContractFactory(
name: "BadRecipient4",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.BadRecipient4__factory>;
getContractFactory(
name: "BadRecipient5",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.BadRecipient5__factory>;
getContractFactory(
name: "BadRecipient6",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.BadRecipient6__factory>;
getContractFactory(
name: "BadRecipientHandle",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.BadRecipientHandle__factory>;
getContractFactory(
name: "MysteryMath",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.MysteryMath__factory>;
getContractFactory(
name: "MysteryMathV1",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.MysteryMathV1__factory>;
getContractFactory(
name: "MysteryMathV2",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.MysteryMathV2__factory>;
getContractFactory(
name: "TestCommon",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TestCommon__factory>;
getContractFactory(
name: "TestGovernanceRouter",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TestGovernanceRouter__factory>;
getContractFactory(
name: "TestInbox",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TestInbox__factory>;
getContractFactory(
name: "TestMerkle",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TestMerkle__factory>;
getContractFactory(
name: "TestMessage",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TestMessage__factory>;
getContractFactory(
name: "TestOutbox",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TestOutbox__factory>;
getContractFactory(
name: "TestRecipient",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.TestRecipient__factory>;
getContractFactory(
name: "UpgradeBeacon",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.UpgradeBeacon__factory>;
getContractFactory(
name: "UpgradeBeaconController",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.UpgradeBeaconController__factory>;
getContractFactory(
name: "UpgradeBeaconProxy",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.UpgradeBeaconProxy__factory>;
getContractFactory(
name: "ValidatorManager",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.ValidatorManager__factory>;
getContractFactory(
name: "Version0",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.Version0__factory>;
getContractFactory(
name: "XAppConnectionManager",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.XAppConnectionManager__factory>;
getContractFactory(
name: "IMessageRecipient",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IMessageRecipient__factory>;
getContractFactory(
name: "IValidatorManager",
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<Contracts.IValidatorManager__factory>;
// default types
getContractFactory(
name: string,
signerOrOptions?: ethers.Signer | FactoryOptions
): Promise<ethers.ContractFactory>;
getContractFactory(
abi: any[],
bytecode: ethers.utils.BytesLike,
signer?: ethers.Signer
): Promise<ethers.ContractFactory>;
}
}

@ -1,70 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
export type { OwnableUpgradeable } from "./OwnableUpgradeable";
export type { Ownable } from "./Ownable";
export type { TypedMemView } from "./TypedMemView";
export type { Common } from "./Common";
export type { GovernanceRouter } from "./GovernanceRouter";
export type { Inbox } from "./Inbox";
export type { MerkleTreeManager } from "./MerkleTreeManager";
export type { Outbox } from "./Outbox";
export type { BadRecipient1 } from "./BadRecipient1";
export type { BadRecipient2 } from "./BadRecipient2";
export type { BadRecipient3 } from "./BadRecipient3";
export type { BadRecipient4 } from "./BadRecipient4";
export type { BadRecipient5 } from "./BadRecipient5";
export type { BadRecipient6 } from "./BadRecipient6";
export type { BadRecipientHandle } from "./BadRecipientHandle";
export type { MysteryMath } from "./MysteryMath";
export type { MysteryMathV1 } from "./MysteryMathV1";
export type { MysteryMathV2 } from "./MysteryMathV2";
export type { TestCommon } from "./TestCommon";
export type { TestGovernanceRouter } from "./TestGovernanceRouter";
export type { TestInbox } from "./TestInbox";
export type { TestMerkle } from "./TestMerkle";
export type { TestMessage } from "./TestMessage";
export type { TestOutbox } from "./TestOutbox";
export type { TestRecipient } from "./TestRecipient";
export type { UpgradeBeacon } from "./UpgradeBeacon";
export type { UpgradeBeaconController } from "./UpgradeBeaconController";
export type { UpgradeBeaconProxy } from "./UpgradeBeaconProxy";
export type { ValidatorManager } from "./ValidatorManager";
export type { Version0 } from "./Version0";
export type { XAppConnectionManager } from "./XAppConnectionManager";
export type { IMessageRecipient } from "./IMessageRecipient";
export type { IValidatorManager } from "./IValidatorManager";
export { OwnableUpgradeable__factory } from "./factories/OwnableUpgradeable__factory";
export { Ownable__factory } from "./factories/Ownable__factory";
export { TypedMemView__factory } from "./factories/TypedMemView__factory";
export { Common__factory } from "./factories/Common__factory";
export { GovernanceRouter__factory } from "./factories/GovernanceRouter__factory";
export { Inbox__factory } from "./factories/Inbox__factory";
export { MerkleTreeManager__factory } from "./factories/MerkleTreeManager__factory";
export { Outbox__factory } from "./factories/Outbox__factory";
export { BadRecipient1__factory } from "./factories/BadRecipient1__factory";
export { BadRecipient2__factory } from "./factories/BadRecipient2__factory";
export { BadRecipient3__factory } from "./factories/BadRecipient3__factory";
export { BadRecipient4__factory } from "./factories/BadRecipient4__factory";
export { BadRecipient5__factory } from "./factories/BadRecipient5__factory";
export { BadRecipient6__factory } from "./factories/BadRecipient6__factory";
export { BadRecipientHandle__factory } from "./factories/BadRecipientHandle__factory";
export { MysteryMath__factory } from "./factories/MysteryMath__factory";
export { MysteryMathV1__factory } from "./factories/MysteryMathV1__factory";
export { MysteryMathV2__factory } from "./factories/MysteryMathV2__factory";
export { TestCommon__factory } from "./factories/TestCommon__factory";
export { TestGovernanceRouter__factory } from "./factories/TestGovernanceRouter__factory";
export { TestInbox__factory } from "./factories/TestInbox__factory";
export { TestMerkle__factory } from "./factories/TestMerkle__factory";
export { TestMessage__factory } from "./factories/TestMessage__factory";
export { TestOutbox__factory } from "./factories/TestOutbox__factory";
export { TestRecipient__factory } from "./factories/TestRecipient__factory";
export { UpgradeBeacon__factory } from "./factories/UpgradeBeacon__factory";
export { UpgradeBeaconController__factory } from "./factories/UpgradeBeaconController__factory";
export { UpgradeBeaconProxy__factory } from "./factories/UpgradeBeaconProxy__factory";
export { ValidatorManager__factory } from "./factories/ValidatorManager__factory";
export { Version0__factory } from "./factories/Version0__factory";
export { XAppConnectionManager__factory } from "./factories/XAppConnectionManager__factory";
export { IMessageRecipient__factory } from "./factories/IMessageRecipient__factory";
export { IValidatorManager__factory } from "./factories/IValidatorManager__factory";

@ -1,6 +1,7 @@
node_modules/
cache/
artifacts/
typechain/
coverage/
coverage.json
.env
.env

@ -31,7 +31,7 @@
"scripts": {
"prettier": "prettier --write ./contracts ./test",
"compile": "hardhat compile && hardhat typechain && npm run prettier && npm run copy-typechain",
"copy-typechain": "cp -r typechain/* ../../typescript/typechain/abacus-xapps/",
"copy-typechain": "mkdir -p ../../typescript/typechain/abacus-xapps/ && cp -r typechain/* ../../typescript/typechain/abacus-xapps/",
"build": "npm run compile",
"coverage": "npm run compile && hardhat coverage",
"test": "hardhat test",

@ -35,7 +35,7 @@ describe('EthHelper', async () => {
deployerId = toBytes32(deployerAddress).toLowerCase();
recipientAddress = await recipient.getAddress();
recipientId = toBytes32(recipientAddress).toLowerCase();
abacusDeployment = await abacus.deployment.fromDomains(domains, deployer);
abacusDeployment = await AbacusDeployment.fromDomains(domains, deployer);
bridgeDeployment = await BridgeDeployment.fromAbacusDeployment(
abacusDeployment,
deployer,

@ -39,7 +39,7 @@ describe('BridgeRouter', async () => {
[deployer] = await ethers.getSigners();
deployerAddress = await deployer.getAddress();
deployerId = toBytes32(await deployer.getAddress()).toLowerCase();
abacusDeployment = await abacus.deployment.fromDomains(domains, deployer);
abacusDeployment = await AbacusDeployment.fromDomains(domains, deployer);
// Enroll ourselves as a inbox so we can send messages directly to the
// local router.
await abacusDeployment

@ -1,847 +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 BridgeRouterInterface extends ethers.utils.Interface {
functions: {
"PRE_FILL_FEE_DENOMINATOR()": FunctionFragment;
"PRE_FILL_FEE_NUMERATOR()": FunctionFragment;
"VERSION()": FunctionFragment;
"canonicalToRepresentation(bytes32)": FunctionFragment;
"enrollCustom(uint32,bytes32,address)": FunctionFragment;
"enrollRemoteRouter(uint32,bytes32)": FunctionFragment;
"getCanonicalAddress(address)": FunctionFragment;
"getLocalAddress(uint32,bytes32)": FunctionFragment;
"handle(uint32,bytes32,bytes)": FunctionFragment;
"initialize(address,address)": FunctionFragment;
"liquidityProvider(bytes32)": FunctionFragment;
"migrate(address)": FunctionFragment;
"owner()": FunctionFragment;
"preFill(bytes)": FunctionFragment;
"remotes(uint32)": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"representationToCanonical(address)": FunctionFragment;
"requestDetails(uint32,bytes32)": FunctionFragment;
"send(address,uint256,uint32,bytes32)": FunctionFragment;
"setXAppConnectionManager(address)": FunctionFragment;
"tokenBeacon()": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
"xAppConnectionManager()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "PRE_FILL_FEE_DENOMINATOR",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "PRE_FILL_FEE_NUMERATOR",
values?: undefined
): string;
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
encodeFunctionData(
functionFragment: "canonicalToRepresentation",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "enrollCustom",
values: [BigNumberish, BytesLike, string]
): string;
encodeFunctionData(
functionFragment: "enrollRemoteRouter",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "getCanonicalAddress",
values: [string]
): string;
encodeFunctionData(
functionFragment: "getLocalAddress",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
encodeFunctionData(
functionFragment: "initialize",
values: [string, string]
): string;
encodeFunctionData(
functionFragment: "liquidityProvider",
values: [BytesLike]
): string;
encodeFunctionData(functionFragment: "migrate", values: [string]): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(functionFragment: "preFill", values: [BytesLike]): string;
encodeFunctionData(
functionFragment: "remotes",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "representationToCanonical",
values: [string]
): string;
encodeFunctionData(
functionFragment: "requestDetails",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "send",
values: [string, BigNumberish, BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "setXAppConnectionManager",
values: [string]
): string;
encodeFunctionData(
functionFragment: "tokenBeacon",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
encodeFunctionData(
functionFragment: "xAppConnectionManager",
values?: undefined
): string;
decodeFunctionResult(
functionFragment: "PRE_FILL_FEE_DENOMINATOR",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "PRE_FILL_FEE_NUMERATOR",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "canonicalToRepresentation",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "enrollCustom",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "enrollRemoteRouter",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getCanonicalAddress",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "getLocalAddress",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "liquidityProvider",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "migrate", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "preFill", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "remotes", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "representationToCanonical",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "requestDetails",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "send", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "setXAppConnectionManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "tokenBeacon",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "xAppConnectionManager",
data: BytesLike
): Result;
events: {
"OwnershipTransferred(address,address)": EventFragment;
"Send(address,address,uint32,bytes32,uint256)": EventFragment;
"TokenDeployed(uint32,bytes32,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Send"): EventFragment;
getEvent(nameOrSignatureOrTopic: "TokenDeployed"): EventFragment;
}
export class BridgeRouter 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: BridgeRouterInterface;
functions: {
PRE_FILL_FEE_DENOMINATOR(overrides?: CallOverrides): Promise<[BigNumber]>;
PRE_FILL_FEE_NUMERATOR(overrides?: CallOverrides): Promise<[BigNumber]>;
VERSION(overrides?: CallOverrides): Promise<[number]>;
canonicalToRepresentation(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<[string]>;
enrollCustom(
_domain: BigNumberish,
_id: BytesLike,
_custom: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
enrollRemoteRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
getCanonicalAddress(
_local: string,
overrides?: CallOverrides
): Promise<[number, string] & { _domain: number; _id: string }>;
"getLocalAddress(uint32,bytes32)"(
_domain: BigNumberish,
_id: BytesLike,
overrides?: CallOverrides
): Promise<[string] & { _token: string }>;
"getLocalAddress(uint32,address)"(
_domain: BigNumberish,
_id: string,
overrides?: CallOverrides
): Promise<[string] & { _token: string }>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initialize(
_tokenBeacon: string,
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
liquidityProvider(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<[string]>;
migrate(
_oldRepr: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
owner(overrides?: CallOverrides): Promise<[string]>;
preFill(
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
remotes(arg0: BigNumberish, overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
representationToCanonical(
arg0: string,
overrides?: CallOverrides
): Promise<[number, string] & { domain: number; id: string }>;
requestDetails(
_domain: BigNumberish,
_id: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
send(
_token: string,
_amount: BigNumberish,
_destination: BigNumberish,
_recipient: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
tokenBeacon(overrides?: CallOverrides): Promise<[string]>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
xAppConnectionManager(overrides?: CallOverrides): Promise<[string]>;
};
PRE_FILL_FEE_DENOMINATOR(overrides?: CallOverrides): Promise<BigNumber>;
PRE_FILL_FEE_NUMERATOR(overrides?: CallOverrides): Promise<BigNumber>;
VERSION(overrides?: CallOverrides): Promise<number>;
canonicalToRepresentation(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<string>;
enrollCustom(
_domain: BigNumberish,
_id: BytesLike,
_custom: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
enrollRemoteRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
getCanonicalAddress(
_local: string,
overrides?: CallOverrides
): Promise<[number, string] & { _domain: number; _id: string }>;
"getLocalAddress(uint32,bytes32)"(
_domain: BigNumberish,
_id: BytesLike,
overrides?: CallOverrides
): Promise<string>;
"getLocalAddress(uint32,address)"(
_domain: BigNumberish,
_id: string,
overrides?: CallOverrides
): Promise<string>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initialize(
_tokenBeacon: string,
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
liquidityProvider(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<string>;
migrate(
_oldRepr: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
owner(overrides?: CallOverrides): Promise<string>;
preFill(
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
remotes(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
representationToCanonical(
arg0: string,
overrides?: CallOverrides
): Promise<[number, string] & { domain: number; id: string }>;
requestDetails(
_domain: BigNumberish,
_id: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
send(
_token: string,
_amount: BigNumberish,
_destination: BigNumberish,
_recipient: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
tokenBeacon(overrides?: CallOverrides): Promise<string>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
xAppConnectionManager(overrides?: CallOverrides): Promise<string>;
callStatic: {
PRE_FILL_FEE_DENOMINATOR(overrides?: CallOverrides): Promise<BigNumber>;
PRE_FILL_FEE_NUMERATOR(overrides?: CallOverrides): Promise<BigNumber>;
VERSION(overrides?: CallOverrides): Promise<number>;
canonicalToRepresentation(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<string>;
enrollCustom(
_domain: BigNumberish,
_id: BytesLike,
_custom: string,
overrides?: CallOverrides
): Promise<void>;
enrollRemoteRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: CallOverrides
): Promise<void>;
getCanonicalAddress(
_local: string,
overrides?: CallOverrides
): Promise<[number, string] & { _domain: number; _id: string }>;
"getLocalAddress(uint32,bytes32)"(
_domain: BigNumberish,
_id: BytesLike,
overrides?: CallOverrides
): Promise<string>;
"getLocalAddress(uint32,address)"(
_domain: BigNumberish,
_id: string,
overrides?: CallOverrides
): Promise<string>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: CallOverrides
): Promise<void>;
initialize(
_tokenBeacon: string,
_xAppConnectionManager: string,
overrides?: CallOverrides
): Promise<void>;
liquidityProvider(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<string>;
migrate(_oldRepr: string, overrides?: CallOverrides): Promise<void>;
owner(overrides?: CallOverrides): Promise<string>;
preFill(_message: BytesLike, overrides?: CallOverrides): Promise<void>;
remotes(arg0: BigNumberish, overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
representationToCanonical(
arg0: string,
overrides?: CallOverrides
): Promise<[number, string] & { domain: number; id: string }>;
requestDetails(
_domain: BigNumberish,
_id: BytesLike,
overrides?: CallOverrides
): Promise<void>;
send(
_token: string,
_amount: BigNumberish,
_destination: BigNumberish,
_recipient: BytesLike,
overrides?: CallOverrides
): Promise<void>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: CallOverrides
): Promise<void>;
tokenBeacon(overrides?: CallOverrides): Promise<string>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
xAppConnectionManager(overrides?: CallOverrides): Promise<string>;
};
filters: {
OwnershipTransferred(
previousOwner?: string | null,
newOwner?: string | null
): TypedEventFilter<
[string, string],
{ previousOwner: string; newOwner: string }
>;
Send(
token?: string | null,
from?: string | null,
toDomain?: BigNumberish | null,
toId?: null,
amount?: null
): TypedEventFilter<
[string, string, number, string, BigNumber],
{
token: string;
from: string;
toDomain: number;
toId: string;
amount: BigNumber;
}
>;
TokenDeployed(
domain?: BigNumberish | null,
id?: BytesLike | null,
representation?: string | null
): TypedEventFilter<
[number, string, string],
{ domain: number; id: string; representation: string }
>;
};
estimateGas: {
PRE_FILL_FEE_DENOMINATOR(overrides?: CallOverrides): Promise<BigNumber>;
PRE_FILL_FEE_NUMERATOR(overrides?: CallOverrides): Promise<BigNumber>;
VERSION(overrides?: CallOverrides): Promise<BigNumber>;
canonicalToRepresentation(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
enrollCustom(
_domain: BigNumberish,
_id: BytesLike,
_custom: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
enrollRemoteRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
getCanonicalAddress(
_local: string,
overrides?: CallOverrides
): Promise<BigNumber>;
"getLocalAddress(uint32,bytes32)"(
_domain: BigNumberish,
_id: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
"getLocalAddress(uint32,address)"(
_domain: BigNumberish,
_id: string,
overrides?: CallOverrides
): Promise<BigNumber>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
initialize(
_tokenBeacon: string,
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
liquidityProvider(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
migrate(
_oldRepr: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
preFill(
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
remotes(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
representationToCanonical(
arg0: string,
overrides?: CallOverrides
): Promise<BigNumber>;
requestDetails(
_domain: BigNumberish,
_id: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
send(
_token: string,
_amount: BigNumberish,
_destination: BigNumberish,
_recipient: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
tokenBeacon(overrides?: CallOverrides): Promise<BigNumber>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
xAppConnectionManager(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
PRE_FILL_FEE_DENOMINATOR(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
PRE_FILL_FEE_NUMERATOR(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
VERSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
canonicalToRepresentation(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
enrollCustom(
_domain: BigNumberish,
_id: BytesLike,
_custom: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
enrollRemoteRouter(
_domain: BigNumberish,
_router: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
getCanonicalAddress(
_local: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"getLocalAddress(uint32,bytes32)"(
_domain: BigNumberish,
_id: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
"getLocalAddress(uint32,address)"(
_domain: BigNumberish,
_id: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
initialize(
_tokenBeacon: string,
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
liquidityProvider(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
migrate(
_oldRepr: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
preFill(
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
remotes(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
representationToCanonical(
arg0: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
requestDetails(
_domain: BigNumberish,
_id: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
send(
_token: string,
_amount: BigNumberish,
_destination: BigNumberish,
_recipient: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setXAppConnectionManager(
_xAppConnectionManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
tokenBeacon(overrides?: CallOverrides): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
xAppConnectionManager(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,771 +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 BridgeTokenInterface extends ethers.utils.Interface {
functions: {
"VERSION()": FunctionFragment;
"_PERMIT_TYPEHASH()": FunctionFragment;
"allowance(address,address)": FunctionFragment;
"approve(address,uint256)": FunctionFragment;
"balanceOf(address)": FunctionFragment;
"burn(address,uint256)": FunctionFragment;
"decimals()": FunctionFragment;
"decreaseAllowance(address,uint256)": FunctionFragment;
"domainSeparator()": FunctionFragment;
"increaseAllowance(address,uint256)": FunctionFragment;
"initialize()": FunctionFragment;
"mint(address,uint256)": FunctionFragment;
"name()": FunctionFragment;
"nonces(address)": FunctionFragment;
"owner()": FunctionFragment;
"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"setDetails(string,string,uint8)": FunctionFragment;
"symbol()": FunctionFragment;
"totalSupply()": FunctionFragment;
"transfer(address,uint256)": FunctionFragment;
"transferFrom(address,address,uint256)": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
};
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
encodeFunctionData(
functionFragment: "_PERMIT_TYPEHASH",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "allowance",
values: [string, string]
): string;
encodeFunctionData(
functionFragment: "approve",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
encodeFunctionData(
functionFragment: "burn",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
encodeFunctionData(
functionFragment: "decreaseAllowance",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "domainSeparator",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "increaseAllowance",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "initialize",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "mint",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "name", values?: undefined): string;
encodeFunctionData(functionFragment: "nonces", values: [string]): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "permit",
values: [
string,
string,
BigNumberish,
BigNumberish,
BigNumberish,
BytesLike,
BytesLike
]
): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "setDetails",
values: [string, string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
encodeFunctionData(
functionFragment: "totalSupply",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transfer",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferFrom",
values: [string, string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "_PERMIT_TYPEHASH",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "decreaseAllowance",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "domainSeparator",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "increaseAllowance",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "setDetails", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "totalSupply",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "transferFrom",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
events: {
"Approval(address,address,uint256)": EventFragment;
"OwnershipTransferred(address,address)": EventFragment;
"Transfer(address,address,uint256)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
}
export class BridgeToken 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: BridgeTokenInterface;
functions: {
VERSION(overrides?: CallOverrides): Promise<[number]>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<[string]>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<[BigNumber]>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
balanceOf(
_account: string,
overrides?: CallOverrides
): Promise<[BigNumber]>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
decimals(overrides?: CallOverrides): Promise<[number]>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
domainSeparator(overrides?: CallOverrides): Promise<[string]>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
name(overrides?: CallOverrides): Promise<[string]>;
nonces(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>;
owner(overrides?: CallOverrides): Promise<[string]>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
symbol(overrides?: CallOverrides): Promise<[string]>;
totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
VERSION(overrides?: CallOverrides): Promise<number>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<string>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
decimals(overrides?: CallOverrides): Promise<number>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
domainSeparator(overrides?: CallOverrides): Promise<string>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
name(overrides?: CallOverrides): Promise<string>;
nonces(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<string>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
symbol(overrides?: CallOverrides): Promise<string>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
VERSION(overrides?: CallOverrides): Promise<number>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<string>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
decimals(overrides?: CallOverrides): Promise<number>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
domainSeparator(overrides?: CallOverrides): Promise<string>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
initialize(overrides?: CallOverrides): Promise<void>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
name(overrides?: CallOverrides): Promise<string>;
nonces(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<string>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: CallOverrides
): Promise<void>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
symbol(overrides?: CallOverrides): Promise<string>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
};
filters: {
Approval(
owner?: string | null,
spender?: string | null,
value?: null
): TypedEventFilter<
[string, string, BigNumber],
{ owner: string; spender: string; value: BigNumber }
>;
OwnershipTransferred(
previousOwner?: string | null,
newOwner?: string | null
): TypedEventFilter<
[string, string],
{ previousOwner: string; newOwner: string }
>;
Transfer(
from?: string | null,
to?: string | null,
value?: null
): TypedEventFilter<
[string, string, BigNumber],
{ from: string; to: string; value: BigNumber }
>;
};
estimateGas: {
VERSION(overrides?: CallOverrides): Promise<BigNumber>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<BigNumber>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
decimals(overrides?: CallOverrides): Promise<BigNumber>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
domainSeparator(overrides?: CallOverrides): Promise<BigNumber>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
name(overrides?: CallOverrides): Promise<BigNumber>;
nonces(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
symbol(overrides?: CallOverrides): Promise<BigNumber>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
VERSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<PopulatedTransaction>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
balanceOf(
_account: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
domainSeparator(overrides?: CallOverrides): Promise<PopulatedTransaction>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
nonces(
arg0: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;
totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -1,326 +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 CommonInterface extends ethers.utils.Interface {
functions: {
"checkpointedRoot()": FunctionFragment;
"checkpoints(bytes32)": FunctionFragment;
"latestCheckpoint()": FunctionFragment;
"localDomain()": FunctionFragment;
"owner()": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"setValidatorManager(address)": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
"validatorManager()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "checkpointedRoot",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "checkpoints",
values: [BytesLike]
): string;
encodeFunctionData(
functionFragment: "latestCheckpoint",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "localDomain",
values?: undefined
): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "setValidatorManager",
values: [string]
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
encodeFunctionData(
functionFragment: "validatorManager",
values?: undefined
): string;
decodeFunctionResult(
functionFragment: "checkpointedRoot",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "checkpoints",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "latestCheckpoint",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "localDomain",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "setValidatorManager",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "validatorManager",
data: BytesLike
): Result;
events: {
"Checkpoint(bytes32,uint256)": EventFragment;
"NewValidatorManager(address)": EventFragment;
"OwnershipTransferred(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Checkpoint"): EventFragment;
getEvent(nameOrSignatureOrTopic: "NewValidatorManager"): EventFragment;
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export class Common 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: CommonInterface;
functions: {
checkpointedRoot(overrides?: CallOverrides): Promise<[string]>;
checkpoints(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<[BigNumber]>;
latestCheckpoint(
overrides?: CallOverrides
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>;
localDomain(overrides?: CallOverrides): Promise<[number]>;
owner(overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
validatorManager(overrides?: CallOverrides): Promise<[string]>;
};
checkpointedRoot(overrides?: CallOverrides): Promise<string>;
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
latestCheckpoint(
overrides?: CallOverrides
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>;
localDomain(overrides?: CallOverrides): Promise<number>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
validatorManager(overrides?: CallOverrides): Promise<string>;
callStatic: {
checkpointedRoot(overrides?: CallOverrides): Promise<string>;
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
latestCheckpoint(
overrides?: CallOverrides
): Promise<[string, BigNumber] & { root: string; index: BigNumber }>;
localDomain(overrides?: CallOverrides): Promise<number>;
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
setValidatorManager(
_validatorManager: string,
overrides?: CallOverrides
): Promise<void>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
validatorManager(overrides?: CallOverrides): Promise<string>;
};
filters: {
Checkpoint(
root?: BytesLike | null,
index?: BigNumberish | null
): TypedEventFilter<
[string, BigNumber],
{ root: string; index: BigNumber }
>;
NewValidatorManager(
validatorManager?: null
): TypedEventFilter<[string], { validatorManager: string }>;
OwnershipTransferred(
previousOwner?: string | null,
newOwner?: string | null
): TypedEventFilter<
[string, string],
{ previousOwner: string; newOwner: string }
>;
};
estimateGas: {
checkpointedRoot(overrides?: CallOverrides): Promise<BigNumber>;
checkpoints(arg0: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
latestCheckpoint(overrides?: CallOverrides): Promise<BigNumber>;
localDomain(overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
validatorManager(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
checkpointedRoot(overrides?: CallOverrides): Promise<PopulatedTransaction>;
checkpoints(
arg0: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
latestCheckpoint(overrides?: CallOverrides): Promise<PopulatedTransaction>;
localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setValidatorManager(
_validatorManager: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
validatorManager(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,375 +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 ERC20Interface extends ethers.utils.Interface {
functions: {
"allowance(address,address)": FunctionFragment;
"approve(address,uint256)": FunctionFragment;
"balanceOf(address)": FunctionFragment;
"decreaseAllowance(address,uint256)": FunctionFragment;
"increaseAllowance(address,uint256)": FunctionFragment;
"totalSupply()": FunctionFragment;
"transfer(address,uint256)": FunctionFragment;
"transferFrom(address,address,uint256)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "allowance",
values: [string, string]
): string;
encodeFunctionData(
functionFragment: "approve",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
encodeFunctionData(
functionFragment: "decreaseAllowance",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "increaseAllowance",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "totalSupply",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transfer",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferFrom",
values: [string, string, BigNumberish]
): string;
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "decreaseAllowance",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "increaseAllowance",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "totalSupply",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "transferFrom",
data: BytesLike
): Result;
events: {
"Approval(address,address,uint256)": EventFragment;
"Transfer(address,address,uint256)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
}
export class ERC20 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: ERC20Interface;
functions: {
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<[BigNumber]>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
balanceOf(
_account: string,
overrides?: CallOverrides
): Promise<[BigNumber]>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
};
filters: {
Approval(
owner?: string | null,
spender?: string | null,
value?: null
): TypedEventFilter<
[string, string, BigNumber],
{ owner: string; spender: string; value: BigNumber }
>;
Transfer(
from?: string | null,
to?: string | null,
value?: null
): TypedEventFilter<
[string, string, BigNumber],
{ from: string; to: string; value: BigNumber }
>;
};
estimateGas: {
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
balanceOf(
_account: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -1,209 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
BaseContract,
ContractTransaction,
PayableOverrides,
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 ETHHelperInterface extends ethers.utils.Interface {
functions: {
"bridge()": FunctionFragment;
"send(uint32)": FunctionFragment;
"sendTo(uint32,bytes32)": FunctionFragment;
"sendToEVMLike(uint32,address)": FunctionFragment;
"weth()": FunctionFragment;
};
encodeFunctionData(functionFragment: "bridge", values?: undefined): string;
encodeFunctionData(functionFragment: "send", values: [BigNumberish]): string;
encodeFunctionData(
functionFragment: "sendTo",
values: [BigNumberish, BytesLike]
): string;
encodeFunctionData(
functionFragment: "sendToEVMLike",
values: [BigNumberish, string]
): string;
encodeFunctionData(functionFragment: "weth", values?: undefined): string;
decodeFunctionResult(functionFragment: "bridge", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "send", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "sendTo", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "sendToEVMLike",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "weth", data: BytesLike): Result;
events: {};
}
export class ETHHelper 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: ETHHelperInterface;
functions: {
bridge(overrides?: CallOverrides): Promise<[string]>;
send(
_domain: BigNumberish,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
sendTo(
_domain: BigNumberish,
_to: BytesLike,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
sendToEVMLike(
_domain: BigNumberish,
_to: string,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
weth(overrides?: CallOverrides): Promise<[string]>;
};
bridge(overrides?: CallOverrides): Promise<string>;
send(
_domain: BigNumberish,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
sendTo(
_domain: BigNumberish,
_to: BytesLike,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
sendToEVMLike(
_domain: BigNumberish,
_to: string,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
weth(overrides?: CallOverrides): Promise<string>;
callStatic: {
bridge(overrides?: CallOverrides): Promise<string>;
send(_domain: BigNumberish, overrides?: CallOverrides): Promise<void>;
sendTo(
_domain: BigNumberish,
_to: BytesLike,
overrides?: CallOverrides
): Promise<void>;
sendToEVMLike(
_domain: BigNumberish,
_to: string,
overrides?: CallOverrides
): Promise<void>;
weth(overrides?: CallOverrides): Promise<string>;
};
filters: {};
estimateGas: {
bridge(overrides?: CallOverrides): Promise<BigNumber>;
send(
_domain: BigNumberish,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
sendTo(
_domain: BigNumberish,
_to: BytesLike,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
sendToEVMLike(
_domain: BigNumberish,
_to: string,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
weth(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
bridge(overrides?: CallOverrides): Promise<PopulatedTransaction>;
send(
_domain: BigNumberish,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
sendTo(
_domain: BigNumberish,
_to: BytesLike,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
sendToEVMLike(
_domain: BigNumberish,
_to: string,
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
weth(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,570 +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 HomeInterface 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 Home 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: HomeInterface;
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,286 +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 IBridgeTokenInterface extends ethers.utils.Interface {
functions: {
"balanceOf(address)": FunctionFragment;
"burn(address,uint256)": FunctionFragment;
"decimals()": FunctionFragment;
"initialize()": FunctionFragment;
"mint(address,uint256)": FunctionFragment;
"name()": FunctionFragment;
"setDetails(string,string,uint8)": FunctionFragment;
"symbol()": FunctionFragment;
};
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
encodeFunctionData(
functionFragment: "burn",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
encodeFunctionData(
functionFragment: "initialize",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "mint",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "name", values?: undefined): string;
encodeFunctionData(
functionFragment: "setDetails",
values: [string, string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "setDetails", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
events: {};
}
export class IBridgeToken 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: IBridgeTokenInterface;
functions: {
balanceOf(
_account: string,
overrides?: CallOverrides
): Promise<[BigNumber]>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
decimals(overrides?: CallOverrides): Promise<[number]>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
name(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setDetails(
_name: string,
_symbol: string,
_decimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
symbol(overrides?: CallOverrides): Promise<[string]>;
};
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
decimals(overrides?: CallOverrides): Promise<number>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
name(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setDetails(
_name: string,
_symbol: string,
_decimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
symbol(overrides?: CallOverrides): Promise<string>;
callStatic: {
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
decimals(overrides?: CallOverrides): Promise<number>;
initialize(overrides?: CallOverrides): Promise<void>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
name(overrides?: CallOverrides): Promise<string>;
setDetails(
_name: string,
_symbol: string,
_decimals: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
symbol(overrides?: CallOverrides): Promise<string>;
};
filters: {};
estimateGas: {
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
decimals(overrides?: CallOverrides): Promise<BigNumber>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
name(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setDetails(
_name: string,
_symbol: string,
_decimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
symbol(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
balanceOf(
_account: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
name(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setDetails(
_name: string,
_symbol: string,
_decimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,294 +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 IERC20Interface extends ethers.utils.Interface {
functions: {
"allowance(address,address)": FunctionFragment;
"approve(address,uint256)": FunctionFragment;
"balanceOf(address)": FunctionFragment;
"totalSupply()": FunctionFragment;
"transfer(address,uint256)": FunctionFragment;
"transferFrom(address,address,uint256)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "allowance",
values: [string, string]
): string;
encodeFunctionData(
functionFragment: "approve",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
encodeFunctionData(
functionFragment: "totalSupply",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transfer",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferFrom",
values: [string, string, BigNumberish]
): string;
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "totalSupply",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "transferFrom",
data: BytesLike
): Result;
events: {
"Approval(address,address,uint256)": EventFragment;
"Transfer(address,address,uint256)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
}
export class IERC20 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: IERC20Interface;
functions: {
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<[BigNumber]>;
approve(
spender: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
balanceOf(account: string, overrides?: CallOverrides): Promise<[BigNumber]>;
totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
spender: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
spender: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
};
filters: {
Approval(
owner?: string | null,
spender?: string | null,
value?: null
): TypedEventFilter<
[string, string, BigNumber],
{ owner: string; spender: string; value: BigNumber }
>;
Transfer(
from?: string | null,
to?: string | null,
value?: null
): TypedEventFilter<
[string, string, BigNumber],
{ from: string; to: string; value: BigNumber }
>;
};
estimateGas: {
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
spender: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
balanceOf(account: string, overrides?: CallOverrides): Promise<BigNumber>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
allowance(
owner: string,
spender: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
approve(
spender: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
balanceOf(
account: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
transfer(
recipient: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferFrom(
sender: string,
recipient: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -1,124 +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 IMessageRecipientInterface extends ethers.utils.Interface {
functions: {
"handle(uint32,bytes32,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "handle",
values: [BigNumberish, BytesLike, BytesLike]
): string;
decodeFunctionResult(functionFragment: "handle", data: BytesLike): Result;
events: {};
}
export class IMessageRecipient 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: IMessageRecipientInterface;
functions: {
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: CallOverrides
): Promise<void>;
};
filters: {};
estimateGas: {
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
handle(
_origin: BigNumberish,
_sender: BytesLike,
_message: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -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>;
};
}

@ -1,131 +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 IValidatorManagerInterface extends ethers.utils.Interface {
functions: {
"isValidatorSignature(uint32,bytes32,uint256,bytes)": FunctionFragment;
};
encodeFunctionData(
functionFragment: "isValidatorSignature",
values: [BigNumberish, BytesLike, BigNumberish, BytesLike]
): string;
decodeFunctionResult(
functionFragment: "isValidatorSignature",
data: BytesLike
): Result;
events: {};
}
export class IValidatorManager 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: IValidatorManagerInterface;
functions: {
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<[boolean]>;
};
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<boolean>;
callStatic: {
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<boolean>;
};
filters: {};
estimateGas: {
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
};
populateTransaction: {
isValidatorSignature(
_domain: BigNumberish,
_root: BytesLike,
_index: BigNumberish,
_signature: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}

@ -1,141 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
BaseContract,
ContractTransaction,
Overrides,
PayableOverrides,
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 IWethInterface extends ethers.utils.Interface {
functions: {
"approve(address,uint256)": FunctionFragment;
"deposit()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "approve",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "deposit", values?: undefined): string;
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
events: {};
}
export class IWeth 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: IWethInterface;
functions: {
approve(
_who: string,
_wad: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
deposit(
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
approve(
_who: string,
_wad: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
deposit(
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
approve(
_who: string,
_wad: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
deposit(overrides?: CallOverrides): Promise<void>;
};
filters: {};
estimateGas: {
approve(
_who: string,
_wad: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
deposit(
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
approve(
_who: string,
_wad: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
deposit(
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

File diff suppressed because it is too large Load Diff

@ -1,123 +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 MerkleTreeManagerInterface extends ethers.utils.Interface {
functions: {
"count()": FunctionFragment;
"root()": FunctionFragment;
"tree()": FunctionFragment;
};
encodeFunctionData(functionFragment: "count", values?: undefined): string;
encodeFunctionData(functionFragment: "root", values?: undefined): string;
encodeFunctionData(functionFragment: "tree", values?: undefined): string;
decodeFunctionResult(functionFragment: "count", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "root", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "tree", data: BytesLike): Result;
events: {};
}
export class MerkleTreeManager 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: MerkleTreeManagerInterface;
functions: {
count(overrides?: CallOverrides): Promise<[BigNumber]>;
root(overrides?: CallOverrides): Promise<[string]>;
tree(
overrides?: CallOverrides
): Promise<[BigNumber] & { count: BigNumber }>;
};
count(overrides?: CallOverrides): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<string>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
callStatic: {
count(overrides?: CallOverrides): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<string>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
};
filters: {};
estimateGas: {
count(overrides?: CallOverrides): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<BigNumber>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
count(overrides?: CallOverrides): Promise<PopulatedTransaction>;
root(overrides?: CallOverrides): Promise<PopulatedTransaction>;
tree(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,346 +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 MockCoreInterface extends ethers.utils.Interface {
functions: {
"MAX_MESSAGE_BODY_BYTES()": FunctionFragment;
"count()": FunctionFragment;
"dispatch(uint32,bytes32,bytes)": FunctionFragment;
"home()": FunctionFragment;
"isReplica(address)": FunctionFragment;
"localDomain()": FunctionFragment;
"nonces(uint32)": FunctionFragment;
"queueContains(bytes32)": FunctionFragment;
"queueEnd()": FunctionFragment;
"queueLength()": FunctionFragment;
"root()": FunctionFragment;
"tree()": FunctionFragment;
};
encodeFunctionData(
functionFragment: "MAX_MESSAGE_BODY_BYTES",
values?: undefined
): string;
encodeFunctionData(functionFragment: "count", values?: undefined): string;
encodeFunctionData(
functionFragment: "dispatch",
values: [BigNumberish, BytesLike, BytesLike]
): string;
encodeFunctionData(functionFragment: "home", values?: undefined): string;
encodeFunctionData(functionFragment: "isReplica", values: [string]): string;
encodeFunctionData(
functionFragment: "localDomain",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "nonces",
values: [BigNumberish]
): string;
encodeFunctionData(
functionFragment: "queueContains",
values: [BytesLike]
): string;
encodeFunctionData(functionFragment: "queueEnd", values?: undefined): string;
encodeFunctionData(
functionFragment: "queueLength",
values?: undefined
): string;
encodeFunctionData(functionFragment: "root", values?: undefined): string;
encodeFunctionData(functionFragment: "tree", values?: undefined): string;
decodeFunctionResult(
functionFragment: "MAX_MESSAGE_BODY_BYTES",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "count", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "dispatch", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "home", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "isReplica", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "localDomain",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "queueContains",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "queueEnd", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "queueLength",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "root", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "tree", data: BytesLike): Result;
events: {
"Dispatch(uint256,uint64,bytes32,bytes)": EventFragment;
"Enqueue(uint32,bytes32,bytes)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Dispatch"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Enqueue"): EventFragment;
}
export class MockCore 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: MockCoreInterface;
functions: {
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<[BigNumber]>;
count(overrides?: CallOverrides): Promise<[BigNumber]>;
dispatch(
_destination: BigNumberish,
_recipient: BytesLike,
_body: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
home(overrides?: CallOverrides): Promise<[string]>;
isReplica(arg0: string, overrides?: CallOverrides): Promise<[boolean]>;
localDomain(overrides?: CallOverrides): Promise<[number]>;
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<[number]>;
queueContains(
_item: BytesLike,
overrides?: CallOverrides
): Promise<[boolean]>;
queueEnd(overrides?: CallOverrides): Promise<[string]>;
queueLength(overrides?: CallOverrides): Promise<[BigNumber]>;
root(overrides?: CallOverrides): Promise<[string]>;
tree(
overrides?: CallOverrides
): Promise<[BigNumber] & { count: BigNumber }>;
};
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<BigNumber>;
count(overrides?: CallOverrides): Promise<BigNumber>;
dispatch(
_destination: BigNumberish,
_recipient: BytesLike,
_body: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
home(overrides?: CallOverrides): Promise<string>;
isReplica(arg0: string, overrides?: CallOverrides): Promise<boolean>;
localDomain(overrides?: CallOverrides): Promise<number>;
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>;
queueContains(_item: BytesLike, overrides?: CallOverrides): Promise<boolean>;
queueEnd(overrides?: CallOverrides): Promise<string>;
queueLength(overrides?: CallOverrides): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<string>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
callStatic: {
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<BigNumber>;
count(overrides?: CallOverrides): Promise<BigNumber>;
dispatch(
_destination: BigNumberish,
_recipient: BytesLike,
_body: BytesLike,
overrides?: CallOverrides
): Promise<void>;
home(overrides?: CallOverrides): Promise<string>;
isReplica(arg0: string, overrides?: CallOverrides): Promise<boolean>;
localDomain(overrides?: CallOverrides): Promise<number>;
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<number>;
queueContains(
_item: BytesLike,
overrides?: CallOverrides
): Promise<boolean>;
queueEnd(overrides?: CallOverrides): Promise<string>;
queueLength(overrides?: CallOverrides): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<string>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
};
filters: {
Dispatch(
leafIndex?: BigNumberish | null,
destinationAndNonce?: BigNumberish | null,
leaf?: BytesLike | null,
message?: null
): TypedEventFilter<
[BigNumber, BigNumber, string, string],
{
leafIndex: BigNumber;
destinationAndNonce: BigNumber;
leaf: string;
message: string;
}
>;
Enqueue(
_destination?: BigNumberish | null,
_recipient?: BytesLike | null,
_body?: null
): TypedEventFilter<
[number, string, string],
{ _destination: number; _recipient: string; _body: string }
>;
};
estimateGas: {
MAX_MESSAGE_BODY_BYTES(overrides?: CallOverrides): Promise<BigNumber>;
count(overrides?: CallOverrides): Promise<BigNumber>;
dispatch(
_destination: BigNumberish,
_recipient: BytesLike,
_body: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
home(overrides?: CallOverrides): Promise<BigNumber>;
isReplica(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
localDomain(overrides?: CallOverrides): Promise<BigNumber>;
nonces(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
queueContains(
_item: BytesLike,
overrides?: CallOverrides
): Promise<BigNumber>;
queueEnd(overrides?: CallOverrides): Promise<BigNumber>;
queueLength(overrides?: CallOverrides): Promise<BigNumber>;
root(overrides?: CallOverrides): Promise<BigNumber>;
tree(overrides?: CallOverrides): Promise<BigNumber>;
};
populateTransaction: {
MAX_MESSAGE_BODY_BYTES(
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
count(overrides?: CallOverrides): Promise<PopulatedTransaction>;
dispatch(
_destination: BigNumberish,
_recipient: BytesLike,
_body: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
home(overrides?: CallOverrides): Promise<PopulatedTransaction>;
isReplica(
arg0: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
localDomain(overrides?: CallOverrides): Promise<PopulatedTransaction>;
nonces(
arg0: BigNumberish,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
queueContains(
_item: BytesLike,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
queueEnd(overrides?: CallOverrides): Promise<PopulatedTransaction>;
queueLength(overrides?: CallOverrides): Promise<PopulatedTransaction>;
root(overrides?: CallOverrides): Promise<PopulatedTransaction>;
tree(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}

@ -1,793 +0,0 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import {
ethers,
EventFilter,
Signer,
BigNumber,
BigNumberish,
PopulatedTransaction,
BaseContract,
ContractTransaction,
Overrides,
PayableOverrides,
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 MockWethInterface extends ethers.utils.Interface {
functions: {
"VERSION()": FunctionFragment;
"_PERMIT_TYPEHASH()": FunctionFragment;
"allowance(address,address)": FunctionFragment;
"approve(address,uint256)": FunctionFragment;
"balanceOf(address)": FunctionFragment;
"burn(address,uint256)": FunctionFragment;
"decimals()": FunctionFragment;
"decreaseAllowance(address,uint256)": FunctionFragment;
"deposit()": FunctionFragment;
"domainSeparator()": FunctionFragment;
"increaseAllowance(address,uint256)": FunctionFragment;
"initialize()": FunctionFragment;
"mint(address,uint256)": FunctionFragment;
"name()": FunctionFragment;
"nonces(address)": FunctionFragment;
"owner()": FunctionFragment;
"permit(address,address,uint256,uint256,uint8,bytes32,bytes32)": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"setDetails(string,string,uint8)": FunctionFragment;
"symbol()": FunctionFragment;
"totalSupply()": FunctionFragment;
"transfer(address,uint256)": FunctionFragment;
"transferFrom(address,address,uint256)": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
};
encodeFunctionData(functionFragment: "VERSION", values?: undefined): string;
encodeFunctionData(
functionFragment: "_PERMIT_TYPEHASH",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "allowance",
values: [string, string]
): string;
encodeFunctionData(
functionFragment: "approve",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
encodeFunctionData(
functionFragment: "burn",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
encodeFunctionData(
functionFragment: "decreaseAllowance",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "deposit", values?: undefined): string;
encodeFunctionData(
functionFragment: "domainSeparator",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "increaseAllowance",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "initialize",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "mint",
values: [string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "name", values?: undefined): string;
encodeFunctionData(functionFragment: "nonces", values: [string]): string;
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "permit",
values: [
string,
string,
BigNumberish,
BigNumberish,
BigNumberish,
BytesLike,
BytesLike
]
): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "setDetails",
values: [string, string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
encodeFunctionData(
functionFragment: "totalSupply",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transfer",
values: [string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferFrom",
values: [string, string, BigNumberish]
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
decodeFunctionResult(functionFragment: "VERSION", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "_PERMIT_TYPEHASH",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "decreaseAllowance",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "deposit", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "domainSeparator",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "increaseAllowance",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "setDetails", data: BytesLike): Result;
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "totalSupply",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "transferFrom",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
events: {
"Approval(address,address,uint256)": EventFragment;
"OwnershipTransferred(address,address)": EventFragment;
"Transfer(address,address,uint256)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
}
export class MockWeth 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: MockWethInterface;
functions: {
VERSION(overrides?: CallOverrides): Promise<[number]>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<[string]>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<[BigNumber]>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
balanceOf(
_account: string,
overrides?: CallOverrides
): Promise<[BigNumber]>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
decimals(overrides?: CallOverrides): Promise<[number]>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
deposit(
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
domainSeparator(overrides?: CallOverrides): Promise<[string]>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
name(overrides?: CallOverrides): Promise<[string]>;
nonces(arg0: string, overrides?: CallOverrides): Promise<[BigNumber]>;
owner(overrides?: CallOverrides): Promise<[string]>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
symbol(overrides?: CallOverrides): Promise<[string]>;
totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
VERSION(overrides?: CallOverrides): Promise<number>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<string>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
decimals(overrides?: CallOverrides): Promise<number>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
deposit(
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
domainSeparator(overrides?: CallOverrides): Promise<string>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
name(overrides?: CallOverrides): Promise<string>;
nonces(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<string>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
symbol(overrides?: CallOverrides): Promise<string>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
VERSION(overrides?: CallOverrides): Promise<number>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<string>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
decimals(overrides?: CallOverrides): Promise<number>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
deposit(overrides?: CallOverrides): Promise<void>;
domainSeparator(overrides?: CallOverrides): Promise<string>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
initialize(overrides?: CallOverrides): Promise<void>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
name(overrides?: CallOverrides): Promise<string>;
nonces(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<string>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: CallOverrides
): Promise<void>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: CallOverrides
): Promise<void>;
symbol(overrides?: CallOverrides): Promise<string>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: CallOverrides
): Promise<boolean>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
};
filters: {
Approval(
owner?: string | null,
spender?: string | null,
value?: null
): TypedEventFilter<
[string, string, BigNumber],
{ owner: string; spender: string; value: BigNumber }
>;
OwnershipTransferred(
previousOwner?: string | null,
newOwner?: string | null
): TypedEventFilter<
[string, string],
{ previousOwner: string; newOwner: string }
>;
Transfer(
from?: string | null,
to?: string | null,
value?: null
): TypedEventFilter<
[string, string, BigNumber],
{ from: string; to: string; value: BigNumber }
>;
};
estimateGas: {
VERSION(overrides?: CallOverrides): Promise<BigNumber>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<BigNumber>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<BigNumber>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
balanceOf(_account: string, overrides?: CallOverrides): Promise<BigNumber>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
decimals(overrides?: CallOverrides): Promise<BigNumber>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
deposit(
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
domainSeparator(overrides?: CallOverrides): Promise<BigNumber>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
name(overrides?: CallOverrides): Promise<BigNumber>;
nonces(arg0: string, overrides?: CallOverrides): Promise<BigNumber>;
owner(overrides?: CallOverrides): Promise<BigNumber>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
symbol(overrides?: CallOverrides): Promise<BigNumber>;
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
VERSION(overrides?: CallOverrides): Promise<PopulatedTransaction>;
_PERMIT_TYPEHASH(overrides?: CallOverrides): Promise<PopulatedTransaction>;
allowance(
_owner: string,
_spender: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
approve(
_spender: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
balanceOf(
_account: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
burn(
_from: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
decreaseAllowance(
_spender: string,
_subtractedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
deposit(
overrides?: PayableOverrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
domainSeparator(overrides?: CallOverrides): Promise<PopulatedTransaction>;
increaseAllowance(
_spender: string,
_addedValue: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
initialize(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
mint(
_to: string,
_amnt: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
name(overrides?: CallOverrides): Promise<PopulatedTransaction>;
nonces(
arg0: string,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
permit(
_owner: string,
_spender: string,
_value: BigNumberish,
_deadline: BigNumberish,
_v: BigNumberish,
_r: BytesLike,
_s: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
setDetails(
_newName: string,
_newSymbol: string,
_newDecimals: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
symbol(overrides?: CallOverrides): Promise<PopulatedTransaction>;
totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
transfer(
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferFrom(
_sender: string,
_recipient: string,
_amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

@ -1,570 +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 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,169 +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 OwnableInterface extends ethers.utils.Interface {
functions: {
"owner()": FunctionFragment;
"renounceOwnership()": FunctionFragment;
"transferOwnership(address)": FunctionFragment;
};
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
encodeFunctionData(
functionFragment: "renounceOwnership",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "transferOwnership",
values: [string]
): string;
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "renounceOwnership",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "transferOwnership",
data: BytesLike
): Result;
events: {
"OwnershipTransferred(address,address)": EventFragment;
};
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
}
export class Ownable 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: OwnableInterface;
functions: {
owner(overrides?: CallOverrides): Promise<[string]>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
};
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;
callStatic: {
owner(overrides?: CallOverrides): Promise<string>;
renounceOwnership(overrides?: CallOverrides): Promise<void>;
transferOwnership(
newOwner: string,
overrides?: CallOverrides
): Promise<void>;
};
filters: {
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>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;
};
populateTransaction: {
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
renounceOwnership(
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
transferOwnership(
newOwner: string,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;
};
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save